2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.54 for Wine 20021125.
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
39 for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
41 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
42 eval $as_var=C; export $as_var
48 # Required to use basename.
49 if expr a : '\(a\)' >/dev/null 2>&1; then
55 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 # Name of the executable.
63 as_me=`$as_basename "$0" ||
64 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
65 X"$0" : 'X\(//\)$' \| \
66 X"$0" : 'X\(/\)$' \| \
67 . : '\(.\)' 2>/dev/null ||
69 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
70 /^X\/\(\/\/\)$/{ s//\1/; q; }
71 /^X\/\(\/\).*/{ s//\1/; q; }
75 # PATH needs CR, and LINENO needs CR and PATH.
76 # Avoid depending upon Character Ranges.
77 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80 as_cr_digits='0123456789'
81 as_cr_alnum=$as_cr_Letters$as_cr_digits
83 # The user is always right.
84 if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
88 if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" || {
102 # Find who we are. Look in the path if we contain no path at all
105 *[\\/]* ) as_myself=$0 ;;
106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 test -z "$as_dir" && as_dir=.
111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x; then
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
125 case $CONFIG_SHELL in
127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
131 test -z "$as_dir" && as_dir=.
132 for as_base in sh bash ksh sh5; do
135 if ("$as_dir/$as_base" -c '
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
142 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
143 CONFIG_SHELL=$as_dir/$as_base
145 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
153 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
154 # uniformly replaced by the line number. The first 'sed' inserts a
155 # line-number line before each line; the second 'sed' does the real
156 # work. The second script uses 'N' to pair each line-number line
157 # with the numbered line, and appends trailing '-' during
158 # substitution so that $LINENO is not a special case at line end.
159 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
160 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
161 sed '=' <$as_myself |
166 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
169 s,^['$as_cr_digits']*\n,,
171 chmod +x $as_me.lineno ||
172 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
173 { (exit 1); exit 1; }; }
175 # Don't try to exec as it changes $[0], causing all sort of problems
176 # (the dirname of $[0] is not the place where we might find the
177 # original and so on. Autoconf is especially sensible to this).
179 # Exit status is that of the last command.
184 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
185 *c*,-n*) ECHO_N= ECHO_C='
187 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
188 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
191 if expr a : '\(a\)' >/dev/null 2>&1; then
197 rm -f conf$$ conf$$.exe conf$$.file
199 if ln -s conf$$.file conf$$ 2>/dev/null; then
200 # We could just check for DJGPP; but this test a) works b) is more generic
201 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
202 if test -f conf$$.exe; then
203 # Don't use ln at all; we don't have any links
208 elif ln conf$$.file conf$$ 2>/dev/null; then
213 rm -f conf$$ conf$$.exe conf$$.file
215 if mkdir -p . 2>/dev/null; then
221 as_executable_p="test -f"
223 # Sed expression to map a string onto a valid CPP name.
224 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
226 # Sed expression to map a string onto a valid variable name.
227 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
231 # We need space, tab and new line, in precisely that order.
241 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
242 # so uname gets run too.
243 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250 ac_default_prefix=/usr/local
251 ac_config_libobj_dir=.
256 SHELL=${CONFIG_SHELL-/bin/sh}
258 # Maximum number of lines to put in a shell here document.
259 # This variable seems obsolete. It should probably be removed, and
260 # only ac_max_sed_lines should be used.
261 : ${ac_max_here_lines=38}
263 # Identity of this package.
265 PACKAGE_TARNAME='wine'
266 PACKAGE_VERSION='20021125'
267 PACKAGE_STRING='Wine 20021125'
270 ac_unique_file="server/atom.c"
271 # Factoring default headers for most tests.
272 ac_includes_default="\
275 # include <sys/types.h>
278 # include <sys/stat.h>
289 # if !STDC_HEADERS && HAVE_MEMORY_H
295 # include <strings.h>
298 # include <inttypes.h>
308 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 LIBEXT OPTIONS WIN16_FILES WIN16_INSTALL 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 LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S LN C2MAN LDCONFIG LINT LINTFLAGS DB2HTML DB2PDF DB2PS JPEGLIB EGREP XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ft_devel ft_devel2 FREETYPEINCL ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS DLLEXT DLLFLAGS DLLIBS LDDLLFLAGS LDSHARED DLLWRAP ac_ct_DLLWRAP CROSSTEST CROSSCC DLLTOOL LDPATH CRTLIBS LDD ALLOCA LIBOBJS LTLIBOBJS'
309 ac_subst_files='MAKE_RULES MAKE_DLL_RULES MAKE_TEST_RULES MAKE_PROG_RULES'
311 # Initialize some variables set by options.
313 ac_init_version=false
314 # The variables have the same names as the options, with
315 # dashes changed to underlines.
323 program_transform_name=s,x,x,
331 # Installation directory options.
332 # These are left unexpanded so users can "make install exec_prefix=/foo"
333 # and all the variables that are supposed to be based on exec_prefix
334 # by default will actually change.
335 # Use braces instead of parens because sh, perl, etc. also accept them.
336 bindir='${exec_prefix}/bin'
337 sbindir='${exec_prefix}/sbin'
338 libexecdir='${exec_prefix}/libexec'
339 datadir='${prefix}/share'
340 sysconfdir='${prefix}/etc'
341 sharedstatedir='${prefix}/com'
342 localstatedir='${prefix}/var'
343 libdir='${exec_prefix}/lib'
344 includedir='${prefix}/include'
345 oldincludedir='/usr/include'
346 infodir='${prefix}/info'
347 mandir='${prefix}/man'
352 # If the previous option needs an argument, assign it.
353 if test -n "$ac_prev"; then
354 eval "$ac_prev=\$ac_option"
359 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
361 # Accept the important Cygnus configure options, so we can diagnose typos.
365 -bindir | --bindir | --bindi | --bind | --bin | --bi)
367 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
370 -build | --build | --buil | --bui | --bu)
371 ac_prev=build_alias ;;
372 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
373 build_alias=$ac_optarg ;;
375 -cache-file | --cache-file | --cache-fil | --cache-fi \
376 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
377 ac_prev=cache_file ;;
378 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
379 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
380 cache_file=$ac_optarg ;;
383 cache_file=config.cache ;;
385 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
387 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
389 datadir=$ac_optarg ;;
391 -disable-* | --disable-*)
392 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
393 # Reject names that are not valid shell variable names.
394 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
395 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
396 { (exit 1); exit 1; }; }
397 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
398 eval "enable_$ac_feature=no" ;;
400 -enable-* | --enable-*)
401 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
402 # Reject names that are not valid shell variable names.
403 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
404 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
405 { (exit 1); exit 1; }; }
406 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
408 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
411 eval "enable_$ac_feature='$ac_optarg'" ;;
413 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
414 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
415 | --exec | --exe | --ex)
416 ac_prev=exec_prefix ;;
417 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
418 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
419 | --exec=* | --exe=* | --ex=*)
420 exec_prefix=$ac_optarg ;;
422 -gas | --gas | --ga | --g)
423 # Obsolete; use --with-gas.
426 -help | --help | --hel | --he | -h)
428 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
429 ac_init_help=recursive ;;
430 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
431 ac_init_help=short ;;
433 -host | --host | --hos | --ho)
434 ac_prev=host_alias ;;
435 -host=* | --host=* | --hos=* | --ho=*)
436 host_alias=$ac_optarg ;;
438 -includedir | --includedir | --includedi | --included | --include \
439 | --includ | --inclu | --incl | --inc)
440 ac_prev=includedir ;;
441 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
442 | --includ=* | --inclu=* | --incl=* | --inc=*)
443 includedir=$ac_optarg ;;
445 -infodir | --infodir | --infodi | --infod | --info | --inf)
447 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
448 infodir=$ac_optarg ;;
450 -libdir | --libdir | --libdi | --libd)
452 -libdir=* | --libdir=* | --libdi=* | --libd=*)
455 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
456 | --libexe | --libex | --libe)
457 ac_prev=libexecdir ;;
458 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
459 | --libexe=* | --libex=* | --libe=*)
460 libexecdir=$ac_optarg ;;
462 -localstatedir | --localstatedir | --localstatedi | --localstated \
463 | --localstate | --localstat | --localsta | --localst \
464 | --locals | --local | --loca | --loc | --lo)
465 ac_prev=localstatedir ;;
466 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
467 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
468 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
469 localstatedir=$ac_optarg ;;
471 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
473 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477 # Obsolete; use --without-fp.
480 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
481 | --no-cr | --no-c | -n)
484 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
485 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
488 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
489 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
490 | --oldin | --oldi | --old | --ol | --o)
491 ac_prev=oldincludedir ;;
492 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
493 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
494 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
495 oldincludedir=$ac_optarg ;;
497 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
499 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
502 -program-prefix | --program-prefix | --program-prefi | --program-pref \
503 | --program-pre | --program-pr | --program-p)
504 ac_prev=program_prefix ;;
505 -program-prefix=* | --program-prefix=* | --program-prefi=* \
506 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
507 program_prefix=$ac_optarg ;;
509 -program-suffix | --program-suffix | --program-suffi | --program-suff \
510 | --program-suf | --program-su | --program-s)
511 ac_prev=program_suffix ;;
512 -program-suffix=* | --program-suffix=* | --program-suffi=* \
513 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
514 program_suffix=$ac_optarg ;;
516 -program-transform-name | --program-transform-name \
517 | --program-transform-nam | --program-transform-na \
518 | --program-transform-n | --program-transform- \
519 | --program-transform | --program-transfor \
520 | --program-transfo | --program-transf \
521 | --program-trans | --program-tran \
522 | --progr-tra | --program-tr | --program-t)
523 ac_prev=program_transform_name ;;
524 -program-transform-name=* | --program-transform-name=* \
525 | --program-transform-nam=* | --program-transform-na=* \
526 | --program-transform-n=* | --program-transform-=* \
527 | --program-transform=* | --program-transfor=* \
528 | --program-transfo=* | --program-transf=* \
529 | --program-trans=* | --program-tran=* \
530 | --progr-tra=* | --program-tr=* | --program-t=*)
531 program_transform_name=$ac_optarg ;;
533 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
534 | -silent | --silent | --silen | --sile | --sil)
537 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
539 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
541 sbindir=$ac_optarg ;;
543 -sharedstatedir | --sharedstatedir | --sharedstatedi \
544 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
545 | --sharedst | --shareds | --shared | --share | --shar \
547 ac_prev=sharedstatedir ;;
548 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
549 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
550 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
552 sharedstatedir=$ac_optarg ;;
554 -site | --site | --sit)
556 -site=* | --site=* | --sit=*)
559 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
561 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
564 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
565 | --syscon | --sysco | --sysc | --sys | --sy)
566 ac_prev=sysconfdir ;;
567 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
568 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
569 sysconfdir=$ac_optarg ;;
571 -target | --target | --targe | --targ | --tar | --ta | --t)
572 ac_prev=target_alias ;;
573 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
574 target_alias=$ac_optarg ;;
576 -v | -verbose | --verbose | --verbos | --verbo | --verb)
579 -version | --version | --versio | --versi | --vers | -V)
583 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
584 # Reject names that are not valid shell variable names.
585 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
586 { echo "$as_me: error: invalid package name: $ac_package" >&2
587 { (exit 1); exit 1; }; }
588 ac_package=`echo $ac_package| sed 's/-/_/g'`
590 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
593 eval "with_$ac_package='$ac_optarg'" ;;
595 -without-* | --without-*)
596 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
599 { echo "$as_me: error: invalid package name: $ac_package" >&2
600 { (exit 1); exit 1; }; }
601 ac_package=`echo $ac_package | sed 's/-/_/g'`
602 eval "with_$ac_package=no" ;;
605 # Obsolete; use --with-x.
608 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
609 | --x-incl | --x-inc | --x-in | --x-i)
610 ac_prev=x_includes ;;
611 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
612 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
613 x_includes=$ac_optarg ;;
615 -x-libraries | --x-libraries | --x-librarie | --x-librari \
616 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
617 ac_prev=x_libraries ;;
618 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
619 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
620 x_libraries=$ac_optarg ;;
622 -*) { echo "$as_me: error: unrecognized option: $ac_option
623 Try \`$0 --help' for more information." >&2
624 { (exit 1); exit 1; }; }
628 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
629 # Reject names that are not valid shell variable names.
630 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
631 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
632 { (exit 1); exit 1; }; }
633 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
634 eval "$ac_envvar='$ac_optarg'"
638 # FIXME: should be removed in autoconf 3.0.
639 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
640 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
641 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
642 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
648 if test -n "$ac_prev"; then
649 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
650 { echo "$as_me: error: missing argument to $ac_option" >&2
651 { (exit 1); exit 1; }; }
654 # Be sure to have absolute paths.
655 for ac_var in exec_prefix prefix
657 eval ac_val=$`echo $ac_var`
659 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
660 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
661 { (exit 1); exit 1; }; };;
665 # Be sure to have absolute paths.
666 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
667 localstatedir libdir includedir oldincludedir infodir mandir
669 eval ac_val=$`echo $ac_var`
671 [\\/$]* | ?:[\\/]* ) ;;
672 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
673 { (exit 1); exit 1; }; };;
677 # There might be people who depend on the old broken behavior: `$host'
678 # used to hold the argument of --host etc.
679 # FIXME: To remove some day.
684 # FIXME: To remove some day.
685 if test "x$host_alias" != x; then
686 if test "x$build_alias" = x; then
687 cross_compiling=maybe
688 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
689 If a cross compiler is detected then cross compile mode will be used." >&2
690 elif test "x$build_alias" != "x$host_alias"; then
696 test -n "$host_alias" && ac_tool_prefix=$host_alias-
698 test "$silent" = yes && exec 6>/dev/null
701 # Find the source files, if location was not specified.
702 if test -z "$srcdir"; then
703 ac_srcdir_defaulted=yes
704 # Try the directory containing this script, then its parent.
705 ac_confdir=`(dirname "$0") 2>/dev/null ||
706 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
707 X"$0" : 'X\(//\)[^/]' \| \
708 X"$0" : 'X\(//\)$' \| \
709 X"$0" : 'X\(/\)' \| \
710 . : '\(.\)' 2>/dev/null ||
712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
713 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
714 /^X\(\/\/\)$/{ s//\1/; q; }
715 /^X\(\/\).*/{ s//\1/; q; }
718 if test ! -r $srcdir/$ac_unique_file; then
722 ac_srcdir_defaulted=no
724 if test ! -r $srcdir/$ac_unique_file; then
725 if test "$ac_srcdir_defaulted" = yes; then
726 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
727 { (exit 1); exit 1; }; }
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
730 { (exit 1); exit 1; }; }
733 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
734 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
735 { (exit 1); exit 1; }; }
736 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
737 ac_env_build_alias_set=${build_alias+set}
738 ac_env_build_alias_value=$build_alias
739 ac_cv_env_build_alias_set=${build_alias+set}
740 ac_cv_env_build_alias_value=$build_alias
741 ac_env_host_alias_set=${host_alias+set}
742 ac_env_host_alias_value=$host_alias
743 ac_cv_env_host_alias_set=${host_alias+set}
744 ac_cv_env_host_alias_value=$host_alias
745 ac_env_target_alias_set=${target_alias+set}
746 ac_env_target_alias_value=$target_alias
747 ac_cv_env_target_alias_set=${target_alias+set}
748 ac_cv_env_target_alias_value=$target_alias
749 ac_env_CC_set=${CC+set}
751 ac_cv_env_CC_set=${CC+set}
752 ac_cv_env_CC_value=$CC
753 ac_env_CFLAGS_set=${CFLAGS+set}
754 ac_env_CFLAGS_value=$CFLAGS
755 ac_cv_env_CFLAGS_set=${CFLAGS+set}
756 ac_cv_env_CFLAGS_value=$CFLAGS
757 ac_env_LDFLAGS_set=${LDFLAGS+set}
758 ac_env_LDFLAGS_value=$LDFLAGS
759 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
760 ac_cv_env_LDFLAGS_value=$LDFLAGS
761 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
762 ac_env_CPPFLAGS_value=$CPPFLAGS
763 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
764 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
765 ac_env_CPP_set=${CPP+set}
766 ac_env_CPP_value=$CPP
767 ac_cv_env_CPP_set=${CPP+set}
768 ac_cv_env_CPP_value=$CPP
771 # Report the --help message.
773 if test "$ac_init_help" = "long"; then
774 # Omit some internal or obsolete options to make the list less imposing.
775 # This message is too long to be a string in the A/UX 3.1 sh.
777 \`configure' configures Wine 20021125 to adapt to many kinds of systems.
779 Usage: $0 [OPTION]... [VAR=VALUE]...
781 To assign environment variables (e.g., CC, CFLAGS...), specify them as
782 VAR=VALUE. See below for descriptions of some of the useful variables.
784 Defaults for the options are specified in brackets.
787 -h, --help display this help and exit
788 --help=short display options specific to this package
789 --help=recursive display the short help of all the included packages
790 -V, --version display version information and exit
791 -q, --quiet, --silent do not print \`checking...' messages
792 --cache-file=FILE cache test results in FILE [disabled]
793 -C, --config-cache alias for \`--cache-file=config.cache'
794 -n, --no-create do not create output files
795 --srcdir=DIR find the sources in DIR [configure dir or \`..']
800 Installation directories:
801 --prefix=PREFIX install architecture-independent files in PREFIX
803 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
806 By default, \`make install' will install all the files in
807 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
808 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
809 for instance \`--prefix=\$HOME'.
811 For better control, use the options below.
813 Fine tuning of the installation directories:
814 --bindir=DIR user executables [EPREFIX/bin]
815 --sbindir=DIR system admin executables [EPREFIX/sbin]
816 --libexecdir=DIR program executables [EPREFIX/libexec]
817 --datadir=DIR read-only architecture-independent data [PREFIX/share]
818 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
819 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
820 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
821 --libdir=DIR object code libraries [EPREFIX/lib]
822 --includedir=DIR C header files [PREFIX/include]
823 --oldincludedir=DIR C header files for non-gcc [/usr/include]
824 --infodir=DIR info documentation [PREFIX/info]
825 --mandir=DIR man documentation [PREFIX/man]
831 --x-includes=DIR X include files are in DIR
832 --x-libraries=DIR X library files are in DIR
835 --build=BUILD configure for building on BUILD [guessed]
836 --host=HOST cross-compile to build programs to run on HOST [BUILD]
840 if test -n "$ac_init_help"; then
841 case $ac_init_help in
842 short | recursive ) echo "Configuration of Wine 20021125:";;
847 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
848 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
849 --disable-win16 do not include Win16 support
850 --disable-debug compile out all debugging messages
851 --disable-trace compile out TRACE messages
854 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
855 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
856 --without-opengl do not use OpenGL
857 --without-curses do not use curses
858 --with-wine-tools=<dir> use Wine tools from directory <dir>
859 --with-x use the X Window System
861 Some influential environment variables:
862 CC C compiler command
863 CFLAGS C compiler flags
864 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
865 nonstandard directory <lib dir>
866 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
867 headers in a nonstandard directory <include dir>
870 Use these variables to override the choices made by `configure' or to help
871 it to find libraries and programs with nonstandard names/locations.
876 if test "$ac_init_help" = "recursive"; then
877 # If there are subdirs, report their specific --help.
879 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
880 test -d $ac_dir || continue
883 if test "$ac_dir" != .; then
884 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
885 # A "../" for each directory in $ac_dir_suffix.
886 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
888 ac_dir_suffix= ac_top_builddir=
892 .) # No --srcdir option. We are building in place.
894 if test -z "$ac_top_builddir"; then
897 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
899 [\\/]* | ?:[\\/]* ) # Absolute path.
900 ac_srcdir=$srcdir$ac_dir_suffix;
901 ac_top_srcdir=$srcdir ;;
903 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
904 ac_top_srcdir=$ac_top_builddir$srcdir ;;
906 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
908 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
909 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
910 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
911 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
914 # Check for guested configure; otherwise get Cygnus style configure.
915 if test -f $ac_srcdir/configure.gnu; then
917 $SHELL $ac_srcdir/configure.gnu --help=recursive
918 elif test -f $ac_srcdir/configure; then
920 $SHELL $ac_srcdir/configure --help=recursive
921 elif test -f $ac_srcdir/configure.ac ||
922 test -f $ac_srcdir/configure.in; then
926 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
932 test -n "$ac_init_help" && exit 0
933 if $ac_init_version; then
935 Wine configure 20021125
936 generated by GNU Autoconf 2.54
938 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
939 Free Software Foundation, Inc.
940 This configure script is free software; the Free Software Foundation
941 gives unlimited permission to copy, distribute and modify it.
947 This file contains any messages produced by compilers while
948 running configure, to aid debugging if configure makes a mistake.
950 It was created by Wine $as_me 20021125, which was
951 generated by GNU Autoconf 2.54. Invocation command line was
962 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
963 uname -m = `(uname -m) 2>/dev/null || echo unknown`
964 uname -r = `(uname -r) 2>/dev/null || echo unknown`
965 uname -s = `(uname -s) 2>/dev/null || echo unknown`
966 uname -v = `(uname -v) 2>/dev/null || echo unknown`
968 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
969 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
971 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
972 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
973 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
974 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
975 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
976 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
977 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
985 test -z "$as_dir" && as_dir=.
1001 # Keep a trace of the command line.
1002 # Strip out --no-create and --no-recursion so they do not pile up.
1003 # Also quote any args containing shell meta-characters.
1009 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1010 | --no-cr | --no-c | -n ) continue ;;
1011 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1012 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1014 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1015 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1017 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1018 # Get rid of the leading space.
1022 # When interrupted or exit'd, cleanup temporary files, and complete
1023 # config.log. We remove comments because anyway the quotes in there
1024 # would cause problems or look ugly.
1025 # WARNING: Be sure not to use single quotes in there, as some shells,
1026 # such as our DU 5.0 friend, will then `close' the trap.
1027 trap 'exit_status=$?
1028 # Save into config.log some information that might help in debugging.
1033 ## ---------------- ##
1034 ## Cache variables. ##
1035 ## ---------------- ##
1038 # The following way of writing the cache mishandles newlines in values,
1041 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1044 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1045 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1049 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1056 ## ----------------- ##
1057 ## Output variables. ##
1058 ## ----------------- ##
1061 for ac_var in $ac_subst_vars
1063 eval ac_val=$`echo $ac_var`
1064 echo "$ac_var='"'"'$ac_val'"'"'"
1068 if test -n "$ac_subst_files"; then
1075 for ac_var in $ac_subst_files
1077 eval ac_val=$`echo $ac_var`
1078 echo "$ac_var='"'"'$ac_val'"'"'"
1083 if test -s confdefs.h; then
1090 sed "/^$/d" confdefs.h | sort
1093 test "$ac_signal" != 0 &&
1094 echo "$as_me: caught signal $ac_signal"
1095 echo "$as_me: exit $exit_status"
1097 rm -f core core.* *.core &&
1098 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1101 for ac_signal in 1 2 13 15; do
1102 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1106 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1107 rm -rf conftest* confdefs.h
1108 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1111 # Predefined preprocessor variables.
1113 cat >>confdefs.h <<_ACEOF
1114 #define PACKAGE_NAME "$PACKAGE_NAME"
1118 cat >>confdefs.h <<_ACEOF
1119 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1123 cat >>confdefs.h <<_ACEOF
1124 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1128 cat >>confdefs.h <<_ACEOF
1129 #define PACKAGE_STRING "$PACKAGE_STRING"
1133 cat >>confdefs.h <<_ACEOF
1134 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1138 # Let the site file select an alternate cache file if it wants to.
1139 # Prefer explicitly selected file to automatically selected ones.
1140 if test -z "$CONFIG_SITE"; then
1141 if test "x$prefix" != xNONE; then
1142 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1144 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1147 for ac_site_file in $CONFIG_SITE; do
1148 if test -r "$ac_site_file"; then
1149 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1150 echo "$as_me: loading site script $ac_site_file" >&6;}
1151 sed 's/^/| /' "$ac_site_file" >&5
1156 if test -r "$cache_file"; then
1157 # Some versions of bash will fail to source /dev/null (special
1158 # files actually), so we avoid doing that.
1159 if test -f "$cache_file"; then
1160 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1161 echo "$as_me: loading cache $cache_file" >&6;}
1163 [\\/]* | ?:[\\/]* ) . $cache_file;;
1164 *) . ./$cache_file;;
1168 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1169 echo "$as_me: creating cache $cache_file" >&6;}
1173 # Check that the precious variables saved in the cache have kept the same
1175 ac_cache_corrupted=false
1176 for ac_var in `(set) 2>&1 |
1177 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1178 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1179 eval ac_new_set=\$ac_env_${ac_var}_set
1180 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1181 eval ac_new_val="\$ac_env_${ac_var}_value"
1182 case $ac_old_set,$ac_new_set in
1184 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1185 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1186 ac_cache_corrupted=: ;;
1188 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1189 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1190 ac_cache_corrupted=: ;;
1193 if test "x$ac_old_val" != "x$ac_new_val"; then
1194 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1195 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1196 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1197 echo "$as_me: former value: $ac_old_val" >&2;}
1198 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1199 echo "$as_me: current value: $ac_new_val" >&2;}
1200 ac_cache_corrupted=:
1203 # Pass precious variables to config.status.
1204 if test "$ac_new_set" = set; then
1206 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1207 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1208 *) ac_arg=$ac_var=$ac_new_val ;;
1210 case " $ac_configure_args " in
1211 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1212 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1216 if $ac_cache_corrupted; then
1217 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1218 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1219 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1220 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1221 { (exit 1); exit 1; }; }
1225 ac_cpp='$CPP $CPPFLAGS'
1226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1257 ac_config_headers="$ac_config_headers include/config.h"
1260 for ac_dir in tools $srcdir/tools; do
1261 if test -f $ac_dir/install-sh; then
1263 ac_install_sh="$ac_aux_dir/install-sh -c"
1265 elif test -f $ac_dir/install.sh; then
1267 ac_install_sh="$ac_aux_dir/install.sh -c"
1269 elif test -f $ac_dir/shtool; then
1271 ac_install_sh="$ac_aux_dir/shtool install -c"
1275 if test -z "$ac_aux_dir"; then
1276 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1277 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1278 { (exit 1); exit 1; }; }
1280 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1281 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1282 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1289 # Check whether --enable-win16 or --disable-win16 was given.
1290 if test "${enable_win16+set}" = set; then
1291 enableval="$enable_win16"
1294 # Check whether --enable-debug or --disable-debug was given.
1295 if test "${enable_debug+set}" = set; then
1296 enableval="$enable_debug"
1299 # Check whether --enable-trace or --disable-trace was given.
1300 if test "${enable_trace+set}" = set; then
1301 enableval="$enable_trace"
1306 # Check whether --with-opengl or --without-opengl was given.
1307 if test "${with_opengl+set}" = set; then
1308 withval="$with_opengl"
1312 # Check whether --with-curses or --without-curses was given.
1313 if test "${with_curses+set}" = set; then
1314 withval="$with_curses"
1318 # Check whether --with-wine-tools or --without-wine-tools was given.
1319 if test "${with_wine_tools+set}" = set; then
1320 withval="$with_wine_tools"
1325 WIN16_FILES="\$(WIN16_FILES)"
1327 WIN16_INSTALL="\$(WIN16_INSTALL)"
1329 if test "x$enable_win16" = "xno"
1334 if test "x$enable_debug" = "xno"
1337 cat >>confdefs.h <<\_ACEOF
1338 #define NO_DEBUG_MSGS 1
1342 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1345 cat >>confdefs.h <<\_ACEOF
1346 #define NO_TRACE_MSGS 1
1352 # Make sure we can run config.sub.
1353 $ac_config_sub sun4 >/dev/null 2>&1 ||
1354 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1355 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1356 { (exit 1); exit 1; }; }
1358 echo "$as_me:$LINENO: checking build system type" >&5
1359 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1360 if test "${ac_cv_build+set}" = set; then
1361 echo $ECHO_N "(cached) $ECHO_C" >&6
1363 ac_cv_build_alias=$build_alias
1364 test -z "$ac_cv_build_alias" &&
1365 ac_cv_build_alias=`$ac_config_guess`
1366 test -z "$ac_cv_build_alias" &&
1367 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1368 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1369 { (exit 1); exit 1; }; }
1370 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1371 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1372 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1373 { (exit 1); exit 1; }; }
1376 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1377 echo "${ECHO_T}$ac_cv_build" >&6
1379 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1380 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1381 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1384 echo "$as_me:$LINENO: checking host system type" >&5
1385 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1386 if test "${ac_cv_host+set}" = set; then
1387 echo $ECHO_N "(cached) $ECHO_C" >&6
1389 ac_cv_host_alias=$host_alias
1390 test -z "$ac_cv_host_alias" &&
1391 ac_cv_host_alias=$ac_cv_build_alias
1392 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1393 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1394 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1395 { (exit 1); exit 1; }; }
1398 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1399 echo "${ECHO_T}$ac_cv_host" >&6
1401 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1402 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1403 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1406 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1407 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1408 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1409 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1410 echo $ECHO_N "(cached) $ECHO_C" >&6
1412 cat >conftest.make <<\_ACEOF
1414 @echo 'ac_maketemp="${MAKE}"'
1416 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1417 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1418 if test -n "$ac_maketemp"; then
1419 eval ac_cv_prog_make_${ac_make}_set=yes
1421 eval ac_cv_prog_make_${ac_make}_set=no
1425 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1426 echo "$as_me:$LINENO: result: yes" >&5
1427 echo "${ECHO_T}yes" >&6
1430 echo "$as_me:$LINENO: result: no" >&5
1431 echo "${ECHO_T}no" >&6
1432 SET_MAKE="MAKE=${MAKE-make}"
1436 ac_cpp='$CPP $CPPFLAGS'
1437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1440 if test -n "$ac_tool_prefix"; then
1441 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1442 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1443 echo "$as_me:$LINENO: checking for $ac_word" >&5
1444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1445 if test "${ac_cv_prog_CC+set}" = set; then
1446 echo $ECHO_N "(cached) $ECHO_C" >&6
1448 if test -n "$CC"; then
1449 ac_cv_prog_CC="$CC" # Let the user override the test.
1451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1455 test -z "$as_dir" && as_dir=.
1456 for ac_exec_ext in '' $ac_executable_extensions; do
1457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1458 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1468 if test -n "$CC"; then
1469 echo "$as_me:$LINENO: result: $CC" >&5
1470 echo "${ECHO_T}$CC" >&6
1472 echo "$as_me:$LINENO: result: no" >&5
1473 echo "${ECHO_T}no" >&6
1477 if test -z "$ac_cv_prog_CC"; then
1479 # Extract the first word of "gcc", so it can be a program name with args.
1480 set dummy gcc; ac_word=$2
1481 echo "$as_me:$LINENO: checking for $ac_word" >&5
1482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1483 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1484 echo $ECHO_N "(cached) $ECHO_C" >&6
1486 if test -n "$ac_ct_CC"; then
1487 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1493 test -z "$as_dir" && as_dir=.
1494 for ac_exec_ext in '' $ac_executable_extensions; do
1495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1496 ac_cv_prog_ac_ct_CC="gcc"
1497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1505 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1506 if test -n "$ac_ct_CC"; then
1507 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1508 echo "${ECHO_T}$ac_ct_CC" >&6
1510 echo "$as_me:$LINENO: result: no" >&5
1511 echo "${ECHO_T}no" >&6
1519 if test -z "$CC"; then
1520 if test -n "$ac_tool_prefix"; then
1521 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1522 set dummy ${ac_tool_prefix}cc; ac_word=$2
1523 echo "$as_me:$LINENO: checking for $ac_word" >&5
1524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1525 if test "${ac_cv_prog_CC+set}" = set; then
1526 echo $ECHO_N "(cached) $ECHO_C" >&6
1528 if test -n "$CC"; then
1529 ac_cv_prog_CC="$CC" # Let the user override the test.
1531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1535 test -z "$as_dir" && as_dir=.
1536 for ac_exec_ext in '' $ac_executable_extensions; do
1537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1538 ac_cv_prog_CC="${ac_tool_prefix}cc"
1539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1548 if test -n "$CC"; then
1549 echo "$as_me:$LINENO: result: $CC" >&5
1550 echo "${ECHO_T}$CC" >&6
1552 echo "$as_me:$LINENO: result: no" >&5
1553 echo "${ECHO_T}no" >&6
1557 if test -z "$ac_cv_prog_CC"; then
1559 # Extract the first word of "cc", so it can be a program name with args.
1560 set dummy cc; ac_word=$2
1561 echo "$as_me:$LINENO: checking for $ac_word" >&5
1562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1563 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1564 echo $ECHO_N "(cached) $ECHO_C" >&6
1566 if test -n "$ac_ct_CC"; then
1567 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1573 test -z "$as_dir" && as_dir=.
1574 for ac_exec_ext in '' $ac_executable_extensions; do
1575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1576 ac_cv_prog_ac_ct_CC="cc"
1577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1585 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1586 if test -n "$ac_ct_CC"; then
1587 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1588 echo "${ECHO_T}$ac_ct_CC" >&6
1590 echo "$as_me:$LINENO: result: no" >&5
1591 echo "${ECHO_T}no" >&6
1600 if test -z "$CC"; then
1601 # Extract the first word of "cc", so it can be a program name with args.
1602 set dummy cc; ac_word=$2
1603 echo "$as_me:$LINENO: checking for $ac_word" >&5
1604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1605 if test "${ac_cv_prog_CC+set}" = set; then
1606 echo $ECHO_N "(cached) $ECHO_C" >&6
1608 if test -n "$CC"; then
1609 ac_cv_prog_CC="$CC" # Let the user override the test.
1612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1616 test -z "$as_dir" && as_dir=.
1617 for ac_exec_ext in '' $ac_executable_extensions; do
1618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1619 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1620 ac_prog_rejected=yes
1624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1630 if test $ac_prog_rejected = yes; then
1631 # We found a bogon in the path, so make sure we never use it.
1632 set dummy $ac_cv_prog_CC
1634 if test $# != 0; then
1635 # We chose a different compiler from the bogus one.
1636 # However, it has the same basename, so the bogon will be chosen
1637 # first if we set CC to just the basename; use the full file name.
1639 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1645 if test -n "$CC"; then
1646 echo "$as_me:$LINENO: result: $CC" >&5
1647 echo "${ECHO_T}$CC" >&6
1649 echo "$as_me:$LINENO: result: no" >&5
1650 echo "${ECHO_T}no" >&6
1654 if test -z "$CC"; then
1655 if test -n "$ac_tool_prefix"; then
1658 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1659 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1660 echo "$as_me:$LINENO: checking for $ac_word" >&5
1661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1662 if test "${ac_cv_prog_CC+set}" = set; then
1663 echo $ECHO_N "(cached) $ECHO_C" >&6
1665 if test -n "$CC"; then
1666 ac_cv_prog_CC="$CC" # Let the user override the test.
1668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1672 test -z "$as_dir" && as_dir=.
1673 for ac_exec_ext in '' $ac_executable_extensions; do
1674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1675 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1685 if test -n "$CC"; then
1686 echo "$as_me:$LINENO: result: $CC" >&5
1687 echo "${ECHO_T}$CC" >&6
1689 echo "$as_me:$LINENO: result: no" >&5
1690 echo "${ECHO_T}no" >&6
1693 test -n "$CC" && break
1696 if test -z "$CC"; then
1700 # Extract the first word of "$ac_prog", so it can be a program name with args.
1701 set dummy $ac_prog; ac_word=$2
1702 echo "$as_me:$LINENO: checking for $ac_word" >&5
1703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1704 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1705 echo $ECHO_N "(cached) $ECHO_C" >&6
1707 if test -n "$ac_ct_CC"; then
1708 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714 test -z "$as_dir" && as_dir=.
1715 for ac_exec_ext in '' $ac_executable_extensions; do
1716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1717 ac_cv_prog_ac_ct_CC="$ac_prog"
1718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1726 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1727 if test -n "$ac_ct_CC"; then
1728 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1729 echo "${ECHO_T}$ac_ct_CC" >&6
1731 echo "$as_me:$LINENO: result: no" >&5
1732 echo "${ECHO_T}no" >&6
1735 test -n "$ac_ct_CC" && break
1744 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1745 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1746 { (exit 1); exit 1; }; }
1748 # Provide some information about the compiler.
1749 echo "$as_me:$LINENO:" \
1750 "checking for C compiler version" >&5
1751 ac_compiler=`set X $ac_compile; echo $2`
1752 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1753 (eval $ac_compiler --version </dev/null >&5) 2>&5
1755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1756 (exit $ac_status); }
1757 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1758 (eval $ac_compiler -v </dev/null >&5) 2>&5
1760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1761 (exit $ac_status); }
1762 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1763 (eval $ac_compiler -V </dev/null >&5) 2>&5
1765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1766 (exit $ac_status); }
1768 cat >conftest.$ac_ext <<_ACEOF
1769 #line $LINENO "configure"
1770 #include "confdefs.h"
1780 ac_clean_files_save=$ac_clean_files
1781 ac_clean_files="$ac_clean_files a.out a.exe"
1782 # Try to create an executable without -o first, disregard a.out.
1783 # It will help us diagnose broken compilers, and finding out an intuition
1785 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1786 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1787 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1788 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1789 (eval $ac_link_default) 2>&5
1791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1792 (exit $ac_status); }; then
1793 # Find the output, starting from the most likely. This scheme is
1794 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1797 # Be careful to initialize this variable, since it used to be cached.
1798 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1800 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.*; do
1801 test -f "$ac_file" || continue
1803 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1804 a.out ) # We found the default executable, but exeext='' is most
1807 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1808 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1815 echo "$as_me: failed program was:" >&5
1816 cat conftest.$ac_ext >&5
1817 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1818 check \`config.log' for details." >&5
1819 echo "$as_me: error: C compiler cannot create executables
1820 check \`config.log' for details." >&2;}
1821 { (exit 77); exit 77; }; }
1824 ac_exeext=$ac_cv_exeext
1825 echo "$as_me:$LINENO: result: $ac_file" >&5
1826 echo "${ECHO_T}$ac_file" >&6
1828 # Check the compiler produces executables we can run. If not, either
1829 # the compiler is broken, or we cross compile.
1830 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1831 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1832 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1833 # If not cross compiling, check that we can run a simple program.
1834 if test "$cross_compiling" != yes; then
1835 if { ac_try='./$ac_file'
1836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1840 (exit $ac_status); }; }; then
1843 if test "$cross_compiling" = maybe; then
1846 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1847 If you meant to cross compile, use \`--host'." >&5
1848 echo "$as_me: error: cannot run C compiled programs.
1849 If you meant to cross compile, use \`--host'." >&2;}
1850 { (exit 1); exit 1; }; }
1854 echo "$as_me:$LINENO: result: yes" >&5
1855 echo "${ECHO_T}yes" >&6
1857 rm -f a.out a.exe conftest$ac_cv_exeext
1858 ac_clean_files=$ac_clean_files_save
1859 # Check the compiler produces executables we can run. If not, either
1860 # the compiler is broken, or we cross compile.
1861 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1862 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1863 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1864 echo "${ECHO_T}$cross_compiling" >&6
1866 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1867 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1869 (eval $ac_link) 2>&5
1871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1872 (exit $ac_status); }; then
1873 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1874 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1875 # work properly (i.e., refer to `conftest.exe'), while it won't with
1877 for ac_file in conftest.exe conftest conftest.*; do
1878 test -f "$ac_file" || continue
1880 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1881 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1888 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1889 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1890 { (exit 1); exit 1; }; }
1893 rm -f conftest$ac_cv_exeext
1894 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1895 echo "${ECHO_T}$ac_cv_exeext" >&6
1897 rm -f conftest.$ac_ext
1898 EXEEXT=$ac_cv_exeext
1900 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1901 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1902 if test "${ac_cv_objext+set}" = set; then
1903 echo $ECHO_N "(cached) $ECHO_C" >&6
1905 cat >conftest.$ac_ext <<_ACEOF
1906 #line $LINENO "configure"
1907 #include "confdefs.h"
1917 rm -f conftest.o conftest.obj
1918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1919 (eval $ac_compile) 2>&5
1921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1922 (exit $ac_status); }; then
1923 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1925 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1926 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1931 echo "$as_me: failed program was:" >&5
1932 cat conftest.$ac_ext >&5
1933 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1934 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1935 { (exit 1); exit 1; }; }
1938 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1940 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1941 echo "${ECHO_T}$ac_cv_objext" >&6
1942 OBJEXT=$ac_cv_objext
1944 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1945 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1946 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1949 cat >conftest.$ac_ext <<_ACEOF
1950 #line $LINENO "configure"
1951 #include "confdefs.h"
1964 rm -f conftest.$ac_objext
1965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1966 (eval $ac_compile) 2>&5
1968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1969 (exit $ac_status); } &&
1970 { ac_try='test -s conftest.$ac_objext'
1971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1975 (exit $ac_status); }; }; then
1978 echo "$as_me: failed program was:" >&5
1979 cat conftest.$ac_ext >&5
1982 rm -f conftest.$ac_objext conftest.$ac_ext
1983 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1986 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1987 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1988 GCC=`test $ac_compiler_gnu = yes && echo yes`
1989 ac_test_CFLAGS=${CFLAGS+set}
1990 ac_save_CFLAGS=$CFLAGS
1992 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1993 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1994 if test "${ac_cv_prog_cc_g+set}" = set; then
1995 echo $ECHO_N "(cached) $ECHO_C" >&6
1997 cat >conftest.$ac_ext <<_ACEOF
1998 #line $LINENO "configure"
1999 #include "confdefs.h"
2009 rm -f conftest.$ac_objext
2010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2011 (eval $ac_compile) 2>&5
2013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2014 (exit $ac_status); } &&
2015 { ac_try='test -s conftest.$ac_objext'
2016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2020 (exit $ac_status); }; }; then
2023 echo "$as_me: failed program was:" >&5
2024 cat conftest.$ac_ext >&5
2027 rm -f conftest.$ac_objext conftest.$ac_ext
2029 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2030 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2031 if test "$ac_test_CFLAGS" = set; then
2032 CFLAGS=$ac_save_CFLAGS
2033 elif test $ac_cv_prog_cc_g = yes; then
2034 if test "$GCC" = yes; then
2040 if test "$GCC" = yes; then
2046 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2047 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2048 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 ac_cv_prog_cc_stdc=no
2053 cat >conftest.$ac_ext <<_ACEOF
2054 #line $LINENO "configure"
2055 #include "confdefs.h"
2058 #include <sys/types.h>
2059 #include <sys/stat.h>
2060 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2061 struct buf { int x; };
2062 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2063 static char *e (p, i)
2069 static char *f (char * (*g) (char **, int), char **p, ...)
2074 s = g (p, va_arg (v,int));
2078 int test (int i, double x);
2079 struct s1 {int (*f) (int a);};
2080 struct s2 {int (*f) (double a);};
2081 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2087 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2092 # Don't try gcc -ansi; that turns off useful extensions and
2093 # breaks some systems' header files.
2094 # AIX -qlanglvl=ansi
2095 # Ultrix and OSF/1 -std1
2096 # HP-UX 10.20 and later -Ae
2097 # HP-UX older versions -Aa -D_HPUX_SOURCE
2098 # SVR4 -Xc -D__EXTENSIONS__
2099 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2101 CC="$ac_save_CC $ac_arg"
2102 rm -f conftest.$ac_objext
2103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2104 (eval $ac_compile) 2>&5
2106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2107 (exit $ac_status); } &&
2108 { ac_try='test -s conftest.$ac_objext'
2109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113 (exit $ac_status); }; }; then
2114 ac_cv_prog_cc_stdc=$ac_arg
2117 echo "$as_me: failed program was:" >&5
2118 cat conftest.$ac_ext >&5
2120 rm -f conftest.$ac_objext
2122 rm -f conftest.$ac_ext conftest.$ac_objext
2127 case "x$ac_cv_prog_cc_stdc" in
2129 echo "$as_me:$LINENO: result: none needed" >&5
2130 echo "${ECHO_T}none needed" >&6 ;;
2132 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2133 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2134 CC="$CC $ac_cv_prog_cc_stdc" ;;
2137 # Some people use a C++ compiler to compile C. Since we use `exit',
2138 # in C++ we need to declare it. In case someone uses the same compiler
2139 # for both compiling C and C++ we need to have the C++ compiler decide
2140 # the declaration of exit, since it's the most demanding environment.
2141 cat >conftest.$ac_ext <<_ACEOF
2146 rm -f conftest.$ac_objext
2147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2148 (eval $ac_compile) 2>&5
2150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2151 (exit $ac_status); } &&
2152 { ac_try='test -s conftest.$ac_objext'
2153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2157 (exit $ac_status); }; }; then
2158 for ac_declaration in \
2160 '#include <stdlib.h>' \
2161 'extern "C" void std::exit (int) throw (); using std::exit;' \
2162 'extern "C" void std::exit (int); using std::exit;' \
2163 'extern "C" void exit (int) throw ();' \
2164 'extern "C" void exit (int);' \
2167 cat >conftest.$ac_ext <<_ACEOF
2168 #line $LINENO "configure"
2169 #include "confdefs.h"
2180 rm -f conftest.$ac_objext
2181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2182 (eval $ac_compile) 2>&5
2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185 (exit $ac_status); } &&
2186 { ac_try='test -s conftest.$ac_objext'
2187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); }; }; then
2194 echo "$as_me: failed program was:" >&5
2195 cat conftest.$ac_ext >&5
2198 rm -f conftest.$ac_objext conftest.$ac_ext
2199 cat >conftest.$ac_ext <<_ACEOF
2200 #line $LINENO "configure"
2201 #include "confdefs.h"
2211 rm -f conftest.$ac_objext
2212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2213 (eval $ac_compile) 2>&5
2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); } &&
2217 { ac_try='test -s conftest.$ac_objext'
2218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2222 (exit $ac_status); }; }; then
2225 echo "$as_me: failed program was:" >&5
2226 cat conftest.$ac_ext >&5
2228 rm -f conftest.$ac_objext conftest.$ac_ext
2231 if test -n "$ac_declaration"; then
2232 echo '#ifdef __cplusplus' >>confdefs.h
2233 echo $ac_declaration >>confdefs.h
2234 echo '#endif' >>confdefs.h
2238 echo "$as_me: failed program was:" >&5
2239 cat conftest.$ac_ext >&5
2241 rm -f conftest.$ac_objext conftest.$ac_ext
2243 ac_cpp='$CPP $CPPFLAGS'
2244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2249 ac_cpp='$CPP $CPPFLAGS'
2250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2253 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2254 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2255 # On Suns, sometimes $CPP names a directory.
2256 if test -n "$CPP" && test -d "$CPP"; then
2259 if test -z "$CPP"; then
2260 if test "${ac_cv_prog_CPP+set}" = set; then
2261 echo $ECHO_N "(cached) $ECHO_C" >&6
2263 # Double quotes because CPP needs to be expanded
2264 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2267 for ac_c_preproc_warn_flag in '' yes
2269 # Use a header file that comes with gcc, so configuring glibc
2270 # with a fresh cross-compiler works.
2271 # On the NeXT, cc -E runs the code through the compiler's parser,
2272 # not just through cpp. "Syntax error" is here to catch this case.
2273 cat >conftest.$ac_ext <<_ACEOF
2274 #line $LINENO "configure"
2275 #include "confdefs.h"
2279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2280 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2282 grep -v '^ *+' conftest.er1 >conftest.err
2284 cat conftest.err >&5
2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2286 (exit $ac_status); } >/dev/null; then
2287 if test -s conftest.err; then
2288 ac_cpp_err=$ac_c_preproc_warn_flag
2295 if test -z "$ac_cpp_err"; then
2298 echo "$as_me: failed program was:" >&5
2299 cat conftest.$ac_ext >&5
2300 # Broken: fails on valid input.
2303 rm -f conftest.err conftest.$ac_ext
2305 # OK, works on sane cases. Now check whether non-existent headers
2306 # can be detected and how.
2307 cat >conftest.$ac_ext <<_ACEOF
2308 #line $LINENO "configure"
2309 #include "confdefs.h"
2310 #include <ac_nonexistent.h>
2312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2313 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2315 grep -v '^ *+' conftest.er1 >conftest.err
2317 cat conftest.err >&5
2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319 (exit $ac_status); } >/dev/null; then
2320 if test -s conftest.err; then
2321 ac_cpp_err=$ac_c_preproc_warn_flag
2328 if test -z "$ac_cpp_err"; then
2329 # Broken: success on invalid input.
2332 echo "$as_me: failed program was:" >&5
2333 cat conftest.$ac_ext >&5
2334 # Passes both tests.
2338 rm -f conftest.err conftest.$ac_ext
2341 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2342 rm -f conftest.err conftest.$ac_ext
2343 if $ac_preproc_ok; then
2355 echo "$as_me:$LINENO: result: $CPP" >&5
2356 echo "${ECHO_T}$CPP" >&6
2358 for ac_c_preproc_warn_flag in '' yes
2360 # Use a header file that comes with gcc, so configuring glibc
2361 # with a fresh cross-compiler works.
2362 # On the NeXT, cc -E runs the code through the compiler's parser,
2363 # not just through cpp. "Syntax error" is here to catch this case.
2364 cat >conftest.$ac_ext <<_ACEOF
2365 #line $LINENO "configure"
2366 #include "confdefs.h"
2370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2371 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2373 grep -v '^ *+' conftest.er1 >conftest.err
2375 cat conftest.err >&5
2376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2377 (exit $ac_status); } >/dev/null; then
2378 if test -s conftest.err; then
2379 ac_cpp_err=$ac_c_preproc_warn_flag
2386 if test -z "$ac_cpp_err"; then
2389 echo "$as_me: failed program was:" >&5
2390 cat conftest.$ac_ext >&5
2391 # Broken: fails on valid input.
2394 rm -f conftest.err conftest.$ac_ext
2396 # OK, works on sane cases. Now check whether non-existent headers
2397 # can be detected and how.
2398 cat >conftest.$ac_ext <<_ACEOF
2399 #line $LINENO "configure"
2400 #include "confdefs.h"
2401 #include <ac_nonexistent.h>
2403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2404 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2406 grep -v '^ *+' conftest.er1 >conftest.err
2408 cat conftest.err >&5
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); } >/dev/null; then
2411 if test -s conftest.err; then
2412 ac_cpp_err=$ac_c_preproc_warn_flag
2419 if test -z "$ac_cpp_err"; then
2420 # Broken: success on invalid input.
2423 echo "$as_me: failed program was:" >&5
2424 cat conftest.$ac_ext >&5
2425 # Passes both tests.
2429 rm -f conftest.err conftest.$ac_ext
2432 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2433 rm -f conftest.err conftest.$ac_ext
2434 if $ac_preproc_ok; then
2437 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2438 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2439 { (exit 1); exit 1; }; }
2443 ac_cpp='$CPP $CPPFLAGS'
2444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2449 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2450 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2451 if test "${wine_cv_toolsdir+set}" = set; then
2452 echo $ECHO_N "(cached) $ECHO_C" >&6
2454 if test -z "$with_wine_tools"; then
2455 if test "$cross_compiling" = "yes"; then
2456 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2457 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2458 { (exit 1); exit 1; }; }
2460 wine_cv_toolsdir="\$(TOPOBJDIR)"
2462 elif test -d "$with_wine_tools/tools/winebuild"; then
2463 case $with_wine_tools in
2464 /*) wine_cv_toolsdir="$with_wine_tools" ;;
2465 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
2468 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2469 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2470 { (exit 1); exit 1; }; }
2473 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2474 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2475 TOOLSDIR=$wine_cv_toolsdir
2480 echo "$as_me:$LINENO: checking for X" >&5
2481 echo $ECHO_N "checking for X... $ECHO_C" >&6
2484 # Check whether --with-x or --without-x was given.
2485 if test "${with_x+set}" = set; then
2489 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2490 if test "x$with_x" = xno; then
2491 # The user explicitly disabled X.
2494 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
2495 # Both variables are already set.
2498 if test "${ac_cv_have_x+set}" = set; then
2499 echo $ECHO_N "(cached) $ECHO_C" >&6
2501 # One or both of the vars are not set, and there is no cached value.
2502 ac_x_includes=no ac_x_libraries=no
2504 if mkdir conftest.dir; then
2506 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2507 cat >Imakefile <<'_ACEOF'
2509 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2511 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
2512 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2513 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2514 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2515 for ac_extension in a so sl; do
2516 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
2517 test -f $ac_im_libdir/libX11.$ac_extension; then
2518 ac_im_usrlibdir=$ac_im_libdir; break
2521 # Screen out bogus values from the imake configuration. They are
2522 # bogus both because they are the default anyway, and because
2523 # using them would break gcc on systems where it needs fixed includes.
2524 case $ac_im_incroot in
2526 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
2528 case $ac_im_usrlibdir in
2530 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
2537 # Standard set of common directories for X headers.
2538 # Check X11 before X11Rn because it is often a symlink to the current release.
2550 /usr/local/X11/include
2551 /usr/local/X11R6/include
2552 /usr/local/X11R5/include
2553 /usr/local/X11R4/include
2555 /usr/local/include/X11
2556 /usr/local/include/X11R6
2557 /usr/local/include/X11R5
2558 /usr/local/include/X11R4
2562 /usr/XFree86/include/X11
2566 /usr/unsupported/include
2568 /usr/local/x11r5/include
2569 /usr/lpp/Xamples/include
2571 /usr/openwin/include
2572 /usr/openwin/share/include'
2574 if test "$ac_x_includes" = no; then
2575 # Guess where to find include files, by looking for Intrinsic.h.
2576 # First, try using that file with no special directory specified.
2577 cat >conftest.$ac_ext <<_ACEOF
2578 #line $LINENO "configure"
2579 #include "confdefs.h"
2580 #include <X11/Intrinsic.h>
2582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2585 grep -v '^ *+' conftest.er1 >conftest.err
2587 cat conftest.err >&5
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); } >/dev/null; then
2590 if test -s conftest.err; then
2591 ac_cpp_err=$ac_c_preproc_warn_flag
2598 if test -z "$ac_cpp_err"; then
2599 # We can compile using X headers with no special include directory.
2602 echo "$as_me: failed program was:" >&5
2603 cat conftest.$ac_ext >&5
2604 for ac_dir in $ac_x_header_dirs; do
2605 if test -r "$ac_dir/X11/Intrinsic.h"; then
2606 ac_x_includes=$ac_dir
2611 rm -f conftest.err conftest.$ac_ext
2612 fi # $ac_x_includes = no
2614 if test "$ac_x_libraries" = no; then
2615 # Check for the libraries.
2616 # See if we find them without any special options.
2617 # Don't add to $LIBS permanently.
2620 cat >conftest.$ac_ext <<_ACEOF
2621 #line $LINENO "configure"
2622 #include "confdefs.h"
2623 #include <X11/Intrinsic.h>
2632 rm -f conftest.$ac_objext conftest$ac_exeext
2633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2634 (eval $ac_link) 2>&5
2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); } &&
2638 { ac_try='test -s conftest$ac_exeext'
2639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); }; }; then
2645 # We can link X programs with no special library path.
2648 echo "$as_me: failed program was:" >&5
2649 cat conftest.$ac_ext >&5
2651 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2653 # Don't even attempt the hair of trying to link an X program!
2654 for ac_extension in a so sl; do
2655 if test -r $ac_dir/libXt.$ac_extension; then
2656 ac_x_libraries=$ac_dir
2662 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2663 fi # $ac_x_libraries = no
2665 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
2666 # Didn't find X anywhere. Cache the known absence of X.
2667 ac_cv_have_x="have_x=no"
2669 # Record where we found X for the cache.
2670 ac_cv_have_x="have_x=yes \
2671 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2676 eval "$ac_cv_have_x"
2679 if test "$have_x" != yes; then
2680 echo "$as_me:$LINENO: result: $have_x" >&5
2681 echo "${ECHO_T}$have_x" >&6
2684 # If each of the values was on the command line, it overrides each guess.
2685 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
2686 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
2687 # Update the cache value to reflect the command line values.
2688 ac_cv_have_x="have_x=yes \
2689 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2690 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2691 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2694 if test "$no_x" = yes; then
2695 # Not all programs may use this symbol, but it does not hurt to define it.
2697 cat >>confdefs.h <<\_ACEOF
2698 #define X_DISPLAY_MISSING 1
2701 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
2703 if test -n "$x_includes"; then
2704 X_CFLAGS="$X_CFLAGS -I$x_includes"
2707 # It would also be nice to do this for all -L options, not just this one.
2708 if test -n "$x_libraries"; then
2709 X_LIBS="$X_LIBS -L$x_libraries"
2710 # For Solaris; some versions of Sun CC require a space after -R and
2711 # others require no space. Words are not sufficient . . . .
2712 case `(uname -sr) 2>/dev/null` in
2714 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2715 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2716 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
2717 cat >conftest.$ac_ext <<_ACEOF
2718 #line $LINENO "configure"
2719 #include "confdefs.h"
2729 rm -f conftest.$ac_objext conftest$ac_exeext
2730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2731 (eval $ac_link) 2>&5
2733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734 (exit $ac_status); } &&
2735 { ac_try='test -s conftest$ac_exeext'
2736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); }; }; then
2743 echo "$as_me: failed program was:" >&5
2744 cat conftest.$ac_ext >&5
2747 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2748 if test $ac_R_nospace = yes; then
2749 echo "$as_me:$LINENO: result: no" >&5
2750 echo "${ECHO_T}no" >&6
2751 X_LIBS="$X_LIBS -R$x_libraries"
2753 LIBS="$ac_xsave_LIBS -R $x_libraries"
2754 cat >conftest.$ac_ext <<_ACEOF
2755 #line $LINENO "configure"
2756 #include "confdefs.h"
2766 rm -f conftest.$ac_objext conftest$ac_exeext
2767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2768 (eval $ac_link) 2>&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); } &&
2772 { ac_try='test -s conftest$ac_exeext'
2773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }; }; then
2780 echo "$as_me: failed program was:" >&5
2781 cat conftest.$ac_ext >&5
2784 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2785 if test $ac_R_space = yes; then
2786 echo "$as_me:$LINENO: result: yes" >&5
2787 echo "${ECHO_T}yes" >&6
2788 X_LIBS="$X_LIBS -R $x_libraries"
2790 echo "$as_me:$LINENO: result: neither works" >&5
2791 echo "${ECHO_T}neither works" >&6
2798 # Check for system-dependent libraries X programs must link with.
2799 # Do this before checking for the system-independent R6 libraries
2800 # (-lICE), since we may need -lsocket or whatever for X linking.
2802 if test "$ISC" = yes; then
2803 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
2805 # Martyn Johnson says this is needed for Ultrix, if the X
2806 # libraries were built with DECnet support. And Karl Berry says
2807 # the Alpha needs dnet_stub (dnet does not exist).
2808 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
2809 cat >conftest.$ac_ext <<_ACEOF
2810 #line $LINENO "configure"
2811 #include "confdefs.h"
2813 /* Override any gcc2 internal prototype to avoid an error. */
2817 /* We use char because int might match the return type of a gcc2
2818 builtin and then its argument prototype would still apply. */
2819 char XOpenDisplay ();
2828 rm -f conftest.$ac_objext conftest$ac_exeext
2829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2830 (eval $ac_link) 2>&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); } &&
2834 { ac_try='test -s conftest$ac_exeext'
2835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }; }; then
2842 echo "$as_me: failed program was:" >&5
2843 cat conftest.$ac_ext >&5
2844 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
2845 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
2846 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
2847 echo $ECHO_N "(cached) $ECHO_C" >&6
2849 ac_check_lib_save_LIBS=$LIBS
2851 cat >conftest.$ac_ext <<_ACEOF
2852 #line $LINENO "configure"
2853 #include "confdefs.h"
2855 /* Override any gcc2 internal prototype to avoid an error. */
2859 /* We use char because int might match the return type of a gcc2
2860 builtin and then its argument prototype would still apply. */
2870 rm -f conftest.$ac_objext conftest$ac_exeext
2871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2872 (eval $ac_link) 2>&5
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); } &&
2876 { ac_try='test -s conftest$ac_exeext'
2877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); }; }; then
2882 ac_cv_lib_dnet_dnet_ntoa=yes
2884 echo "$as_me: failed program was:" >&5
2885 cat conftest.$ac_ext >&5
2886 ac_cv_lib_dnet_dnet_ntoa=no
2888 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2889 LIBS=$ac_check_lib_save_LIBS
2891 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
2892 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
2893 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
2894 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
2897 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
2898 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
2899 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
2900 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
2901 echo $ECHO_N "(cached) $ECHO_C" >&6
2903 ac_check_lib_save_LIBS=$LIBS
2904 LIBS="-ldnet_stub $LIBS"
2905 cat >conftest.$ac_ext <<_ACEOF
2906 #line $LINENO "configure"
2907 #include "confdefs.h"
2909 /* Override any gcc2 internal prototype to avoid an error. */
2913 /* We use char because int might match the return type of a gcc2
2914 builtin and then its argument prototype would still apply. */
2924 rm -f conftest.$ac_objext conftest$ac_exeext
2925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2926 (eval $ac_link) 2>&5
2928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929 (exit $ac_status); } &&
2930 { ac_try='test -s conftest$ac_exeext'
2931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); }; }; then
2936 ac_cv_lib_dnet_stub_dnet_ntoa=yes
2938 echo "$as_me: failed program was:" >&5
2939 cat conftest.$ac_ext >&5
2940 ac_cv_lib_dnet_stub_dnet_ntoa=no
2942 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2943 LIBS=$ac_check_lib_save_LIBS
2945 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
2946 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
2947 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
2948 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
2953 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2954 LIBS="$ac_xsave_LIBS"
2956 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
2957 # to get the SysV transport functions.
2958 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
2960 # The nsl library prevents programs from opening the X display
2961 # on Irix 5.2, according to T.E. Dickey.
2962 # The functions gethostbyname, getservbyname, and inet_addr are
2963 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
2964 echo "$as_me:$LINENO: checking for gethostbyname" >&5
2965 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
2966 if test "${ac_cv_func_gethostbyname+set}" = set; then
2967 echo $ECHO_N "(cached) $ECHO_C" >&6
2969 cat >conftest.$ac_ext <<_ACEOF
2970 #line $LINENO "configure"
2971 #include "confdefs.h"
2972 /* System header to define __stub macros and hopefully few prototypes,
2973 which can conflict with char gethostbyname (); below. */
2975 /* Override any gcc2 internal prototype to avoid an error. */
2979 /* We use char because int might match the return type of a gcc2
2980 builtin and then its argument prototype would still apply. */
2981 char gethostbyname ();
2987 /* The GNU C library defines this for functions which it implements
2988 to always fail with ENOSYS. Some functions are actually named
2989 something starting with __ and the normal name is an alias. */
2990 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3000 rm -f conftest.$ac_objext conftest$ac_exeext
3001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3002 (eval $ac_link) 2>&5
3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005 (exit $ac_status); } &&
3006 { ac_try='test -s conftest$ac_exeext'
3007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); }; }; then
3012 ac_cv_func_gethostbyname=yes
3014 echo "$as_me: failed program was:" >&5
3015 cat conftest.$ac_ext >&5
3016 ac_cv_func_gethostbyname=no
3018 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3020 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3021 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3023 if test $ac_cv_func_gethostbyname = no; then
3024 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3025 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3026 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3027 echo $ECHO_N "(cached) $ECHO_C" >&6
3029 ac_check_lib_save_LIBS=$LIBS
3031 cat >conftest.$ac_ext <<_ACEOF
3032 #line $LINENO "configure"
3033 #include "confdefs.h"
3035 /* Override any gcc2 internal prototype to avoid an error. */
3039 /* We use char because int might match the return type of a gcc2
3040 builtin and then its argument prototype would still apply. */
3041 char gethostbyname ();
3050 rm -f conftest.$ac_objext conftest$ac_exeext
3051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3052 (eval $ac_link) 2>&5
3054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055 (exit $ac_status); } &&
3056 { ac_try='test -s conftest$ac_exeext'
3057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061 (exit $ac_status); }; }; then
3062 ac_cv_lib_nsl_gethostbyname=yes
3064 echo "$as_me: failed program was:" >&5
3065 cat conftest.$ac_ext >&5
3066 ac_cv_lib_nsl_gethostbyname=no
3068 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3069 LIBS=$ac_check_lib_save_LIBS
3071 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3072 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3073 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3074 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
3077 if test $ac_cv_lib_nsl_gethostbyname = no; then
3078 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3079 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3080 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3081 echo $ECHO_N "(cached) $ECHO_C" >&6
3083 ac_check_lib_save_LIBS=$LIBS
3085 cat >conftest.$ac_ext <<_ACEOF
3086 #line $LINENO "configure"
3087 #include "confdefs.h"
3089 /* Override any gcc2 internal prototype to avoid an error. */
3093 /* We use char because int might match the return type of a gcc2
3094 builtin and then its argument prototype would still apply. */
3095 char gethostbyname ();
3104 rm -f conftest.$ac_objext conftest$ac_exeext
3105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3106 (eval $ac_link) 2>&5
3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109 (exit $ac_status); } &&
3110 { ac_try='test -s conftest$ac_exeext'
3111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); }; }; then
3116 ac_cv_lib_bsd_gethostbyname=yes
3118 echo "$as_me: failed program was:" >&5
3119 cat conftest.$ac_ext >&5
3120 ac_cv_lib_bsd_gethostbyname=no
3122 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3123 LIBS=$ac_check_lib_save_LIBS
3125 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3126 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3127 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3128 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
3134 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3135 # socket/setsockopt and other routines are undefined under SCO ODT
3136 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3137 # on later versions), says Simon Leinen: it contains gethostby*
3138 # variants that don't use the name server (or something). -lsocket
3139 # must be given before -lnsl if both are needed. We assume that
3140 # if connect needs -lnsl, so does gethostbyname.
3141 echo "$as_me:$LINENO: checking for connect" >&5
3142 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3143 if test "${ac_cv_func_connect+set}" = set; then
3144 echo $ECHO_N "(cached) $ECHO_C" >&6
3146 cat >conftest.$ac_ext <<_ACEOF
3147 #line $LINENO "configure"
3148 #include "confdefs.h"
3149 /* System header to define __stub macros and hopefully few prototypes,
3150 which can conflict with char connect (); below. */
3152 /* Override any gcc2 internal prototype to avoid an error. */
3156 /* We use char because int might match the return type of a gcc2
3157 builtin and then its argument prototype would still apply. */
3164 /* The GNU C library defines this for functions which it implements
3165 to always fail with ENOSYS. Some functions are actually named
3166 something starting with __ and the normal name is an alias. */
3167 #if defined (__stub_connect) || defined (__stub___connect)
3177 rm -f conftest.$ac_objext conftest$ac_exeext
3178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3179 (eval $ac_link) 2>&5
3181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); } &&
3183 { ac_try='test -s conftest$ac_exeext'
3184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188 (exit $ac_status); }; }; then
3189 ac_cv_func_connect=yes
3191 echo "$as_me: failed program was:" >&5
3192 cat conftest.$ac_ext >&5
3193 ac_cv_func_connect=no
3195 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3197 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3198 echo "${ECHO_T}$ac_cv_func_connect" >&6
3200 if test $ac_cv_func_connect = no; then
3201 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3202 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3203 if test "${ac_cv_lib_socket_connect+set}" = set; then
3204 echo $ECHO_N "(cached) $ECHO_C" >&6
3206 ac_check_lib_save_LIBS=$LIBS
3207 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
3208 cat >conftest.$ac_ext <<_ACEOF
3209 #line $LINENO "configure"
3210 #include "confdefs.h"
3212 /* Override any gcc2 internal prototype to avoid an error. */
3216 /* We use char because int might match the return type of a gcc2
3217 builtin and then its argument prototype would still apply. */
3227 rm -f conftest.$ac_objext conftest$ac_exeext
3228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3229 (eval $ac_link) 2>&5
3231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232 (exit $ac_status); } &&
3233 { ac_try='test -s conftest$ac_exeext'
3234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); }; }; then
3239 ac_cv_lib_socket_connect=yes
3241 echo "$as_me: failed program was:" >&5
3242 cat conftest.$ac_ext >&5
3243 ac_cv_lib_socket_connect=no
3245 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3246 LIBS=$ac_check_lib_save_LIBS
3248 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3249 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3250 if test $ac_cv_lib_socket_connect = yes; then
3251 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
3256 # Guillermo Gomez says -lposix is necessary on A/UX.
3257 echo "$as_me:$LINENO: checking for remove" >&5
3258 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3259 if test "${ac_cv_func_remove+set}" = set; then
3260 echo $ECHO_N "(cached) $ECHO_C" >&6
3262 cat >conftest.$ac_ext <<_ACEOF
3263 #line $LINENO "configure"
3264 #include "confdefs.h"
3265 /* System header to define __stub macros and hopefully few prototypes,
3266 which can conflict with char remove (); below. */
3268 /* Override any gcc2 internal prototype to avoid an error. */
3272 /* We use char because int might match the return type of a gcc2
3273 builtin and then its argument prototype would still apply. */
3280 /* The GNU C library defines this for functions which it implements
3281 to always fail with ENOSYS. Some functions are actually named
3282 something starting with __ and the normal name is an alias. */
3283 #if defined (__stub_remove) || defined (__stub___remove)
3293 rm -f conftest.$ac_objext conftest$ac_exeext
3294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3295 (eval $ac_link) 2>&5
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); } &&
3299 { ac_try='test -s conftest$ac_exeext'
3300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 (exit $ac_status); }; }; then
3305 ac_cv_func_remove=yes
3307 echo "$as_me: failed program was:" >&5
3308 cat conftest.$ac_ext >&5
3309 ac_cv_func_remove=no
3311 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3313 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3314 echo "${ECHO_T}$ac_cv_func_remove" >&6
3316 if test $ac_cv_func_remove = no; then
3317 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3318 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3319 if test "${ac_cv_lib_posix_remove+set}" = set; then
3320 echo $ECHO_N "(cached) $ECHO_C" >&6
3322 ac_check_lib_save_LIBS=$LIBS
3323 LIBS="-lposix $LIBS"
3324 cat >conftest.$ac_ext <<_ACEOF
3325 #line $LINENO "configure"
3326 #include "confdefs.h"
3328 /* Override any gcc2 internal prototype to avoid an error. */
3332 /* We use char because int might match the return type of a gcc2
3333 builtin and then its argument prototype would still apply. */
3343 rm -f conftest.$ac_objext conftest$ac_exeext
3344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3345 (eval $ac_link) 2>&5
3347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348 (exit $ac_status); } &&
3349 { ac_try='test -s conftest$ac_exeext'
3350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3354 (exit $ac_status); }; }; then
3355 ac_cv_lib_posix_remove=yes
3357 echo "$as_me: failed program was:" >&5
3358 cat conftest.$ac_ext >&5
3359 ac_cv_lib_posix_remove=no
3361 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3362 LIBS=$ac_check_lib_save_LIBS
3364 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3365 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3366 if test $ac_cv_lib_posix_remove = yes; then
3367 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
3372 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3373 echo "$as_me:$LINENO: checking for shmat" >&5
3374 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3375 if test "${ac_cv_func_shmat+set}" = set; then
3376 echo $ECHO_N "(cached) $ECHO_C" >&6
3378 cat >conftest.$ac_ext <<_ACEOF
3379 #line $LINENO "configure"
3380 #include "confdefs.h"
3381 /* System header to define __stub macros and hopefully few prototypes,
3382 which can conflict with char shmat (); below. */
3384 /* Override any gcc2 internal prototype to avoid an error. */
3388 /* We use char because int might match the return type of a gcc2
3389 builtin and then its argument prototype would still apply. */
3396 /* The GNU C library defines this for functions which it implements
3397 to always fail with ENOSYS. Some functions are actually named
3398 something starting with __ and the normal name is an alias. */
3399 #if defined (__stub_shmat) || defined (__stub___shmat)
3409 rm -f conftest.$ac_objext conftest$ac_exeext
3410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3411 (eval $ac_link) 2>&5
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); } &&
3415 { ac_try='test -s conftest$ac_exeext'
3416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); }; }; then
3421 ac_cv_func_shmat=yes
3423 echo "$as_me: failed program was:" >&5
3424 cat conftest.$ac_ext >&5
3427 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3429 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3430 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3432 if test $ac_cv_func_shmat = no; then
3433 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3434 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3435 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3436 echo $ECHO_N "(cached) $ECHO_C" >&6
3438 ac_check_lib_save_LIBS=$LIBS
3440 cat >conftest.$ac_ext <<_ACEOF
3441 #line $LINENO "configure"
3442 #include "confdefs.h"
3444 /* Override any gcc2 internal prototype to avoid an error. */
3448 /* We use char because int might match the return type of a gcc2
3449 builtin and then its argument prototype would still apply. */
3459 rm -f conftest.$ac_objext conftest$ac_exeext
3460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3461 (eval $ac_link) 2>&5
3463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464 (exit $ac_status); } &&
3465 { ac_try='test -s conftest$ac_exeext'
3466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3470 (exit $ac_status); }; }; then
3471 ac_cv_lib_ipc_shmat=yes
3473 echo "$as_me: failed program was:" >&5
3474 cat conftest.$ac_ext >&5
3475 ac_cv_lib_ipc_shmat=no
3477 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3478 LIBS=$ac_check_lib_save_LIBS
3480 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3481 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3482 if test $ac_cv_lib_ipc_shmat = yes; then
3483 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
3489 # Check for libraries that X11R6 Xt/Xaw programs need.
3490 ac_save_LDFLAGS=$LDFLAGS
3491 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
3492 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3493 # check for ICE first), but we must link in the order -lSM -lICE or
3494 # we get undefined symbols. So assume we have SM if we have ICE.
3495 # These have to be linked with before -lX11, unlike the other
3496 # libraries we check for below, so use a different variable.
3497 # John Interrante, Karl Berry
3498 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
3499 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3500 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3501 echo $ECHO_N "(cached) $ECHO_C" >&6
3503 ac_check_lib_save_LIBS=$LIBS
3504 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
3505 cat >conftest.$ac_ext <<_ACEOF
3506 #line $LINENO "configure"
3507 #include "confdefs.h"
3509 /* Override any gcc2 internal prototype to avoid an error. */
3513 /* We use char because int might match the return type of a gcc2
3514 builtin and then its argument prototype would still apply. */
3515 char IceConnectionNumber ();
3519 IceConnectionNumber ();
3524 rm -f conftest.$ac_objext conftest$ac_exeext
3525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3526 (eval $ac_link) 2>&5
3528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529 (exit $ac_status); } &&
3530 { ac_try='test -s conftest$ac_exeext'
3531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3535 (exit $ac_status); }; }; then
3536 ac_cv_lib_ICE_IceConnectionNumber=yes
3538 echo "$as_me: failed program was:" >&5
3539 cat conftest.$ac_ext >&5
3540 ac_cv_lib_ICE_IceConnectionNumber=no
3542 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3543 LIBS=$ac_check_lib_save_LIBS
3545 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
3546 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
3547 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
3548 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
3551 LDFLAGS=$ac_save_LDFLAGS
3555 for ac_prog in 'bison -y' byacc
3557 # Extract the first word of "$ac_prog", so it can be a program name with args.
3558 set dummy $ac_prog; ac_word=$2
3559 echo "$as_me:$LINENO: checking for $ac_word" >&5
3560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3561 if test "${ac_cv_prog_YACC+set}" = set; then
3562 echo $ECHO_N "(cached) $ECHO_C" >&6
3564 if test -n "$YACC"; then
3565 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3574 ac_cv_prog_YACC="$ac_prog"
3575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 YACC=$ac_cv_prog_YACC
3584 if test -n "$YACC"; then
3585 echo "$as_me:$LINENO: result: $YACC" >&5
3586 echo "${ECHO_T}$YACC" >&6
3588 echo "$as_me:$LINENO: result: no" >&5
3589 echo "${ECHO_T}no" >&6
3592 test -n "$YACC" && break
3594 test -n "$YACC" || YACC="yacc"
3596 for ac_prog in flex lex
3598 # Extract the first word of "$ac_prog", so it can be a program name with args.
3599 set dummy $ac_prog; ac_word=$2
3600 echo "$as_me:$LINENO: checking for $ac_word" >&5
3601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3602 if test "${ac_cv_prog_LEX+set}" = set; then
3603 echo $ECHO_N "(cached) $ECHO_C" >&6
3605 if test -n "$LEX"; then
3606 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3612 test -z "$as_dir" && as_dir=.
3613 for ac_exec_ext in '' $ac_executable_extensions; do
3614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3615 ac_cv_prog_LEX="$ac_prog"
3616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3625 if test -n "$LEX"; then
3626 echo "$as_me:$LINENO: result: $LEX" >&5
3627 echo "${ECHO_T}$LEX" >&6
3629 echo "$as_me:$LINENO: result: no" >&5
3630 echo "${ECHO_T}no" >&6
3633 test -n "$LEX" && break
3635 test -n "$LEX" || LEX=":"
3637 if test -z "$LEXLIB"
3639 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3640 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3641 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3642 echo $ECHO_N "(cached) $ECHO_C" >&6
3644 ac_check_lib_save_LIBS=$LIBS
3646 cat >conftest.$ac_ext <<_ACEOF
3647 #line $LINENO "configure"
3648 #include "confdefs.h"
3650 /* Override any gcc2 internal prototype to avoid an error. */
3654 /* We use char because int might match the return type of a gcc2
3655 builtin and then its argument prototype would still apply. */
3665 rm -f conftest.$ac_objext conftest$ac_exeext
3666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3667 (eval $ac_link) 2>&5
3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); } &&
3671 { ac_try='test -s conftest$ac_exeext'
3672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); }; }; then
3677 ac_cv_lib_fl_yywrap=yes
3679 echo "$as_me: failed program was:" >&5
3680 cat conftest.$ac_ext >&5
3681 ac_cv_lib_fl_yywrap=no
3683 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3684 LIBS=$ac_check_lib_save_LIBS
3686 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3687 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3688 if test $ac_cv_lib_fl_yywrap = yes; then
3691 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3692 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3693 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3694 echo $ECHO_N "(cached) $ECHO_C" >&6
3696 ac_check_lib_save_LIBS=$LIBS
3698 cat >conftest.$ac_ext <<_ACEOF
3699 #line $LINENO "configure"
3700 #include "confdefs.h"
3702 /* Override any gcc2 internal prototype to avoid an error. */
3706 /* We use char because int might match the return type of a gcc2
3707 builtin and then its argument prototype would still apply. */
3717 rm -f conftest.$ac_objext conftest$ac_exeext
3718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3719 (eval $ac_link) 2>&5
3721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3722 (exit $ac_status); } &&
3723 { ac_try='test -s conftest$ac_exeext'
3724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); }; }; then
3729 ac_cv_lib_l_yywrap=yes
3731 echo "$as_me: failed program was:" >&5
3732 cat conftest.$ac_ext >&5
3733 ac_cv_lib_l_yywrap=no
3735 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3736 LIBS=$ac_check_lib_save_LIBS
3738 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3739 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3740 if test $ac_cv_lib_l_yywrap = yes; then
3748 if test "x$LEX" != "x:"; then
3749 echo "$as_me:$LINENO: checking lex output file root" >&5
3750 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3751 if test "${ac_cv_prog_lex_root+set}" = set; then
3752 echo $ECHO_N "(cached) $ECHO_C" >&6
3754 # The minimal lex program is just a single line: %%. But some broken lexes
3755 # (Solaris, I think it was) want two %% lines, so accommodate them.
3756 cat >conftest.l <<_ACEOF
3760 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3761 (eval $LEX conftest.l) 2>&5
3763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764 (exit $ac_status); }
3765 if test -f lex.yy.c; then
3766 ac_cv_prog_lex_root=lex.yy
3767 elif test -f lexyy.c; then
3768 ac_cv_prog_lex_root=lexyy
3770 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3771 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3772 { (exit 1); exit 1; }; }
3775 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3776 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3778 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3780 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3781 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3782 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3783 echo $ECHO_N "(cached) $ECHO_C" >&6
3785 # POSIX says lex can declare yytext either as a pointer or an array; the
3786 # default is implementation-dependent. Figure out which it is, since
3787 # not all implementations provide the %pointer and %array declarations.
3788 ac_cv_prog_lex_yytext_pointer=no
3789 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3791 LIBS="$LIBS $LEXLIB"
3792 cat >conftest.$ac_ext <<_ACEOF
3793 `cat $LEX_OUTPUT_ROOT.c`
3795 rm -f conftest.$ac_objext conftest$ac_exeext
3796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3797 (eval $ac_link) 2>&5
3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 (exit $ac_status); } &&
3801 { ac_try='test -s conftest$ac_exeext'
3802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806 (exit $ac_status); }; }; then
3807 ac_cv_prog_lex_yytext_pointer=yes
3809 echo "$as_me: failed program was:" >&5
3810 cat conftest.$ac_ext >&5
3812 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3814 rm -f "${LEX_OUTPUT_ROOT}.c"
3817 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3818 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3819 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3821 cat >>confdefs.h <<\_ACEOF
3822 #define YYTEXT_POINTER 1
3829 for ac_prog in $YACC bison yacc
3831 # Extract the first word of "$ac_prog", so it can be a program name with args.
3832 set dummy $ac_prog; ac_word=$2
3833 echo "$as_me:$LINENO: checking for $ac_word" >&5
3834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3835 if test "${ac_cv_prog_XYACC+set}" = set; then
3836 echo $ECHO_N "(cached) $ECHO_C" >&6
3838 if test -n "$XYACC"; then
3839 ac_cv_prog_XYACC="$XYACC" # Let the user override the test.
3841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3845 test -z "$as_dir" && as_dir=.
3846 for ac_exec_ext in '' $ac_executable_extensions; do
3847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3848 ac_cv_prog_XYACC="$ac_prog"
3849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3857 XYACC=$ac_cv_prog_XYACC
3858 if test -n "$XYACC"; then
3859 echo "$as_me:$LINENO: result: $XYACC" >&5
3860 echo "${ECHO_T}$XYACC" >&6
3862 echo "$as_me:$LINENO: result: no" >&5
3863 echo "${ECHO_T}no" >&6
3866 test -n "$XYACC" && break
3868 test -n "$XYACC" || XYACC="none"
3870 if test "$XYACC" = "none"
3872 { { echo "$as_me:$LINENO: error: no suitable bison/yacc found. Please install the 'bison' package." >&5
3873 echo "$as_me: error: no suitable bison/yacc found. Please install the 'bison' package." >&2;}
3874 { (exit 1); exit 1; }; }
3876 for ac_prog in $LEX flex lex
3878 # Extract the first word of "$ac_prog", so it can be a program name with args.
3879 set dummy $ac_prog; ac_word=$2
3880 echo "$as_me:$LINENO: checking for $ac_word" >&5
3881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3882 if test "${ac_cv_prog_XLEX+set}" = set; then
3883 echo $ECHO_N "(cached) $ECHO_C" >&6
3885 if test -n "$XLEX"; then
3886 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
3888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3892 test -z "$as_dir" && as_dir=.
3893 for ac_exec_ext in '' $ac_executable_extensions; do
3894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3895 ac_cv_prog_XLEX="$ac_prog"
3896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3904 XLEX=$ac_cv_prog_XLEX
3905 if test -n "$XLEX"; then
3906 echo "$as_me:$LINENO: result: $XLEX" >&5
3907 echo "${ECHO_T}$XLEX" >&6
3909 echo "$as_me:$LINENO: result: no" >&5
3910 echo "${ECHO_T}no" >&6
3913 test -n "$XLEX" && break
3915 test -n "$XLEX" || XLEX="none"
3917 if test "$XLEX" = "none"
3919 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
3920 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
3921 { (exit 1); exit 1; }; }
3924 if test -n "$ac_tool_prefix"; then
3925 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3926 set dummy ${ac_tool_prefix}ld; ac_word=$2
3927 echo "$as_me:$LINENO: checking for $ac_word" >&5
3928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3929 if test "${ac_cv_prog_LD+set}" = set; then
3930 echo $ECHO_N "(cached) $ECHO_C" >&6
3932 if test -n "$LD"; then
3933 ac_cv_prog_LD="$LD" # Let the user override the test.
3935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3939 test -z "$as_dir" && as_dir=.
3940 for ac_exec_ext in '' $ac_executable_extensions; do
3941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3942 ac_cv_prog_LD="${ac_tool_prefix}ld"
3943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3952 if test -n "$LD"; then
3953 echo "$as_me:$LINENO: result: $LD" >&5
3954 echo "${ECHO_T}$LD" >&6
3956 echo "$as_me:$LINENO: result: no" >&5
3957 echo "${ECHO_T}no" >&6
3961 if test -z "$ac_cv_prog_LD"; then
3963 # Extract the first word of "ld", so it can be a program name with args.
3964 set dummy ld; ac_word=$2
3965 echo "$as_me:$LINENO: checking for $ac_word" >&5
3966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3967 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
3968 echo $ECHO_N "(cached) $ECHO_C" >&6
3970 if test -n "$ac_ct_LD"; then
3971 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
3973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3977 test -z "$as_dir" && as_dir=.
3978 for ac_exec_ext in '' $ac_executable_extensions; do
3979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3980 ac_cv_prog_ac_ct_LD="ld"
3981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3987 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
3990 ac_ct_LD=$ac_cv_prog_ac_ct_LD
3991 if test -n "$ac_ct_LD"; then
3992 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
3993 echo "${ECHO_T}$ac_ct_LD" >&6
3995 echo "$as_me:$LINENO: result: no" >&5
3996 echo "${ECHO_T}no" >&6
4004 if test -n "$ac_tool_prefix"; then
4005 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4006 set dummy ${ac_tool_prefix}ar; ac_word=$2
4007 echo "$as_me:$LINENO: checking for $ac_word" >&5
4008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4009 if test "${ac_cv_prog_AR+set}" = set; then
4010 echo $ECHO_N "(cached) $ECHO_C" >&6
4012 if test -n "$AR"; then
4013 ac_cv_prog_AR="$AR" # Let the user override the test.
4015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4019 test -z "$as_dir" && as_dir=.
4020 for ac_exec_ext in '' $ac_executable_extensions; do
4021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4022 ac_cv_prog_AR="${ac_tool_prefix}ar"
4023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4032 if test -n "$AR"; then
4033 echo "$as_me:$LINENO: result: $AR" >&5
4034 echo "${ECHO_T}$AR" >&6
4036 echo "$as_me:$LINENO: result: no" >&5
4037 echo "${ECHO_T}no" >&6
4041 if test -z "$ac_cv_prog_AR"; then
4043 # Extract the first word of "ar", so it can be a program name with args.
4044 set dummy ar; ac_word=$2
4045 echo "$as_me:$LINENO: checking for $ac_word" >&5
4046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4047 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4048 echo $ECHO_N "(cached) $ECHO_C" >&6
4050 if test -n "$ac_ct_AR"; then
4051 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4057 test -z "$as_dir" && as_dir=.
4058 for ac_exec_ext in '' $ac_executable_extensions; do
4059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4060 ac_cv_prog_ac_ct_AR="ar"
4061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4067 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
4070 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4071 if test -n "$ac_ct_AR"; then
4072 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4073 echo "${ECHO_T}$ac_ct_AR" >&6
4075 echo "$as_me:$LINENO: result: no" >&5
4076 echo "${ECHO_T}no" >&6
4084 if test -n "$ac_tool_prefix"; then
4085 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4086 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4087 echo "$as_me:$LINENO: checking for $ac_word" >&5
4088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4089 if test "${ac_cv_prog_RANLIB+set}" = set; then
4090 echo $ECHO_N "(cached) $ECHO_C" >&6
4092 if test -n "$RANLIB"; then
4093 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4099 test -z "$as_dir" && as_dir=.
4100 for ac_exec_ext in '' $ac_executable_extensions; do
4101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4102 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4111 RANLIB=$ac_cv_prog_RANLIB
4112 if test -n "$RANLIB"; then
4113 echo "$as_me:$LINENO: result: $RANLIB" >&5
4114 echo "${ECHO_T}$RANLIB" >&6
4116 echo "$as_me:$LINENO: result: no" >&5
4117 echo "${ECHO_T}no" >&6
4121 if test -z "$ac_cv_prog_RANLIB"; then
4122 ac_ct_RANLIB=$RANLIB
4123 # Extract the first word of "ranlib", so it can be a program name with args.
4124 set dummy ranlib; ac_word=$2
4125 echo "$as_me:$LINENO: checking for $ac_word" >&5
4126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4127 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4128 echo $ECHO_N "(cached) $ECHO_C" >&6
4130 if test -n "$ac_ct_RANLIB"; then
4131 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4137 test -z "$as_dir" && as_dir=.
4138 for ac_exec_ext in '' $ac_executable_extensions; do
4139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4140 ac_cv_prog_ac_ct_RANLIB="ranlib"
4141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4147 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4150 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4151 if test -n "$ac_ct_RANLIB"; then
4152 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4153 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4155 echo "$as_me:$LINENO: result: no" >&5
4156 echo "${ECHO_T}no" >&6
4159 RANLIB=$ac_ct_RANLIB
4161 RANLIB="$ac_cv_prog_RANLIB"
4164 if test -n "$ac_tool_prefix"; then
4165 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4166 set dummy ${ac_tool_prefix}strip; ac_word=$2
4167 echo "$as_me:$LINENO: checking for $ac_word" >&5
4168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4169 if test "${ac_cv_prog_STRIP+set}" = set; then
4170 echo $ECHO_N "(cached) $ECHO_C" >&6
4172 if test -n "$STRIP"; then
4173 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4179 test -z "$as_dir" && as_dir=.
4180 for ac_exec_ext in '' $ac_executable_extensions; do
4181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4182 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4191 STRIP=$ac_cv_prog_STRIP
4192 if test -n "$STRIP"; then
4193 echo "$as_me:$LINENO: result: $STRIP" >&5
4194 echo "${ECHO_T}$STRIP" >&6
4196 echo "$as_me:$LINENO: result: no" >&5
4197 echo "${ECHO_T}no" >&6
4201 if test -z "$ac_cv_prog_STRIP"; then
4203 # Extract the first word of "strip", so it can be a program name with args.
4204 set dummy strip; ac_word=$2
4205 echo "$as_me:$LINENO: checking for $ac_word" >&5
4206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4207 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4208 echo $ECHO_N "(cached) $ECHO_C" >&6
4210 if test -n "$ac_ct_STRIP"; then
4211 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4217 test -z "$as_dir" && as_dir=.
4218 for ac_exec_ext in '' $ac_executable_extensions; do
4219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4220 ac_cv_prog_ac_ct_STRIP="strip"
4221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4227 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="strip"
4230 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4231 if test -n "$ac_ct_STRIP"; then
4232 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4233 echo "${ECHO_T}$ac_ct_STRIP" >&6
4235 echo "$as_me:$LINENO: result: no" >&5
4236 echo "${ECHO_T}no" >&6
4241 STRIP="$ac_cv_prog_STRIP"
4244 if test -n "$ac_tool_prefix"; then
4245 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4246 set dummy ${ac_tool_prefix}windres; ac_word=$2
4247 echo "$as_me:$LINENO: checking for $ac_word" >&5
4248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4249 if test "${ac_cv_prog_WINDRES+set}" = set; then
4250 echo $ECHO_N "(cached) $ECHO_C" >&6
4252 if test -n "$WINDRES"; then
4253 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
4255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4259 test -z "$as_dir" && as_dir=.
4260 for ac_exec_ext in '' $ac_executable_extensions; do
4261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4262 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
4263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4271 WINDRES=$ac_cv_prog_WINDRES
4272 if test -n "$WINDRES"; then
4273 echo "$as_me:$LINENO: result: $WINDRES" >&5
4274 echo "${ECHO_T}$WINDRES" >&6
4276 echo "$as_me:$LINENO: result: no" >&5
4277 echo "${ECHO_T}no" >&6
4281 if test -z "$ac_cv_prog_WINDRES"; then
4282 ac_ct_WINDRES=$WINDRES
4283 # Extract the first word of "windres", so it can be a program name with args.
4284 set dummy windres; ac_word=$2
4285 echo "$as_me:$LINENO: checking for $ac_word" >&5
4286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4287 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4288 echo $ECHO_N "(cached) $ECHO_C" >&6
4290 if test -n "$ac_ct_WINDRES"; then
4291 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
4293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4297 test -z "$as_dir" && as_dir=.
4298 for ac_exec_ext in '' $ac_executable_extensions; do
4299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4300 ac_cv_prog_ac_ct_WINDRES="windres"
4301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4307 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES="false"
4310 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
4311 if test -n "$ac_ct_WINDRES"; then
4312 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4313 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4315 echo "$as_me:$LINENO: result: no" >&5
4316 echo "${ECHO_T}no" >&6
4319 WINDRES=$ac_ct_WINDRES
4321 WINDRES="$ac_cv_prog_WINDRES"
4324 # Find a good install program. We prefer a C program (faster),
4325 # so one script is as good as another. But avoid the broken or
4326 # incompatible versions:
4327 # SysV /etc/install, /usr/sbin/install
4328 # SunOS /usr/etc/install
4329 # IRIX /sbin/install
4331 # AmigaOS /C/install, which installs bootblocks on floppy discs
4332 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4333 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4334 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4335 # ./install, which can be erroneously created by make from ./install.sh.
4336 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4337 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4338 if test -z "$INSTALL"; then
4339 if test "${ac_cv_path_install+set}" = set; then
4340 echo $ECHO_N "(cached) $ECHO_C" >&6
4342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4346 test -z "$as_dir" && as_dir=.
4347 # Account for people who put trailing slashes in PATH elements.
4349 ./ | .// | /cC/* | \
4350 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4353 # OSF1 and SCO ODT 3.0 have their own names for install.
4354 # Don't use installbsd from OSF since it installs stuff as root
4356 for ac_prog in ginstall scoinst install; do
4357 for ac_exec_ext in '' $ac_executable_extensions; do
4358 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4359 if test $ac_prog = install &&
4360 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4361 # AIX install. It has an incompatible calling convention.
4363 elif test $ac_prog = install &&
4364 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4365 # program-specific install script used by HP pwplus--don't use.
4368 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4380 if test "${ac_cv_path_install+set}" = set; then
4381 INSTALL=$ac_cv_path_install
4383 # As a last resort, use the slow shell script. We don't cache a
4384 # path for INSTALL within a source directory, because that will
4385 # break other packages using the cache if that directory is
4386 # removed, or if the path is relative.
4387 INSTALL=$ac_install_sh
4390 echo "$as_me:$LINENO: result: $INSTALL" >&5
4391 echo "${ECHO_T}$INSTALL" >&6
4393 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4394 # It thinks the first close brace ends the variable substitution.
4395 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4397 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4399 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4401 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4402 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4404 if test "$LN_S" = "ln -s"; then
4405 echo "$as_me:$LINENO: result: yes" >&5
4406 echo "${ECHO_T}yes" >&6
4408 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4409 echo "${ECHO_T}no, using $LN_S" >&6
4412 echo "$as_me:$LINENO: checking whether ln works" >&5
4413 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
4414 rm -f conf$$ conf$$.file
4416 if ln conf$$.file conf$$ 2>/dev/null; then
4419 echo "$as_me:$LINENO: result: yes" >&5
4420 echo "${ECHO_T}yes" >&6
4424 echo "$as_me:$LINENO: result: no, using $LN" >&5
4425 echo "${ECHO_T}no, using $LN" >&6
4427 rm -f conf$$ conf$$.file
4428 # Extract the first word of "c2man", so it can be a program name with args.
4429 set dummy c2man; ac_word=$2
4430 echo "$as_me:$LINENO: checking for $ac_word" >&5
4431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4432 if test "${ac_cv_prog_C2MAN+set}" = set; then
4433 echo $ECHO_N "(cached) $ECHO_C" >&6
4435 if test -n "$C2MAN"; then
4436 ac_cv_prog_C2MAN="$C2MAN" # Let the user override the test.
4438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 test -z "$as_dir" && as_dir=.
4443 for ac_exec_ext in '' $ac_executable_extensions; do
4444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4445 ac_cv_prog_C2MAN="c2man"
4446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4452 test -z "$ac_cv_prog_C2MAN" && ac_cv_prog_C2MAN="\$(TOPSRCDIR)/tools/c2man.pl"
4455 C2MAN=$ac_cv_prog_C2MAN
4456 if test -n "$C2MAN"; then
4457 echo "$as_me:$LINENO: result: $C2MAN" >&5
4458 echo "${ECHO_T}$C2MAN" >&6
4460 echo "$as_me:$LINENO: result: no" >&5
4461 echo "${ECHO_T}no" >&6
4464 # Extract the first word of "ldconfig", so it can be a program name with args.
4465 set dummy ldconfig; ac_word=$2
4466 echo "$as_me:$LINENO: checking for $ac_word" >&5
4467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4468 if test "${ac_cv_path_LDCONFIG+set}" = set; then
4469 echo $ECHO_N "(cached) $ECHO_C" >&6
4473 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4477 for as_dir in /sbin /usr/sbin $PATH
4480 test -z "$as_dir" && as_dir=.
4481 for ac_exec_ext in '' $ac_executable_extensions; do
4482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4483 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4490 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4494 LDCONFIG=$ac_cv_path_LDCONFIG
4496 if test -n "$LDCONFIG"; then
4497 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
4498 echo "${ECHO_T}$LDCONFIG" >&6
4500 echo "$as_me:$LINENO: result: no" >&5
4501 echo "${ECHO_T}no" >&6
4505 for ac_prog in lclint lint
4507 # Extract the first word of "$ac_prog", so it can be a program name with args.
4508 set dummy $ac_prog; ac_word=$2
4509 echo "$as_me:$LINENO: checking for $ac_word" >&5
4510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4511 if test "${ac_cv_prog_LINT+set}" = set; then
4512 echo $ECHO_N "(cached) $ECHO_C" >&6
4514 if test -n "$LINT"; then
4515 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4521 test -z "$as_dir" && as_dir=.
4522 for ac_exec_ext in '' $ac_executable_extensions; do
4523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4524 ac_cv_prog_LINT="$ac_prog"
4525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4533 LINT=$ac_cv_prog_LINT
4534 if test -n "$LINT"; then
4535 echo "$as_me:$LINENO: result: $LINT" >&5
4536 echo "${ECHO_T}$LINT" >&6
4538 echo "$as_me:$LINENO: result: no" >&5
4539 echo "${ECHO_T}no" >&6
4542 test -n "$LINT" && break
4545 if test "$LINT" = "lint"
4547 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4552 for ac_prog in docbook2html db2html
4554 # Extract the first word of "$ac_prog", so it can be a program name with args.
4555 set dummy $ac_prog; ac_word=$2
4556 echo "$as_me:$LINENO: checking for $ac_word" >&5
4557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4558 if test "${ac_cv_prog_DB2HTML+set}" = set; then
4559 echo $ECHO_N "(cached) $ECHO_C" >&6
4561 if test -n "$DB2HTML"; then
4562 ac_cv_prog_DB2HTML="$DB2HTML" # Let the user override the test.
4564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4568 test -z "$as_dir" && as_dir=.
4569 for ac_exec_ext in '' $ac_executable_extensions; do
4570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4571 ac_cv_prog_DB2HTML="$ac_prog"
4572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4580 DB2HTML=$ac_cv_prog_DB2HTML
4581 if test -n "$DB2HTML"; then
4582 echo "$as_me:$LINENO: result: $DB2HTML" >&5
4583 echo "${ECHO_T}$DB2HTML" >&6
4585 echo "$as_me:$LINENO: result: no" >&5
4586 echo "${ECHO_T}no" >&6
4589 test -n "$DB2HTML" && break
4591 test -n "$DB2HTML" || DB2HTML="false"
4595 for ac_prog in docbook2pdf db2pdf
4597 # Extract the first word of "$ac_prog", so it can be a program name with args.
4598 set dummy $ac_prog; ac_word=$2
4599 echo "$as_me:$LINENO: checking for $ac_word" >&5
4600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4601 if test "${ac_cv_prog_DB2PDF+set}" = set; then
4602 echo $ECHO_N "(cached) $ECHO_C" >&6
4604 if test -n "$DB2PDF"; then
4605 ac_cv_prog_DB2PDF="$DB2PDF" # Let the user override the test.
4607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4611 test -z "$as_dir" && as_dir=.
4612 for ac_exec_ext in '' $ac_executable_extensions; do
4613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4614 ac_cv_prog_DB2PDF="$ac_prog"
4615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4623 DB2PDF=$ac_cv_prog_DB2PDF
4624 if test -n "$DB2PDF"; then
4625 echo "$as_me:$LINENO: result: $DB2PDF" >&5
4626 echo "${ECHO_T}$DB2PDF" >&6
4628 echo "$as_me:$LINENO: result: no" >&5
4629 echo "${ECHO_T}no" >&6
4632 test -n "$DB2PDF" && break
4634 test -n "$DB2PDF" || DB2PDF="false"
4638 for ac_prog in docbook2ps db2ps
4640 # Extract the first word of "$ac_prog", so it can be a program name with args.
4641 set dummy $ac_prog; ac_word=$2
4642 echo "$as_me:$LINENO: checking for $ac_word" >&5
4643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4644 if test "${ac_cv_prog_DB2PS+set}" = set; then
4645 echo $ECHO_N "(cached) $ECHO_C" >&6
4647 if test -n "$DB2PS"; then
4648 ac_cv_prog_DB2PS="$DB2PS" # Let the user override the test.
4650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4654 test -z "$as_dir" && as_dir=.
4655 for ac_exec_ext in '' $ac_executable_extensions; do
4656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4657 ac_cv_prog_DB2PS="$ac_prog"
4658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4666 DB2PS=$ac_cv_prog_DB2PS
4667 if test -n "$DB2PS"; then
4668 echo "$as_me:$LINENO: result: $DB2PS" >&5
4669 echo "${ECHO_T}$DB2PS" >&6
4671 echo "$as_me:$LINENO: result: no" >&5
4672 echo "${ECHO_T}no" >&6
4675 test -n "$DB2PS" && break
4677 test -n "$DB2PS" || DB2PS="false"
4683 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
4684 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
4685 if test "${ac_cv_lib_m_sqrt+set}" = set; then
4686 echo $ECHO_N "(cached) $ECHO_C" >&6
4688 ac_check_lib_save_LIBS=$LIBS
4690 cat >conftest.$ac_ext <<_ACEOF
4691 #line $LINENO "configure"
4692 #include "confdefs.h"
4694 /* Override any gcc2 internal prototype to avoid an error. */
4698 /* We use char because int might match the return type of a gcc2
4699 builtin and then its argument prototype would still apply. */
4709 rm -f conftest.$ac_objext conftest$ac_exeext
4710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4711 (eval $ac_link) 2>&5
4713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4714 (exit $ac_status); } &&
4715 { ac_try='test -s conftest$ac_exeext'
4716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720 (exit $ac_status); }; }; then
4721 ac_cv_lib_m_sqrt=yes
4723 echo "$as_me: failed program was:" >&5
4724 cat conftest.$ac_ext >&5
4727 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4728 LIBS=$ac_check_lib_save_LIBS
4730 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
4731 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
4732 if test $ac_cv_lib_m_sqrt = yes; then
4733 cat >>confdefs.h <<_ACEOF
4742 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
4743 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
4744 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
4745 echo $ECHO_N "(cached) $ECHO_C" >&6
4747 ac_check_lib_save_LIBS=$LIBS
4749 cat >conftest.$ac_ext <<_ACEOF
4750 #line $LINENO "configure"
4751 #include "confdefs.h"
4753 /* Override any gcc2 internal prototype to avoid an error. */
4757 /* We use char because int might match the return type of a gcc2
4758 builtin and then its argument prototype would still apply. */
4759 char i386_set_ldt ();
4768 rm -f conftest.$ac_objext conftest$ac_exeext
4769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4770 (eval $ac_link) 2>&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); } &&
4774 { ac_try='test -s conftest$ac_exeext'
4775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4779 (exit $ac_status); }; }; then
4780 ac_cv_lib_i386_i386_set_ldt=yes
4782 echo "$as_me: failed program was:" >&5
4783 cat conftest.$ac_ext >&5
4784 ac_cv_lib_i386_i386_set_ldt=no
4786 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4787 LIBS=$ac_check_lib_save_LIBS
4789 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
4790 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
4791 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
4792 cat >>confdefs.h <<_ACEOF
4793 #define HAVE_LIBI386 1
4801 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
4802 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
4803 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
4804 echo $ECHO_N "(cached) $ECHO_C" >&6
4806 ac_check_lib_save_LIBS=$LIBS
4807 LIBS="-lossaudio $LIBS"
4808 cat >conftest.$ac_ext <<_ACEOF
4809 #line $LINENO "configure"
4810 #include "confdefs.h"
4812 /* Override any gcc2 internal prototype to avoid an error. */
4816 /* We use char because int might match the return type of a gcc2
4817 builtin and then its argument prototype would still apply. */
4827 rm -f conftest.$ac_objext conftest$ac_exeext
4828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4829 (eval $ac_link) 2>&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); } &&
4833 { ac_try='test -s conftest$ac_exeext'
4834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838 (exit $ac_status); }; }; then
4839 ac_cv_lib_ossaudio__oss_ioctl=yes
4841 echo "$as_me: failed program was:" >&5
4842 cat conftest.$ac_ext >&5
4843 ac_cv_lib_ossaudio__oss_ioctl=no
4845 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4846 LIBS=$ac_check_lib_save_LIBS
4848 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
4849 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
4850 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
4851 cat >>confdefs.h <<_ACEOF
4852 #define HAVE_LIBOSSAUDIO 1
4855 LIBS="-lossaudio $LIBS"
4860 for ac_func in iswalnum
4862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4863 echo "$as_me:$LINENO: checking for $ac_func" >&5
4864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4865 if eval "test \"\${$as_ac_var+set}\" = set"; then
4866 echo $ECHO_N "(cached) $ECHO_C" >&6
4868 cat >conftest.$ac_ext <<_ACEOF
4869 #line $LINENO "configure"
4870 #include "confdefs.h"
4871 /* System header to define __stub macros and hopefully few prototypes,
4872 which can conflict with char $ac_func (); below. */
4874 /* Override any gcc2 internal prototype to avoid an error. */
4878 /* We use char because int might match the return type of a gcc2
4879 builtin and then its argument prototype would still apply. */
4886 /* The GNU C library defines this for functions which it implements
4887 to always fail with ENOSYS. Some functions are actually named
4888 something starting with __ and the normal name is an alias. */
4889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4899 rm -f conftest.$ac_objext conftest$ac_exeext
4900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4901 (eval $ac_link) 2>&5
4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904 (exit $ac_status); } &&
4905 { ac_try='test -s conftest$ac_exeext'
4906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); }; }; then
4911 eval "$as_ac_var=yes"
4913 echo "$as_me: failed program was:" >&5
4914 cat conftest.$ac_ext >&5
4915 eval "$as_ac_var=no"
4917 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4921 if test `eval echo '${'$as_ac_var'}'` = yes; then
4922 cat >>confdefs.h <<_ACEOF
4923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4928 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
4929 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
4930 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
4931 echo $ECHO_N "(cached) $ECHO_C" >&6
4933 ac_check_lib_save_LIBS=$LIBS
4935 cat >conftest.$ac_ext <<_ACEOF
4936 #line $LINENO "configure"
4937 #include "confdefs.h"
4939 /* Override any gcc2 internal prototype to avoid an error. */
4943 /* We use char because int might match the return type of a gcc2
4944 builtin and then its argument prototype would still apply. */
4954 rm -f conftest.$ac_objext conftest$ac_exeext
4955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4956 (eval $ac_link) 2>&5
4958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959 (exit $ac_status); } &&
4960 { ac_try='test -s conftest$ac_exeext'
4961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4965 (exit $ac_status); }; }; then
4966 ac_cv_lib_w_iswalnum=yes
4968 echo "$as_me: failed program was:" >&5
4969 cat conftest.$ac_ext >&5
4970 ac_cv_lib_w_iswalnum=no
4972 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4973 LIBS=$ac_check_lib_save_LIBS
4975 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
4976 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
4977 if test $ac_cv_lib_w_iswalnum = yes; then
4978 cat >>confdefs.h <<_ACEOF
4990 for ac_func in gethostbyname
4992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4993 echo "$as_me:$LINENO: checking for $ac_func" >&5
4994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4995 if eval "test \"\${$as_ac_var+set}\" = set"; then
4996 echo $ECHO_N "(cached) $ECHO_C" >&6
4998 cat >conftest.$ac_ext <<_ACEOF
4999 #line $LINENO "configure"
5000 #include "confdefs.h"
5001 /* System header to define __stub macros and hopefully few prototypes,
5002 which can conflict with char $ac_func (); below. */
5004 /* Override any gcc2 internal prototype to avoid an error. */
5008 /* We use char because int might match the return type of a gcc2
5009 builtin and then its argument prototype would still apply. */
5016 /* The GNU C library defines this for functions which it implements
5017 to always fail with ENOSYS. Some functions are actually named
5018 something starting with __ and the normal name is an alias. */
5019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5029 rm -f conftest.$ac_objext conftest$ac_exeext
5030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5031 (eval $ac_link) 2>&5
5033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5034 (exit $ac_status); } &&
5035 { ac_try='test -s conftest$ac_exeext'
5036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); }; }; then
5041 eval "$as_ac_var=yes"
5043 echo "$as_me: failed program was:" >&5
5044 cat conftest.$ac_ext >&5
5045 eval "$as_ac_var=no"
5047 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5051 if test `eval echo '${'$as_ac_var'}'` = yes; then
5052 cat >>confdefs.h <<_ACEOF
5053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5058 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5059 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5060 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5061 echo $ECHO_N "(cached) $ECHO_C" >&6
5063 ac_check_lib_save_LIBS=$LIBS
5065 cat >conftest.$ac_ext <<_ACEOF
5066 #line $LINENO "configure"
5067 #include "confdefs.h"
5069 /* Override any gcc2 internal prototype to avoid an error. */
5073 /* We use char because int might match the return type of a gcc2
5074 builtin and then its argument prototype would still apply. */
5075 char gethostbyname ();
5084 rm -f conftest.$ac_objext conftest$ac_exeext
5085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5086 (eval $ac_link) 2>&5
5088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5089 (exit $ac_status); } &&
5090 { ac_try='test -s conftest$ac_exeext'
5091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5095 (exit $ac_status); }; }; then
5096 ac_cv_lib_nsl_gethostbyname=yes
5098 echo "$as_me: failed program was:" >&5
5099 cat conftest.$ac_ext >&5
5100 ac_cv_lib_nsl_gethostbyname=no
5102 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5103 LIBS=$ac_check_lib_save_LIBS
5105 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5106 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5107 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5108 cat >>confdefs.h <<_ACEOF
5109 #define HAVE_LIBNSL 1
5120 for ac_func in connect
5122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5123 echo "$as_me:$LINENO: checking for $ac_func" >&5
5124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5125 if eval "test \"\${$as_ac_var+set}\" = set"; then
5126 echo $ECHO_N "(cached) $ECHO_C" >&6
5128 cat >conftest.$ac_ext <<_ACEOF
5129 #line $LINENO "configure"
5130 #include "confdefs.h"
5131 /* System header to define __stub macros and hopefully few prototypes,
5132 which can conflict with char $ac_func (); below. */
5134 /* Override any gcc2 internal prototype to avoid an error. */
5138 /* We use char because int might match the return type of a gcc2
5139 builtin and then its argument prototype would still apply. */
5146 /* The GNU C library defines this for functions which it implements
5147 to always fail with ENOSYS. Some functions are actually named
5148 something starting with __ and the normal name is an alias. */
5149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5159 rm -f conftest.$ac_objext conftest$ac_exeext
5160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5161 (eval $ac_link) 2>&5
5163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5164 (exit $ac_status); } &&
5165 { ac_try='test -s conftest$ac_exeext'
5166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5170 (exit $ac_status); }; }; then
5171 eval "$as_ac_var=yes"
5173 echo "$as_me: failed program was:" >&5
5174 cat conftest.$ac_ext >&5
5175 eval "$as_ac_var=no"
5177 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5181 if test `eval echo '${'$as_ac_var'}'` = yes; then
5182 cat >>confdefs.h <<_ACEOF
5183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5188 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5189 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
5190 if test "${ac_cv_lib_socket_connect+set}" = set; then
5191 echo $ECHO_N "(cached) $ECHO_C" >&6
5193 ac_check_lib_save_LIBS=$LIBS
5194 LIBS="-lsocket $LIBS"
5195 cat >conftest.$ac_ext <<_ACEOF
5196 #line $LINENO "configure"
5197 #include "confdefs.h"
5199 /* Override any gcc2 internal prototype to avoid an error. */
5203 /* We use char because int might match the return type of a gcc2
5204 builtin and then its argument prototype would still apply. */
5214 rm -f conftest.$ac_objext conftest$ac_exeext
5215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5216 (eval $ac_link) 2>&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); } &&
5220 { ac_try='test -s conftest$ac_exeext'
5221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5225 (exit $ac_status); }; }; then
5226 ac_cv_lib_socket_connect=yes
5228 echo "$as_me: failed program was:" >&5
5229 cat conftest.$ac_ext >&5
5230 ac_cv_lib_socket_connect=no
5232 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5233 LIBS=$ac_check_lib_save_LIBS
5235 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5236 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
5237 if test $ac_cv_lib_socket_connect = yes; then
5238 cat >>confdefs.h <<_ACEOF
5239 #define HAVE_LIBSOCKET 1
5242 LIBS="-lsocket $LIBS"
5250 for ac_func in inet_aton
5252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5253 echo "$as_me:$LINENO: checking for $ac_func" >&5
5254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5255 if eval "test \"\${$as_ac_var+set}\" = set"; then
5256 echo $ECHO_N "(cached) $ECHO_C" >&6
5258 cat >conftest.$ac_ext <<_ACEOF
5259 #line $LINENO "configure"
5260 #include "confdefs.h"
5261 /* System header to define __stub macros and hopefully few prototypes,
5262 which can conflict with char $ac_func (); below. */
5264 /* 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. */
5276 /* The GNU C library defines this for functions which it implements
5277 to always fail with ENOSYS. Some functions are actually named
5278 something starting with __ and the normal name is an alias. */
5279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5289 rm -f conftest.$ac_objext conftest$ac_exeext
5290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5291 (eval $ac_link) 2>&5
5293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294 (exit $ac_status); } &&
5295 { ac_try='test -s conftest$ac_exeext'
5296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5300 (exit $ac_status); }; }; then
5301 eval "$as_ac_var=yes"
5303 echo "$as_me: failed program was:" >&5
5304 cat conftest.$ac_ext >&5
5305 eval "$as_ac_var=no"
5307 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5311 if test `eval echo '${'$as_ac_var'}'` = yes; then
5312 cat >>confdefs.h <<_ACEOF
5313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5318 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
5319 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
5320 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
5321 echo $ECHO_N "(cached) $ECHO_C" >&6
5323 ac_check_lib_save_LIBS=$LIBS
5324 LIBS="-lresolv $LIBS"
5325 cat >conftest.$ac_ext <<_ACEOF
5326 #line $LINENO "configure"
5327 #include "confdefs.h"
5329 /* Override any gcc2 internal prototype to avoid an error. */
5333 /* We use char because int might match the return type of a gcc2
5334 builtin and then its argument prototype would still apply. */
5344 rm -f conftest.$ac_objext conftest$ac_exeext
5345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5346 (eval $ac_link) 2>&5
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); } &&
5350 { ac_try='test -s conftest$ac_exeext'
5351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5355 (exit $ac_status); }; }; then
5356 ac_cv_lib_resolv_inet_aton=yes
5358 echo "$as_me: failed program was:" >&5
5359 cat conftest.$ac_ext >&5
5360 ac_cv_lib_resolv_inet_aton=no
5362 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5363 LIBS=$ac_check_lib_save_LIBS
5365 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
5366 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
5367 if test $ac_cv_lib_resolv_inet_aton = yes; then
5368 cat >>confdefs.h <<_ACEOF
5369 #define HAVE_LIBRESOLV 1
5372 LIBS="-lresolv $LIBS"
5380 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
5381 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
5382 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
5383 echo $ECHO_N "(cached) $ECHO_C" >&6
5385 ac_check_lib_save_LIBS=$LIBS
5387 cat >conftest.$ac_ext <<_ACEOF
5388 #line $LINENO "configure"
5389 #include "confdefs.h"
5391 /* Override any gcc2 internal prototype to avoid an error. */
5395 /* We use char because int might match the return type of a gcc2
5396 builtin and then its argument prototype would still apply. */
5397 char _xpg4_setrunelocale ();
5401 _xpg4_setrunelocale ();
5406 rm -f conftest.$ac_objext conftest$ac_exeext
5407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5408 (eval $ac_link) 2>&5
5410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5411 (exit $ac_status); } &&
5412 { ac_try='test -s conftest$ac_exeext'
5413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417 (exit $ac_status); }; }; then
5418 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
5420 echo "$as_me: failed program was:" >&5
5421 cat conftest.$ac_ext >&5
5422 ac_cv_lib_xpg4__xpg4_setrunelocale=no
5424 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5425 LIBS=$ac_check_lib_save_LIBS
5427 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
5428 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
5429 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
5430 cat >>confdefs.h <<_ACEOF
5431 #define HAVE_LIBXPG4 1
5439 echo "$as_me:$LINENO: checking for mmap in -lmmap" >&5
5440 echo $ECHO_N "checking for mmap in -lmmap... $ECHO_C" >&6
5441 if test "${ac_cv_lib_mmap_mmap+set}" = set; then
5442 echo $ECHO_N "(cached) $ECHO_C" >&6
5444 ac_check_lib_save_LIBS=$LIBS
5446 cat >conftest.$ac_ext <<_ACEOF
5447 #line $LINENO "configure"
5448 #include "confdefs.h"
5450 /* Override any gcc2 internal prototype to avoid an error. */
5454 /* We use char because int might match the return type of a gcc2
5455 builtin and then its argument prototype would still apply. */
5465 rm -f conftest.$ac_objext conftest$ac_exeext
5466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5467 (eval $ac_link) 2>&5
5469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5470 (exit $ac_status); } &&
5471 { ac_try='test -s conftest$ac_exeext'
5472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5476 (exit $ac_status); }; }; then
5477 ac_cv_lib_mmap_mmap=yes
5479 echo "$as_me: failed program was:" >&5
5480 cat conftest.$ac_ext >&5
5481 ac_cv_lib_mmap_mmap=no
5483 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5484 LIBS=$ac_check_lib_save_LIBS
5486 echo "$as_me:$LINENO: result: $ac_cv_lib_mmap_mmap" >&5
5487 echo "${ECHO_T}$ac_cv_lib_mmap_mmap" >&6
5488 if test $ac_cv_lib_mmap_mmap = yes; then
5489 cat >>confdefs.h <<_ACEOF
5490 #define HAVE_LIBMMAP 1
5500 echo "$as_me:$LINENO: checking for egrep" >&5
5501 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5502 if test "${ac_cv_prog_egrep+set}" = set; then
5503 echo $ECHO_N "(cached) $ECHO_C" >&6
5505 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5506 then ac_cv_prog_egrep='grep -E'
5507 else ac_cv_prog_egrep='egrep'
5510 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5511 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5512 EGREP=$ac_cv_prog_egrep
5515 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5516 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5517 if test "${ac_cv_header_stdc+set}" = set; then
5518 echo $ECHO_N "(cached) $ECHO_C" >&6
5520 cat >conftest.$ac_ext <<_ACEOF
5521 #line $LINENO "configure"
5522 #include "confdefs.h"
5529 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5530 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5532 grep -v '^ *+' conftest.er1 >conftest.err
5534 cat conftest.err >&5
5535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5536 (exit $ac_status); } >/dev/null; then
5537 if test -s conftest.err; then
5538 ac_cpp_err=$ac_c_preproc_warn_flag
5545 if test -z "$ac_cpp_err"; then
5546 ac_cv_header_stdc=yes
5548 echo "$as_me: failed program was:" >&5
5549 cat conftest.$ac_ext >&5
5550 ac_cv_header_stdc=no
5552 rm -f conftest.err conftest.$ac_ext
5554 if test $ac_cv_header_stdc = yes; then
5555 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5556 cat >conftest.$ac_ext <<_ACEOF
5557 #line $LINENO "configure"
5558 #include "confdefs.h"
5562 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5563 $EGREP "memchr" >/dev/null 2>&1; then
5566 ac_cv_header_stdc=no
5572 if test $ac_cv_header_stdc = yes; then
5573 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5574 cat >conftest.$ac_ext <<_ACEOF
5575 #line $LINENO "configure"
5576 #include "confdefs.h"
5580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5581 $EGREP "free" >/dev/null 2>&1; then
5584 ac_cv_header_stdc=no
5590 if test $ac_cv_header_stdc = yes; then
5591 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5592 if test "$cross_compiling" = yes; then
5595 cat >conftest.$ac_ext <<_ACEOF
5596 #line $LINENO "configure"
5597 #include "confdefs.h"
5599 #if ((' ' & 0x0FF) == 0x020)
5600 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5601 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5603 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
5604 || ('j' <= (c) && (c) <= 'r') \
5605 || ('s' <= (c) && (c) <= 'z'))
5606 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5609 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5614 for (i = 0; i < 256; i++)
5615 if (XOR (islower (i), ISLOWER (i))
5616 || toupper (i) != TOUPPER (i))
5621 rm -f conftest$ac_exeext
5622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5623 (eval $ac_link) 2>&5
5625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5626 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5631 (exit $ac_status); }; }; then
5634 echo "$as_me: program exited with status $ac_status" >&5
5635 echo "$as_me: failed program was:" >&5
5636 cat conftest.$ac_ext >&5
5638 ac_cv_header_stdc=no
5640 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5644 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5645 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5646 if test $ac_cv_header_stdc = yes; then
5648 cat >>confdefs.h <<\_ACEOF
5649 #define STDC_HEADERS 1
5654 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5664 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5665 inttypes.h stdint.h unistd.h
5667 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5668 echo "$as_me:$LINENO: checking for $ac_header" >&5
5669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5671 echo $ECHO_N "(cached) $ECHO_C" >&6
5673 cat >conftest.$ac_ext <<_ACEOF
5674 #line $LINENO "configure"
5675 #include "confdefs.h"
5676 $ac_includes_default
5678 #include <$ac_header>
5680 rm -f conftest.$ac_objext
5681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5682 (eval $ac_compile) 2>&5
5684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685 (exit $ac_status); } &&
5686 { ac_try='test -s conftest.$ac_objext'
5687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691 (exit $ac_status); }; }; then
5692 eval "$as_ac_Header=yes"
5694 echo "$as_me: failed program was:" >&5
5695 cat conftest.$ac_ext >&5
5696 eval "$as_ac_Header=no"
5698 rm -f conftest.$ac_objext conftest.$ac_ext
5700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5701 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5702 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5703 cat >>confdefs.h <<_ACEOF
5704 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5713 for ac_header in jpeglib.h
5715 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5717 echo "$as_me:$LINENO: checking for $ac_header" >&5
5718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5720 echo $ECHO_N "(cached) $ECHO_C" >&6
5722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5723 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5725 # Is the header compilable?
5726 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5727 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5728 cat >conftest.$ac_ext <<_ACEOF
5729 #line $LINENO "configure"
5730 #include "confdefs.h"
5731 $ac_includes_default
5732 #include <$ac_header>
5734 rm -f conftest.$ac_objext
5735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5736 (eval $ac_compile) 2>&5
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 (exit $ac_status); } &&
5740 { ac_try='test -s conftest.$ac_objext'
5741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5745 (exit $ac_status); }; }; then
5746 ac_header_compiler=yes
5748 echo "$as_me: failed program was:" >&5
5749 cat conftest.$ac_ext >&5
5750 ac_header_compiler=no
5752 rm -f conftest.$ac_objext conftest.$ac_ext
5753 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5754 echo "${ECHO_T}$ac_header_compiler" >&6
5756 # Is the header present?
5757 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5758 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5759 cat >conftest.$ac_ext <<_ACEOF
5760 #line $LINENO "configure"
5761 #include "confdefs.h"
5762 #include <$ac_header>
5764 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5765 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5767 grep -v '^ *+' conftest.er1 >conftest.err
5769 cat conftest.err >&5
5770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 (exit $ac_status); } >/dev/null; then
5772 if test -s conftest.err; then
5773 ac_cpp_err=$ac_c_preproc_warn_flag
5780 if test -z "$ac_cpp_err"; then
5781 ac_header_preproc=yes
5783 echo "$as_me: failed program was:" >&5
5784 cat conftest.$ac_ext >&5
5785 ac_header_preproc=no
5787 rm -f conftest.err conftest.$ac_ext
5788 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5789 echo "${ECHO_T}$ac_header_preproc" >&6
5791 # So? What about this header?
5792 case $ac_header_compiler:$ac_header_preproc in
5794 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5795 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5796 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5797 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5799 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5800 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5801 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5802 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5803 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5804 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5806 echo "$as_me:$LINENO: checking for $ac_header" >&5
5807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5809 echo $ECHO_N "(cached) $ECHO_C" >&6
5811 eval "$as_ac_Header=$ac_header_preproc"
5813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5817 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5818 cat >>confdefs.h <<_ACEOF
5819 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5821 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
5822 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
5823 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
5824 echo $ECHO_N "(cached) $ECHO_C" >&6
5826 ac_check_lib_save_LIBS=$LIBS
5828 cat >conftest.$ac_ext <<_ACEOF
5829 #line $LINENO "configure"
5830 #include "confdefs.h"
5832 /* Override any gcc2 internal prototype to avoid an error. */
5836 /* We use char because int might match the return type of a gcc2
5837 builtin and then its argument prototype would still apply. */
5838 char jpeg_start_decompress ();
5842 jpeg_start_decompress ();
5847 rm -f conftest.$ac_objext conftest$ac_exeext
5848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5849 (eval $ac_link) 2>&5
5851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852 (exit $ac_status); } &&
5853 { ac_try='test -s conftest$ac_exeext'
5854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5858 (exit $ac_status); }; }; then
5859 ac_cv_lib_jpeg_jpeg_start_decompress=yes
5861 echo "$as_me: failed program was:" >&5
5862 cat conftest.$ac_ext >&5
5863 ac_cv_lib_jpeg_jpeg_start_decompress=no
5865 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5866 LIBS=$ac_check_lib_save_LIBS
5868 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
5869 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
5870 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
5872 cat >>confdefs.h <<\_ACEOF
5873 #define HAVE_LIBJPEG 1
5896 if test "$have_x" = "yes"
5899 ac_save_CPPFLAGS="$CPPFLAGS"
5900 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
5903 for ac_header in X11/Xlib.h
5905 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5907 echo "$as_me:$LINENO: checking for $ac_header" >&5
5908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5910 echo $ECHO_N "(cached) $ECHO_C" >&6
5912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5915 # Is the header compilable?
5916 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5917 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5918 cat >conftest.$ac_ext <<_ACEOF
5919 #line $LINENO "configure"
5920 #include "confdefs.h"
5921 $ac_includes_default
5922 #include <$ac_header>
5924 rm -f conftest.$ac_objext
5925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5926 (eval $ac_compile) 2>&5
5928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929 (exit $ac_status); } &&
5930 { ac_try='test -s conftest.$ac_objext'
5931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935 (exit $ac_status); }; }; then
5936 ac_header_compiler=yes
5938 echo "$as_me: failed program was:" >&5
5939 cat conftest.$ac_ext >&5
5940 ac_header_compiler=no
5942 rm -f conftest.$ac_objext conftest.$ac_ext
5943 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5944 echo "${ECHO_T}$ac_header_compiler" >&6
5946 # Is the header present?
5947 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5948 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5949 cat >conftest.$ac_ext <<_ACEOF
5950 #line $LINENO "configure"
5951 #include "confdefs.h"
5952 #include <$ac_header>
5954 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5955 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5957 grep -v '^ *+' conftest.er1 >conftest.err
5959 cat conftest.err >&5
5960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); } >/dev/null; then
5962 if test -s conftest.err; then
5963 ac_cpp_err=$ac_c_preproc_warn_flag
5970 if test -z "$ac_cpp_err"; then
5971 ac_header_preproc=yes
5973 echo "$as_me: failed program was:" >&5
5974 cat conftest.$ac_ext >&5
5975 ac_header_preproc=no
5977 rm -f conftest.err conftest.$ac_ext
5978 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5979 echo "${ECHO_T}$ac_header_preproc" >&6
5981 # So? What about this header?
5982 case $ac_header_compiler:$ac_header_preproc in
5984 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5985 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5986 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5987 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5989 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5990 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5991 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5992 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5994 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5996 echo "$as_me:$LINENO: checking for $ac_header" >&5
5997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5999 echo $ECHO_N "(cached) $ECHO_C" >&6
6001 eval "$as_ac_Header=$ac_header_preproc"
6003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6004 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6008 cat >>confdefs.h <<_ACEOF
6009 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6013 for ac_header in X11/XKBlib.h
6015 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6016 echo "$as_me:$LINENO: checking for $ac_header" >&5
6017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6019 echo $ECHO_N "(cached) $ECHO_C" >&6
6021 cat >conftest.$ac_ext <<_ACEOF
6022 #line $LINENO "configure"
6023 #include "confdefs.h"
6024 #include <X11/Xlib.h>
6026 #include <$ac_header>
6028 rm -f conftest.$ac_objext
6029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6030 (eval $ac_compile) 2>&5
6032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6033 (exit $ac_status); } &&
6034 { ac_try='test -s conftest.$ac_objext'
6035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039 (exit $ac_status); }; }; then
6040 eval "$as_ac_Header=yes"
6042 echo "$as_me: failed program was:" >&5
6043 cat conftest.$ac_ext >&5
6044 eval "$as_ac_Header=no"
6046 rm -f conftest.$ac_objext conftest.$ac_ext
6048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6051 cat >>confdefs.h <<_ACEOF
6052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6054 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
6055 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
6056 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
6057 echo $ECHO_N "(cached) $ECHO_C" >&6
6059 ac_check_lib_save_LIBS=$LIBS
6060 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6061 cat >conftest.$ac_ext <<_ACEOF
6062 #line $LINENO "configure"
6063 #include "confdefs.h"
6065 /* Override any gcc2 internal prototype to avoid an error. */
6069 /* We use char because int might match the return type of a gcc2
6070 builtin and then its argument prototype would still apply. */
6071 char XkbQueryExtension ();
6075 XkbQueryExtension ();
6080 rm -f conftest.$ac_objext conftest$ac_exeext
6081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6082 (eval $ac_link) 2>&5
6084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6085 (exit $ac_status); } &&
6086 { ac_try='test -s conftest$ac_exeext'
6087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091 (exit $ac_status); }; }; then
6092 ac_cv_lib_X11_XkbQueryExtension=yes
6094 echo "$as_me: failed program was:" >&5
6095 cat conftest.$ac_ext >&5
6096 ac_cv_lib_X11_XkbQueryExtension=no
6098 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6099 LIBS=$ac_check_lib_save_LIBS
6101 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
6102 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
6103 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
6105 cat >>confdefs.h <<\_ACEOF
6113 { echo "$as_me:$LINENO: WARNING: Xkb extension not found, Wine will be built without it" >&5
6114 echo "$as_me: WARNING: Xkb extension not found, Wine will be built without it" >&2;}
6121 for ac_header in X11/extensions/XShm.h
6123 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6124 echo "$as_me:$LINENO: checking for $ac_header" >&5
6125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6127 echo $ECHO_N "(cached) $ECHO_C" >&6
6129 cat >conftest.$ac_ext <<_ACEOF
6130 #line $LINENO "configure"
6131 #include "confdefs.h"
6132 #include <X11/Xlib.h>
6134 #include <$ac_header>
6136 rm -f conftest.$ac_objext
6137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6138 (eval $ac_compile) 2>&5
6140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6141 (exit $ac_status); } &&
6142 { ac_try='test -s conftest.$ac_objext'
6143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6147 (exit $ac_status); }; }; then
6148 eval "$as_ac_Header=yes"
6150 echo "$as_me: failed program was:" >&5
6151 cat conftest.$ac_ext >&5
6152 eval "$as_ac_Header=no"
6154 rm -f conftest.$ac_objext conftest.$ac_ext
6156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6158 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6159 cat >>confdefs.h <<_ACEOF
6160 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6162 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
6163 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
6164 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
6165 echo $ECHO_N "(cached) $ECHO_C" >&6
6167 ac_check_lib_save_LIBS=$LIBS
6168 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6169 cat >conftest.$ac_ext <<_ACEOF
6170 #line $LINENO "configure"
6171 #include "confdefs.h"
6173 /* Override any gcc2 internal prototype to avoid an error. */
6177 /* We use char because int might match the return type of a gcc2
6178 builtin and then its argument prototype would still apply. */
6179 char XShmQueryExtension ();
6183 XShmQueryExtension ();
6188 rm -f conftest.$ac_objext conftest$ac_exeext
6189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6190 (eval $ac_link) 2>&5
6192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6193 (exit $ac_status); } &&
6194 { ac_try='test -s conftest$ac_exeext'
6195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199 (exit $ac_status); }; }; then
6200 ac_cv_lib_Xext_XShmQueryExtension=yes
6202 echo "$as_me: failed program was:" >&5
6203 cat conftest.$ac_ext >&5
6204 ac_cv_lib_Xext_XShmQueryExtension=no
6206 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6207 LIBS=$ac_check_lib_save_LIBS
6209 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
6210 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
6211 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
6213 cat >>confdefs.h <<\_ACEOF
6214 #define HAVE_LIBXXSHM 1
6221 { echo "$as_me:$LINENO: WARNING: XShm extension not found, Wine will be built without it" >&5
6222 echo "$as_me: WARNING: XShm extension not found, Wine will be built without it" >&2;}
6229 for ac_header in X11/Xutil.h
6231 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6232 echo "$as_me:$LINENO: checking for $ac_header" >&5
6233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6235 echo $ECHO_N "(cached) $ECHO_C" >&6
6237 cat >conftest.$ac_ext <<_ACEOF
6238 #line $LINENO "configure"
6239 #include "confdefs.h"
6240 #include <X11/Xlib.h>
6242 #include <$ac_header>
6244 rm -f conftest.$ac_objext
6245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6246 (eval $ac_compile) 2>&5
6248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6249 (exit $ac_status); } &&
6250 { ac_try='test -s conftest.$ac_objext'
6251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6255 (exit $ac_status); }; }; then
6256 eval "$as_ac_Header=yes"
6258 echo "$as_me: failed program was:" >&5
6259 cat conftest.$ac_ext >&5
6260 eval "$as_ac_Header=no"
6262 rm -f conftest.$ac_objext conftest.$ac_ext
6264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6265 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6266 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6267 cat >>confdefs.h <<_ACEOF
6268 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6277 for ac_header in X11/extensions/shape.h
6279 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6280 echo "$as_me:$LINENO: checking for $ac_header" >&5
6281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6283 echo $ECHO_N "(cached) $ECHO_C" >&6
6285 cat >conftest.$ac_ext <<_ACEOF
6286 #line $LINENO "configure"
6287 #include "confdefs.h"
6288 #include <X11/Xlib.h>
6289 #ifdef HAVE_X11_XUTIL_H
6290 # include <X11/Xutil.h>
6293 #include <$ac_header>
6295 rm -f conftest.$ac_objext
6296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6297 (eval $ac_compile) 2>&5
6299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6300 (exit $ac_status); } &&
6301 { ac_try='test -s conftest.$ac_objext'
6302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6306 (exit $ac_status); }; }; then
6307 eval "$as_ac_Header=yes"
6309 echo "$as_me: failed program was:" >&5
6310 cat conftest.$ac_ext >&5
6311 eval "$as_ac_Header=no"
6313 rm -f conftest.$ac_objext conftest.$ac_ext
6315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6317 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6318 cat >>confdefs.h <<_ACEOF
6319 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6321 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
6322 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6323 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6324 echo $ECHO_N "(cached) $ECHO_C" >&6
6326 ac_check_lib_save_LIBS=$LIBS
6327 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6328 cat >conftest.$ac_ext <<_ACEOF
6329 #line $LINENO "configure"
6330 #include "confdefs.h"
6332 /* Override any gcc2 internal prototype to avoid an error. */
6336 /* We use char because int might match the return type of a gcc2
6337 builtin and then its argument prototype would still apply. */
6338 char XShapeQueryExtension ();
6342 XShapeQueryExtension ();
6347 rm -f conftest.$ac_objext conftest$ac_exeext
6348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6349 (eval $ac_link) 2>&5
6351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6352 (exit $ac_status); } &&
6353 { ac_try='test -s conftest$ac_exeext'
6354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6358 (exit $ac_status); }; }; then
6359 ac_cv_lib_Xext_XShapeQueryExtension=yes
6361 echo "$as_me: failed program was:" >&5
6362 cat conftest.$ac_ext >&5
6363 ac_cv_lib_Xext_XShapeQueryExtension=no
6365 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6366 LIBS=$ac_check_lib_save_LIBS
6368 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6369 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6370 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6372 cat >>confdefs.h <<\_ACEOF
6373 #define HAVE_LIBXSHAPE 1
6380 { echo "$as_me:$LINENO: WARNING: XShape extension not found, Wine will be built without it" >&5
6381 echo "$as_me: WARNING: XShape extension not found, Wine will be built without it" >&2;}
6388 for ac_header in X11/extensions/xf86dga.h
6390 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6391 echo "$as_me:$LINENO: checking for $ac_header" >&5
6392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6394 echo $ECHO_N "(cached) $ECHO_C" >&6
6396 cat >conftest.$ac_ext <<_ACEOF
6397 #line $LINENO "configure"
6398 #include "confdefs.h"
6399 #include <X11/Xlib.h>
6401 #include <$ac_header>
6403 rm -f conftest.$ac_objext
6404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6405 (eval $ac_compile) 2>&5
6407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6408 (exit $ac_status); } &&
6409 { ac_try='test -s conftest.$ac_objext'
6410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6414 (exit $ac_status); }; }; then
6415 eval "$as_ac_Header=yes"
6417 echo "$as_me: failed program was:" >&5
6418 cat conftest.$ac_ext >&5
6419 eval "$as_ac_Header=no"
6421 rm -f conftest.$ac_objext conftest.$ac_ext
6423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6426 cat >>confdefs.h <<_ACEOF
6427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6429 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
6430 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
6431 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
6432 echo $ECHO_N "(cached) $ECHO_C" >&6
6434 ac_check_lib_save_LIBS=$LIBS
6435 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6437 cat >conftest.$ac_ext <<_ACEOF
6438 #line $LINENO "configure"
6439 #include "confdefs.h"
6441 /* Override any gcc2 internal prototype to avoid an error. */
6445 /* We use char because int might match the return type of a gcc2
6446 builtin and then its argument prototype would still apply. */
6447 char XDGAQueryExtension ();
6451 XDGAQueryExtension ();
6456 rm -f conftest.$ac_objext conftest$ac_exeext
6457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6458 (eval $ac_link) 2>&5
6460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6461 (exit $ac_status); } &&
6462 { ac_try='test -s conftest$ac_exeext'
6463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6467 (exit $ac_status); }; }; then
6468 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
6470 echo "$as_me: failed program was:" >&5
6471 cat conftest.$ac_ext >&5
6472 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
6474 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6475 LIBS=$ac_check_lib_save_LIBS
6477 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
6478 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
6479 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
6481 cat >>confdefs.h <<\_ACEOF
6482 #define HAVE_LIBXXF86DGA2 1
6485 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
6488 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
6489 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
6490 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
6491 echo $ECHO_N "(cached) $ECHO_C" >&6
6493 ac_check_lib_save_LIBS=$LIBS
6494 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6496 cat >conftest.$ac_ext <<_ACEOF
6497 #line $LINENO "configure"
6498 #include "confdefs.h"
6500 /* Override any gcc2 internal prototype to avoid an error. */
6504 /* We use char because int might match the return type of a gcc2
6505 builtin and then its argument prototype would still apply. */
6506 char XF86DGAQueryExtension ();
6510 XF86DGAQueryExtension ();
6515 rm -f conftest.$ac_objext conftest$ac_exeext
6516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6517 (eval $ac_link) 2>&5
6519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6520 (exit $ac_status); } &&
6521 { ac_try='test -s conftest$ac_exeext'
6522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526 (exit $ac_status); }; }; then
6527 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=yes
6529 echo "$as_me: failed program was:" >&5
6530 cat conftest.$ac_ext >&5
6531 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no
6533 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6534 LIBS=$ac_check_lib_save_LIBS
6536 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
6537 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
6538 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
6540 cat >>confdefs.h <<\_ACEOF
6541 #define HAVE_LIBXXF86DGA 1
6544 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
6553 { echo "$as_me:$LINENO: WARNING: DGA extension not found, Wine will be built without it" >&5
6554 echo "$as_me: WARNING: DGA extension not found, Wine will be built without it" >&2;}
6561 for ac_header in X11/extensions/xf86vmode.h
6563 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6564 echo "$as_me:$LINENO: checking for $ac_header" >&5
6565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6566 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6567 echo $ECHO_N "(cached) $ECHO_C" >&6
6569 cat >conftest.$ac_ext <<_ACEOF
6570 #line $LINENO "configure"
6571 #include "confdefs.h"
6572 #include <X11/Xlib.h>
6574 #include <$ac_header>
6576 rm -f conftest.$ac_objext
6577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6578 (eval $ac_compile) 2>&5
6580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581 (exit $ac_status); } &&
6582 { ac_try='test -s conftest.$ac_objext'
6583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587 (exit $ac_status); }; }; then
6588 eval "$as_ac_Header=yes"
6590 echo "$as_me: failed program was:" >&5
6591 cat conftest.$ac_ext >&5
6592 eval "$as_ac_Header=no"
6594 rm -f conftest.$ac_objext conftest.$ac_ext
6596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6597 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6598 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6599 cat >>confdefs.h <<_ACEOF
6600 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6602 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
6603 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
6604 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
6605 echo $ECHO_N "(cached) $ECHO_C" >&6
6607 ac_check_lib_save_LIBS=$LIBS
6608 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6610 cat >conftest.$ac_ext <<_ACEOF
6611 #line $LINENO "configure"
6612 #include "confdefs.h"
6614 /* Override any gcc2 internal prototype to avoid an error. */
6618 /* We use char because int might match the return type of a gcc2
6619 builtin and then its argument prototype would still apply. */
6620 char XF86VidModeQueryExtension ();
6624 XF86VidModeQueryExtension ();
6629 rm -f conftest.$ac_objext conftest$ac_exeext
6630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6631 (eval $ac_link) 2>&5
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); } &&
6635 { ac_try='test -s conftest$ac_exeext'
6636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); }; }; then
6641 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
6643 echo "$as_me: failed program was:" >&5
6644 cat conftest.$ac_ext >&5
6645 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
6647 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6648 LIBS=$ac_check_lib_save_LIBS
6650 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
6651 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
6652 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
6654 cat >>confdefs.h <<\_ACEOF
6655 #define HAVE_LIBXXF86VM 1
6658 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
6664 { echo "$as_me:$LINENO: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&5
6665 echo "$as_me: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&2;}
6672 for ac_header in X11/extensions/Xvlib.h
6674 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6675 echo "$as_me:$LINENO: checking for $ac_header" >&5
6676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6678 echo $ECHO_N "(cached) $ECHO_C" >&6
6680 cat >conftest.$ac_ext <<_ACEOF
6681 #line $LINENO "configure"
6682 #include "confdefs.h"
6683 #include <X11/Xlib.h>
6685 #include <$ac_header>
6687 rm -f conftest.$ac_objext
6688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6689 (eval $ac_compile) 2>&5
6691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6692 (exit $ac_status); } &&
6693 { ac_try='test -s conftest.$ac_objext'
6694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698 (exit $ac_status); }; }; then
6699 eval "$as_ac_Header=yes"
6701 echo "$as_me: failed program was:" >&5
6702 cat conftest.$ac_ext >&5
6703 eval "$as_ac_Header=no"
6705 rm -f conftest.$ac_objext conftest.$ac_ext
6707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6708 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6709 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6710 cat >>confdefs.h <<_ACEOF
6711 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6713 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
6714 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
6715 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
6716 echo $ECHO_N "(cached) $ECHO_C" >&6
6718 ac_check_lib_save_LIBS=$LIBS
6719 LIBS="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6721 cat >conftest.$ac_ext <<_ACEOF
6722 #line $LINENO "configure"
6723 #include "confdefs.h"
6725 /* Override any gcc2 internal prototype to avoid an error. */
6729 /* We use char because int might match the return type of a gcc2
6730 builtin and then its argument prototype would still apply. */
6731 char XvShmCreateImage ();
6735 XvShmCreateImage ();
6740 rm -f conftest.$ac_objext conftest$ac_exeext
6741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6742 (eval $ac_link) 2>&5
6744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6745 (exit $ac_status); } &&
6746 { ac_try='test -s conftest$ac_exeext'
6747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); }; }; then
6752 ac_cv_lib_Xv_XvShmCreateImage=yes
6754 echo "$as_me: failed program was:" >&5
6755 cat conftest.$ac_ext >&5
6756 ac_cv_lib_Xv_XvShmCreateImage=no
6758 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6759 LIBS=$ac_check_lib_save_LIBS
6761 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
6762 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
6763 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
6765 cat >>confdefs.h <<\_ACEOF
6766 #define HAVE_XVIDEO 1
6769 X_PRE_LIBS="$X_PRE_LIBS -lXv"
6775 { echo "$as_me:$LINENO: WARNING: XVideo extension not found, Wine will be built without it" >&5
6776 echo "$as_me: WARNING: XVideo extension not found, Wine will be built without it" >&2;}
6783 for ac_header in X11/extensions/Xrender.h
6785 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6786 echo "$as_me:$LINENO: checking for $ac_header" >&5
6787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6789 echo $ECHO_N "(cached) $ECHO_C" >&6
6791 cat >conftest.$ac_ext <<_ACEOF
6792 #line $LINENO "configure"
6793 #include "confdefs.h"
6794 #include <X11/Xlib.h>
6796 #include <$ac_header>
6798 rm -f conftest.$ac_objext
6799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6800 (eval $ac_compile) 2>&5
6802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6803 (exit $ac_status); } &&
6804 { ac_try='test -s conftest.$ac_objext'
6805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6809 (exit $ac_status); }; }; then
6810 eval "$as_ac_Header=yes"
6812 echo "$as_me: failed program was:" >&5
6813 cat conftest.$ac_ext >&5
6814 eval "$as_ac_Header=no"
6816 rm -f conftest.$ac_objext conftest.$ac_ext
6818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6821 cat >>confdefs.h <<_ACEOF
6822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6835 if test "x$with_opengl" != "xno"
6837 if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
6839 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
6840 This prevents linking to OpenGL. Delete the file and restart configure." >&5
6841 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
6842 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
6843 { (exit 1); exit 1; }; }
6848 for ac_header in GL/gl.h GL/glx.h
6850 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6852 echo "$as_me:$LINENO: checking for $ac_header" >&5
6853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6855 echo $ECHO_N "(cached) $ECHO_C" >&6
6857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6860 # Is the header compilable?
6861 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6862 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6863 cat >conftest.$ac_ext <<_ACEOF
6864 #line $LINENO "configure"
6865 #include "confdefs.h"
6866 $ac_includes_default
6867 #include <$ac_header>
6869 rm -f conftest.$ac_objext
6870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6871 (eval $ac_compile) 2>&5
6873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6874 (exit $ac_status); } &&
6875 { ac_try='test -s conftest.$ac_objext'
6876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6880 (exit $ac_status); }; }; then
6881 ac_header_compiler=yes
6883 echo "$as_me: failed program was:" >&5
6884 cat conftest.$ac_ext >&5
6885 ac_header_compiler=no
6887 rm -f conftest.$ac_objext conftest.$ac_ext
6888 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6889 echo "${ECHO_T}$ac_header_compiler" >&6
6891 # Is the header present?
6892 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6893 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6894 cat >conftest.$ac_ext <<_ACEOF
6895 #line $LINENO "configure"
6896 #include "confdefs.h"
6897 #include <$ac_header>
6899 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6900 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6902 grep -v '^ *+' conftest.er1 >conftest.err
6904 cat conftest.err >&5
6905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906 (exit $ac_status); } >/dev/null; then
6907 if test -s conftest.err; then
6908 ac_cpp_err=$ac_c_preproc_warn_flag
6915 if test -z "$ac_cpp_err"; then
6916 ac_header_preproc=yes
6918 echo "$as_me: failed program was:" >&5
6919 cat conftest.$ac_ext >&5
6920 ac_header_preproc=no
6922 rm -f conftest.err conftest.$ac_ext
6923 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6924 echo "${ECHO_T}$ac_header_preproc" >&6
6926 # So? What about this header?
6927 case $ac_header_compiler:$ac_header_preproc in
6929 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6930 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6931 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6932 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6934 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6935 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6936 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6937 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6938 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6939 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6941 echo "$as_me:$LINENO: checking for $ac_header" >&5
6942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6944 echo $ECHO_N "(cached) $ECHO_C" >&6
6946 eval "$as_ac_Header=$ac_header_preproc"
6948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6952 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6953 cat >>confdefs.h <<_ACEOF
6954 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6961 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
6964 for ac_header in GL/glext.h
6966 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6967 echo "$as_me:$LINENO: checking for $ac_header" >&5
6968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6970 echo $ECHO_N "(cached) $ECHO_C" >&6
6972 cat >conftest.$ac_ext <<_ACEOF
6973 #line $LINENO "configure"
6974 #include "confdefs.h"
6977 #include <$ac_header>
6979 rm -f conftest.$ac_objext
6980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6981 (eval $ac_compile) 2>&5
6983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6984 (exit $ac_status); } &&
6985 { ac_try='test -s conftest.$ac_objext'
6986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990 (exit $ac_status); }; }; then
6991 eval "$as_ac_Header=yes"
6993 echo "$as_me: failed program was:" >&5
6994 cat conftest.$ac_ext >&5
6995 eval "$as_ac_Header=no"
6997 rm -f conftest.$ac_objext conftest.$ac_ext
6999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7000 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7001 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7002 cat >>confdefs.h <<_ACEOF
7003 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7010 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
7011 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
7012 if test "${wine_cv_opengl_version_OK+set}" = set; then
7013 echo $ECHO_N "(cached) $ECHO_C" >&6
7015 cat >conftest.$ac_ext <<_ACEOF
7016 #line $LINENO "configure"
7017 #include "confdefs.h"
7022 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
7027 rm -f conftest.$ac_objext
7028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7029 (eval $ac_compile) 2>&5
7031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7032 (exit $ac_status); } &&
7033 { ac_try='test -s conftest.$ac_objext'
7034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7038 (exit $ac_status); }; }; then
7039 wine_cv_opengl_version_OK="yes"
7041 echo "$as_me: failed program was:" >&5
7042 cat conftest.$ac_ext >&5
7043 wine_cv_opengl_version_OK="no"
7046 rm -f conftest.$ac_objext conftest.$ac_ext
7049 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
7050 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
7052 if test "$wine_cv_opengl_version_OK" = "yes"
7054 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
7055 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
7056 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
7057 echo $ECHO_N "(cached) $ECHO_C" >&6
7059 ac_check_lib_save_LIBS=$LIBS
7060 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7061 cat >conftest.$ac_ext <<_ACEOF
7062 #line $LINENO "configure"
7063 #include "confdefs.h"
7065 /* Override any gcc2 internal prototype to avoid an error. */
7069 /* We use char because int might match the return type of a gcc2
7070 builtin and then its argument prototype would still apply. */
7071 char glXCreateContext ();
7075 glXCreateContext ();
7080 rm -f conftest.$ac_objext conftest$ac_exeext
7081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7082 (eval $ac_link) 2>&5
7084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085 (exit $ac_status); } &&
7086 { ac_try='test -s conftest$ac_exeext'
7087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7091 (exit $ac_status); }; }; then
7092 ac_cv_lib_GL_glXCreateContext=yes
7094 echo "$as_me: failed program was:" >&5
7095 cat conftest.$ac_ext >&5
7096 ac_cv_lib_GL_glXCreateContext=no
7098 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7099 LIBS=$ac_check_lib_save_LIBS
7101 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
7102 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
7103 if test $ac_cv_lib_GL_glXCreateContext = yes; then
7109 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
7111 OPENGLFILES='$(OPENGLFILES)'
7113 cat >>confdefs.h <<\_ACEOF
7114 #define HAVE_OPENGL 1
7118 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
7119 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
7120 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
7121 echo $ECHO_N "(cached) $ECHO_C" >&6
7123 ac_check_lib_save_LIBS=$LIBS
7124 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7125 cat >conftest.$ac_ext <<_ACEOF
7126 #line $LINENO "configure"
7127 #include "confdefs.h"
7129 /* Override any gcc2 internal prototype to avoid an error. */
7133 /* We use char because int might match the return type of a gcc2
7134 builtin and then its argument prototype would still apply. */
7135 char glXGetProcAddressARB ();
7139 glXGetProcAddressARB ();
7144 rm -f conftest.$ac_objext conftest$ac_exeext
7145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7146 (eval $ac_link) 2>&5
7148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7149 (exit $ac_status); } &&
7150 { ac_try='test -s conftest$ac_exeext'
7151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7155 (exit $ac_status); }; }; then
7156 ac_cv_lib_GL_glXGetProcAddressARB=yes
7158 echo "$as_me: failed program was:" >&5
7159 cat conftest.$ac_ext >&5
7160 ac_cv_lib_GL_glXGetProcAddressARB=no
7162 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7163 LIBS=$ac_check_lib_save_LIBS
7165 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
7166 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
7167 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
7169 cat >>confdefs.h <<\_ACEOF
7170 #define HAVE_GLX_GETPROCADDRESS 1
7176 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
7178 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
7179 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
7180 if test "${wine_cv_extension_prototypes+set}" = set; then
7181 echo $ECHO_N "(cached) $ECHO_C" >&6
7183 cat >conftest.$ac_ext <<_ACEOF
7184 #line $LINENO "configure"
7185 #include "confdefs.h"
7187 #ifdef HAVE_GL_GLEXT_H
7188 # include <GL/glext.h>
7194 PFNGLCOLORTABLEEXTPROC test_proc;
7199 rm -f conftest.$ac_objext
7200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7201 (eval $ac_compile) 2>&5
7203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7204 (exit $ac_status); } &&
7205 { ac_try='test -s conftest.$ac_objext'
7206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7210 (exit $ac_status); }; }; then
7211 wine_cv_extension_prototypes="yes"
7213 echo "$as_me: failed program was:" >&5
7214 cat conftest.$ac_ext >&5
7215 wine_cv_extension_prototypes="no"
7218 rm -f conftest.$ac_objext conftest.$ac_ext
7221 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
7222 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
7223 if test "$wine_cv_extension_prototypes" = "yes"
7226 cat >>confdefs.h <<\_ACEOF
7227 #define HAVE_GLEXT_PROTOTYPES 1
7234 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
7235 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
7236 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
7237 echo $ECHO_N "(cached) $ECHO_C" >&6
7239 ac_check_lib_save_LIBS=$LIBS
7240 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
7242 cat >conftest.$ac_ext <<_ACEOF
7243 #line $LINENO "configure"
7244 #include "confdefs.h"
7246 /* Override any gcc2 internal prototype to avoid an error. */
7250 /* We use char because int might match the return type of a gcc2
7251 builtin and then its argument prototype would still apply. */
7261 rm -f conftest.$ac_objext conftest$ac_exeext
7262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7263 (eval $ac_link) 2>&5
7265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7266 (exit $ac_status); } &&
7267 { ac_try='test -s conftest$ac_exeext'
7268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); }; }; then
7273 ac_cv_lib_GLU_gluLookAt=yes
7275 echo "$as_me: failed program was:" >&5
7276 cat conftest.$ac_ext >&5
7277 ac_cv_lib_GLU_gluLookAt=no
7279 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7280 LIBS=$ac_check_lib_save_LIBS
7282 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
7283 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
7284 if test $ac_cv_lib_GLU_gluLookAt = yes; then
7285 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
7286 GLU32FILES='$(GLU32FILES)'
7297 for ac_header in audio/audiolib.h
7299 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7301 echo "$as_me:$LINENO: checking for $ac_header" >&5
7302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7304 echo $ECHO_N "(cached) $ECHO_C" >&6
7306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7307 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7309 # Is the header compilable?
7310 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7311 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7312 cat >conftest.$ac_ext <<_ACEOF
7313 #line $LINENO "configure"
7314 #include "confdefs.h"
7315 $ac_includes_default
7316 #include <$ac_header>
7318 rm -f conftest.$ac_objext
7319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7320 (eval $ac_compile) 2>&5
7322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323 (exit $ac_status); } &&
7324 { ac_try='test -s conftest.$ac_objext'
7325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7329 (exit $ac_status); }; }; then
7330 ac_header_compiler=yes
7332 echo "$as_me: failed program was:" >&5
7333 cat conftest.$ac_ext >&5
7334 ac_header_compiler=no
7336 rm -f conftest.$ac_objext conftest.$ac_ext
7337 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7338 echo "${ECHO_T}$ac_header_compiler" >&6
7340 # Is the header present?
7341 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7342 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7343 cat >conftest.$ac_ext <<_ACEOF
7344 #line $LINENO "configure"
7345 #include "confdefs.h"
7346 #include <$ac_header>
7348 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7349 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7351 grep -v '^ *+' conftest.er1 >conftest.err
7353 cat conftest.err >&5
7354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7355 (exit $ac_status); } >/dev/null; then
7356 if test -s conftest.err; then
7357 ac_cpp_err=$ac_c_preproc_warn_flag
7364 if test -z "$ac_cpp_err"; then
7365 ac_header_preproc=yes
7367 echo "$as_me: failed program was:" >&5
7368 cat conftest.$ac_ext >&5
7369 ac_header_preproc=no
7371 rm -f conftest.err conftest.$ac_ext
7372 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7373 echo "${ECHO_T}$ac_header_preproc" >&6
7375 # So? What about this header?
7376 case $ac_header_compiler:$ac_header_preproc in
7378 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7379 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7380 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7381 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7383 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7384 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7385 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7386 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7388 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7390 echo "$as_me:$LINENO: checking for $ac_header" >&5
7391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7393 echo $ECHO_N "(cached) $ECHO_C" >&6
7395 eval "$as_ac_Header=$ac_header_preproc"
7397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7401 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7402 cat >>confdefs.h <<_ACEOF
7403 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7406 for ac_header in audio/soundlib.h
7408 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7409 echo "$as_me:$LINENO: checking for $ac_header" >&5
7410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7412 echo $ECHO_N "(cached) $ECHO_C" >&6
7414 cat >conftest.$ac_ext <<_ACEOF
7415 #line $LINENO "configure"
7416 #include "confdefs.h"
7417 #include <audio/audiolib.h>
7419 #include <$ac_header>
7421 rm -f conftest.$ac_objext
7422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7423 (eval $ac_compile) 2>&5
7425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7426 (exit $ac_status); } &&
7427 { ac_try='test -s conftest.$ac_objext'
7428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7432 (exit $ac_status); }; }; then
7433 eval "$as_ac_Header=yes"
7435 echo "$as_me: failed program was:" >&5
7436 cat conftest.$ac_ext >&5
7437 eval "$as_ac_Header=no"
7439 rm -f conftest.$ac_objext conftest.$ac_ext
7441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7442 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7443 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7444 cat >>confdefs.h <<_ACEOF
7445 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7452 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
7453 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
7454 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
7455 echo $ECHO_N "(cached) $ECHO_C" >&6
7457 ac_check_lib_save_LIBS=$LIBS
7458 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7459 cat >conftest.$ac_ext <<_ACEOF
7460 #line $LINENO "configure"
7461 #include "confdefs.h"
7463 /* Override any gcc2 internal prototype to avoid an error. */
7467 /* We use char because int might match the return type of a gcc2
7468 builtin and then its argument prototype would still apply. */
7469 char AuCreateFlow ();
7478 rm -f conftest.$ac_objext conftest$ac_exeext
7479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7480 (eval $ac_link) 2>&5
7482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7483 (exit $ac_status); } &&
7484 { ac_try='test -s conftest$ac_exeext'
7485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7489 (exit $ac_status); }; }; then
7490 ac_cv_lib_audio_AuCreateFlow=yes
7492 echo "$as_me: failed program was:" >&5
7493 cat conftest.$ac_ext >&5
7494 ac_cv_lib_audio_AuCreateFlow=no
7496 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7497 LIBS=$ac_check_lib_save_LIBS
7499 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
7500 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
7501 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
7503 cat >>confdefs.h <<\_ACEOF
7507 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
7515 CPPFLAGS="$ac_save_CPPFLAGS"
7524 if test "x$with_curses" != "xno"
7527 for ac_header in ncurses.h
7529 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7531 echo "$as_me:$LINENO: checking for $ac_header" >&5
7532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7534 echo $ECHO_N "(cached) $ECHO_C" >&6
7536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7537 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7539 # Is the header compilable?
7540 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7541 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7542 cat >conftest.$ac_ext <<_ACEOF
7543 #line $LINENO "configure"
7544 #include "confdefs.h"
7545 $ac_includes_default
7546 #include <$ac_header>
7548 rm -f conftest.$ac_objext
7549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7550 (eval $ac_compile) 2>&5
7552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553 (exit $ac_status); } &&
7554 { ac_try='test -s conftest.$ac_objext'
7555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7559 (exit $ac_status); }; }; then
7560 ac_header_compiler=yes
7562 echo "$as_me: failed program was:" >&5
7563 cat conftest.$ac_ext >&5
7564 ac_header_compiler=no
7566 rm -f conftest.$ac_objext conftest.$ac_ext
7567 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7568 echo "${ECHO_T}$ac_header_compiler" >&6
7570 # Is the header present?
7571 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7572 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7573 cat >conftest.$ac_ext <<_ACEOF
7574 #line $LINENO "configure"
7575 #include "confdefs.h"
7576 #include <$ac_header>
7578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7579 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7581 grep -v '^ *+' conftest.er1 >conftest.err
7583 cat conftest.err >&5
7584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585 (exit $ac_status); } >/dev/null; then
7586 if test -s conftest.err; then
7587 ac_cpp_err=$ac_c_preproc_warn_flag
7594 if test -z "$ac_cpp_err"; then
7595 ac_header_preproc=yes
7597 echo "$as_me: failed program was:" >&5
7598 cat conftest.$ac_ext >&5
7599 ac_header_preproc=no
7601 rm -f conftest.err conftest.$ac_ext
7602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7603 echo "${ECHO_T}$ac_header_preproc" >&6
7605 # So? What about this header?
7606 case $ac_header_compiler:$ac_header_preproc in
7608 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7609 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7611 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7613 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7614 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7615 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7616 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7620 echo "$as_me:$LINENO: checking for $ac_header" >&5
7621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7623 echo $ECHO_N "(cached) $ECHO_C" >&6
7625 eval "$as_ac_Header=$ac_header_preproc"
7627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7628 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7631 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7632 cat >>confdefs.h <<_ACEOF
7633 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7635 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
7636 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
7637 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
7638 echo $ECHO_N "(cached) $ECHO_C" >&6
7640 ac_check_lib_save_LIBS=$LIBS
7641 LIBS="-lncurses $LIBS"
7642 cat >conftest.$ac_ext <<_ACEOF
7643 #line $LINENO "configure"
7644 #include "confdefs.h"
7646 /* Override any gcc2 internal prototype to avoid an error. */
7650 /* We use char because int might match the return type of a gcc2
7651 builtin and then its argument prototype would still apply. */
7661 rm -f conftest.$ac_objext conftest$ac_exeext
7662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7663 (eval $ac_link) 2>&5
7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7666 (exit $ac_status); } &&
7667 { ac_try='test -s conftest$ac_exeext'
7668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7672 (exit $ac_status); }; }; then
7673 ac_cv_lib_ncurses_waddch=yes
7675 echo "$as_me: failed program was:" >&5
7676 cat conftest.$ac_ext >&5
7677 ac_cv_lib_ncurses_waddch=no
7679 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7680 LIBS=$ac_check_lib_save_LIBS
7682 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
7683 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
7684 if test $ac_cv_lib_ncurses_waddch = yes; then
7686 cat >>confdefs.h <<\_ACEOF
7687 #define HAVE_LIBNCURSES 1
7690 CURSESLIBS="-lncurses"
7693 for ac_header in curses.h
7695 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7697 echo "$as_me:$LINENO: checking for $ac_header" >&5
7698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7700 echo $ECHO_N "(cached) $ECHO_C" >&6
7702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7705 # Is the header compilable?
7706 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7707 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7708 cat >conftest.$ac_ext <<_ACEOF
7709 #line $LINENO "configure"
7710 #include "confdefs.h"
7711 $ac_includes_default
7712 #include <$ac_header>
7714 rm -f conftest.$ac_objext
7715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7716 (eval $ac_compile) 2>&5
7718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7719 (exit $ac_status); } &&
7720 { ac_try='test -s conftest.$ac_objext'
7721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); }; }; then
7726 ac_header_compiler=yes
7728 echo "$as_me: failed program was:" >&5
7729 cat conftest.$ac_ext >&5
7730 ac_header_compiler=no
7732 rm -f conftest.$ac_objext conftest.$ac_ext
7733 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7734 echo "${ECHO_T}$ac_header_compiler" >&6
7736 # Is the header present?
7737 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7738 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7739 cat >conftest.$ac_ext <<_ACEOF
7740 #line $LINENO "configure"
7741 #include "confdefs.h"
7742 #include <$ac_header>
7744 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7745 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7747 grep -v '^ *+' conftest.er1 >conftest.err
7749 cat conftest.err >&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); } >/dev/null; then
7752 if test -s conftest.err; then
7753 ac_cpp_err=$ac_c_preproc_warn_flag
7760 if test -z "$ac_cpp_err"; then
7761 ac_header_preproc=yes
7763 echo "$as_me: failed program was:" >&5
7764 cat conftest.$ac_ext >&5
7765 ac_header_preproc=no
7767 rm -f conftest.err conftest.$ac_ext
7768 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7769 echo "${ECHO_T}$ac_header_preproc" >&6
7771 # So? What about this header?
7772 case $ac_header_compiler:$ac_header_preproc in
7774 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7775 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7776 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7777 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7779 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7780 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7781 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7782 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7783 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7784 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7786 echo "$as_me:$LINENO: checking for $ac_header" >&5
7787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7789 echo $ECHO_N "(cached) $ECHO_C" >&6
7791 eval "$as_ac_Header=$ac_header_preproc"
7793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7798 cat >>confdefs.h <<_ACEOF
7799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7801 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
7802 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
7803 if test "${ac_cv_lib_curses_waddch+set}" = set; then
7804 echo $ECHO_N "(cached) $ECHO_C" >&6
7806 ac_check_lib_save_LIBS=$LIBS
7807 LIBS="-lcurses $LIBS"
7808 cat >conftest.$ac_ext <<_ACEOF
7809 #line $LINENO "configure"
7810 #include "confdefs.h"
7812 /* Override any gcc2 internal prototype to avoid an error. */
7816 /* We use char because int might match the return type of a gcc2
7817 builtin and then its argument prototype would still apply. */
7827 rm -f conftest.$ac_objext conftest$ac_exeext
7828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7829 (eval $ac_link) 2>&5
7831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7832 (exit $ac_status); } &&
7833 { ac_try='test -s conftest$ac_exeext'
7834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7838 (exit $ac_status); }; }; then
7839 ac_cv_lib_curses_waddch=yes
7841 echo "$as_me: failed program was:" >&5
7842 cat conftest.$ac_ext >&5
7843 ac_cv_lib_curses_waddch=no
7845 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7846 LIBS=$ac_check_lib_save_LIBS
7848 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
7849 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
7850 if test $ac_cv_lib_curses_waddch = yes; then
7852 cat >>confdefs.h <<\_ACEOF
7853 #define HAVE_LIBCURSES 1
7856 CURSESLIBS="-lcurses"
7870 LIBS="$CURSESLIBS $LIBS"
7873 for ac_func in getbkgd resizeterm
7875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7876 echo "$as_me:$LINENO: checking for $ac_func" >&5
7877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7878 if eval "test \"\${$as_ac_var+set}\" = set"; then
7879 echo $ECHO_N "(cached) $ECHO_C" >&6
7881 cat >conftest.$ac_ext <<_ACEOF
7882 #line $LINENO "configure"
7883 #include "confdefs.h"
7884 /* System header to define __stub macros and hopefully few prototypes,
7885 which can conflict with char $ac_func (); below. */
7887 /* Override any gcc2 internal prototype to avoid an error. */
7891 /* We use char because int might match the return type of a gcc2
7892 builtin and then its argument prototype would still apply. */
7899 /* The GNU C library defines this for functions which it implements
7900 to always fail with ENOSYS. Some functions are actually named
7901 something starting with __ and the normal name is an alias. */
7902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7912 rm -f conftest.$ac_objext conftest$ac_exeext
7913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7914 (eval $ac_link) 2>&5
7916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7917 (exit $ac_status); } &&
7918 { ac_try='test -s conftest$ac_exeext'
7919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7923 (exit $ac_status); }; }; then
7924 eval "$as_ac_var=yes"
7926 echo "$as_me: failed program was:" >&5
7927 cat conftest.$ac_ext >&5
7928 eval "$as_ac_var=no"
7930 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7934 if test `eval echo '${'$as_ac_var'}'` = yes; then
7935 cat >>confdefs.h <<_ACEOF
7936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7946 # Extract the first word of "sane-config", so it can be a program name with args.
7947 set dummy sane-config; ac_word=$2
7948 echo "$as_me:$LINENO: checking for $ac_word" >&5
7949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7950 if test "${ac_cv_prog_sane_devel+set}" = set; then
7951 echo $ECHO_N "(cached) $ECHO_C" >&6
7953 if test -n "$sane_devel"; then
7954 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
7956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7960 test -z "$as_dir" && as_dir=.
7961 for ac_exec_ext in '' $ac_executable_extensions; do
7962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7963 ac_cv_prog_sane_devel="sane-config"
7964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7970 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
7973 sane_devel=$ac_cv_prog_sane_devel
7974 if test -n "$sane_devel"; then
7975 echo "$as_me:$LINENO: result: $sane_devel" >&5
7976 echo "${ECHO_T}$sane_devel" >&6
7978 echo "$as_me:$LINENO: result: no" >&5
7979 echo "${ECHO_T}no" >&6
7982 if test "$sane_devel" = "no"
7987 SANELIBS="`$sane_devel --libs`"
7988 SANEINCL="`$sane_devel --cflags`"
7989 ac_save_CPPFLAGS="$CPPFLAGS"
7990 ac_save_LIBS="$LIBS"
7991 CPPFLAGS="$CPPFLAGS $SANEINCL"
7992 LIBS="$LIBS $SANELIBS"
7993 if test "${ac_cv_header_sane_sane_h+set}" = set; then
7994 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
7995 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
7996 if test "${ac_cv_header_sane_sane_h+set}" = set; then
7997 echo $ECHO_N "(cached) $ECHO_C" >&6
7999 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8000 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8002 # Is the header compilable?
8003 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
8004 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
8005 cat >conftest.$ac_ext <<_ACEOF
8006 #line $LINENO "configure"
8007 #include "confdefs.h"
8008 $ac_includes_default
8009 #include <sane/sane.h>
8011 rm -f conftest.$ac_objext
8012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8013 (eval $ac_compile) 2>&5
8015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016 (exit $ac_status); } &&
8017 { ac_try='test -s conftest.$ac_objext'
8018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8022 (exit $ac_status); }; }; then
8023 ac_header_compiler=yes
8025 echo "$as_me: failed program was:" >&5
8026 cat conftest.$ac_ext >&5
8027 ac_header_compiler=no
8029 rm -f conftest.$ac_objext conftest.$ac_ext
8030 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8031 echo "${ECHO_T}$ac_header_compiler" >&6
8033 # Is the header present?
8034 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
8035 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
8036 cat >conftest.$ac_ext <<_ACEOF
8037 #line $LINENO "configure"
8038 #include "confdefs.h"
8039 #include <sane/sane.h>
8041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8042 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8044 grep -v '^ *+' conftest.er1 >conftest.err
8046 cat conftest.err >&5
8047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8048 (exit $ac_status); } >/dev/null; then
8049 if test -s conftest.err; then
8050 ac_cpp_err=$ac_c_preproc_warn_flag
8057 if test -z "$ac_cpp_err"; then
8058 ac_header_preproc=yes
8060 echo "$as_me: failed program was:" >&5
8061 cat conftest.$ac_ext >&5
8062 ac_header_preproc=no
8064 rm -f conftest.err conftest.$ac_ext
8065 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8066 echo "${ECHO_T}$ac_header_preproc" >&6
8068 # So? What about this header?
8069 case $ac_header_compiler:$ac_header_preproc in
8071 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
8072 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8073 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8074 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;};;
8076 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
8077 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
8078 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
8079 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
8080 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8081 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;};;
8083 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
8084 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
8085 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8086 echo $ECHO_N "(cached) $ECHO_C" >&6
8088 ac_cv_header_sane_sane_h=$ac_header_preproc
8090 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8091 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8094 if test $ac_cv_header_sane_sane_h = yes; then
8095 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
8096 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
8097 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
8098 echo $ECHO_N "(cached) $ECHO_C" >&6
8100 ac_check_lib_save_LIBS=$LIBS
8102 cat >conftest.$ac_ext <<_ACEOF
8103 #line $LINENO "configure"
8104 #include "confdefs.h"
8106 /* Override any gcc2 internal prototype to avoid an error. */
8110 /* We use char because int might match the return type of a gcc2
8111 builtin and then its argument prototype would still apply. */
8121 rm -f conftest.$ac_objext conftest$ac_exeext
8122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8123 (eval $ac_link) 2>&5
8125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8126 (exit $ac_status); } &&
8127 { ac_try='test -s conftest$ac_exeext'
8128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132 (exit $ac_status); }; }; then
8133 ac_cv_lib_sane_sane_open=yes
8135 echo "$as_me: failed program was:" >&5
8136 cat conftest.$ac_ext >&5
8137 ac_cv_lib_sane_sane_open=no
8139 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8140 LIBS=$ac_check_lib_save_LIBS
8142 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
8143 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
8144 if test $ac_cv_lib_sane_sane_open = yes; then
8146 cat >>confdefs.h <<\_ACEOF
8161 LIBS="$ac_save_LIBS"
8162 CPPFLAGS="$ac_save_CPPFLAGS"
8167 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
8168 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
8169 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
8170 echo $ECHO_N "(cached) $ECHO_C" >&6
8172 ac_check_lib_save_LIBS=$LIBS
8173 LIBS="-lfreetype $X_LIBS $LIBS"
8174 cat >conftest.$ac_ext <<_ACEOF
8175 #line $LINENO "configure"
8176 #include "confdefs.h"
8178 /* Override any gcc2 internal prototype to avoid an error. */
8182 /* We use char because int might match the return type of a gcc2
8183 builtin and then its argument prototype would still apply. */
8184 char FT_Init_FreeType ();
8188 FT_Init_FreeType ();
8193 rm -f conftest.$ac_objext conftest$ac_exeext
8194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8195 (eval $ac_link) 2>&5
8197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8198 (exit $ac_status); } &&
8199 { ac_try='test -s conftest$ac_exeext'
8200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8204 (exit $ac_status); }; }; then
8205 ac_cv_lib_freetype_FT_Init_FreeType=yes
8207 echo "$as_me: failed program was:" >&5
8208 cat conftest.$ac_ext >&5
8209 ac_cv_lib_freetype_FT_Init_FreeType=no
8211 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8212 LIBS=$ac_check_lib_save_LIBS
8214 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
8215 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
8216 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
8222 if test "$ft_lib" = "no"
8225 wine_cv_msg_freetype=no
8227 # Extract the first word of "freetype-config", so it can be a program name with args.
8228 set dummy freetype-config; ac_word=$2
8229 echo "$as_me:$LINENO: checking for $ac_word" >&5
8230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8231 if test "${ac_cv_prog_ft_devel+set}" = set; then
8232 echo $ECHO_N "(cached) $ECHO_C" >&6
8234 if test -n "$ft_devel"; then
8235 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
8237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8241 test -z "$as_dir" && as_dir=.
8242 for ac_exec_ext in '' $ac_executable_extensions; do
8243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8244 ac_cv_prog_ft_devel="freetype-config"
8245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8251 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
8254 ft_devel=$ac_cv_prog_ft_devel
8255 if test -n "$ft_devel"; then
8256 echo "$as_me:$LINENO: result: $ft_devel" >&5
8257 echo "${ECHO_T}$ft_devel" >&6
8259 echo "$as_me:$LINENO: result: no" >&5
8260 echo "${ECHO_T}no" >&6
8263 if test "$ft_devel" = "no"
8265 # Extract the first word of "freetype2-config", so it can be a program name with args.
8266 set dummy freetype2-config; ac_word=$2
8267 echo "$as_me:$LINENO: checking for $ac_word" >&5
8268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8269 if test "${ac_cv_prog_ft_devel2+set}" = set; then
8270 echo $ECHO_N "(cached) $ECHO_C" >&6
8272 if test -n "$ft_devel2"; then
8273 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
8275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8279 test -z "$as_dir" && as_dir=.
8280 for ac_exec_ext in '' $ac_executable_extensions; do
8281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8282 ac_cv_prog_ft_devel2="freetype2-config"
8283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8289 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
8292 ft_devel2=$ac_cv_prog_ft_devel2
8293 if test -n "$ft_devel2"; then
8294 echo "$as_me:$LINENO: result: $ft_devel2" >&5
8295 echo "${ECHO_T}$ft_devel2" >&6
8297 echo "$as_me:$LINENO: result: no" >&5
8298 echo "${ECHO_T}no" >&6
8301 if test "$ft_devel2" = "freetype2-config"
8306 if test "$ft_devel" = "no"
8309 wine_cv_msg_freetype=yes
8311 FREETYPEINCL=`$ft_devel --cflags`
8312 ac_save_CPPFLAGS="$CPPFLAGS"
8313 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
8322 for ac_header in freetype/freetype.h \
8323 freetype/ftglyph.h \
8324 freetype/tttables.h \
8325 freetype/ftnames.h \
8326 freetype/ftsnames.h \
8327 freetype/ttnameid.h \
8328 freetype/ftoutln.h \
8329 freetype/internal/sfnt.h
8331 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8333 echo "$as_me:$LINENO: checking for $ac_header" >&5
8334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8336 echo $ECHO_N "(cached) $ECHO_C" >&6
8338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8341 # Is the header compilable?
8342 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8343 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8344 cat >conftest.$ac_ext <<_ACEOF
8345 #line $LINENO "configure"
8346 #include "confdefs.h"
8347 $ac_includes_default
8348 #include <$ac_header>
8350 rm -f conftest.$ac_objext
8351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8352 (eval $ac_compile) 2>&5
8354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355 (exit $ac_status); } &&
8356 { ac_try='test -s conftest.$ac_objext'
8357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8361 (exit $ac_status); }; }; then
8362 ac_header_compiler=yes
8364 echo "$as_me: failed program was:" >&5
8365 cat conftest.$ac_ext >&5
8366 ac_header_compiler=no
8368 rm -f conftest.$ac_objext conftest.$ac_ext
8369 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8370 echo "${ECHO_T}$ac_header_compiler" >&6
8372 # Is the header present?
8373 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8374 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8375 cat >conftest.$ac_ext <<_ACEOF
8376 #line $LINENO "configure"
8377 #include "confdefs.h"
8378 #include <$ac_header>
8380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8381 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8383 grep -v '^ *+' conftest.er1 >conftest.err
8385 cat conftest.err >&5
8386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387 (exit $ac_status); } >/dev/null; then
8388 if test -s conftest.err; then
8389 ac_cpp_err=$ac_c_preproc_warn_flag
8396 if test -z "$ac_cpp_err"; then
8397 ac_header_preproc=yes
8399 echo "$as_me: failed program was:" >&5
8400 cat conftest.$ac_ext >&5
8401 ac_header_preproc=no
8403 rm -f conftest.err conftest.$ac_ext
8404 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8405 echo "${ECHO_T}$ac_header_preproc" >&6
8407 # So? What about this header?
8408 case $ac_header_compiler:$ac_header_preproc in
8410 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8411 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8413 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8415 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8416 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8417 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8418 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8419 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8420 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8422 echo "$as_me:$LINENO: checking for $ac_header" >&5
8423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8425 echo $ECHO_N "(cached) $ECHO_C" >&6
8427 eval "$as_ac_Header=$ac_header_preproc"
8429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8433 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8434 cat >>confdefs.h <<_ACEOF
8435 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8442 cat >conftest.$ac_ext <<_ACEOF
8443 #line $LINENO "configure"
8444 #include "confdefs.h"
8445 #include <ft2build.h>
8446 #include <freetype/fttrigon.h>
8448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8449 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8451 grep -v '^ *+' conftest.er1 >conftest.err
8453 cat conftest.err >&5
8454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8455 (exit $ac_status); } >/dev/null; then
8456 if test -s conftest.err; then
8457 ac_cpp_err=$ac_c_preproc_warn_flag
8464 if test -z "$ac_cpp_err"; then
8466 cat >>confdefs.h <<\_ACEOF
8467 #define HAVE_FREETYPE_FTTRIGON_H 1
8470 wine_cv_fttrigon=yes
8472 echo "$as_me: failed program was:" >&5
8473 cat conftest.$ac_ext >&5
8476 rm -f conftest.err conftest.$ac_ext
8477 CPPFLAGS="$ac_save_CPPFLAGS"
8478 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
8481 cat >>confdefs.h <<\_ACEOF
8482 #define HAVE_FREETYPE 1
8485 wine_cv_msg_freetype=no
8488 wine_cv_msg_freetype=yes
8494 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
8495 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
8496 if test "${ac_cv_c_ppdev+set}" = set; then
8497 echo $ECHO_N "(cached) $ECHO_C" >&6
8499 cat >conftest.$ac_ext <<_ACEOF
8500 #line $LINENO "configure"
8501 #include "confdefs.h"
8502 #include <linux/ppdev.h>
8511 rm -f conftest.$ac_objext
8512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8513 (eval $ac_compile) 2>&5
8515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516 (exit $ac_status); } &&
8517 { ac_try='test -s conftest.$ac_objext'
8518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522 (exit $ac_status); }; }; then
8525 echo "$as_me: failed program was:" >&5
8526 cat conftest.$ac_ext >&5
8529 rm -f conftest.$ac_objext conftest.$ac_ext
8532 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
8533 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
8534 if test "$ac_cv_c_ppdev" = "yes"
8537 cat >>confdefs.h <<\_ACEOF
8538 #define HAVE_PPDEV 1
8543 echo "$as_me:$LINENO: checking for va_copy" >&5
8544 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
8545 if test "${ac_cv_c_va_copy+set}" = set; then
8546 echo $ECHO_N "(cached) $ECHO_C" >&6
8548 cat >conftest.$ac_ext <<_ACEOF
8549 #line $LINENO "configure"
8550 #include "confdefs.h"
8562 rm -f conftest.$ac_objext conftest$ac_exeext
8563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8564 (eval $ac_link) 2>&5
8566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567 (exit $ac_status); } &&
8568 { ac_try='test -s conftest$ac_exeext'
8569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573 (exit $ac_status); }; }; then
8574 ac_cv_c_va_copy="yes"
8576 echo "$as_me: failed program was:" >&5
8577 cat conftest.$ac_ext >&5
8578 ac_cv_c_va_copy="no"
8580 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8583 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
8584 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
8585 if test "$ac_cv_c_va_copy" = "yes"
8588 cat >>confdefs.h <<\_ACEOF
8589 #define HAVE_VA_COPY 1
8593 echo "$as_me:$LINENO: checking for __va_copy" >&5
8594 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
8595 if test "${ac_cv_c___va_copy+set}" = set; then
8596 echo $ECHO_N "(cached) $ECHO_C" >&6
8598 cat >conftest.$ac_ext <<_ACEOF
8599 #line $LINENO "configure"
8600 #include "confdefs.h"
8612 rm -f conftest.$ac_objext conftest$ac_exeext
8613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8614 (eval $ac_link) 2>&5
8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 (exit $ac_status); } &&
8618 { ac_try='test -s conftest$ac_exeext'
8619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8623 (exit $ac_status); }; }; then
8624 ac_cv_c___va_copy="yes"
8626 echo "$as_me: failed program was:" >&5
8627 cat conftest.$ac_ext >&5
8628 ac_cv_c___va_copy="no"
8630 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8633 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
8634 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
8635 if test "$ac_cv_c___va_copy" = "yes"
8638 cat >>confdefs.h <<\_ACEOF
8639 #define HAVE___VA_COPY 1
8644 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
8645 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
8646 if test "${ac_cv_c_ipx_gnu+set}" = set; then
8647 echo $ECHO_N "(cached) $ECHO_C" >&6
8649 cat >conftest.$ac_ext <<_ACEOF
8650 #line $LINENO "configure"
8651 #include "confdefs.h"
8652 #include <sys/types.h>
8653 #ifdef HAVE_SYS_SOCKET_H
8654 # include <sys/socket.h>
8656 #include <netipx/ipx.h>
8660 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
8665 rm -f conftest.$ac_objext
8666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8667 (eval $ac_compile) 2>&5
8669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670 (exit $ac_status); } &&
8671 { ac_try='test -s conftest.$ac_objext'
8672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); }; }; then
8677 ac_cv_c_ipx_gnu="yes"
8679 echo "$as_me: failed program was:" >&5
8680 cat conftest.$ac_ext >&5
8681 ac_cv_c_ipx_gnu="no"
8683 rm -f conftest.$ac_objext conftest.$ac_ext
8686 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
8687 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
8688 if test "$ac_cv_c_ipx_gnu" = "yes"
8691 cat >>confdefs.h <<\_ACEOF
8692 #define HAVE_IPX_GNU 1
8697 if test "$ac_cv_c_ipx_gnu" = "no"
8699 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
8700 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
8701 if test "${ac_cv_c_ipx_linux+set}" = set; then
8702 echo $ECHO_N "(cached) $ECHO_C" >&6
8704 cat >conftest.$ac_ext <<_ACEOF
8705 #line $LINENO "configure"
8706 #include "confdefs.h"
8707 #include <sys/types.h>
8708 #ifdef HAVE_SYS_SOCKET_H
8709 # include <sys/socket.h>
8711 #include <asm/types.h>
8712 #include <linux/ipx.h>
8716 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
8721 rm -f conftest.$ac_objext
8722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8723 (eval $ac_compile) 2>&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); } &&
8727 { ac_try='test -s conftest.$ac_objext'
8728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); }; }; then
8733 ac_cv_c_ipx_linux="yes"
8735 echo "$as_me: failed program was:" >&5
8736 cat conftest.$ac_ext >&5
8737 ac_cv_c_ipx_linux="no"
8739 rm -f conftest.$ac_objext conftest.$ac_ext
8742 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
8743 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
8744 if test "$ac_cv_c_ipx_linux" = "yes"
8747 cat >>confdefs.h <<\_ACEOF
8748 #define HAVE_IPX_LINUX 1
8757 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
8759 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8761 echo "$as_me:$LINENO: checking for $ac_header" >&5
8762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8764 echo $ECHO_N "(cached) $ECHO_C" >&6
8766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8769 # Is the header compilable?
8770 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8771 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8772 cat >conftest.$ac_ext <<_ACEOF
8773 #line $LINENO "configure"
8774 #include "confdefs.h"
8775 $ac_includes_default
8776 #include <$ac_header>
8778 rm -f conftest.$ac_objext
8779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8780 (eval $ac_compile) 2>&5
8782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8783 (exit $ac_status); } &&
8784 { ac_try='test -s conftest.$ac_objext'
8785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8789 (exit $ac_status); }; }; then
8790 ac_header_compiler=yes
8792 echo "$as_me: failed program was:" >&5
8793 cat conftest.$ac_ext >&5
8794 ac_header_compiler=no
8796 rm -f conftest.$ac_objext conftest.$ac_ext
8797 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8798 echo "${ECHO_T}$ac_header_compiler" >&6
8800 # Is the header present?
8801 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8802 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8803 cat >conftest.$ac_ext <<_ACEOF
8804 #line $LINENO "configure"
8805 #include "confdefs.h"
8806 #include <$ac_header>
8808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8809 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8811 grep -v '^ *+' conftest.er1 >conftest.err
8813 cat conftest.err >&5
8814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8815 (exit $ac_status); } >/dev/null; then
8816 if test -s conftest.err; then
8817 ac_cpp_err=$ac_c_preproc_warn_flag
8824 if test -z "$ac_cpp_err"; then
8825 ac_header_preproc=yes
8827 echo "$as_me: failed program was:" >&5
8828 cat conftest.$ac_ext >&5
8829 ac_header_preproc=no
8831 rm -f conftest.err conftest.$ac_ext
8832 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8833 echo "${ECHO_T}$ac_header_preproc" >&6
8835 # So? What about this header?
8836 case $ac_header_compiler:$ac_header_preproc in
8838 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8839 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8840 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8841 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8843 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8844 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8845 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8846 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8848 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8850 echo "$as_me:$LINENO: checking for $ac_header" >&5
8851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8853 echo $ECHO_N "(cached) $ECHO_C" >&6
8855 eval "$as_ac_Header=$ac_header_preproc"
8857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8862 cat >>confdefs.h <<_ACEOF
8863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8871 echo "$as_me:$LINENO: checking for Open Sound System" >&5
8872 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
8873 if test "${ac_cv_c_opensoundsystem+set}" = set; then
8874 echo $ECHO_N "(cached) $ECHO_C" >&6
8876 cat >conftest.$ac_ext <<_ACEOF
8877 #line $LINENO "configure"
8878 #include "confdefs.h"
8880 #if defined(HAVE_SYS_SOUNDCARD_H)
8881 #include <sys/soundcard.h>
8882 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
8883 #include <machine/soundcard.h>
8884 #elif defined(HAVE_SOUNDCARD_H)
8885 #include <soundcard.h>
8893 /* check for one of the Open Sound System specific SNDCTL_ defines */
8894 #if !defined(SNDCTL_DSP_STEREO)
8895 #error No open sound system
8902 rm -f conftest.$ac_objext
8903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8904 (eval $ac_compile) 2>&5
8906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907 (exit $ac_status); } &&
8908 { ac_try='test -s conftest.$ac_objext'
8909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913 (exit $ac_status); }; }; then
8914 ac_cv_c_opensoundsystem="yes"
8916 echo "$as_me: failed program was:" >&5
8917 cat conftest.$ac_ext >&5
8918 ac_cv_c_opensoundsystem="no"
8920 rm -f conftest.$ac_objext conftest.$ac_ext
8922 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
8923 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
8925 if test "$ac_cv_c_opensoundsystem" = "yes"
8928 cat >>confdefs.h <<\_ACEOF
8934 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
8935 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
8936 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
8937 echo $ECHO_N "(cached) $ECHO_C" >&6
8939 cat >conftest.$ac_ext <<_ACEOF
8940 #line $LINENO "configure"
8941 #include "confdefs.h"
8943 #if defined(HAVE_SYS_SOUNDCARD_H)
8944 #include <sys/soundcard.h>
8945 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
8946 #include <machine/soundcard.h>
8947 #elif defined(HAVE_SOUNDCARD_H)
8948 #include <soundcard.h>
8956 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
8957 #if !defined(SNDCTL_SEQ_SYNC)
8958 #error No open sound system MIDI interface
8965 rm -f conftest.$ac_objext
8966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8967 (eval $ac_compile) 2>&5
8969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8970 (exit $ac_status); } &&
8971 { ac_try='test -s conftest.$ac_objext'
8972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8976 (exit $ac_status); }; }; then
8977 ac_cv_c_opensoundsystem_midi="yes"
8979 echo "$as_me: failed program was:" >&5
8980 cat conftest.$ac_ext >&5
8981 ac_cv_c_opensoundsystem_midi="no"
8983 rm -f conftest.$ac_objext conftest.$ac_ext
8985 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
8986 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
8988 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
8991 cat >>confdefs.h <<\_ACEOF
8992 #define HAVE_OSS_MIDI 1
8997 # Extract the first word of "artsc-config", so it can be a program name with args.
8998 set dummy artsc-config; ac_word=$2
8999 echo "$as_me:$LINENO: checking for $ac_word" >&5
9000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9001 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
9002 echo $ECHO_N "(cached) $ECHO_C" >&6
9004 case $ARTSCCONFIG in
9006 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
9009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9013 test -z "$as_dir" && as_dir=.
9014 for ac_exec_ext in '' $ac_executable_extensions; do
9015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9016 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
9017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9026 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
9028 if test -n "$ARTSCCONFIG"; then
9029 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
9030 echo "${ECHO_T}$ARTSCCONFIG" >&6
9032 echo "$as_me:$LINENO: result: no" >&5
9033 echo "${ECHO_T}no" >&6
9036 echo "$as_me:$LINENO: checking for aRts Sound server" >&5
9037 echo $ECHO_N "checking for aRts Sound server... $ECHO_C" >&6
9038 if test "${ac_cv_c_artsserver+set}" = set; then
9039 echo $ECHO_N "(cached) $ECHO_C" >&6
9041 if test x$ARTSCCONFIG = x -o x$ARTSCCONFIG = x'"$ARTSCCONFIG"';
9043 ac_cv_c_artsserver=no
9045 ARTSC_CFLAGS=`$ARTSCCONFIG --cflags`
9046 ARTSC_LIBS=`$ARTSCCONFIG --libs`
9047 ac_cv_c_artsserver=no
9048 save_CFLAGS="$CFLAGS"
9049 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
9050 cat >conftest.$ac_ext <<_ACEOF
9051 #line $LINENO "configure"
9052 #include "confdefs.h"
9060 arts_stream_t stream;
9066 rm -f conftest.$ac_objext
9067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9068 (eval $ac_compile) 2>&5
9070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9071 (exit $ac_status); } &&
9072 { ac_try='test -s conftest.$ac_objext'
9073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9077 (exit $ac_status); }; }; then
9079 ac_cv_c_artsserver=yes
9082 echo "$as_me: failed program was:" >&5
9083 cat conftest.$ac_ext >&5
9085 rm -f conftest.$ac_objext conftest.$ac_ext
9086 CFLAGS="$save_CFLAGS"
9089 echo "$as_me:$LINENO: result: $ac_cv_c_artsserver" >&5
9090 echo "${ECHO_T}$ac_cv_c_artsserver" >&6
9092 if test "$ac_cv_c_artsserver" = "yes"
9094 ARTSLIBS=$ARTSC_LIBS
9096 ARTSINCL=$ARTSC_CFLAGS
9100 cat >>confdefs.h <<\_ACEOF
9110 for ac_header in alsa/asoundlib.h sys/asoundlib.h
9112 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9114 echo "$as_me:$LINENO: checking for $ac_header" >&5
9115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9117 echo $ECHO_N "(cached) $ECHO_C" >&6
9119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9120 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9122 # Is the header compilable?
9123 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9124 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9125 cat >conftest.$ac_ext <<_ACEOF
9126 #line $LINENO "configure"
9127 #include "confdefs.h"
9128 $ac_includes_default
9129 #include <$ac_header>
9131 rm -f conftest.$ac_objext
9132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9133 (eval $ac_compile) 2>&5
9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136 (exit $ac_status); } &&
9137 { ac_try='test -s conftest.$ac_objext'
9138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142 (exit $ac_status); }; }; then
9143 ac_header_compiler=yes
9145 echo "$as_me: failed program was:" >&5
9146 cat conftest.$ac_ext >&5
9147 ac_header_compiler=no
9149 rm -f conftest.$ac_objext conftest.$ac_ext
9150 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9151 echo "${ECHO_T}$ac_header_compiler" >&6
9153 # Is the header present?
9154 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9155 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9156 cat >conftest.$ac_ext <<_ACEOF
9157 #line $LINENO "configure"
9158 #include "confdefs.h"
9159 #include <$ac_header>
9161 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9162 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9164 grep -v '^ *+' conftest.er1 >conftest.err
9166 cat conftest.err >&5
9167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9168 (exit $ac_status); } >/dev/null; then
9169 if test -s conftest.err; then
9170 ac_cpp_err=$ac_c_preproc_warn_flag
9177 if test -z "$ac_cpp_err"; then
9178 ac_header_preproc=yes
9180 echo "$as_me: failed program was:" >&5
9181 cat conftest.$ac_ext >&5
9182 ac_header_preproc=no
9184 rm -f conftest.err conftest.$ac_ext
9185 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9186 echo "${ECHO_T}$ac_header_preproc" >&6
9188 # So? What about this header?
9189 case $ac_header_compiler:$ac_header_preproc in
9191 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9192 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9194 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9196 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9197 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9198 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9199 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9201 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9203 echo "$as_me:$LINENO: checking for $ac_header" >&5
9204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9206 echo $ECHO_N "(cached) $ECHO_C" >&6
9208 eval "$as_ac_Header=$ac_header_preproc"
9210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9215 cat >>confdefs.h <<_ACEOF
9216 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9223 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
9225 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
9226 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
9227 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
9228 echo $ECHO_N "(cached) $ECHO_C" >&6
9230 ac_check_lib_save_LIBS=$LIBS
9231 LIBS="-lasound $LIBS"
9232 cat >conftest.$ac_ext <<_ACEOF
9233 #line $LINENO "configure"
9234 #include "confdefs.h"
9236 /* Override any gcc2 internal prototype to avoid an error. */
9240 /* We use char because int might match the return type of a gcc2
9241 builtin and then its argument prototype would still apply. */
9242 char snd_pcm_open ();
9251 rm -f conftest.$ac_objext conftest$ac_exeext
9252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9253 (eval $ac_link) 2>&5
9255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9256 (exit $ac_status); } &&
9257 { ac_try='test -s conftest$ac_exeext'
9258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9262 (exit $ac_status); }; }; then
9263 ac_cv_lib_asound_snd_pcm_open=yes
9265 echo "$as_me: failed program was:" >&5
9266 cat conftest.$ac_ext >&5
9267 ac_cv_lib_asound_snd_pcm_open=no
9269 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9270 LIBS=$ac_check_lib_save_LIBS
9272 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
9273 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
9274 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
9276 cat >>confdefs.h <<\_ACEOF
9289 for ac_header in libaudioio.h
9291 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9293 echo "$as_me:$LINENO: checking for $ac_header" >&5
9294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9296 echo $ECHO_N "(cached) $ECHO_C" >&6
9298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9299 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9301 # Is the header compilable?
9302 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9303 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9304 cat >conftest.$ac_ext <<_ACEOF
9305 #line $LINENO "configure"
9306 #include "confdefs.h"
9307 $ac_includes_default
9308 #include <$ac_header>
9310 rm -f conftest.$ac_objext
9311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9312 (eval $ac_compile) 2>&5
9314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9315 (exit $ac_status); } &&
9316 { ac_try='test -s conftest.$ac_objext'
9317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9321 (exit $ac_status); }; }; then
9322 ac_header_compiler=yes
9324 echo "$as_me: failed program was:" >&5
9325 cat conftest.$ac_ext >&5
9326 ac_header_compiler=no
9328 rm -f conftest.$ac_objext conftest.$ac_ext
9329 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9330 echo "${ECHO_T}$ac_header_compiler" >&6
9332 # Is the header present?
9333 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9334 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9335 cat >conftest.$ac_ext <<_ACEOF
9336 #line $LINENO "configure"
9337 #include "confdefs.h"
9338 #include <$ac_header>
9340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9341 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9343 grep -v '^ *+' conftest.er1 >conftest.err
9345 cat conftest.err >&5
9346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9347 (exit $ac_status); } >/dev/null; then
9348 if test -s conftest.err; then
9349 ac_cpp_err=$ac_c_preproc_warn_flag
9356 if test -z "$ac_cpp_err"; then
9357 ac_header_preproc=yes
9359 echo "$as_me: failed program was:" >&5
9360 cat conftest.$ac_ext >&5
9361 ac_header_preproc=no
9363 rm -f conftest.err conftest.$ac_ext
9364 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9365 echo "${ECHO_T}$ac_header_preproc" >&6
9367 # So? What about this header?
9368 case $ac_header_compiler:$ac_header_preproc in
9370 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9371 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9372 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9373 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9375 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9376 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9377 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9378 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9379 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9380 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9382 echo "$as_me:$LINENO: checking for $ac_header" >&5
9383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9385 echo $ECHO_N "(cached) $ECHO_C" >&6
9387 eval "$as_ac_Header=$ac_header_preproc"
9389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9394 cat >>confdefs.h <<_ACEOF
9395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9397 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
9398 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
9399 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
9400 echo $ECHO_N "(cached) $ECHO_C" >&6
9402 ac_check_lib_save_LIBS=$LIBS
9403 LIBS="-laudioio $LIBS"
9404 cat >conftest.$ac_ext <<_ACEOF
9405 #line $LINENO "configure"
9406 #include "confdefs.h"
9408 /* Override any gcc2 internal prototype to avoid an error. */
9412 /* We use char because int might match the return type of a gcc2
9413 builtin and then its argument prototype would still apply. */
9414 char AudioIOGetVersion ();
9418 AudioIOGetVersion ();
9423 rm -f conftest.$ac_objext conftest$ac_exeext
9424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9425 (eval $ac_link) 2>&5
9427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9428 (exit $ac_status); } &&
9429 { ac_try='test -s conftest$ac_exeext'
9430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9434 (exit $ac_status); }; }; then
9435 ac_cv_lib_audioio_AudioIOGetVersion=yes
9437 echo "$as_me: failed program was:" >&5
9438 cat conftest.$ac_ext >&5
9439 ac_cv_lib_audioio_AudioIOGetVersion=no
9441 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9442 LIBS=$ac_check_lib_save_LIBS
9444 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
9445 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
9446 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
9447 AUDIOIOLIBS="-laudioio"
9449 cat >>confdefs.h <<\_ACEOF
9450 #define HAVE_LIBAUDIOIO 1
9461 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
9462 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
9463 if test "${ac_cv_mmap64_works+set}" = set; then
9464 echo $ECHO_N "(cached) $ECHO_C" >&6
9466 if test "$cross_compiling" = yes; then
9467 ac_cv_mmap64_works="no"
9469 cat >conftest.$ac_ext <<_ACEOF
9470 #line $LINENO "configure"
9471 #include "confdefs.h"
9473 #define _FILE_OFFSET_BITS 64
9477 #include <sys/mman.h>
9480 int main(int argc,char **argv) {
9481 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
9482 if (fd == -1) exit(1);
9484 unlink("conftest.map");
9488 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
9494 fprintf(stderr,"success!\n");
9500 rm -f conftest$ac_exeext
9501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9502 (eval $ac_link) 2>&5
9504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9510 (exit $ac_status); }; }; then
9511 ac_cv_mmap64_works="yes"
9513 echo "$as_me: program exited with status $ac_status" >&5
9514 echo "$as_me: failed program was:" >&5
9515 cat conftest.$ac_ext >&5
9517 ac_cv_mmap64_works="no"
9519 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9522 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
9523 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
9525 if test "$ac_cv_mmap64_works" = "yes"
9528 cat >>confdefs.h <<\_ACEOF
9529 #define _FILE_OFFSET_BITS 64
9535 if test "x${GCC}" = "xyes"
9537 CFLAGS="$CFLAGS -Wall"
9538 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
9539 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
9540 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
9541 echo $ECHO_N "(cached) $ECHO_C" >&6
9543 if test "$cross_compiling" = yes; then
9544 ac_cv_c_gcc_strength_bug="yes"
9546 cat >conftest.$ac_ext <<_ACEOF
9547 #line $LINENO "configure"
9548 #include "confdefs.h"
9550 int L[4] = {0,1,2,3};
9552 static int Array[3];
9555 for(i=0; i<B; i++) Array[i] = i - 3;
9556 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
9559 exit( Array[1] != -2 || L[2] != 3);
9562 rm -f conftest$ac_exeext
9563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9564 (eval $ac_link) 2>&5
9566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9567 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9572 (exit $ac_status); }; }; then
9573 ac_cv_c_gcc_strength_bug="no"
9575 echo "$as_me: program exited with status $ac_status" >&5
9576 echo "$as_me: failed program was:" >&5
9577 cat conftest.$ac_ext >&5
9579 ac_cv_c_gcc_strength_bug="yes"
9581 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9584 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
9585 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
9586 if test "$ac_cv_c_gcc_strength_bug" = "yes"
9588 CFLAGS="$CFLAGS -fno-strength-reduce"
9591 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
9592 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
9593 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
9594 echo $ECHO_N "(cached) $ECHO_C" >&6
9596 ac_wine_try_cflags_saved=$CFLAGS
9597 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
9598 cat >conftest.$ac_ext <<_ACEOF
9599 #line $LINENO "configure"
9600 #include "confdefs.h"
9610 rm -f conftest.$ac_objext conftest$ac_exeext
9611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9612 (eval $ac_link) 2>&5
9614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9615 (exit $ac_status); } &&
9616 { ac_try='test -s conftest$ac_exeext'
9617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9621 (exit $ac_status); }; }; then
9622 ac_cv_c_gcc_stack_boundary="yes"
9624 echo "$as_me: failed program was:" >&5
9625 cat conftest.$ac_ext >&5
9626 ac_cv_c_gcc_stack_boundary="no"
9628 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9629 CFLAGS=$ac_wine_try_cflags_saved
9631 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
9632 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
9633 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
9635 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
9640 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
9641 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
9642 if test "${ac_cv_asm_func_def+set}" = set; then
9643 echo $ECHO_N "(cached) $ECHO_C" >&6
9645 cat >conftest.$ac_ext <<_ACEOF
9646 #line $LINENO "configure"
9647 #include "confdefs.h"
9648 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"); }
9658 rm -f conftest.$ac_objext conftest$ac_exeext
9659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9660 (eval $ac_link) 2>&5
9662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9663 (exit $ac_status); } &&
9664 { ac_try='test -s conftest$ac_exeext'
9665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669 (exit $ac_status); }; }; then
9670 ac_cv_asm_func_def=".def"
9672 echo "$as_me: failed program was:" >&5
9673 cat conftest.$ac_ext >&5
9674 cat >conftest.$ac_ext <<_ACEOF
9675 #line $LINENO "configure"
9676 #include "confdefs.h"
9677 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
9687 rm -f conftest.$ac_objext conftest$ac_exeext
9688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9689 (eval $ac_link) 2>&5
9691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9692 (exit $ac_status); } &&
9693 { ac_try='test -s conftest$ac_exeext'
9694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9698 (exit $ac_status); }; }; then
9699 ac_cv_asm_func_def=".type @function"
9701 echo "$as_me: failed program was:" >&5
9702 cat conftest.$ac_ext >&5
9703 cat >conftest.$ac_ext <<_ACEOF
9704 #line $LINENO "configure"
9705 #include "confdefs.h"
9706 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
9716 rm -f conftest.$ac_objext conftest$ac_exeext
9717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9718 (eval $ac_link) 2>&5
9720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9721 (exit $ac_status); } &&
9722 { ac_try='test -s conftest$ac_exeext'
9723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9727 (exit $ac_status); }; }; then
9728 ac_cv_asm_func_def=".type 2"
9730 echo "$as_me: failed program was:" >&5
9731 cat conftest.$ac_ext >&5
9732 ac_cv_asm_func_def="unknown"
9734 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9736 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9738 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9740 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
9741 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
9745 case "$ac_cv_asm_func_def" in
9747 cat >>confdefs.h <<\_ACEOF
9748 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
9752 cat >>confdefs.h <<\_ACEOF
9753 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
9757 cat >>confdefs.h <<\_ACEOF
9758 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
9762 cat >>confdefs.h <<\_ACEOF
9763 #define __ASM_FUNC(name) ""
9769 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
9770 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
9771 if test "${ac_cv_c_extern_prefix+set}" = set; then
9772 echo $ECHO_N "(cached) $ECHO_C" >&6
9774 cat >conftest.$ac_ext <<_ACEOF
9775 #line $LINENO "configure"
9776 #include "confdefs.h"
9777 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
9782 if (ac_test) return 1
9787 rm -f conftest.$ac_objext conftest$ac_exeext
9788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9789 (eval $ac_link) 2>&5
9791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9792 (exit $ac_status); } &&
9793 { ac_try='test -s conftest$ac_exeext'
9794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9798 (exit $ac_status); }; }; then
9799 ac_cv_c_extern_prefix="yes"
9801 echo "$as_me: failed program was:" >&5
9802 cat conftest.$ac_ext >&5
9803 ac_cv_c_extern_prefix="no"
9805 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9807 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
9808 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
9812 if test "$ac_cv_c_extern_prefix" = "yes"
9814 cat >>confdefs.h <<\_ACEOF
9815 #define __ASM_NAME(name) "_" name
9819 cat >>confdefs.h <<\_ACEOF
9820 #define __ASM_NAME(name) name
9826 echo "$as_me:$LINENO: checking whether stdcall symbols need to be decorated" >&5
9827 echo $ECHO_N "checking whether stdcall symbols need to be decorated... $ECHO_C" >&6
9828 if test "${ac_cv_c_stdcall_decoration+set}" = set; then
9829 echo $ECHO_N "(cached) $ECHO_C" >&6
9831 cat >conftest.$ac_ext <<_ACEOF
9832 #line $LINENO "configure"
9833 #include "confdefs.h"
9834 void ac_asm(void) { asm("\t.globl _ac_test@0\n_ac_test@0:\n\t.globl ac_test@0\nac_test@0:"); }
9835 extern void __attribute__((__stdcall__)) ac_test(void);
9844 rm -f conftest.$ac_objext conftest$ac_exeext
9845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9846 (eval $ac_link) 2>&5
9848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9849 (exit $ac_status); } &&
9850 { ac_try='test -s conftest$ac_exeext'
9851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9855 (exit $ac_status); }; }; then
9856 ac_cv_c_stdcall_decoration="yes"
9858 echo "$as_me: failed program was:" >&5
9859 cat conftest.$ac_ext >&5
9860 ac_cv_c_stdcall_decoration="no"
9862 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9864 echo "$as_me:$LINENO: result: $ac_cv_c_stdcall_decoration" >&5
9865 echo "${ECHO_T}$ac_cv_c_stdcall_decoration" >&6
9866 if test "$ac_cv_c_stdcall_decoration" = "yes"
9869 cat >>confdefs.h <<\_ACEOF
9870 #define NEED_STDCALL_DECORATION 1
9876 echo "$as_me:$LINENO: checking whether assembler accepts .string" >&5
9877 echo $ECHO_N "checking whether assembler accepts .string... $ECHO_C" >&6
9878 if test "${ac_cv_c_asm_string+set}" = set; then
9879 echo $ECHO_N "(cached) $ECHO_C" >&6
9881 cat >conftest.$ac_ext <<_ACEOF
9882 #line $LINENO "configure"
9883 #include "confdefs.h"
9884 void ac_asm(void) { asm(".data\n\t.string \"test\"\n\t.text"); }
9894 rm -f conftest.$ac_objext conftest$ac_exeext
9895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9896 (eval $ac_link) 2>&5
9898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9899 (exit $ac_status); } &&
9900 { ac_try='test -s conftest$ac_exeext'
9901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905 (exit $ac_status); }; }; then
9906 ac_cv_c_asm_string="yes"
9908 echo "$as_me: failed program was:" >&5
9909 cat conftest.$ac_ext >&5
9910 ac_cv_c_asm_string="no"
9912 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9914 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
9915 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
9916 if test "$ac_cv_c_asm_string" = "yes"
9919 cat >>confdefs.h <<\_ACEOF
9920 #define HAVE_ASM_STRING 1
9939 if test -n "$ac_tool_prefix"; then
9940 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
9941 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
9942 echo "$as_me:$LINENO: checking for $ac_word" >&5
9943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9944 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
9945 echo $ECHO_N "(cached) $ECHO_C" >&6
9947 if test -n "$DLLWRAP"; then
9948 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
9950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9954 test -z "$as_dir" && as_dir=.
9955 for ac_exec_ext in '' $ac_executable_extensions; do
9956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9957 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
9958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9966 DLLWRAP=$ac_cv_prog_DLLWRAP
9967 if test -n "$DLLWRAP"; then
9968 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
9969 echo "${ECHO_T}$DLLWRAP" >&6
9971 echo "$as_me:$LINENO: result: no" >&5
9972 echo "${ECHO_T}no" >&6
9976 if test -z "$ac_cv_prog_DLLWRAP"; then
9977 ac_ct_DLLWRAP=$DLLWRAP
9978 # Extract the first word of "dllwrap", so it can be a program name with args.
9979 set dummy dllwrap; ac_word=$2
9980 echo "$as_me:$LINENO: checking for $ac_word" >&5
9981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9982 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
9983 echo $ECHO_N "(cached) $ECHO_C" >&6
9985 if test -n "$ac_ct_DLLWRAP"; then
9986 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
9988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9992 test -z "$as_dir" && as_dir=.
9993 for ac_exec_ext in '' $ac_executable_extensions; do
9994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9995 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
9996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10002 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
10005 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
10006 if test -n "$ac_ct_DLLWRAP"; then
10007 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
10008 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
10010 echo "$as_me:$LINENO: result: no" >&5
10011 echo "${ECHO_T}no" >&6
10014 DLLWRAP=$ac_ct_DLLWRAP
10016 DLLWRAP="$ac_cv_prog_DLLWRAP"
10019 if test "$DLLWRAP" = "false"; then
10027 for ac_header in dlfcn.h
10029 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10031 echo "$as_me:$LINENO: checking for $ac_header" >&5
10032 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10034 echo $ECHO_N "(cached) $ECHO_C" >&6
10036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10037 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10039 # Is the header compilable?
10040 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10041 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10042 cat >conftest.$ac_ext <<_ACEOF
10043 #line $LINENO "configure"
10044 #include "confdefs.h"
10045 $ac_includes_default
10046 #include <$ac_header>
10048 rm -f conftest.$ac_objext
10049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10050 (eval $ac_compile) 2>&5
10052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10053 (exit $ac_status); } &&
10054 { ac_try='test -s conftest.$ac_objext'
10055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10056 (eval $ac_try) 2>&5
10058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10059 (exit $ac_status); }; }; then
10060 ac_header_compiler=yes
10062 echo "$as_me: failed program was:" >&5
10063 cat conftest.$ac_ext >&5
10064 ac_header_compiler=no
10066 rm -f conftest.$ac_objext conftest.$ac_ext
10067 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10068 echo "${ECHO_T}$ac_header_compiler" >&6
10070 # Is the header present?
10071 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10072 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10073 cat >conftest.$ac_ext <<_ACEOF
10074 #line $LINENO "configure"
10075 #include "confdefs.h"
10076 #include <$ac_header>
10078 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10079 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10081 grep -v '^ *+' conftest.er1 >conftest.err
10083 cat conftest.err >&5
10084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10085 (exit $ac_status); } >/dev/null; then
10086 if test -s conftest.err; then
10087 ac_cpp_err=$ac_c_preproc_warn_flag
10094 if test -z "$ac_cpp_err"; then
10095 ac_header_preproc=yes
10097 echo "$as_me: failed program was:" >&5
10098 cat conftest.$ac_ext >&5
10099 ac_header_preproc=no
10101 rm -f conftest.err conftest.$ac_ext
10102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10103 echo "${ECHO_T}$ac_header_preproc" >&6
10105 # So? What about this header?
10106 case $ac_header_compiler:$ac_header_preproc in
10108 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10109 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10111 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10113 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10114 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10115 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10116 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10117 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10118 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10120 echo "$as_me:$LINENO: checking for $ac_header" >&5
10121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10123 echo $ECHO_N "(cached) $ECHO_C" >&6
10125 eval "$as_ac_Header=$ac_header_preproc"
10127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10131 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10132 cat >>confdefs.h <<_ACEOF
10133 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10136 for ac_func in dlopen
10138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10139 echo "$as_me:$LINENO: checking for $ac_func" >&5
10140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10141 if eval "test \"\${$as_ac_var+set}\" = set"; then
10142 echo $ECHO_N "(cached) $ECHO_C" >&6
10144 cat >conftest.$ac_ext <<_ACEOF
10145 #line $LINENO "configure"
10146 #include "confdefs.h"
10147 /* System header to define __stub macros and hopefully few prototypes,
10148 which can conflict with char $ac_func (); below. */
10149 #include <assert.h>
10150 /* Override any gcc2 internal prototype to avoid an error. */
10154 /* We use char because int might match the return type of a gcc2
10155 builtin and then its argument prototype would still apply. */
10162 /* The GNU C library defines this for functions which it implements
10163 to always fail with ENOSYS. Some functions are actually named
10164 something starting with __ and the normal name is an alias. */
10165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10175 rm -f conftest.$ac_objext conftest$ac_exeext
10176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10177 (eval $ac_link) 2>&5
10179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10180 (exit $ac_status); } &&
10181 { ac_try='test -s conftest$ac_exeext'
10182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10183 (eval $ac_try) 2>&5
10185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10186 (exit $ac_status); }; }; then
10187 eval "$as_ac_var=yes"
10189 echo "$as_me: failed program was:" >&5
10190 cat conftest.$ac_ext >&5
10191 eval "$as_ac_var=no"
10193 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10197 if test `eval echo '${'$as_ac_var'}'` = yes; then
10198 cat >>confdefs.h <<_ACEOF
10199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10203 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10204 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10205 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10206 echo $ECHO_N "(cached) $ECHO_C" >&6
10208 ac_check_lib_save_LIBS=$LIBS
10210 cat >conftest.$ac_ext <<_ACEOF
10211 #line $LINENO "configure"
10212 #include "confdefs.h"
10214 /* Override any gcc2 internal prototype to avoid an error. */
10218 /* We use char because int might match the return type of a gcc2
10219 builtin and then its argument prototype would still apply. */
10229 rm -f conftest.$ac_objext conftest$ac_exeext
10230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10231 (eval $ac_link) 2>&5
10233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10234 (exit $ac_status); } &&
10235 { ac_try='test -s conftest$ac_exeext'
10236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10237 (eval $ac_try) 2>&5
10239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10240 (exit $ac_status); }; }; then
10241 ac_cv_lib_dl_dlopen=yes
10243 echo "$as_me: failed program was:" >&5
10244 cat conftest.$ac_ext >&5
10245 ac_cv_lib_dl_dlopen=no
10247 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10248 LIBS=$ac_check_lib_save_LIBS
10250 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10251 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10252 if test $ac_cv_lib_dl_dlopen = yes; then
10254 cat >>confdefs.h <<\_ACEOF
10255 #define HAVE_DLOPEN 1
10273 if test "$LIBEXT" = "so"
10277 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
10278 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
10279 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
10280 echo $ECHO_N "(cached) $ECHO_C" >&6
10282 ac_wine_try_cflags_saved=$CFLAGS
10283 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
10284 cat >conftest.$ac_ext <<_ACEOF
10285 #line $LINENO "configure"
10286 #include "confdefs.h"
10296 rm -f conftest.$ac_objext conftest$ac_exeext
10297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10298 (eval $ac_link) 2>&5
10300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301 (exit $ac_status); } &&
10302 { ac_try='test -s conftest$ac_exeext'
10303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10304 (eval $ac_try) 2>&5
10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10307 (exit $ac_status); }; }; then
10308 ac_cv_c_dll_gnuelf="yes"
10310 echo "$as_me: failed program was:" >&5
10311 cat conftest.$ac_ext >&5
10312 ac_cv_c_dll_gnuelf="no"
10314 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10315 CFLAGS=$ac_wine_try_cflags_saved
10317 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
10318 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
10319 if test "$ac_cv_c_dll_gnuelf" = "yes"
10321 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
10322 LDDLLFLAGS="-Wl,-Bsymbolic"
10323 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
10324 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
10325 if test "${ac_cv_c_dll_zdefs+set}" = set; then
10326 echo $ECHO_N "(cached) $ECHO_C" >&6
10328 ac_wine_try_cflags_saved=$CFLAGS
10329 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
10330 cat >conftest.$ac_ext <<_ACEOF
10331 #line $LINENO "configure"
10332 #include "confdefs.h"
10342 rm -f conftest.$ac_objext conftest$ac_exeext
10343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10344 (eval $ac_link) 2>&5
10346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10347 (exit $ac_status); } &&
10348 { ac_try='test -s conftest$ac_exeext'
10349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10350 (eval $ac_try) 2>&5
10352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10353 (exit $ac_status); }; }; then
10354 ac_cv_c_dll_zdefs="yes"
10356 echo "$as_me: failed program was:" >&5
10357 cat conftest.$ac_ext >&5
10358 ac_cv_c_dll_zdefs="no"
10360 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10361 CFLAGS=$ac_wine_try_cflags_saved
10363 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
10364 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
10365 if test "$ac_cv_c_dll_zdefs" = "yes"
10367 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
10370 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
10371 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
10372 if test "${ac_cv_c_dll_unixware+set}" = set; then
10373 echo $ECHO_N "(cached) $ECHO_C" >&6
10375 ac_wine_try_cflags_saved=$CFLAGS
10376 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
10377 cat >conftest.$ac_ext <<_ACEOF
10378 #line $LINENO "configure"
10379 #include "confdefs.h"
10389 rm -f conftest.$ac_objext conftest$ac_exeext
10390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10391 (eval $ac_link) 2>&5
10393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394 (exit $ac_status); } &&
10395 { ac_try='test -s conftest$ac_exeext'
10396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10397 (eval $ac_try) 2>&5
10399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400 (exit $ac_status); }; }; then
10401 ac_cv_c_dll_unixware="yes"
10403 echo "$as_me: failed program was:" >&5
10404 cat conftest.$ac_ext >&5
10405 ac_cv_c_dll_unixware="no"
10407 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10408 CFLAGS=$ac_wine_try_cflags_saved
10410 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
10411 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
10412 if test "$ac_cv_c_dll_unixware" = "yes"
10414 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
10415 LDDLLFLAGS="-Wl,-B,symbolic"
10422 if test "$cross_compiling" = "no"
10424 for ac_prog in i586-mingw32msvc-gcc
10426 # Extract the first word of "$ac_prog", so it can be a program name with args.
10427 set dummy $ac_prog; ac_word=$2
10428 echo "$as_me:$LINENO: checking for $ac_word" >&5
10429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10430 if test "${ac_cv_prog_CROSSCC+set}" = set; then
10431 echo $ECHO_N "(cached) $ECHO_C" >&6
10433 if test -n "$CROSSCC"; then
10434 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10437 for as_dir in $PATH
10440 test -z "$as_dir" && as_dir=.
10441 for ac_exec_ext in '' $ac_executable_extensions; do
10442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10443 ac_cv_prog_CROSSCC="$ac_prog"
10444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10452 CROSSCC=$ac_cv_prog_CROSSCC
10453 if test -n "$CROSSCC"; then
10454 echo "$as_me:$LINENO: result: $CROSSCC" >&5
10455 echo "${ECHO_T}$CROSSCC" >&6
10457 echo "$as_me:$LINENO: result: no" >&5
10458 echo "${ECHO_T}no" >&6
10461 test -n "$CROSSCC" && break
10463 test -n "$CROSSCC" || CROSSCC="false"
10465 for ac_prog in i586-mingw32msvc-dlltool
10467 # Extract the first word of "$ac_prog", so it can be a program name with args.
10468 set dummy $ac_prog; ac_word=$2
10469 echo "$as_me:$LINENO: checking for $ac_word" >&5
10470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10471 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
10472 echo $ECHO_N "(cached) $ECHO_C" >&6
10474 if test -n "$DLLTOOL"; then
10475 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
10477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10478 for as_dir in $PATH
10481 test -z "$as_dir" && as_dir=.
10482 for ac_exec_ext in '' $ac_executable_extensions; do
10483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10484 ac_cv_prog_DLLTOOL="$ac_prog"
10485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10493 DLLTOOL=$ac_cv_prog_DLLTOOL
10494 if test -n "$DLLTOOL"; then
10495 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
10496 echo "${ECHO_T}$DLLTOOL" >&6
10498 echo "$as_me:$LINENO: result: no" >&5
10499 echo "${ECHO_T}no" >&6
10502 test -n "$DLLTOOL" && break
10504 test -n "$DLLTOOL" || DLLTOOL="false"
10506 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
10511 if test "$LIBEXT" = "a"; then
10512 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
10513 It is currently not possible to build Wine without shared library
10514 (.so) support to allow transparent switch between .so and .dll files.
10515 If you are using Linux, you will need a newer binutils.
10517 echo "$as_me: error: could not find a way to build shared libraries.
10518 It is currently not possible to build Wine without shared library
10519 (.so) support to allow transparent switch between .so and .dll files.
10520 If you are using Linux, you will need a newer binutils.
10522 { (exit 1); exit 1; }; }
10527 LDPATH="PATH=\"\$(TOOLSDIR)/library:\$(TOOLSDIR)/unicode:\$\$PATH\""
10530 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/library:\$(TOOLSDIR)/unicode:\$\$LD_LIBRARY_PATH\""
10538 CRTLIBS="-lmsvcrt" ;;
10542 if test "$LIBEXT" = "so"
10544 # Extract the first word of "ldd", so it can be a program name with args.
10545 set dummy ldd; ac_word=$2
10546 echo "$as_me:$LINENO: checking for $ac_word" >&5
10547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10548 if test "${ac_cv_path_LDD+set}" = set; then
10549 echo $ECHO_N "(cached) $ECHO_C" >&6
10553 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
10556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10557 as_dummy="/sbin:/usr/sbin:$PATH"
10558 for as_dir in $as_dummy
10561 test -z "$as_dir" && as_dir=.
10562 for ac_exec_ext in '' $ac_executable_extensions; do
10563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10564 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
10565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10571 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
10575 LDD=$ac_cv_path_LDD
10577 if test -n "$LDD"; then
10578 echo "$as_me:$LINENO: result: $LDD" >&5
10579 echo "${ECHO_T}$LDD" >&6
10581 echo "$as_me:$LINENO: result: no" >&5
10582 echo "${ECHO_T}no" >&6
10586 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
10587 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
10588 if test "${ac_cv_lib_soname_X11+set}" = set; then
10589 echo $ECHO_N "(cached) $ECHO_C" >&6
10591 ac_get_soname_save_LIBS=$LIBS
10592 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10593 cat >conftest.$ac_ext <<_ACEOF
10594 #line $LINENO "configure"
10595 #include "confdefs.h"
10597 /* Override any gcc2 internal prototype to avoid an error. */
10601 /* We use char because int might match the return type of a gcc2
10602 builtin and then its argument prototype would still apply. */
10603 char XCreateWindow ();
10612 rm -f conftest.$ac_objext conftest$ac_exeext
10613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10614 (eval $ac_link) 2>&5
10616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10617 (exit $ac_status); } &&
10618 { ac_try='test -s conftest$ac_exeext'
10619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10620 (eval $ac_try) 2>&5
10622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623 (exit $ac_status); }; }; then
10624 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10625 if test "x$ac_cv_lib_soname_X11" = "x"
10627 ac_cv_lib_soname_X11="libX11.so"
10630 echo "$as_me: failed program was:" >&5
10631 cat conftest.$ac_ext >&5
10632 ac_cv_lib_soname_X11="libX11.so"
10634 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10635 LIBS=$ac_get_soname_save_LIBS
10637 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
10638 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
10639 if test "x$ac_cv_lib_soname_X11" != xNONE
10641 cat >>confdefs.h <<_ACEOF
10642 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10646 echo "$as_me:$LINENO: checking for -lXext soname" >&5
10647 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
10648 if test "${ac_cv_lib_soname_Xext+set}" = set; then
10649 echo $ECHO_N "(cached) $ECHO_C" >&6
10651 ac_get_soname_save_LIBS=$LIBS
10652 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10653 cat >conftest.$ac_ext <<_ACEOF
10654 #line $LINENO "configure"
10655 #include "confdefs.h"
10657 /* Override any gcc2 internal prototype to avoid an error. */
10661 /* We use char because int might match the return type of a gcc2
10662 builtin and then its argument prototype would still apply. */
10663 char XextCreateExtension ();
10667 XextCreateExtension ();
10672 rm -f conftest.$ac_objext conftest$ac_exeext
10673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10674 (eval $ac_link) 2>&5
10676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10677 (exit $ac_status); } &&
10678 { ac_try='test -s conftest$ac_exeext'
10679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10680 (eval $ac_try) 2>&5
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); }; }; then
10684 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10685 if test "x$ac_cv_lib_soname_Xext" = "x"
10687 ac_cv_lib_soname_Xext="libXext.so"
10690 echo "$as_me: failed program was:" >&5
10691 cat conftest.$ac_ext >&5
10692 ac_cv_lib_soname_Xext="libXext.so"
10694 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10695 LIBS=$ac_get_soname_save_LIBS
10697 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
10698 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
10699 if test "x$ac_cv_lib_soname_Xext" != xNONE
10701 cat >>confdefs.h <<_ACEOF
10702 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10706 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
10707 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
10708 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10709 echo $ECHO_N "(cached) $ECHO_C" >&6
10711 ac_get_soname_save_LIBS=$LIBS
10712 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10713 cat >conftest.$ac_ext <<_ACEOF
10714 #line $LINENO "configure"
10715 #include "confdefs.h"
10717 /* Override any gcc2 internal prototype to avoid an error. */
10721 /* We use char because int might match the return type of a gcc2
10722 builtin and then its argument prototype would still apply. */
10723 char XRenderQueryExtension ();
10727 XRenderQueryExtension ();
10732 rm -f conftest.$ac_objext conftest$ac_exeext
10733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10734 (eval $ac_link) 2>&5
10736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10737 (exit $ac_status); } &&
10738 { ac_try='test -s conftest$ac_exeext'
10739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10740 (eval $ac_try) 2>&5
10742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10743 (exit $ac_status); }; }; then
10744 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10745 if test "x$ac_cv_lib_soname_Xrender" = "x"
10747 ac_cv_lib_soname_Xrender="libXrender.so"
10750 echo "$as_me: failed program was:" >&5
10751 cat conftest.$ac_ext >&5
10752 ac_cv_lib_soname_Xrender="libXrender.so"
10754 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10755 LIBS=$ac_get_soname_save_LIBS
10757 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10758 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
10759 if test "x$ac_cv_lib_soname_Xrender" != xNONE
10761 cat >>confdefs.h <<_ACEOF
10762 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10766 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
10767 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
10768 if test "${ac_cv_lib_soname_freetype+set}" = set; then
10769 echo $ECHO_N "(cached) $ECHO_C" >&6
10771 ac_get_soname_save_LIBS=$LIBS
10772 LIBS="-lfreetype $X_LIBS $LIBS"
10773 cat >conftest.$ac_ext <<_ACEOF
10774 #line $LINENO "configure"
10775 #include "confdefs.h"
10777 /* Override any gcc2 internal prototype to avoid an error. */
10781 /* We use char because int might match the return type of a gcc2
10782 builtin and then its argument prototype would still apply. */
10783 char FT_Init_FreeType ();
10787 FT_Init_FreeType ();
10792 rm -f conftest.$ac_objext conftest$ac_exeext
10793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10794 (eval $ac_link) 2>&5
10796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797 (exit $ac_status); } &&
10798 { ac_try='test -s conftest$ac_exeext'
10799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10800 (eval $ac_try) 2>&5
10802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10803 (exit $ac_status); }; }; then
10804 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10805 if test "x$ac_cv_lib_soname_freetype" = "x"
10807 ac_cv_lib_soname_freetype="libfreetype.so"
10810 echo "$as_me: failed program was:" >&5
10811 cat conftest.$ac_ext >&5
10812 ac_cv_lib_soname_freetype="libfreetype.so"
10814 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10815 LIBS=$ac_get_soname_save_LIBS
10817 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
10818 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
10819 if test "x$ac_cv_lib_soname_freetype" != xNONE
10821 cat >>confdefs.h <<_ACEOF
10822 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10826 echo "$as_me:$LINENO: checking for -lGL soname" >&5
10827 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
10828 if test "${ac_cv_lib_soname_GL+set}" = set; then
10829 echo $ECHO_N "(cached) $ECHO_C" >&6
10831 ac_get_soname_save_LIBS=$LIBS
10832 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
10833 cat >conftest.$ac_ext <<_ACEOF
10834 #line $LINENO "configure"
10835 #include "confdefs.h"
10837 /* Override any gcc2 internal prototype to avoid an error. */
10841 /* We use char because int might match the return type of a gcc2
10842 builtin and then its argument prototype would still apply. */
10843 char glXQueryExtension ();
10847 glXQueryExtension ();
10852 rm -f conftest.$ac_objext conftest$ac_exeext
10853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10854 (eval $ac_link) 2>&5
10856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10857 (exit $ac_status); } &&
10858 { ac_try='test -s conftest$ac_exeext'
10859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10860 (eval $ac_try) 2>&5
10862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10863 (exit $ac_status); }; }; then
10864 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10865 if test "x$ac_cv_lib_soname_GL" = "x"
10867 ac_cv_lib_soname_GL="libGL.so"
10870 echo "$as_me: failed program was:" >&5
10871 cat conftest.$ac_ext >&5
10872 ac_cv_lib_soname_GL="libGL.so"
10874 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10875 LIBS=$ac_get_soname_save_LIBS
10877 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10878 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
10879 if test "x$ac_cv_lib_soname_GL" != xNONE
10881 cat >>confdefs.h <<_ACEOF
10882 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10886 echo "$as_me:$LINENO: checking for -lcups soname" >&5
10887 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
10888 if test "${ac_cv_lib_soname_cups+set}" = set; then
10889 echo $ECHO_N "(cached) $ECHO_C" >&6
10891 ac_get_soname_save_LIBS=$LIBS
10892 LIBS="-lcups $LIBS"
10893 cat >conftest.$ac_ext <<_ACEOF
10894 #line $LINENO "configure"
10895 #include "confdefs.h"
10897 /* Override any gcc2 internal prototype to avoid an error. */
10901 /* We use char because int might match the return type of a gcc2
10902 builtin and then its argument prototype would still apply. */
10903 char cupsGetDefault ();
10912 rm -f conftest.$ac_objext conftest$ac_exeext
10913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10914 (eval $ac_link) 2>&5
10916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10917 (exit $ac_status); } &&
10918 { ac_try='test -s conftest$ac_exeext'
10919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10920 (eval $ac_try) 2>&5
10922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10923 (exit $ac_status); }; }; then
10924 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10925 if test "x$ac_cv_lib_soname_cups" = "x"
10927 ac_cv_lib_soname_cups="libcups.so"
10930 echo "$as_me: failed program was:" >&5
10931 cat conftest.$ac_ext >&5
10932 ac_cv_lib_soname_cups="libcups.so"
10934 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10935 LIBS=$ac_get_soname_save_LIBS
10937 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
10938 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
10939 if test "x$ac_cv_lib_soname_cups" != xNONE
10941 cat >>confdefs.h <<_ACEOF
10942 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
10949 wine_cv_libc_reentrant=no
10950 echo "$as_me:$LINENO: checking for reentrant libc: __errno_location" >&5
10951 echo $ECHO_N "checking for reentrant libc: __errno_location... $ECHO_C" >&6
10952 if test "${wine_cv_libc_r___errno_location+set}" = set; then
10953 echo $ECHO_N "(cached) $ECHO_C" >&6
10955 if test "$cross_compiling" = yes; then
10956 wine_cv_libc_r___errno_location=yes
10958 cat >conftest.$ac_ext <<_ACEOF
10959 #line $LINENO "configure"
10960 #include "confdefs.h"
10962 int *__errno_location(){return &myerrno;}
10963 main(){close(333); close(333); exit(!myerrno);}
10965 rm -f conftest$ac_exeext
10966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10967 (eval $ac_link) 2>&5
10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10972 (eval $ac_try) 2>&5
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); }; }; then
10976 wine_cv_libc_r___errno_location=yes
10978 echo "$as_me: program exited with status $ac_status" >&5
10979 echo "$as_me: failed program was:" >&5
10980 cat conftest.$ac_ext >&5
10981 ( exit $ac_status )
10982 wine_cv_libc_r___errno_location=no
10984 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10987 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno_location" >&5
10988 echo "${ECHO_T}$wine_cv_libc_r___errno_location" >&6
10989 if test "$wine_cv_libc_r___errno_location" = "yes"; then
10990 wine_cv_libc_reentrant=__errno_location
10992 echo "$as_me:$LINENO: checking for reentrant libc: __error" >&5
10993 echo $ECHO_N "checking for reentrant libc: __error... $ECHO_C" >&6
10994 if test "${wine_cv_libc_r___error+set}" = set; then
10995 echo $ECHO_N "(cached) $ECHO_C" >&6
10997 if test "$cross_compiling" = yes; then
10998 wine_cv_libc_r___error=yes
11000 cat >conftest.$ac_ext <<_ACEOF
11001 #line $LINENO "configure"
11002 #include "confdefs.h"
11004 int *__error(){return &myerrno;}
11005 main(){close(333); close(333); exit(!myerrno);}
11007 rm -f conftest$ac_exeext
11008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11009 (eval $ac_link) 2>&5
11011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11012 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11014 (eval $ac_try) 2>&5
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); }; }; then
11018 wine_cv_libc_r___error=yes
11020 echo "$as_me: program exited with status $ac_status" >&5
11021 echo "$as_me: failed program was:" >&5
11022 cat conftest.$ac_ext >&5
11023 ( exit $ac_status )
11024 wine_cv_libc_r___error=no
11026 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11029 echo "$as_me:$LINENO: result: $wine_cv_libc_r___error" >&5
11030 echo "${ECHO_T}$wine_cv_libc_r___error" >&6
11031 if test "$wine_cv_libc_r___error" = "yes"; then
11032 wine_cv_libc_reentrant=__error
11034 echo "$as_me:$LINENO: checking for reentrant libc: ___errno" >&5
11035 echo $ECHO_N "checking for reentrant libc: ___errno... $ECHO_C" >&6
11036 if test "${wine_cv_libc_r____errno+set}" = set; then
11037 echo $ECHO_N "(cached) $ECHO_C" >&6
11039 if test "$cross_compiling" = yes; then
11040 wine_cv_libc_r____errno=yes
11042 cat >conftest.$ac_ext <<_ACEOF
11043 #line $LINENO "configure"
11044 #include "confdefs.h"
11046 int *___errno(){return &myerrno;}
11047 main(){close(333); close(333); exit(!myerrno);}
11049 rm -f conftest$ac_exeext
11050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11051 (eval $ac_link) 2>&5
11053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11054 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11056 (eval $ac_try) 2>&5
11058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11059 (exit $ac_status); }; }; then
11060 wine_cv_libc_r____errno=yes
11062 echo "$as_me: program exited with status $ac_status" >&5
11063 echo "$as_me: failed program was:" >&5
11064 cat conftest.$ac_ext >&5
11065 ( exit $ac_status )
11066 wine_cv_libc_r____errno=no
11068 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11071 echo "$as_me:$LINENO: result: $wine_cv_libc_r____errno" >&5
11072 echo "${ECHO_T}$wine_cv_libc_r____errno" >&6
11073 if test "$wine_cv_libc_r____errno" = "yes"; then
11074 wine_cv_libc_reentrant=___errno
11076 echo "$as_me:$LINENO: checking for reentrant libc: __thr_errno" >&5
11077 echo $ECHO_N "checking for reentrant libc: __thr_errno... $ECHO_C" >&6
11078 if test "${wine_cv_libc_r___thr_errno+set}" = set; then
11079 echo $ECHO_N "(cached) $ECHO_C" >&6
11081 if test "$cross_compiling" = yes; then
11082 wine_cv_libc_r___thr_errno=yes
11084 cat >conftest.$ac_ext <<_ACEOF
11085 #line $LINENO "configure"
11086 #include "confdefs.h"
11088 int *__thr_errno(){return &myerrno;}
11089 main(){close(333); close(333); exit(!myerrno);}
11091 rm -f conftest$ac_exeext
11092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11093 (eval $ac_link) 2>&5
11095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11096 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11098 (eval $ac_try) 2>&5
11100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11101 (exit $ac_status); }; }; then
11102 wine_cv_libc_r___thr_errno=yes
11104 echo "$as_me: program exited with status $ac_status" >&5
11105 echo "$as_me: failed program was:" >&5
11106 cat conftest.$ac_ext >&5
11107 ( exit $ac_status )
11108 wine_cv_libc_r___thr_errno=no
11110 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11113 echo "$as_me:$LINENO: result: $wine_cv_libc_r___thr_errno" >&5
11114 echo "${ECHO_T}$wine_cv_libc_r___thr_errno" >&6
11115 if test "$wine_cv_libc_r___thr_errno" = "yes"; then
11116 wine_cv_libc_reentrant=__thr_errno
11118 echo "$as_me:$LINENO: checking for reentrant libc: __errno" >&5
11119 echo $ECHO_N "checking for reentrant libc: __errno... $ECHO_C" >&6
11120 if test "${wine_cv_libc_r___errno+set}" = set; then
11121 echo $ECHO_N "(cached) $ECHO_C" >&6
11123 if test "$cross_compiling" = yes; then
11124 wine_cv_libc_r___errno=yes
11126 cat >conftest.$ac_ext <<_ACEOF
11127 #line $LINENO "configure"
11128 #include "confdefs.h"
11130 int *__errno(){return &myerrno;}
11131 main(){close(333); close(333); exit(!myerrno);}
11133 rm -f conftest$ac_exeext
11134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11135 (eval $ac_link) 2>&5
11137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11138 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11140 (eval $ac_try) 2>&5
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); }; }; then
11144 wine_cv_libc_r___errno=yes
11146 echo "$as_me: program exited with status $ac_status" >&5
11147 echo "$as_me: failed program was:" >&5
11148 cat conftest.$ac_ext >&5
11149 ( exit $ac_status )
11150 wine_cv_libc_r___errno=no
11152 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11155 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno" >&5
11156 echo "${ECHO_T}$wine_cv_libc_r___errno" >&6
11157 if test "$wine_cv_libc_r___errno" = "yes"; then
11158 wine_cv_libc_reentrant=__errno
11171 if test "$wine_cv_libc_reentrant" != "no"
11174 cat >>confdefs.h <<_ACEOF
11175 #define ERRNO_LOCATION $wine_cv_libc_reentrant
11181 if test "$have_x" = "yes"
11183 echo "$as_me:$LINENO: checking for reentrant X libraries" >&5
11184 echo $ECHO_N "checking for reentrant X libraries... $ECHO_C" >&6
11185 if test "${wine_cv_x_reentrant+set}" = set; then
11186 echo $ECHO_N "(cached) $ECHO_C" >&6
11189 for dir in "$x_libraries" /usr/lib /usr/local/lib /lib; do
11190 if test -r $dir/libX11.so; then
11191 libX11_check="-D $dir/libX11.so"
11194 if test -r $dir/libX11.a; then
11195 libX11_check="$dir/libX11.a"
11199 if test "$libX11_check" != "none"; then
11200 if nm $libX11_check | grep $wine_cv_libc_reentrant >/dev/null 2>&1
11202 wine_cv_x_reentrant=yes
11204 wine_cv_x_reentrant=no
11207 wine_cv_x_reentrant=unknown
11210 echo "$as_me:$LINENO: result: $wine_cv_x_reentrant" >&5
11211 echo "${ECHO_T}$wine_cv_x_reentrant" >&6
11215 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
11216 # for constant arguments. Useless!
11217 echo "$as_me:$LINENO: checking for working alloca.h" >&5
11218 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
11219 if test "${ac_cv_working_alloca_h+set}" = set; then
11220 echo $ECHO_N "(cached) $ECHO_C" >&6
11222 cat >conftest.$ac_ext <<_ACEOF
11223 #line $LINENO "configure"
11224 #include "confdefs.h"
11225 #include <alloca.h>
11229 char *p = (char *) alloca (2 * sizeof (int));
11234 rm -f conftest.$ac_objext conftest$ac_exeext
11235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11236 (eval $ac_link) 2>&5
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); } &&
11240 { ac_try='test -s conftest$ac_exeext'
11241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11242 (eval $ac_try) 2>&5
11244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11245 (exit $ac_status); }; }; then
11246 ac_cv_working_alloca_h=yes
11248 echo "$as_me: failed program was:" >&5
11249 cat conftest.$ac_ext >&5
11250 ac_cv_working_alloca_h=no
11252 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11254 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
11255 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
11256 if test $ac_cv_working_alloca_h = yes; then
11258 cat >>confdefs.h <<\_ACEOF
11259 #define HAVE_ALLOCA_H 1
11264 echo "$as_me:$LINENO: checking for alloca" >&5
11265 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
11266 if test "${ac_cv_func_alloca_works+set}" = set; then
11267 echo $ECHO_N "(cached) $ECHO_C" >&6
11269 cat >conftest.$ac_ext <<_ACEOF
11270 #line $LINENO "configure"
11271 #include "confdefs.h"
11273 # define alloca __builtin_alloca
11276 # include <malloc.h>
11277 # define alloca _alloca
11280 # include <alloca.h>
11285 # ifndef alloca /* predefined by HP cc +Olibcalls */
11296 char *p = (char *) alloca (1);
11301 rm -f conftest.$ac_objext conftest$ac_exeext
11302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11303 (eval $ac_link) 2>&5
11305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11306 (exit $ac_status); } &&
11307 { ac_try='test -s conftest$ac_exeext'
11308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11309 (eval $ac_try) 2>&5
11311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312 (exit $ac_status); }; }; then
11313 ac_cv_func_alloca_works=yes
11315 echo "$as_me: failed program was:" >&5
11316 cat conftest.$ac_ext >&5
11317 ac_cv_func_alloca_works=no
11319 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11321 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
11322 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
11324 if test $ac_cv_func_alloca_works = yes; then
11326 cat >>confdefs.h <<\_ACEOF
11327 #define HAVE_ALLOCA 1
11331 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
11332 # that cause trouble. Some versions do not even contain alloca or
11333 # contain a buggy version. If you still want to use their alloca,
11334 # use ar to extract alloca.o from them instead of compiling alloca.c.
11336 ALLOCA=alloca.$ac_objext
11338 cat >>confdefs.h <<\_ACEOF
11343 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
11344 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
11345 if test "${ac_cv_os_cray+set}" = set; then
11346 echo $ECHO_N "(cached) $ECHO_C" >&6
11348 cat >conftest.$ac_ext <<_ACEOF
11349 #line $LINENO "configure"
11350 #include "confdefs.h"
11351 #if defined(CRAY) && ! defined(CRAY2)
11358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11359 $EGREP "webecray" >/dev/null 2>&1; then
11367 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
11368 echo "${ECHO_T}$ac_cv_os_cray" >&6
11369 if test $ac_cv_os_cray = yes; then
11370 for ac_func in _getb67 GETB67 getb67; do
11371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11372 echo "$as_me:$LINENO: checking for $ac_func" >&5
11373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11374 if eval "test \"\${$as_ac_var+set}\" = set"; then
11375 echo $ECHO_N "(cached) $ECHO_C" >&6
11377 cat >conftest.$ac_ext <<_ACEOF
11378 #line $LINENO "configure"
11379 #include "confdefs.h"
11380 /* System header to define __stub macros and hopefully few prototypes,
11381 which can conflict with char $ac_func (); below. */
11382 #include <assert.h>
11383 /* Override any gcc2 internal prototype to avoid an error. */
11387 /* We use char because int might match the return type of a gcc2
11388 builtin and then its argument prototype would still apply. */
11395 /* The GNU C library defines this for functions which it implements
11396 to always fail with ENOSYS. Some functions are actually named
11397 something starting with __ and the normal name is an alias. */
11398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11408 rm -f conftest.$ac_objext conftest$ac_exeext
11409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11410 (eval $ac_link) 2>&5
11412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11413 (exit $ac_status); } &&
11414 { ac_try='test -s conftest$ac_exeext'
11415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11416 (eval $ac_try) 2>&5
11418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11419 (exit $ac_status); }; }; then
11420 eval "$as_ac_var=yes"
11422 echo "$as_me: failed program was:" >&5
11423 cat conftest.$ac_ext >&5
11424 eval "$as_ac_var=no"
11426 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11430 if test `eval echo '${'$as_ac_var'}'` = yes; then
11432 cat >>confdefs.h <<_ACEOF
11433 #define CRAY_STACKSEG_END $ac_func
11442 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
11443 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
11444 if test "${ac_cv_c_stack_direction+set}" = set; then
11445 echo $ECHO_N "(cached) $ECHO_C" >&6
11447 if test "$cross_compiling" = yes; then
11448 ac_cv_c_stack_direction=0
11450 cat >conftest.$ac_ext <<_ACEOF
11451 #line $LINENO "configure"
11452 #include "confdefs.h"
11454 find_stack_direction ()
11456 static char *addr = 0;
11461 return find_stack_direction ();
11464 return (&dummy > addr) ? 1 : -1;
11470 exit (find_stack_direction () < 0);
11473 rm -f conftest$ac_exeext
11474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11475 (eval $ac_link) 2>&5
11477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11480 (eval $ac_try) 2>&5
11482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11483 (exit $ac_status); }; }; then
11484 ac_cv_c_stack_direction=1
11486 echo "$as_me: program exited with status $ac_status" >&5
11487 echo "$as_me: failed program was:" >&5
11488 cat conftest.$ac_ext >&5
11489 ( exit $ac_status )
11490 ac_cv_c_stack_direction=-1
11492 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11495 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
11496 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
11498 cat >>confdefs.h <<_ACEOF
11499 #define STACK_DIRECTION $ac_cv_c_stack_direction
11588 pthread_getspecific \
11589 pthread_key_create \
11590 pthread_mutex_lock \
11591 pthread_mutex_unlock \
11592 pthread_setspecific \
11612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11613 echo "$as_me:$LINENO: checking for $ac_func" >&5
11614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11615 if eval "test \"\${$as_ac_var+set}\" = set"; then
11616 echo $ECHO_N "(cached) $ECHO_C" >&6
11618 cat >conftest.$ac_ext <<_ACEOF
11619 #line $LINENO "configure"
11620 #include "confdefs.h"
11621 /* System header to define __stub macros and hopefully few prototypes,
11622 which can conflict with char $ac_func (); below. */
11623 #include <assert.h>
11624 /* Override any gcc2 internal prototype to avoid an error. */
11628 /* We use char because int might match the return type of a gcc2
11629 builtin and then its argument prototype would still apply. */
11636 /* The GNU C library defines this for functions which it implements
11637 to always fail with ENOSYS. Some functions are actually named
11638 something starting with __ and the normal name is an alias. */
11639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11649 rm -f conftest.$ac_objext conftest$ac_exeext
11650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11651 (eval $ac_link) 2>&5
11653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11654 (exit $ac_status); } &&
11655 { ac_try='test -s conftest$ac_exeext'
11656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11657 (eval $ac_try) 2>&5
11659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11660 (exit $ac_status); }; }; then
11661 eval "$as_ac_var=yes"
11663 echo "$as_me: failed program was:" >&5
11664 cat conftest.$ac_ext >&5
11665 eval "$as_ac_var=no"
11667 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11671 if test `eval echo '${'$as_ac_var'}'` = yes; then
11672 cat >>confdefs.h <<_ACEOF
11673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11770 netinet/in_systm.h \
11818 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11820 echo "$as_me:$LINENO: checking for $ac_header" >&5
11821 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11823 echo $ECHO_N "(cached) $ECHO_C" >&6
11825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11826 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11828 # Is the header compilable?
11829 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11830 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11831 cat >conftest.$ac_ext <<_ACEOF
11832 #line $LINENO "configure"
11833 #include "confdefs.h"
11834 $ac_includes_default
11835 #include <$ac_header>
11837 rm -f conftest.$ac_objext
11838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11839 (eval $ac_compile) 2>&5
11841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11842 (exit $ac_status); } &&
11843 { ac_try='test -s conftest.$ac_objext'
11844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11845 (eval $ac_try) 2>&5
11847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11848 (exit $ac_status); }; }; then
11849 ac_header_compiler=yes
11851 echo "$as_me: failed program was:" >&5
11852 cat conftest.$ac_ext >&5
11853 ac_header_compiler=no
11855 rm -f conftest.$ac_objext conftest.$ac_ext
11856 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11857 echo "${ECHO_T}$ac_header_compiler" >&6
11859 # Is the header present?
11860 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11861 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11862 cat >conftest.$ac_ext <<_ACEOF
11863 #line $LINENO "configure"
11864 #include "confdefs.h"
11865 #include <$ac_header>
11867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11868 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11870 grep -v '^ *+' conftest.er1 >conftest.err
11872 cat conftest.err >&5
11873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11874 (exit $ac_status); } >/dev/null; then
11875 if test -s conftest.err; then
11876 ac_cpp_err=$ac_c_preproc_warn_flag
11883 if test -z "$ac_cpp_err"; then
11884 ac_header_preproc=yes
11886 echo "$as_me: failed program was:" >&5
11887 cat conftest.$ac_ext >&5
11888 ac_header_preproc=no
11890 rm -f conftest.err conftest.$ac_ext
11891 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11892 echo "${ECHO_T}$ac_header_preproc" >&6
11894 # So? What about this header?
11895 case $ac_header_compiler:$ac_header_preproc in
11897 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11898 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11899 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11900 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11902 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11903 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11904 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11905 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11906 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11907 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11909 echo "$as_me:$LINENO: checking for $ac_header" >&5
11910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11912 echo $ECHO_N "(cached) $ECHO_C" >&6
11914 eval "$as_ac_Header=$ac_header_preproc"
11916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11921 cat >>confdefs.h <<_ACEOF
11922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11929 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
11930 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
11931 if test "${ac_cv_header_stat_broken+set}" = set; then
11932 echo $ECHO_N "(cached) $ECHO_C" >&6
11934 cat >conftest.$ac_ext <<_ACEOF
11935 #line $LINENO "configure"
11936 #include "confdefs.h"
11937 #include <sys/types.h>
11938 #include <sys/stat.h>
11940 #if defined(S_ISBLK) && defined(S_IFDIR)
11941 # if S_ISBLK (S_IFDIR)
11946 #if defined(S_ISBLK) && defined(S_IFCHR)
11947 # if S_ISBLK (S_IFCHR)
11952 #if defined(S_ISLNK) && defined(S_IFREG)
11953 # if S_ISLNK (S_IFREG)
11958 #if defined(S_ISSOCK) && defined(S_IFREG)
11959 # if S_ISSOCK (S_IFREG)
11965 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11966 $EGREP "You lose" >/dev/null 2>&1; then
11967 ac_cv_header_stat_broken=yes
11969 ac_cv_header_stat_broken=no
11974 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
11975 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
11976 if test $ac_cv_header_stat_broken = yes; then
11978 cat >>confdefs.h <<\_ACEOF
11979 #define STAT_MACROS_BROKEN 1
11988 for ac_header in sys/mount.h sys/user.h
11990 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11991 echo "$as_me:$LINENO: checking for $ac_header" >&5
11992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11994 echo $ECHO_N "(cached) $ECHO_C" >&6
11996 cat >conftest.$ac_ext <<_ACEOF
11997 #line $LINENO "configure"
11998 #include "confdefs.h"
11999 #include <sys/types.h>
12000 #if HAVE_SYS_PARAM_H
12001 # include <sys/param.h>
12004 #include <$ac_header>
12006 rm -f conftest.$ac_objext
12007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12008 (eval $ac_compile) 2>&5
12010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12011 (exit $ac_status); } &&
12012 { ac_try='test -s conftest.$ac_objext'
12013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12014 (eval $ac_try) 2>&5
12016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12017 (exit $ac_status); }; }; then
12018 eval "$as_ac_Header=yes"
12020 echo "$as_me: failed program was:" >&5
12021 cat conftest.$ac_ext >&5
12022 eval "$as_ac_Header=no"
12024 rm -f conftest.$ac_objext conftest.$ac_ext
12026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12027 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12028 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12029 cat >>confdefs.h <<_ACEOF
12030 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12039 for ac_header in net/if.h
12041 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12042 echo "$as_me:$LINENO: checking for $ac_header" >&5
12043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12045 echo $ECHO_N "(cached) $ECHO_C" >&6
12047 cat >conftest.$ac_ext <<_ACEOF
12048 #line $LINENO "configure"
12049 #include "confdefs.h"
12050 #include <sys/types.h>
12051 #if HAVE_SYS_SOCKET_H
12052 # include <sys/socket.h>
12055 #include <$ac_header>
12057 rm -f conftest.$ac_objext
12058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12059 (eval $ac_compile) 2>&5
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); } &&
12063 { ac_try='test -s conftest.$ac_objext'
12064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12065 (eval $ac_try) 2>&5
12067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068 (exit $ac_status); }; }; then
12069 eval "$as_ac_Header=yes"
12071 echo "$as_me: failed program was:" >&5
12072 cat conftest.$ac_ext >&5
12073 eval "$as_ac_Header=no"
12075 rm -f conftest.$ac_objext conftest.$ac_ext
12077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12078 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12079 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12080 cat >>confdefs.h <<_ACEOF
12081 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12090 for ac_header in netinet/ip.h
12092 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12093 echo "$as_me:$LINENO: checking for $ac_header" >&5
12094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12096 echo $ECHO_N "(cached) $ECHO_C" >&6
12098 cat >conftest.$ac_ext <<_ACEOF
12099 #line $LINENO "configure"
12100 #include "confdefs.h"
12101 #include <sys/types.h>
12102 #if HAVE_SYS_SOCKET_H
12103 # include <sys/socket.h>
12105 #if HAVE_NETINET_IN_SYSTM_H
12106 # include <netinet/in_systm.h>
12109 #include <$ac_header>
12111 rm -f conftest.$ac_objext
12112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12113 (eval $ac_compile) 2>&5
12115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12116 (exit $ac_status); } &&
12117 { ac_try='test -s conftest.$ac_objext'
12118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12119 (eval $ac_try) 2>&5
12121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12122 (exit $ac_status); }; }; then
12123 eval "$as_ac_Header=yes"
12125 echo "$as_me: failed program was:" >&5
12126 cat conftest.$ac_ext >&5
12127 eval "$as_ac_Header=no"
12129 rm -f conftest.$ac_objext conftest.$ac_ext
12131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12132 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12133 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12134 cat >>confdefs.h <<_ACEOF
12135 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12144 for ac_header in resolv.h
12146 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12147 echo "$as_me:$LINENO: checking for $ac_header" >&5
12148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12150 echo $ECHO_N "(cached) $ECHO_C" >&6
12152 cat >conftest.$ac_ext <<_ACEOF
12153 #line $LINENO "configure"
12154 #include "confdefs.h"
12155 #include <sys/types.h>
12156 #if HAVE_SYS_SOCKET_H
12157 # include <sys/socket.h>
12160 #include <$ac_header>
12162 rm -f conftest.$ac_objext
12163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12164 (eval $ac_compile) 2>&5
12166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12167 (exit $ac_status); } &&
12168 { ac_try='test -s conftest.$ac_objext'
12169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12170 (eval $ac_try) 2>&5
12172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12173 (exit $ac_status); }; }; then
12174 eval "$as_ac_Header=yes"
12176 echo "$as_me: failed program was:" >&5
12177 cat conftest.$ac_ext >&5
12178 eval "$as_ac_Header=no"
12180 rm -f conftest.$ac_objext conftest.$ac_ext
12182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12184 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12185 cat >>confdefs.h <<_ACEOF
12186 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12195 for ac_header in ucontext.h
12197 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12198 echo "$as_me:$LINENO: checking for $ac_header" >&5
12199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12201 echo $ECHO_N "(cached) $ECHO_C" >&6
12203 cat >conftest.$ac_ext <<_ACEOF
12204 #line $LINENO "configure"
12205 #include "confdefs.h"
12206 #include <signal.h>
12208 #include <$ac_header>
12210 rm -f conftest.$ac_objext
12211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12212 (eval $ac_compile) 2>&5
12214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12215 (exit $ac_status); } &&
12216 { ac_try='test -s conftest.$ac_objext'
12217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12218 (eval $ac_try) 2>&5
12220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12221 (exit $ac_status); }; }; then
12222 eval "$as_ac_Header=yes"
12224 echo "$as_me: failed program was:" >&5
12225 cat conftest.$ac_ext >&5
12226 eval "$as_ac_Header=no"
12228 rm -f conftest.$ac_objext conftest.$ac_ext
12230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12233 cat >>confdefs.h <<_ACEOF
12234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12243 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
12244 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
12245 if test "${ac_cv_c_const+set}" = set; then
12246 echo $ECHO_N "(cached) $ECHO_C" >&6
12248 cat >conftest.$ac_ext <<_ACEOF
12249 #line $LINENO "configure"
12250 #include "confdefs.h"
12255 /* FIXME: Include the comments suggested by Paul. */
12256 #ifndef __cplusplus
12257 /* Ultrix mips cc rejects this. */
12258 typedef int charset[2];
12260 /* SunOS 4.1.1 cc rejects this. */
12261 char const *const *ccp;
12263 /* NEC SVR4.0.2 mips cc rejects this. */
12264 struct point {int x, y;};
12265 static struct point const zero = {0,0};
12266 /* AIX XL C 1.02.0.0 rejects this.
12267 It does not let you subtract one const X* pointer from another in
12268 an arm of an if-expression whose if-part is not a constant
12270 const char *g = "string";
12271 ccp = &g + (g ? g-g : 0);
12272 /* HPUX 7.0 cc rejects these. */
12275 ccp = (char const *const *) p;
12276 { /* SCO 3.2v4 cc rejects this. */
12278 char const *s = 0 ? (char *) 0 : (char const *) 0;
12282 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12283 int x[] = {25, 17};
12284 const int *foo = &x[0];
12287 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12288 typedef const int *iptr;
12292 { /* AIX XL C 1.02.0.0 rejects this saying
12293 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12294 struct s { int j; const int *ap[3]; };
12295 struct s *b; b->j = 5;
12297 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12298 const int foo = 10;
12306 rm -f conftest.$ac_objext
12307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12308 (eval $ac_compile) 2>&5
12310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); } &&
12312 { ac_try='test -s conftest.$ac_objext'
12313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12314 (eval $ac_try) 2>&5
12316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 (exit $ac_status); }; }; then
12320 echo "$as_me: failed program was:" >&5
12321 cat conftest.$ac_ext >&5
12324 rm -f conftest.$ac_objext conftest.$ac_ext
12326 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
12327 echo "${ECHO_T}$ac_cv_c_const" >&6
12328 if test $ac_cv_c_const = no; then
12330 cat >>confdefs.h <<\_ACEOF
12336 echo "$as_me:$LINENO: checking for inline" >&5
12337 echo $ECHO_N "checking for inline... $ECHO_C" >&6
12338 if test "${ac_cv_c_inline+set}" = set; then
12339 echo $ECHO_N "(cached) $ECHO_C" >&6
12342 for ac_kw in inline __inline__ __inline; do
12343 cat >conftest.$ac_ext <<_ACEOF
12344 #line $LINENO "configure"
12345 #include "confdefs.h"
12346 #ifndef __cplusplus
12348 static $ac_kw foo_t static_foo () {return 0; }
12349 $ac_kw foo_t foo () {return 0; }
12353 rm -f conftest.$ac_objext
12354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12355 (eval $ac_compile) 2>&5
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); } &&
12359 { ac_try='test -s conftest.$ac_objext'
12360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12361 (eval $ac_try) 2>&5
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); }; }; then
12365 ac_cv_c_inline=$ac_kw; break
12367 echo "$as_me: failed program was:" >&5
12368 cat conftest.$ac_ext >&5
12370 rm -f conftest.$ac_objext conftest.$ac_ext
12374 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
12375 echo "${ECHO_T}$ac_cv_c_inline" >&6
12376 case $ac_cv_c_inline in
12379 cat >>confdefs.h <<\_ACEOF
12383 *) cat >>confdefs.h <<_ACEOF
12384 #define inline $ac_cv_c_inline
12389 echo "$as_me:$LINENO: checking for mode_t" >&5
12390 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
12391 if test "${ac_cv_type_mode_t+set}" = set; then
12392 echo $ECHO_N "(cached) $ECHO_C" >&6
12394 cat >conftest.$ac_ext <<_ACEOF
12395 #line $LINENO "configure"
12396 #include "confdefs.h"
12397 $ac_includes_default
12403 if (sizeof (mode_t))
12409 rm -f conftest.$ac_objext
12410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12411 (eval $ac_compile) 2>&5
12413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12414 (exit $ac_status); } &&
12415 { ac_try='test -s conftest.$ac_objext'
12416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12417 (eval $ac_try) 2>&5
12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12420 (exit $ac_status); }; }; then
12421 ac_cv_type_mode_t=yes
12423 echo "$as_me: failed program was:" >&5
12424 cat conftest.$ac_ext >&5
12425 ac_cv_type_mode_t=no
12427 rm -f conftest.$ac_objext conftest.$ac_ext
12429 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
12430 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
12431 if test $ac_cv_type_mode_t = yes; then
12433 cat >>confdefs.h <<_ACEOF
12434 #define HAVE_MODE_T 1
12439 echo "$as_me:$LINENO: checking for off_t" >&5
12440 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
12441 if test "${ac_cv_type_off_t+set}" = set; then
12442 echo $ECHO_N "(cached) $ECHO_C" >&6
12444 cat >conftest.$ac_ext <<_ACEOF
12445 #line $LINENO "configure"
12446 #include "confdefs.h"
12447 $ac_includes_default
12453 if (sizeof (off_t))
12459 rm -f conftest.$ac_objext
12460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12461 (eval $ac_compile) 2>&5
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); } &&
12465 { ac_try='test -s conftest.$ac_objext'
12466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12467 (eval $ac_try) 2>&5
12469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470 (exit $ac_status); }; }; then
12471 ac_cv_type_off_t=yes
12473 echo "$as_me: failed program was:" >&5
12474 cat conftest.$ac_ext >&5
12475 ac_cv_type_off_t=no
12477 rm -f conftest.$ac_objext conftest.$ac_ext
12479 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
12480 echo "${ECHO_T}$ac_cv_type_off_t" >&6
12481 if test $ac_cv_type_off_t = yes; then
12483 cat >>confdefs.h <<_ACEOF
12484 #define HAVE_OFF_T 1
12489 echo "$as_me:$LINENO: checking for pid_t" >&5
12490 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
12491 if test "${ac_cv_type_pid_t+set}" = set; then
12492 echo $ECHO_N "(cached) $ECHO_C" >&6
12494 cat >conftest.$ac_ext <<_ACEOF
12495 #line $LINENO "configure"
12496 #include "confdefs.h"
12497 $ac_includes_default
12503 if (sizeof (pid_t))
12509 rm -f conftest.$ac_objext
12510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12511 (eval $ac_compile) 2>&5
12513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12514 (exit $ac_status); } &&
12515 { ac_try='test -s conftest.$ac_objext'
12516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12517 (eval $ac_try) 2>&5
12519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12520 (exit $ac_status); }; }; then
12521 ac_cv_type_pid_t=yes
12523 echo "$as_me: failed program was:" >&5
12524 cat conftest.$ac_ext >&5
12525 ac_cv_type_pid_t=no
12527 rm -f conftest.$ac_objext conftest.$ac_ext
12529 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
12530 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
12531 if test $ac_cv_type_pid_t = yes; then
12533 cat >>confdefs.h <<_ACEOF
12534 #define HAVE_PID_T 1
12539 echo "$as_me:$LINENO: checking for size_t" >&5
12540 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12541 if test "${ac_cv_type_size_t+set}" = set; then
12542 echo $ECHO_N "(cached) $ECHO_C" >&6
12544 cat >conftest.$ac_ext <<_ACEOF
12545 #line $LINENO "configure"
12546 #include "confdefs.h"
12547 $ac_includes_default
12553 if (sizeof (size_t))
12559 rm -f conftest.$ac_objext
12560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12561 (eval $ac_compile) 2>&5
12563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564 (exit $ac_status); } &&
12565 { ac_try='test -s conftest.$ac_objext'
12566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12567 (eval $ac_try) 2>&5
12569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12570 (exit $ac_status); }; }; then
12571 ac_cv_type_size_t=yes
12573 echo "$as_me: failed program was:" >&5
12574 cat conftest.$ac_ext >&5
12575 ac_cv_type_size_t=no
12577 rm -f conftest.$ac_objext conftest.$ac_ext
12579 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
12580 echo "${ECHO_T}$ac_cv_type_size_t" >&6
12581 if test $ac_cv_type_size_t = yes; then
12583 cat >>confdefs.h <<_ACEOF
12584 #define HAVE_SIZE_T 1
12589 echo "$as_me:$LINENO: checking for ssize_t" >&5
12590 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
12591 if test "${ac_cv_type_ssize_t+set}" = set; then
12592 echo $ECHO_N "(cached) $ECHO_C" >&6
12594 cat >conftest.$ac_ext <<_ACEOF
12595 #line $LINENO "configure"
12596 #include "confdefs.h"
12597 $ac_includes_default
12603 if (sizeof (ssize_t))
12609 rm -f conftest.$ac_objext
12610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12611 (eval $ac_compile) 2>&5
12613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12614 (exit $ac_status); } &&
12615 { ac_try='test -s conftest.$ac_objext'
12616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12617 (eval $ac_try) 2>&5
12619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620 (exit $ac_status); }; }; then
12621 ac_cv_type_ssize_t=yes
12623 echo "$as_me: failed program was:" >&5
12624 cat conftest.$ac_ext >&5
12625 ac_cv_type_ssize_t=no
12627 rm -f conftest.$ac_objext conftest.$ac_ext
12629 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
12630 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
12631 if test $ac_cv_type_ssize_t = yes; then
12633 cat >>confdefs.h <<_ACEOF
12634 #define HAVE_SSIZE_T 1
12640 echo "$as_me:$LINENO: checking for long long" >&5
12641 echo $ECHO_N "checking for long long... $ECHO_C" >&6
12642 if test "${ac_cv_type_long_long+set}" = set; then
12643 echo $ECHO_N "(cached) $ECHO_C" >&6
12645 cat >conftest.$ac_ext <<_ACEOF
12646 #line $LINENO "configure"
12647 #include "confdefs.h"
12648 $ac_includes_default
12652 if ((long long *) 0)
12654 if (sizeof (long long))
12660 rm -f conftest.$ac_objext
12661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12662 (eval $ac_compile) 2>&5
12664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 (exit $ac_status); } &&
12666 { ac_try='test -s conftest.$ac_objext'
12667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12668 (eval $ac_try) 2>&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); }; }; then
12672 ac_cv_type_long_long=yes
12674 echo "$as_me: failed program was:" >&5
12675 cat conftest.$ac_ext >&5
12676 ac_cv_type_long_long=no
12678 rm -f conftest.$ac_objext conftest.$ac_ext
12680 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
12681 echo "${ECHO_T}$ac_cv_type_long_long" >&6
12683 echo "$as_me:$LINENO: checking size of long long" >&5
12684 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
12685 if test "${ac_cv_sizeof_long_long+set}" = set; then
12686 echo $ECHO_N "(cached) $ECHO_C" >&6
12688 if test "$ac_cv_type_long_long" = yes; then
12689 # The cast to unsigned long works around a bug in the HP C Compiler
12690 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12691 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12692 # This bug is HP SR number 8606223364.
12693 if test "$cross_compiling" = yes; then
12694 # Depending upon the size, compute the lo and hi bounds.
12695 cat >conftest.$ac_ext <<_ACEOF
12696 #line $LINENO "configure"
12697 #include "confdefs.h"
12698 $ac_includes_default
12702 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
12709 rm -f conftest.$ac_objext
12710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12711 (eval $ac_compile) 2>&5
12713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714 (exit $ac_status); } &&
12715 { ac_try='test -s conftest.$ac_objext'
12716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12717 (eval $ac_try) 2>&5
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); }; }; then
12723 cat >conftest.$ac_ext <<_ACEOF
12724 #line $LINENO "configure"
12725 #include "confdefs.h"
12726 $ac_includes_default
12730 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
12737 rm -f conftest.$ac_objext
12738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12739 (eval $ac_compile) 2>&5
12741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12742 (exit $ac_status); } &&
12743 { ac_try='test -s conftest.$ac_objext'
12744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12745 (eval $ac_try) 2>&5
12747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12748 (exit $ac_status); }; }; then
12749 ac_hi=$ac_mid; break
12751 echo "$as_me: failed program was:" >&5
12752 cat conftest.$ac_ext >&5
12753 ac_lo=`expr $ac_mid + 1`
12754 if test $ac_lo -le $ac_mid; then
12758 ac_mid=`expr 2 '*' $ac_mid + 1`
12760 rm -f conftest.$ac_objext conftest.$ac_ext
12763 echo "$as_me: failed program was:" >&5
12764 cat conftest.$ac_ext >&5
12765 cat >conftest.$ac_ext <<_ACEOF
12766 #line $LINENO "configure"
12767 #include "confdefs.h"
12768 $ac_includes_default
12772 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
12779 rm -f conftest.$ac_objext
12780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12781 (eval $ac_compile) 2>&5
12783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12784 (exit $ac_status); } &&
12785 { ac_try='test -s conftest.$ac_objext'
12786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12787 (eval $ac_try) 2>&5
12789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790 (exit $ac_status); }; }; then
12793 cat >conftest.$ac_ext <<_ACEOF
12794 #line $LINENO "configure"
12795 #include "confdefs.h"
12796 $ac_includes_default
12800 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
12807 rm -f conftest.$ac_objext
12808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12809 (eval $ac_compile) 2>&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); } &&
12813 { ac_try='test -s conftest.$ac_objext'
12814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12815 (eval $ac_try) 2>&5
12817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12818 (exit $ac_status); }; }; then
12819 ac_lo=$ac_mid; break
12821 echo "$as_me: failed program was:" >&5
12822 cat conftest.$ac_ext >&5
12823 ac_hi=`expr '(' $ac_mid ')' - 1`
12824 if test $ac_mid -le $ac_hi; then
12828 ac_mid=`expr 2 '*' $ac_mid`
12830 rm -f conftest.$ac_objext conftest.$ac_ext
12833 echo "$as_me: failed program was:" >&5
12834 cat conftest.$ac_ext >&5
12837 rm -f conftest.$ac_objext conftest.$ac_ext
12839 rm -f conftest.$ac_objext conftest.$ac_ext
12840 # Binary search between lo and hi bounds.
12841 while test "x$ac_lo" != "x$ac_hi"; do
12842 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12843 cat >conftest.$ac_ext <<_ACEOF
12844 #line $LINENO "configure"
12845 #include "confdefs.h"
12846 $ac_includes_default
12850 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
12857 rm -f conftest.$ac_objext
12858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12859 (eval $ac_compile) 2>&5
12861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12862 (exit $ac_status); } &&
12863 { ac_try='test -s conftest.$ac_objext'
12864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12865 (eval $ac_try) 2>&5
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); }; }; then
12871 echo "$as_me: failed program was:" >&5
12872 cat conftest.$ac_ext >&5
12873 ac_lo=`expr '(' $ac_mid ')' + 1`
12875 rm -f conftest.$ac_objext conftest.$ac_ext
12878 ?*) ac_cv_sizeof_long_long=$ac_lo;;
12879 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
12880 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
12881 { (exit 1); exit 1; }; } ;;
12884 if test "$cross_compiling" = yes; then
12885 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
12886 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
12887 { (exit 1); exit 1; }; }
12889 cat >conftest.$ac_ext <<_ACEOF
12890 #line $LINENO "configure"
12891 #include "confdefs.h"
12892 $ac_includes_default
12893 long longval () { return (long) (sizeof (long long)); }
12894 unsigned long ulongval () { return (long) (sizeof (long long)); }
12896 #include <stdlib.h>
12901 FILE *f = fopen ("conftest.val", "w");
12904 if (((long) (sizeof (long long))) < 0)
12906 long i = longval ();
12907 if (i != ((long) (sizeof (long long))))
12909 fprintf (f, "%ld\n", i);
12913 unsigned long i = ulongval ();
12914 if (i != ((long) (sizeof (long long))))
12916 fprintf (f, "%lu\n", i);
12918 exit (ferror (f) || fclose (f) != 0);
12924 rm -f conftest$ac_exeext
12925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12926 (eval $ac_link) 2>&5
12928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12929 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12931 (eval $ac_try) 2>&5
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); }; }; then
12935 ac_cv_sizeof_long_long=`cat conftest.val`
12937 echo "$as_me: program exited with status $ac_status" >&5
12938 echo "$as_me: failed program was:" >&5
12939 cat conftest.$ac_ext >&5
12940 ( exit $ac_status )
12941 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
12942 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
12943 { (exit 1); exit 1; }; }
12945 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12950 ac_cv_sizeof_long_long=0
12953 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
12954 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
12955 cat >>confdefs.h <<_ACEOF
12956 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12961 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
12962 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
12963 if test "${wine_cv_linux_input_h+set}" = set; then
12964 echo $ECHO_N "(cached) $ECHO_C" >&6
12966 cat >conftest.$ac_ext <<_ACEOF
12967 #line $LINENO "configure"
12968 #include "confdefs.h"
12970 #include <linux/input.h>
12976 int foo = EVIOCGBIT(EV_ABS,42);
12977 int bar = BTN_PINKIE;
12984 rm -f conftest.$ac_objext
12985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12986 (eval $ac_compile) 2>&5
12988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12989 (exit $ac_status); } &&
12990 { ac_try='test -s conftest.$ac_objext'
12991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12992 (eval $ac_try) 2>&5
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); }; }; then
12996 wine_cv_linux_input_h=yes
12998 echo "$as_me: failed program was:" >&5
12999 cat conftest.$ac_ext >&5
13000 wine_cv_linux_input_h=no
13002 rm -f conftest.$ac_objext conftest.$ac_ext
13005 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
13006 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
13007 if test "$wine_cv_linux_input_h" = "yes"
13010 cat >>confdefs.h <<\_ACEOF
13011 #define HAVE_CORRECT_LINUXINPUT_H 1
13017 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13018 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
13019 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
13020 echo $ECHO_N "(cached) $ECHO_C" >&6
13022 cat >conftest.$ac_ext <<_ACEOF
13023 #line $LINENO "configure"
13024 #include "confdefs.h"
13034 struct hostent *result;
13041 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13042 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13048 rm -f conftest.$ac_objext
13049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13050 (eval $ac_compile) 2>&5
13052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13053 (exit $ac_status); } &&
13054 { ac_try='test -s conftest.$ac_objext'
13055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13056 (eval $ac_try) 2>&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); }; }; then
13060 wine_cv_linux_gethostbyname_r_6=yes
13062 echo "$as_me: failed program was:" >&5
13063 cat conftest.$ac_ext >&5
13064 wine_cv_linux_gethostbyname_r_6=no
13067 rm -f conftest.$ac_objext conftest.$ac_ext
13070 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
13071 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
13072 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13075 cat >>confdefs.h <<\_ACEOF
13076 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
13081 if test "$ac_cv_header_linux_joystick_h" = "yes"
13083 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13084 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
13085 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
13086 echo $ECHO_N "(cached) $ECHO_C" >&6
13088 cat >conftest.$ac_ext <<_ACEOF
13089 #line $LINENO "configure"
13090 #include "confdefs.h"
13092 #include <sys/ioctl.h>
13093 #include <linux/joystick.h>
13095 struct js_event blub;
13096 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13097 #error "no 2.2 header"
13108 rm -f conftest.$ac_objext
13109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13110 (eval $ac_compile) 2>&5
13112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13113 (exit $ac_status); } &&
13114 { ac_try='test -s conftest.$ac_objext'
13115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13116 (eval $ac_try) 2>&5
13118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13119 (exit $ac_status); }; }; then
13120 wine_cv_linux_joystick_22_api=yes
13122 echo "$as_me: failed program was:" >&5
13123 cat conftest.$ac_ext >&5
13124 wine_cv_linux_joystick_22_api=no
13126 rm -f conftest.$ac_objext conftest.$ac_ext
13129 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
13130 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
13131 if test "$wine_cv_linux_joystick_22_api" = "yes"
13134 cat >>confdefs.h <<\_ACEOF
13135 #define HAVE_LINUX_22_JOYSTICK_API 1
13142 if test "$ac_cv_header_sys_vfs_h" = "yes"
13144 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
13145 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
13146 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
13147 echo $ECHO_N "(cached) $ECHO_C" >&6
13149 cat >conftest.$ac_ext <<_ACEOF
13150 #line $LINENO "configure"
13151 #include "confdefs.h"
13153 #include <sys/types.h>
13154 #ifdef HAVE_SYS_PARAM_H
13155 # include <sys/param.h>
13157 #include <sys/vfs.h>
13163 struct statfs stfs;
13165 memset(&stfs,0,sizeof(stfs));
13171 rm -f conftest.$ac_objext
13172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13173 (eval $ac_compile) 2>&5
13175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13176 (exit $ac_status); } &&
13177 { ac_try='test -s conftest.$ac_objext'
13178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13179 (eval $ac_try) 2>&5
13181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13182 (exit $ac_status); }; }; then
13183 wine_cv_sys_vfs_has_statfs=yes
13185 echo "$as_me: failed program was:" >&5
13186 cat conftest.$ac_ext >&5
13187 wine_cv_sys_vfs_has_statfs=no
13190 rm -f conftest.$ac_objext conftest.$ac_ext
13193 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
13194 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
13195 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
13198 cat >>confdefs.h <<\_ACEOF
13199 #define STATFS_DEFINED_BY_SYS_VFS 1
13205 if test "$ac_cv_header_sys_statfs_h" = "yes"
13207 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
13208 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
13209 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
13210 echo $ECHO_N "(cached) $ECHO_C" >&6
13212 cat >conftest.$ac_ext <<_ACEOF
13213 #line $LINENO "configure"
13214 #include "confdefs.h"
13216 #include <sys/types.h>
13217 #ifdef HAVE_SYS_PARAM_H
13218 # include <sys/param.h>
13220 #include <sys/statfs.h>
13226 struct statfs stfs;
13232 rm -f conftest.$ac_objext
13233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13234 (eval $ac_compile) 2>&5
13236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13237 (exit $ac_status); } &&
13238 { ac_try='test -s conftest.$ac_objext'
13239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13240 (eval $ac_try) 2>&5
13242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13243 (exit $ac_status); }; }; then
13244 wine_cv_sys_statfs_has_statfs=yes
13246 echo "$as_me: failed program was:" >&5
13247 cat conftest.$ac_ext >&5
13248 wine_cv_sys_statfs_has_statfs=no
13251 rm -f conftest.$ac_objext conftest.$ac_ext
13254 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
13255 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
13256 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
13259 cat >>confdefs.h <<\_ACEOF
13260 #define STATFS_DEFINED_BY_SYS_STATFS 1
13266 if test "$ac_cv_header_sys_mount_h" = "yes"
13268 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
13269 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
13270 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
13271 echo $ECHO_N "(cached) $ECHO_C" >&6
13273 cat >conftest.$ac_ext <<_ACEOF
13274 #line $LINENO "configure"
13275 #include "confdefs.h"
13277 #include <sys/types.h>
13278 #ifdef HAVE_SYS_PARAM_H
13279 # include <sys/param.h>
13281 #include <sys/mount.h>
13287 struct statfs stfs;
13293 rm -f conftest.$ac_objext
13294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13295 (eval $ac_compile) 2>&5
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); } &&
13299 { ac_try='test -s conftest.$ac_objext'
13300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13301 (eval $ac_try) 2>&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); }; }; then
13305 wine_cv_sys_mount_has_statfs=yes
13307 echo "$as_me: failed program was:" >&5
13308 cat conftest.$ac_ext >&5
13309 wine_cv_sys_mount_has_statfs=no
13312 rm -f conftest.$ac_objext conftest.$ac_ext
13315 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
13316 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
13317 if test "$wine_cv_sys_mount_has_statfs" = "yes"
13320 cat >>confdefs.h <<\_ACEOF
13321 #define STATFS_DEFINED_BY_SYS_MOUNT 1
13328 echo "$as_me:$LINENO: checking for f_bfree in struct statfs" >&5
13329 echo $ECHO_N "checking for f_bfree in struct statfs... $ECHO_C" >&6
13330 if test "${ac_cv_c_statfs_f_bfree+set}" = set; then
13331 echo $ECHO_N "(cached) $ECHO_C" >&6
13333 cat >conftest.$ac_ext <<_ACEOF
13334 #line $LINENO "configure"
13335 #include "confdefs.h"
13336 #include <sys/types.h>
13337 #ifdef HAVE_SYS_PARAM_H
13338 # include <sys/param.h>
13340 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
13341 # include <sys/mount.h>
13343 # ifdef STATFS_DEFINED_BY_SYS_VFS
13344 # include <sys/vfs.h>
13346 # ifdef STATFS_DEFINED_BY_SYS_STATFS
13347 # include <sys/statfs.h>
13354 struct statfs s; s.f_bfree = 0
13359 rm -f conftest.$ac_objext
13360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13361 (eval $ac_compile) 2>&5
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); } &&
13365 { ac_try='test -s conftest.$ac_objext'
13366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13367 (eval $ac_try) 2>&5
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); }; }; then
13371 ac_cv_c_statfs_f_bfree="yes"
13373 echo "$as_me: failed program was:" >&5
13374 cat conftest.$ac_ext >&5
13375 ac_cv_c_statfs_f_bfree="no"
13377 rm -f conftest.$ac_objext conftest.$ac_ext
13379 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bfree" >&5
13380 echo "${ECHO_T}$ac_cv_c_statfs_f_bfree" >&6
13381 if test "x$ac_cv_c_statfs_f_bfree" = "xyes"; then
13383 cat >>confdefs.h <<\_ACEOF
13384 #define STATFS_HAS_BFREE 1
13391 echo "$as_me:$LINENO: checking for f_bavail in struct statfs" >&5
13392 echo $ECHO_N "checking for f_bavail in struct statfs... $ECHO_C" >&6
13393 if test "${ac_cv_c_statfs_f_bavail+set}" = set; then
13394 echo $ECHO_N "(cached) $ECHO_C" >&6
13396 cat >conftest.$ac_ext <<_ACEOF
13397 #line $LINENO "configure"
13398 #include "confdefs.h"
13399 #include <sys/types.h>
13400 #ifdef HAVE_SYS_PARAM_H
13401 # include <sys/param.h>
13403 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
13404 # include <sys/mount.h>
13406 # ifdef STATFS_DEFINED_BY_SYS_VFS
13407 # include <sys/vfs.h>
13409 # ifdef STATFS_DEFINED_BY_SYS_STATFS
13410 # include <sys/statfs.h>
13417 struct statfs s; s.f_bavail = 0
13422 rm -f conftest.$ac_objext
13423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13424 (eval $ac_compile) 2>&5
13426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 (exit $ac_status); } &&
13428 { ac_try='test -s conftest.$ac_objext'
13429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13430 (eval $ac_try) 2>&5
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); }; }; then
13434 ac_cv_c_statfs_f_bavail="yes"
13436 echo "$as_me: failed program was:" >&5
13437 cat conftest.$ac_ext >&5
13438 ac_cv_c_statfs_f_bavail="no"
13440 rm -f conftest.$ac_objext conftest.$ac_ext
13442 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bavail" >&5
13443 echo "${ECHO_T}$ac_cv_c_statfs_f_bavail" >&6
13444 if test "x$ac_cv_c_statfs_f_bavail" = "xyes"; then
13446 cat >>confdefs.h <<\_ACEOF
13447 #define STATFS_HAS_BAVAIL 1
13454 echo "$as_me:$LINENO: checking for msg_accrights in struct msghdr" >&5
13455 echo $ECHO_N "checking for msg_accrights in struct msghdr... $ECHO_C" >&6
13456 if test "${ac_cv_c_msghdr_msg_accrights+set}" = set; then
13457 echo $ECHO_N "(cached) $ECHO_C" >&6
13459 cat >conftest.$ac_ext <<_ACEOF
13460 #line $LINENO "configure"
13461 #include "confdefs.h"
13462 #include <sys/types.h>
13463 #ifdef HAVE_SYS_SOCKET_H
13464 # include <sys/socket.h>
13469 struct msghdr s; s.msg_accrights = 0
13474 rm -f conftest.$ac_objext
13475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13476 (eval $ac_compile) 2>&5
13478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479 (exit $ac_status); } &&
13480 { ac_try='test -s conftest.$ac_objext'
13481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13482 (eval $ac_try) 2>&5
13484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13485 (exit $ac_status); }; }; then
13486 ac_cv_c_msghdr_msg_accrights="yes"
13488 echo "$as_me: failed program was:" >&5
13489 cat conftest.$ac_ext >&5
13490 ac_cv_c_msghdr_msg_accrights="no"
13492 rm -f conftest.$ac_objext conftest.$ac_ext
13494 echo "$as_me:$LINENO: result: $ac_cv_c_msghdr_msg_accrights" >&5
13495 echo "${ECHO_T}$ac_cv_c_msghdr_msg_accrights" >&6
13496 if test "x$ac_cv_c_msghdr_msg_accrights" = "xyes"; then
13498 cat >>confdefs.h <<\_ACEOF
13499 #define HAVE_MSGHDR_ACCRIGHTS 1
13506 echo "$as_me:$LINENO: checking for sa_len in struct sockaddr" >&5
13507 echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
13508 if test "${ac_cv_c_sockaddr_sa_len+set}" = set; then
13509 echo $ECHO_N "(cached) $ECHO_C" >&6
13511 cat >conftest.$ac_ext <<_ACEOF
13512 #line $LINENO "configure"
13513 #include "confdefs.h"
13514 #include <sys/types.h>
13515 #ifdef HAVE_SYS_SOCKET_H
13516 # include <sys/socket.h>
13521 struct sockaddr s; s.sa_len = 0
13526 rm -f conftest.$ac_objext
13527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13528 (eval $ac_compile) 2>&5
13530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13531 (exit $ac_status); } &&
13532 { ac_try='test -s conftest.$ac_objext'
13533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13534 (eval $ac_try) 2>&5
13536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537 (exit $ac_status); }; }; then
13538 ac_cv_c_sockaddr_sa_len="yes"
13540 echo "$as_me: failed program was:" >&5
13541 cat conftest.$ac_ext >&5
13542 ac_cv_c_sockaddr_sa_len="no"
13544 rm -f conftest.$ac_objext conftest.$ac_ext
13546 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_sa_len" >&5
13547 echo "${ECHO_T}$ac_cv_c_sockaddr_sa_len" >&6
13548 if test "x$ac_cv_c_sockaddr_sa_len" = "xyes"; then
13550 cat >>confdefs.h <<\_ACEOF
13551 #define HAVE_SOCKADDR_SA_LEN 1
13558 echo "$as_me:$LINENO: checking for sun_len in struct sockaddr_un" >&5
13559 echo $ECHO_N "checking for sun_len in struct sockaddr_un... $ECHO_C" >&6
13560 if test "${ac_cv_c_sockaddr_un_sun_len+set}" = set; then
13561 echo $ECHO_N "(cached) $ECHO_C" >&6
13563 cat >conftest.$ac_ext <<_ACEOF
13564 #line $LINENO "configure"
13565 #include "confdefs.h"
13566 #include <sys/types.h>
13567 #ifdef HAVE_SYS_SOCKET_H
13568 # include <sys/socket.h>
13570 #ifdef HAVE_SYS_UN_H
13571 # include <sys/un.h>
13576 struct sockaddr_un s; s.sun_len = 0
13581 rm -f conftest.$ac_objext
13582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13583 (eval $ac_compile) 2>&5
13585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13586 (exit $ac_status); } &&
13587 { ac_try='test -s conftest.$ac_objext'
13588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13589 (eval $ac_try) 2>&5
13591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13592 (exit $ac_status); }; }; then
13593 ac_cv_c_sockaddr_un_sun_len="yes"
13595 echo "$as_me: failed program was:" >&5
13596 cat conftest.$ac_ext >&5
13597 ac_cv_c_sockaddr_un_sun_len="no"
13599 rm -f conftest.$ac_objext conftest.$ac_ext
13601 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_un_sun_len" >&5
13602 echo "${ECHO_T}$ac_cv_c_sockaddr_un_sun_len" >&6
13603 if test "x$ac_cv_c_sockaddr_un_sun_len" = "xyes"; then
13605 cat >>confdefs.h <<\_ACEOF
13606 #define HAVE_SOCKADDR_SUN_LEN 1
13616 echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
13617 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
13618 if test "${ac_cv_cpp_def_i386+set}" = set; then
13619 echo $ECHO_N "(cached) $ECHO_C" >&6
13621 cat >conftest.$ac_ext <<_ACEOF
13622 #line $LINENO "configure"
13623 #include "confdefs.h"
13628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13629 $EGREP "yes" >/dev/null 2>&1; then
13630 ac_cv_cpp_def_i386="yes"
13632 ac_cv_cpp_def_i386="no"
13637 echo "$as_me:$LINENO: result: $ac_cv_cpp_def_i386" >&5
13638 echo "${ECHO_T}$ac_cv_cpp_def_i386" >&6
13641 if test "$ac_cv_cpp_def_i386" = "yes"
13643 CFLAGS="$CFLAGS -D__i386__"
13644 LINTFLAGS="$LINTFLAGS -D__i386__"
13650 echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
13651 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
13652 if test "${ac_cv_cpp_def_sparc+set}" = set; then
13653 echo $ECHO_N "(cached) $ECHO_C" >&6
13655 cat >conftest.$ac_ext <<_ACEOF
13656 #line $LINENO "configure"
13657 #include "confdefs.h"
13662 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13663 $EGREP "yes" >/dev/null 2>&1; then
13664 ac_cv_cpp_def_sparc="yes"
13666 ac_cv_cpp_def_sparc="no"
13671 echo "$as_me:$LINENO: result: $ac_cv_cpp_def_sparc" >&5
13672 echo "${ECHO_T}$ac_cv_cpp_def_sparc" >&6
13675 if test "$ac_cv_cpp_def_sparc" = "yes"
13677 CFLAGS="$CFLAGS -D__sparc__"
13678 LINTFLAGS="$LINTFLAGS -D__sparc__"
13682 case $host_vendor in
13684 echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
13685 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
13686 if test "${ac_cv_cpp_def_sun+set}" = set; then
13687 echo $ECHO_N "(cached) $ECHO_C" >&6
13689 cat >conftest.$ac_ext <<_ACEOF
13690 #line $LINENO "configure"
13691 #include "confdefs.h"
13696 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13697 $EGREP "yes" >/dev/null 2>&1; then
13698 ac_cv_cpp_def_sun="yes"
13700 ac_cv_cpp_def_sun="no"
13705 echo "$as_me:$LINENO: result: $ac_cv_cpp_def_sun" >&5
13706 echo "${ECHO_T}$ac_cv_cpp_def_sun" >&6
13709 if test "$ac_cv_cpp_def_sun" = "yes"
13711 CFLAGS="$CFLAGS -D__sun__"
13712 LINTFLAGS="$LINTFLAGS -D__sun__"
13719 ac_config_commands="$ac_config_commands controls"
13721 ac_config_commands="$ac_config_commands dlls/ddraw/d3ddevice"
13723 ac_config_commands="$ac_config_commands dlls/ddraw/dclipper"
13725 ac_config_commands="$ac_config_commands dlls/ddraw/ddraw"
13727 ac_config_commands="$ac_config_commands dlls/ddraw/direct3d"
13729 ac_config_commands="$ac_config_commands dlls/ddraw/dpalette"
13731 ac_config_commands="$ac_config_commands dlls/ddraw/dsurface"
13733 ac_config_commands="$ac_config_commands dlls/dinput/joystick"
13735 ac_config_commands="$ac_config_commands dlls/dinput/keyboard"
13737 ac_config_commands="$ac_config_commands dlls/dinput/mouse"
13739 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
13741 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
13743 ac_config_commands="$ac_config_commands dlls/gdi/win16drv"
13745 ac_config_commands="$ac_config_commands dlls/kernel/messages"
13747 ac_config_commands="$ac_config_commands dlls/user/dde"
13749 ac_config_commands="$ac_config_commands dlls/user/resources"
13751 ac_config_commands="$ac_config_commands dlls/wineps/data"
13753 ac_config_commands="$ac_config_commands files"
13755 ac_config_commands="$ac_config_commands graphics"
13757 ac_config_commands="$ac_config_commands graphics/x11drv"
13759 ac_config_commands="$ac_config_commands if1632"
13761 ac_config_commands="$ac_config_commands include/wine"
13763 ac_config_commands="$ac_config_commands loader"
13765 ac_config_commands="$ac_config_commands loader/ne"
13767 ac_config_commands="$ac_config_commands memory"
13769 ac_config_commands="$ac_config_commands misc"
13771 ac_config_commands="$ac_config_commands msdos"
13773 ac_config_commands="$ac_config_commands objects"
13775 ac_config_commands="$ac_config_commands programs/regapi/tests"
13777 ac_config_commands="$ac_config_commands programs/regedit/tests"
13779 ac_config_commands="$ac_config_commands relay32"
13781 ac_config_commands="$ac_config_commands scheduler"
13783 ac_config_commands="$ac_config_commands win32"
13785 ac_config_commands="$ac_config_commands windows"
13788 MAKE_RULES=Make.rules
13791 MAKE_DLL_RULES=dlls/Makedll.rules
13794 MAKE_TEST_RULES=dlls/Maketest.rules
13797 MAKE_PROG_RULES=programs/Makeprog.rules
13800 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.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/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/d3d8/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dsound/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/icmp/Makefile dlls/imagehlp/Makefile dlls/imm32/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/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvideo/Makefile dlls/msvideo/msrle32/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/Makefile dlls/ole32/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/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/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile include/Makefile library/Makefile miscemu/Makefile ole/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/notepad/Makefile programs/osversioncheck/Makefile programs/progman/Makefile programs/regapi/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/regtest/Makefile programs/rundll32/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/wmc/Makefile tools/wpp/Makefile tools/wrc/Makefile unicode/Makefile"
13803 cat >confcache <<\_ACEOF
13804 # This file is a shell script that caches the results of configure
13805 # tests run on this system so they can be shared between configure
13806 # scripts and configure runs, see configure's option --config-cache.
13807 # It is not useful on other systems. If it contains results you don't
13808 # want to keep, you may remove or edit it.
13810 # config.status only pays attention to the cache file if you give it
13811 # the --recheck option to rerun configure.
13813 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13814 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13815 # following values.
13819 # The following way of writing the cache mishandles newlines in values,
13820 # but we know of no workaround that is simple, portable, and efficient.
13821 # So, don't put newlines in cache variables' values.
13822 # Ultrix sh set writes to stderr and can't be redirected directly,
13823 # and sets the high bit in the cache file unless we assign to the vars.
13826 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13828 # `set' does not quote correctly, so add quotes (double-quote
13829 # substitution turns \\\\ into \\, and sed turns \\ into \).
13832 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13835 # `set' quotes correctly as required by POSIX, so do not add quotes.
13837 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
13844 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13846 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13848 if cmp -s $cache_file confcache; then :; else
13849 if test -w $cache_file; then
13850 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
13851 cat confcache >$cache_file
13853 echo "not updating unwritable cache $cache_file"
13858 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13859 # Let make expand exec_prefix.
13860 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13862 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13863 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13864 # trailing colons and then remove the whole line if VPATH becomes empty
13865 # (actually we leave an empty line to preserve line numbers).
13866 if test "x$srcdir" = x.; then
13867 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13868 s/:*\$(srcdir):*/:/;
13869 s/:*\${srcdir}:*/:/;
13871 s/^\([^=]*=[ ]*\):*/\1/;
13877 DEFS=-DHAVE_CONFIG_H
13881 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13882 # 1. Remove the extension, and $U if already installed.
13883 ac_i=`echo "$ac_i" |
13884 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
13886 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
13887 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
13889 LIBOBJS=$ac_libobjs
13891 LTLIBOBJS=$ac_ltlibobjs
13895 : ${CONFIG_STATUS=./config.status}
13896 ac_clean_files_save=$ac_clean_files
13897 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13898 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13899 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13900 cat >$CONFIG_STATUS <<_ACEOF
13902 # Generated by $as_me.
13903 # Run this file to recreate the current configuration.
13904 # Compiler output produced by configure, useful for debugging
13905 # configure, is in config.log if it exists.
13908 SHELL=\${CONFIG_SHELL-$SHELL}
13911 cat >>$CONFIG_STATUS <<\_ACEOF
13912 ## --------------------- ##
13913 ## M4sh Initialization. ##
13914 ## --------------------- ##
13916 # Be Bourne compatible
13917 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13920 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13921 # is contrary to our usage. Disable this feature.
13922 alias -g '${1+"$@"}'='"$@"'
13923 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
13927 # Support unset when possible.
13928 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
13935 # Work around bugs in pre-3.0 UWIN ksh.
13936 $as_unset ENV MAIL MAILPATH
13942 for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
13944 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
13945 eval $as_var=C; export $as_var
13951 # Required to use basename.
13952 if expr a : '\(a\)' >/dev/null 2>&1; then
13958 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
13959 as_basename=basename
13965 # Name of the executable.
13966 as_me=`$as_basename "$0" ||
13967 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13968 X"$0" : 'X\(//\)$' \| \
13969 X"$0" : 'X\(/\)$' \| \
13970 . : '\(.\)' 2>/dev/null ||
13972 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13973 /^X\/\(\/\/\)$/{ s//\1/; q; }
13974 /^X\/\(\/\).*/{ s//\1/; q; }
13978 # PATH needs CR, and LINENO needs CR and PATH.
13979 # Avoid depending upon Character Ranges.
13980 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13981 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13982 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13983 as_cr_digits='0123456789'
13984 as_cr_alnum=$as_cr_Letters$as_cr_digits
13986 # The user is always right.
13987 if test "${PATH_SEPARATOR+set}" != set; then
13988 echo "#! /bin/sh" >conftest.sh
13989 echo "exit 0" >>conftest.sh
13990 chmod +x conftest.sh
13991 if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
14000 as_lineno_1=$LINENO
14001 as_lineno_2=$LINENO
14002 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14003 test "x$as_lineno_1" != "x$as_lineno_2" &&
14004 test "x$as_lineno_3" = "x$as_lineno_2" || {
14005 # Find who we are. Look in the path if we contain no path at all
14008 *[\\/]* ) as_myself=$0 ;;
14009 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14010 for as_dir in $PATH
14013 test -z "$as_dir" && as_dir=.
14014 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14019 # We did not find ourselves, most probably we were run as `sh COMMAND'
14020 # in which case we are not to be found in the path.
14021 if test "x$as_myself" = x; then
14024 if test ! -f "$as_myself"; then
14025 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
14026 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
14027 { (exit 1); exit 1; }; }
14029 case $CONFIG_SHELL in
14031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14032 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
14035 test -z "$as_dir" && as_dir=.
14036 for as_base in sh bash ksh sh5; do
14039 if ("$as_dir/$as_base" -c '
14040 as_lineno_1=$LINENO
14041 as_lineno_2=$LINENO
14042 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14043 test "x$as_lineno_1" != "x$as_lineno_2" &&
14044 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
14045 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
14046 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
14047 CONFIG_SHELL=$as_dir/$as_base
14048 export CONFIG_SHELL
14049 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14057 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14058 # uniformly replaced by the line number. The first 'sed' inserts a
14059 # line-number line before each line; the second 'sed' does the real
14060 # work. The second script uses 'N' to pair each line-number line
14061 # with the numbered line, and appends trailing '-' during
14062 # substitution so that $LINENO is not a special case at line end.
14063 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14064 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
14065 sed '=' <$as_myself |
14070 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14073 s,^['$as_cr_digits']*\n,,
14074 ' >$as_me.lineno &&
14075 chmod +x $as_me.lineno ||
14076 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14077 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14078 { (exit 1); exit 1; }; }
14080 # Don't try to exec as it changes $[0], causing all sort of problems
14081 # (the dirname of $[0] is not the place where we might find the
14082 # original and so on. Autoconf is especially sensible to this).
14084 # Exit status is that of the last command.
14089 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
14090 *c*,-n*) ECHO_N= ECHO_C='
14092 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
14093 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
14096 if expr a : '\(a\)' >/dev/null 2>&1; then
14102 rm -f conf$$ conf$$.exe conf$$.file
14104 if ln -s conf$$.file conf$$ 2>/dev/null; then
14105 # We could just check for DJGPP; but this test a) works b) is more generic
14106 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14107 if test -f conf$$.exe; then
14108 # Don't use ln at all; we don't have any links
14113 elif ln conf$$.file conf$$ 2>/dev/null; then
14118 rm -f conf$$ conf$$.exe conf$$.file
14120 if mkdir -p . 2>/dev/null; then
14126 as_executable_p="test -f"
14128 # Sed expression to map a string onto a valid CPP name.
14129 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
14131 # Sed expression to map a string onto a valid variable name.
14132 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
14136 # We need space, tab and new line, in precisely that order.
14146 # Open the log real soon, to keep \$[0] and so on meaningful, and to
14147 # report actual input values of CONFIG_FILES etc. instead of their
14148 # values after options handling. Logging --version etc. is OK.
14152 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14153 ## Running $as_me. ##
14158 This file was extended by Wine $as_me 20021125, which was
14159 generated by GNU Autoconf 2.54. Invocation command line was
14161 CONFIG_FILES = $CONFIG_FILES
14162 CONFIG_HEADERS = $CONFIG_HEADERS
14163 CONFIG_LINKS = $CONFIG_LINKS
14164 CONFIG_COMMANDS = $CONFIG_COMMANDS
14168 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14172 # Files that config.status was made for.
14173 if test -n "$ac_config_files"; then
14174 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14177 if test -n "$ac_config_headers"; then
14178 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14181 if test -n "$ac_config_links"; then
14182 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
14185 if test -n "$ac_config_commands"; then
14186 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
14189 cat >>$CONFIG_STATUS <<\_ACEOF
14192 \`$as_me' instantiates files from templates according to the
14193 current configuration.
14195 Usage: $0 [OPTIONS] [FILE]...
14197 -h, --help print this help, then exit
14198 -V, --version print version number, then exit
14199 -d, --debug don't remove temporary files
14200 --recheck update $as_me by reconfiguring in the same conditions
14201 --file=FILE[:TEMPLATE]
14202 instantiate the configuration file FILE
14203 --header=FILE[:TEMPLATE]
14204 instantiate the configuration header FILE
14206 Configuration files:
14209 Configuration headers:
14212 Configuration commands:
14215 Report bugs to <bug-autoconf@gnu.org>."
14218 cat >>$CONFIG_STATUS <<_ACEOF
14220 Wine config.status 20021125
14221 configured by $0, generated by GNU Autoconf 2.54,
14222 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
14224 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
14225 Free Software Foundation, Inc.
14226 This config.status script is free software; the Free Software Foundation
14227 gives unlimited permission to copy, distribute and modify it."
14232 cat >>$CONFIG_STATUS <<\_ACEOF
14233 # If no file are specified by the user, then we need to provide default
14234 # value. By we need to know if files were specified by the user.
14240 ac_option=`expr "x$1" : 'x\([^=]*\)='`
14241 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
14249 *) # This is not an option, so the user has probably given explicit
14252 ac_need_defaults=false;;
14256 # Handling of the options.
14258 cat >>$CONFIG_STATUS <<_ACEOF
14259 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14260 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
14261 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
14263 cat >>$CONFIG_STATUS <<\_ACEOF
14264 --version | --vers* | -V )
14265 echo "$ac_cs_version"; exit 0 ;;
14267 # Conflict between --help and --header
14268 { { echo "$as_me:$LINENO: error: ambiguous option: $1
14269 Try \`$0 --help' for more information." >&5
14270 echo "$as_me: error: ambiguous option: $1
14271 Try \`$0 --help' for more information." >&2;}
14272 { (exit 1); exit 1; }; };;
14273 --help | --hel | -h )
14274 echo "$ac_cs_usage"; exit 0 ;;
14275 --debug | --d* | -d )
14277 --file | --fil | --fi | --f )
14279 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
14280 ac_need_defaults=false;;
14281 --header | --heade | --head | --hea )
14283 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
14284 ac_need_defaults=false;;
14286 # This is an error.
14287 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
14288 Try \`$0 --help' for more information." >&5
14289 echo "$as_me: error: unrecognized option: $1
14290 Try \`$0 --help' for more information." >&2;}
14291 { (exit 1); exit 1; }; } ;;
14293 *) ac_config_targets="$ac_config_targets $1" ;;
14305 cat >>$CONFIG_STATUS <<\_ACEOF
14306 for ac_config_target in $ac_config_targets
14308 case "$ac_config_target" in
14309 # Handling of arguments.
14310 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
14311 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
14312 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
14313 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
14314 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14315 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
14316 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
14317 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
14318 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
14319 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
14320 "dlls/cabinet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
14321 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
14322 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
14323 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
14324 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
14325 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
14326 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
14327 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
14328 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
14329 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
14330 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
14331 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
14332 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
14333 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
14334 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
14335 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
14336 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
14337 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
14338 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
14339 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
14340 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
14341 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
14342 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
14343 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
14344 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
14345 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
14346 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
14347 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
14348 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
14349 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
14350 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
14351 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
14352 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
14353 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
14354 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
14355 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
14356 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
14357 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
14358 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
14359 "dlls/msvideo/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/msrle32/Makefile" ;;
14360 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
14361 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
14362 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
14363 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
14364 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
14365 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
14366 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
14367 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
14368 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
14369 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
14370 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
14371 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
14372 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
14373 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
14374 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
14375 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
14376 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
14377 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
14378 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
14379 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
14380 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
14381 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
14382 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
14383 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
14384 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
14385 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
14386 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
14387 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
14388 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
14389 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
14390 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
14391 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
14392 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
14393 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
14394 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
14395 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
14396 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
14397 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
14398 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
14399 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
14400 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
14401 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
14402 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
14403 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
14404 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
14405 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
14406 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
14407 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
14408 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
14409 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
14410 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
14411 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
14412 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
14413 "dlls/winmm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
14414 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
14415 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
14416 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
14417 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
14418 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
14419 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
14420 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
14421 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
14422 "dlls/winsock/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
14423 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
14424 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
14425 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
14426 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
14427 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
14428 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
14429 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
14430 "library/Makefile" ) CONFIG_FILES="$CONFIG_FILES library/Makefile" ;;
14431 "miscemu/Makefile" ) CONFIG_FILES="$CONFIG_FILES miscemu/Makefile" ;;
14432 "ole/Makefile" ) CONFIG_FILES="$CONFIG_FILES ole/Makefile" ;;
14433 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
14434 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
14435 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
14436 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
14437 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
14438 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
14439 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
14440 "programs/osversioncheck/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/osversioncheck/Makefile" ;;
14441 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
14442 "programs/regapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regapi/Makefile" ;;
14443 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
14444 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
14445 "programs/regtest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regtest/Makefile" ;;
14446 "programs/rundll32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
14447 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
14448 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
14449 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
14450 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
14451 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
14452 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
14453 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
14454 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
14455 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
14456 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
14457 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
14458 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
14459 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
14460 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
14461 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
14462 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
14463 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
14464 "tools/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wpp/Makefile" ;;
14465 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
14466 "unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES unicode/Makefile" ;;
14467 "controls" ) CONFIG_COMMANDS="$CONFIG_COMMANDS controls" ;;
14468 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
14469 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
14470 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
14471 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
14472 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
14473 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
14474 "dlls/dinput/joystick" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/joystick" ;;
14475 "dlls/dinput/keyboard" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/keyboard" ;;
14476 "dlls/dinput/mouse" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/mouse" ;;
14477 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
14478 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
14479 "dlls/gdi/win16drv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/win16drv" ;;
14480 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
14481 "dlls/user/dde" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/dde" ;;
14482 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
14483 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
14484 "files" ) CONFIG_COMMANDS="$CONFIG_COMMANDS files" ;;
14485 "graphics" ) CONFIG_COMMANDS="$CONFIG_COMMANDS graphics" ;;
14486 "graphics/x11drv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS graphics/x11drv" ;;
14487 "if1632" ) CONFIG_COMMANDS="$CONFIG_COMMANDS if1632" ;;
14488 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
14489 "loader" ) CONFIG_COMMANDS="$CONFIG_COMMANDS loader" ;;
14490 "loader/ne" ) CONFIG_COMMANDS="$CONFIG_COMMANDS loader/ne" ;;
14491 "memory" ) CONFIG_COMMANDS="$CONFIG_COMMANDS memory" ;;
14492 "misc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS misc" ;;
14493 "msdos" ) CONFIG_COMMANDS="$CONFIG_COMMANDS msdos" ;;
14494 "objects" ) CONFIG_COMMANDS="$CONFIG_COMMANDS objects" ;;
14495 "programs/regapi/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regapi/tests" ;;
14496 "programs/regedit/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regedit/tests" ;;
14497 "relay32" ) CONFIG_COMMANDS="$CONFIG_COMMANDS relay32" ;;
14498 "scheduler" ) CONFIG_COMMANDS="$CONFIG_COMMANDS scheduler" ;;
14499 "win32" ) CONFIG_COMMANDS="$CONFIG_COMMANDS win32" ;;
14500 "windows" ) CONFIG_COMMANDS="$CONFIG_COMMANDS windows" ;;
14501 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
14502 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14503 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14504 { (exit 1); exit 1; }; };;
14508 # If the user did not use the arguments to specify the items to instantiate,
14509 # then the envvar interface is used. Set only those that are not.
14510 # We use the long form for the default assignment because of an extremely
14511 # bizarre bug on SunOS 4.1.3.
14512 if $ac_need_defaults; then
14513 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14514 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14515 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14518 # Create a temporary directory, and hook for its removal unless debugging.
14521 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
14522 trap '{ (exit 1); exit 1; }' 1 2 13 15
14525 # Create a (secure) tmp directory for tmp files.
14528 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
14529 test -n "$tmp" && test -d "$tmp"
14532 tmp=$TMPDIR/cs$$-$RANDOM
14533 (umask 077 && mkdir $tmp)
14536 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
14537 { (exit 1); exit 1; }
14542 cat >>$CONFIG_STATUS <<_ACEOF
14545 # CONFIG_FILES section.
14548 # No need to generate the scripts if there are no CONFIG_FILES.
14549 # This happens for instance when ./config.status config.h
14550 if test -n "\$CONFIG_FILES"; then
14551 # Protect against being on the right side of a sed subst in config.status.
14552 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
14553 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
14554 s,@SHELL@,$SHELL,;t t
14555 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
14556 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
14557 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
14558 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
14559 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
14560 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
14561 s,@exec_prefix@,$exec_prefix,;t t
14562 s,@prefix@,$prefix,;t t
14563 s,@program_transform_name@,$program_transform_name,;t t
14564 s,@bindir@,$bindir,;t t
14565 s,@sbindir@,$sbindir,;t t
14566 s,@libexecdir@,$libexecdir,;t t
14567 s,@datadir@,$datadir,;t t
14568 s,@sysconfdir@,$sysconfdir,;t t
14569 s,@sharedstatedir@,$sharedstatedir,;t t
14570 s,@localstatedir@,$localstatedir,;t t
14571 s,@libdir@,$libdir,;t t
14572 s,@includedir@,$includedir,;t t
14573 s,@oldincludedir@,$oldincludedir,;t t
14574 s,@infodir@,$infodir,;t t
14575 s,@mandir@,$mandir,;t t
14576 s,@build_alias@,$build_alias,;t t
14577 s,@host_alias@,$host_alias,;t t
14578 s,@target_alias@,$target_alias,;t t
14579 s,@DEFS@,$DEFS,;t t
14580 s,@ECHO_C@,$ECHO_C,;t t
14581 s,@ECHO_N@,$ECHO_N,;t t
14582 s,@ECHO_T@,$ECHO_T,;t t
14583 s,@LIBS@,$LIBS,;t t
14584 s,@LIBEXT@,$LIBEXT,;t t
14585 s,@OPTIONS@,$OPTIONS,;t t
14586 s,@WIN16_FILES@,$WIN16_FILES,;t t
14587 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
14588 s,@build@,$build,;t t
14589 s,@build_cpu@,$build_cpu,;t t
14590 s,@build_vendor@,$build_vendor,;t t
14591 s,@build_os@,$build_os,;t t
14592 s,@host@,$host,;t t
14593 s,@host_cpu@,$host_cpu,;t t
14594 s,@host_vendor@,$host_vendor,;t t
14595 s,@host_os@,$host_os,;t t
14596 s,@SET_MAKE@,$SET_MAKE,;t t
14598 s,@CFLAGS@,$CFLAGS,;t t
14599 s,@LDFLAGS@,$LDFLAGS,;t t
14600 s,@CPPFLAGS@,$CPPFLAGS,;t t
14601 s,@ac_ct_CC@,$ac_ct_CC,;t t
14602 s,@EXEEXT@,$EXEEXT,;t t
14603 s,@OBJEXT@,$OBJEXT,;t t
14605 s,@TOOLSDIR@,$TOOLSDIR,;t t
14606 s,@X_CFLAGS@,$X_CFLAGS,;t t
14607 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
14608 s,@X_LIBS@,$X_LIBS,;t t
14609 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
14610 s,@YACC@,$YACC,;t t
14612 s,@LEXLIB@,$LEXLIB,;t t
14613 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
14614 s,@XYACC@,$XYACC,;t t
14615 s,@XLEX@,$XLEX,;t t
14617 s,@ac_ct_LD@,$ac_ct_LD,;t t
14619 s,@ac_ct_AR@,$ac_ct_AR,;t t
14620 s,@RANLIB@,$RANLIB,;t t
14621 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
14622 s,@STRIP@,$STRIP,;t t
14623 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
14624 s,@WINDRES@,$WINDRES,;t t
14625 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
14626 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
14627 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
14628 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14629 s,@LN_S@,$LN_S,;t t
14631 s,@C2MAN@,$C2MAN,;t t
14632 s,@LDCONFIG@,$LDCONFIG,;t t
14633 s,@LINT@,$LINT,;t t
14634 s,@LINTFLAGS@,$LINTFLAGS,;t t
14635 s,@DB2HTML@,$DB2HTML,;t t
14636 s,@DB2PDF@,$DB2PDF,;t t
14637 s,@DB2PS@,$DB2PS,;t t
14638 s,@JPEGLIB@,$JPEGLIB,;t t
14639 s,@EGREP@,$EGREP,;t t
14640 s,@XLIB@,$XLIB,;t t
14641 s,@XFILES@,$XFILES,;t t
14642 s,@OPENGLFILES@,$OPENGLFILES,;t t
14643 s,@GLU32FILES@,$GLU32FILES,;t t
14644 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
14645 s,@NASLIBS@,$NASLIBS,;t t
14646 s,@CURSESLIBS@,$CURSESLIBS,;t t
14647 s,@sane_devel@,$sane_devel,;t t
14648 s,@SANELIBS@,$SANELIBS,;t t
14649 s,@SANEINCL@,$SANEINCL,;t t
14650 s,@ft_devel@,$ft_devel,;t t
14651 s,@ft_devel2@,$ft_devel2,;t t
14652 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
14653 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
14654 s,@ARTSLIBS@,$ARTSLIBS,;t t
14655 s,@ARTSINCL@,$ARTSINCL,;t t
14656 s,@ALSALIBS@,$ALSALIBS,;t t
14657 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
14658 s,@DLLEXT@,$DLLEXT,;t t
14659 s,@DLLFLAGS@,$DLLFLAGS,;t t
14660 s,@DLLIBS@,$DLLIBS,;t t
14661 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
14662 s,@LDSHARED@,$LDSHARED,;t t
14663 s,@DLLWRAP@,$DLLWRAP,;t t
14664 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
14665 s,@CROSSTEST@,$CROSSTEST,;t t
14666 s,@CROSSCC@,$CROSSCC,;t t
14667 s,@DLLTOOL@,$DLLTOOL,;t t
14668 s,@LDPATH@,$LDPATH,;t t
14669 s,@CRTLIBS@,$CRTLIBS,;t t
14671 s,@ALLOCA@,$ALLOCA,;t t
14672 s,@LIBOBJS@,$LIBOBJS,;t t
14673 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
14674 /@MAKE_RULES@/r $MAKE_RULES
14675 s,@MAKE_RULES@,,;t t
14676 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
14677 s,@MAKE_DLL_RULES@,,;t t
14678 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
14679 s,@MAKE_TEST_RULES@,,;t t
14680 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
14681 s,@MAKE_PROG_RULES@,,;t t
14686 cat >>$CONFIG_STATUS <<\_ACEOF
14687 # Split the substitutions into bite-sized pieces for seds with
14688 # small command number limits, like on Digital OSF/1 and HP-UX.
14689 ac_max_sed_lines=48
14690 ac_sed_frag=1 # Number of current file.
14691 ac_beg=1 # First line for current file.
14692 ac_end=$ac_max_sed_lines # Line after last line for current file.
14695 while $ac_more_lines; do
14696 if test $ac_beg -gt 1; then
14697 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14699 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14701 if test ! -s $tmp/subs.frag; then
14702 ac_more_lines=false
14704 # The purpose of the label and of the branching condition is to
14705 # speed up the sed processing (if there are no `@' at all, there
14706 # is no need to browse any of the substitutions).
14707 # These are the two extra sed commands mentioned above.
14709 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
14710 if test -z "$ac_sed_cmds"; then
14711 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
14713 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
14715 ac_sed_frag=`expr $ac_sed_frag + 1`
14717 ac_end=`expr $ac_end + $ac_max_sed_lines`
14720 if test -z "$ac_sed_cmds"; then
14723 fi # test -n "$CONFIG_FILES"
14726 cat >>$CONFIG_STATUS <<\_ACEOF
14727 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
14728 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14730 - | *:- | *:-:* ) # input from stdin
14732 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14733 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14734 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14735 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14736 * ) ac_file_in=$ac_file.in ;;
14739 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
14740 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
14741 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14742 X"$ac_file" : 'X\(//\)[^/]' \| \
14743 X"$ac_file" : 'X\(//\)$' \| \
14744 X"$ac_file" : 'X\(/\)' \| \
14745 . : '\(.\)' 2>/dev/null ||
14747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14748 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14749 /^X\(\/\/\)$/{ s//\1/; q; }
14750 /^X\(\/\).*/{ s//\1/; q; }
14752 { if $as_mkdir_p; then
14757 while test ! -d "$as_dir"; do
14758 as_dirs="$as_dir $as_dirs"
14759 as_dir=`(dirname "$as_dir") 2>/dev/null ||
14760 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14761 X"$as_dir" : 'X\(//\)[^/]' \| \
14762 X"$as_dir" : 'X\(//\)$' \| \
14763 X"$as_dir" : 'X\(/\)' \| \
14764 . : '\(.\)' 2>/dev/null ||
14766 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14767 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14768 /^X\(\/\/\)$/{ s//\1/; q; }
14769 /^X\(\/\).*/{ s//\1/; q; }
14772 test ! -n "$as_dirs" || mkdir $as_dirs
14773 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14774 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14775 { (exit 1); exit 1; }; }; }
14779 if test "$ac_dir" != .; then
14780 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14781 # A "../" for each directory in $ac_dir_suffix.
14782 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14784 ac_dir_suffix= ac_top_builddir=
14788 .) # No --srcdir option. We are building in place.
14790 if test -z "$ac_top_builddir"; then
14793 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
14795 [\\/]* | ?:[\\/]* ) # Absolute path.
14796 ac_srcdir=$srcdir$ac_dir_suffix;
14797 ac_top_srcdir=$srcdir ;;
14798 *) # Relative path.
14799 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
14800 ac_top_srcdir=$ac_top_builddir$srcdir ;;
14802 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
14804 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
14805 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
14806 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
14807 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
14811 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14812 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
14815 if test x"$ac_file" != x-; then
14816 { echo "$as_me:$LINENO: creating $ac_file" >&5
14817 echo "$as_me: creating $ac_file" >&6;}
14820 # Let's still pretend it is `configure' which instantiates (i.e., don't
14821 # use $as_me), people would be surprised to read:
14822 # /* config.h. Generated by config.status. */
14823 if test x"$ac_file" = x-; then
14826 configure_input="$ac_file. "
14828 configure_input=$configure_input"Generated from `echo $ac_file_in |
14829 sed 's,.*/,,'` by configure."
14831 # First look for the input files in the build tree, otherwise in the
14833 ac_file_inputs=`IFS=:
14834 for f in $ac_file_in; do
14836 -) echo $tmp/stdin ;;
14838 # Absolute (can't be DOS-style, as IFS=:)
14839 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14840 echo "$as_me: error: cannot find input file: $f" >&2;}
14841 { (exit 1); exit 1; }; }
14844 if test -f "$f"; then
14847 elif test -f "$srcdir/$f"; then
14852 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14853 echo "$as_me: error: cannot find input file: $f" >&2;}
14854 { (exit 1); exit 1; }; }
14857 done` || { (exit 1); exit 1; }
14859 cat >>$CONFIG_STATUS <<_ACEOF
14863 cat >>$CONFIG_STATUS <<\_ACEOF
14865 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14866 s,@configure_input@,$configure_input,;t t
14867 s,@srcdir@,$ac_srcdir,;t t
14868 s,@abs_srcdir@,$ac_abs_srcdir,;t t
14869 s,@top_srcdir@,$ac_top_srcdir,;t t
14870 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
14871 s,@builddir@,$ac_builddir,;t t
14872 s,@abs_builddir@,$ac_abs_builddir,;t t
14873 s,@top_builddir@,$ac_top_builddir,;t t
14874 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
14875 s,@INSTALL@,$ac_INSTALL,;t t
14876 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
14878 if test x"$ac_file" != x-; then
14879 mv $tmp/out $ac_file
14887 cat >>$CONFIG_STATUS <<\_ACEOF
14890 # CONFIG_HEADER section.
14893 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
14894 # NAME is the cpp macro being defined and VALUE is the value it is being given.
14896 # ac_d sets the value in "#define NAME VALUE" lines.
14897 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
14898 ac_dB='[ ].*$,\1#\2'
14901 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
14902 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14903 ac_uB='$,\1#\2define\3'
14907 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
14908 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14910 - | *:- | *:-:* ) # input from stdin
14912 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14913 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14914 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14915 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14916 * ) ac_file_in=$ac_file.in ;;
14919 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
14920 echo "$as_me: creating $ac_file" >&6;}
14922 # First look for the input files in the build tree, otherwise in the
14924 ac_file_inputs=`IFS=:
14925 for f in $ac_file_in; do
14927 -) echo $tmp/stdin ;;
14929 # Absolute (can't be DOS-style, as IFS=:)
14930 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14931 echo "$as_me: error: cannot find input file: $f" >&2;}
14932 { (exit 1); exit 1; }; }
14935 if test -f "$f"; then
14938 elif test -f "$srcdir/$f"; then
14943 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14944 echo "$as_me: error: cannot find input file: $f" >&2;}
14945 { (exit 1); exit 1; }; }
14948 done` || { (exit 1); exit 1; }
14949 # Remove the trailing spaces.
14950 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
14954 # Transform confdefs.h into two sed scripts, `conftest.defines' and
14955 # `conftest.undefs', that substitutes the proper values into
14956 # config.h.in to produce config.h. The first handles `#define'
14957 # templates, and the second `#undef' templates.
14958 # And first: Protect against being on the right side of a sed subst in
14959 # config.status. Protect against being in an unquoted here document
14960 # in config.status.
14961 rm -f conftest.defines conftest.undefs
14962 # Using a here document instead of a string reduces the quoting nightmare.
14963 # Putting comments in sed scripts is not portable.
14965 # `end' is used to avoid that the second main sed command (meant for
14966 # 0-ary CPP macros) applies to n-ary macro definitions.
14967 # See the Autoconf documentation for `clear'.
14968 cat >confdef2sed.sed <<\_ACEOF
14973 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
14975 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
14978 # If some macros were called several times there might be several times
14979 # the same #defines, which is useless. Nevertheless, we may not want to
14980 # sort them, since we want the *last* AC-DEFINE to be honored.
14981 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
14982 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
14983 rm -f confdef2sed.sed
14985 # This sed command replaces #undef with comments. This is necessary, for
14986 # example, in the case of _POSIX_SOURCE, which is predefined and required
14987 # on some systems where configure will not decide to define it.
14988 cat >>conftest.undefs <<\_ACEOF
14989 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
14992 # Break up conftest.defines because some shells have a limit on the size
14993 # of here documents, and old seds have small limits too (100 cmds).
14994 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
14995 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
14996 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
14997 echo ' :' >>$CONFIG_STATUS
14998 rm -f conftest.tail
14999 while grep . conftest.defines >/dev/null
15001 # Write a limited-size here document to $tmp/defines.sed.
15002 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15003 # Speed up: don't consider the non `#define' lines.
15004 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
15005 # Work around the forget-to-reset-the-flag bug.
15006 echo 't clr' >>$CONFIG_STATUS
15007 echo ': clr' >>$CONFIG_STATUS
15008 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
15010 sed -f $tmp/defines.sed $tmp/in >$tmp/out
15012 mv $tmp/out $tmp/in
15014 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
15015 rm -f conftest.defines
15016 mv conftest.tail conftest.defines
15018 rm -f conftest.defines
15019 echo ' fi # grep' >>$CONFIG_STATUS
15020 echo >>$CONFIG_STATUS
15022 # Break up conftest.undefs because some shells have a limit on the size
15023 # of here documents, and old seds have small limits too (100 cmds).
15024 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
15025 rm -f conftest.tail
15026 while grep . conftest.undefs >/dev/null
15028 # Write a limited-size here document to $tmp/undefs.sed.
15029 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15030 # Speed up: don't consider the non `#undef'
15031 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
15032 # Work around the forget-to-reset-the-flag bug.
15033 echo 't clr' >>$CONFIG_STATUS
15034 echo ': clr' >>$CONFIG_STATUS
15035 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15037 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15039 mv $tmp/out $tmp/in
15041 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15042 rm -f conftest.undefs
15043 mv conftest.tail conftest.undefs
15045 rm -f conftest.undefs
15047 cat >>$CONFIG_STATUS <<\_ACEOF
15048 # Let's still pretend it is `configure' which instantiates (i.e., don't
15049 # use $as_me), people would be surprised to read:
15050 # /* config.h. Generated by config.status. */
15051 if test x"$ac_file" = x-; then
15052 echo "/* Generated by configure. */" >$tmp/config.h
15054 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
15056 cat $tmp/in >>$tmp/config.h
15058 if test x"$ac_file" != x-; then
15059 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
15060 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15061 echo "$as_me: $ac_file is unchanged" >&6;}
15063 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15064 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15065 X"$ac_file" : 'X\(//\)[^/]' \| \
15066 X"$ac_file" : 'X\(//\)$' \| \
15067 X"$ac_file" : 'X\(/\)' \| \
15068 . : '\(.\)' 2>/dev/null ||
15070 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15071 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15072 /^X\(\/\/\)$/{ s//\1/; q; }
15073 /^X\(\/\).*/{ s//\1/; q; }
15075 { if $as_mkdir_p; then
15080 while test ! -d "$as_dir"; do
15081 as_dirs="$as_dir $as_dirs"
15082 as_dir=`(dirname "$as_dir") 2>/dev/null ||
15083 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15084 X"$as_dir" : 'X\(//\)[^/]' \| \
15085 X"$as_dir" : 'X\(//\)$' \| \
15086 X"$as_dir" : 'X\(/\)' \| \
15087 . : '\(.\)' 2>/dev/null ||
15089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15090 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15091 /^X\(\/\/\)$/{ s//\1/; q; }
15092 /^X\(\/\).*/{ s//\1/; q; }
15095 test ! -n "$as_dirs" || mkdir $as_dirs
15096 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15097 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15098 { (exit 1); exit 1; }; }; }
15101 mv $tmp/config.h $ac_file
15105 rm -f $tmp/config.h
15109 cat >>$CONFIG_STATUS <<\_ACEOF
15112 # CONFIG_COMMANDS section.
15114 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
15115 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
15116 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
15117 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
15118 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15119 X"$ac_dest" : 'X\(//\)[^/]' \| \
15120 X"$ac_dest" : 'X\(//\)$' \| \
15121 X"$ac_dest" : 'X\(/\)' \| \
15122 . : '\(.\)' 2>/dev/null ||
15124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15125 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15126 /^X\(\/\/\)$/{ s//\1/; q; }
15127 /^X\(\/\).*/{ s//\1/; q; }
15131 if test "$ac_dir" != .; then
15132 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15133 # A "../" for each directory in $ac_dir_suffix.
15134 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15136 ac_dir_suffix= ac_top_builddir=
15140 .) # No --srcdir option. We are building in place.
15142 if test -z "$ac_top_builddir"; then
15145 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15147 [\\/]* | ?:[\\/]* ) # Absolute path.
15148 ac_srcdir=$srcdir$ac_dir_suffix;
15149 ac_top_srcdir=$srcdir ;;
15150 *) # Relative path.
15151 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
15152 ac_top_srcdir=$ac_top_builddir$srcdir ;;
15154 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
15156 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
15157 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
15158 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
15159 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
15162 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
15163 echo "$as_me: executing $ac_dest commands" >&6;}
15165 controls ) test -d "controls" || ({ echo "$as_me:$LINENO: creating controls" >&5
15166 echo "$as_me: creating controls" >&6;} && mkdir "controls") ;;
15167 dlls/ddraw/d3ddevice ) test -d "dlls/ddraw/d3ddevice" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
15168 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir "dlls/ddraw/d3ddevice") ;;
15169 dlls/ddraw/dclipper ) test -d "dlls/ddraw/dclipper" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
15170 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir "dlls/ddraw/dclipper") ;;
15171 dlls/ddraw/ddraw ) test -d "dlls/ddraw/ddraw" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
15172 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir "dlls/ddraw/ddraw") ;;
15173 dlls/ddraw/direct3d ) test -d "dlls/ddraw/direct3d" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
15174 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir "dlls/ddraw/direct3d") ;;
15175 dlls/ddraw/dpalette ) test -d "dlls/ddraw/dpalette" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
15176 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir "dlls/ddraw/dpalette") ;;
15177 dlls/ddraw/dsurface ) test -d "dlls/ddraw/dsurface" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
15178 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir "dlls/ddraw/dsurface") ;;
15179 dlls/dinput/joystick ) test -d "dlls/dinput/joystick" || ({ echo "$as_me:$LINENO: creating dlls/dinput/joystick" >&5
15180 echo "$as_me: creating dlls/dinput/joystick" >&6;} && mkdir "dlls/dinput/joystick") ;;
15181 dlls/dinput/keyboard ) test -d "dlls/dinput/keyboard" || ({ echo "$as_me:$LINENO: creating dlls/dinput/keyboard" >&5
15182 echo "$as_me: creating dlls/dinput/keyboard" >&6;} && mkdir "dlls/dinput/keyboard") ;;
15183 dlls/dinput/mouse ) test -d "dlls/dinput/mouse" || ({ echo "$as_me:$LINENO: creating dlls/dinput/mouse" >&5
15184 echo "$as_me: creating dlls/dinput/mouse" >&6;} && mkdir "dlls/dinput/mouse") ;;
15185 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
15186 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
15187 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
15188 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
15189 dlls/gdi/win16drv ) test -d "dlls/gdi/win16drv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/win16drv" >&5
15190 echo "$as_me: creating dlls/gdi/win16drv" >&6;} && mkdir "dlls/gdi/win16drv") ;;
15191 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
15192 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
15193 dlls/user/dde ) test -d "dlls/user/dde" || ({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
15194 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir "dlls/user/dde") ;;
15195 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
15196 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
15197 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
15198 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
15199 files ) test -d "files" || ({ echo "$as_me:$LINENO: creating files" >&5
15200 echo "$as_me: creating files" >&6;} && mkdir "files") ;;
15201 graphics ) test -d "graphics" || ({ echo "$as_me:$LINENO: creating graphics" >&5
15202 echo "$as_me: creating graphics" >&6;} && mkdir "graphics") ;;
15203 graphics/x11drv ) test -d "graphics/x11drv" || ({ echo "$as_me:$LINENO: creating graphics/x11drv" >&5
15204 echo "$as_me: creating graphics/x11drv" >&6;} && mkdir "graphics/x11drv") ;;
15205 if1632 ) test -d "if1632" || ({ echo "$as_me:$LINENO: creating if1632" >&5
15206 echo "$as_me: creating if1632" >&6;} && mkdir "if1632") ;;
15207 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
15208 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
15209 loader ) test -d "loader" || ({ echo "$as_me:$LINENO: creating loader" >&5
15210 echo "$as_me: creating loader" >&6;} && mkdir "loader") ;;
15211 loader/ne ) test -d "loader/ne" || ({ echo "$as_me:$LINENO: creating loader/ne" >&5
15212 echo "$as_me: creating loader/ne" >&6;} && mkdir "loader/ne") ;;
15213 memory ) test -d "memory" || ({ echo "$as_me:$LINENO: creating memory" >&5
15214 echo "$as_me: creating memory" >&6;} && mkdir "memory") ;;
15215 misc ) test -d "misc" || ({ echo "$as_me:$LINENO: creating misc" >&5
15216 echo "$as_me: creating misc" >&6;} && mkdir "misc") ;;
15217 msdos ) test -d "msdos" || ({ echo "$as_me:$LINENO: creating msdos" >&5
15218 echo "$as_me: creating msdos" >&6;} && mkdir "msdos") ;;
15219 objects ) test -d "objects" || ({ echo "$as_me:$LINENO: creating objects" >&5
15220 echo "$as_me: creating objects" >&6;} && mkdir "objects") ;;
15221 programs/regapi/tests ) test -d "programs/regapi/tests" || ({ echo "$as_me:$LINENO: creating programs/regapi/tests" >&5
15222 echo "$as_me: creating programs/regapi/tests" >&6;} && mkdir "programs/regapi/tests") ;;
15223 programs/regedit/tests ) test -d "programs/regedit/tests" || ({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
15224 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir "programs/regedit/tests") ;;
15225 relay32 ) test -d "relay32" || ({ echo "$as_me:$LINENO: creating relay32" >&5
15226 echo "$as_me: creating relay32" >&6;} && mkdir "relay32") ;;
15227 scheduler ) test -d "scheduler" || ({ echo "$as_me:$LINENO: creating scheduler" >&5
15228 echo "$as_me: creating scheduler" >&6;} && mkdir "scheduler") ;;
15229 win32 ) test -d "win32" || ({ echo "$as_me:$LINENO: creating win32" >&5
15230 echo "$as_me: creating win32" >&6;} && mkdir "win32") ;;
15231 windows ) test -d "windows" || ({ echo "$as_me:$LINENO: creating windows" >&5
15232 echo "$as_me: creating windows" >&6;} && mkdir "windows") ;;
15237 cat >>$CONFIG_STATUS <<\_ACEOF
15239 { (exit 0); exit 0; }
15241 chmod +x $CONFIG_STATUS
15242 ac_clean_files=$ac_clean_files_save
15245 # configure is writing to config.log, and then calls config.status.
15246 # config.status does its own redirection, appending to config.log.
15247 # Unfortunately, on DOS this fails, as config.log is still kept open
15248 # by configure, so config.status won't be able to write to it; its
15249 # output is simply discarded. So we exec the FD to /dev/null,
15250 # effectively closing config.log, so it can be properly (re)opened and
15251 # appended to by config.status. When coming back to configure, we
15252 # need to make the FD available again.
15253 if test "$no_create" != yes; then
15256 $SHELL $CONFIG_STATUS || ac_cs_success=false
15258 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15259 # would make configure fail if this is the last instruction.
15260 $ac_cs_success || { (exit 1); exit 1; }
15264 if test "$have_x" = "no"
15267 echo "*** Warning: X development files not found. Wine will be built without"
15268 echo "*** X support, which currently does not work, and would probably not be"
15269 echo "*** what you want anyway. You will need to install devel packages of"
15270 echo "*** Xlib/Xfree86 at the very least."
15273 if test "$ac_cv_lib_ncurses_resizeterm" = "no" -a "$ac_cv_lib_ncurses_waddch" = "yes"
15276 echo "*** Warning: resizeterm not found in ncurses. Wine will be built without"
15277 echo "*** terminal resize support. Consider upgrading ncurses."
15280 if test "$wine_cv_libc_reentrant" = "no"
15283 echo "*** Warning: non-reentrant libc detected. Wine will be built without"
15284 echo "*** threading support. Consider upgrading libc to a more recent"
15285 echo "*** reentrant version of libc."
15288 if test "$have_x" = "yes" -a "$wine_cv_x_reentrant" != "yes"
15291 echo "*** Warning: non-reentrant X11 library detected. Multi-threaded"
15292 echo "*** applications won't work properly. You should upgrade your X11 library."
15295 if test "$wine_cv_opengl_version_OK" = "no"
15298 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
15299 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
15302 if test "$wine_cv_msg_freetype" = "yes"
15305 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
15306 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
15307 echo "*** freetype-devel package (or its equivalent on your distribution) to"
15308 echo "*** enable Wine to use TrueType fonts."
15312 echo "Configure finished. Do 'make depend && make' to compile Wine."