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 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 LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP CROSSTEST CROSSCC 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.
1286 # Check whether --enable-win16 or --disable-win16 was given.
1287 if test "${enable_win16+set}" = set; then
1288 enableval="$enable_win16"
1291 # Check whether --enable-debug or --disable-debug was given.
1292 if test "${enable_debug+set}" = set; then
1293 enableval="$enable_debug"
1296 # Check whether --enable-trace or --disable-trace was given.
1297 if test "${enable_trace+set}" = set; then
1298 enableval="$enable_trace"
1303 # Check whether --with-opengl or --without-opengl was given.
1304 if test "${with_opengl+set}" = set; then
1305 withval="$with_opengl"
1309 # Check whether --with-curses or --without-curses was given.
1310 if test "${with_curses+set}" = set; then
1311 withval="$with_curses"
1315 # Check whether --with-wine-tools or --without-wine-tools was given.
1316 if test "${with_wine_tools+set}" = set; then
1317 withval="$with_wine_tools"
1322 WIN16_FILES="\$(WIN16_FILES)"
1324 WIN16_INSTALL="\$(WIN16_INSTALL)"
1326 if test "x$enable_win16" = "xno"
1331 if test "x$enable_debug" = "xno"
1334 cat >>confdefs.h <<\_ACEOF
1335 #define NO_DEBUG_MSGS 1
1339 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1342 cat >>confdefs.h <<\_ACEOF
1343 #define NO_TRACE_MSGS 1
1349 # Make sure we can run config.sub.
1350 $ac_config_sub sun4 >/dev/null 2>&1 ||
1351 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1352 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1353 { (exit 1); exit 1; }; }
1355 echo "$as_me:$LINENO: checking build system type" >&5
1356 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1357 if test "${ac_cv_build+set}" = set; then
1358 echo $ECHO_N "(cached) $ECHO_C" >&6
1360 ac_cv_build_alias=$build_alias
1361 test -z "$ac_cv_build_alias" &&
1362 ac_cv_build_alias=`$ac_config_guess`
1363 test -z "$ac_cv_build_alias" &&
1364 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1365 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1366 { (exit 1); exit 1; }; }
1367 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1368 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1369 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1370 { (exit 1); exit 1; }; }
1373 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1374 echo "${ECHO_T}$ac_cv_build" >&6
1376 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1377 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1378 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1381 echo "$as_me:$LINENO: checking host system type" >&5
1382 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1383 if test "${ac_cv_host+set}" = set; then
1384 echo $ECHO_N "(cached) $ECHO_C" >&6
1386 ac_cv_host_alias=$host_alias
1387 test -z "$ac_cv_host_alias" &&
1388 ac_cv_host_alias=$ac_cv_build_alias
1389 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1390 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1391 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1392 { (exit 1); exit 1; }; }
1395 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1396 echo "${ECHO_T}$ac_cv_host" >&6
1398 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1399 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1400 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1403 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1404 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1405 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1406 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1407 echo $ECHO_N "(cached) $ECHO_C" >&6
1409 cat >conftest.make <<\_ACEOF
1411 @echo 'ac_maketemp="${MAKE}"'
1413 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1414 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1415 if test -n "$ac_maketemp"; then
1416 eval ac_cv_prog_make_${ac_make}_set=yes
1418 eval ac_cv_prog_make_${ac_make}_set=no
1422 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1423 echo "$as_me:$LINENO: result: yes" >&5
1424 echo "${ECHO_T}yes" >&6
1427 echo "$as_me:$LINENO: result: no" >&5
1428 echo "${ECHO_T}no" >&6
1429 SET_MAKE="MAKE=${MAKE-make}"
1433 ac_cpp='$CPP $CPPFLAGS'
1434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1437 if test -n "$ac_tool_prefix"; then
1438 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1439 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1440 echo "$as_me:$LINENO: checking for $ac_word" >&5
1441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1442 if test "${ac_cv_prog_CC+set}" = set; then
1443 echo $ECHO_N "(cached) $ECHO_C" >&6
1445 if test -n "$CC"; then
1446 ac_cv_prog_CC="$CC" # Let the user override the test.
1448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1452 test -z "$as_dir" && as_dir=.
1453 for ac_exec_ext in '' $ac_executable_extensions; do
1454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1455 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1465 if test -n "$CC"; then
1466 echo "$as_me:$LINENO: result: $CC" >&5
1467 echo "${ECHO_T}$CC" >&6
1469 echo "$as_me:$LINENO: result: no" >&5
1470 echo "${ECHO_T}no" >&6
1474 if test -z "$ac_cv_prog_CC"; then
1476 # Extract the first word of "gcc", so it can be a program name with args.
1477 set dummy gcc; ac_word=$2
1478 echo "$as_me:$LINENO: checking for $ac_word" >&5
1479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1480 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1481 echo $ECHO_N "(cached) $ECHO_C" >&6
1483 if test -n "$ac_ct_CC"; then
1484 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1490 test -z "$as_dir" && as_dir=.
1491 for ac_exec_ext in '' $ac_executable_extensions; do
1492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1493 ac_cv_prog_ac_ct_CC="gcc"
1494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1502 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1503 if test -n "$ac_ct_CC"; then
1504 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1505 echo "${ECHO_T}$ac_ct_CC" >&6
1507 echo "$as_me:$LINENO: result: no" >&5
1508 echo "${ECHO_T}no" >&6
1516 if test -z "$CC"; then
1517 if test -n "$ac_tool_prefix"; then
1518 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1519 set dummy ${ac_tool_prefix}cc; ac_word=$2
1520 echo "$as_me:$LINENO: checking for $ac_word" >&5
1521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1522 if test "${ac_cv_prog_CC+set}" = set; then
1523 echo $ECHO_N "(cached) $ECHO_C" >&6
1525 if test -n "$CC"; then
1526 ac_cv_prog_CC="$CC" # Let the user override the test.
1528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1532 test -z "$as_dir" && as_dir=.
1533 for ac_exec_ext in '' $ac_executable_extensions; do
1534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1535 ac_cv_prog_CC="${ac_tool_prefix}cc"
1536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1545 if test -n "$CC"; then
1546 echo "$as_me:$LINENO: result: $CC" >&5
1547 echo "${ECHO_T}$CC" >&6
1549 echo "$as_me:$LINENO: result: no" >&5
1550 echo "${ECHO_T}no" >&6
1554 if test -z "$ac_cv_prog_CC"; then
1556 # Extract the first word of "cc", so it can be a program name with args.
1557 set dummy cc; ac_word=$2
1558 echo "$as_me:$LINENO: checking for $ac_word" >&5
1559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1560 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1561 echo $ECHO_N "(cached) $ECHO_C" >&6
1563 if test -n "$ac_ct_CC"; then
1564 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1570 test -z "$as_dir" && as_dir=.
1571 for ac_exec_ext in '' $ac_executable_extensions; do
1572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1573 ac_cv_prog_ac_ct_CC="cc"
1574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1582 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1583 if test -n "$ac_ct_CC"; then
1584 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1585 echo "${ECHO_T}$ac_ct_CC" >&6
1587 echo "$as_me:$LINENO: result: no" >&5
1588 echo "${ECHO_T}no" >&6
1597 if test -z "$CC"; then
1598 # Extract the first word of "cc", so it can be a program name with args.
1599 set dummy cc; ac_word=$2
1600 echo "$as_me:$LINENO: checking for $ac_word" >&5
1601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1602 if test "${ac_cv_prog_CC+set}" = set; then
1603 echo $ECHO_N "(cached) $ECHO_C" >&6
1605 if test -n "$CC"; then
1606 ac_cv_prog_CC="$CC" # Let the user override the test.
1609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1613 test -z "$as_dir" && as_dir=.
1614 for ac_exec_ext in '' $ac_executable_extensions; do
1615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1616 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1617 ac_prog_rejected=yes
1621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1627 if test $ac_prog_rejected = yes; then
1628 # We found a bogon in the path, so make sure we never use it.
1629 set dummy $ac_cv_prog_CC
1631 if test $# != 0; then
1632 # We chose a different compiler from the bogus one.
1633 # However, it has the same basename, so the bogon will be chosen
1634 # first if we set CC to just the basename; use the full file name.
1636 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1642 if test -n "$CC"; then
1643 echo "$as_me:$LINENO: result: $CC" >&5
1644 echo "${ECHO_T}$CC" >&6
1646 echo "$as_me:$LINENO: result: no" >&5
1647 echo "${ECHO_T}no" >&6
1651 if test -z "$CC"; then
1652 if test -n "$ac_tool_prefix"; then
1655 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1656 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1657 echo "$as_me:$LINENO: checking for $ac_word" >&5
1658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1659 if test "${ac_cv_prog_CC+set}" = set; then
1660 echo $ECHO_N "(cached) $ECHO_C" >&6
1662 if test -n "$CC"; then
1663 ac_cv_prog_CC="$CC" # Let the user override the test.
1665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1669 test -z "$as_dir" && as_dir=.
1670 for ac_exec_ext in '' $ac_executable_extensions; do
1671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1672 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1682 if test -n "$CC"; then
1683 echo "$as_me:$LINENO: result: $CC" >&5
1684 echo "${ECHO_T}$CC" >&6
1686 echo "$as_me:$LINENO: result: no" >&5
1687 echo "${ECHO_T}no" >&6
1690 test -n "$CC" && break
1693 if test -z "$CC"; then
1697 # Extract the first word of "$ac_prog", so it can be a program name with args.
1698 set dummy $ac_prog; ac_word=$2
1699 echo "$as_me:$LINENO: checking for $ac_word" >&5
1700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1701 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1702 echo $ECHO_N "(cached) $ECHO_C" >&6
1704 if test -n "$ac_ct_CC"; then
1705 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1711 test -z "$as_dir" && as_dir=.
1712 for ac_exec_ext in '' $ac_executable_extensions; do
1713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1714 ac_cv_prog_ac_ct_CC="$ac_prog"
1715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1723 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1724 if test -n "$ac_ct_CC"; then
1725 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1726 echo "${ECHO_T}$ac_ct_CC" >&6
1728 echo "$as_me:$LINENO: result: no" >&5
1729 echo "${ECHO_T}no" >&6
1732 test -n "$ac_ct_CC" && break
1741 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1742 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1743 { (exit 1); exit 1; }; }
1745 # Provide some information about the compiler.
1746 echo "$as_me:$LINENO:" \
1747 "checking for C compiler version" >&5
1748 ac_compiler=`set X $ac_compile; echo $2`
1749 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1750 (eval $ac_compiler --version </dev/null >&5) 2>&5
1752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1753 (exit $ac_status); }
1754 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1755 (eval $ac_compiler -v </dev/null >&5) 2>&5
1757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1758 (exit $ac_status); }
1759 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1760 (eval $ac_compiler -V </dev/null >&5) 2>&5
1762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1763 (exit $ac_status); }
1765 cat >conftest.$ac_ext <<_ACEOF
1766 #line $LINENO "configure"
1767 #include "confdefs.h"
1777 ac_clean_files_save=$ac_clean_files
1778 ac_clean_files="$ac_clean_files a.out a.exe"
1779 # Try to create an executable without -o first, disregard a.out.
1780 # It will help us diagnose broken compilers, and finding out an intuition
1782 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1783 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1784 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1785 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1786 (eval $ac_link_default) 2>&5
1788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1789 (exit $ac_status); }; then
1790 # Find the output, starting from the most likely. This scheme is
1791 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1794 # Be careful to initialize this variable, since it used to be cached.
1795 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1797 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.*; do
1798 test -f "$ac_file" || continue
1800 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1801 a.out ) # We found the default executable, but exeext='' is most
1804 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1805 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1812 echo "$as_me: failed program was:" >&5
1813 cat conftest.$ac_ext >&5
1814 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1815 check \`config.log' for details." >&5
1816 echo "$as_me: error: C compiler cannot create executables
1817 check \`config.log' for details." >&2;}
1818 { (exit 77); exit 77; }; }
1821 ac_exeext=$ac_cv_exeext
1822 echo "$as_me:$LINENO: result: $ac_file" >&5
1823 echo "${ECHO_T}$ac_file" >&6
1825 # Check the compiler produces executables we can run. If not, either
1826 # the compiler is broken, or we cross compile.
1827 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1828 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1829 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1830 # If not cross compiling, check that we can run a simple program.
1831 if test "$cross_compiling" != yes; then
1832 if { ac_try='./$ac_file'
1833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1837 (exit $ac_status); }; }; then
1840 if test "$cross_compiling" = maybe; then
1843 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1844 If you meant to cross compile, use \`--host'." >&5
1845 echo "$as_me: error: cannot run C compiled programs.
1846 If you meant to cross compile, use \`--host'." >&2;}
1847 { (exit 1); exit 1; }; }
1851 echo "$as_me:$LINENO: result: yes" >&5
1852 echo "${ECHO_T}yes" >&6
1854 rm -f a.out a.exe conftest$ac_cv_exeext
1855 ac_clean_files=$ac_clean_files_save
1856 # Check the compiler produces executables we can run. If not, either
1857 # the compiler is broken, or we cross compile.
1858 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1859 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1860 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1861 echo "${ECHO_T}$cross_compiling" >&6
1863 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1864 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1866 (eval $ac_link) 2>&5
1868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1869 (exit $ac_status); }; then
1870 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1871 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1872 # work properly (i.e., refer to `conftest.exe'), while it won't with
1874 for ac_file in conftest.exe conftest conftest.*; do
1875 test -f "$ac_file" || continue
1877 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1878 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1885 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1886 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1887 { (exit 1); exit 1; }; }
1890 rm -f conftest$ac_cv_exeext
1891 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1892 echo "${ECHO_T}$ac_cv_exeext" >&6
1894 rm -f conftest.$ac_ext
1895 EXEEXT=$ac_cv_exeext
1897 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1898 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1899 if test "${ac_cv_objext+set}" = set; then
1900 echo $ECHO_N "(cached) $ECHO_C" >&6
1902 cat >conftest.$ac_ext <<_ACEOF
1903 #line $LINENO "configure"
1904 #include "confdefs.h"
1914 rm -f conftest.o conftest.obj
1915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1916 (eval $ac_compile) 2>&5
1918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1919 (exit $ac_status); }; then
1920 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1922 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1923 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1928 echo "$as_me: failed program was:" >&5
1929 cat conftest.$ac_ext >&5
1930 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1931 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1932 { (exit 1); exit 1; }; }
1935 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1937 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1938 echo "${ECHO_T}$ac_cv_objext" >&6
1939 OBJEXT=$ac_cv_objext
1941 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1942 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1943 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1944 echo $ECHO_N "(cached) $ECHO_C" >&6
1946 cat >conftest.$ac_ext <<_ACEOF
1947 #line $LINENO "configure"
1948 #include "confdefs.h"
1961 rm -f conftest.$ac_objext
1962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1963 (eval $ac_compile) 2>&5
1965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1966 (exit $ac_status); } &&
1967 { ac_try='test -s conftest.$ac_objext'
1968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1972 (exit $ac_status); }; }; then
1975 echo "$as_me: failed program was:" >&5
1976 cat conftest.$ac_ext >&5
1979 rm -f conftest.$ac_objext conftest.$ac_ext
1980 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1983 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1984 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1985 GCC=`test $ac_compiler_gnu = yes && echo yes`
1986 ac_test_CFLAGS=${CFLAGS+set}
1987 ac_save_CFLAGS=$CFLAGS
1989 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1990 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1991 if test "${ac_cv_prog_cc_g+set}" = set; then
1992 echo $ECHO_N "(cached) $ECHO_C" >&6
1994 cat >conftest.$ac_ext <<_ACEOF
1995 #line $LINENO "configure"
1996 #include "confdefs.h"
2006 rm -f conftest.$ac_objext
2007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2008 (eval $ac_compile) 2>&5
2010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011 (exit $ac_status); } &&
2012 { ac_try='test -s conftest.$ac_objext'
2013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2017 (exit $ac_status); }; }; then
2020 echo "$as_me: failed program was:" >&5
2021 cat conftest.$ac_ext >&5
2024 rm -f conftest.$ac_objext conftest.$ac_ext
2026 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2027 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2028 if test "$ac_test_CFLAGS" = set; then
2029 CFLAGS=$ac_save_CFLAGS
2030 elif test $ac_cv_prog_cc_g = yes; then
2031 if test "$GCC" = yes; then
2037 if test "$GCC" = yes; then
2043 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2044 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2045 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2046 echo $ECHO_N "(cached) $ECHO_C" >&6
2048 ac_cv_prog_cc_stdc=no
2050 cat >conftest.$ac_ext <<_ACEOF
2051 #line $LINENO "configure"
2052 #include "confdefs.h"
2055 #include <sys/types.h>
2056 #include <sys/stat.h>
2057 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2058 struct buf { int x; };
2059 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2060 static char *e (p, i)
2066 static char *f (char * (*g) (char **, int), char **p, ...)
2071 s = g (p, va_arg (v,int));
2075 int test (int i, double x);
2076 struct s1 {int (*f) (int a);};
2077 struct s2 {int (*f) (double a);};
2078 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2084 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2089 # Don't try gcc -ansi; that turns off useful extensions and
2090 # breaks some systems' header files.
2091 # AIX -qlanglvl=ansi
2092 # Ultrix and OSF/1 -std1
2093 # HP-UX 10.20 and later -Ae
2094 # HP-UX older versions -Aa -D_HPUX_SOURCE
2095 # SVR4 -Xc -D__EXTENSIONS__
2096 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2098 CC="$ac_save_CC $ac_arg"
2099 rm -f conftest.$ac_objext
2100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2101 (eval $ac_compile) 2>&5
2103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2104 (exit $ac_status); } &&
2105 { ac_try='test -s conftest.$ac_objext'
2106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110 (exit $ac_status); }; }; then
2111 ac_cv_prog_cc_stdc=$ac_arg
2114 echo "$as_me: failed program was:" >&5
2115 cat conftest.$ac_ext >&5
2117 rm -f conftest.$ac_objext
2119 rm -f conftest.$ac_ext conftest.$ac_objext
2124 case "x$ac_cv_prog_cc_stdc" in
2126 echo "$as_me:$LINENO: result: none needed" >&5
2127 echo "${ECHO_T}none needed" >&6 ;;
2129 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2130 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2131 CC="$CC $ac_cv_prog_cc_stdc" ;;
2134 # Some people use a C++ compiler to compile C. Since we use `exit',
2135 # in C++ we need to declare it. In case someone uses the same compiler
2136 # for both compiling C and C++ we need to have the C++ compiler decide
2137 # the declaration of exit, since it's the most demanding environment.
2138 cat >conftest.$ac_ext <<_ACEOF
2143 rm -f conftest.$ac_objext
2144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2145 (eval $ac_compile) 2>&5
2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148 (exit $ac_status); } &&
2149 { ac_try='test -s conftest.$ac_objext'
2150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154 (exit $ac_status); }; }; then
2155 for ac_declaration in \
2157 '#include <stdlib.h>' \
2158 'extern "C" void std::exit (int) throw (); using std::exit;' \
2159 'extern "C" void std::exit (int); using std::exit;' \
2160 'extern "C" void exit (int) throw ();' \
2161 'extern "C" void exit (int);' \
2164 cat >conftest.$ac_ext <<_ACEOF
2165 #line $LINENO "configure"
2166 #include "confdefs.h"
2177 rm -f conftest.$ac_objext
2178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2179 (eval $ac_compile) 2>&5
2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182 (exit $ac_status); } &&
2183 { ac_try='test -s conftest.$ac_objext'
2184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188 (exit $ac_status); }; }; then
2191 echo "$as_me: failed program was:" >&5
2192 cat conftest.$ac_ext >&5
2195 rm -f conftest.$ac_objext conftest.$ac_ext
2196 cat >conftest.$ac_ext <<_ACEOF
2197 #line $LINENO "configure"
2198 #include "confdefs.h"
2208 rm -f conftest.$ac_objext
2209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2210 (eval $ac_compile) 2>&5
2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213 (exit $ac_status); } &&
2214 { ac_try='test -s conftest.$ac_objext'
2215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2219 (exit $ac_status); }; }; then
2222 echo "$as_me: failed program was:" >&5
2223 cat conftest.$ac_ext >&5
2225 rm -f conftest.$ac_objext conftest.$ac_ext
2228 if test -n "$ac_declaration"; then
2229 echo '#ifdef __cplusplus' >>confdefs.h
2230 echo $ac_declaration >>confdefs.h
2231 echo '#endif' >>confdefs.h
2235 echo "$as_me: failed program was:" >&5
2236 cat conftest.$ac_ext >&5
2238 rm -f conftest.$ac_objext conftest.$ac_ext
2240 ac_cpp='$CPP $CPPFLAGS'
2241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2246 ac_cpp='$CPP $CPPFLAGS'
2247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2250 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2251 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2252 # On Suns, sometimes $CPP names a directory.
2253 if test -n "$CPP" && test -d "$CPP"; then
2256 if test -z "$CPP"; then
2257 if test "${ac_cv_prog_CPP+set}" = set; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2260 # Double quotes because CPP needs to be expanded
2261 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2264 for ac_c_preproc_warn_flag in '' yes
2266 # Use a header file that comes with gcc, so configuring glibc
2267 # with a fresh cross-compiler works.
2268 # On the NeXT, cc -E runs the code through the compiler's parser,
2269 # not just through cpp. "Syntax error" is here to catch this case.
2270 cat >conftest.$ac_ext <<_ACEOF
2271 #line $LINENO "configure"
2272 #include "confdefs.h"
2276 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2277 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2279 grep -v '^ *+' conftest.er1 >conftest.err
2281 cat conftest.err >&5
2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283 (exit $ac_status); } >/dev/null; then
2284 if test -s conftest.err; then
2285 ac_cpp_err=$ac_c_preproc_warn_flag
2292 if test -z "$ac_cpp_err"; then
2295 echo "$as_me: failed program was:" >&5
2296 cat conftest.$ac_ext >&5
2297 # Broken: fails on valid input.
2300 rm -f conftest.err conftest.$ac_ext
2302 # OK, works on sane cases. Now check whether non-existent headers
2303 # can be detected and how.
2304 cat >conftest.$ac_ext <<_ACEOF
2305 #line $LINENO "configure"
2306 #include "confdefs.h"
2307 #include <ac_nonexistent.h>
2309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2310 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2312 grep -v '^ *+' conftest.er1 >conftest.err
2314 cat conftest.err >&5
2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316 (exit $ac_status); } >/dev/null; then
2317 if test -s conftest.err; then
2318 ac_cpp_err=$ac_c_preproc_warn_flag
2325 if test -z "$ac_cpp_err"; then
2326 # Broken: success on invalid input.
2329 echo "$as_me: failed program was:" >&5
2330 cat conftest.$ac_ext >&5
2331 # Passes both tests.
2335 rm -f conftest.err conftest.$ac_ext
2338 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2339 rm -f conftest.err conftest.$ac_ext
2340 if $ac_preproc_ok; then
2352 echo "$as_me:$LINENO: result: $CPP" >&5
2353 echo "${ECHO_T}$CPP" >&6
2355 for ac_c_preproc_warn_flag in '' yes
2357 # Use a header file that comes with gcc, so configuring glibc
2358 # with a fresh cross-compiler works.
2359 # On the NeXT, cc -E runs the code through the compiler's parser,
2360 # not just through cpp. "Syntax error" is here to catch this case.
2361 cat >conftest.$ac_ext <<_ACEOF
2362 #line $LINENO "configure"
2363 #include "confdefs.h"
2367 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2368 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2370 grep -v '^ *+' conftest.er1 >conftest.err
2372 cat conftest.err >&5
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); } >/dev/null; then
2375 if test -s conftest.err; then
2376 ac_cpp_err=$ac_c_preproc_warn_flag
2383 if test -z "$ac_cpp_err"; then
2386 echo "$as_me: failed program was:" >&5
2387 cat conftest.$ac_ext >&5
2388 # Broken: fails on valid input.
2391 rm -f conftest.err conftest.$ac_ext
2393 # OK, works on sane cases. Now check whether non-existent headers
2394 # can be detected and how.
2395 cat >conftest.$ac_ext <<_ACEOF
2396 #line $LINENO "configure"
2397 #include "confdefs.h"
2398 #include <ac_nonexistent.h>
2400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2401 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2403 grep -v '^ *+' conftest.er1 >conftest.err
2405 cat conftest.err >&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); } >/dev/null; then
2408 if test -s conftest.err; then
2409 ac_cpp_err=$ac_c_preproc_warn_flag
2416 if test -z "$ac_cpp_err"; then
2417 # Broken: success on invalid input.
2420 echo "$as_me: failed program was:" >&5
2421 cat conftest.$ac_ext >&5
2422 # Passes both tests.
2426 rm -f conftest.err conftest.$ac_ext
2429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2430 rm -f conftest.err conftest.$ac_ext
2431 if $ac_preproc_ok; then
2434 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2435 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2436 { (exit 1); exit 1; }; }
2440 ac_cpp='$CPP $CPPFLAGS'
2441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2446 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2447 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2448 if test "${wine_cv_toolsdir+set}" = set; then
2449 echo $ECHO_N "(cached) $ECHO_C" >&6
2451 if test -z "$with_wine_tools"; then
2452 if test "$cross_compiling" = "yes"; then
2453 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2454 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2455 { (exit 1); exit 1; }; }
2457 wine_cv_toolsdir="\$(TOPOBJDIR)"
2459 elif test -d "$with_wine_tools/tools/winebuild"; then
2460 case $with_wine_tools in
2461 /*) wine_cv_toolsdir="$with_wine_tools" ;;
2462 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
2465 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2466 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2467 { (exit 1); exit 1; }; }
2470 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2471 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2472 TOOLSDIR=$wine_cv_toolsdir
2477 echo "$as_me:$LINENO: checking for X" >&5
2478 echo $ECHO_N "checking for X... $ECHO_C" >&6
2481 # Check whether --with-x or --without-x was given.
2482 if test "${with_x+set}" = set; then
2486 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2487 if test "x$with_x" = xno; then
2488 # The user explicitly disabled X.
2491 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
2492 # Both variables are already set.
2495 if test "${ac_cv_have_x+set}" = set; then
2496 echo $ECHO_N "(cached) $ECHO_C" >&6
2498 # One or both of the vars are not set, and there is no cached value.
2499 ac_x_includes=no ac_x_libraries=no
2501 if mkdir conftest.dir; then
2503 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2504 cat >Imakefile <<'_ACEOF'
2506 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2508 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
2509 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2510 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2511 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2512 for ac_extension in a so sl; do
2513 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
2514 test -f $ac_im_libdir/libX11.$ac_extension; then
2515 ac_im_usrlibdir=$ac_im_libdir; break
2518 # Screen out bogus values from the imake configuration. They are
2519 # bogus both because they are the default anyway, and because
2520 # using them would break gcc on systems where it needs fixed includes.
2521 case $ac_im_incroot in
2523 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
2525 case $ac_im_usrlibdir in
2527 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
2534 # Standard set of common directories for X headers.
2535 # Check X11 before X11Rn because it is often a symlink to the current release.
2547 /usr/local/X11/include
2548 /usr/local/X11R6/include
2549 /usr/local/X11R5/include
2550 /usr/local/X11R4/include
2552 /usr/local/include/X11
2553 /usr/local/include/X11R6
2554 /usr/local/include/X11R5
2555 /usr/local/include/X11R4
2559 /usr/XFree86/include/X11
2563 /usr/unsupported/include
2565 /usr/local/x11r5/include
2566 /usr/lpp/Xamples/include
2568 /usr/openwin/include
2569 /usr/openwin/share/include'
2571 if test "$ac_x_includes" = no; then
2572 # Guess where to find include files, by looking for Intrinsic.h.
2573 # First, try using that file with no special directory specified.
2574 cat >conftest.$ac_ext <<_ACEOF
2575 #line $LINENO "configure"
2576 #include "confdefs.h"
2577 #include <X11/Intrinsic.h>
2579 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2580 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2582 grep -v '^ *+' conftest.er1 >conftest.err
2584 cat conftest.err >&5
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); } >/dev/null; then
2587 if test -s conftest.err; then
2588 ac_cpp_err=$ac_c_preproc_warn_flag
2595 if test -z "$ac_cpp_err"; then
2596 # We can compile using X headers with no special include directory.
2599 echo "$as_me: failed program was:" >&5
2600 cat conftest.$ac_ext >&5
2601 for ac_dir in $ac_x_header_dirs; do
2602 if test -r "$ac_dir/X11/Intrinsic.h"; then
2603 ac_x_includes=$ac_dir
2608 rm -f conftest.err conftest.$ac_ext
2609 fi # $ac_x_includes = no
2611 if test "$ac_x_libraries" = no; then
2612 # Check for the libraries.
2613 # See if we find them without any special options.
2614 # Don't add to $LIBS permanently.
2617 cat >conftest.$ac_ext <<_ACEOF
2618 #line $LINENO "configure"
2619 #include "confdefs.h"
2620 #include <X11/Intrinsic.h>
2629 rm -f conftest.$ac_objext conftest$ac_exeext
2630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2631 (eval $ac_link) 2>&5
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); } &&
2635 { ac_try='test -s conftest$ac_exeext'
2636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; }; then
2642 # We can link X programs with no special library path.
2645 echo "$as_me: failed program was:" >&5
2646 cat conftest.$ac_ext >&5
2648 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2650 # Don't even attempt the hair of trying to link an X program!
2651 for ac_extension in a so sl; do
2652 if test -r $ac_dir/libXt.$ac_extension; then
2653 ac_x_libraries=$ac_dir
2659 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2660 fi # $ac_x_libraries = no
2662 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
2663 # Didn't find X anywhere. Cache the known absence of X.
2664 ac_cv_have_x="have_x=no"
2666 # Record where we found X for the cache.
2667 ac_cv_have_x="have_x=yes \
2668 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2673 eval "$ac_cv_have_x"
2676 if test "$have_x" != yes; then
2677 echo "$as_me:$LINENO: result: $have_x" >&5
2678 echo "${ECHO_T}$have_x" >&6
2681 # If each of the values was on the command line, it overrides each guess.
2682 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
2683 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
2684 # Update the cache value to reflect the command line values.
2685 ac_cv_have_x="have_x=yes \
2686 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2687 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2688 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2691 if test "$no_x" = yes; then
2692 # Not all programs may use this symbol, but it does not hurt to define it.
2694 cat >>confdefs.h <<\_ACEOF
2695 #define X_DISPLAY_MISSING 1
2698 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
2700 if test -n "$x_includes"; then
2701 X_CFLAGS="$X_CFLAGS -I$x_includes"
2704 # It would also be nice to do this for all -L options, not just this one.
2705 if test -n "$x_libraries"; then
2706 X_LIBS="$X_LIBS -L$x_libraries"
2707 # For Solaris; some versions of Sun CC require a space after -R and
2708 # others require no space. Words are not sufficient . . . .
2709 case `(uname -sr) 2>/dev/null` in
2711 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2712 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2713 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
2714 cat >conftest.$ac_ext <<_ACEOF
2715 #line $LINENO "configure"
2716 #include "confdefs.h"
2726 rm -f conftest.$ac_objext conftest$ac_exeext
2727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2728 (eval $ac_link) 2>&5
2730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731 (exit $ac_status); } &&
2732 { ac_try='test -s conftest$ac_exeext'
2733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737 (exit $ac_status); }; }; then
2740 echo "$as_me: failed program was:" >&5
2741 cat conftest.$ac_ext >&5
2744 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2745 if test $ac_R_nospace = yes; then
2746 echo "$as_me:$LINENO: result: no" >&5
2747 echo "${ECHO_T}no" >&6
2748 X_LIBS="$X_LIBS -R$x_libraries"
2750 LIBS="$ac_xsave_LIBS -R $x_libraries"
2751 cat >conftest.$ac_ext <<_ACEOF
2752 #line $LINENO "configure"
2753 #include "confdefs.h"
2763 rm -f conftest.$ac_objext conftest$ac_exeext
2764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2765 (eval $ac_link) 2>&5
2767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768 (exit $ac_status); } &&
2769 { ac_try='test -s conftest$ac_exeext'
2770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); }; }; then
2777 echo "$as_me: failed program was:" >&5
2778 cat conftest.$ac_ext >&5
2781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2782 if test $ac_R_space = yes; then
2783 echo "$as_me:$LINENO: result: yes" >&5
2784 echo "${ECHO_T}yes" >&6
2785 X_LIBS="$X_LIBS -R $x_libraries"
2787 echo "$as_me:$LINENO: result: neither works" >&5
2788 echo "${ECHO_T}neither works" >&6
2795 # Check for system-dependent libraries X programs must link with.
2796 # Do this before checking for the system-independent R6 libraries
2797 # (-lICE), since we may need -lsocket or whatever for X linking.
2799 if test "$ISC" = yes; then
2800 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
2802 # Martyn Johnson says this is needed for Ultrix, if the X
2803 # libraries were built with DECnet support. And Karl Berry says
2804 # the Alpha needs dnet_stub (dnet does not exist).
2805 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
2806 cat >conftest.$ac_ext <<_ACEOF
2807 #line $LINENO "configure"
2808 #include "confdefs.h"
2810 /* Override any gcc2 internal prototype to avoid an error. */
2814 /* We use char because int might match the return type of a gcc2
2815 builtin and then its argument prototype would still apply. */
2816 char XOpenDisplay ();
2825 rm -f conftest.$ac_objext conftest$ac_exeext
2826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2827 (eval $ac_link) 2>&5
2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830 (exit $ac_status); } &&
2831 { ac_try='test -s conftest$ac_exeext'
2832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); }; }; then
2839 echo "$as_me: failed program was:" >&5
2840 cat conftest.$ac_ext >&5
2841 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
2842 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
2843 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
2844 echo $ECHO_N "(cached) $ECHO_C" >&6
2846 ac_check_lib_save_LIBS=$LIBS
2848 cat >conftest.$ac_ext <<_ACEOF
2849 #line $LINENO "configure"
2850 #include "confdefs.h"
2852 /* Override any gcc2 internal prototype to avoid an error. */
2856 /* We use char because int might match the return type of a gcc2
2857 builtin and then its argument prototype would still apply. */
2867 rm -f conftest.$ac_objext conftest$ac_exeext
2868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2869 (eval $ac_link) 2>&5
2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); } &&
2873 { ac_try='test -s conftest$ac_exeext'
2874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878 (exit $ac_status); }; }; then
2879 ac_cv_lib_dnet_dnet_ntoa=yes
2881 echo "$as_me: failed program was:" >&5
2882 cat conftest.$ac_ext >&5
2883 ac_cv_lib_dnet_dnet_ntoa=no
2885 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2886 LIBS=$ac_check_lib_save_LIBS
2888 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
2889 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
2890 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
2891 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
2894 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
2895 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
2896 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
2897 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
2898 echo $ECHO_N "(cached) $ECHO_C" >&6
2900 ac_check_lib_save_LIBS=$LIBS
2901 LIBS="-ldnet_stub $LIBS"
2902 cat >conftest.$ac_ext <<_ACEOF
2903 #line $LINENO "configure"
2904 #include "confdefs.h"
2906 /* Override any gcc2 internal prototype to avoid an error. */
2910 /* We use char because int might match the return type of a gcc2
2911 builtin and then its argument prototype would still apply. */
2921 rm -f conftest.$ac_objext conftest$ac_exeext
2922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2923 (eval $ac_link) 2>&5
2925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926 (exit $ac_status); } &&
2927 { ac_try='test -s conftest$ac_exeext'
2928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); }; }; then
2933 ac_cv_lib_dnet_stub_dnet_ntoa=yes
2935 echo "$as_me: failed program was:" >&5
2936 cat conftest.$ac_ext >&5
2937 ac_cv_lib_dnet_stub_dnet_ntoa=no
2939 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2940 LIBS=$ac_check_lib_save_LIBS
2942 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
2943 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
2944 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
2945 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
2950 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2951 LIBS="$ac_xsave_LIBS"
2953 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
2954 # to get the SysV transport functions.
2955 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
2957 # The nsl library prevents programs from opening the X display
2958 # on Irix 5.2, according to T.E. Dickey.
2959 # The functions gethostbyname, getservbyname, and inet_addr are
2960 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
2961 echo "$as_me:$LINENO: checking for gethostbyname" >&5
2962 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
2963 if test "${ac_cv_func_gethostbyname+set}" = set; then
2964 echo $ECHO_N "(cached) $ECHO_C" >&6
2966 cat >conftest.$ac_ext <<_ACEOF
2967 #line $LINENO "configure"
2968 #include "confdefs.h"
2969 /* System header to define __stub macros and hopefully few prototypes,
2970 which can conflict with char gethostbyname (); below. */
2972 /* Override any gcc2 internal prototype to avoid an error. */
2976 /* We use char because int might match the return type of a gcc2
2977 builtin and then its argument prototype would still apply. */
2978 char gethostbyname ();
2984 /* The GNU C library defines this for functions which it implements
2985 to always fail with ENOSYS. Some functions are actually named
2986 something starting with __ and the normal name is an alias. */
2987 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
2997 rm -f conftest.$ac_objext conftest$ac_exeext
2998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2999 (eval $ac_link) 2>&5
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); } &&
3003 { ac_try='test -s conftest$ac_exeext'
3004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); }; }; then
3009 ac_cv_func_gethostbyname=yes
3011 echo "$as_me: failed program was:" >&5
3012 cat conftest.$ac_ext >&5
3013 ac_cv_func_gethostbyname=no
3015 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3017 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3018 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3020 if test $ac_cv_func_gethostbyname = no; then
3021 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3022 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3023 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3024 echo $ECHO_N "(cached) $ECHO_C" >&6
3026 ac_check_lib_save_LIBS=$LIBS
3028 cat >conftest.$ac_ext <<_ACEOF
3029 #line $LINENO "configure"
3030 #include "confdefs.h"
3032 /* Override any gcc2 internal prototype to avoid an error. */
3036 /* We use char because int might match the return type of a gcc2
3037 builtin and then its argument prototype would still apply. */
3038 char gethostbyname ();
3047 rm -f conftest.$ac_objext conftest$ac_exeext
3048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3049 (eval $ac_link) 2>&5
3051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052 (exit $ac_status); } &&
3053 { ac_try='test -s conftest$ac_exeext'
3054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058 (exit $ac_status); }; }; then
3059 ac_cv_lib_nsl_gethostbyname=yes
3061 echo "$as_me: failed program was:" >&5
3062 cat conftest.$ac_ext >&5
3063 ac_cv_lib_nsl_gethostbyname=no
3065 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3066 LIBS=$ac_check_lib_save_LIBS
3068 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3069 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3070 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3071 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
3074 if test $ac_cv_lib_nsl_gethostbyname = no; then
3075 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3076 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3077 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3078 echo $ECHO_N "(cached) $ECHO_C" >&6
3080 ac_check_lib_save_LIBS=$LIBS
3082 cat >conftest.$ac_ext <<_ACEOF
3083 #line $LINENO "configure"
3084 #include "confdefs.h"
3086 /* Override any gcc2 internal prototype to avoid an error. */
3090 /* We use char because int might match the return type of a gcc2
3091 builtin and then its argument prototype would still apply. */
3092 char gethostbyname ();
3101 rm -f conftest.$ac_objext conftest$ac_exeext
3102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3103 (eval $ac_link) 2>&5
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); } &&
3107 { ac_try='test -s conftest$ac_exeext'
3108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112 (exit $ac_status); }; }; then
3113 ac_cv_lib_bsd_gethostbyname=yes
3115 echo "$as_me: failed program was:" >&5
3116 cat conftest.$ac_ext >&5
3117 ac_cv_lib_bsd_gethostbyname=no
3119 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3120 LIBS=$ac_check_lib_save_LIBS
3122 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3123 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3124 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3125 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
3131 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3132 # socket/setsockopt and other routines are undefined under SCO ODT
3133 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3134 # on later versions), says Simon Leinen: it contains gethostby*
3135 # variants that don't use the name server (or something). -lsocket
3136 # must be given before -lnsl if both are needed. We assume that
3137 # if connect needs -lnsl, so does gethostbyname.
3138 echo "$as_me:$LINENO: checking for connect" >&5
3139 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3140 if test "${ac_cv_func_connect+set}" = set; then
3141 echo $ECHO_N "(cached) $ECHO_C" >&6
3143 cat >conftest.$ac_ext <<_ACEOF
3144 #line $LINENO "configure"
3145 #include "confdefs.h"
3146 /* System header to define __stub macros and hopefully few prototypes,
3147 which can conflict with char connect (); below. */
3149 /* Override any gcc2 internal prototype to avoid an error. */
3153 /* We use char because int might match the return type of a gcc2
3154 builtin and then its argument prototype would still apply. */
3161 /* The GNU C library defines this for functions which it implements
3162 to always fail with ENOSYS. Some functions are actually named
3163 something starting with __ and the normal name is an alias. */
3164 #if defined (__stub_connect) || defined (__stub___connect)
3174 rm -f conftest.$ac_objext conftest$ac_exeext
3175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3176 (eval $ac_link) 2>&5
3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); } &&
3180 { ac_try='test -s conftest$ac_exeext'
3181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185 (exit $ac_status); }; }; then
3186 ac_cv_func_connect=yes
3188 echo "$as_me: failed program was:" >&5
3189 cat conftest.$ac_ext >&5
3190 ac_cv_func_connect=no
3192 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3194 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3195 echo "${ECHO_T}$ac_cv_func_connect" >&6
3197 if test $ac_cv_func_connect = no; then
3198 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3199 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3200 if test "${ac_cv_lib_socket_connect+set}" = set; then
3201 echo $ECHO_N "(cached) $ECHO_C" >&6
3203 ac_check_lib_save_LIBS=$LIBS
3204 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
3205 cat >conftest.$ac_ext <<_ACEOF
3206 #line $LINENO "configure"
3207 #include "confdefs.h"
3209 /* Override any gcc2 internal prototype to avoid an error. */
3213 /* We use char because int might match the return type of a gcc2
3214 builtin and then its argument prototype would still apply. */
3224 rm -f conftest.$ac_objext conftest$ac_exeext
3225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3226 (eval $ac_link) 2>&5
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); } &&
3230 { ac_try='test -s conftest$ac_exeext'
3231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235 (exit $ac_status); }; }; then
3236 ac_cv_lib_socket_connect=yes
3238 echo "$as_me: failed program was:" >&5
3239 cat conftest.$ac_ext >&5
3240 ac_cv_lib_socket_connect=no
3242 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3243 LIBS=$ac_check_lib_save_LIBS
3245 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3246 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3247 if test $ac_cv_lib_socket_connect = yes; then
3248 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
3253 # Guillermo Gomez says -lposix is necessary on A/UX.
3254 echo "$as_me:$LINENO: checking for remove" >&5
3255 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3256 if test "${ac_cv_func_remove+set}" = set; then
3257 echo $ECHO_N "(cached) $ECHO_C" >&6
3259 cat >conftest.$ac_ext <<_ACEOF
3260 #line $LINENO "configure"
3261 #include "confdefs.h"
3262 /* System header to define __stub macros and hopefully few prototypes,
3263 which can conflict with char remove (); below. */
3265 /* Override any gcc2 internal prototype to avoid an error. */
3269 /* We use char because int might match the return type of a gcc2
3270 builtin and then its argument prototype would still apply. */
3277 /* The GNU C library defines this for functions which it implements
3278 to always fail with ENOSYS. Some functions are actually named
3279 something starting with __ and the normal name is an alias. */
3280 #if defined (__stub_remove) || defined (__stub___remove)
3290 rm -f conftest.$ac_objext conftest$ac_exeext
3291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3292 (eval $ac_link) 2>&5
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); } &&
3296 { ac_try='test -s conftest$ac_exeext'
3297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3301 (exit $ac_status); }; }; then
3302 ac_cv_func_remove=yes
3304 echo "$as_me: failed program was:" >&5
3305 cat conftest.$ac_ext >&5
3306 ac_cv_func_remove=no
3308 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3310 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3311 echo "${ECHO_T}$ac_cv_func_remove" >&6
3313 if test $ac_cv_func_remove = no; then
3314 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3315 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3316 if test "${ac_cv_lib_posix_remove+set}" = set; then
3317 echo $ECHO_N "(cached) $ECHO_C" >&6
3319 ac_check_lib_save_LIBS=$LIBS
3320 LIBS="-lposix $LIBS"
3321 cat >conftest.$ac_ext <<_ACEOF
3322 #line $LINENO "configure"
3323 #include "confdefs.h"
3325 /* Override any gcc2 internal prototype to avoid an error. */
3329 /* We use char because int might match the return type of a gcc2
3330 builtin and then its argument prototype would still apply. */
3340 rm -f conftest.$ac_objext conftest$ac_exeext
3341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3342 (eval $ac_link) 2>&5
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); } &&
3346 { ac_try='test -s conftest$ac_exeext'
3347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); }; }; then
3352 ac_cv_lib_posix_remove=yes
3354 echo "$as_me: failed program was:" >&5
3355 cat conftest.$ac_ext >&5
3356 ac_cv_lib_posix_remove=no
3358 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3359 LIBS=$ac_check_lib_save_LIBS
3361 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3362 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3363 if test $ac_cv_lib_posix_remove = yes; then
3364 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
3369 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3370 echo "$as_me:$LINENO: checking for shmat" >&5
3371 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3372 if test "${ac_cv_func_shmat+set}" = set; then
3373 echo $ECHO_N "(cached) $ECHO_C" >&6
3375 cat >conftest.$ac_ext <<_ACEOF
3376 #line $LINENO "configure"
3377 #include "confdefs.h"
3378 /* System header to define __stub macros and hopefully few prototypes,
3379 which can conflict with char shmat (); below. */
3381 /* Override any gcc2 internal prototype to avoid an error. */
3385 /* We use char because int might match the return type of a gcc2
3386 builtin and then its argument prototype would still apply. */
3393 /* The GNU C library defines this for functions which it implements
3394 to always fail with ENOSYS. Some functions are actually named
3395 something starting with __ and the normal name is an alias. */
3396 #if defined (__stub_shmat) || defined (__stub___shmat)
3406 rm -f conftest.$ac_objext conftest$ac_exeext
3407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3408 (eval $ac_link) 2>&5
3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 (exit $ac_status); } &&
3412 { ac_try='test -s conftest$ac_exeext'
3413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 (exit $ac_status); }; }; then
3418 ac_cv_func_shmat=yes
3420 echo "$as_me: failed program was:" >&5
3421 cat conftest.$ac_ext >&5
3424 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3426 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3427 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3429 if test $ac_cv_func_shmat = no; then
3430 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3431 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3432 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3433 echo $ECHO_N "(cached) $ECHO_C" >&6
3435 ac_check_lib_save_LIBS=$LIBS
3437 cat >conftest.$ac_ext <<_ACEOF
3438 #line $LINENO "configure"
3439 #include "confdefs.h"
3441 /* Override any gcc2 internal prototype to avoid an error. */
3445 /* We use char because int might match the return type of a gcc2
3446 builtin and then its argument prototype would still apply. */
3456 rm -f conftest.$ac_objext conftest$ac_exeext
3457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3458 (eval $ac_link) 2>&5
3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461 (exit $ac_status); } &&
3462 { ac_try='test -s conftest$ac_exeext'
3463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3467 (exit $ac_status); }; }; then
3468 ac_cv_lib_ipc_shmat=yes
3470 echo "$as_me: failed program was:" >&5
3471 cat conftest.$ac_ext >&5
3472 ac_cv_lib_ipc_shmat=no
3474 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3475 LIBS=$ac_check_lib_save_LIBS
3477 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3478 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3479 if test $ac_cv_lib_ipc_shmat = yes; then
3480 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
3486 # Check for libraries that X11R6 Xt/Xaw programs need.
3487 ac_save_LDFLAGS=$LDFLAGS
3488 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
3489 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3490 # check for ICE first), but we must link in the order -lSM -lICE or
3491 # we get undefined symbols. So assume we have SM if we have ICE.
3492 # These have to be linked with before -lX11, unlike the other
3493 # libraries we check for below, so use a different variable.
3494 # John Interrante, Karl Berry
3495 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
3496 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3497 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3498 echo $ECHO_N "(cached) $ECHO_C" >&6
3500 ac_check_lib_save_LIBS=$LIBS
3501 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
3502 cat >conftest.$ac_ext <<_ACEOF
3503 #line $LINENO "configure"
3504 #include "confdefs.h"
3506 /* Override any gcc2 internal prototype to avoid an error. */
3510 /* We use char because int might match the return type of a gcc2
3511 builtin and then its argument prototype would still apply. */
3512 char IceConnectionNumber ();
3516 IceConnectionNumber ();
3521 rm -f conftest.$ac_objext conftest$ac_exeext
3522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3523 (eval $ac_link) 2>&5
3525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526 (exit $ac_status); } &&
3527 { ac_try='test -s conftest$ac_exeext'
3528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532 (exit $ac_status); }; }; then
3533 ac_cv_lib_ICE_IceConnectionNumber=yes
3535 echo "$as_me: failed program was:" >&5
3536 cat conftest.$ac_ext >&5
3537 ac_cv_lib_ICE_IceConnectionNumber=no
3539 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3540 LIBS=$ac_check_lib_save_LIBS
3542 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
3543 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
3544 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
3545 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
3548 LDFLAGS=$ac_save_LDFLAGS
3552 for ac_prog in 'bison -y' byacc
3554 # Extract the first word of "$ac_prog", so it can be a program name with args.
3555 set dummy $ac_prog; ac_word=$2
3556 echo "$as_me:$LINENO: checking for $ac_word" >&5
3557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3558 if test "${ac_cv_prog_YACC+set}" = set; then
3559 echo $ECHO_N "(cached) $ECHO_C" >&6
3561 if test -n "$YACC"; then
3562 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 test -z "$as_dir" && as_dir=.
3569 for ac_exec_ext in '' $ac_executable_extensions; do
3570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3571 ac_cv_prog_YACC="$ac_prog"
3572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3580 YACC=$ac_cv_prog_YACC
3581 if test -n "$YACC"; then
3582 echo "$as_me:$LINENO: result: $YACC" >&5
3583 echo "${ECHO_T}$YACC" >&6
3585 echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6
3589 test -n "$YACC" && break
3591 test -n "$YACC" || YACC="yacc"
3593 for ac_prog in flex lex
3595 # Extract the first word of "$ac_prog", so it can be a program name with args.
3596 set dummy $ac_prog; ac_word=$2
3597 echo "$as_me:$LINENO: checking for $ac_word" >&5
3598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3599 if test "${ac_cv_prog_LEX+set}" = set; then
3600 echo $ECHO_N "(cached) $ECHO_C" >&6
3602 if test -n "$LEX"; then
3603 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3609 test -z "$as_dir" && as_dir=.
3610 for ac_exec_ext in '' $ac_executable_extensions; do
3611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3612 ac_cv_prog_LEX="$ac_prog"
3613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3622 if test -n "$LEX"; then
3623 echo "$as_me:$LINENO: result: $LEX" >&5
3624 echo "${ECHO_T}$LEX" >&6
3626 echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6
3630 test -n "$LEX" && break
3632 test -n "$LEX" || LEX=":"
3634 if test -z "$LEXLIB"
3636 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3637 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3638 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3639 echo $ECHO_N "(cached) $ECHO_C" >&6
3641 ac_check_lib_save_LIBS=$LIBS
3643 cat >conftest.$ac_ext <<_ACEOF
3644 #line $LINENO "configure"
3645 #include "confdefs.h"
3647 /* Override any gcc2 internal prototype to avoid an error. */
3651 /* We use char because int might match the return type of a gcc2
3652 builtin and then its argument prototype would still apply. */
3662 rm -f conftest.$ac_objext conftest$ac_exeext
3663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3664 (eval $ac_link) 2>&5
3666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3667 (exit $ac_status); } &&
3668 { ac_try='test -s conftest$ac_exeext'
3669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3673 (exit $ac_status); }; }; then
3674 ac_cv_lib_fl_yywrap=yes
3676 echo "$as_me: failed program was:" >&5
3677 cat conftest.$ac_ext >&5
3678 ac_cv_lib_fl_yywrap=no
3680 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3681 LIBS=$ac_check_lib_save_LIBS
3683 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3684 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3685 if test $ac_cv_lib_fl_yywrap = yes; then
3688 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3689 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3690 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3691 echo $ECHO_N "(cached) $ECHO_C" >&6
3693 ac_check_lib_save_LIBS=$LIBS
3695 cat >conftest.$ac_ext <<_ACEOF
3696 #line $LINENO "configure"
3697 #include "confdefs.h"
3699 /* Override any gcc2 internal prototype to avoid an error. */
3703 /* We use char because int might match the return type of a gcc2
3704 builtin and then its argument prototype would still apply. */
3714 rm -f conftest.$ac_objext conftest$ac_exeext
3715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3716 (eval $ac_link) 2>&5
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); } &&
3720 { ac_try='test -s conftest$ac_exeext'
3721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3725 (exit $ac_status); }; }; then
3726 ac_cv_lib_l_yywrap=yes
3728 echo "$as_me: failed program was:" >&5
3729 cat conftest.$ac_ext >&5
3730 ac_cv_lib_l_yywrap=no
3732 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3733 LIBS=$ac_check_lib_save_LIBS
3735 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3736 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3737 if test $ac_cv_lib_l_yywrap = yes; then
3745 if test "x$LEX" != "x:"; then
3746 echo "$as_me:$LINENO: checking lex output file root" >&5
3747 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3748 if test "${ac_cv_prog_lex_root+set}" = set; then
3749 echo $ECHO_N "(cached) $ECHO_C" >&6
3751 # The minimal lex program is just a single line: %%. But some broken lexes
3752 # (Solaris, I think it was) want two %% lines, so accommodate them.
3753 cat >conftest.l <<_ACEOF
3757 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3758 (eval $LEX conftest.l) 2>&5
3760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3761 (exit $ac_status); }
3762 if test -f lex.yy.c; then
3763 ac_cv_prog_lex_root=lex.yy
3764 elif test -f lexyy.c; then
3765 ac_cv_prog_lex_root=lexyy
3767 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3768 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3769 { (exit 1); exit 1; }; }
3772 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3773 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3775 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3777 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3778 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3779 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3780 echo $ECHO_N "(cached) $ECHO_C" >&6
3782 # POSIX says lex can declare yytext either as a pointer or an array; the
3783 # default is implementation-dependent. Figure out which it is, since
3784 # not all implementations provide the %pointer and %array declarations.
3785 ac_cv_prog_lex_yytext_pointer=no
3786 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3788 LIBS="$LIBS $LEXLIB"
3789 cat >conftest.$ac_ext <<_ACEOF
3790 `cat $LEX_OUTPUT_ROOT.c`
3792 rm -f conftest.$ac_objext conftest$ac_exeext
3793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3794 (eval $ac_link) 2>&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); } &&
3798 { ac_try='test -s conftest$ac_exeext'
3799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); }; }; then
3804 ac_cv_prog_lex_yytext_pointer=yes
3806 echo "$as_me: failed program was:" >&5
3807 cat conftest.$ac_ext >&5
3809 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3811 rm -f "${LEX_OUTPUT_ROOT}.c"
3814 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3815 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3816 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3818 cat >>confdefs.h <<\_ACEOF
3819 #define YYTEXT_POINTER 1
3826 for ac_prog in $YACC bison yacc
3828 # Extract the first word of "$ac_prog", so it can be a program name with args.
3829 set dummy $ac_prog; ac_word=$2
3830 echo "$as_me:$LINENO: checking for $ac_word" >&5
3831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3832 if test "${ac_cv_prog_XYACC+set}" = set; then
3833 echo $ECHO_N "(cached) $ECHO_C" >&6
3835 if test -n "$XYACC"; then
3836 ac_cv_prog_XYACC="$XYACC" # Let the user override the test.
3838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3842 test -z "$as_dir" && as_dir=.
3843 for ac_exec_ext in '' $ac_executable_extensions; do
3844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3845 ac_cv_prog_XYACC="$ac_prog"
3846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3854 XYACC=$ac_cv_prog_XYACC
3855 if test -n "$XYACC"; then
3856 echo "$as_me:$LINENO: result: $XYACC" >&5
3857 echo "${ECHO_T}$XYACC" >&6
3859 echo "$as_me:$LINENO: result: no" >&5
3860 echo "${ECHO_T}no" >&6
3863 test -n "$XYACC" && break
3865 test -n "$XYACC" || XYACC="none"
3867 if test "$XYACC" = "none"
3869 { { echo "$as_me:$LINENO: error: no suitable bison/yacc found. Please install the 'bison' package." >&5
3870 echo "$as_me: error: no suitable bison/yacc found. Please install the 'bison' package." >&2;}
3871 { (exit 1); exit 1; }; }
3873 for ac_prog in $LEX flex lex
3875 # Extract the first word of "$ac_prog", so it can be a program name with args.
3876 set dummy $ac_prog; ac_word=$2
3877 echo "$as_me:$LINENO: checking for $ac_word" >&5
3878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3879 if test "${ac_cv_prog_XLEX+set}" = set; then
3880 echo $ECHO_N "(cached) $ECHO_C" >&6
3882 if test -n "$XLEX"; then
3883 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
3885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3889 test -z "$as_dir" && as_dir=.
3890 for ac_exec_ext in '' $ac_executable_extensions; do
3891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3892 ac_cv_prog_XLEX="$ac_prog"
3893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3901 XLEX=$ac_cv_prog_XLEX
3902 if test -n "$XLEX"; then
3903 echo "$as_me:$LINENO: result: $XLEX" >&5
3904 echo "${ECHO_T}$XLEX" >&6
3906 echo "$as_me:$LINENO: result: no" >&5
3907 echo "${ECHO_T}no" >&6
3910 test -n "$XLEX" && break
3912 test -n "$XLEX" || XLEX="none"
3914 if test "$XLEX" = "none"
3916 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
3917 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
3918 { (exit 1); exit 1; }; }
3921 if test -n "$ac_tool_prefix"; then
3922 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3923 set dummy ${ac_tool_prefix}ld; ac_word=$2
3924 echo "$as_me:$LINENO: checking for $ac_word" >&5
3925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3926 if test "${ac_cv_prog_LD+set}" = set; then
3927 echo $ECHO_N "(cached) $ECHO_C" >&6
3929 if test -n "$LD"; then
3930 ac_cv_prog_LD="$LD" # Let the user override the test.
3932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3936 test -z "$as_dir" && as_dir=.
3937 for ac_exec_ext in '' $ac_executable_extensions; do
3938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3939 ac_cv_prog_LD="${ac_tool_prefix}ld"
3940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3949 if test -n "$LD"; then
3950 echo "$as_me:$LINENO: result: $LD" >&5
3951 echo "${ECHO_T}$LD" >&6
3953 echo "$as_me:$LINENO: result: no" >&5
3954 echo "${ECHO_T}no" >&6
3958 if test -z "$ac_cv_prog_LD"; then
3960 # Extract the first word of "ld", so it can be a program name with args.
3961 set dummy ld; ac_word=$2
3962 echo "$as_me:$LINENO: checking for $ac_word" >&5
3963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3964 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
3965 echo $ECHO_N "(cached) $ECHO_C" >&6
3967 if test -n "$ac_ct_LD"; then
3968 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
3970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3974 test -z "$as_dir" && as_dir=.
3975 for ac_exec_ext in '' $ac_executable_extensions; do
3976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3977 ac_cv_prog_ac_ct_LD="ld"
3978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3984 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
3987 ac_ct_LD=$ac_cv_prog_ac_ct_LD
3988 if test -n "$ac_ct_LD"; then
3989 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
3990 echo "${ECHO_T}$ac_ct_LD" >&6
3992 echo "$as_me:$LINENO: result: no" >&5
3993 echo "${ECHO_T}no" >&6
4001 if test -n "$ac_tool_prefix"; then
4002 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4003 set dummy ${ac_tool_prefix}ar; ac_word=$2
4004 echo "$as_me:$LINENO: checking for $ac_word" >&5
4005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4006 if test "${ac_cv_prog_AR+set}" = set; then
4007 echo $ECHO_N "(cached) $ECHO_C" >&6
4009 if test -n "$AR"; then
4010 ac_cv_prog_AR="$AR" # Let the user override the test.
4012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4016 test -z "$as_dir" && as_dir=.
4017 for ac_exec_ext in '' $ac_executable_extensions; do
4018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4019 ac_cv_prog_AR="${ac_tool_prefix}ar"
4020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4029 if test -n "$AR"; then
4030 echo "$as_me:$LINENO: result: $AR" >&5
4031 echo "${ECHO_T}$AR" >&6
4033 echo "$as_me:$LINENO: result: no" >&5
4034 echo "${ECHO_T}no" >&6
4038 if test -z "$ac_cv_prog_AR"; then
4040 # Extract the first word of "ar", so it can be a program name with args.
4041 set dummy ar; ac_word=$2
4042 echo "$as_me:$LINENO: checking for $ac_word" >&5
4043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4044 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4045 echo $ECHO_N "(cached) $ECHO_C" >&6
4047 if test -n "$ac_ct_AR"; then
4048 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4054 test -z "$as_dir" && as_dir=.
4055 for ac_exec_ext in '' $ac_executable_extensions; do
4056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4057 ac_cv_prog_ac_ct_AR="ar"
4058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4064 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
4067 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4068 if test -n "$ac_ct_AR"; then
4069 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4070 echo "${ECHO_T}$ac_ct_AR" >&6
4072 echo "$as_me:$LINENO: result: no" >&5
4073 echo "${ECHO_T}no" >&6
4081 if test -n "$ac_tool_prefix"; then
4082 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4083 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4084 echo "$as_me:$LINENO: checking for $ac_word" >&5
4085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4086 if test "${ac_cv_prog_RANLIB+set}" = set; then
4087 echo $ECHO_N "(cached) $ECHO_C" >&6
4089 if test -n "$RANLIB"; then
4090 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4096 test -z "$as_dir" && as_dir=.
4097 for ac_exec_ext in '' $ac_executable_extensions; do
4098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4099 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4108 RANLIB=$ac_cv_prog_RANLIB
4109 if test -n "$RANLIB"; then
4110 echo "$as_me:$LINENO: result: $RANLIB" >&5
4111 echo "${ECHO_T}$RANLIB" >&6
4113 echo "$as_me:$LINENO: result: no" >&5
4114 echo "${ECHO_T}no" >&6
4118 if test -z "$ac_cv_prog_RANLIB"; then
4119 ac_ct_RANLIB=$RANLIB
4120 # Extract the first word of "ranlib", so it can be a program name with args.
4121 set dummy ranlib; ac_word=$2
4122 echo "$as_me:$LINENO: checking for $ac_word" >&5
4123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4124 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4125 echo $ECHO_N "(cached) $ECHO_C" >&6
4127 if test -n "$ac_ct_RANLIB"; then
4128 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4134 test -z "$as_dir" && as_dir=.
4135 for ac_exec_ext in '' $ac_executable_extensions; do
4136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4137 ac_cv_prog_ac_ct_RANLIB="ranlib"
4138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4144 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4147 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4148 if test -n "$ac_ct_RANLIB"; then
4149 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4150 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4152 echo "$as_me:$LINENO: result: no" >&5
4153 echo "${ECHO_T}no" >&6
4156 RANLIB=$ac_ct_RANLIB
4158 RANLIB="$ac_cv_prog_RANLIB"
4161 if test -n "$ac_tool_prefix"; then
4162 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4163 set dummy ${ac_tool_prefix}strip; ac_word=$2
4164 echo "$as_me:$LINENO: checking for $ac_word" >&5
4165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4166 if test "${ac_cv_prog_STRIP+set}" = set; then
4167 echo $ECHO_N "(cached) $ECHO_C" >&6
4169 if test -n "$STRIP"; then
4170 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4176 test -z "$as_dir" && as_dir=.
4177 for ac_exec_ext in '' $ac_executable_extensions; do
4178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4179 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4188 STRIP=$ac_cv_prog_STRIP
4189 if test -n "$STRIP"; then
4190 echo "$as_me:$LINENO: result: $STRIP" >&5
4191 echo "${ECHO_T}$STRIP" >&6
4193 echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6
4198 if test -z "$ac_cv_prog_STRIP"; then
4200 # Extract the first word of "strip", so it can be a program name with args.
4201 set dummy strip; ac_word=$2
4202 echo "$as_me:$LINENO: checking for $ac_word" >&5
4203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4204 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4205 echo $ECHO_N "(cached) $ECHO_C" >&6
4207 if test -n "$ac_ct_STRIP"; then
4208 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4214 test -z "$as_dir" && as_dir=.
4215 for ac_exec_ext in '' $ac_executable_extensions; do
4216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4217 ac_cv_prog_ac_ct_STRIP="strip"
4218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4224 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="strip"
4227 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4228 if test -n "$ac_ct_STRIP"; then
4229 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4230 echo "${ECHO_T}$ac_ct_STRIP" >&6
4232 echo "$as_me:$LINENO: result: no" >&5
4233 echo "${ECHO_T}no" >&6
4238 STRIP="$ac_cv_prog_STRIP"
4241 if test -n "$ac_tool_prefix"; then
4242 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4243 set dummy ${ac_tool_prefix}windres; ac_word=$2
4244 echo "$as_me:$LINENO: checking for $ac_word" >&5
4245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4246 if test "${ac_cv_prog_WINDRES+set}" = set; then
4247 echo $ECHO_N "(cached) $ECHO_C" >&6
4249 if test -n "$WINDRES"; then
4250 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
4252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4256 test -z "$as_dir" && as_dir=.
4257 for ac_exec_ext in '' $ac_executable_extensions; do
4258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4259 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
4260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4268 WINDRES=$ac_cv_prog_WINDRES
4269 if test -n "$WINDRES"; then
4270 echo "$as_me:$LINENO: result: $WINDRES" >&5
4271 echo "${ECHO_T}$WINDRES" >&6
4273 echo "$as_me:$LINENO: result: no" >&5
4274 echo "${ECHO_T}no" >&6
4278 if test -z "$ac_cv_prog_WINDRES"; then
4279 ac_ct_WINDRES=$WINDRES
4280 # Extract the first word of "windres", so it can be a program name with args.
4281 set dummy windres; ac_word=$2
4282 echo "$as_me:$LINENO: checking for $ac_word" >&5
4283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4284 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4285 echo $ECHO_N "(cached) $ECHO_C" >&6
4287 if test -n "$ac_ct_WINDRES"; then
4288 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
4290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4294 test -z "$as_dir" && as_dir=.
4295 for ac_exec_ext in '' $ac_executable_extensions; do
4296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4297 ac_cv_prog_ac_ct_WINDRES="windres"
4298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4304 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES="false"
4307 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
4308 if test -n "$ac_ct_WINDRES"; then
4309 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4310 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4312 echo "$as_me:$LINENO: result: no" >&5
4313 echo "${ECHO_T}no" >&6
4316 WINDRES=$ac_ct_WINDRES
4318 WINDRES="$ac_cv_prog_WINDRES"
4321 # Find a good install program. We prefer a C program (faster),
4322 # so one script is as good as another. But avoid the broken or
4323 # incompatible versions:
4324 # SysV /etc/install, /usr/sbin/install
4325 # SunOS /usr/etc/install
4326 # IRIX /sbin/install
4328 # AmigaOS /C/install, which installs bootblocks on floppy discs
4329 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4330 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4331 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4332 # ./install, which can be erroneously created by make from ./install.sh.
4333 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4334 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4335 if test -z "$INSTALL"; then
4336 if test "${ac_cv_path_install+set}" = set; then
4337 echo $ECHO_N "(cached) $ECHO_C" >&6
4339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4343 test -z "$as_dir" && as_dir=.
4344 # Account for people who put trailing slashes in PATH elements.
4346 ./ | .// | /cC/* | \
4347 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4350 # OSF1 and SCO ODT 3.0 have their own names for install.
4351 # Don't use installbsd from OSF since it installs stuff as root
4353 for ac_prog in ginstall scoinst install; do
4354 for ac_exec_ext in '' $ac_executable_extensions; do
4355 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4356 if test $ac_prog = install &&
4357 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4358 # AIX install. It has an incompatible calling convention.
4360 elif test $ac_prog = install &&
4361 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4362 # program-specific install script used by HP pwplus--don't use.
4365 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4377 if test "${ac_cv_path_install+set}" = set; then
4378 INSTALL=$ac_cv_path_install
4380 # As a last resort, use the slow shell script. We don't cache a
4381 # path for INSTALL within a source directory, because that will
4382 # break other packages using the cache if that directory is
4383 # removed, or if the path is relative.
4384 INSTALL=$ac_install_sh
4387 echo "$as_me:$LINENO: result: $INSTALL" >&5
4388 echo "${ECHO_T}$INSTALL" >&6
4390 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4391 # It thinks the first close brace ends the variable substitution.
4392 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4394 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4396 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4398 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4399 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4401 if test "$LN_S" = "ln -s"; then
4402 echo "$as_me:$LINENO: result: yes" >&5
4403 echo "${ECHO_T}yes" >&6
4405 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4406 echo "${ECHO_T}no, using $LN_S" >&6
4409 echo "$as_me:$LINENO: checking whether ln works" >&5
4410 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
4411 rm -f conf$$ conf$$.file
4413 if ln conf$$.file conf$$ 2>/dev/null; then
4416 echo "$as_me:$LINENO: result: yes" >&5
4417 echo "${ECHO_T}yes" >&6
4421 echo "$as_me:$LINENO: result: no, using $LN" >&5
4422 echo "${ECHO_T}no, using $LN" >&6
4424 rm -f conf$$ conf$$.file
4425 # Extract the first word of "c2man", so it can be a program name with args.
4426 set dummy c2man; ac_word=$2
4427 echo "$as_me:$LINENO: checking for $ac_word" >&5
4428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4429 if test "${ac_cv_prog_C2MAN+set}" = set; then
4430 echo $ECHO_N "(cached) $ECHO_C" >&6
4432 if test -n "$C2MAN"; then
4433 ac_cv_prog_C2MAN="$C2MAN" # Let the user override the test.
4435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4439 test -z "$as_dir" && as_dir=.
4440 for ac_exec_ext in '' $ac_executable_extensions; do
4441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4442 ac_cv_prog_C2MAN="c2man"
4443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4449 test -z "$ac_cv_prog_C2MAN" && ac_cv_prog_C2MAN="\$(TOPSRCDIR)/tools/c2man.pl"
4452 C2MAN=$ac_cv_prog_C2MAN
4453 if test -n "$C2MAN"; then
4454 echo "$as_me:$LINENO: result: $C2MAN" >&5
4455 echo "${ECHO_T}$C2MAN" >&6
4457 echo "$as_me:$LINENO: result: no" >&5
4458 echo "${ECHO_T}no" >&6
4461 # Extract the first word of "ldconfig", so it can be a program name with args.
4462 set dummy ldconfig; ac_word=$2
4463 echo "$as_me:$LINENO: checking for $ac_word" >&5
4464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4465 if test "${ac_cv_path_LDCONFIG+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4470 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4474 for as_dir in /sbin /usr/sbin $PATH
4477 test -z "$as_dir" && as_dir=.
4478 for ac_exec_ext in '' $ac_executable_extensions; do
4479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4480 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4487 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4491 LDCONFIG=$ac_cv_path_LDCONFIG
4493 if test -n "$LDCONFIG"; then
4494 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
4495 echo "${ECHO_T}$LDCONFIG" >&6
4497 echo "$as_me:$LINENO: result: no" >&5
4498 echo "${ECHO_T}no" >&6
4502 for ac_prog in lclint lint
4504 # Extract the first word of "$ac_prog", so it can be a program name with args.
4505 set dummy $ac_prog; ac_word=$2
4506 echo "$as_me:$LINENO: checking for $ac_word" >&5
4507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4508 if test "${ac_cv_prog_LINT+set}" = set; then
4509 echo $ECHO_N "(cached) $ECHO_C" >&6
4511 if test -n "$LINT"; then
4512 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4518 test -z "$as_dir" && as_dir=.
4519 for ac_exec_ext in '' $ac_executable_extensions; do
4520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4521 ac_cv_prog_LINT="$ac_prog"
4522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4530 LINT=$ac_cv_prog_LINT
4531 if test -n "$LINT"; then
4532 echo "$as_me:$LINENO: result: $LINT" >&5
4533 echo "${ECHO_T}$LINT" >&6
4535 echo "$as_me:$LINENO: result: no" >&5
4536 echo "${ECHO_T}no" >&6
4539 test -n "$LINT" && break
4542 if test "$LINT" = "lint"
4544 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4549 for ac_prog in docbook2html db2html
4551 # Extract the first word of "$ac_prog", so it can be a program name with args.
4552 set dummy $ac_prog; ac_word=$2
4553 echo "$as_me:$LINENO: checking for $ac_word" >&5
4554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4555 if test "${ac_cv_prog_DB2HTML+set}" = set; then
4556 echo $ECHO_N "(cached) $ECHO_C" >&6
4558 if test -n "$DB2HTML"; then
4559 ac_cv_prog_DB2HTML="$DB2HTML" # Let the user override the test.
4561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4565 test -z "$as_dir" && as_dir=.
4566 for ac_exec_ext in '' $ac_executable_extensions; do
4567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4568 ac_cv_prog_DB2HTML="$ac_prog"
4569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4577 DB2HTML=$ac_cv_prog_DB2HTML
4578 if test -n "$DB2HTML"; then
4579 echo "$as_me:$LINENO: result: $DB2HTML" >&5
4580 echo "${ECHO_T}$DB2HTML" >&6
4582 echo "$as_me:$LINENO: result: no" >&5
4583 echo "${ECHO_T}no" >&6
4586 test -n "$DB2HTML" && break
4588 test -n "$DB2HTML" || DB2HTML="false"
4592 for ac_prog in docbook2pdf db2pdf
4594 # Extract the first word of "$ac_prog", so it can be a program name with args.
4595 set dummy $ac_prog; ac_word=$2
4596 echo "$as_me:$LINENO: checking for $ac_word" >&5
4597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4598 if test "${ac_cv_prog_DB2PDF+set}" = set; then
4599 echo $ECHO_N "(cached) $ECHO_C" >&6
4601 if test -n "$DB2PDF"; then
4602 ac_cv_prog_DB2PDF="$DB2PDF" # Let the user override the test.
4604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4608 test -z "$as_dir" && as_dir=.
4609 for ac_exec_ext in '' $ac_executable_extensions; do
4610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4611 ac_cv_prog_DB2PDF="$ac_prog"
4612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4620 DB2PDF=$ac_cv_prog_DB2PDF
4621 if test -n "$DB2PDF"; then
4622 echo "$as_me:$LINENO: result: $DB2PDF" >&5
4623 echo "${ECHO_T}$DB2PDF" >&6
4625 echo "$as_me:$LINENO: result: no" >&5
4626 echo "${ECHO_T}no" >&6
4629 test -n "$DB2PDF" && break
4631 test -n "$DB2PDF" || DB2PDF="false"
4635 for ac_prog in docbook2ps db2ps
4637 # Extract the first word of "$ac_prog", so it can be a program name with args.
4638 set dummy $ac_prog; ac_word=$2
4639 echo "$as_me:$LINENO: checking for $ac_word" >&5
4640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4641 if test "${ac_cv_prog_DB2PS+set}" = set; then
4642 echo $ECHO_N "(cached) $ECHO_C" >&6
4644 if test -n "$DB2PS"; then
4645 ac_cv_prog_DB2PS="$DB2PS" # Let the user override the test.
4647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4651 test -z "$as_dir" && as_dir=.
4652 for ac_exec_ext in '' $ac_executable_extensions; do
4653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4654 ac_cv_prog_DB2PS="$ac_prog"
4655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4663 DB2PS=$ac_cv_prog_DB2PS
4664 if test -n "$DB2PS"; then
4665 echo "$as_me:$LINENO: result: $DB2PS" >&5
4666 echo "${ECHO_T}$DB2PS" >&6
4668 echo "$as_me:$LINENO: result: no" >&5
4669 echo "${ECHO_T}no" >&6
4672 test -n "$DB2PS" && break
4674 test -n "$DB2PS" || DB2PS="false"
4680 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
4681 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
4682 if test "${ac_cv_lib_m_sqrt+set}" = set; then
4683 echo $ECHO_N "(cached) $ECHO_C" >&6
4685 ac_check_lib_save_LIBS=$LIBS
4687 cat >conftest.$ac_ext <<_ACEOF
4688 #line $LINENO "configure"
4689 #include "confdefs.h"
4691 /* Override any gcc2 internal prototype to avoid an error. */
4695 /* We use char because int might match the return type of a gcc2
4696 builtin and then its argument prototype would still apply. */
4706 rm -f conftest.$ac_objext conftest$ac_exeext
4707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4708 (eval $ac_link) 2>&5
4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); } &&
4712 { ac_try='test -s conftest$ac_exeext'
4713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717 (exit $ac_status); }; }; then
4718 ac_cv_lib_m_sqrt=yes
4720 echo "$as_me: failed program was:" >&5
4721 cat conftest.$ac_ext >&5
4724 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4725 LIBS=$ac_check_lib_save_LIBS
4727 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
4728 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
4729 if test $ac_cv_lib_m_sqrt = yes; then
4730 cat >>confdefs.h <<_ACEOF
4739 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
4740 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
4741 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
4742 echo $ECHO_N "(cached) $ECHO_C" >&6
4744 ac_check_lib_save_LIBS=$LIBS
4746 cat >conftest.$ac_ext <<_ACEOF
4747 #line $LINENO "configure"
4748 #include "confdefs.h"
4750 /* Override any gcc2 internal prototype to avoid an error. */
4754 /* We use char because int might match the return type of a gcc2
4755 builtin and then its argument prototype would still apply. */
4756 char i386_set_ldt ();
4765 rm -f conftest.$ac_objext conftest$ac_exeext
4766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4767 (eval $ac_link) 2>&5
4769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770 (exit $ac_status); } &&
4771 { ac_try='test -s conftest$ac_exeext'
4772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4776 (exit $ac_status); }; }; then
4777 ac_cv_lib_i386_i386_set_ldt=yes
4779 echo "$as_me: failed program was:" >&5
4780 cat conftest.$ac_ext >&5
4781 ac_cv_lib_i386_i386_set_ldt=no
4783 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4784 LIBS=$ac_check_lib_save_LIBS
4786 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
4787 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
4788 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
4789 cat >>confdefs.h <<_ACEOF
4790 #define HAVE_LIBI386 1
4798 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
4799 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
4800 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
4801 echo $ECHO_N "(cached) $ECHO_C" >&6
4803 ac_check_lib_save_LIBS=$LIBS
4804 LIBS="-lossaudio $LIBS"
4805 cat >conftest.$ac_ext <<_ACEOF
4806 #line $LINENO "configure"
4807 #include "confdefs.h"
4809 /* Override any gcc2 internal prototype to avoid an error. */
4813 /* We use char because int might match the return type of a gcc2
4814 builtin and then its argument prototype would still apply. */
4824 rm -f conftest.$ac_objext conftest$ac_exeext
4825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4826 (eval $ac_link) 2>&5
4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829 (exit $ac_status); } &&
4830 { ac_try='test -s conftest$ac_exeext'
4831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835 (exit $ac_status); }; }; then
4836 ac_cv_lib_ossaudio__oss_ioctl=yes
4838 echo "$as_me: failed program was:" >&5
4839 cat conftest.$ac_ext >&5
4840 ac_cv_lib_ossaudio__oss_ioctl=no
4842 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4843 LIBS=$ac_check_lib_save_LIBS
4845 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
4846 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
4847 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
4848 cat >>confdefs.h <<_ACEOF
4849 #define HAVE_LIBOSSAUDIO 1
4852 LIBS="-lossaudio $LIBS"
4857 for ac_func in iswalnum
4859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4860 echo "$as_me:$LINENO: checking for $ac_func" >&5
4861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4862 if eval "test \"\${$as_ac_var+set}\" = set"; then
4863 echo $ECHO_N "(cached) $ECHO_C" >&6
4865 cat >conftest.$ac_ext <<_ACEOF
4866 #line $LINENO "configure"
4867 #include "confdefs.h"
4868 /* System header to define __stub macros and hopefully few prototypes,
4869 which can conflict with char $ac_func (); below. */
4871 /* Override any gcc2 internal prototype to avoid an error. */
4875 /* We use char because int might match the return type of a gcc2
4876 builtin and then its argument prototype would still apply. */
4883 /* The GNU C library defines this for functions which it implements
4884 to always fail with ENOSYS. Some functions are actually named
4885 something starting with __ and the normal name is an alias. */
4886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4896 rm -f conftest.$ac_objext conftest$ac_exeext
4897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4898 (eval $ac_link) 2>&5
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); } &&
4902 { ac_try='test -s conftest$ac_exeext'
4903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4907 (exit $ac_status); }; }; then
4908 eval "$as_ac_var=yes"
4910 echo "$as_me: failed program was:" >&5
4911 cat conftest.$ac_ext >&5
4912 eval "$as_ac_var=no"
4914 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4918 if test `eval echo '${'$as_ac_var'}'` = yes; then
4919 cat >>confdefs.h <<_ACEOF
4920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4925 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
4926 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
4927 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
4928 echo $ECHO_N "(cached) $ECHO_C" >&6
4930 ac_check_lib_save_LIBS=$LIBS
4932 cat >conftest.$ac_ext <<_ACEOF
4933 #line $LINENO "configure"
4934 #include "confdefs.h"
4936 /* Override any gcc2 internal prototype to avoid an error. */
4940 /* We use char because int might match the return type of a gcc2
4941 builtin and then its argument prototype would still apply. */
4951 rm -f conftest.$ac_objext conftest$ac_exeext
4952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4953 (eval $ac_link) 2>&5
4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); } &&
4957 { ac_try='test -s conftest$ac_exeext'
4958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4962 (exit $ac_status); }; }; then
4963 ac_cv_lib_w_iswalnum=yes
4965 echo "$as_me: failed program was:" >&5
4966 cat conftest.$ac_ext >&5
4967 ac_cv_lib_w_iswalnum=no
4969 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4970 LIBS=$ac_check_lib_save_LIBS
4972 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
4973 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
4974 if test $ac_cv_lib_w_iswalnum = yes; then
4975 cat >>confdefs.h <<_ACEOF
4987 for ac_func in gethostbyname
4989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4990 echo "$as_me:$LINENO: checking for $ac_func" >&5
4991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4992 if eval "test \"\${$as_ac_var+set}\" = set"; then
4993 echo $ECHO_N "(cached) $ECHO_C" >&6
4995 cat >conftest.$ac_ext <<_ACEOF
4996 #line $LINENO "configure"
4997 #include "confdefs.h"
4998 /* System header to define __stub macros and hopefully few prototypes,
4999 which can conflict with char $ac_func (); below. */
5001 /* Override any gcc2 internal prototype to avoid an error. */
5005 /* We use char because int might match the return type of a gcc2
5006 builtin and then its argument prototype would still apply. */
5013 /* The GNU C library defines this for functions which it implements
5014 to always fail with ENOSYS. Some functions are actually named
5015 something starting with __ and the normal name is an alias. */
5016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5026 rm -f conftest.$ac_objext conftest$ac_exeext
5027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5028 (eval $ac_link) 2>&5
5030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5031 (exit $ac_status); } &&
5032 { ac_try='test -s conftest$ac_exeext'
5033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5037 (exit $ac_status); }; }; then
5038 eval "$as_ac_var=yes"
5040 echo "$as_me: failed program was:" >&5
5041 cat conftest.$ac_ext >&5
5042 eval "$as_ac_var=no"
5044 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5048 if test `eval echo '${'$as_ac_var'}'` = yes; then
5049 cat >>confdefs.h <<_ACEOF
5050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5055 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5056 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5057 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5058 echo $ECHO_N "(cached) $ECHO_C" >&6
5060 ac_check_lib_save_LIBS=$LIBS
5062 cat >conftest.$ac_ext <<_ACEOF
5063 #line $LINENO "configure"
5064 #include "confdefs.h"
5066 /* Override any gcc2 internal prototype to avoid an error. */
5070 /* We use char because int might match the return type of a gcc2
5071 builtin and then its argument prototype would still apply. */
5072 char gethostbyname ();
5081 rm -f conftest.$ac_objext conftest$ac_exeext
5082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5083 (eval $ac_link) 2>&5
5085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086 (exit $ac_status); } &&
5087 { ac_try='test -s conftest$ac_exeext'
5088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5092 (exit $ac_status); }; }; then
5093 ac_cv_lib_nsl_gethostbyname=yes
5095 echo "$as_me: failed program was:" >&5
5096 cat conftest.$ac_ext >&5
5097 ac_cv_lib_nsl_gethostbyname=no
5099 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5100 LIBS=$ac_check_lib_save_LIBS
5102 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5103 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5104 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5105 cat >>confdefs.h <<_ACEOF
5106 #define HAVE_LIBNSL 1
5117 for ac_func in connect
5119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5120 echo "$as_me:$LINENO: checking for $ac_func" >&5
5121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5122 if eval "test \"\${$as_ac_var+set}\" = set"; then
5123 echo $ECHO_N "(cached) $ECHO_C" >&6
5125 cat >conftest.$ac_ext <<_ACEOF
5126 #line $LINENO "configure"
5127 #include "confdefs.h"
5128 /* System header to define __stub macros and hopefully few prototypes,
5129 which can conflict with char $ac_func (); below. */
5131 /* Override any gcc2 internal prototype to avoid an error. */
5135 /* We use char because int might match the return type of a gcc2
5136 builtin and then its argument prototype would still apply. */
5143 /* The GNU C library defines this for functions which it implements
5144 to always fail with ENOSYS. Some functions are actually named
5145 something starting with __ and the normal name is an alias. */
5146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5156 rm -f conftest.$ac_objext conftest$ac_exeext
5157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5158 (eval $ac_link) 2>&5
5160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5161 (exit $ac_status); } &&
5162 { ac_try='test -s conftest$ac_exeext'
5163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5167 (exit $ac_status); }; }; then
5168 eval "$as_ac_var=yes"
5170 echo "$as_me: failed program was:" >&5
5171 cat conftest.$ac_ext >&5
5172 eval "$as_ac_var=no"
5174 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5178 if test `eval echo '${'$as_ac_var'}'` = yes; then
5179 cat >>confdefs.h <<_ACEOF
5180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5185 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5186 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
5187 if test "${ac_cv_lib_socket_connect+set}" = set; then
5188 echo $ECHO_N "(cached) $ECHO_C" >&6
5190 ac_check_lib_save_LIBS=$LIBS
5191 LIBS="-lsocket $LIBS"
5192 cat >conftest.$ac_ext <<_ACEOF
5193 #line $LINENO "configure"
5194 #include "confdefs.h"
5196 /* Override any gcc2 internal prototype to avoid an error. */
5200 /* We use char because int might match the return type of a gcc2
5201 builtin and then its argument prototype would still apply. */
5211 rm -f conftest.$ac_objext conftest$ac_exeext
5212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5213 (eval $ac_link) 2>&5
5215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216 (exit $ac_status); } &&
5217 { ac_try='test -s conftest$ac_exeext'
5218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5222 (exit $ac_status); }; }; then
5223 ac_cv_lib_socket_connect=yes
5225 echo "$as_me: failed program was:" >&5
5226 cat conftest.$ac_ext >&5
5227 ac_cv_lib_socket_connect=no
5229 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5230 LIBS=$ac_check_lib_save_LIBS
5232 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5233 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
5234 if test $ac_cv_lib_socket_connect = yes; then
5235 cat >>confdefs.h <<_ACEOF
5236 #define HAVE_LIBSOCKET 1
5239 LIBS="-lsocket $LIBS"
5247 for ac_func in inet_aton
5249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5250 echo "$as_me:$LINENO: checking for $ac_func" >&5
5251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5252 if eval "test \"\${$as_ac_var+set}\" = set"; then
5253 echo $ECHO_N "(cached) $ECHO_C" >&6
5255 cat >conftest.$ac_ext <<_ACEOF
5256 #line $LINENO "configure"
5257 #include "confdefs.h"
5258 /* System header to define __stub macros and hopefully few prototypes,
5259 which can conflict with char $ac_func (); below. */
5261 /* Override any gcc2 internal prototype to avoid an error. */
5265 /* We use char because int might match the return type of a gcc2
5266 builtin and then its argument prototype would still apply. */
5273 /* The GNU C library defines this for functions which it implements
5274 to always fail with ENOSYS. Some functions are actually named
5275 something starting with __ and the normal name is an alias. */
5276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5286 rm -f conftest.$ac_objext conftest$ac_exeext
5287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5288 (eval $ac_link) 2>&5
5290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291 (exit $ac_status); } &&
5292 { ac_try='test -s conftest$ac_exeext'
5293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297 (exit $ac_status); }; }; then
5298 eval "$as_ac_var=yes"
5300 echo "$as_me: failed program was:" >&5
5301 cat conftest.$ac_ext >&5
5302 eval "$as_ac_var=no"
5304 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5308 if test `eval echo '${'$as_ac_var'}'` = yes; then
5309 cat >>confdefs.h <<_ACEOF
5310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5315 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
5316 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
5317 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
5318 echo $ECHO_N "(cached) $ECHO_C" >&6
5320 ac_check_lib_save_LIBS=$LIBS
5321 LIBS="-lresolv $LIBS"
5322 cat >conftest.$ac_ext <<_ACEOF
5323 #line $LINENO "configure"
5324 #include "confdefs.h"
5326 /* Override any gcc2 internal prototype to avoid an error. */
5330 /* We use char because int might match the return type of a gcc2
5331 builtin and then its argument prototype would still apply. */
5341 rm -f conftest.$ac_objext conftest$ac_exeext
5342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5343 (eval $ac_link) 2>&5
5345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346 (exit $ac_status); } &&
5347 { ac_try='test -s conftest$ac_exeext'
5348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352 (exit $ac_status); }; }; then
5353 ac_cv_lib_resolv_inet_aton=yes
5355 echo "$as_me: failed program was:" >&5
5356 cat conftest.$ac_ext >&5
5357 ac_cv_lib_resolv_inet_aton=no
5359 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5360 LIBS=$ac_check_lib_save_LIBS
5362 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
5363 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
5364 if test $ac_cv_lib_resolv_inet_aton = yes; then
5365 cat >>confdefs.h <<_ACEOF
5366 #define HAVE_LIBRESOLV 1
5369 LIBS="-lresolv $LIBS"
5377 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
5378 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
5379 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
5380 echo $ECHO_N "(cached) $ECHO_C" >&6
5382 ac_check_lib_save_LIBS=$LIBS
5384 cat >conftest.$ac_ext <<_ACEOF
5385 #line $LINENO "configure"
5386 #include "confdefs.h"
5388 /* Override any gcc2 internal prototype to avoid an error. */
5392 /* We use char because int might match the return type of a gcc2
5393 builtin and then its argument prototype would still apply. */
5394 char _xpg4_setrunelocale ();
5398 _xpg4_setrunelocale ();
5403 rm -f conftest.$ac_objext conftest$ac_exeext
5404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5405 (eval $ac_link) 2>&5
5407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5408 (exit $ac_status); } &&
5409 { ac_try='test -s conftest$ac_exeext'
5410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5414 (exit $ac_status); }; }; then
5415 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
5417 echo "$as_me: failed program was:" >&5
5418 cat conftest.$ac_ext >&5
5419 ac_cv_lib_xpg4__xpg4_setrunelocale=no
5421 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5422 LIBS=$ac_check_lib_save_LIBS
5424 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
5425 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
5426 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
5427 cat >>confdefs.h <<_ACEOF
5428 #define HAVE_LIBXPG4 1
5436 echo "$as_me:$LINENO: checking for mmap in -lmmap" >&5
5437 echo $ECHO_N "checking for mmap in -lmmap... $ECHO_C" >&6
5438 if test "${ac_cv_lib_mmap_mmap+set}" = set; then
5439 echo $ECHO_N "(cached) $ECHO_C" >&6
5441 ac_check_lib_save_LIBS=$LIBS
5443 cat >conftest.$ac_ext <<_ACEOF
5444 #line $LINENO "configure"
5445 #include "confdefs.h"
5447 /* Override any gcc2 internal prototype to avoid an error. */
5451 /* We use char because int might match the return type of a gcc2
5452 builtin and then its argument prototype would still apply. */
5462 rm -f conftest.$ac_objext conftest$ac_exeext
5463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5464 (eval $ac_link) 2>&5
5466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467 (exit $ac_status); } &&
5468 { ac_try='test -s conftest$ac_exeext'
5469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 (exit $ac_status); }; }; then
5474 ac_cv_lib_mmap_mmap=yes
5476 echo "$as_me: failed program was:" >&5
5477 cat conftest.$ac_ext >&5
5478 ac_cv_lib_mmap_mmap=no
5480 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5481 LIBS=$ac_check_lib_save_LIBS
5483 echo "$as_me:$LINENO: result: $ac_cv_lib_mmap_mmap" >&5
5484 echo "${ECHO_T}$ac_cv_lib_mmap_mmap" >&6
5485 if test $ac_cv_lib_mmap_mmap = yes; then
5486 cat >>confdefs.h <<_ACEOF
5487 #define HAVE_LIBMMAP 1
5497 echo "$as_me:$LINENO: checking for egrep" >&5
5498 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5499 if test "${ac_cv_prog_egrep+set}" = set; then
5500 echo $ECHO_N "(cached) $ECHO_C" >&6
5502 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5503 then ac_cv_prog_egrep='grep -E'
5504 else ac_cv_prog_egrep='egrep'
5507 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5508 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5509 EGREP=$ac_cv_prog_egrep
5512 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5513 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5514 if test "${ac_cv_header_stdc+set}" = set; then
5515 echo $ECHO_N "(cached) $ECHO_C" >&6
5517 cat >conftest.$ac_ext <<_ACEOF
5518 #line $LINENO "configure"
5519 #include "confdefs.h"
5526 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5527 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5529 grep -v '^ *+' conftest.er1 >conftest.err
5531 cat conftest.err >&5
5532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5533 (exit $ac_status); } >/dev/null; then
5534 if test -s conftest.err; then
5535 ac_cpp_err=$ac_c_preproc_warn_flag
5542 if test -z "$ac_cpp_err"; then
5543 ac_cv_header_stdc=yes
5545 echo "$as_me: failed program was:" >&5
5546 cat conftest.$ac_ext >&5
5547 ac_cv_header_stdc=no
5549 rm -f conftest.err conftest.$ac_ext
5551 if test $ac_cv_header_stdc = yes; then
5552 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5553 cat >conftest.$ac_ext <<_ACEOF
5554 #line $LINENO "configure"
5555 #include "confdefs.h"
5559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5560 $EGREP "memchr" >/dev/null 2>&1; then
5563 ac_cv_header_stdc=no
5569 if test $ac_cv_header_stdc = yes; then
5570 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5571 cat >conftest.$ac_ext <<_ACEOF
5572 #line $LINENO "configure"
5573 #include "confdefs.h"
5577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5578 $EGREP "free" >/dev/null 2>&1; then
5581 ac_cv_header_stdc=no
5587 if test $ac_cv_header_stdc = yes; then
5588 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5589 if test "$cross_compiling" = yes; then
5592 cat >conftest.$ac_ext <<_ACEOF
5593 #line $LINENO "configure"
5594 #include "confdefs.h"
5596 #if ((' ' & 0x0FF) == 0x020)
5597 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5598 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5600 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
5601 || ('j' <= (c) && (c) <= 'r') \
5602 || ('s' <= (c) && (c) <= 'z'))
5603 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5606 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5611 for (i = 0; i < 256; i++)
5612 if (XOR (islower (i), ISLOWER (i))
5613 || toupper (i) != TOUPPER (i))
5618 rm -f conftest$ac_exeext
5619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5620 (eval $ac_link) 2>&5
5622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5628 (exit $ac_status); }; }; then
5631 echo "$as_me: program exited with status $ac_status" >&5
5632 echo "$as_me: failed program was:" >&5
5633 cat conftest.$ac_ext >&5
5635 ac_cv_header_stdc=no
5637 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5641 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5642 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5643 if test $ac_cv_header_stdc = yes; then
5645 cat >>confdefs.h <<\_ACEOF
5646 #define STDC_HEADERS 1
5651 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5661 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5662 inttypes.h stdint.h unistd.h
5664 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5665 echo "$as_me:$LINENO: checking for $ac_header" >&5
5666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5668 echo $ECHO_N "(cached) $ECHO_C" >&6
5670 cat >conftest.$ac_ext <<_ACEOF
5671 #line $LINENO "configure"
5672 #include "confdefs.h"
5673 $ac_includes_default
5675 #include <$ac_header>
5677 rm -f conftest.$ac_objext
5678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5679 (eval $ac_compile) 2>&5
5681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682 (exit $ac_status); } &&
5683 { ac_try='test -s conftest.$ac_objext'
5684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 (exit $ac_status); }; }; then
5689 eval "$as_ac_Header=yes"
5691 echo "$as_me: failed program was:" >&5
5692 cat conftest.$ac_ext >&5
5693 eval "$as_ac_Header=no"
5695 rm -f conftest.$ac_objext conftest.$ac_ext
5697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5699 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5700 cat >>confdefs.h <<_ACEOF
5701 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5710 for ac_header in jpeglib.h
5712 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5714 echo "$as_me:$LINENO: checking for $ac_header" >&5
5715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5717 echo $ECHO_N "(cached) $ECHO_C" >&6
5719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5720 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5722 # Is the header compilable?
5723 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5724 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5725 cat >conftest.$ac_ext <<_ACEOF
5726 #line $LINENO "configure"
5727 #include "confdefs.h"
5728 $ac_includes_default
5729 #include <$ac_header>
5731 rm -f conftest.$ac_objext
5732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5733 (eval $ac_compile) 2>&5
5735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736 (exit $ac_status); } &&
5737 { ac_try='test -s conftest.$ac_objext'
5738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742 (exit $ac_status); }; }; then
5743 ac_header_compiler=yes
5745 echo "$as_me: failed program was:" >&5
5746 cat conftest.$ac_ext >&5
5747 ac_header_compiler=no
5749 rm -f conftest.$ac_objext conftest.$ac_ext
5750 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5751 echo "${ECHO_T}$ac_header_compiler" >&6
5753 # Is the header present?
5754 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5755 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5756 cat >conftest.$ac_ext <<_ACEOF
5757 #line $LINENO "configure"
5758 #include "confdefs.h"
5759 #include <$ac_header>
5761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5762 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5764 grep -v '^ *+' conftest.er1 >conftest.err
5766 cat conftest.err >&5
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); } >/dev/null; then
5769 if test -s conftest.err; then
5770 ac_cpp_err=$ac_c_preproc_warn_flag
5777 if test -z "$ac_cpp_err"; then
5778 ac_header_preproc=yes
5780 echo "$as_me: failed program was:" >&5
5781 cat conftest.$ac_ext >&5
5782 ac_header_preproc=no
5784 rm -f conftest.err conftest.$ac_ext
5785 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5786 echo "${ECHO_T}$ac_header_preproc" >&6
5788 # So? What about this header?
5789 case $ac_header_compiler:$ac_header_preproc in
5791 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5792 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5794 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5796 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5797 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5798 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5799 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5800 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5801 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5803 echo "$as_me:$LINENO: checking for $ac_header" >&5
5804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5806 echo $ECHO_N "(cached) $ECHO_C" >&6
5808 eval "$as_ac_Header=$ac_header_preproc"
5810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5811 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5815 cat >>confdefs.h <<_ACEOF
5816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5818 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
5819 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
5820 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
5821 echo $ECHO_N "(cached) $ECHO_C" >&6
5823 ac_check_lib_save_LIBS=$LIBS
5825 cat >conftest.$ac_ext <<_ACEOF
5826 #line $LINENO "configure"
5827 #include "confdefs.h"
5829 /* Override any gcc2 internal prototype to avoid an error. */
5833 /* We use char because int might match the return type of a gcc2
5834 builtin and then its argument prototype would still apply. */
5835 char jpeg_start_decompress ();
5839 jpeg_start_decompress ();
5844 rm -f conftest.$ac_objext conftest$ac_exeext
5845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5846 (eval $ac_link) 2>&5
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); } &&
5850 { ac_try='test -s conftest$ac_exeext'
5851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5855 (exit $ac_status); }; }; then
5856 ac_cv_lib_jpeg_jpeg_start_decompress=yes
5858 echo "$as_me: failed program was:" >&5
5859 cat conftest.$ac_ext >&5
5860 ac_cv_lib_jpeg_jpeg_start_decompress=no
5862 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5863 LIBS=$ac_check_lib_save_LIBS
5865 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
5866 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
5867 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
5869 cat >>confdefs.h <<\_ACEOF
5870 #define HAVE_LIBJPEG 1
5893 if test "$have_x" = "yes"
5896 ac_save_CPPFLAGS="$CPPFLAGS"
5897 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
5900 for ac_header in X11/Xlib.h
5902 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5904 echo "$as_me:$LINENO: checking for $ac_header" >&5
5905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5907 echo $ECHO_N "(cached) $ECHO_C" >&6
5909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5912 # Is the header compilable?
5913 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5914 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5915 cat >conftest.$ac_ext <<_ACEOF
5916 #line $LINENO "configure"
5917 #include "confdefs.h"
5918 $ac_includes_default
5919 #include <$ac_header>
5921 rm -f conftest.$ac_objext
5922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5923 (eval $ac_compile) 2>&5
5925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5926 (exit $ac_status); } &&
5927 { ac_try='test -s conftest.$ac_objext'
5928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); }; }; then
5933 ac_header_compiler=yes
5935 echo "$as_me: failed program was:" >&5
5936 cat conftest.$ac_ext >&5
5937 ac_header_compiler=no
5939 rm -f conftest.$ac_objext conftest.$ac_ext
5940 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5941 echo "${ECHO_T}$ac_header_compiler" >&6
5943 # Is the header present?
5944 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5945 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5946 cat >conftest.$ac_ext <<_ACEOF
5947 #line $LINENO "configure"
5948 #include "confdefs.h"
5949 #include <$ac_header>
5951 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5952 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5954 grep -v '^ *+' conftest.er1 >conftest.err
5956 cat conftest.err >&5
5957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5958 (exit $ac_status); } >/dev/null; then
5959 if test -s conftest.err; then
5960 ac_cpp_err=$ac_c_preproc_warn_flag
5967 if test -z "$ac_cpp_err"; then
5968 ac_header_preproc=yes
5970 echo "$as_me: failed program was:" >&5
5971 cat conftest.$ac_ext >&5
5972 ac_header_preproc=no
5974 rm -f conftest.err conftest.$ac_ext
5975 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5976 echo "${ECHO_T}$ac_header_preproc" >&6
5978 # So? What about this header?
5979 case $ac_header_compiler:$ac_header_preproc in
5981 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5982 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5984 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5986 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5987 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5988 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5989 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5991 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5993 echo "$as_me:$LINENO: checking for $ac_header" >&5
5994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5996 echo $ECHO_N "(cached) $ECHO_C" >&6
5998 eval "$as_ac_Header=$ac_header_preproc"
6000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6001 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6004 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6005 cat >>confdefs.h <<_ACEOF
6006 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6010 for ac_header in X11/XKBlib.h
6012 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6013 echo "$as_me:$LINENO: checking for $ac_header" >&5
6014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6016 echo $ECHO_N "(cached) $ECHO_C" >&6
6018 cat >conftest.$ac_ext <<_ACEOF
6019 #line $LINENO "configure"
6020 #include "confdefs.h"
6021 #include <X11/Xlib.h>
6023 #include <$ac_header>
6025 rm -f conftest.$ac_objext
6026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6027 (eval $ac_compile) 2>&5
6029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6030 (exit $ac_status); } &&
6031 { ac_try='test -s conftest.$ac_objext'
6032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6036 (exit $ac_status); }; }; then
6037 eval "$as_ac_Header=yes"
6039 echo "$as_me: failed program was:" >&5
6040 cat conftest.$ac_ext >&5
6041 eval "$as_ac_Header=no"
6043 rm -f conftest.$ac_objext conftest.$ac_ext
6045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6046 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6047 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6048 cat >>confdefs.h <<_ACEOF
6049 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6051 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
6052 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
6053 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
6054 echo $ECHO_N "(cached) $ECHO_C" >&6
6056 ac_check_lib_save_LIBS=$LIBS
6057 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6058 cat >conftest.$ac_ext <<_ACEOF
6059 #line $LINENO "configure"
6060 #include "confdefs.h"
6062 /* Override any gcc2 internal prototype to avoid an error. */
6066 /* We use char because int might match the return type of a gcc2
6067 builtin and then its argument prototype would still apply. */
6068 char XkbQueryExtension ();
6072 XkbQueryExtension ();
6077 rm -f conftest.$ac_objext conftest$ac_exeext
6078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6079 (eval $ac_link) 2>&5
6081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6082 (exit $ac_status); } &&
6083 { ac_try='test -s conftest$ac_exeext'
6084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088 (exit $ac_status); }; }; then
6089 ac_cv_lib_X11_XkbQueryExtension=yes
6091 echo "$as_me: failed program was:" >&5
6092 cat conftest.$ac_ext >&5
6093 ac_cv_lib_X11_XkbQueryExtension=no
6095 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6096 LIBS=$ac_check_lib_save_LIBS
6098 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
6099 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
6100 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
6102 cat >>confdefs.h <<\_ACEOF
6110 { echo "$as_me:$LINENO: WARNING: Xkb extension not found, Wine will be built without it" >&5
6111 echo "$as_me: WARNING: Xkb extension not found, Wine will be built without it" >&2;}
6118 for ac_header in X11/extensions/XShm.h
6120 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6121 echo "$as_me:$LINENO: checking for $ac_header" >&5
6122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6124 echo $ECHO_N "(cached) $ECHO_C" >&6
6126 cat >conftest.$ac_ext <<_ACEOF
6127 #line $LINENO "configure"
6128 #include "confdefs.h"
6129 #include <X11/Xlib.h>
6131 #include <$ac_header>
6133 rm -f conftest.$ac_objext
6134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6135 (eval $ac_compile) 2>&5
6137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6138 (exit $ac_status); } &&
6139 { ac_try='test -s conftest.$ac_objext'
6140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144 (exit $ac_status); }; }; then
6145 eval "$as_ac_Header=yes"
6147 echo "$as_me: failed program was:" >&5
6148 cat conftest.$ac_ext >&5
6149 eval "$as_ac_Header=no"
6151 rm -f conftest.$ac_objext conftest.$ac_ext
6153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6154 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6156 cat >>confdefs.h <<_ACEOF
6157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6159 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
6160 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
6161 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
6162 echo $ECHO_N "(cached) $ECHO_C" >&6
6164 ac_check_lib_save_LIBS=$LIBS
6165 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6166 cat >conftest.$ac_ext <<_ACEOF
6167 #line $LINENO "configure"
6168 #include "confdefs.h"
6170 /* Override any gcc2 internal prototype to avoid an error. */
6174 /* We use char because int might match the return type of a gcc2
6175 builtin and then its argument prototype would still apply. */
6176 char XShmQueryExtension ();
6180 XShmQueryExtension ();
6185 rm -f conftest.$ac_objext conftest$ac_exeext
6186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6187 (eval $ac_link) 2>&5
6189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6190 (exit $ac_status); } &&
6191 { ac_try='test -s conftest$ac_exeext'
6192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6196 (exit $ac_status); }; }; then
6197 ac_cv_lib_Xext_XShmQueryExtension=yes
6199 echo "$as_me: failed program was:" >&5
6200 cat conftest.$ac_ext >&5
6201 ac_cv_lib_Xext_XShmQueryExtension=no
6203 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6204 LIBS=$ac_check_lib_save_LIBS
6206 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
6207 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
6208 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
6210 cat >>confdefs.h <<\_ACEOF
6211 #define HAVE_LIBXXSHM 1
6218 { echo "$as_me:$LINENO: WARNING: XShm extension not found, Wine will be built without it" >&5
6219 echo "$as_me: WARNING: XShm extension not found, Wine will be built without it" >&2;}
6226 for ac_header in X11/Xutil.h
6228 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6229 echo "$as_me:$LINENO: checking for $ac_header" >&5
6230 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6232 echo $ECHO_N "(cached) $ECHO_C" >&6
6234 cat >conftest.$ac_ext <<_ACEOF
6235 #line $LINENO "configure"
6236 #include "confdefs.h"
6237 #include <X11/Xlib.h>
6239 #include <$ac_header>
6241 rm -f conftest.$ac_objext
6242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6243 (eval $ac_compile) 2>&5
6245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6246 (exit $ac_status); } &&
6247 { ac_try='test -s conftest.$ac_objext'
6248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6252 (exit $ac_status); }; }; then
6253 eval "$as_ac_Header=yes"
6255 echo "$as_me: failed program was:" >&5
6256 cat conftest.$ac_ext >&5
6257 eval "$as_ac_Header=no"
6259 rm -f conftest.$ac_objext conftest.$ac_ext
6261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6262 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6264 cat >>confdefs.h <<_ACEOF
6265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6274 for ac_header in X11/extensions/shape.h
6276 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6277 echo "$as_me:$LINENO: checking for $ac_header" >&5
6278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6280 echo $ECHO_N "(cached) $ECHO_C" >&6
6282 cat >conftest.$ac_ext <<_ACEOF
6283 #line $LINENO "configure"
6284 #include "confdefs.h"
6285 #include <X11/Xlib.h>
6286 #ifdef HAVE_X11_XUTIL_H
6287 # include <X11/Xutil.h>
6290 #include <$ac_header>
6292 rm -f conftest.$ac_objext
6293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6294 (eval $ac_compile) 2>&5
6296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6297 (exit $ac_status); } &&
6298 { ac_try='test -s conftest.$ac_objext'
6299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6303 (exit $ac_status); }; }; then
6304 eval "$as_ac_Header=yes"
6306 echo "$as_me: failed program was:" >&5
6307 cat conftest.$ac_ext >&5
6308 eval "$as_ac_Header=no"
6310 rm -f conftest.$ac_objext conftest.$ac_ext
6312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6315 cat >>confdefs.h <<_ACEOF
6316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6318 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
6319 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6320 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6321 echo $ECHO_N "(cached) $ECHO_C" >&6
6323 ac_check_lib_save_LIBS=$LIBS
6324 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6325 cat >conftest.$ac_ext <<_ACEOF
6326 #line $LINENO "configure"
6327 #include "confdefs.h"
6329 /* Override any gcc2 internal prototype to avoid an error. */
6333 /* We use char because int might match the return type of a gcc2
6334 builtin and then its argument prototype would still apply. */
6335 char XShapeQueryExtension ();
6339 XShapeQueryExtension ();
6344 rm -f conftest.$ac_objext conftest$ac_exeext
6345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6346 (eval $ac_link) 2>&5
6348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6349 (exit $ac_status); } &&
6350 { ac_try='test -s conftest$ac_exeext'
6351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355 (exit $ac_status); }; }; then
6356 ac_cv_lib_Xext_XShapeQueryExtension=yes
6358 echo "$as_me: failed program was:" >&5
6359 cat conftest.$ac_ext >&5
6360 ac_cv_lib_Xext_XShapeQueryExtension=no
6362 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6363 LIBS=$ac_check_lib_save_LIBS
6365 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6366 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6367 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6369 cat >>confdefs.h <<\_ACEOF
6370 #define HAVE_LIBXSHAPE 1
6377 { echo "$as_me:$LINENO: WARNING: XShape extension not found, Wine will be built without it" >&5
6378 echo "$as_me: WARNING: XShape extension not found, Wine will be built without it" >&2;}
6385 for ac_header in X11/extensions/xf86dga.h
6387 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6388 echo "$as_me:$LINENO: checking for $ac_header" >&5
6389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6391 echo $ECHO_N "(cached) $ECHO_C" >&6
6393 cat >conftest.$ac_ext <<_ACEOF
6394 #line $LINENO "configure"
6395 #include "confdefs.h"
6396 #include <X11/Xlib.h>
6398 #include <$ac_header>
6400 rm -f conftest.$ac_objext
6401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6402 (eval $ac_compile) 2>&5
6404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405 (exit $ac_status); } &&
6406 { ac_try='test -s conftest.$ac_objext'
6407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6411 (exit $ac_status); }; }; then
6412 eval "$as_ac_Header=yes"
6414 echo "$as_me: failed program was:" >&5
6415 cat conftest.$ac_ext >&5
6416 eval "$as_ac_Header=no"
6418 rm -f conftest.$ac_objext conftest.$ac_ext
6420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6422 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6423 cat >>confdefs.h <<_ACEOF
6424 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6426 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
6427 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
6428 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
6429 echo $ECHO_N "(cached) $ECHO_C" >&6
6431 ac_check_lib_save_LIBS=$LIBS
6432 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6434 cat >conftest.$ac_ext <<_ACEOF
6435 #line $LINENO "configure"
6436 #include "confdefs.h"
6438 /* Override any gcc2 internal prototype to avoid an error. */
6442 /* We use char because int might match the return type of a gcc2
6443 builtin and then its argument prototype would still apply. */
6444 char XDGAQueryExtension ();
6448 XDGAQueryExtension ();
6453 rm -f conftest.$ac_objext conftest$ac_exeext
6454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6455 (eval $ac_link) 2>&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); } &&
6459 { ac_try='test -s conftest$ac_exeext'
6460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6464 (exit $ac_status); }; }; then
6465 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
6467 echo "$as_me: failed program was:" >&5
6468 cat conftest.$ac_ext >&5
6469 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
6471 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6472 LIBS=$ac_check_lib_save_LIBS
6474 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
6475 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
6476 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
6478 cat >>confdefs.h <<\_ACEOF
6479 #define HAVE_LIBXXF86DGA2 1
6482 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
6485 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
6486 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
6487 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
6488 echo $ECHO_N "(cached) $ECHO_C" >&6
6490 ac_check_lib_save_LIBS=$LIBS
6491 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6493 cat >conftest.$ac_ext <<_ACEOF
6494 #line $LINENO "configure"
6495 #include "confdefs.h"
6497 /* Override any gcc2 internal prototype to avoid an error. */
6501 /* We use char because int might match the return type of a gcc2
6502 builtin and then its argument prototype would still apply. */
6503 char XF86DGAQueryExtension ();
6507 XF86DGAQueryExtension ();
6512 rm -f conftest.$ac_objext conftest$ac_exeext
6513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6514 (eval $ac_link) 2>&5
6516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6517 (exit $ac_status); } &&
6518 { ac_try='test -s conftest$ac_exeext'
6519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6523 (exit $ac_status); }; }; then
6524 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=yes
6526 echo "$as_me: failed program was:" >&5
6527 cat conftest.$ac_ext >&5
6528 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no
6530 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6531 LIBS=$ac_check_lib_save_LIBS
6533 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
6534 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
6535 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
6537 cat >>confdefs.h <<\_ACEOF
6538 #define HAVE_LIBXXF86DGA 1
6541 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
6550 { echo "$as_me:$LINENO: WARNING: DGA extension not found, Wine will be built without it" >&5
6551 echo "$as_me: WARNING: DGA extension not found, Wine will be built without it" >&2;}
6558 for ac_header in X11/extensions/xf86vmode.h
6560 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6561 echo "$as_me:$LINENO: checking for $ac_header" >&5
6562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6564 echo $ECHO_N "(cached) $ECHO_C" >&6
6566 cat >conftest.$ac_ext <<_ACEOF
6567 #line $LINENO "configure"
6568 #include "confdefs.h"
6569 #include <X11/Xlib.h>
6571 #include <$ac_header>
6573 rm -f conftest.$ac_objext
6574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6575 (eval $ac_compile) 2>&5
6577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6578 (exit $ac_status); } &&
6579 { ac_try='test -s conftest.$ac_objext'
6580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6584 (exit $ac_status); }; }; then
6585 eval "$as_ac_Header=yes"
6587 echo "$as_me: failed program was:" >&5
6588 cat conftest.$ac_ext >&5
6589 eval "$as_ac_Header=no"
6591 rm -f conftest.$ac_objext conftest.$ac_ext
6593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6594 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6596 cat >>confdefs.h <<_ACEOF
6597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6599 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
6600 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
6601 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
6602 echo $ECHO_N "(cached) $ECHO_C" >&6
6604 ac_check_lib_save_LIBS=$LIBS
6605 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6607 cat >conftest.$ac_ext <<_ACEOF
6608 #line $LINENO "configure"
6609 #include "confdefs.h"
6611 /* Override any gcc2 internal prototype to avoid an error. */
6615 /* We use char because int might match the return type of a gcc2
6616 builtin and then its argument prototype would still apply. */
6617 char XF86VidModeQueryExtension ();
6621 XF86VidModeQueryExtension ();
6626 rm -f conftest.$ac_objext conftest$ac_exeext
6627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6628 (eval $ac_link) 2>&5
6630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); } &&
6632 { ac_try='test -s conftest$ac_exeext'
6633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637 (exit $ac_status); }; }; then
6638 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
6640 echo "$as_me: failed program was:" >&5
6641 cat conftest.$ac_ext >&5
6642 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
6644 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6645 LIBS=$ac_check_lib_save_LIBS
6647 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
6648 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
6649 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
6651 cat >>confdefs.h <<\_ACEOF
6652 #define HAVE_LIBXXF86VM 1
6655 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
6661 { echo "$as_me:$LINENO: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&5
6662 echo "$as_me: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&2;}
6669 for ac_header in X11/extensions/Xvlib.h
6671 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6672 echo "$as_me:$LINENO: checking for $ac_header" >&5
6673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6675 echo $ECHO_N "(cached) $ECHO_C" >&6
6677 cat >conftest.$ac_ext <<_ACEOF
6678 #line $LINENO "configure"
6679 #include "confdefs.h"
6680 #include <X11/Xlib.h>
6682 #include <$ac_header>
6684 rm -f conftest.$ac_objext
6685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6686 (eval $ac_compile) 2>&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); } &&
6690 { ac_try='test -s conftest.$ac_objext'
6691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695 (exit $ac_status); }; }; then
6696 eval "$as_ac_Header=yes"
6698 echo "$as_me: failed program was:" >&5
6699 cat conftest.$ac_ext >&5
6700 eval "$as_ac_Header=no"
6702 rm -f conftest.$ac_objext conftest.$ac_ext
6704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6707 cat >>confdefs.h <<_ACEOF
6708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6710 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
6711 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
6712 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
6713 echo $ECHO_N "(cached) $ECHO_C" >&6
6715 ac_check_lib_save_LIBS=$LIBS
6716 LIBS="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6718 cat >conftest.$ac_ext <<_ACEOF
6719 #line $LINENO "configure"
6720 #include "confdefs.h"
6722 /* Override any gcc2 internal prototype to avoid an error. */
6726 /* We use char because int might match the return type of a gcc2
6727 builtin and then its argument prototype would still apply. */
6728 char XvShmCreateImage ();
6732 XvShmCreateImage ();
6737 rm -f conftest.$ac_objext conftest$ac_exeext
6738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6739 (eval $ac_link) 2>&5
6741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6742 (exit $ac_status); } &&
6743 { ac_try='test -s conftest$ac_exeext'
6744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748 (exit $ac_status); }; }; then
6749 ac_cv_lib_Xv_XvShmCreateImage=yes
6751 echo "$as_me: failed program was:" >&5
6752 cat conftest.$ac_ext >&5
6753 ac_cv_lib_Xv_XvShmCreateImage=no
6755 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6756 LIBS=$ac_check_lib_save_LIBS
6758 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
6759 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
6760 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
6762 cat >>confdefs.h <<\_ACEOF
6763 #define HAVE_XVIDEO 1
6766 X_PRE_LIBS="$X_PRE_LIBS -lXv"
6772 { echo "$as_me:$LINENO: WARNING: XVideo extension not found, Wine will be built without it" >&5
6773 echo "$as_me: WARNING: XVideo extension not found, Wine will be built without it" >&2;}
6780 for ac_header in X11/extensions/Xrender.h
6782 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6783 echo "$as_me:$LINENO: checking for $ac_header" >&5
6784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6786 echo $ECHO_N "(cached) $ECHO_C" >&6
6788 cat >conftest.$ac_ext <<_ACEOF
6789 #line $LINENO "configure"
6790 #include "confdefs.h"
6791 #include <X11/Xlib.h>
6793 #include <$ac_header>
6795 rm -f conftest.$ac_objext
6796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6797 (eval $ac_compile) 2>&5
6799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6800 (exit $ac_status); } &&
6801 { ac_try='test -s conftest.$ac_objext'
6802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6806 (exit $ac_status); }; }; then
6807 eval "$as_ac_Header=yes"
6809 echo "$as_me: failed program was:" >&5
6810 cat conftest.$ac_ext >&5
6811 eval "$as_ac_Header=no"
6813 rm -f conftest.$ac_objext conftest.$ac_ext
6815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6816 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6817 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6818 cat >>confdefs.h <<_ACEOF
6819 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6832 if test "x$with_opengl" != "xno"
6834 if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
6836 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
6837 This prevents linking to OpenGL. Delete the file and restart configure." >&5
6838 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
6839 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
6840 { (exit 1); exit 1; }; }
6845 for ac_header in GL/gl.h GL/glx.h
6847 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6849 echo "$as_me:$LINENO: checking for $ac_header" >&5
6850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6852 echo $ECHO_N "(cached) $ECHO_C" >&6
6854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6857 # Is the header compilable?
6858 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6859 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6860 cat >conftest.$ac_ext <<_ACEOF
6861 #line $LINENO "configure"
6862 #include "confdefs.h"
6863 $ac_includes_default
6864 #include <$ac_header>
6866 rm -f conftest.$ac_objext
6867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6868 (eval $ac_compile) 2>&5
6870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6871 (exit $ac_status); } &&
6872 { ac_try='test -s conftest.$ac_objext'
6873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6877 (exit $ac_status); }; }; then
6878 ac_header_compiler=yes
6880 echo "$as_me: failed program was:" >&5
6881 cat conftest.$ac_ext >&5
6882 ac_header_compiler=no
6884 rm -f conftest.$ac_objext conftest.$ac_ext
6885 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6886 echo "${ECHO_T}$ac_header_compiler" >&6
6888 # Is the header present?
6889 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6890 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6891 cat >conftest.$ac_ext <<_ACEOF
6892 #line $LINENO "configure"
6893 #include "confdefs.h"
6894 #include <$ac_header>
6896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6897 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6899 grep -v '^ *+' conftest.er1 >conftest.err
6901 cat conftest.err >&5
6902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6903 (exit $ac_status); } >/dev/null; then
6904 if test -s conftest.err; then
6905 ac_cpp_err=$ac_c_preproc_warn_flag
6912 if test -z "$ac_cpp_err"; then
6913 ac_header_preproc=yes
6915 echo "$as_me: failed program was:" >&5
6916 cat conftest.$ac_ext >&5
6917 ac_header_preproc=no
6919 rm -f conftest.err conftest.$ac_ext
6920 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6921 echo "${ECHO_T}$ac_header_preproc" >&6
6923 # So? What about this header?
6924 case $ac_header_compiler:$ac_header_preproc in
6926 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6927 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6931 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6932 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6933 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6934 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6936 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6938 echo "$as_me:$LINENO: checking for $ac_header" >&5
6939 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6941 echo $ECHO_N "(cached) $ECHO_C" >&6
6943 eval "$as_ac_Header=$ac_header_preproc"
6945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6949 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6950 cat >>confdefs.h <<_ACEOF
6951 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6958 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
6961 for ac_header in GL/glext.h
6963 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6964 echo "$as_me:$LINENO: checking for $ac_header" >&5
6965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6967 echo $ECHO_N "(cached) $ECHO_C" >&6
6969 cat >conftest.$ac_ext <<_ACEOF
6970 #line $LINENO "configure"
6971 #include "confdefs.h"
6974 #include <$ac_header>
6976 rm -f conftest.$ac_objext
6977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6978 (eval $ac_compile) 2>&5
6980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981 (exit $ac_status); } &&
6982 { ac_try='test -s conftest.$ac_objext'
6983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6987 (exit $ac_status); }; }; then
6988 eval "$as_ac_Header=yes"
6990 echo "$as_me: failed program was:" >&5
6991 cat conftest.$ac_ext >&5
6992 eval "$as_ac_Header=no"
6994 rm -f conftest.$ac_objext conftest.$ac_ext
6996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6997 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6998 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6999 cat >>confdefs.h <<_ACEOF
7000 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7007 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
7008 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
7009 if test "${wine_cv_opengl_version_OK+set}" = set; then
7010 echo $ECHO_N "(cached) $ECHO_C" >&6
7012 cat >conftest.$ac_ext <<_ACEOF
7013 #line $LINENO "configure"
7014 #include "confdefs.h"
7019 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
7024 rm -f conftest.$ac_objext
7025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7026 (eval $ac_compile) 2>&5
7028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7029 (exit $ac_status); } &&
7030 { ac_try='test -s conftest.$ac_objext'
7031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7035 (exit $ac_status); }; }; then
7036 wine_cv_opengl_version_OK="yes"
7038 echo "$as_me: failed program was:" >&5
7039 cat conftest.$ac_ext >&5
7040 wine_cv_opengl_version_OK="no"
7043 rm -f conftest.$ac_objext conftest.$ac_ext
7046 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
7047 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
7049 if test "$wine_cv_opengl_version_OK" = "yes"
7051 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
7052 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
7053 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
7054 echo $ECHO_N "(cached) $ECHO_C" >&6
7056 ac_check_lib_save_LIBS=$LIBS
7057 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7058 cat >conftest.$ac_ext <<_ACEOF
7059 #line $LINENO "configure"
7060 #include "confdefs.h"
7062 /* Override any gcc2 internal prototype to avoid an error. */
7066 /* We use char because int might match the return type of a gcc2
7067 builtin and then its argument prototype would still apply. */
7068 char glXCreateContext ();
7072 glXCreateContext ();
7077 rm -f conftest.$ac_objext conftest$ac_exeext
7078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7079 (eval $ac_link) 2>&5
7081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7082 (exit $ac_status); } &&
7083 { ac_try='test -s conftest$ac_exeext'
7084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7088 (exit $ac_status); }; }; then
7089 ac_cv_lib_GL_glXCreateContext=yes
7091 echo "$as_me: failed program was:" >&5
7092 cat conftest.$ac_ext >&5
7093 ac_cv_lib_GL_glXCreateContext=no
7095 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7096 LIBS=$ac_check_lib_save_LIBS
7098 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
7099 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
7100 if test $ac_cv_lib_GL_glXCreateContext = yes; then
7106 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
7108 OPENGLFILES='$(OPENGLFILES)'
7110 cat >>confdefs.h <<\_ACEOF
7111 #define HAVE_OPENGL 1
7115 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
7116 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
7117 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
7118 echo $ECHO_N "(cached) $ECHO_C" >&6
7120 ac_check_lib_save_LIBS=$LIBS
7121 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7122 cat >conftest.$ac_ext <<_ACEOF
7123 #line $LINENO "configure"
7124 #include "confdefs.h"
7126 /* Override any gcc2 internal prototype to avoid an error. */
7130 /* We use char because int might match the return type of a gcc2
7131 builtin and then its argument prototype would still apply. */
7132 char glXGetProcAddressARB ();
7136 glXGetProcAddressARB ();
7141 rm -f conftest.$ac_objext conftest$ac_exeext
7142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7143 (eval $ac_link) 2>&5
7145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146 (exit $ac_status); } &&
7147 { ac_try='test -s conftest$ac_exeext'
7148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7152 (exit $ac_status); }; }; then
7153 ac_cv_lib_GL_glXGetProcAddressARB=yes
7155 echo "$as_me: failed program was:" >&5
7156 cat conftest.$ac_ext >&5
7157 ac_cv_lib_GL_glXGetProcAddressARB=no
7159 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7160 LIBS=$ac_check_lib_save_LIBS
7162 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
7163 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
7164 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
7166 cat >>confdefs.h <<\_ACEOF
7167 #define HAVE_GLX_GETPROCADDRESS 1
7173 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
7175 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
7176 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
7177 if test "${wine_cv_extension_prototypes+set}" = set; then
7178 echo $ECHO_N "(cached) $ECHO_C" >&6
7180 cat >conftest.$ac_ext <<_ACEOF
7181 #line $LINENO "configure"
7182 #include "confdefs.h"
7184 #ifdef HAVE_GL_GLEXT_H
7185 # include <GL/glext.h>
7191 PFNGLCOLORTABLEEXTPROC test_proc;
7196 rm -f conftest.$ac_objext
7197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7198 (eval $ac_compile) 2>&5
7200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201 (exit $ac_status); } &&
7202 { ac_try='test -s conftest.$ac_objext'
7203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7207 (exit $ac_status); }; }; then
7208 wine_cv_extension_prototypes="yes"
7210 echo "$as_me: failed program was:" >&5
7211 cat conftest.$ac_ext >&5
7212 wine_cv_extension_prototypes="no"
7215 rm -f conftest.$ac_objext conftest.$ac_ext
7218 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
7219 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
7220 if test "$wine_cv_extension_prototypes" = "yes"
7223 cat >>confdefs.h <<\_ACEOF
7224 #define HAVE_GLEXT_PROTOTYPES 1
7231 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
7232 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
7233 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
7234 echo $ECHO_N "(cached) $ECHO_C" >&6
7236 ac_check_lib_save_LIBS=$LIBS
7237 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
7239 cat >conftest.$ac_ext <<_ACEOF
7240 #line $LINENO "configure"
7241 #include "confdefs.h"
7243 /* Override any gcc2 internal prototype to avoid an error. */
7247 /* We use char because int might match the return type of a gcc2
7248 builtin and then its argument prototype would still apply. */
7258 rm -f conftest.$ac_objext conftest$ac_exeext
7259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7260 (eval $ac_link) 2>&5
7262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7263 (exit $ac_status); } &&
7264 { ac_try='test -s conftest$ac_exeext'
7265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7269 (exit $ac_status); }; }; then
7270 ac_cv_lib_GLU_gluLookAt=yes
7272 echo "$as_me: failed program was:" >&5
7273 cat conftest.$ac_ext >&5
7274 ac_cv_lib_GLU_gluLookAt=no
7276 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7277 LIBS=$ac_check_lib_save_LIBS
7279 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
7280 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
7281 if test $ac_cv_lib_GLU_gluLookAt = yes; then
7282 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
7283 GLU32FILES='$(GLU32FILES)'
7294 for ac_header in audio/audiolib.h
7296 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7298 echo "$as_me:$LINENO: checking for $ac_header" >&5
7299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7301 echo $ECHO_N "(cached) $ECHO_C" >&6
7303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7304 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7306 # Is the header compilable?
7307 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7308 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7309 cat >conftest.$ac_ext <<_ACEOF
7310 #line $LINENO "configure"
7311 #include "confdefs.h"
7312 $ac_includes_default
7313 #include <$ac_header>
7315 rm -f conftest.$ac_objext
7316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7317 (eval $ac_compile) 2>&5
7319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 (exit $ac_status); } &&
7321 { ac_try='test -s conftest.$ac_objext'
7322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326 (exit $ac_status); }; }; then
7327 ac_header_compiler=yes
7329 echo "$as_me: failed program was:" >&5
7330 cat conftest.$ac_ext >&5
7331 ac_header_compiler=no
7333 rm -f conftest.$ac_objext conftest.$ac_ext
7334 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7335 echo "${ECHO_T}$ac_header_compiler" >&6
7337 # Is the header present?
7338 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7339 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7340 cat >conftest.$ac_ext <<_ACEOF
7341 #line $LINENO "configure"
7342 #include "confdefs.h"
7343 #include <$ac_header>
7345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7346 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7348 grep -v '^ *+' conftest.er1 >conftest.err
7350 cat conftest.err >&5
7351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7352 (exit $ac_status); } >/dev/null; then
7353 if test -s conftest.err; then
7354 ac_cpp_err=$ac_c_preproc_warn_flag
7361 if test -z "$ac_cpp_err"; then
7362 ac_header_preproc=yes
7364 echo "$as_me: failed program was:" >&5
7365 cat conftest.$ac_ext >&5
7366 ac_header_preproc=no
7368 rm -f conftest.err conftest.$ac_ext
7369 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7370 echo "${ECHO_T}$ac_header_preproc" >&6
7372 # So? What about this header?
7373 case $ac_header_compiler:$ac_header_preproc in
7375 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7376 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7377 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7378 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7380 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7381 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7382 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7383 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7384 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7385 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7387 echo "$as_me:$LINENO: checking for $ac_header" >&5
7388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7390 echo $ECHO_N "(cached) $ECHO_C" >&6
7392 eval "$as_ac_Header=$ac_header_preproc"
7394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7399 cat >>confdefs.h <<_ACEOF
7400 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7403 for ac_header in audio/soundlib.h
7405 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7406 echo "$as_me:$LINENO: checking for $ac_header" >&5
7407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7409 echo $ECHO_N "(cached) $ECHO_C" >&6
7411 cat >conftest.$ac_ext <<_ACEOF
7412 #line $LINENO "configure"
7413 #include "confdefs.h"
7414 #include <audio/audiolib.h>
7416 #include <$ac_header>
7418 rm -f conftest.$ac_objext
7419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7420 (eval $ac_compile) 2>&5
7422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7423 (exit $ac_status); } &&
7424 { ac_try='test -s conftest.$ac_objext'
7425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7429 (exit $ac_status); }; }; then
7430 eval "$as_ac_Header=yes"
7432 echo "$as_me: failed program was:" >&5
7433 cat conftest.$ac_ext >&5
7434 eval "$as_ac_Header=no"
7436 rm -f conftest.$ac_objext conftest.$ac_ext
7438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7439 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7440 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7441 cat >>confdefs.h <<_ACEOF
7442 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7449 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
7450 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
7451 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
7452 echo $ECHO_N "(cached) $ECHO_C" >&6
7454 ac_check_lib_save_LIBS=$LIBS
7455 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7456 cat >conftest.$ac_ext <<_ACEOF
7457 #line $LINENO "configure"
7458 #include "confdefs.h"
7460 /* Override any gcc2 internal prototype to avoid an error. */
7464 /* We use char because int might match the return type of a gcc2
7465 builtin and then its argument prototype would still apply. */
7466 char AuCreateFlow ();
7475 rm -f conftest.$ac_objext conftest$ac_exeext
7476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7477 (eval $ac_link) 2>&5
7479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 (exit $ac_status); } &&
7481 { ac_try='test -s conftest$ac_exeext'
7482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486 (exit $ac_status); }; }; then
7487 ac_cv_lib_audio_AuCreateFlow=yes
7489 echo "$as_me: failed program was:" >&5
7490 cat conftest.$ac_ext >&5
7491 ac_cv_lib_audio_AuCreateFlow=no
7493 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7494 LIBS=$ac_check_lib_save_LIBS
7496 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
7497 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
7498 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
7500 cat >>confdefs.h <<\_ACEOF
7504 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
7512 CPPFLAGS="$ac_save_CPPFLAGS"
7521 if test "x$with_curses" != "xno"
7524 for ac_header in ncurses.h
7526 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7528 echo "$as_me:$LINENO: checking for $ac_header" >&5
7529 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7531 echo $ECHO_N "(cached) $ECHO_C" >&6
7533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7536 # Is the header compilable?
7537 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7538 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7539 cat >conftest.$ac_ext <<_ACEOF
7540 #line $LINENO "configure"
7541 #include "confdefs.h"
7542 $ac_includes_default
7543 #include <$ac_header>
7545 rm -f conftest.$ac_objext
7546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7547 (eval $ac_compile) 2>&5
7549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7550 (exit $ac_status); } &&
7551 { ac_try='test -s conftest.$ac_objext'
7552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7556 (exit $ac_status); }; }; then
7557 ac_header_compiler=yes
7559 echo "$as_me: failed program was:" >&5
7560 cat conftest.$ac_ext >&5
7561 ac_header_compiler=no
7563 rm -f conftest.$ac_objext conftest.$ac_ext
7564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7565 echo "${ECHO_T}$ac_header_compiler" >&6
7567 # Is the header present?
7568 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7569 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7570 cat >conftest.$ac_ext <<_ACEOF
7571 #line $LINENO "configure"
7572 #include "confdefs.h"
7573 #include <$ac_header>
7575 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7576 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7578 grep -v '^ *+' conftest.er1 >conftest.err
7580 cat conftest.err >&5
7581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7582 (exit $ac_status); } >/dev/null; then
7583 if test -s conftest.err; then
7584 ac_cpp_err=$ac_c_preproc_warn_flag
7591 if test -z "$ac_cpp_err"; then
7592 ac_header_preproc=yes
7594 echo "$as_me: failed program was:" >&5
7595 cat conftest.$ac_ext >&5
7596 ac_header_preproc=no
7598 rm -f conftest.err conftest.$ac_ext
7599 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7600 echo "${ECHO_T}$ac_header_preproc" >&6
7602 # So? What about this header?
7603 case $ac_header_compiler:$ac_header_preproc in
7605 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7606 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7608 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7610 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7611 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7612 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7613 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7615 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7617 echo "$as_me:$LINENO: checking for $ac_header" >&5
7618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7620 echo $ECHO_N "(cached) $ECHO_C" >&6
7622 eval "$as_ac_Header=$ac_header_preproc"
7624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7629 cat >>confdefs.h <<_ACEOF
7630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7632 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
7633 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
7634 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
7635 echo $ECHO_N "(cached) $ECHO_C" >&6
7637 ac_check_lib_save_LIBS=$LIBS
7638 LIBS="-lncurses $LIBS"
7639 cat >conftest.$ac_ext <<_ACEOF
7640 #line $LINENO "configure"
7641 #include "confdefs.h"
7643 /* Override any gcc2 internal prototype to avoid an error. */
7647 /* We use char because int might match the return type of a gcc2
7648 builtin and then its argument prototype would still apply. */
7658 rm -f conftest.$ac_objext conftest$ac_exeext
7659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7660 (eval $ac_link) 2>&5
7662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663 (exit $ac_status); } &&
7664 { ac_try='test -s conftest$ac_exeext'
7665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669 (exit $ac_status); }; }; then
7670 ac_cv_lib_ncurses_waddch=yes
7672 echo "$as_me: failed program was:" >&5
7673 cat conftest.$ac_ext >&5
7674 ac_cv_lib_ncurses_waddch=no
7676 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7677 LIBS=$ac_check_lib_save_LIBS
7679 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
7680 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
7681 if test $ac_cv_lib_ncurses_waddch = yes; then
7683 cat >>confdefs.h <<\_ACEOF
7684 #define HAVE_LIBNCURSES 1
7687 CURSESLIBS="-lncurses"
7690 for ac_header in curses.h
7692 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7694 echo "$as_me:$LINENO: checking for $ac_header" >&5
7695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7697 echo $ECHO_N "(cached) $ECHO_C" >&6
7699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7702 # Is the header compilable?
7703 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7704 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7705 cat >conftest.$ac_ext <<_ACEOF
7706 #line $LINENO "configure"
7707 #include "confdefs.h"
7708 $ac_includes_default
7709 #include <$ac_header>
7711 rm -f conftest.$ac_objext
7712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7713 (eval $ac_compile) 2>&5
7715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7716 (exit $ac_status); } &&
7717 { ac_try='test -s conftest.$ac_objext'
7718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7722 (exit $ac_status); }; }; then
7723 ac_header_compiler=yes
7725 echo "$as_me: failed program was:" >&5
7726 cat conftest.$ac_ext >&5
7727 ac_header_compiler=no
7729 rm -f conftest.$ac_objext conftest.$ac_ext
7730 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7731 echo "${ECHO_T}$ac_header_compiler" >&6
7733 # Is the header present?
7734 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7735 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7736 cat >conftest.$ac_ext <<_ACEOF
7737 #line $LINENO "configure"
7738 #include "confdefs.h"
7739 #include <$ac_header>
7741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7742 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7744 grep -v '^ *+' conftest.er1 >conftest.err
7746 cat conftest.err >&5
7747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7748 (exit $ac_status); } >/dev/null; then
7749 if test -s conftest.err; then
7750 ac_cpp_err=$ac_c_preproc_warn_flag
7757 if test -z "$ac_cpp_err"; then
7758 ac_header_preproc=yes
7760 echo "$as_me: failed program was:" >&5
7761 cat conftest.$ac_ext >&5
7762 ac_header_preproc=no
7764 rm -f conftest.err conftest.$ac_ext
7765 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7766 echo "${ECHO_T}$ac_header_preproc" >&6
7768 # So? What about this header?
7769 case $ac_header_compiler:$ac_header_preproc in
7771 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7772 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7773 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7774 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7776 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7777 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7778 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7779 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7781 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7783 echo "$as_me:$LINENO: checking for $ac_header" >&5
7784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7786 echo $ECHO_N "(cached) $ECHO_C" >&6
7788 eval "$as_ac_Header=$ac_header_preproc"
7790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7794 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7795 cat >>confdefs.h <<_ACEOF
7796 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7798 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
7799 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
7800 if test "${ac_cv_lib_curses_waddch+set}" = set; then
7801 echo $ECHO_N "(cached) $ECHO_C" >&6
7803 ac_check_lib_save_LIBS=$LIBS
7804 LIBS="-lcurses $LIBS"
7805 cat >conftest.$ac_ext <<_ACEOF
7806 #line $LINENO "configure"
7807 #include "confdefs.h"
7809 /* Override any gcc2 internal prototype to avoid an error. */
7813 /* We use char because int might match the return type of a gcc2
7814 builtin and then its argument prototype would still apply. */
7824 rm -f conftest.$ac_objext conftest$ac_exeext
7825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7826 (eval $ac_link) 2>&5
7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); } &&
7830 { ac_try='test -s conftest$ac_exeext'
7831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7835 (exit $ac_status); }; }; then
7836 ac_cv_lib_curses_waddch=yes
7838 echo "$as_me: failed program was:" >&5
7839 cat conftest.$ac_ext >&5
7840 ac_cv_lib_curses_waddch=no
7842 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7843 LIBS=$ac_check_lib_save_LIBS
7845 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
7846 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
7847 if test $ac_cv_lib_curses_waddch = yes; then
7849 cat >>confdefs.h <<\_ACEOF
7850 #define HAVE_LIBCURSES 1
7853 CURSESLIBS="-lcurses"
7867 LIBS="$CURSESLIBS $LIBS"
7870 for ac_func in getbkgd resizeterm
7872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7873 echo "$as_me:$LINENO: checking for $ac_func" >&5
7874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7875 if eval "test \"\${$as_ac_var+set}\" = set"; then
7876 echo $ECHO_N "(cached) $ECHO_C" >&6
7878 cat >conftest.$ac_ext <<_ACEOF
7879 #line $LINENO "configure"
7880 #include "confdefs.h"
7881 /* System header to define __stub macros and hopefully few prototypes,
7882 which can conflict with char $ac_func (); below. */
7884 /* Override any gcc2 internal prototype to avoid an error. */
7888 /* We use char because int might match the return type of a gcc2
7889 builtin and then its argument prototype would still apply. */
7896 /* The GNU C library defines this for functions which it implements
7897 to always fail with ENOSYS. Some functions are actually named
7898 something starting with __ and the normal name is an alias. */
7899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7909 rm -f conftest.$ac_objext conftest$ac_exeext
7910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7911 (eval $ac_link) 2>&5
7913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7914 (exit $ac_status); } &&
7915 { ac_try='test -s conftest$ac_exeext'
7916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7920 (exit $ac_status); }; }; then
7921 eval "$as_ac_var=yes"
7923 echo "$as_me: failed program was:" >&5
7924 cat conftest.$ac_ext >&5
7925 eval "$as_ac_var=no"
7927 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7931 if test `eval echo '${'$as_ac_var'}'` = yes; then
7932 cat >>confdefs.h <<_ACEOF
7933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7943 # Extract the first word of "sane-config", so it can be a program name with args.
7944 set dummy sane-config; ac_word=$2
7945 echo "$as_me:$LINENO: checking for $ac_word" >&5
7946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7947 if test "${ac_cv_prog_sane_devel+set}" = set; then
7948 echo $ECHO_N "(cached) $ECHO_C" >&6
7950 if test -n "$sane_devel"; then
7951 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
7953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7957 test -z "$as_dir" && as_dir=.
7958 for ac_exec_ext in '' $ac_executable_extensions; do
7959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7960 ac_cv_prog_sane_devel="sane-config"
7961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7967 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
7970 sane_devel=$ac_cv_prog_sane_devel
7971 if test -n "$sane_devel"; then
7972 echo "$as_me:$LINENO: result: $sane_devel" >&5
7973 echo "${ECHO_T}$sane_devel" >&6
7975 echo "$as_me:$LINENO: result: no" >&5
7976 echo "${ECHO_T}no" >&6
7979 if test "$sane_devel" = "no"
7984 SANELIBS="`$sane_devel --libs`"
7985 SANEINCL="`$sane_devel --cflags`"
7986 ac_save_CPPFLAGS="$CPPFLAGS"
7987 ac_save_LIBS="$LIBS"
7988 CPPFLAGS="$CPPFLAGS $SANEINCL"
7989 LIBS="$LIBS $SANELIBS"
7990 if test "${ac_cv_header_sane_sane_h+set}" = set; then
7991 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
7992 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
7993 if test "${ac_cv_header_sane_sane_h+set}" = set; then
7994 echo $ECHO_N "(cached) $ECHO_C" >&6
7996 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
7997 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
7999 # Is the header compilable?
8000 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
8001 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
8002 cat >conftest.$ac_ext <<_ACEOF
8003 #line $LINENO "configure"
8004 #include "confdefs.h"
8005 $ac_includes_default
8006 #include <sane/sane.h>
8008 rm -f conftest.$ac_objext
8009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8010 (eval $ac_compile) 2>&5
8012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 (exit $ac_status); } &&
8014 { ac_try='test -s conftest.$ac_objext'
8015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8019 (exit $ac_status); }; }; then
8020 ac_header_compiler=yes
8022 echo "$as_me: failed program was:" >&5
8023 cat conftest.$ac_ext >&5
8024 ac_header_compiler=no
8026 rm -f conftest.$ac_objext conftest.$ac_ext
8027 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8028 echo "${ECHO_T}$ac_header_compiler" >&6
8030 # Is the header present?
8031 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
8032 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
8033 cat >conftest.$ac_ext <<_ACEOF
8034 #line $LINENO "configure"
8035 #include "confdefs.h"
8036 #include <sane/sane.h>
8038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8039 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8041 grep -v '^ *+' conftest.er1 >conftest.err
8043 cat conftest.err >&5
8044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8045 (exit $ac_status); } >/dev/null; then
8046 if test -s conftest.err; then
8047 ac_cpp_err=$ac_c_preproc_warn_flag
8054 if test -z "$ac_cpp_err"; then
8055 ac_header_preproc=yes
8057 echo "$as_me: failed program was:" >&5
8058 cat conftest.$ac_ext >&5
8059 ac_header_preproc=no
8061 rm -f conftest.err conftest.$ac_ext
8062 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8063 echo "${ECHO_T}$ac_header_preproc" >&6
8065 # So? What about this header?
8066 case $ac_header_compiler:$ac_header_preproc in
8068 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
8069 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8070 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8071 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;};;
8073 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
8074 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
8075 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
8076 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
8077 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8078 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;};;
8080 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
8081 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
8082 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8083 echo $ECHO_N "(cached) $ECHO_C" >&6
8085 ac_cv_header_sane_sane_h=$ac_header_preproc
8087 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8088 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8091 if test $ac_cv_header_sane_sane_h = yes; then
8092 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
8093 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
8094 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
8095 echo $ECHO_N "(cached) $ECHO_C" >&6
8097 ac_check_lib_save_LIBS=$LIBS
8099 cat >conftest.$ac_ext <<_ACEOF
8100 #line $LINENO "configure"
8101 #include "confdefs.h"
8103 /* Override any gcc2 internal prototype to avoid an error. */
8107 /* We use char because int might match the return type of a gcc2
8108 builtin and then its argument prototype would still apply. */
8118 rm -f conftest.$ac_objext conftest$ac_exeext
8119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8120 (eval $ac_link) 2>&5
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); } &&
8124 { ac_try='test -s conftest$ac_exeext'
8125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8129 (exit $ac_status); }; }; then
8130 ac_cv_lib_sane_sane_open=yes
8132 echo "$as_me: failed program was:" >&5
8133 cat conftest.$ac_ext >&5
8134 ac_cv_lib_sane_sane_open=no
8136 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8137 LIBS=$ac_check_lib_save_LIBS
8139 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
8140 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
8141 if test $ac_cv_lib_sane_sane_open = yes; then
8143 cat >>confdefs.h <<\_ACEOF
8158 LIBS="$ac_save_LIBS"
8159 CPPFLAGS="$ac_save_CPPFLAGS"
8164 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
8165 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
8166 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
8167 echo $ECHO_N "(cached) $ECHO_C" >&6
8169 ac_check_lib_save_LIBS=$LIBS
8170 LIBS="-lfreetype $X_LIBS $LIBS"
8171 cat >conftest.$ac_ext <<_ACEOF
8172 #line $LINENO "configure"
8173 #include "confdefs.h"
8175 /* Override any gcc2 internal prototype to avoid an error. */
8179 /* We use char because int might match the return type of a gcc2
8180 builtin and then its argument prototype would still apply. */
8181 char FT_Init_FreeType ();
8185 FT_Init_FreeType ();
8190 rm -f conftest.$ac_objext conftest$ac_exeext
8191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8192 (eval $ac_link) 2>&5
8194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195 (exit $ac_status); } &&
8196 { ac_try='test -s conftest$ac_exeext'
8197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201 (exit $ac_status); }; }; then
8202 ac_cv_lib_freetype_FT_Init_FreeType=yes
8204 echo "$as_me: failed program was:" >&5
8205 cat conftest.$ac_ext >&5
8206 ac_cv_lib_freetype_FT_Init_FreeType=no
8208 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8209 LIBS=$ac_check_lib_save_LIBS
8211 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
8212 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
8213 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
8219 if test "$ft_lib" = "no"
8222 wine_cv_msg_freetype=no
8224 # Extract the first word of "freetype-config", so it can be a program name with args.
8225 set dummy freetype-config; ac_word=$2
8226 echo "$as_me:$LINENO: checking for $ac_word" >&5
8227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8228 if test "${ac_cv_prog_ft_devel+set}" = set; then
8229 echo $ECHO_N "(cached) $ECHO_C" >&6
8231 if test -n "$ft_devel"; then
8232 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
8234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8238 test -z "$as_dir" && as_dir=.
8239 for ac_exec_ext in '' $ac_executable_extensions; do
8240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8241 ac_cv_prog_ft_devel="freetype-config"
8242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8248 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
8251 ft_devel=$ac_cv_prog_ft_devel
8252 if test -n "$ft_devel"; then
8253 echo "$as_me:$LINENO: result: $ft_devel" >&5
8254 echo "${ECHO_T}$ft_devel" >&6
8256 echo "$as_me:$LINENO: result: no" >&5
8257 echo "${ECHO_T}no" >&6
8260 if test "$ft_devel" = "no"
8262 # Extract the first word of "freetype2-config", so it can be a program name with args.
8263 set dummy freetype2-config; ac_word=$2
8264 echo "$as_me:$LINENO: checking for $ac_word" >&5
8265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8266 if test "${ac_cv_prog_ft_devel2+set}" = set; then
8267 echo $ECHO_N "(cached) $ECHO_C" >&6
8269 if test -n "$ft_devel2"; then
8270 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
8272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8276 test -z "$as_dir" && as_dir=.
8277 for ac_exec_ext in '' $ac_executable_extensions; do
8278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8279 ac_cv_prog_ft_devel2="freetype2-config"
8280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8286 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
8289 ft_devel2=$ac_cv_prog_ft_devel2
8290 if test -n "$ft_devel2"; then
8291 echo "$as_me:$LINENO: result: $ft_devel2" >&5
8292 echo "${ECHO_T}$ft_devel2" >&6
8294 echo "$as_me:$LINENO: result: no" >&5
8295 echo "${ECHO_T}no" >&6
8298 if test "$ft_devel2" = "freetype2-config"
8303 if test "$ft_devel" = "no"
8306 wine_cv_msg_freetype=yes
8308 FREETYPEINCL=`$ft_devel --cflags`
8309 ac_save_CPPFLAGS="$CPPFLAGS"
8310 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
8319 for ac_header in freetype/freetype.h \
8320 freetype/ftglyph.h \
8321 freetype/tttables.h \
8322 freetype/ftnames.h \
8323 freetype/ftsnames.h \
8324 freetype/ttnameid.h \
8325 freetype/ftoutln.h \
8326 freetype/internal/sfnt.h
8328 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8330 echo "$as_me:$LINENO: checking for $ac_header" >&5
8331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8333 echo $ECHO_N "(cached) $ECHO_C" >&6
8335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8336 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8338 # Is the header compilable?
8339 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8340 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8341 cat >conftest.$ac_ext <<_ACEOF
8342 #line $LINENO "configure"
8343 #include "confdefs.h"
8344 $ac_includes_default
8345 #include <$ac_header>
8347 rm -f conftest.$ac_objext
8348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8349 (eval $ac_compile) 2>&5
8351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8352 (exit $ac_status); } &&
8353 { ac_try='test -s conftest.$ac_objext'
8354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8358 (exit $ac_status); }; }; then
8359 ac_header_compiler=yes
8361 echo "$as_me: failed program was:" >&5
8362 cat conftest.$ac_ext >&5
8363 ac_header_compiler=no
8365 rm -f conftest.$ac_objext conftest.$ac_ext
8366 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8367 echo "${ECHO_T}$ac_header_compiler" >&6
8369 # Is the header present?
8370 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8371 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8372 cat >conftest.$ac_ext <<_ACEOF
8373 #line $LINENO "configure"
8374 #include "confdefs.h"
8375 #include <$ac_header>
8377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8378 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8380 grep -v '^ *+' conftest.er1 >conftest.err
8382 cat conftest.err >&5
8383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8384 (exit $ac_status); } >/dev/null; then
8385 if test -s conftest.err; then
8386 ac_cpp_err=$ac_c_preproc_warn_flag
8393 if test -z "$ac_cpp_err"; then
8394 ac_header_preproc=yes
8396 echo "$as_me: failed program was:" >&5
8397 cat conftest.$ac_ext >&5
8398 ac_header_preproc=no
8400 rm -f conftest.err conftest.$ac_ext
8401 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8402 echo "${ECHO_T}$ac_header_preproc" >&6
8404 # So? What about this header?
8405 case $ac_header_compiler:$ac_header_preproc in
8407 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8408 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8410 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8412 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8413 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8414 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8415 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8417 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8419 echo "$as_me:$LINENO: checking for $ac_header" >&5
8420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8422 echo $ECHO_N "(cached) $ECHO_C" >&6
8424 eval "$as_ac_Header=$ac_header_preproc"
8426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8431 cat >>confdefs.h <<_ACEOF
8432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8439 cat >conftest.$ac_ext <<_ACEOF
8440 #line $LINENO "configure"
8441 #include "confdefs.h"
8442 #include <ft2build.h>
8443 #include <freetype/fttrigon.h>
8445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8446 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8448 grep -v '^ *+' conftest.er1 >conftest.err
8450 cat conftest.err >&5
8451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 (exit $ac_status); } >/dev/null; then
8453 if test -s conftest.err; then
8454 ac_cpp_err=$ac_c_preproc_warn_flag
8461 if test -z "$ac_cpp_err"; then
8463 cat >>confdefs.h <<\_ACEOF
8464 #define HAVE_FREETYPE_FTTRIGON_H 1
8467 wine_cv_fttrigon=yes
8469 echo "$as_me: failed program was:" >&5
8470 cat conftest.$ac_ext >&5
8473 rm -f conftest.err conftest.$ac_ext
8474 CPPFLAGS="$ac_save_CPPFLAGS"
8475 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
8478 cat >>confdefs.h <<\_ACEOF
8479 #define HAVE_FREETYPE 1
8482 wine_cv_msg_freetype=no
8485 wine_cv_msg_freetype=yes
8491 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
8492 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
8493 if test "${ac_cv_c_ppdev+set}" = set; then
8494 echo $ECHO_N "(cached) $ECHO_C" >&6
8496 cat >conftest.$ac_ext <<_ACEOF
8497 #line $LINENO "configure"
8498 #include "confdefs.h"
8499 #include <linux/ppdev.h>
8508 rm -f conftest.$ac_objext
8509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8510 (eval $ac_compile) 2>&5
8512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8513 (exit $ac_status); } &&
8514 { ac_try='test -s conftest.$ac_objext'
8515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8519 (exit $ac_status); }; }; then
8522 echo "$as_me: failed program was:" >&5
8523 cat conftest.$ac_ext >&5
8526 rm -f conftest.$ac_objext conftest.$ac_ext
8529 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
8530 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
8531 if test "$ac_cv_c_ppdev" = "yes"
8534 cat >>confdefs.h <<\_ACEOF
8535 #define HAVE_PPDEV 1
8540 echo "$as_me:$LINENO: checking for va_copy" >&5
8541 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
8542 if test "${ac_cv_c_va_copy+set}" = set; then
8543 echo $ECHO_N "(cached) $ECHO_C" >&6
8545 cat >conftest.$ac_ext <<_ACEOF
8546 #line $LINENO "configure"
8547 #include "confdefs.h"
8559 rm -f conftest.$ac_objext conftest$ac_exeext
8560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8561 (eval $ac_link) 2>&5
8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564 (exit $ac_status); } &&
8565 { ac_try='test -s conftest$ac_exeext'
8566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8570 (exit $ac_status); }; }; then
8571 ac_cv_c_va_copy="yes"
8573 echo "$as_me: failed program was:" >&5
8574 cat conftest.$ac_ext >&5
8575 ac_cv_c_va_copy="no"
8577 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8580 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
8581 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
8582 if test "$ac_cv_c_va_copy" = "yes"
8585 cat >>confdefs.h <<\_ACEOF
8586 #define HAVE_VA_COPY 1
8590 echo "$as_me:$LINENO: checking for __va_copy" >&5
8591 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
8592 if test "${ac_cv_c___va_copy+set}" = set; then
8593 echo $ECHO_N "(cached) $ECHO_C" >&6
8595 cat >conftest.$ac_ext <<_ACEOF
8596 #line $LINENO "configure"
8597 #include "confdefs.h"
8609 rm -f conftest.$ac_objext conftest$ac_exeext
8610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8611 (eval $ac_link) 2>&5
8613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8614 (exit $ac_status); } &&
8615 { ac_try='test -s conftest$ac_exeext'
8616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8620 (exit $ac_status); }; }; then
8621 ac_cv_c___va_copy="yes"
8623 echo "$as_me: failed program was:" >&5
8624 cat conftest.$ac_ext >&5
8625 ac_cv_c___va_copy="no"
8627 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8630 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
8631 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
8632 if test "$ac_cv_c___va_copy" = "yes"
8635 cat >>confdefs.h <<\_ACEOF
8636 #define HAVE___VA_COPY 1
8641 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
8642 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
8643 if test "${ac_cv_c_ipx_gnu+set}" = set; then
8644 echo $ECHO_N "(cached) $ECHO_C" >&6
8646 cat >conftest.$ac_ext <<_ACEOF
8647 #line $LINENO "configure"
8648 #include "confdefs.h"
8649 #include <sys/types.h>
8650 #ifdef HAVE_SYS_SOCKET_H
8651 # include <sys/socket.h>
8653 #include <netipx/ipx.h>
8657 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
8662 rm -f conftest.$ac_objext
8663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8664 (eval $ac_compile) 2>&5
8666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8667 (exit $ac_status); } &&
8668 { ac_try='test -s conftest.$ac_objext'
8669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8673 (exit $ac_status); }; }; then
8674 ac_cv_c_ipx_gnu="yes"
8676 echo "$as_me: failed program was:" >&5
8677 cat conftest.$ac_ext >&5
8678 ac_cv_c_ipx_gnu="no"
8680 rm -f conftest.$ac_objext conftest.$ac_ext
8683 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
8684 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
8685 if test "$ac_cv_c_ipx_gnu" = "yes"
8688 cat >>confdefs.h <<\_ACEOF
8689 #define HAVE_IPX_GNU 1
8694 if test "$ac_cv_c_ipx_gnu" = "no"
8696 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
8697 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
8698 if test "${ac_cv_c_ipx_linux+set}" = set; then
8699 echo $ECHO_N "(cached) $ECHO_C" >&6
8701 cat >conftest.$ac_ext <<_ACEOF
8702 #line $LINENO "configure"
8703 #include "confdefs.h"
8704 #include <sys/types.h>
8705 #ifdef HAVE_SYS_SOCKET_H
8706 # include <sys/socket.h>
8708 #include <asm/types.h>
8709 #include <linux/ipx.h>
8713 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
8718 rm -f conftest.$ac_objext
8719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8720 (eval $ac_compile) 2>&5
8722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723 (exit $ac_status); } &&
8724 { ac_try='test -s conftest.$ac_objext'
8725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8729 (exit $ac_status); }; }; then
8730 ac_cv_c_ipx_linux="yes"
8732 echo "$as_me: failed program was:" >&5
8733 cat conftest.$ac_ext >&5
8734 ac_cv_c_ipx_linux="no"
8736 rm -f conftest.$ac_objext conftest.$ac_ext
8739 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
8740 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
8741 if test "$ac_cv_c_ipx_linux" = "yes"
8744 cat >>confdefs.h <<\_ACEOF
8745 #define HAVE_IPX_LINUX 1
8754 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
8756 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8758 echo "$as_me:$LINENO: checking for $ac_header" >&5
8759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8761 echo $ECHO_N "(cached) $ECHO_C" >&6
8763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8766 # Is the header compilable?
8767 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8768 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8769 cat >conftest.$ac_ext <<_ACEOF
8770 #line $LINENO "configure"
8771 #include "confdefs.h"
8772 $ac_includes_default
8773 #include <$ac_header>
8775 rm -f conftest.$ac_objext
8776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8777 (eval $ac_compile) 2>&5
8779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780 (exit $ac_status); } &&
8781 { ac_try='test -s conftest.$ac_objext'
8782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786 (exit $ac_status); }; }; then
8787 ac_header_compiler=yes
8789 echo "$as_me: failed program was:" >&5
8790 cat conftest.$ac_ext >&5
8791 ac_header_compiler=no
8793 rm -f conftest.$ac_objext conftest.$ac_ext
8794 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8795 echo "${ECHO_T}$ac_header_compiler" >&6
8797 # Is the header present?
8798 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8799 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8800 cat >conftest.$ac_ext <<_ACEOF
8801 #line $LINENO "configure"
8802 #include "confdefs.h"
8803 #include <$ac_header>
8805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8806 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8808 grep -v '^ *+' conftest.er1 >conftest.err
8810 cat conftest.err >&5
8811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); } >/dev/null; then
8813 if test -s conftest.err; then
8814 ac_cpp_err=$ac_c_preproc_warn_flag
8821 if test -z "$ac_cpp_err"; then
8822 ac_header_preproc=yes
8824 echo "$as_me: failed program was:" >&5
8825 cat conftest.$ac_ext >&5
8826 ac_header_preproc=no
8828 rm -f conftest.err conftest.$ac_ext
8829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8830 echo "${ECHO_T}$ac_header_preproc" >&6
8832 # So? What about this header?
8833 case $ac_header_compiler:$ac_header_preproc in
8835 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8836 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8838 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8840 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8841 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8842 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8843 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8845 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8847 echo "$as_me:$LINENO: checking for $ac_header" >&5
8848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8850 echo $ECHO_N "(cached) $ECHO_C" >&6
8852 eval "$as_ac_Header=$ac_header_preproc"
8854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8858 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8859 cat >>confdefs.h <<_ACEOF
8860 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8868 echo "$as_me:$LINENO: checking for Open Sound System" >&5
8869 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
8870 if test "${ac_cv_c_opensoundsystem+set}" = set; then
8871 echo $ECHO_N "(cached) $ECHO_C" >&6
8873 cat >conftest.$ac_ext <<_ACEOF
8874 #line $LINENO "configure"
8875 #include "confdefs.h"
8877 #if defined(HAVE_SYS_SOUNDCARD_H)
8878 #include <sys/soundcard.h>
8879 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
8880 #include <machine/soundcard.h>
8881 #elif defined(HAVE_SOUNDCARD_H)
8882 #include <soundcard.h>
8890 /* check for one of the Open Sound System specific SNDCTL_ defines */
8891 #if !defined(SNDCTL_DSP_STEREO)
8892 #error No open sound system
8899 rm -f conftest.$ac_objext
8900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8901 (eval $ac_compile) 2>&5
8903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904 (exit $ac_status); } &&
8905 { ac_try='test -s conftest.$ac_objext'
8906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8910 (exit $ac_status); }; }; then
8911 ac_cv_c_opensoundsystem="yes"
8913 echo "$as_me: failed program was:" >&5
8914 cat conftest.$ac_ext >&5
8915 ac_cv_c_opensoundsystem="no"
8917 rm -f conftest.$ac_objext conftest.$ac_ext
8919 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
8920 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
8922 if test "$ac_cv_c_opensoundsystem" = "yes"
8925 cat >>confdefs.h <<\_ACEOF
8931 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
8932 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
8933 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
8934 echo $ECHO_N "(cached) $ECHO_C" >&6
8936 cat >conftest.$ac_ext <<_ACEOF
8937 #line $LINENO "configure"
8938 #include "confdefs.h"
8940 #if defined(HAVE_SYS_SOUNDCARD_H)
8941 #include <sys/soundcard.h>
8942 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
8943 #include <machine/soundcard.h>
8944 #elif defined(HAVE_SOUNDCARD_H)
8945 #include <soundcard.h>
8953 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
8954 #if !defined(SNDCTL_SEQ_SYNC)
8955 #error No open sound system MIDI interface
8962 rm -f conftest.$ac_objext
8963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8964 (eval $ac_compile) 2>&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 (exit $ac_status); } &&
8968 { ac_try='test -s conftest.$ac_objext'
8969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8973 (exit $ac_status); }; }; then
8974 ac_cv_c_opensoundsystem_midi="yes"
8976 echo "$as_me: failed program was:" >&5
8977 cat conftest.$ac_ext >&5
8978 ac_cv_c_opensoundsystem_midi="no"
8980 rm -f conftest.$ac_objext conftest.$ac_ext
8982 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
8983 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
8985 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
8988 cat >>confdefs.h <<\_ACEOF
8989 #define HAVE_OSS_MIDI 1
8994 # Extract the first word of "artsc-config", so it can be a program name with args.
8995 set dummy artsc-config; ac_word=$2
8996 echo "$as_me:$LINENO: checking for $ac_word" >&5
8997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8998 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
8999 echo $ECHO_N "(cached) $ECHO_C" >&6
9001 case $ARTSCCONFIG in
9003 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
9006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9010 test -z "$as_dir" && as_dir=.
9011 for ac_exec_ext in '' $ac_executable_extensions; do
9012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9013 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
9014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9023 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
9025 if test -n "$ARTSCCONFIG"; then
9026 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
9027 echo "${ECHO_T}$ARTSCCONFIG" >&6
9029 echo "$as_me:$LINENO: result: no" >&5
9030 echo "${ECHO_T}no" >&6
9033 echo "$as_me:$LINENO: checking for aRts Sound server" >&5
9034 echo $ECHO_N "checking for aRts Sound server... $ECHO_C" >&6
9035 if test "${ac_cv_c_artsserver+set}" = set; then
9036 echo $ECHO_N "(cached) $ECHO_C" >&6
9038 if test x$ARTSCCONFIG = x -o x$ARTSCCONFIG = x'"$ARTSCCONFIG"';
9040 ac_cv_c_artsserver=no
9042 ARTSC_CFLAGS=`$ARTSCCONFIG --cflags`
9043 ARTSC_LIBS=`$ARTSCCONFIG --libs`
9044 ac_cv_c_artsserver=no
9045 save_CFLAGS="$CFLAGS"
9046 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
9047 cat >conftest.$ac_ext <<_ACEOF
9048 #line $LINENO "configure"
9049 #include "confdefs.h"
9057 arts_stream_t stream;
9063 rm -f conftest.$ac_objext
9064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9065 (eval $ac_compile) 2>&5
9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); } &&
9069 { ac_try='test -s conftest.$ac_objext'
9070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074 (exit $ac_status); }; }; then
9076 ac_cv_c_artsserver=yes
9079 echo "$as_me: failed program was:" >&5
9080 cat conftest.$ac_ext >&5
9082 rm -f conftest.$ac_objext conftest.$ac_ext
9083 CFLAGS="$save_CFLAGS"
9086 echo "$as_me:$LINENO: result: $ac_cv_c_artsserver" >&5
9087 echo "${ECHO_T}$ac_cv_c_artsserver" >&6
9089 if test "$ac_cv_c_artsserver" = "yes"
9091 ARTSLIBS=$ARTSC_LIBS
9093 ARTSINCL=$ARTSC_CFLAGS
9097 cat >>confdefs.h <<\_ACEOF
9107 for ac_header in alsa/asoundlib.h sys/asoundlib.h
9109 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9111 echo "$as_me:$LINENO: checking for $ac_header" >&5
9112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9114 echo $ECHO_N "(cached) $ECHO_C" >&6
9116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9117 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9119 # Is the header compilable?
9120 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9121 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9122 cat >conftest.$ac_ext <<_ACEOF
9123 #line $LINENO "configure"
9124 #include "confdefs.h"
9125 $ac_includes_default
9126 #include <$ac_header>
9128 rm -f conftest.$ac_objext
9129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9130 (eval $ac_compile) 2>&5
9132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133 (exit $ac_status); } &&
9134 { ac_try='test -s conftest.$ac_objext'
9135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139 (exit $ac_status); }; }; then
9140 ac_header_compiler=yes
9142 echo "$as_me: failed program was:" >&5
9143 cat conftest.$ac_ext >&5
9144 ac_header_compiler=no
9146 rm -f conftest.$ac_objext conftest.$ac_ext
9147 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9148 echo "${ECHO_T}$ac_header_compiler" >&6
9150 # Is the header present?
9151 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9152 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9153 cat >conftest.$ac_ext <<_ACEOF
9154 #line $LINENO "configure"
9155 #include "confdefs.h"
9156 #include <$ac_header>
9158 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9159 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9161 grep -v '^ *+' conftest.er1 >conftest.err
9163 cat conftest.err >&5
9164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165 (exit $ac_status); } >/dev/null; then
9166 if test -s conftest.err; then
9167 ac_cpp_err=$ac_c_preproc_warn_flag
9174 if test -z "$ac_cpp_err"; then
9175 ac_header_preproc=yes
9177 echo "$as_me: failed program was:" >&5
9178 cat conftest.$ac_ext >&5
9179 ac_header_preproc=no
9181 rm -f conftest.err conftest.$ac_ext
9182 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9183 echo "${ECHO_T}$ac_header_preproc" >&6
9185 # So? What about this header?
9186 case $ac_header_compiler:$ac_header_preproc in
9188 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9189 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9191 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9193 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9194 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9195 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9196 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9198 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9200 echo "$as_me:$LINENO: checking for $ac_header" >&5
9201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9203 echo $ECHO_N "(cached) $ECHO_C" >&6
9205 eval "$as_ac_Header=$ac_header_preproc"
9207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9212 cat >>confdefs.h <<_ACEOF
9213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9220 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
9222 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
9223 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
9224 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
9225 echo $ECHO_N "(cached) $ECHO_C" >&6
9227 ac_check_lib_save_LIBS=$LIBS
9228 LIBS="-lasound $LIBS"
9229 cat >conftest.$ac_ext <<_ACEOF
9230 #line $LINENO "configure"
9231 #include "confdefs.h"
9233 /* Override any gcc2 internal prototype to avoid an error. */
9237 /* We use char because int might match the return type of a gcc2
9238 builtin and then its argument prototype would still apply. */
9239 char snd_pcm_open ();
9248 rm -f conftest.$ac_objext conftest$ac_exeext
9249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9250 (eval $ac_link) 2>&5
9252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9253 (exit $ac_status); } &&
9254 { ac_try='test -s conftest$ac_exeext'
9255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9259 (exit $ac_status); }; }; then
9260 ac_cv_lib_asound_snd_pcm_open=yes
9262 echo "$as_me: failed program was:" >&5
9263 cat conftest.$ac_ext >&5
9264 ac_cv_lib_asound_snd_pcm_open=no
9266 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9267 LIBS=$ac_check_lib_save_LIBS
9269 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
9270 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
9271 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
9273 cat >>confdefs.h <<\_ACEOF
9286 for ac_header in libaudioio.h
9288 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9290 echo "$as_me:$LINENO: checking for $ac_header" >&5
9291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9293 echo $ECHO_N "(cached) $ECHO_C" >&6
9295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9298 # Is the header compilable?
9299 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9300 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9301 cat >conftest.$ac_ext <<_ACEOF
9302 #line $LINENO "configure"
9303 #include "confdefs.h"
9304 $ac_includes_default
9305 #include <$ac_header>
9307 rm -f conftest.$ac_objext
9308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9309 (eval $ac_compile) 2>&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); } &&
9313 { ac_try='test -s conftest.$ac_objext'
9314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318 (exit $ac_status); }; }; then
9319 ac_header_compiler=yes
9321 echo "$as_me: failed program was:" >&5
9322 cat conftest.$ac_ext >&5
9323 ac_header_compiler=no
9325 rm -f conftest.$ac_objext conftest.$ac_ext
9326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9327 echo "${ECHO_T}$ac_header_compiler" >&6
9329 # Is the header present?
9330 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9331 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9332 cat >conftest.$ac_ext <<_ACEOF
9333 #line $LINENO "configure"
9334 #include "confdefs.h"
9335 #include <$ac_header>
9337 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9338 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9340 grep -v '^ *+' conftest.er1 >conftest.err
9342 cat conftest.err >&5
9343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344 (exit $ac_status); } >/dev/null; then
9345 if test -s conftest.err; then
9346 ac_cpp_err=$ac_c_preproc_warn_flag
9353 if test -z "$ac_cpp_err"; then
9354 ac_header_preproc=yes
9356 echo "$as_me: failed program was:" >&5
9357 cat conftest.$ac_ext >&5
9358 ac_header_preproc=no
9360 rm -f conftest.err conftest.$ac_ext
9361 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9362 echo "${ECHO_T}$ac_header_preproc" >&6
9364 # So? What about this header?
9365 case $ac_header_compiler:$ac_header_preproc in
9367 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9368 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9370 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9372 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9373 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9374 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9375 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9376 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9377 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9379 echo "$as_me:$LINENO: checking for $ac_header" >&5
9380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9382 echo $ECHO_N "(cached) $ECHO_C" >&6
9384 eval "$as_ac_Header=$ac_header_preproc"
9386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9390 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9391 cat >>confdefs.h <<_ACEOF
9392 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9394 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
9395 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
9396 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
9397 echo $ECHO_N "(cached) $ECHO_C" >&6
9399 ac_check_lib_save_LIBS=$LIBS
9400 LIBS="-laudioio $LIBS"
9401 cat >conftest.$ac_ext <<_ACEOF
9402 #line $LINENO "configure"
9403 #include "confdefs.h"
9405 /* Override any gcc2 internal prototype to avoid an error. */
9409 /* We use char because int might match the return type of a gcc2
9410 builtin and then its argument prototype would still apply. */
9411 char AudioIOGetVersion ();
9415 AudioIOGetVersion ();
9420 rm -f conftest.$ac_objext conftest$ac_exeext
9421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9422 (eval $ac_link) 2>&5
9424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9425 (exit $ac_status); } &&
9426 { ac_try='test -s conftest$ac_exeext'
9427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9431 (exit $ac_status); }; }; then
9432 ac_cv_lib_audioio_AudioIOGetVersion=yes
9434 echo "$as_me: failed program was:" >&5
9435 cat conftest.$ac_ext >&5
9436 ac_cv_lib_audioio_AudioIOGetVersion=no
9438 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9439 LIBS=$ac_check_lib_save_LIBS
9441 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
9442 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
9443 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
9444 AUDIOIOLIBS="-laudioio"
9446 cat >>confdefs.h <<\_ACEOF
9447 #define HAVE_LIBAUDIOIO 1
9458 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
9459 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
9460 if test "${ac_cv_mmap64_works+set}" = set; then
9461 echo $ECHO_N "(cached) $ECHO_C" >&6
9463 if test "$cross_compiling" = yes; then
9464 ac_cv_mmap64_works="no"
9466 cat >conftest.$ac_ext <<_ACEOF
9467 #line $LINENO "configure"
9468 #include "confdefs.h"
9470 #define _FILE_OFFSET_BITS 64
9474 #include <sys/mman.h>
9477 int main(int argc,char **argv) {
9478 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
9479 if (fd == -1) exit(1);
9481 unlink("conftest.map");
9485 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
9491 fprintf(stderr,"success!\n");
9497 rm -f conftest$ac_exeext
9498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9499 (eval $ac_link) 2>&5
9501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9502 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9507 (exit $ac_status); }; }; then
9508 ac_cv_mmap64_works="yes"
9510 echo "$as_me: program exited with status $ac_status" >&5
9511 echo "$as_me: failed program was:" >&5
9512 cat conftest.$ac_ext >&5
9514 ac_cv_mmap64_works="no"
9516 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9519 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
9520 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
9522 if test "$ac_cv_mmap64_works" = "yes"
9525 cat >>confdefs.h <<\_ACEOF
9526 #define _FILE_OFFSET_BITS 64
9532 if test "x${GCC}" = "xyes"
9534 CFLAGS="$CFLAGS -Wall"
9535 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
9536 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
9537 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
9538 echo $ECHO_N "(cached) $ECHO_C" >&6
9540 if test "$cross_compiling" = yes; then
9541 ac_cv_c_gcc_strength_bug="yes"
9543 cat >conftest.$ac_ext <<_ACEOF
9544 #line $LINENO "configure"
9545 #include "confdefs.h"
9547 int L[4] = {0,1,2,3};
9549 static int Array[3];
9552 for(i=0; i<B; i++) Array[i] = i - 3;
9553 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
9556 exit( Array[1] != -2 || L[2] != 3);
9559 rm -f conftest$ac_exeext
9560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9561 (eval $ac_link) 2>&5
9563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9564 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9569 (exit $ac_status); }; }; then
9570 ac_cv_c_gcc_strength_bug="no"
9572 echo "$as_me: program exited with status $ac_status" >&5
9573 echo "$as_me: failed program was:" >&5
9574 cat conftest.$ac_ext >&5
9576 ac_cv_c_gcc_strength_bug="yes"
9578 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9581 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
9582 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
9583 if test "$ac_cv_c_gcc_strength_bug" = "yes"
9585 CFLAGS="$CFLAGS -fno-strength-reduce"
9588 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
9589 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
9590 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
9591 echo $ECHO_N "(cached) $ECHO_C" >&6
9593 ac_wine_try_cflags_saved=$CFLAGS
9594 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
9595 cat >conftest.$ac_ext <<_ACEOF
9596 #line $LINENO "configure"
9597 #include "confdefs.h"
9607 rm -f conftest.$ac_objext conftest$ac_exeext
9608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9609 (eval $ac_link) 2>&5
9611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9612 (exit $ac_status); } &&
9613 { ac_try='test -s conftest$ac_exeext'
9614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9618 (exit $ac_status); }; }; then
9619 ac_cv_c_gcc_stack_boundary="yes"
9621 echo "$as_me: failed program was:" >&5
9622 cat conftest.$ac_ext >&5
9623 ac_cv_c_gcc_stack_boundary="no"
9625 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9626 CFLAGS=$ac_wine_try_cflags_saved
9628 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
9629 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
9630 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
9632 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
9637 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
9638 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
9639 if test "${ac_cv_asm_func_def+set}" = set; then
9640 echo $ECHO_N "(cached) $ECHO_C" >&6
9642 cat >conftest.$ac_ext <<_ACEOF
9643 #line $LINENO "configure"
9644 #include "confdefs.h"
9645 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"); }
9655 rm -f conftest.$ac_objext conftest$ac_exeext
9656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9657 (eval $ac_link) 2>&5
9659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9660 (exit $ac_status); } &&
9661 { ac_try='test -s conftest$ac_exeext'
9662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9666 (exit $ac_status); }; }; then
9667 ac_cv_asm_func_def=".def"
9669 echo "$as_me: failed program was:" >&5
9670 cat conftest.$ac_ext >&5
9671 cat >conftest.$ac_ext <<_ACEOF
9672 #line $LINENO "configure"
9673 #include "confdefs.h"
9674 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
9684 rm -f conftest.$ac_objext conftest$ac_exeext
9685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9686 (eval $ac_link) 2>&5
9688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9689 (exit $ac_status); } &&
9690 { ac_try='test -s conftest$ac_exeext'
9691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); }; }; then
9696 ac_cv_asm_func_def=".type @function"
9698 echo "$as_me: failed program was:" >&5
9699 cat conftest.$ac_ext >&5
9700 cat >conftest.$ac_ext <<_ACEOF
9701 #line $LINENO "configure"
9702 #include "confdefs.h"
9703 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
9713 rm -f conftest.$ac_objext conftest$ac_exeext
9714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9715 (eval $ac_link) 2>&5
9717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718 (exit $ac_status); } &&
9719 { ac_try='test -s conftest$ac_exeext'
9720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9724 (exit $ac_status); }; }; then
9725 ac_cv_asm_func_def=".type 2"
9727 echo "$as_me: failed program was:" >&5
9728 cat conftest.$ac_ext >&5
9729 ac_cv_asm_func_def="unknown"
9731 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9733 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9735 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9737 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
9738 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
9742 case "$ac_cv_asm_func_def" in
9744 cat >>confdefs.h <<\_ACEOF
9745 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
9749 cat >>confdefs.h <<\_ACEOF
9750 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
9754 cat >>confdefs.h <<\_ACEOF
9755 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
9759 cat >>confdefs.h <<\_ACEOF
9760 #define __ASM_FUNC(name) ""
9766 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
9767 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
9768 if test "${ac_cv_c_extern_prefix+set}" = set; then
9769 echo $ECHO_N "(cached) $ECHO_C" >&6
9771 cat >conftest.$ac_ext <<_ACEOF
9772 #line $LINENO "configure"
9773 #include "confdefs.h"
9774 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
9779 if (ac_test) return 1
9784 rm -f conftest.$ac_objext conftest$ac_exeext
9785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9786 (eval $ac_link) 2>&5
9788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9789 (exit $ac_status); } &&
9790 { ac_try='test -s conftest$ac_exeext'
9791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9795 (exit $ac_status); }; }; then
9796 ac_cv_c_extern_prefix="yes"
9798 echo "$as_me: failed program was:" >&5
9799 cat conftest.$ac_ext >&5
9800 ac_cv_c_extern_prefix="no"
9802 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9804 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
9805 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
9809 if test "$ac_cv_c_extern_prefix" = "yes"
9811 cat >>confdefs.h <<\_ACEOF
9812 #define __ASM_NAME(name) "_" name
9816 cat >>confdefs.h <<\_ACEOF
9817 #define __ASM_NAME(name) name
9823 echo "$as_me:$LINENO: checking whether assembler accepts .string" >&5
9824 echo $ECHO_N "checking whether assembler accepts .string... $ECHO_C" >&6
9825 if test "${ac_cv_c_asm_string+set}" = set; then
9826 echo $ECHO_N "(cached) $ECHO_C" >&6
9828 cat >conftest.$ac_ext <<_ACEOF
9829 #line $LINENO "configure"
9830 #include "confdefs.h"
9831 void ac_asm(void) { asm(".data\n\t.string \"test\"\n\t.text"); }
9841 rm -f conftest.$ac_objext conftest$ac_exeext
9842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9843 (eval $ac_link) 2>&5
9845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9846 (exit $ac_status); } &&
9847 { ac_try='test -s conftest$ac_exeext'
9848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9852 (exit $ac_status); }; }; then
9853 ac_cv_c_asm_string="yes"
9855 echo "$as_me: failed program was:" >&5
9856 cat conftest.$ac_ext >&5
9857 ac_cv_c_asm_string="no"
9859 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9861 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
9862 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
9863 if test "$ac_cv_c_asm_string" = "yes"
9866 cat >>confdefs.h <<\_ACEOF
9867 #define HAVE_ASM_STRING 1
9890 if test -n "$ac_tool_prefix"; then
9891 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9892 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9893 echo "$as_me:$LINENO: checking for $ac_word" >&5
9894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9895 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9896 echo $ECHO_N "(cached) $ECHO_C" >&6
9898 if test -n "$DLLTOOL"; then
9899 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9905 test -z "$as_dir" && as_dir=.
9906 for ac_exec_ext in '' $ac_executable_extensions; do
9907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9908 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9917 DLLTOOL=$ac_cv_prog_DLLTOOL
9918 if test -n "$DLLTOOL"; then
9919 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9920 echo "${ECHO_T}$DLLTOOL" >&6
9922 echo "$as_me:$LINENO: result: no" >&5
9923 echo "${ECHO_T}no" >&6
9927 if test -z "$ac_cv_prog_DLLTOOL"; then
9928 ac_ct_DLLTOOL=$DLLTOOL
9929 # Extract the first word of "dlltool", so it can be a program name with args.
9930 set dummy dlltool; ac_word=$2
9931 echo "$as_me:$LINENO: checking for $ac_word" >&5
9932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9933 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
9934 echo $ECHO_N "(cached) $ECHO_C" >&6
9936 if test -n "$ac_ct_DLLTOOL"; then
9937 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9943 test -z "$as_dir" && as_dir=.
9944 for ac_exec_ext in '' $ac_executable_extensions; do
9945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9946 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9953 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
9956 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9957 if test -n "$ac_ct_DLLTOOL"; then
9958 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
9959 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
9961 echo "$as_me:$LINENO: result: no" >&5
9962 echo "${ECHO_T}no" >&6
9965 DLLTOOL=$ac_ct_DLLTOOL
9967 DLLTOOL="$ac_cv_prog_DLLTOOL"
9970 if test -n "$ac_tool_prefix"; then
9971 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
9972 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
9973 echo "$as_me:$LINENO: checking for $ac_word" >&5
9974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9975 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
9976 echo $ECHO_N "(cached) $ECHO_C" >&6
9978 if test -n "$DLLWRAP"; then
9979 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
9981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9985 test -z "$as_dir" && as_dir=.
9986 for ac_exec_ext in '' $ac_executable_extensions; do
9987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9988 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
9989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9997 DLLWRAP=$ac_cv_prog_DLLWRAP
9998 if test -n "$DLLWRAP"; then
9999 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
10000 echo "${ECHO_T}$DLLWRAP" >&6
10002 echo "$as_me:$LINENO: result: no" >&5
10003 echo "${ECHO_T}no" >&6
10007 if test -z "$ac_cv_prog_DLLWRAP"; then
10008 ac_ct_DLLWRAP=$DLLWRAP
10009 # Extract the first word of "dllwrap", so it can be a program name with args.
10010 set dummy dllwrap; ac_word=$2
10011 echo "$as_me:$LINENO: checking for $ac_word" >&5
10012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10013 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
10014 echo $ECHO_N "(cached) $ECHO_C" >&6
10016 if test -n "$ac_ct_DLLWRAP"; then
10017 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
10019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10020 for as_dir in $PATH
10023 test -z "$as_dir" && as_dir=.
10024 for ac_exec_ext in '' $ac_executable_extensions; do
10025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10026 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
10027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10033 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
10036 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
10037 if test -n "$ac_ct_DLLWRAP"; then
10038 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
10039 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
10041 echo "$as_me:$LINENO: result: no" >&5
10042 echo "${ECHO_T}no" >&6
10045 DLLWRAP=$ac_ct_DLLWRAP
10047 DLLWRAP="$ac_cv_prog_DLLWRAP"
10050 if test "$DLLWRAP" = "false"; then
10059 for ac_header in dlfcn.h
10061 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10063 echo "$as_me:$LINENO: checking for $ac_header" >&5
10064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10066 echo $ECHO_N "(cached) $ECHO_C" >&6
10068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10071 # Is the header compilable?
10072 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10073 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10074 cat >conftest.$ac_ext <<_ACEOF
10075 #line $LINENO "configure"
10076 #include "confdefs.h"
10077 $ac_includes_default
10078 #include <$ac_header>
10080 rm -f conftest.$ac_objext
10081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10082 (eval $ac_compile) 2>&5
10084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10085 (exit $ac_status); } &&
10086 { ac_try='test -s conftest.$ac_objext'
10087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10088 (eval $ac_try) 2>&5
10090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10091 (exit $ac_status); }; }; then
10092 ac_header_compiler=yes
10094 echo "$as_me: failed program was:" >&5
10095 cat conftest.$ac_ext >&5
10096 ac_header_compiler=no
10098 rm -f conftest.$ac_objext conftest.$ac_ext
10099 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10100 echo "${ECHO_T}$ac_header_compiler" >&6
10102 # Is the header present?
10103 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10104 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10105 cat >conftest.$ac_ext <<_ACEOF
10106 #line $LINENO "configure"
10107 #include "confdefs.h"
10108 #include <$ac_header>
10110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10111 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10113 grep -v '^ *+' conftest.er1 >conftest.err
10115 cat conftest.err >&5
10116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10117 (exit $ac_status); } >/dev/null; then
10118 if test -s conftest.err; then
10119 ac_cpp_err=$ac_c_preproc_warn_flag
10126 if test -z "$ac_cpp_err"; then
10127 ac_header_preproc=yes
10129 echo "$as_me: failed program was:" >&5
10130 cat conftest.$ac_ext >&5
10131 ac_header_preproc=no
10133 rm -f conftest.err conftest.$ac_ext
10134 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10135 echo "${ECHO_T}$ac_header_preproc" >&6
10137 # So? What about this header?
10138 case $ac_header_compiler:$ac_header_preproc in
10140 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10141 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10142 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10143 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10145 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10146 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10147 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10148 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10149 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10150 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10152 echo "$as_me:$LINENO: checking for $ac_header" >&5
10153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10155 echo $ECHO_N "(cached) $ECHO_C" >&6
10157 eval "$as_ac_Header=$ac_header_preproc"
10159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10164 cat >>confdefs.h <<_ACEOF
10165 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10168 for ac_func in dlopen
10170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10171 echo "$as_me:$LINENO: checking for $ac_func" >&5
10172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10173 if eval "test \"\${$as_ac_var+set}\" = set"; then
10174 echo $ECHO_N "(cached) $ECHO_C" >&6
10176 cat >conftest.$ac_ext <<_ACEOF
10177 #line $LINENO "configure"
10178 #include "confdefs.h"
10179 /* System header to define __stub macros and hopefully few prototypes,
10180 which can conflict with char $ac_func (); below. */
10181 #include <assert.h>
10182 /* Override any gcc2 internal prototype to avoid an error. */
10186 /* We use char because int might match the return type of a gcc2
10187 builtin and then its argument prototype would still apply. */
10194 /* The GNU C library defines this for functions which it implements
10195 to always fail with ENOSYS. Some functions are actually named
10196 something starting with __ and the normal name is an alias. */
10197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10207 rm -f conftest.$ac_objext conftest$ac_exeext
10208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10209 (eval $ac_link) 2>&5
10211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10212 (exit $ac_status); } &&
10213 { ac_try='test -s conftest$ac_exeext'
10214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10215 (eval $ac_try) 2>&5
10217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10218 (exit $ac_status); }; }; then
10219 eval "$as_ac_var=yes"
10221 echo "$as_me: failed program was:" >&5
10222 cat conftest.$ac_ext >&5
10223 eval "$as_ac_var=no"
10225 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10229 if test `eval echo '${'$as_ac_var'}'` = yes; then
10230 cat >>confdefs.h <<_ACEOF
10231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10235 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10236 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10237 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10238 echo $ECHO_N "(cached) $ECHO_C" >&6
10240 ac_check_lib_save_LIBS=$LIBS
10242 cat >conftest.$ac_ext <<_ACEOF
10243 #line $LINENO "configure"
10244 #include "confdefs.h"
10246 /* Override any gcc2 internal prototype to avoid an error. */
10250 /* We use char because int might match the return type of a gcc2
10251 builtin and then its argument prototype would still apply. */
10261 rm -f conftest.$ac_objext conftest$ac_exeext
10262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10263 (eval $ac_link) 2>&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); } &&
10267 { ac_try='test -s conftest$ac_exeext'
10268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10269 (eval $ac_try) 2>&5
10271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10272 (exit $ac_status); }; }; then
10273 ac_cv_lib_dl_dlopen=yes
10275 echo "$as_me: failed program was:" >&5
10276 cat conftest.$ac_ext >&5
10277 ac_cv_lib_dl_dlopen=no
10279 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10280 LIBS=$ac_check_lib_save_LIBS
10282 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10283 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10284 if test $ac_cv_lib_dl_dlopen = yes; then
10286 cat >>confdefs.h <<\_ACEOF
10287 #define HAVE_DLOPEN 1
10305 if test "$LIBEXT" = "so"
10309 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
10310 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
10311 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
10312 echo $ECHO_N "(cached) $ECHO_C" >&6
10314 ac_wine_try_cflags_saved=$CFLAGS
10315 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
10316 cat >conftest.$ac_ext <<_ACEOF
10317 #line $LINENO "configure"
10318 #include "confdefs.h"
10328 rm -f conftest.$ac_objext conftest$ac_exeext
10329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10330 (eval $ac_link) 2>&5
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); } &&
10334 { ac_try='test -s conftest$ac_exeext'
10335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10336 (eval $ac_try) 2>&5
10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10339 (exit $ac_status); }; }; then
10340 ac_cv_c_dll_gnuelf="yes"
10342 echo "$as_me: failed program was:" >&5
10343 cat conftest.$ac_ext >&5
10344 ac_cv_c_dll_gnuelf="no"
10346 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10347 CFLAGS=$ac_wine_try_cflags_saved
10349 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
10350 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
10351 if test "$ac_cv_c_dll_gnuelf" = "yes"
10353 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
10354 LDDLLFLAGS="-Wl,-Bsymbolic"
10355 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
10356 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
10357 if test "${ac_cv_c_dll_zdefs+set}" = set; then
10358 echo $ECHO_N "(cached) $ECHO_C" >&6
10360 ac_wine_try_cflags_saved=$CFLAGS
10361 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
10362 cat >conftest.$ac_ext <<_ACEOF
10363 #line $LINENO "configure"
10364 #include "confdefs.h"
10374 rm -f conftest.$ac_objext conftest$ac_exeext
10375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10376 (eval $ac_link) 2>&5
10378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10379 (exit $ac_status); } &&
10380 { ac_try='test -s conftest$ac_exeext'
10381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10382 (eval $ac_try) 2>&5
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); }; }; then
10386 ac_cv_c_dll_zdefs="yes"
10388 echo "$as_me: failed program was:" >&5
10389 cat conftest.$ac_ext >&5
10390 ac_cv_c_dll_zdefs="no"
10392 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10393 CFLAGS=$ac_wine_try_cflags_saved
10395 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
10396 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
10397 if test "$ac_cv_c_dll_zdefs" = "yes"
10399 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
10402 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
10403 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
10404 if test "${ac_cv_c_dll_unixware+set}" = set; then
10405 echo $ECHO_N "(cached) $ECHO_C" >&6
10407 ac_wine_try_cflags_saved=$CFLAGS
10408 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
10409 cat >conftest.$ac_ext <<_ACEOF
10410 #line $LINENO "configure"
10411 #include "confdefs.h"
10421 rm -f conftest.$ac_objext conftest$ac_exeext
10422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10423 (eval $ac_link) 2>&5
10425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10426 (exit $ac_status); } &&
10427 { ac_try='test -s conftest$ac_exeext'
10428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10429 (eval $ac_try) 2>&5
10431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432 (exit $ac_status); }; }; then
10433 ac_cv_c_dll_unixware="yes"
10435 echo "$as_me: failed program was:" >&5
10436 cat conftest.$ac_ext >&5
10437 ac_cv_c_dll_unixware="no"
10439 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10440 CFLAGS=$ac_wine_try_cflags_saved
10442 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
10443 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
10444 if test "$ac_cv_c_dll_unixware" = "yes"
10446 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
10447 LDDLLFLAGS="-Wl,-B,symbolic"
10454 if test "$cross_compiling" = "no"
10456 for ac_prog in i586-mingw32msvc-gcc
10458 # Extract the first word of "$ac_prog", so it can be a program name with args.
10459 set dummy $ac_prog; ac_word=$2
10460 echo "$as_me:$LINENO: checking for $ac_word" >&5
10461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10462 if test "${ac_cv_prog_CROSSCC+set}" = set; then
10463 echo $ECHO_N "(cached) $ECHO_C" >&6
10465 if test -n "$CROSSCC"; then
10466 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10469 for as_dir in $PATH
10472 test -z "$as_dir" && as_dir=.
10473 for ac_exec_ext in '' $ac_executable_extensions; do
10474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10475 ac_cv_prog_CROSSCC="$ac_prog"
10476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10484 CROSSCC=$ac_cv_prog_CROSSCC
10485 if test -n "$CROSSCC"; then
10486 echo "$as_me:$LINENO: result: $CROSSCC" >&5
10487 echo "${ECHO_T}$CROSSCC" >&6
10489 echo "$as_me:$LINENO: result: no" >&5
10490 echo "${ECHO_T}no" >&6
10493 test -n "$CROSSCC" && break
10495 test -n "$CROSSCC" || CROSSCC="false"
10497 for ac_prog in i586-mingw32msvc-dlltool
10499 # Extract the first word of "$ac_prog", so it can be a program name with args.
10500 set dummy $ac_prog; ac_word=$2
10501 echo "$as_me:$LINENO: checking for $ac_word" >&5
10502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10503 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
10504 echo $ECHO_N "(cached) $ECHO_C" >&6
10506 if test -n "$DLLTOOL"; then
10507 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
10509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10510 for as_dir in $PATH
10513 test -z "$as_dir" && as_dir=.
10514 for ac_exec_ext in '' $ac_executable_extensions; do
10515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10516 ac_cv_prog_DLLTOOL="$ac_prog"
10517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10525 DLLTOOL=$ac_cv_prog_DLLTOOL
10526 if test -n "$DLLTOOL"; then
10527 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
10528 echo "${ECHO_T}$DLLTOOL" >&6
10530 echo "$as_me:$LINENO: result: no" >&5
10531 echo "${ECHO_T}no" >&6
10534 test -n "$DLLTOOL" && break
10536 test -n "$DLLTOOL" || DLLTOOL="false"
10538 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
10543 if test "$LIBEXT" = "a"; then
10544 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
10545 It is currently not possible to build Wine without shared library
10546 (.so) support to allow transparent switch between .so and .dll files.
10547 If you are using Linux, you will need a newer binutils.
10549 echo "$as_me: error: could not find a way to build shared libraries.
10550 It is currently not possible to build Wine without shared library
10551 (.so) support to allow transparent switch between .so and .dll files.
10552 If you are using Linux, you will need a newer binutils.
10554 { (exit 1); exit 1; }; }
10559 LDPATH="PATH=\"\$(TOOLSDIR)/library:\$(TOOLSDIR)/unicode:\$\$PATH\""
10562 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/library:\$(TOOLSDIR)/unicode:\$\$LD_LIBRARY_PATH\""
10570 CRTLIBS="-lmsvcrt" ;;
10574 if test "$LIBEXT" = "so"
10576 # Extract the first word of "ldd", so it can be a program name with args.
10577 set dummy ldd; ac_word=$2
10578 echo "$as_me:$LINENO: checking for $ac_word" >&5
10579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10580 if test "${ac_cv_path_LDD+set}" = set; then
10581 echo $ECHO_N "(cached) $ECHO_C" >&6
10585 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
10588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10589 as_dummy="/sbin:/usr/sbin:$PATH"
10590 for as_dir in $as_dummy
10593 test -z "$as_dir" && as_dir=.
10594 for ac_exec_ext in '' $ac_executable_extensions; do
10595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10596 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
10597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10603 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
10607 LDD=$ac_cv_path_LDD
10609 if test -n "$LDD"; then
10610 echo "$as_me:$LINENO: result: $LDD" >&5
10611 echo "${ECHO_T}$LDD" >&6
10613 echo "$as_me:$LINENO: result: no" >&5
10614 echo "${ECHO_T}no" >&6
10618 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
10619 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
10620 if test "${ac_cv_lib_soname_X11+set}" = set; then
10621 echo $ECHO_N "(cached) $ECHO_C" >&6
10623 ac_get_soname_save_LIBS=$LIBS
10624 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10625 cat >conftest.$ac_ext <<_ACEOF
10626 #line $LINENO "configure"
10627 #include "confdefs.h"
10629 /* Override any gcc2 internal prototype to avoid an error. */
10633 /* We use char because int might match the return type of a gcc2
10634 builtin and then its argument prototype would still apply. */
10635 char XCreateWindow ();
10644 rm -f conftest.$ac_objext conftest$ac_exeext
10645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10646 (eval $ac_link) 2>&5
10648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10649 (exit $ac_status); } &&
10650 { ac_try='test -s conftest$ac_exeext'
10651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10652 (eval $ac_try) 2>&5
10654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10655 (exit $ac_status); }; }; then
10656 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10657 if test "x$ac_cv_lib_soname_X11" = "x"
10659 ac_cv_lib_soname_X11="libX11.so"
10662 echo "$as_me: failed program was:" >&5
10663 cat conftest.$ac_ext >&5
10664 ac_cv_lib_soname_X11="libX11.so"
10666 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10667 LIBS=$ac_get_soname_save_LIBS
10669 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
10670 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
10671 if test "x$ac_cv_lib_soname_X11" != xNONE
10673 cat >>confdefs.h <<_ACEOF
10674 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10678 echo "$as_me:$LINENO: checking for -lXext soname" >&5
10679 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
10680 if test "${ac_cv_lib_soname_Xext+set}" = set; then
10681 echo $ECHO_N "(cached) $ECHO_C" >&6
10683 ac_get_soname_save_LIBS=$LIBS
10684 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10685 cat >conftest.$ac_ext <<_ACEOF
10686 #line $LINENO "configure"
10687 #include "confdefs.h"
10689 /* Override any gcc2 internal prototype to avoid an error. */
10693 /* We use char because int might match the return type of a gcc2
10694 builtin and then its argument prototype would still apply. */
10695 char XextCreateExtension ();
10699 XextCreateExtension ();
10704 rm -f conftest.$ac_objext conftest$ac_exeext
10705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10706 (eval $ac_link) 2>&5
10708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); } &&
10710 { ac_try='test -s conftest$ac_exeext'
10711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10712 (eval $ac_try) 2>&5
10714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715 (exit $ac_status); }; }; then
10716 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10717 if test "x$ac_cv_lib_soname_Xext" = "x"
10719 ac_cv_lib_soname_Xext="libXext.so"
10722 echo "$as_me: failed program was:" >&5
10723 cat conftest.$ac_ext >&5
10724 ac_cv_lib_soname_Xext="libXext.so"
10726 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10727 LIBS=$ac_get_soname_save_LIBS
10729 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
10730 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
10731 if test "x$ac_cv_lib_soname_Xext" != xNONE
10733 cat >>confdefs.h <<_ACEOF
10734 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10738 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
10739 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
10740 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10741 echo $ECHO_N "(cached) $ECHO_C" >&6
10743 ac_get_soname_save_LIBS=$LIBS
10744 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10745 cat >conftest.$ac_ext <<_ACEOF
10746 #line $LINENO "configure"
10747 #include "confdefs.h"
10749 /* Override any gcc2 internal prototype to avoid an error. */
10753 /* We use char because int might match the return type of a gcc2
10754 builtin and then its argument prototype would still apply. */
10755 char XRenderQueryExtension ();
10759 XRenderQueryExtension ();
10764 rm -f conftest.$ac_objext conftest$ac_exeext
10765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10766 (eval $ac_link) 2>&5
10768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769 (exit $ac_status); } &&
10770 { ac_try='test -s conftest$ac_exeext'
10771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10772 (eval $ac_try) 2>&5
10774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10775 (exit $ac_status); }; }; then
10776 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10777 if test "x$ac_cv_lib_soname_Xrender" = "x"
10779 ac_cv_lib_soname_Xrender="libXrender.so"
10782 echo "$as_me: failed program was:" >&5
10783 cat conftest.$ac_ext >&5
10784 ac_cv_lib_soname_Xrender="libXrender.so"
10786 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10787 LIBS=$ac_get_soname_save_LIBS
10789 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10790 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
10791 if test "x$ac_cv_lib_soname_Xrender" != xNONE
10793 cat >>confdefs.h <<_ACEOF
10794 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10798 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
10799 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
10800 if test "${ac_cv_lib_soname_freetype+set}" = set; then
10801 echo $ECHO_N "(cached) $ECHO_C" >&6
10803 ac_get_soname_save_LIBS=$LIBS
10804 LIBS="-lfreetype $X_LIBS $LIBS"
10805 cat >conftest.$ac_ext <<_ACEOF
10806 #line $LINENO "configure"
10807 #include "confdefs.h"
10809 /* Override any gcc2 internal prototype to avoid an error. */
10813 /* We use char because int might match the return type of a gcc2
10814 builtin and then its argument prototype would still apply. */
10815 char FT_Init_FreeType ();
10819 FT_Init_FreeType ();
10824 rm -f conftest.$ac_objext conftest$ac_exeext
10825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10826 (eval $ac_link) 2>&5
10828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 (exit $ac_status); } &&
10830 { ac_try='test -s conftest$ac_exeext'
10831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10832 (eval $ac_try) 2>&5
10834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10835 (exit $ac_status); }; }; then
10836 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10837 if test "x$ac_cv_lib_soname_freetype" = "x"
10839 ac_cv_lib_soname_freetype="libfreetype.so"
10842 echo "$as_me: failed program was:" >&5
10843 cat conftest.$ac_ext >&5
10844 ac_cv_lib_soname_freetype="libfreetype.so"
10846 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10847 LIBS=$ac_get_soname_save_LIBS
10849 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
10850 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
10851 if test "x$ac_cv_lib_soname_freetype" != xNONE
10853 cat >>confdefs.h <<_ACEOF
10854 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10858 echo "$as_me:$LINENO: checking for -lGL soname" >&5
10859 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
10860 if test "${ac_cv_lib_soname_GL+set}" = set; then
10861 echo $ECHO_N "(cached) $ECHO_C" >&6
10863 ac_get_soname_save_LIBS=$LIBS
10864 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
10865 cat >conftest.$ac_ext <<_ACEOF
10866 #line $LINENO "configure"
10867 #include "confdefs.h"
10869 /* Override any gcc2 internal prototype to avoid an error. */
10873 /* We use char because int might match the return type of a gcc2
10874 builtin and then its argument prototype would still apply. */
10875 char glXQueryExtension ();
10879 glXQueryExtension ();
10884 rm -f conftest.$ac_objext conftest$ac_exeext
10885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10886 (eval $ac_link) 2>&5
10888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10889 (exit $ac_status); } &&
10890 { ac_try='test -s conftest$ac_exeext'
10891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10892 (eval $ac_try) 2>&5
10894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10895 (exit $ac_status); }; }; then
10896 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10897 if test "x$ac_cv_lib_soname_GL" = "x"
10899 ac_cv_lib_soname_GL="libGL.so"
10902 echo "$as_me: failed program was:" >&5
10903 cat conftest.$ac_ext >&5
10904 ac_cv_lib_soname_GL="libGL.so"
10906 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10907 LIBS=$ac_get_soname_save_LIBS
10909 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10910 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
10911 if test "x$ac_cv_lib_soname_GL" != xNONE
10913 cat >>confdefs.h <<_ACEOF
10914 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10918 echo "$as_me:$LINENO: checking for -lcups soname" >&5
10919 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
10920 if test "${ac_cv_lib_soname_cups+set}" = set; then
10921 echo $ECHO_N "(cached) $ECHO_C" >&6
10923 ac_get_soname_save_LIBS=$LIBS
10924 LIBS="-lcups $LIBS"
10925 cat >conftest.$ac_ext <<_ACEOF
10926 #line $LINENO "configure"
10927 #include "confdefs.h"
10929 /* Override any gcc2 internal prototype to avoid an error. */
10933 /* We use char because int might match the return type of a gcc2
10934 builtin and then its argument prototype would still apply. */
10935 char cupsGetDefault ();
10944 rm -f conftest.$ac_objext conftest$ac_exeext
10945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10946 (eval $ac_link) 2>&5
10948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949 (exit $ac_status); } &&
10950 { ac_try='test -s conftest$ac_exeext'
10951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10952 (eval $ac_try) 2>&5
10954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955 (exit $ac_status); }; }; then
10956 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10957 if test "x$ac_cv_lib_soname_cups" = "x"
10959 ac_cv_lib_soname_cups="libcups.so"
10962 echo "$as_me: failed program was:" >&5
10963 cat conftest.$ac_ext >&5
10964 ac_cv_lib_soname_cups="libcups.so"
10966 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10967 LIBS=$ac_get_soname_save_LIBS
10969 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
10970 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
10971 if test "x$ac_cv_lib_soname_cups" != xNONE
10973 cat >>confdefs.h <<_ACEOF
10974 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
10978 echo "$as_me:$LINENO: checking for -ljack soname" >&5
10979 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
10980 if test "${ac_cv_lib_soname_jack+set}" = set; then
10981 echo $ECHO_N "(cached) $ECHO_C" >&6
10983 ac_get_soname_save_LIBS=$LIBS
10984 LIBS="-ljack $LIBS"
10985 cat >conftest.$ac_ext <<_ACEOF
10986 #line $LINENO "configure"
10987 #include "confdefs.h"
10989 /* Override any gcc2 internal prototype to avoid an error. */
10993 /* We use char because int might match the return type of a gcc2
10994 builtin and then its argument prototype would still apply. */
10995 char jack_client_new ();
10999 jack_client_new ();
11004 rm -f conftest.$ac_objext conftest$ac_exeext
11005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11006 (eval $ac_link) 2>&5
11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009 (exit $ac_status); } &&
11010 { ac_try='test -s conftest$ac_exeext'
11011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11012 (eval $ac_try) 2>&5
11014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015 (exit $ac_status); }; }; then
11016 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
11017 if test "x$ac_cv_lib_soname_jack" = "x"
11019 ac_cv_lib_soname_jack="libjack.so"
11022 echo "$as_me: failed program was:" >&5
11023 cat conftest.$ac_ext >&5
11024 ac_cv_lib_soname_jack="libjack.so"
11026 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11027 LIBS=$ac_get_soname_save_LIBS
11029 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
11030 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
11031 if test "x$ac_cv_lib_soname_jack" != xNONE
11033 cat >>confdefs.h <<_ACEOF
11034 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
11041 wine_cv_libc_reentrant=no
11042 echo "$as_me:$LINENO: checking for reentrant libc: __errno_location" >&5
11043 echo $ECHO_N "checking for reentrant libc: __errno_location... $ECHO_C" >&6
11044 if test "${wine_cv_libc_r___errno_location+set}" = set; then
11045 echo $ECHO_N "(cached) $ECHO_C" >&6
11047 if test "$cross_compiling" = yes; then
11048 wine_cv_libc_r___errno_location=yes
11050 cat >conftest.$ac_ext <<_ACEOF
11051 #line $LINENO "configure"
11052 #include "confdefs.h"
11054 int *__errno_location(){return &myerrno;}
11055 main(){close(333); close(333); exit(!myerrno);}
11057 rm -f conftest$ac_exeext
11058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11059 (eval $ac_link) 2>&5
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11064 (eval $ac_try) 2>&5
11066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067 (exit $ac_status); }; }; then
11068 wine_cv_libc_r___errno_location=yes
11070 echo "$as_me: program exited with status $ac_status" >&5
11071 echo "$as_me: failed program was:" >&5
11072 cat conftest.$ac_ext >&5
11073 ( exit $ac_status )
11074 wine_cv_libc_r___errno_location=no
11076 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11079 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno_location" >&5
11080 echo "${ECHO_T}$wine_cv_libc_r___errno_location" >&6
11081 if test "$wine_cv_libc_r___errno_location" = "yes"; then
11082 wine_cv_libc_reentrant=__errno_location
11084 echo "$as_me:$LINENO: checking for reentrant libc: __error" >&5
11085 echo $ECHO_N "checking for reentrant libc: __error... $ECHO_C" >&6
11086 if test "${wine_cv_libc_r___error+set}" = set; then
11087 echo $ECHO_N "(cached) $ECHO_C" >&6
11089 if test "$cross_compiling" = yes; then
11090 wine_cv_libc_r___error=yes
11092 cat >conftest.$ac_ext <<_ACEOF
11093 #line $LINENO "configure"
11094 #include "confdefs.h"
11096 int *__error(){return &myerrno;}
11097 main(){close(333); close(333); exit(!myerrno);}
11099 rm -f conftest$ac_exeext
11100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11101 (eval $ac_link) 2>&5
11103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11106 (eval $ac_try) 2>&5
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 (exit $ac_status); }; }; then
11110 wine_cv_libc_r___error=yes
11112 echo "$as_me: program exited with status $ac_status" >&5
11113 echo "$as_me: failed program was:" >&5
11114 cat conftest.$ac_ext >&5
11115 ( exit $ac_status )
11116 wine_cv_libc_r___error=no
11118 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11121 echo "$as_me:$LINENO: result: $wine_cv_libc_r___error" >&5
11122 echo "${ECHO_T}$wine_cv_libc_r___error" >&6
11123 if test "$wine_cv_libc_r___error" = "yes"; then
11124 wine_cv_libc_reentrant=__error
11126 echo "$as_me:$LINENO: checking for reentrant libc: ___errno" >&5
11127 echo $ECHO_N "checking for reentrant libc: ___errno... $ECHO_C" >&6
11128 if test "${wine_cv_libc_r____errno+set}" = set; then
11129 echo $ECHO_N "(cached) $ECHO_C" >&6
11131 if test "$cross_compiling" = yes; then
11132 wine_cv_libc_r____errno=yes
11134 cat >conftest.$ac_ext <<_ACEOF
11135 #line $LINENO "configure"
11136 #include "confdefs.h"
11138 int *___errno(){return &myerrno;}
11139 main(){close(333); close(333); exit(!myerrno);}
11141 rm -f conftest$ac_exeext
11142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11143 (eval $ac_link) 2>&5
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11148 (eval $ac_try) 2>&5
11150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 (exit $ac_status); }; }; then
11152 wine_cv_libc_r____errno=yes
11154 echo "$as_me: program exited with status $ac_status" >&5
11155 echo "$as_me: failed program was:" >&5
11156 cat conftest.$ac_ext >&5
11157 ( exit $ac_status )
11158 wine_cv_libc_r____errno=no
11160 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11163 echo "$as_me:$LINENO: result: $wine_cv_libc_r____errno" >&5
11164 echo "${ECHO_T}$wine_cv_libc_r____errno" >&6
11165 if test "$wine_cv_libc_r____errno" = "yes"; then
11166 wine_cv_libc_reentrant=___errno
11168 echo "$as_me:$LINENO: checking for reentrant libc: __thr_errno" >&5
11169 echo $ECHO_N "checking for reentrant libc: __thr_errno... $ECHO_C" >&6
11170 if test "${wine_cv_libc_r___thr_errno+set}" = set; then
11171 echo $ECHO_N "(cached) $ECHO_C" >&6
11173 if test "$cross_compiling" = yes; then
11174 wine_cv_libc_r___thr_errno=yes
11176 cat >conftest.$ac_ext <<_ACEOF
11177 #line $LINENO "configure"
11178 #include "confdefs.h"
11180 int *__thr_errno(){return &myerrno;}
11181 main(){close(333); close(333); exit(!myerrno);}
11183 rm -f conftest$ac_exeext
11184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11185 (eval $ac_link) 2>&5
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11190 (eval $ac_try) 2>&5
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); }; }; then
11194 wine_cv_libc_r___thr_errno=yes
11196 echo "$as_me: program exited with status $ac_status" >&5
11197 echo "$as_me: failed program was:" >&5
11198 cat conftest.$ac_ext >&5
11199 ( exit $ac_status )
11200 wine_cv_libc_r___thr_errno=no
11202 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11205 echo "$as_me:$LINENO: result: $wine_cv_libc_r___thr_errno" >&5
11206 echo "${ECHO_T}$wine_cv_libc_r___thr_errno" >&6
11207 if test "$wine_cv_libc_r___thr_errno" = "yes"; then
11208 wine_cv_libc_reentrant=__thr_errno
11210 echo "$as_me:$LINENO: checking for reentrant libc: __errno" >&5
11211 echo $ECHO_N "checking for reentrant libc: __errno... $ECHO_C" >&6
11212 if test "${wine_cv_libc_r___errno+set}" = set; then
11213 echo $ECHO_N "(cached) $ECHO_C" >&6
11215 if test "$cross_compiling" = yes; then
11216 wine_cv_libc_r___errno=yes
11218 cat >conftest.$ac_ext <<_ACEOF
11219 #line $LINENO "configure"
11220 #include "confdefs.h"
11222 int *__errno(){return &myerrno;}
11223 main(){close(333); close(333); exit(!myerrno);}
11225 rm -f conftest$ac_exeext
11226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11227 (eval $ac_link) 2>&5
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11232 (eval $ac_try) 2>&5
11234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235 (exit $ac_status); }; }; then
11236 wine_cv_libc_r___errno=yes
11238 echo "$as_me: program exited with status $ac_status" >&5
11239 echo "$as_me: failed program was:" >&5
11240 cat conftest.$ac_ext >&5
11241 ( exit $ac_status )
11242 wine_cv_libc_r___errno=no
11244 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11247 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno" >&5
11248 echo "${ECHO_T}$wine_cv_libc_r___errno" >&6
11249 if test "$wine_cv_libc_r___errno" = "yes"; then
11250 wine_cv_libc_reentrant=__errno
11263 if test "$wine_cv_libc_reentrant" != "no"
11266 cat >>confdefs.h <<_ACEOF
11267 #define ERRNO_LOCATION $wine_cv_libc_reentrant
11273 if test "$have_x" = "yes"
11275 echo "$as_me:$LINENO: checking for reentrant X libraries" >&5
11276 echo $ECHO_N "checking for reentrant X libraries... $ECHO_C" >&6
11277 if test "${wine_cv_x_reentrant+set}" = set; then
11278 echo $ECHO_N "(cached) $ECHO_C" >&6
11281 for dir in "$x_libraries" /usr/lib /usr/local/lib /lib; do
11282 if test -r $dir/libX11.so; then
11283 libX11_check="-D $dir/libX11.so"
11286 if test -r $dir/libX11.a; then
11287 libX11_check="$dir/libX11.a"
11291 if test "$libX11_check" != "none"; then
11292 if nm $libX11_check | grep $wine_cv_libc_reentrant >/dev/null 2>&1
11294 wine_cv_x_reentrant=yes
11296 wine_cv_x_reentrant=no
11299 wine_cv_x_reentrant=unknown
11302 echo "$as_me:$LINENO: result: $wine_cv_x_reentrant" >&5
11303 echo "${ECHO_T}$wine_cv_x_reentrant" >&6
11307 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
11308 # for constant arguments. Useless!
11309 echo "$as_me:$LINENO: checking for working alloca.h" >&5
11310 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
11311 if test "${ac_cv_working_alloca_h+set}" = set; then
11312 echo $ECHO_N "(cached) $ECHO_C" >&6
11314 cat >conftest.$ac_ext <<_ACEOF
11315 #line $LINENO "configure"
11316 #include "confdefs.h"
11317 #include <alloca.h>
11321 char *p = (char *) alloca (2 * sizeof (int));
11326 rm -f conftest.$ac_objext conftest$ac_exeext
11327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11328 (eval $ac_link) 2>&5
11330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331 (exit $ac_status); } &&
11332 { ac_try='test -s conftest$ac_exeext'
11333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11334 (eval $ac_try) 2>&5
11336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11337 (exit $ac_status); }; }; then
11338 ac_cv_working_alloca_h=yes
11340 echo "$as_me: failed program was:" >&5
11341 cat conftest.$ac_ext >&5
11342 ac_cv_working_alloca_h=no
11344 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11346 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
11347 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
11348 if test $ac_cv_working_alloca_h = yes; then
11350 cat >>confdefs.h <<\_ACEOF
11351 #define HAVE_ALLOCA_H 1
11356 echo "$as_me:$LINENO: checking for alloca" >&5
11357 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
11358 if test "${ac_cv_func_alloca_works+set}" = set; then
11359 echo $ECHO_N "(cached) $ECHO_C" >&6
11361 cat >conftest.$ac_ext <<_ACEOF
11362 #line $LINENO "configure"
11363 #include "confdefs.h"
11365 # define alloca __builtin_alloca
11368 # include <malloc.h>
11369 # define alloca _alloca
11372 # include <alloca.h>
11377 # ifndef alloca /* predefined by HP cc +Olibcalls */
11388 char *p = (char *) alloca (1);
11393 rm -f conftest.$ac_objext conftest$ac_exeext
11394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11395 (eval $ac_link) 2>&5
11397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 (exit $ac_status); } &&
11399 { ac_try='test -s conftest$ac_exeext'
11400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11401 (eval $ac_try) 2>&5
11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404 (exit $ac_status); }; }; then
11405 ac_cv_func_alloca_works=yes
11407 echo "$as_me: failed program was:" >&5
11408 cat conftest.$ac_ext >&5
11409 ac_cv_func_alloca_works=no
11411 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11413 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
11414 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
11416 if test $ac_cv_func_alloca_works = yes; then
11418 cat >>confdefs.h <<\_ACEOF
11419 #define HAVE_ALLOCA 1
11423 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
11424 # that cause trouble. Some versions do not even contain alloca or
11425 # contain a buggy version. If you still want to use their alloca,
11426 # use ar to extract alloca.o from them instead of compiling alloca.c.
11428 ALLOCA=alloca.$ac_objext
11430 cat >>confdefs.h <<\_ACEOF
11435 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
11436 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
11437 if test "${ac_cv_os_cray+set}" = set; then
11438 echo $ECHO_N "(cached) $ECHO_C" >&6
11440 cat >conftest.$ac_ext <<_ACEOF
11441 #line $LINENO "configure"
11442 #include "confdefs.h"
11443 #if defined(CRAY) && ! defined(CRAY2)
11450 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11451 $EGREP "webecray" >/dev/null 2>&1; then
11459 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
11460 echo "${ECHO_T}$ac_cv_os_cray" >&6
11461 if test $ac_cv_os_cray = yes; then
11462 for ac_func in _getb67 GETB67 getb67; do
11463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11464 echo "$as_me:$LINENO: checking for $ac_func" >&5
11465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11466 if eval "test \"\${$as_ac_var+set}\" = set"; then
11467 echo $ECHO_N "(cached) $ECHO_C" >&6
11469 cat >conftest.$ac_ext <<_ACEOF
11470 #line $LINENO "configure"
11471 #include "confdefs.h"
11472 /* System header to define __stub macros and hopefully few prototypes,
11473 which can conflict with char $ac_func (); below. */
11474 #include <assert.h>
11475 /* Override any gcc2 internal prototype to avoid an error. */
11479 /* We use char because int might match the return type of a gcc2
11480 builtin and then its argument prototype would still apply. */
11487 /* The GNU C library defines this for functions which it implements
11488 to always fail with ENOSYS. Some functions are actually named
11489 something starting with __ and the normal name is an alias. */
11490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11500 rm -f conftest.$ac_objext conftest$ac_exeext
11501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11502 (eval $ac_link) 2>&5
11504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11505 (exit $ac_status); } &&
11506 { ac_try='test -s conftest$ac_exeext'
11507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11508 (eval $ac_try) 2>&5
11510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11511 (exit $ac_status); }; }; then
11512 eval "$as_ac_var=yes"
11514 echo "$as_me: failed program was:" >&5
11515 cat conftest.$ac_ext >&5
11516 eval "$as_ac_var=no"
11518 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11522 if test `eval echo '${'$as_ac_var'}'` = yes; then
11524 cat >>confdefs.h <<_ACEOF
11525 #define CRAY_STACKSEG_END $ac_func
11534 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
11535 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
11536 if test "${ac_cv_c_stack_direction+set}" = set; then
11537 echo $ECHO_N "(cached) $ECHO_C" >&6
11539 if test "$cross_compiling" = yes; then
11540 ac_cv_c_stack_direction=0
11542 cat >conftest.$ac_ext <<_ACEOF
11543 #line $LINENO "configure"
11544 #include "confdefs.h"
11546 find_stack_direction ()
11548 static char *addr = 0;
11553 return find_stack_direction ();
11556 return (&dummy > addr) ? 1 : -1;
11562 exit (find_stack_direction () < 0);
11565 rm -f conftest$ac_exeext
11566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11567 (eval $ac_link) 2>&5
11569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11570 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11572 (eval $ac_try) 2>&5
11574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 (exit $ac_status); }; }; then
11576 ac_cv_c_stack_direction=1
11578 echo "$as_me: program exited with status $ac_status" >&5
11579 echo "$as_me: failed program was:" >&5
11580 cat conftest.$ac_ext >&5
11581 ( exit $ac_status )
11582 ac_cv_c_stack_direction=-1
11584 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11587 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
11588 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
11590 cat >>confdefs.h <<_ACEOF
11591 #define STACK_DIRECTION $ac_cv_c_stack_direction
11686 pthread_getspecific \
11687 pthread_key_create \
11688 pthread_mutex_lock \
11689 pthread_mutex_unlock \
11690 pthread_setspecific \
11710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11711 echo "$as_me:$LINENO: checking for $ac_func" >&5
11712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11713 if eval "test \"\${$as_ac_var+set}\" = set"; then
11714 echo $ECHO_N "(cached) $ECHO_C" >&6
11716 cat >conftest.$ac_ext <<_ACEOF
11717 #line $LINENO "configure"
11718 #include "confdefs.h"
11719 /* System header to define __stub macros and hopefully few prototypes,
11720 which can conflict with char $ac_func (); below. */
11721 #include <assert.h>
11722 /* Override any gcc2 internal prototype to avoid an error. */
11726 /* We use char because int might match the return type of a gcc2
11727 builtin and then its argument prototype would still apply. */
11734 /* The GNU C library defines this for functions which it implements
11735 to always fail with ENOSYS. Some functions are actually named
11736 something starting with __ and the normal name is an alias. */
11737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11747 rm -f conftest.$ac_objext conftest$ac_exeext
11748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11749 (eval $ac_link) 2>&5
11751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11752 (exit $ac_status); } &&
11753 { ac_try='test -s conftest$ac_exeext'
11754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11755 (eval $ac_try) 2>&5
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); }; }; then
11759 eval "$as_ac_var=yes"
11761 echo "$as_me: failed program was:" >&5
11762 cat conftest.$ac_ext >&5
11763 eval "$as_ac_var=no"
11765 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11769 if test `eval echo '${'$as_ac_var'}'` = yes; then
11770 cat >>confdefs.h <<_ACEOF
11771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11872 netinet/in_systm.h \
11920 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11922 echo "$as_me:$LINENO: checking for $ac_header" >&5
11923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11925 echo $ECHO_N "(cached) $ECHO_C" >&6
11927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11928 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11930 # Is the header compilable?
11931 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11932 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11933 cat >conftest.$ac_ext <<_ACEOF
11934 #line $LINENO "configure"
11935 #include "confdefs.h"
11936 $ac_includes_default
11937 #include <$ac_header>
11939 rm -f conftest.$ac_objext
11940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11941 (eval $ac_compile) 2>&5
11943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11944 (exit $ac_status); } &&
11945 { ac_try='test -s conftest.$ac_objext'
11946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11947 (eval $ac_try) 2>&5
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); }; }; then
11951 ac_header_compiler=yes
11953 echo "$as_me: failed program was:" >&5
11954 cat conftest.$ac_ext >&5
11955 ac_header_compiler=no
11957 rm -f conftest.$ac_objext conftest.$ac_ext
11958 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11959 echo "${ECHO_T}$ac_header_compiler" >&6
11961 # Is the header present?
11962 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11963 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11964 cat >conftest.$ac_ext <<_ACEOF
11965 #line $LINENO "configure"
11966 #include "confdefs.h"
11967 #include <$ac_header>
11969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11970 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11972 grep -v '^ *+' conftest.er1 >conftest.err
11974 cat conftest.err >&5
11975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 (exit $ac_status); } >/dev/null; then
11977 if test -s conftest.err; then
11978 ac_cpp_err=$ac_c_preproc_warn_flag
11985 if test -z "$ac_cpp_err"; then
11986 ac_header_preproc=yes
11988 echo "$as_me: failed program was:" >&5
11989 cat conftest.$ac_ext >&5
11990 ac_header_preproc=no
11992 rm -f conftest.err conftest.$ac_ext
11993 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11994 echo "${ECHO_T}$ac_header_preproc" >&6
11996 # So? What about this header?
11997 case $ac_header_compiler:$ac_header_preproc in
11999 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12000 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12002 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12004 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12005 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12006 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12007 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12009 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12011 echo "$as_me:$LINENO: checking for $ac_header" >&5
12012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12014 echo $ECHO_N "(cached) $ECHO_C" >&6
12016 eval "$as_ac_Header=$ac_header_preproc"
12018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12019 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12022 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12023 cat >>confdefs.h <<_ACEOF
12024 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12031 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
12032 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
12033 if test "${ac_cv_header_stat_broken+set}" = set; then
12034 echo $ECHO_N "(cached) $ECHO_C" >&6
12036 cat >conftest.$ac_ext <<_ACEOF
12037 #line $LINENO "configure"
12038 #include "confdefs.h"
12039 #include <sys/types.h>
12040 #include <sys/stat.h>
12042 #if defined(S_ISBLK) && defined(S_IFDIR)
12043 # if S_ISBLK (S_IFDIR)
12048 #if defined(S_ISBLK) && defined(S_IFCHR)
12049 # if S_ISBLK (S_IFCHR)
12054 #if defined(S_ISLNK) && defined(S_IFREG)
12055 # if S_ISLNK (S_IFREG)
12060 #if defined(S_ISSOCK) && defined(S_IFREG)
12061 # if S_ISSOCK (S_IFREG)
12067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12068 $EGREP "You lose" >/dev/null 2>&1; then
12069 ac_cv_header_stat_broken=yes
12071 ac_cv_header_stat_broken=no
12076 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
12077 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
12078 if test $ac_cv_header_stat_broken = yes; then
12080 cat >>confdefs.h <<\_ACEOF
12081 #define STAT_MACROS_BROKEN 1
12090 for ac_header in sys/mount.h sys/user.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_PARAM_H
12103 # include <sys/param.h>
12106 #include <$ac_header>
12108 rm -f conftest.$ac_objext
12109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12110 (eval $ac_compile) 2>&5
12112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12113 (exit $ac_status); } &&
12114 { ac_try='test -s conftest.$ac_objext'
12115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12116 (eval $ac_try) 2>&5
12118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119 (exit $ac_status); }; }; then
12120 eval "$as_ac_Header=yes"
12122 echo "$as_me: failed program was:" >&5
12123 cat conftest.$ac_ext >&5
12124 eval "$as_ac_Header=no"
12126 rm -f conftest.$ac_objext conftest.$ac_ext
12128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12130 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12131 cat >>confdefs.h <<_ACEOF
12132 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12141 for ac_header in net/if.h
12143 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12144 echo "$as_me:$LINENO: checking for $ac_header" >&5
12145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12147 echo $ECHO_N "(cached) $ECHO_C" >&6
12149 cat >conftest.$ac_ext <<_ACEOF
12150 #line $LINENO "configure"
12151 #include "confdefs.h"
12152 #include <sys/types.h>
12153 #if HAVE_SYS_SOCKET_H
12154 # include <sys/socket.h>
12157 #include <$ac_header>
12159 rm -f conftest.$ac_objext
12160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12161 (eval $ac_compile) 2>&5
12163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12164 (exit $ac_status); } &&
12165 { ac_try='test -s conftest.$ac_objext'
12166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12167 (eval $ac_try) 2>&5
12169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12170 (exit $ac_status); }; }; then
12171 eval "$as_ac_Header=yes"
12173 echo "$as_me: failed program was:" >&5
12174 cat conftest.$ac_ext >&5
12175 eval "$as_ac_Header=no"
12177 rm -f conftest.$ac_objext conftest.$ac_ext
12179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12180 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12181 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12182 cat >>confdefs.h <<_ACEOF
12183 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12192 for ac_header in netinet/ip.h
12194 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12195 echo "$as_me:$LINENO: checking for $ac_header" >&5
12196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12198 echo $ECHO_N "(cached) $ECHO_C" >&6
12200 cat >conftest.$ac_ext <<_ACEOF
12201 #line $LINENO "configure"
12202 #include "confdefs.h"
12203 #include <sys/types.h>
12204 #if HAVE_SYS_SOCKET_H
12205 # include <sys/socket.h>
12207 #if HAVE_NETINET_IN_SYSTM_H
12208 # include <netinet/in_systm.h>
12211 #include <$ac_header>
12213 rm -f conftest.$ac_objext
12214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12215 (eval $ac_compile) 2>&5
12217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12218 (exit $ac_status); } &&
12219 { ac_try='test -s conftest.$ac_objext'
12220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12221 (eval $ac_try) 2>&5
12223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12224 (exit $ac_status); }; }; then
12225 eval "$as_ac_Header=yes"
12227 echo "$as_me: failed program was:" >&5
12228 cat conftest.$ac_ext >&5
12229 eval "$as_ac_Header=no"
12231 rm -f conftest.$ac_objext conftest.$ac_ext
12233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12236 cat >>confdefs.h <<_ACEOF
12237 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12246 for ac_header in resolv.h
12248 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12249 echo "$as_me:$LINENO: checking for $ac_header" >&5
12250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12252 echo $ECHO_N "(cached) $ECHO_C" >&6
12254 cat >conftest.$ac_ext <<_ACEOF
12255 #line $LINENO "configure"
12256 #include "confdefs.h"
12257 #include <sys/types.h>
12258 #if HAVE_SYS_SOCKET_H
12259 # include <sys/socket.h>
12262 #include <$ac_header>
12264 rm -f conftest.$ac_objext
12265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12266 (eval $ac_compile) 2>&5
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); } &&
12270 { ac_try='test -s conftest.$ac_objext'
12271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12272 (eval $ac_try) 2>&5
12274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12275 (exit $ac_status); }; }; then
12276 eval "$as_ac_Header=yes"
12278 echo "$as_me: failed program was:" >&5
12279 cat conftest.$ac_ext >&5
12280 eval "$as_ac_Header=no"
12282 rm -f conftest.$ac_objext conftest.$ac_ext
12284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12285 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12286 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12287 cat >>confdefs.h <<_ACEOF
12288 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12297 for ac_header in ucontext.h
12299 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12300 echo "$as_me:$LINENO: checking for $ac_header" >&5
12301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12303 echo $ECHO_N "(cached) $ECHO_C" >&6
12305 cat >conftest.$ac_ext <<_ACEOF
12306 #line $LINENO "configure"
12307 #include "confdefs.h"
12308 #include <signal.h>
12310 #include <$ac_header>
12312 rm -f conftest.$ac_objext
12313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12314 (eval $ac_compile) 2>&5
12316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 (exit $ac_status); } &&
12318 { ac_try='test -s conftest.$ac_objext'
12319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12320 (eval $ac_try) 2>&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); }; }; then
12324 eval "$as_ac_Header=yes"
12326 echo "$as_me: failed program was:" >&5
12327 cat conftest.$ac_ext >&5
12328 eval "$as_ac_Header=no"
12330 rm -f conftest.$ac_objext conftest.$ac_ext
12332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12335 cat >>confdefs.h <<_ACEOF
12336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12345 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
12346 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
12347 if test "${ac_cv_c_const+set}" = set; then
12348 echo $ECHO_N "(cached) $ECHO_C" >&6
12350 cat >conftest.$ac_ext <<_ACEOF
12351 #line $LINENO "configure"
12352 #include "confdefs.h"
12357 /* FIXME: Include the comments suggested by Paul. */
12358 #ifndef __cplusplus
12359 /* Ultrix mips cc rejects this. */
12360 typedef int charset[2];
12362 /* SunOS 4.1.1 cc rejects this. */
12363 char const *const *ccp;
12365 /* NEC SVR4.0.2 mips cc rejects this. */
12366 struct point {int x, y;};
12367 static struct point const zero = {0,0};
12368 /* AIX XL C 1.02.0.0 rejects this.
12369 It does not let you subtract one const X* pointer from another in
12370 an arm of an if-expression whose if-part is not a constant
12372 const char *g = "string";
12373 ccp = &g + (g ? g-g : 0);
12374 /* HPUX 7.0 cc rejects these. */
12377 ccp = (char const *const *) p;
12378 { /* SCO 3.2v4 cc rejects this. */
12380 char const *s = 0 ? (char *) 0 : (char const *) 0;
12384 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12385 int x[] = {25, 17};
12386 const int *foo = &x[0];
12389 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12390 typedef const int *iptr;
12394 { /* AIX XL C 1.02.0.0 rejects this saying
12395 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12396 struct s { int j; const int *ap[3]; };
12397 struct s *b; b->j = 5;
12399 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12400 const int foo = 10;
12408 rm -f conftest.$ac_objext
12409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12410 (eval $ac_compile) 2>&5
12412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12413 (exit $ac_status); } &&
12414 { ac_try='test -s conftest.$ac_objext'
12415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12416 (eval $ac_try) 2>&5
12418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12419 (exit $ac_status); }; }; then
12422 echo "$as_me: failed program was:" >&5
12423 cat conftest.$ac_ext >&5
12426 rm -f conftest.$ac_objext conftest.$ac_ext
12428 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
12429 echo "${ECHO_T}$ac_cv_c_const" >&6
12430 if test $ac_cv_c_const = no; then
12432 cat >>confdefs.h <<\_ACEOF
12438 echo "$as_me:$LINENO: checking for inline" >&5
12439 echo $ECHO_N "checking for inline... $ECHO_C" >&6
12440 if test "${ac_cv_c_inline+set}" = set; then
12441 echo $ECHO_N "(cached) $ECHO_C" >&6
12444 for ac_kw in inline __inline__ __inline; do
12445 cat >conftest.$ac_ext <<_ACEOF
12446 #line $LINENO "configure"
12447 #include "confdefs.h"
12448 #ifndef __cplusplus
12450 static $ac_kw foo_t static_foo () {return 0; }
12451 $ac_kw foo_t foo () {return 0; }
12455 rm -f conftest.$ac_objext
12456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12457 (eval $ac_compile) 2>&5
12459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12460 (exit $ac_status); } &&
12461 { ac_try='test -s conftest.$ac_objext'
12462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12463 (eval $ac_try) 2>&5
12465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466 (exit $ac_status); }; }; then
12467 ac_cv_c_inline=$ac_kw; break
12469 echo "$as_me: failed program was:" >&5
12470 cat conftest.$ac_ext >&5
12472 rm -f conftest.$ac_objext conftest.$ac_ext
12476 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
12477 echo "${ECHO_T}$ac_cv_c_inline" >&6
12478 case $ac_cv_c_inline in
12481 cat >>confdefs.h <<\_ACEOF
12485 *) cat >>confdefs.h <<_ACEOF
12486 #define inline $ac_cv_c_inline
12491 echo "$as_me:$LINENO: checking for mode_t" >&5
12492 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
12493 if test "${ac_cv_type_mode_t+set}" = set; then
12494 echo $ECHO_N "(cached) $ECHO_C" >&6
12496 cat >conftest.$ac_ext <<_ACEOF
12497 #line $LINENO "configure"
12498 #include "confdefs.h"
12499 $ac_includes_default
12505 if (sizeof (mode_t))
12511 rm -f conftest.$ac_objext
12512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12513 (eval $ac_compile) 2>&5
12515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516 (exit $ac_status); } &&
12517 { ac_try='test -s conftest.$ac_objext'
12518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12519 (eval $ac_try) 2>&5
12521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12522 (exit $ac_status); }; }; then
12523 ac_cv_type_mode_t=yes
12525 echo "$as_me: failed program was:" >&5
12526 cat conftest.$ac_ext >&5
12527 ac_cv_type_mode_t=no
12529 rm -f conftest.$ac_objext conftest.$ac_ext
12531 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
12532 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
12533 if test $ac_cv_type_mode_t = yes; then
12535 cat >>confdefs.h <<_ACEOF
12536 #define HAVE_MODE_T 1
12541 echo "$as_me:$LINENO: checking for off_t" >&5
12542 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
12543 if test "${ac_cv_type_off_t+set}" = set; then
12544 echo $ECHO_N "(cached) $ECHO_C" >&6
12546 cat >conftest.$ac_ext <<_ACEOF
12547 #line $LINENO "configure"
12548 #include "confdefs.h"
12549 $ac_includes_default
12555 if (sizeof (off_t))
12561 rm -f conftest.$ac_objext
12562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12563 (eval $ac_compile) 2>&5
12565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12566 (exit $ac_status); } &&
12567 { ac_try='test -s conftest.$ac_objext'
12568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12569 (eval $ac_try) 2>&5
12571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12572 (exit $ac_status); }; }; then
12573 ac_cv_type_off_t=yes
12575 echo "$as_me: failed program was:" >&5
12576 cat conftest.$ac_ext >&5
12577 ac_cv_type_off_t=no
12579 rm -f conftest.$ac_objext conftest.$ac_ext
12581 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
12582 echo "${ECHO_T}$ac_cv_type_off_t" >&6
12583 if test $ac_cv_type_off_t = yes; then
12585 cat >>confdefs.h <<_ACEOF
12586 #define HAVE_OFF_T 1
12591 echo "$as_me:$LINENO: checking for pid_t" >&5
12592 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
12593 if test "${ac_cv_type_pid_t+set}" = set; then
12594 echo $ECHO_N "(cached) $ECHO_C" >&6
12596 cat >conftest.$ac_ext <<_ACEOF
12597 #line $LINENO "configure"
12598 #include "confdefs.h"
12599 $ac_includes_default
12605 if (sizeof (pid_t))
12611 rm -f conftest.$ac_objext
12612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12613 (eval $ac_compile) 2>&5
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); } &&
12617 { ac_try='test -s conftest.$ac_objext'
12618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12619 (eval $ac_try) 2>&5
12621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12622 (exit $ac_status); }; }; then
12623 ac_cv_type_pid_t=yes
12625 echo "$as_me: failed program was:" >&5
12626 cat conftest.$ac_ext >&5
12627 ac_cv_type_pid_t=no
12629 rm -f conftest.$ac_objext conftest.$ac_ext
12631 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
12632 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
12633 if test $ac_cv_type_pid_t = yes; then
12635 cat >>confdefs.h <<_ACEOF
12636 #define HAVE_PID_T 1
12641 echo "$as_me:$LINENO: checking for size_t" >&5
12642 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12643 if test "${ac_cv_type_size_t+set}" = set; then
12644 echo $ECHO_N "(cached) $ECHO_C" >&6
12646 cat >conftest.$ac_ext <<_ACEOF
12647 #line $LINENO "configure"
12648 #include "confdefs.h"
12649 $ac_includes_default
12655 if (sizeof (size_t))
12661 rm -f conftest.$ac_objext
12662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12663 (eval $ac_compile) 2>&5
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); } &&
12667 { ac_try='test -s conftest.$ac_objext'
12668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12669 (eval $ac_try) 2>&5
12671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); }; }; then
12673 ac_cv_type_size_t=yes
12675 echo "$as_me: failed program was:" >&5
12676 cat conftest.$ac_ext >&5
12677 ac_cv_type_size_t=no
12679 rm -f conftest.$ac_objext conftest.$ac_ext
12681 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
12682 echo "${ECHO_T}$ac_cv_type_size_t" >&6
12683 if test $ac_cv_type_size_t = yes; then
12685 cat >>confdefs.h <<_ACEOF
12686 #define HAVE_SIZE_T 1
12691 echo "$as_me:$LINENO: checking for ssize_t" >&5
12692 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
12693 if test "${ac_cv_type_ssize_t+set}" = set; then
12694 echo $ECHO_N "(cached) $ECHO_C" >&6
12696 cat >conftest.$ac_ext <<_ACEOF
12697 #line $LINENO "configure"
12698 #include "confdefs.h"
12699 $ac_includes_default
12705 if (sizeof (ssize_t))
12711 rm -f conftest.$ac_objext
12712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12713 (eval $ac_compile) 2>&5
12715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716 (exit $ac_status); } &&
12717 { ac_try='test -s conftest.$ac_objext'
12718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12719 (eval $ac_try) 2>&5
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); }; }; then
12723 ac_cv_type_ssize_t=yes
12725 echo "$as_me: failed program was:" >&5
12726 cat conftest.$ac_ext >&5
12727 ac_cv_type_ssize_t=no
12729 rm -f conftest.$ac_objext conftest.$ac_ext
12731 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
12732 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
12733 if test $ac_cv_type_ssize_t = yes; then
12735 cat >>confdefs.h <<_ACEOF
12736 #define HAVE_SSIZE_T 1
12742 echo "$as_me:$LINENO: checking for long long" >&5
12743 echo $ECHO_N "checking for long long... $ECHO_C" >&6
12744 if test "${ac_cv_type_long_long+set}" = set; then
12745 echo $ECHO_N "(cached) $ECHO_C" >&6
12747 cat >conftest.$ac_ext <<_ACEOF
12748 #line $LINENO "configure"
12749 #include "confdefs.h"
12750 $ac_includes_default
12754 if ((long long *) 0)
12756 if (sizeof (long long))
12762 rm -f conftest.$ac_objext
12763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12764 (eval $ac_compile) 2>&5
12766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); } &&
12768 { ac_try='test -s conftest.$ac_objext'
12769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12770 (eval $ac_try) 2>&5
12772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12773 (exit $ac_status); }; }; then
12774 ac_cv_type_long_long=yes
12776 echo "$as_me: failed program was:" >&5
12777 cat conftest.$ac_ext >&5
12778 ac_cv_type_long_long=no
12780 rm -f conftest.$ac_objext conftest.$ac_ext
12782 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
12783 echo "${ECHO_T}$ac_cv_type_long_long" >&6
12785 echo "$as_me:$LINENO: checking size of long long" >&5
12786 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
12787 if test "${ac_cv_sizeof_long_long+set}" = set; then
12788 echo $ECHO_N "(cached) $ECHO_C" >&6
12790 if test "$ac_cv_type_long_long" = yes; then
12791 # The cast to unsigned long works around a bug in the HP C Compiler
12792 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12793 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12794 # This bug is HP SR number 8606223364.
12795 if test "$cross_compiling" = yes; then
12796 # Depending upon the size, compute the lo and hi bounds.
12797 cat >conftest.$ac_ext <<_ACEOF
12798 #line $LINENO "configure"
12799 #include "confdefs.h"
12800 $ac_includes_default
12804 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
12811 rm -f conftest.$ac_objext
12812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12813 (eval $ac_compile) 2>&5
12815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816 (exit $ac_status); } &&
12817 { ac_try='test -s conftest.$ac_objext'
12818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12819 (eval $ac_try) 2>&5
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); }; }; then
12825 cat >conftest.$ac_ext <<_ACEOF
12826 #line $LINENO "configure"
12827 #include "confdefs.h"
12828 $ac_includes_default
12832 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
12839 rm -f conftest.$ac_objext
12840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12841 (eval $ac_compile) 2>&5
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); } &&
12845 { ac_try='test -s conftest.$ac_objext'
12846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12847 (eval $ac_try) 2>&5
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); }; }; then
12851 ac_hi=$ac_mid; break
12853 echo "$as_me: failed program was:" >&5
12854 cat conftest.$ac_ext >&5
12855 ac_lo=`expr $ac_mid + 1`
12856 if test $ac_lo -le $ac_mid; then
12860 ac_mid=`expr 2 '*' $ac_mid + 1`
12862 rm -f conftest.$ac_objext conftest.$ac_ext
12865 echo "$as_me: failed program was:" >&5
12866 cat conftest.$ac_ext >&5
12867 cat >conftest.$ac_ext <<_ACEOF
12868 #line $LINENO "configure"
12869 #include "confdefs.h"
12870 $ac_includes_default
12874 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
12881 rm -f conftest.$ac_objext
12882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12883 (eval $ac_compile) 2>&5
12885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12886 (exit $ac_status); } &&
12887 { ac_try='test -s conftest.$ac_objext'
12888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12889 (eval $ac_try) 2>&5
12891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12892 (exit $ac_status); }; }; then
12895 cat >conftest.$ac_ext <<_ACEOF
12896 #line $LINENO "configure"
12897 #include "confdefs.h"
12898 $ac_includes_default
12902 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
12909 rm -f conftest.$ac_objext
12910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12911 (eval $ac_compile) 2>&5
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); } &&
12915 { ac_try='test -s conftest.$ac_objext'
12916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12917 (eval $ac_try) 2>&5
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); }; }; then
12921 ac_lo=$ac_mid; break
12923 echo "$as_me: failed program was:" >&5
12924 cat conftest.$ac_ext >&5
12925 ac_hi=`expr '(' $ac_mid ')' - 1`
12926 if test $ac_mid -le $ac_hi; then
12930 ac_mid=`expr 2 '*' $ac_mid`
12932 rm -f conftest.$ac_objext conftest.$ac_ext
12935 echo "$as_me: failed program was:" >&5
12936 cat conftest.$ac_ext >&5
12939 rm -f conftest.$ac_objext conftest.$ac_ext
12941 rm -f conftest.$ac_objext conftest.$ac_ext
12942 # Binary search between lo and hi bounds.
12943 while test "x$ac_lo" != "x$ac_hi"; do
12944 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12945 cat >conftest.$ac_ext <<_ACEOF
12946 #line $LINENO "configure"
12947 #include "confdefs.h"
12948 $ac_includes_default
12952 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
12959 rm -f conftest.$ac_objext
12960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12961 (eval $ac_compile) 2>&5
12963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12964 (exit $ac_status); } &&
12965 { ac_try='test -s conftest.$ac_objext'
12966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12967 (eval $ac_try) 2>&5
12969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12970 (exit $ac_status); }; }; then
12973 echo "$as_me: failed program was:" >&5
12974 cat conftest.$ac_ext >&5
12975 ac_lo=`expr '(' $ac_mid ')' + 1`
12977 rm -f conftest.$ac_objext conftest.$ac_ext
12980 ?*) ac_cv_sizeof_long_long=$ac_lo;;
12981 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
12982 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
12983 { (exit 1); exit 1; }; } ;;
12986 if test "$cross_compiling" = yes; then
12987 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
12988 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
12989 { (exit 1); exit 1; }; }
12991 cat >conftest.$ac_ext <<_ACEOF
12992 #line $LINENO "configure"
12993 #include "confdefs.h"
12994 $ac_includes_default
12995 long longval () { return (long) (sizeof (long long)); }
12996 unsigned long ulongval () { return (long) (sizeof (long long)); }
12998 #include <stdlib.h>
13003 FILE *f = fopen ("conftest.val", "w");
13006 if (((long) (sizeof (long long))) < 0)
13008 long i = longval ();
13009 if (i != ((long) (sizeof (long long))))
13011 fprintf (f, "%ld\n", i);
13015 unsigned long i = ulongval ();
13016 if (i != ((long) (sizeof (long long))))
13018 fprintf (f, "%lu\n", i);
13020 exit (ferror (f) || fclose (f) != 0);
13026 rm -f conftest$ac_exeext
13027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13028 (eval $ac_link) 2>&5
13030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13031 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13033 (eval $ac_try) 2>&5
13035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13036 (exit $ac_status); }; }; then
13037 ac_cv_sizeof_long_long=`cat conftest.val`
13039 echo "$as_me: program exited with status $ac_status" >&5
13040 echo "$as_me: failed program was:" >&5
13041 cat conftest.$ac_ext >&5
13042 ( exit $ac_status )
13043 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
13044 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
13045 { (exit 1); exit 1; }; }
13047 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13052 ac_cv_sizeof_long_long=0
13055 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
13056 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
13057 cat >>confdefs.h <<_ACEOF
13058 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13063 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
13064 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
13065 if test "${wine_cv_linux_input_h+set}" = set; then
13066 echo $ECHO_N "(cached) $ECHO_C" >&6
13068 cat >conftest.$ac_ext <<_ACEOF
13069 #line $LINENO "configure"
13070 #include "confdefs.h"
13072 #include <linux/input.h>
13078 int foo = EVIOCGBIT(EV_ABS,42);
13079 int bar = BTN_PINKIE;
13086 rm -f conftest.$ac_objext
13087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13088 (eval $ac_compile) 2>&5
13090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13091 (exit $ac_status); } &&
13092 { ac_try='test -s conftest.$ac_objext'
13093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13094 (eval $ac_try) 2>&5
13096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); }; }; then
13098 wine_cv_linux_input_h=yes
13100 echo "$as_me: failed program was:" >&5
13101 cat conftest.$ac_ext >&5
13102 wine_cv_linux_input_h=no
13104 rm -f conftest.$ac_objext conftest.$ac_ext
13107 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
13108 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
13109 if test "$wine_cv_linux_input_h" = "yes"
13112 cat >>confdefs.h <<\_ACEOF
13113 #define HAVE_CORRECT_LINUXINPUT_H 1
13119 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13120 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
13121 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
13122 echo $ECHO_N "(cached) $ECHO_C" >&6
13124 cat >conftest.$ac_ext <<_ACEOF
13125 #line $LINENO "configure"
13126 #include "confdefs.h"
13136 struct hostent *result;
13143 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13144 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13150 rm -f conftest.$ac_objext
13151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13152 (eval $ac_compile) 2>&5
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); } &&
13156 { ac_try='test -s conftest.$ac_objext'
13157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13158 (eval $ac_try) 2>&5
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); }; }; then
13162 wine_cv_linux_gethostbyname_r_6=yes
13164 echo "$as_me: failed program was:" >&5
13165 cat conftest.$ac_ext >&5
13166 wine_cv_linux_gethostbyname_r_6=no
13169 rm -f conftest.$ac_objext conftest.$ac_ext
13172 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
13173 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
13174 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13177 cat >>confdefs.h <<\_ACEOF
13178 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
13183 if test "$ac_cv_header_linux_joystick_h" = "yes"
13185 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13186 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
13187 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
13188 echo $ECHO_N "(cached) $ECHO_C" >&6
13190 cat >conftest.$ac_ext <<_ACEOF
13191 #line $LINENO "configure"
13192 #include "confdefs.h"
13194 #include <sys/ioctl.h>
13195 #include <linux/joystick.h>
13197 struct js_event blub;
13198 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13199 #error "no 2.2 header"
13210 rm -f conftest.$ac_objext
13211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13212 (eval $ac_compile) 2>&5
13214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13215 (exit $ac_status); } &&
13216 { ac_try='test -s conftest.$ac_objext'
13217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13218 (eval $ac_try) 2>&5
13220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13221 (exit $ac_status); }; }; then
13222 wine_cv_linux_joystick_22_api=yes
13224 echo "$as_me: failed program was:" >&5
13225 cat conftest.$ac_ext >&5
13226 wine_cv_linux_joystick_22_api=no
13228 rm -f conftest.$ac_objext conftest.$ac_ext
13231 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
13232 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
13233 if test "$wine_cv_linux_joystick_22_api" = "yes"
13236 cat >>confdefs.h <<\_ACEOF
13237 #define HAVE_LINUX_22_JOYSTICK_API 1
13244 if test "$ac_cv_header_sys_vfs_h" = "yes"
13246 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
13247 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
13248 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
13249 echo $ECHO_N "(cached) $ECHO_C" >&6
13251 cat >conftest.$ac_ext <<_ACEOF
13252 #line $LINENO "configure"
13253 #include "confdefs.h"
13255 #include <sys/types.h>
13256 #ifdef HAVE_SYS_PARAM_H
13257 # include <sys/param.h>
13259 #include <sys/vfs.h>
13265 struct statfs stfs;
13267 memset(&stfs,0,sizeof(stfs));
13273 rm -f conftest.$ac_objext
13274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13275 (eval $ac_compile) 2>&5
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); } &&
13279 { ac_try='test -s conftest.$ac_objext'
13280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13281 (eval $ac_try) 2>&5
13283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13284 (exit $ac_status); }; }; then
13285 wine_cv_sys_vfs_has_statfs=yes
13287 echo "$as_me: failed program was:" >&5
13288 cat conftest.$ac_ext >&5
13289 wine_cv_sys_vfs_has_statfs=no
13292 rm -f conftest.$ac_objext conftest.$ac_ext
13295 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
13296 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
13297 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
13300 cat >>confdefs.h <<\_ACEOF
13301 #define STATFS_DEFINED_BY_SYS_VFS 1
13307 if test "$ac_cv_header_sys_statfs_h" = "yes"
13309 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
13310 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
13311 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
13312 echo $ECHO_N "(cached) $ECHO_C" >&6
13314 cat >conftest.$ac_ext <<_ACEOF
13315 #line $LINENO "configure"
13316 #include "confdefs.h"
13318 #include <sys/types.h>
13319 #ifdef HAVE_SYS_PARAM_H
13320 # include <sys/param.h>
13322 #include <sys/statfs.h>
13328 struct statfs stfs;
13334 rm -f conftest.$ac_objext
13335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13336 (eval $ac_compile) 2>&5
13338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13339 (exit $ac_status); } &&
13340 { ac_try='test -s conftest.$ac_objext'
13341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13342 (eval $ac_try) 2>&5
13344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13345 (exit $ac_status); }; }; then
13346 wine_cv_sys_statfs_has_statfs=yes
13348 echo "$as_me: failed program was:" >&5
13349 cat conftest.$ac_ext >&5
13350 wine_cv_sys_statfs_has_statfs=no
13353 rm -f conftest.$ac_objext conftest.$ac_ext
13356 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
13357 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
13358 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
13361 cat >>confdefs.h <<\_ACEOF
13362 #define STATFS_DEFINED_BY_SYS_STATFS 1
13368 if test "$ac_cv_header_sys_mount_h" = "yes"
13370 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
13371 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
13372 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
13373 echo $ECHO_N "(cached) $ECHO_C" >&6
13375 cat >conftest.$ac_ext <<_ACEOF
13376 #line $LINENO "configure"
13377 #include "confdefs.h"
13379 #include <sys/types.h>
13380 #ifdef HAVE_SYS_PARAM_H
13381 # include <sys/param.h>
13383 #include <sys/mount.h>
13389 struct statfs stfs;
13395 rm -f conftest.$ac_objext
13396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13397 (eval $ac_compile) 2>&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); } &&
13401 { ac_try='test -s conftest.$ac_objext'
13402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13403 (eval $ac_try) 2>&5
13405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13406 (exit $ac_status); }; }; then
13407 wine_cv_sys_mount_has_statfs=yes
13409 echo "$as_me: failed program was:" >&5
13410 cat conftest.$ac_ext >&5
13411 wine_cv_sys_mount_has_statfs=no
13414 rm -f conftest.$ac_objext conftest.$ac_ext
13417 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
13418 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
13419 if test "$wine_cv_sys_mount_has_statfs" = "yes"
13422 cat >>confdefs.h <<\_ACEOF
13423 #define STATFS_DEFINED_BY_SYS_MOUNT 1
13430 echo "$as_me:$LINENO: checking for f_bfree in struct statfs" >&5
13431 echo $ECHO_N "checking for f_bfree in struct statfs... $ECHO_C" >&6
13432 if test "${ac_cv_c_statfs_f_bfree+set}" = set; then
13433 echo $ECHO_N "(cached) $ECHO_C" >&6
13435 cat >conftest.$ac_ext <<_ACEOF
13436 #line $LINENO "configure"
13437 #include "confdefs.h"
13438 #include <sys/types.h>
13439 #ifdef HAVE_SYS_PARAM_H
13440 # include <sys/param.h>
13442 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
13443 # include <sys/mount.h>
13445 # ifdef STATFS_DEFINED_BY_SYS_VFS
13446 # include <sys/vfs.h>
13448 # ifdef STATFS_DEFINED_BY_SYS_STATFS
13449 # include <sys/statfs.h>
13456 struct statfs s; s.f_bfree = 0
13461 rm -f conftest.$ac_objext
13462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13463 (eval $ac_compile) 2>&5
13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466 (exit $ac_status); } &&
13467 { ac_try='test -s conftest.$ac_objext'
13468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13469 (eval $ac_try) 2>&5
13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13472 (exit $ac_status); }; }; then
13473 ac_cv_c_statfs_f_bfree="yes"
13475 echo "$as_me: failed program was:" >&5
13476 cat conftest.$ac_ext >&5
13477 ac_cv_c_statfs_f_bfree="no"
13479 rm -f conftest.$ac_objext conftest.$ac_ext
13481 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bfree" >&5
13482 echo "${ECHO_T}$ac_cv_c_statfs_f_bfree" >&6
13483 if test "x$ac_cv_c_statfs_f_bfree" = "xyes"; then
13485 cat >>confdefs.h <<\_ACEOF
13486 #define STATFS_HAS_BFREE 1
13493 echo "$as_me:$LINENO: checking for f_bavail in struct statfs" >&5
13494 echo $ECHO_N "checking for f_bavail in struct statfs... $ECHO_C" >&6
13495 if test "${ac_cv_c_statfs_f_bavail+set}" = set; then
13496 echo $ECHO_N "(cached) $ECHO_C" >&6
13498 cat >conftest.$ac_ext <<_ACEOF
13499 #line $LINENO "configure"
13500 #include "confdefs.h"
13501 #include <sys/types.h>
13502 #ifdef HAVE_SYS_PARAM_H
13503 # include <sys/param.h>
13505 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
13506 # include <sys/mount.h>
13508 # ifdef STATFS_DEFINED_BY_SYS_VFS
13509 # include <sys/vfs.h>
13511 # ifdef STATFS_DEFINED_BY_SYS_STATFS
13512 # include <sys/statfs.h>
13519 struct statfs s; s.f_bavail = 0
13524 rm -f conftest.$ac_objext
13525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13526 (eval $ac_compile) 2>&5
13528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13529 (exit $ac_status); } &&
13530 { ac_try='test -s conftest.$ac_objext'
13531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13532 (eval $ac_try) 2>&5
13534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13535 (exit $ac_status); }; }; then
13536 ac_cv_c_statfs_f_bavail="yes"
13538 echo "$as_me: failed program was:" >&5
13539 cat conftest.$ac_ext >&5
13540 ac_cv_c_statfs_f_bavail="no"
13542 rm -f conftest.$ac_objext conftest.$ac_ext
13544 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bavail" >&5
13545 echo "${ECHO_T}$ac_cv_c_statfs_f_bavail" >&6
13546 if test "x$ac_cv_c_statfs_f_bavail" = "xyes"; then
13548 cat >>confdefs.h <<\_ACEOF
13549 #define STATFS_HAS_BAVAIL 1
13556 echo "$as_me:$LINENO: checking for msg_accrights in struct msghdr" >&5
13557 echo $ECHO_N "checking for msg_accrights in struct msghdr... $ECHO_C" >&6
13558 if test "${ac_cv_c_msghdr_msg_accrights+set}" = set; then
13559 echo $ECHO_N "(cached) $ECHO_C" >&6
13561 cat >conftest.$ac_ext <<_ACEOF
13562 #line $LINENO "configure"
13563 #include "confdefs.h"
13564 #include <sys/types.h>
13565 #ifdef HAVE_SYS_SOCKET_H
13566 # include <sys/socket.h>
13571 struct msghdr s; s.msg_accrights = 0
13576 rm -f conftest.$ac_objext
13577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13578 (eval $ac_compile) 2>&5
13580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13581 (exit $ac_status); } &&
13582 { ac_try='test -s conftest.$ac_objext'
13583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13584 (eval $ac_try) 2>&5
13586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13587 (exit $ac_status); }; }; then
13588 ac_cv_c_msghdr_msg_accrights="yes"
13590 echo "$as_me: failed program was:" >&5
13591 cat conftest.$ac_ext >&5
13592 ac_cv_c_msghdr_msg_accrights="no"
13594 rm -f conftest.$ac_objext conftest.$ac_ext
13596 echo "$as_me:$LINENO: result: $ac_cv_c_msghdr_msg_accrights" >&5
13597 echo "${ECHO_T}$ac_cv_c_msghdr_msg_accrights" >&6
13598 if test "x$ac_cv_c_msghdr_msg_accrights" = "xyes"; then
13600 cat >>confdefs.h <<\_ACEOF
13601 #define HAVE_MSGHDR_ACCRIGHTS 1
13608 echo "$as_me:$LINENO: checking for sa_len in struct sockaddr" >&5
13609 echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
13610 if test "${ac_cv_c_sockaddr_sa_len+set}" = set; then
13611 echo $ECHO_N "(cached) $ECHO_C" >&6
13613 cat >conftest.$ac_ext <<_ACEOF
13614 #line $LINENO "configure"
13615 #include "confdefs.h"
13616 #include <sys/types.h>
13617 #ifdef HAVE_SYS_SOCKET_H
13618 # include <sys/socket.h>
13623 struct sockaddr s; s.sa_len = 0
13628 rm -f conftest.$ac_objext
13629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13630 (eval $ac_compile) 2>&5
13632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13633 (exit $ac_status); } &&
13634 { ac_try='test -s conftest.$ac_objext'
13635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13636 (eval $ac_try) 2>&5
13638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13639 (exit $ac_status); }; }; then
13640 ac_cv_c_sockaddr_sa_len="yes"
13642 echo "$as_me: failed program was:" >&5
13643 cat conftest.$ac_ext >&5
13644 ac_cv_c_sockaddr_sa_len="no"
13646 rm -f conftest.$ac_objext conftest.$ac_ext
13648 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_sa_len" >&5
13649 echo "${ECHO_T}$ac_cv_c_sockaddr_sa_len" >&6
13650 if test "x$ac_cv_c_sockaddr_sa_len" = "xyes"; then
13652 cat >>confdefs.h <<\_ACEOF
13653 #define HAVE_SOCKADDR_SA_LEN 1
13660 echo "$as_me:$LINENO: checking for sun_len in struct sockaddr_un" >&5
13661 echo $ECHO_N "checking for sun_len in struct sockaddr_un... $ECHO_C" >&6
13662 if test "${ac_cv_c_sockaddr_un_sun_len+set}" = set; then
13663 echo $ECHO_N "(cached) $ECHO_C" >&6
13665 cat >conftest.$ac_ext <<_ACEOF
13666 #line $LINENO "configure"
13667 #include "confdefs.h"
13668 #include <sys/types.h>
13669 #ifdef HAVE_SYS_SOCKET_H
13670 # include <sys/socket.h>
13672 #ifdef HAVE_SYS_UN_H
13673 # include <sys/un.h>
13678 struct sockaddr_un s; s.sun_len = 0
13683 rm -f conftest.$ac_objext
13684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13685 (eval $ac_compile) 2>&5
13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 (exit $ac_status); } &&
13689 { ac_try='test -s conftest.$ac_objext'
13690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13691 (eval $ac_try) 2>&5
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 (exit $ac_status); }; }; then
13695 ac_cv_c_sockaddr_un_sun_len="yes"
13697 echo "$as_me: failed program was:" >&5
13698 cat conftest.$ac_ext >&5
13699 ac_cv_c_sockaddr_un_sun_len="no"
13701 rm -f conftest.$ac_objext conftest.$ac_ext
13703 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_un_sun_len" >&5
13704 echo "${ECHO_T}$ac_cv_c_sockaddr_un_sun_len" >&6
13705 if test "x$ac_cv_c_sockaddr_un_sun_len" = "xyes"; then
13707 cat >>confdefs.h <<\_ACEOF
13708 #define HAVE_SOCKADDR_SUN_LEN 1
13717 *i[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
13718 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
13719 if test "${ac_cv_cpp_def___i386__+set}" = set; then
13720 echo $ECHO_N "(cached) $ECHO_C" >&6
13722 cat >conftest.$ac_ext <<_ACEOF
13723 #line $LINENO "configure"
13724 #include "confdefs.h"
13729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13730 $EGREP "yes" >/dev/null 2>&1; then
13731 ac_cv_cpp_def___i386__=yes
13733 ac_cv_cpp_def___i386__=no
13738 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
13739 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
13740 if test $ac_cv_cpp_def___i386__ = yes; then
13741 CFLAGS="$CFLAGS -D__i386__"
13742 LINTFLAGS="$LINTFLAGS -D__i386__"
13745 *alpha*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
13746 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
13747 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
13748 echo $ECHO_N "(cached) $ECHO_C" >&6
13750 cat >conftest.$ac_ext <<_ACEOF
13751 #line $LINENO "configure"
13752 #include "confdefs.h"
13757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13758 $EGREP "yes" >/dev/null 2>&1; then
13759 ac_cv_cpp_def___ALPHA__=yes
13761 ac_cv_cpp_def___ALPHA__=no
13766 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
13767 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
13768 if test $ac_cv_cpp_def___ALPHA__ = yes; then
13769 CFLAGS="$CFLAGS -D__ALPHA__"
13770 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
13773 *sparc*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
13774 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
13775 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
13776 echo $ECHO_N "(cached) $ECHO_C" >&6
13778 cat >conftest.$ac_ext <<_ACEOF
13779 #line $LINENO "configure"
13780 #include "confdefs.h"
13785 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13786 $EGREP "yes" >/dev/null 2>&1; then
13787 ac_cv_cpp_def___sparc__=yes
13789 ac_cv_cpp_def___sparc__=no
13794 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
13795 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
13796 if test $ac_cv_cpp_def___sparc__ = yes; then
13797 CFLAGS="$CFLAGS -D__sparc__"
13798 LINTFLAGS="$LINTFLAGS -D__sparc__"
13803 case $host_vendor in
13804 *sun*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
13805 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
13806 if test "${ac_cv_cpp_def___sun__+set}" = set; then
13807 echo $ECHO_N "(cached) $ECHO_C" >&6
13809 cat >conftest.$ac_ext <<_ACEOF
13810 #line $LINENO "configure"
13811 #include "confdefs.h"
13816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13817 $EGREP "yes" >/dev/null 2>&1; then
13818 ac_cv_cpp_def___sun__=yes
13820 ac_cv_cpp_def___sun__=no
13825 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
13826 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
13827 if test $ac_cv_cpp_def___sun__ = yes; then
13828 CFLAGS="$CFLAGS -D__sun__"
13829 LINTFLAGS="$LINTFLAGS -D__sun__"
13838 ac_config_commands="$ac_config_commands controls"
13840 ac_config_commands="$ac_config_commands dlls/ddraw/d3ddevice"
13842 ac_config_commands="$ac_config_commands dlls/ddraw/dclipper"
13844 ac_config_commands="$ac_config_commands dlls/ddraw/ddraw"
13846 ac_config_commands="$ac_config_commands dlls/ddraw/direct3d"
13848 ac_config_commands="$ac_config_commands dlls/ddraw/dpalette"
13850 ac_config_commands="$ac_config_commands dlls/ddraw/dsurface"
13852 ac_config_commands="$ac_config_commands dlls/dinput/joystick"
13854 ac_config_commands="$ac_config_commands dlls/dinput/keyboard"
13856 ac_config_commands="$ac_config_commands dlls/dinput/mouse"
13858 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
13860 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
13862 ac_config_commands="$ac_config_commands dlls/gdi/win16drv"
13864 ac_config_commands="$ac_config_commands dlls/kernel/messages"
13866 ac_config_commands="$ac_config_commands dlls/user/dde"
13868 ac_config_commands="$ac_config_commands dlls/user/resources"
13870 ac_config_commands="$ac_config_commands dlls/wineps/data"
13872 ac_config_commands="$ac_config_commands files"
13874 ac_config_commands="$ac_config_commands graphics"
13876 ac_config_commands="$ac_config_commands graphics/x11drv"
13878 ac_config_commands="$ac_config_commands if1632"
13880 ac_config_commands="$ac_config_commands include/wine"
13882 ac_config_commands="$ac_config_commands loader"
13884 ac_config_commands="$ac_config_commands loader/ne"
13886 ac_config_commands="$ac_config_commands memory"
13888 ac_config_commands="$ac_config_commands misc"
13890 ac_config_commands="$ac_config_commands msdos"
13892 ac_config_commands="$ac_config_commands objects"
13894 ac_config_commands="$ac_config_commands programs/regapi/tests"
13896 ac_config_commands="$ac_config_commands programs/regedit/tests"
13898 ac_config_commands="$ac_config_commands relay32"
13900 ac_config_commands="$ac_config_commands scheduler"
13902 ac_config_commands="$ac_config_commands win32"
13904 ac_config_commands="$ac_config_commands windows"
13907 MAKE_RULES=Make.rules
13910 MAKE_DLL_RULES=dlls/Makedll.rules
13913 MAKE_TEST_RULES=dlls/Maketest.rules
13916 MAKE_PROG_RULES=programs/Makeprog.rules
13919 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/d3dx8/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/dsound/tests/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/winejack/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/wintab32/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/rpcss/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"
13922 cat >confcache <<\_ACEOF
13923 # This file is a shell script that caches the results of configure
13924 # tests run on this system so they can be shared between configure
13925 # scripts and configure runs, see configure's option --config-cache.
13926 # It is not useful on other systems. If it contains results you don't
13927 # want to keep, you may remove or edit it.
13929 # config.status only pays attention to the cache file if you give it
13930 # the --recheck option to rerun configure.
13932 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13933 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13934 # following values.
13938 # The following way of writing the cache mishandles newlines in values,
13939 # but we know of no workaround that is simple, portable, and efficient.
13940 # So, don't put newlines in cache variables' values.
13941 # Ultrix sh set writes to stderr and can't be redirected directly,
13942 # and sets the high bit in the cache file unless we assign to the vars.
13945 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13947 # `set' does not quote correctly, so add quotes (double-quote
13948 # substitution turns \\\\ into \\, and sed turns \\ into \).
13951 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13954 # `set' quotes correctly as required by POSIX, so do not add quotes.
13956 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
13963 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13965 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13967 if cmp -s $cache_file confcache; then :; else
13968 if test -w $cache_file; then
13969 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
13970 cat confcache >$cache_file
13972 echo "not updating unwritable cache $cache_file"
13977 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13978 # Let make expand exec_prefix.
13979 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13981 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13982 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13983 # trailing colons and then remove the whole line if VPATH becomes empty
13984 # (actually we leave an empty line to preserve line numbers).
13985 if test "x$srcdir" = x.; then
13986 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13987 s/:*\$(srcdir):*/:/;
13988 s/:*\${srcdir}:*/:/;
13990 s/^\([^=]*=[ ]*\):*/\1/;
13996 DEFS=-DHAVE_CONFIG_H
14000 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14001 # 1. Remove the extension, and $U if already installed.
14002 ac_i=`echo "$ac_i" |
14003 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
14005 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
14006 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
14008 LIBOBJS=$ac_libobjs
14010 LTLIBOBJS=$ac_ltlibobjs
14014 : ${CONFIG_STATUS=./config.status}
14015 ac_clean_files_save=$ac_clean_files
14016 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14017 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14018 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14019 cat >$CONFIG_STATUS <<_ACEOF
14021 # Generated by $as_me.
14022 # Run this file to recreate the current configuration.
14023 # Compiler output produced by configure, useful for debugging
14024 # configure, is in config.log if it exists.
14027 SHELL=\${CONFIG_SHELL-$SHELL}
14030 cat >>$CONFIG_STATUS <<\_ACEOF
14031 ## --------------------- ##
14032 ## M4sh Initialization. ##
14033 ## --------------------- ##
14035 # Be Bourne compatible
14036 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14039 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14040 # is contrary to our usage. Disable this feature.
14041 alias -g '${1+"$@"}'='"$@"'
14042 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
14046 # Support unset when possible.
14047 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
14054 # Work around bugs in pre-3.0 UWIN ksh.
14055 $as_unset ENV MAIL MAILPATH
14061 for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
14063 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
14064 eval $as_var=C; export $as_var
14070 # Required to use basename.
14071 if expr a : '\(a\)' >/dev/null 2>&1; then
14077 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
14078 as_basename=basename
14084 # Name of the executable.
14085 as_me=`$as_basename "$0" ||
14086 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14087 X"$0" : 'X\(//\)$' \| \
14088 X"$0" : 'X\(/\)$' \| \
14089 . : '\(.\)' 2>/dev/null ||
14091 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14092 /^X\/\(\/\/\)$/{ s//\1/; q; }
14093 /^X\/\(\/\).*/{ s//\1/; q; }
14097 # PATH needs CR, and LINENO needs CR and PATH.
14098 # Avoid depending upon Character Ranges.
14099 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14100 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14101 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14102 as_cr_digits='0123456789'
14103 as_cr_alnum=$as_cr_Letters$as_cr_digits
14105 # The user is always right.
14106 if test "${PATH_SEPARATOR+set}" != set; then
14107 echo "#! /bin/sh" >conftest.sh
14108 echo "exit 0" >>conftest.sh
14109 chmod +x conftest.sh
14110 if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
14119 as_lineno_1=$LINENO
14120 as_lineno_2=$LINENO
14121 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14122 test "x$as_lineno_1" != "x$as_lineno_2" &&
14123 test "x$as_lineno_3" = "x$as_lineno_2" || {
14124 # Find who we are. Look in the path if we contain no path at all
14127 *[\\/]* ) as_myself=$0 ;;
14128 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14129 for as_dir in $PATH
14132 test -z "$as_dir" && as_dir=.
14133 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14138 # We did not find ourselves, most probably we were run as `sh COMMAND'
14139 # in which case we are not to be found in the path.
14140 if test "x$as_myself" = x; then
14143 if test ! -f "$as_myself"; then
14144 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
14145 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
14146 { (exit 1); exit 1; }; }
14148 case $CONFIG_SHELL in
14150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14151 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
14154 test -z "$as_dir" && as_dir=.
14155 for as_base in sh bash ksh sh5; do
14158 if ("$as_dir/$as_base" -c '
14159 as_lineno_1=$LINENO
14160 as_lineno_2=$LINENO
14161 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14162 test "x$as_lineno_1" != "x$as_lineno_2" &&
14163 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
14164 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
14165 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
14166 CONFIG_SHELL=$as_dir/$as_base
14167 export CONFIG_SHELL
14168 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14176 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14177 # uniformly replaced by the line number. The first 'sed' inserts a
14178 # line-number line before each line; the second 'sed' does the real
14179 # work. The second script uses 'N' to pair each line-number line
14180 # with the numbered line, and appends trailing '-' during
14181 # substitution so that $LINENO is not a special case at line end.
14182 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14183 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
14184 sed '=' <$as_myself |
14189 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14192 s,^['$as_cr_digits']*\n,,
14193 ' >$as_me.lineno &&
14194 chmod +x $as_me.lineno ||
14195 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14196 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14197 { (exit 1); exit 1; }; }
14199 # Don't try to exec as it changes $[0], causing all sort of problems
14200 # (the dirname of $[0] is not the place where we might find the
14201 # original and so on. Autoconf is especially sensible to this).
14203 # Exit status is that of the last command.
14208 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
14209 *c*,-n*) ECHO_N= ECHO_C='
14211 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
14212 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
14215 if expr a : '\(a\)' >/dev/null 2>&1; then
14221 rm -f conf$$ conf$$.exe conf$$.file
14223 if ln -s conf$$.file conf$$ 2>/dev/null; then
14224 # We could just check for DJGPP; but this test a) works b) is more generic
14225 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14226 if test -f conf$$.exe; then
14227 # Don't use ln at all; we don't have any links
14232 elif ln conf$$.file conf$$ 2>/dev/null; then
14237 rm -f conf$$ conf$$.exe conf$$.file
14239 if mkdir -p . 2>/dev/null; then
14245 as_executable_p="test -f"
14247 # Sed expression to map a string onto a valid CPP name.
14248 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
14250 # Sed expression to map a string onto a valid variable name.
14251 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
14255 # We need space, tab and new line, in precisely that order.
14265 # Open the log real soon, to keep \$[0] and so on meaningful, and to
14266 # report actual input values of CONFIG_FILES etc. instead of their
14267 # values after options handling. Logging --version etc. is OK.
14271 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14272 ## Running $as_me. ##
14277 This file was extended by Wine $as_me 20021125, which was
14278 generated by GNU Autoconf 2.54. Invocation command line was
14280 CONFIG_FILES = $CONFIG_FILES
14281 CONFIG_HEADERS = $CONFIG_HEADERS
14282 CONFIG_LINKS = $CONFIG_LINKS
14283 CONFIG_COMMANDS = $CONFIG_COMMANDS
14287 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14291 # Files that config.status was made for.
14292 if test -n "$ac_config_files"; then
14293 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14296 if test -n "$ac_config_headers"; then
14297 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14300 if test -n "$ac_config_links"; then
14301 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
14304 if test -n "$ac_config_commands"; then
14305 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
14308 cat >>$CONFIG_STATUS <<\_ACEOF
14311 \`$as_me' instantiates files from templates according to the
14312 current configuration.
14314 Usage: $0 [OPTIONS] [FILE]...
14316 -h, --help print this help, then exit
14317 -V, --version print version number, then exit
14318 -d, --debug don't remove temporary files
14319 --recheck update $as_me by reconfiguring in the same conditions
14320 --file=FILE[:TEMPLATE]
14321 instantiate the configuration file FILE
14322 --header=FILE[:TEMPLATE]
14323 instantiate the configuration header FILE
14325 Configuration files:
14328 Configuration headers:
14331 Configuration commands:
14334 Report bugs to <bug-autoconf@gnu.org>."
14337 cat >>$CONFIG_STATUS <<_ACEOF
14339 Wine config.status 20021125
14340 configured by $0, generated by GNU Autoconf 2.54,
14341 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
14343 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
14344 Free Software Foundation, Inc.
14345 This config.status script is free software; the Free Software Foundation
14346 gives unlimited permission to copy, distribute and modify it."
14351 cat >>$CONFIG_STATUS <<\_ACEOF
14352 # If no file are specified by the user, then we need to provide default
14353 # value. By we need to know if files were specified by the user.
14359 ac_option=`expr "x$1" : 'x\([^=]*\)='`
14360 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
14368 *) # This is not an option, so the user has probably given explicit
14371 ac_need_defaults=false;;
14375 # Handling of the options.
14377 cat >>$CONFIG_STATUS <<_ACEOF
14378 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14379 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
14380 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
14382 cat >>$CONFIG_STATUS <<\_ACEOF
14383 --version | --vers* | -V )
14384 echo "$ac_cs_version"; exit 0 ;;
14386 # Conflict between --help and --header
14387 { { echo "$as_me:$LINENO: error: ambiguous option: $1
14388 Try \`$0 --help' for more information." >&5
14389 echo "$as_me: error: ambiguous option: $1
14390 Try \`$0 --help' for more information." >&2;}
14391 { (exit 1); exit 1; }; };;
14392 --help | --hel | -h )
14393 echo "$ac_cs_usage"; exit 0 ;;
14394 --debug | --d* | -d )
14396 --file | --fil | --fi | --f )
14398 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
14399 ac_need_defaults=false;;
14400 --header | --heade | --head | --hea )
14402 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
14403 ac_need_defaults=false;;
14405 # This is an error.
14406 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
14407 Try \`$0 --help' for more information." >&5
14408 echo "$as_me: error: unrecognized option: $1
14409 Try \`$0 --help' for more information." >&2;}
14410 { (exit 1); exit 1; }; } ;;
14412 *) ac_config_targets="$ac_config_targets $1" ;;
14424 cat >>$CONFIG_STATUS <<\_ACEOF
14425 for ac_config_target in $ac_config_targets
14427 case "$ac_config_target" in
14428 # Handling of arguments.
14429 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
14430 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
14431 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
14432 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
14433 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14434 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
14435 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
14436 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
14437 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
14438 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
14439 "dlls/cabinet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
14440 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
14441 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
14442 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
14443 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
14444 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
14445 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
14446 "dlls/d3dx8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
14447 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
14448 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
14449 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
14450 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
14451 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
14452 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
14453 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
14454 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
14455 "dlls/dsound/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
14456 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
14457 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
14458 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
14459 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
14460 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
14461 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
14462 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
14463 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
14464 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
14465 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
14466 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
14467 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
14468 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
14469 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
14470 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
14471 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
14472 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
14473 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
14474 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
14475 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
14476 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
14477 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
14478 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
14479 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
14480 "dlls/msvideo/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/msrle32/Makefile" ;;
14481 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
14482 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
14483 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
14484 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
14485 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
14486 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
14487 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
14488 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
14489 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
14490 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
14491 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
14492 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
14493 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
14494 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
14495 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
14496 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
14497 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
14498 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
14499 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
14500 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
14501 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
14502 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
14503 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
14504 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
14505 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
14506 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
14507 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
14508 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
14509 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
14510 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
14511 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
14512 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
14513 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
14514 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
14515 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
14516 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
14517 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
14518 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
14519 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
14520 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
14521 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
14522 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
14523 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
14524 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
14525 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
14526 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
14527 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
14528 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
14529 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
14530 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
14531 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
14532 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
14533 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
14534 "dlls/winmm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
14535 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
14536 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
14537 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
14538 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
14539 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
14540 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
14541 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
14542 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
14543 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
14544 "dlls/winsock/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
14545 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
14546 "dlls/wintab32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
14547 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
14548 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
14549 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
14550 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
14551 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
14552 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
14553 "library/Makefile" ) CONFIG_FILES="$CONFIG_FILES library/Makefile" ;;
14554 "miscemu/Makefile" ) CONFIG_FILES="$CONFIG_FILES miscemu/Makefile" ;;
14555 "ole/Makefile" ) CONFIG_FILES="$CONFIG_FILES ole/Makefile" ;;
14556 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
14557 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
14558 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
14559 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
14560 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
14561 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
14562 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
14563 "programs/osversioncheck/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/osversioncheck/Makefile" ;;
14564 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
14565 "programs/regapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regapi/Makefile" ;;
14566 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
14567 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
14568 "programs/regtest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regtest/Makefile" ;;
14569 "programs/rpcss/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
14570 "programs/rundll32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
14571 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
14572 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
14573 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
14574 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
14575 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
14576 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
14577 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
14578 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
14579 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
14580 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
14581 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
14582 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
14583 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
14584 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
14585 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
14586 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
14587 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
14588 "tools/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wpp/Makefile" ;;
14589 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
14590 "unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES unicode/Makefile" ;;
14591 "controls" ) CONFIG_COMMANDS="$CONFIG_COMMANDS controls" ;;
14592 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
14593 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
14594 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
14595 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
14596 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
14597 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
14598 "dlls/dinput/joystick" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/joystick" ;;
14599 "dlls/dinput/keyboard" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/keyboard" ;;
14600 "dlls/dinput/mouse" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/mouse" ;;
14601 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
14602 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
14603 "dlls/gdi/win16drv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/win16drv" ;;
14604 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
14605 "dlls/user/dde" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/dde" ;;
14606 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
14607 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
14608 "files" ) CONFIG_COMMANDS="$CONFIG_COMMANDS files" ;;
14609 "graphics" ) CONFIG_COMMANDS="$CONFIG_COMMANDS graphics" ;;
14610 "graphics/x11drv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS graphics/x11drv" ;;
14611 "if1632" ) CONFIG_COMMANDS="$CONFIG_COMMANDS if1632" ;;
14612 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
14613 "loader" ) CONFIG_COMMANDS="$CONFIG_COMMANDS loader" ;;
14614 "loader/ne" ) CONFIG_COMMANDS="$CONFIG_COMMANDS loader/ne" ;;
14615 "memory" ) CONFIG_COMMANDS="$CONFIG_COMMANDS memory" ;;
14616 "misc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS misc" ;;
14617 "msdos" ) CONFIG_COMMANDS="$CONFIG_COMMANDS msdos" ;;
14618 "objects" ) CONFIG_COMMANDS="$CONFIG_COMMANDS objects" ;;
14619 "programs/regapi/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regapi/tests" ;;
14620 "programs/regedit/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regedit/tests" ;;
14621 "relay32" ) CONFIG_COMMANDS="$CONFIG_COMMANDS relay32" ;;
14622 "scheduler" ) CONFIG_COMMANDS="$CONFIG_COMMANDS scheduler" ;;
14623 "win32" ) CONFIG_COMMANDS="$CONFIG_COMMANDS win32" ;;
14624 "windows" ) CONFIG_COMMANDS="$CONFIG_COMMANDS windows" ;;
14625 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
14626 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14627 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14628 { (exit 1); exit 1; }; };;
14632 # If the user did not use the arguments to specify the items to instantiate,
14633 # then the envvar interface is used. Set only those that are not.
14634 # We use the long form for the default assignment because of an extremely
14635 # bizarre bug on SunOS 4.1.3.
14636 if $ac_need_defaults; then
14637 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14638 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14639 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14642 # Create a temporary directory, and hook for its removal unless debugging.
14645 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
14646 trap '{ (exit 1); exit 1; }' 1 2 13 15
14649 # Create a (secure) tmp directory for tmp files.
14652 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
14653 test -n "$tmp" && test -d "$tmp"
14656 tmp=$TMPDIR/cs$$-$RANDOM
14657 (umask 077 && mkdir $tmp)
14660 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
14661 { (exit 1); exit 1; }
14666 cat >>$CONFIG_STATUS <<_ACEOF
14669 # CONFIG_FILES section.
14672 # No need to generate the scripts if there are no CONFIG_FILES.
14673 # This happens for instance when ./config.status config.h
14674 if test -n "\$CONFIG_FILES"; then
14675 # Protect against being on the right side of a sed subst in config.status.
14676 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
14677 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
14678 s,@SHELL@,$SHELL,;t t
14679 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
14680 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
14681 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
14682 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
14683 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
14684 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
14685 s,@exec_prefix@,$exec_prefix,;t t
14686 s,@prefix@,$prefix,;t t
14687 s,@program_transform_name@,$program_transform_name,;t t
14688 s,@bindir@,$bindir,;t t
14689 s,@sbindir@,$sbindir,;t t
14690 s,@libexecdir@,$libexecdir,;t t
14691 s,@datadir@,$datadir,;t t
14692 s,@sysconfdir@,$sysconfdir,;t t
14693 s,@sharedstatedir@,$sharedstatedir,;t t
14694 s,@localstatedir@,$localstatedir,;t t
14695 s,@libdir@,$libdir,;t t
14696 s,@includedir@,$includedir,;t t
14697 s,@oldincludedir@,$oldincludedir,;t t
14698 s,@infodir@,$infodir,;t t
14699 s,@mandir@,$mandir,;t t
14700 s,@build_alias@,$build_alias,;t t
14701 s,@host_alias@,$host_alias,;t t
14702 s,@target_alias@,$target_alias,;t t
14703 s,@DEFS@,$DEFS,;t t
14704 s,@ECHO_C@,$ECHO_C,;t t
14705 s,@ECHO_N@,$ECHO_N,;t t
14706 s,@ECHO_T@,$ECHO_T,;t t
14707 s,@LIBS@,$LIBS,;t t
14708 s,@OPTIONS@,$OPTIONS,;t t
14709 s,@WIN16_FILES@,$WIN16_FILES,;t t
14710 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
14711 s,@build@,$build,;t t
14712 s,@build_cpu@,$build_cpu,;t t
14713 s,@build_vendor@,$build_vendor,;t t
14714 s,@build_os@,$build_os,;t t
14715 s,@host@,$host,;t t
14716 s,@host_cpu@,$host_cpu,;t t
14717 s,@host_vendor@,$host_vendor,;t t
14718 s,@host_os@,$host_os,;t t
14719 s,@SET_MAKE@,$SET_MAKE,;t t
14721 s,@CFLAGS@,$CFLAGS,;t t
14722 s,@LDFLAGS@,$LDFLAGS,;t t
14723 s,@CPPFLAGS@,$CPPFLAGS,;t t
14724 s,@ac_ct_CC@,$ac_ct_CC,;t t
14725 s,@EXEEXT@,$EXEEXT,;t t
14726 s,@OBJEXT@,$OBJEXT,;t t
14728 s,@TOOLSDIR@,$TOOLSDIR,;t t
14729 s,@X_CFLAGS@,$X_CFLAGS,;t t
14730 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
14731 s,@X_LIBS@,$X_LIBS,;t t
14732 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
14733 s,@YACC@,$YACC,;t t
14735 s,@LEXLIB@,$LEXLIB,;t t
14736 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
14737 s,@XYACC@,$XYACC,;t t
14738 s,@XLEX@,$XLEX,;t t
14740 s,@ac_ct_LD@,$ac_ct_LD,;t t
14742 s,@ac_ct_AR@,$ac_ct_AR,;t t
14743 s,@RANLIB@,$RANLIB,;t t
14744 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
14745 s,@STRIP@,$STRIP,;t t
14746 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
14747 s,@WINDRES@,$WINDRES,;t t
14748 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
14749 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
14750 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
14751 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14752 s,@LN_S@,$LN_S,;t t
14754 s,@C2MAN@,$C2MAN,;t t
14755 s,@LDCONFIG@,$LDCONFIG,;t t
14756 s,@LINT@,$LINT,;t t
14757 s,@LINTFLAGS@,$LINTFLAGS,;t t
14758 s,@DB2HTML@,$DB2HTML,;t t
14759 s,@DB2PDF@,$DB2PDF,;t t
14760 s,@DB2PS@,$DB2PS,;t t
14761 s,@JPEGLIB@,$JPEGLIB,;t t
14762 s,@EGREP@,$EGREP,;t t
14763 s,@XLIB@,$XLIB,;t t
14764 s,@XFILES@,$XFILES,;t t
14765 s,@OPENGLFILES@,$OPENGLFILES,;t t
14766 s,@GLU32FILES@,$GLU32FILES,;t t
14767 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
14768 s,@NASLIBS@,$NASLIBS,;t t
14769 s,@CURSESLIBS@,$CURSESLIBS,;t t
14770 s,@sane_devel@,$sane_devel,;t t
14771 s,@SANELIBS@,$SANELIBS,;t t
14772 s,@SANEINCL@,$SANEINCL,;t t
14773 s,@ft_devel@,$ft_devel,;t t
14774 s,@ft_devel2@,$ft_devel2,;t t
14775 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
14776 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
14777 s,@ARTSLIBS@,$ARTSLIBS,;t t
14778 s,@ARTSINCL@,$ARTSINCL,;t t
14779 s,@ALSALIBS@,$ALSALIBS,;t t
14780 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
14781 s,@DLLEXT@,$DLLEXT,;t t
14782 s,@DLLFLAGS@,$DLLFLAGS,;t t
14783 s,@DLLIBS@,$DLLIBS,;t t
14784 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
14785 s,@LDSHARED@,$LDSHARED,;t t
14786 s,@LIBEXT@,$LIBEXT,;t t
14787 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
14788 s,@DLLTOOL@,$DLLTOOL,;t t
14789 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
14790 s,@DLLWRAP@,$DLLWRAP,;t t
14791 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
14792 s,@CROSSTEST@,$CROSSTEST,;t t
14793 s,@CROSSCC@,$CROSSCC,;t t
14794 s,@LDPATH@,$LDPATH,;t t
14795 s,@CRTLIBS@,$CRTLIBS,;t t
14797 s,@ALLOCA@,$ALLOCA,;t t
14798 s,@LIBOBJS@,$LIBOBJS,;t t
14799 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
14800 /@MAKE_RULES@/r $MAKE_RULES
14801 s,@MAKE_RULES@,,;t t
14802 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
14803 s,@MAKE_DLL_RULES@,,;t t
14804 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
14805 s,@MAKE_TEST_RULES@,,;t t
14806 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
14807 s,@MAKE_PROG_RULES@,,;t t
14812 cat >>$CONFIG_STATUS <<\_ACEOF
14813 # Split the substitutions into bite-sized pieces for seds with
14814 # small command number limits, like on Digital OSF/1 and HP-UX.
14815 ac_max_sed_lines=48
14816 ac_sed_frag=1 # Number of current file.
14817 ac_beg=1 # First line for current file.
14818 ac_end=$ac_max_sed_lines # Line after last line for current file.
14821 while $ac_more_lines; do
14822 if test $ac_beg -gt 1; then
14823 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14825 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14827 if test ! -s $tmp/subs.frag; then
14828 ac_more_lines=false
14830 # The purpose of the label and of the branching condition is to
14831 # speed up the sed processing (if there are no `@' at all, there
14832 # is no need to browse any of the substitutions).
14833 # These are the two extra sed commands mentioned above.
14835 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
14836 if test -z "$ac_sed_cmds"; then
14837 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
14839 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
14841 ac_sed_frag=`expr $ac_sed_frag + 1`
14843 ac_end=`expr $ac_end + $ac_max_sed_lines`
14846 if test -z "$ac_sed_cmds"; then
14849 fi # test -n "$CONFIG_FILES"
14852 cat >>$CONFIG_STATUS <<\_ACEOF
14853 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
14854 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14856 - | *:- | *:-:* ) # input from stdin
14858 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14859 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14860 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14861 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14862 * ) ac_file_in=$ac_file.in ;;
14865 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
14866 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
14867 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14868 X"$ac_file" : 'X\(//\)[^/]' \| \
14869 X"$ac_file" : 'X\(//\)$' \| \
14870 X"$ac_file" : 'X\(/\)' \| \
14871 . : '\(.\)' 2>/dev/null ||
14873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14874 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14875 /^X\(\/\/\)$/{ s//\1/; q; }
14876 /^X\(\/\).*/{ s//\1/; q; }
14878 { if $as_mkdir_p; then
14883 while test ! -d "$as_dir"; do
14884 as_dirs="$as_dir $as_dirs"
14885 as_dir=`(dirname "$as_dir") 2>/dev/null ||
14886 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14887 X"$as_dir" : 'X\(//\)[^/]' \| \
14888 X"$as_dir" : 'X\(//\)$' \| \
14889 X"$as_dir" : 'X\(/\)' \| \
14890 . : '\(.\)' 2>/dev/null ||
14892 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14893 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14894 /^X\(\/\/\)$/{ s//\1/; q; }
14895 /^X\(\/\).*/{ s//\1/; q; }
14898 test ! -n "$as_dirs" || mkdir $as_dirs
14899 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14900 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14901 { (exit 1); exit 1; }; }; }
14905 if test "$ac_dir" != .; then
14906 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14907 # A "../" for each directory in $ac_dir_suffix.
14908 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14910 ac_dir_suffix= ac_top_builddir=
14914 .) # No --srcdir option. We are building in place.
14916 if test -z "$ac_top_builddir"; then
14919 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
14921 [\\/]* | ?:[\\/]* ) # Absolute path.
14922 ac_srcdir=$srcdir$ac_dir_suffix;
14923 ac_top_srcdir=$srcdir ;;
14924 *) # Relative path.
14925 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
14926 ac_top_srcdir=$ac_top_builddir$srcdir ;;
14928 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
14930 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
14931 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
14932 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
14933 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
14937 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14938 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
14941 if test x"$ac_file" != x-; then
14942 { echo "$as_me:$LINENO: creating $ac_file" >&5
14943 echo "$as_me: creating $ac_file" >&6;}
14946 # Let's still pretend it is `configure' which instantiates (i.e., don't
14947 # use $as_me), people would be surprised to read:
14948 # /* config.h. Generated by config.status. */
14949 if test x"$ac_file" = x-; then
14952 configure_input="$ac_file. "
14954 configure_input=$configure_input"Generated from `echo $ac_file_in |
14955 sed 's,.*/,,'` by configure."
14957 # First look for the input files in the build tree, otherwise in the
14959 ac_file_inputs=`IFS=:
14960 for f in $ac_file_in; do
14962 -) echo $tmp/stdin ;;
14964 # Absolute (can't be DOS-style, as IFS=:)
14965 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14966 echo "$as_me: error: cannot find input file: $f" >&2;}
14967 { (exit 1); exit 1; }; }
14970 if test -f "$f"; then
14973 elif test -f "$srcdir/$f"; then
14978 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14979 echo "$as_me: error: cannot find input file: $f" >&2;}
14980 { (exit 1); exit 1; }; }
14983 done` || { (exit 1); exit 1; }
14985 cat >>$CONFIG_STATUS <<_ACEOF
14989 cat >>$CONFIG_STATUS <<\_ACEOF
14991 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14992 s,@configure_input@,$configure_input,;t t
14993 s,@srcdir@,$ac_srcdir,;t t
14994 s,@abs_srcdir@,$ac_abs_srcdir,;t t
14995 s,@top_srcdir@,$ac_top_srcdir,;t t
14996 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
14997 s,@builddir@,$ac_builddir,;t t
14998 s,@abs_builddir@,$ac_abs_builddir,;t t
14999 s,@top_builddir@,$ac_top_builddir,;t t
15000 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
15001 s,@INSTALL@,$ac_INSTALL,;t t
15002 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15004 if test x"$ac_file" != x-; then
15005 mv $tmp/out $ac_file
15013 cat >>$CONFIG_STATUS <<\_ACEOF
15016 # CONFIG_HEADER section.
15019 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
15020 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15022 # ac_d sets the value in "#define NAME VALUE" lines.
15023 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15024 ac_dB='[ ].*$,\1#\2'
15027 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15028 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15029 ac_uB='$,\1#\2define\3'
15033 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
15034 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15036 - | *:- | *:-:* ) # input from stdin
15038 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15039 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15040 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15041 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15042 * ) ac_file_in=$ac_file.in ;;
15045 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
15046 echo "$as_me: creating $ac_file" >&6;}
15048 # First look for the input files in the build tree, otherwise in the
15050 ac_file_inputs=`IFS=:
15051 for f in $ac_file_in; do
15053 -) echo $tmp/stdin ;;
15055 # Absolute (can't be DOS-style, as IFS=:)
15056 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15057 echo "$as_me: error: cannot find input file: $f" >&2;}
15058 { (exit 1); exit 1; }; }
15061 if test -f "$f"; then
15064 elif test -f "$srcdir/$f"; then
15069 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15070 echo "$as_me: error: cannot find input file: $f" >&2;}
15071 { (exit 1); exit 1; }; }
15074 done` || { (exit 1); exit 1; }
15075 # Remove the trailing spaces.
15076 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
15080 # Transform confdefs.h into two sed scripts, `conftest.defines' and
15081 # `conftest.undefs', that substitutes the proper values into
15082 # config.h.in to produce config.h. The first handles `#define'
15083 # templates, and the second `#undef' templates.
15084 # And first: Protect against being on the right side of a sed subst in
15085 # config.status. Protect against being in an unquoted here document
15086 # in config.status.
15087 rm -f conftest.defines conftest.undefs
15088 # Using a here document instead of a string reduces the quoting nightmare.
15089 # Putting comments in sed scripts is not portable.
15091 # `end' is used to avoid that the second main sed command (meant for
15092 # 0-ary CPP macros) applies to n-ary macro definitions.
15093 # See the Autoconf documentation for `clear'.
15094 cat >confdef2sed.sed <<\_ACEOF
15099 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
15101 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15104 # If some macros were called several times there might be several times
15105 # the same #defines, which is useless. Nevertheless, we may not want to
15106 # sort them, since we want the *last* AC-DEFINE to be honored.
15107 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15108 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15109 rm -f confdef2sed.sed
15111 # This sed command replaces #undef with comments. This is necessary, for
15112 # example, in the case of _POSIX_SOURCE, which is predefined and required
15113 # on some systems where configure will not decide to define it.
15114 cat >>conftest.undefs <<\_ACEOF
15115 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15118 # Break up conftest.defines because some shells have a limit on the size
15119 # of here documents, and old seds have small limits too (100 cmds).
15120 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15121 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15122 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15123 echo ' :' >>$CONFIG_STATUS
15124 rm -f conftest.tail
15125 while grep . conftest.defines >/dev/null
15127 # Write a limited-size here document to $tmp/defines.sed.
15128 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15129 # Speed up: don't consider the non `#define' lines.
15130 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
15131 # Work around the forget-to-reset-the-flag bug.
15132 echo 't clr' >>$CONFIG_STATUS
15133 echo ': clr' >>$CONFIG_STATUS
15134 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
15136 sed -f $tmp/defines.sed $tmp/in >$tmp/out
15138 mv $tmp/out $tmp/in
15140 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
15141 rm -f conftest.defines
15142 mv conftest.tail conftest.defines
15144 rm -f conftest.defines
15145 echo ' fi # grep' >>$CONFIG_STATUS
15146 echo >>$CONFIG_STATUS
15148 # Break up conftest.undefs because some shells have a limit on the size
15149 # of here documents, and old seds have small limits too (100 cmds).
15150 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
15151 rm -f conftest.tail
15152 while grep . conftest.undefs >/dev/null
15154 # Write a limited-size here document to $tmp/undefs.sed.
15155 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15156 # Speed up: don't consider the non `#undef'
15157 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
15158 # Work around the forget-to-reset-the-flag bug.
15159 echo 't clr' >>$CONFIG_STATUS
15160 echo ': clr' >>$CONFIG_STATUS
15161 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15163 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15165 mv $tmp/out $tmp/in
15167 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15168 rm -f conftest.undefs
15169 mv conftest.tail conftest.undefs
15171 rm -f conftest.undefs
15173 cat >>$CONFIG_STATUS <<\_ACEOF
15174 # Let's still pretend it is `configure' which instantiates (i.e., don't
15175 # use $as_me), people would be surprised to read:
15176 # /* config.h. Generated by config.status. */
15177 if test x"$ac_file" = x-; then
15178 echo "/* Generated by configure. */" >$tmp/config.h
15180 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
15182 cat $tmp/in >>$tmp/config.h
15184 if test x"$ac_file" != x-; then
15185 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
15186 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15187 echo "$as_me: $ac_file is unchanged" >&6;}
15189 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15190 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15191 X"$ac_file" : 'X\(//\)[^/]' \| \
15192 X"$ac_file" : 'X\(//\)$' \| \
15193 X"$ac_file" : 'X\(/\)' \| \
15194 . : '\(.\)' 2>/dev/null ||
15196 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15197 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15198 /^X\(\/\/\)$/{ s//\1/; q; }
15199 /^X\(\/\).*/{ s//\1/; q; }
15201 { if $as_mkdir_p; then
15206 while test ! -d "$as_dir"; do
15207 as_dirs="$as_dir $as_dirs"
15208 as_dir=`(dirname "$as_dir") 2>/dev/null ||
15209 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15210 X"$as_dir" : 'X\(//\)[^/]' \| \
15211 X"$as_dir" : 'X\(//\)$' \| \
15212 X"$as_dir" : 'X\(/\)' \| \
15213 . : '\(.\)' 2>/dev/null ||
15215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15216 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15217 /^X\(\/\/\)$/{ s//\1/; q; }
15218 /^X\(\/\).*/{ s//\1/; q; }
15221 test ! -n "$as_dirs" || mkdir $as_dirs
15222 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15223 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15224 { (exit 1); exit 1; }; }; }
15227 mv $tmp/config.h $ac_file
15231 rm -f $tmp/config.h
15235 cat >>$CONFIG_STATUS <<\_ACEOF
15238 # CONFIG_COMMANDS section.
15240 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
15241 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
15242 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
15243 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
15244 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15245 X"$ac_dest" : 'X\(//\)[^/]' \| \
15246 X"$ac_dest" : 'X\(//\)$' \| \
15247 X"$ac_dest" : 'X\(/\)' \| \
15248 . : '\(.\)' 2>/dev/null ||
15250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15251 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15252 /^X\(\/\/\)$/{ s//\1/; q; }
15253 /^X\(\/\).*/{ s//\1/; q; }
15257 if test "$ac_dir" != .; then
15258 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15259 # A "../" for each directory in $ac_dir_suffix.
15260 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15262 ac_dir_suffix= ac_top_builddir=
15266 .) # No --srcdir option. We are building in place.
15268 if test -z "$ac_top_builddir"; then
15271 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15273 [\\/]* | ?:[\\/]* ) # Absolute path.
15274 ac_srcdir=$srcdir$ac_dir_suffix;
15275 ac_top_srcdir=$srcdir ;;
15276 *) # Relative path.
15277 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
15278 ac_top_srcdir=$ac_top_builddir$srcdir ;;
15280 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
15282 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
15283 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
15284 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
15285 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
15288 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
15289 echo "$as_me: executing $ac_dest commands" >&6;}
15291 controls ) test -d "controls" || ({ echo "$as_me:$LINENO: creating controls" >&5
15292 echo "$as_me: creating controls" >&6;} && mkdir "controls") ;;
15293 dlls/ddraw/d3ddevice ) test -d "dlls/ddraw/d3ddevice" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
15294 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir "dlls/ddraw/d3ddevice") ;;
15295 dlls/ddraw/dclipper ) test -d "dlls/ddraw/dclipper" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
15296 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir "dlls/ddraw/dclipper") ;;
15297 dlls/ddraw/ddraw ) test -d "dlls/ddraw/ddraw" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
15298 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir "dlls/ddraw/ddraw") ;;
15299 dlls/ddraw/direct3d ) test -d "dlls/ddraw/direct3d" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
15300 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir "dlls/ddraw/direct3d") ;;
15301 dlls/ddraw/dpalette ) test -d "dlls/ddraw/dpalette" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
15302 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir "dlls/ddraw/dpalette") ;;
15303 dlls/ddraw/dsurface ) test -d "dlls/ddraw/dsurface" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
15304 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir "dlls/ddraw/dsurface") ;;
15305 dlls/dinput/joystick ) test -d "dlls/dinput/joystick" || ({ echo "$as_me:$LINENO: creating dlls/dinput/joystick" >&5
15306 echo "$as_me: creating dlls/dinput/joystick" >&6;} && mkdir "dlls/dinput/joystick") ;;
15307 dlls/dinput/keyboard ) test -d "dlls/dinput/keyboard" || ({ echo "$as_me:$LINENO: creating dlls/dinput/keyboard" >&5
15308 echo "$as_me: creating dlls/dinput/keyboard" >&6;} && mkdir "dlls/dinput/keyboard") ;;
15309 dlls/dinput/mouse ) test -d "dlls/dinput/mouse" || ({ echo "$as_me:$LINENO: creating dlls/dinput/mouse" >&5
15310 echo "$as_me: creating dlls/dinput/mouse" >&6;} && mkdir "dlls/dinput/mouse") ;;
15311 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
15312 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
15313 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
15314 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
15315 dlls/gdi/win16drv ) test -d "dlls/gdi/win16drv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/win16drv" >&5
15316 echo "$as_me: creating dlls/gdi/win16drv" >&6;} && mkdir "dlls/gdi/win16drv") ;;
15317 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
15318 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
15319 dlls/user/dde ) test -d "dlls/user/dde" || ({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
15320 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir "dlls/user/dde") ;;
15321 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
15322 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
15323 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
15324 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
15325 files ) test -d "files" || ({ echo "$as_me:$LINENO: creating files" >&5
15326 echo "$as_me: creating files" >&6;} && mkdir "files") ;;
15327 graphics ) test -d "graphics" || ({ echo "$as_me:$LINENO: creating graphics" >&5
15328 echo "$as_me: creating graphics" >&6;} && mkdir "graphics") ;;
15329 graphics/x11drv ) test -d "graphics/x11drv" || ({ echo "$as_me:$LINENO: creating graphics/x11drv" >&5
15330 echo "$as_me: creating graphics/x11drv" >&6;} && mkdir "graphics/x11drv") ;;
15331 if1632 ) test -d "if1632" || ({ echo "$as_me:$LINENO: creating if1632" >&5
15332 echo "$as_me: creating if1632" >&6;} && mkdir "if1632") ;;
15333 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
15334 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
15335 loader ) test -d "loader" || ({ echo "$as_me:$LINENO: creating loader" >&5
15336 echo "$as_me: creating loader" >&6;} && mkdir "loader") ;;
15337 loader/ne ) test -d "loader/ne" || ({ echo "$as_me:$LINENO: creating loader/ne" >&5
15338 echo "$as_me: creating loader/ne" >&6;} && mkdir "loader/ne") ;;
15339 memory ) test -d "memory" || ({ echo "$as_me:$LINENO: creating memory" >&5
15340 echo "$as_me: creating memory" >&6;} && mkdir "memory") ;;
15341 misc ) test -d "misc" || ({ echo "$as_me:$LINENO: creating misc" >&5
15342 echo "$as_me: creating misc" >&6;} && mkdir "misc") ;;
15343 msdos ) test -d "msdos" || ({ echo "$as_me:$LINENO: creating msdos" >&5
15344 echo "$as_me: creating msdos" >&6;} && mkdir "msdos") ;;
15345 objects ) test -d "objects" || ({ echo "$as_me:$LINENO: creating objects" >&5
15346 echo "$as_me: creating objects" >&6;} && mkdir "objects") ;;
15347 programs/regapi/tests ) test -d "programs/regapi/tests" || ({ echo "$as_me:$LINENO: creating programs/regapi/tests" >&5
15348 echo "$as_me: creating programs/regapi/tests" >&6;} && mkdir "programs/regapi/tests") ;;
15349 programs/regedit/tests ) test -d "programs/regedit/tests" || ({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
15350 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir "programs/regedit/tests") ;;
15351 relay32 ) test -d "relay32" || ({ echo "$as_me:$LINENO: creating relay32" >&5
15352 echo "$as_me: creating relay32" >&6;} && mkdir "relay32") ;;
15353 scheduler ) test -d "scheduler" || ({ echo "$as_me:$LINENO: creating scheduler" >&5
15354 echo "$as_me: creating scheduler" >&6;} && mkdir "scheduler") ;;
15355 win32 ) test -d "win32" || ({ echo "$as_me:$LINENO: creating win32" >&5
15356 echo "$as_me: creating win32" >&6;} && mkdir "win32") ;;
15357 windows ) test -d "windows" || ({ echo "$as_me:$LINENO: creating windows" >&5
15358 echo "$as_me: creating windows" >&6;} && mkdir "windows") ;;
15363 cat >>$CONFIG_STATUS <<\_ACEOF
15365 { (exit 0); exit 0; }
15367 chmod +x $CONFIG_STATUS
15368 ac_clean_files=$ac_clean_files_save
15371 # configure is writing to config.log, and then calls config.status.
15372 # config.status does its own redirection, appending to config.log.
15373 # Unfortunately, on DOS this fails, as config.log is still kept open
15374 # by configure, so config.status won't be able to write to it; its
15375 # output is simply discarded. So we exec the FD to /dev/null,
15376 # effectively closing config.log, so it can be properly (re)opened and
15377 # appended to by config.status. When coming back to configure, we
15378 # need to make the FD available again.
15379 if test "$no_create" != yes; then
15382 $SHELL $CONFIG_STATUS || ac_cs_success=false
15384 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15385 # would make configure fail if this is the last instruction.
15386 $ac_cs_success || { (exit 1); exit 1; }
15390 if test "$have_x" = "no"
15393 echo "*** Warning: X development files not found. Wine will be built without"
15394 echo "*** X support, which currently does not work, and would probably not be"
15395 echo "*** what you want anyway. You will need to install devel packages of"
15396 echo "*** Xlib/Xfree86 at the very least."
15399 if test "$ac_cv_lib_ncurses_resizeterm" = "no" -a "$ac_cv_lib_ncurses_waddch" = "yes"
15402 echo "*** Warning: resizeterm not found in ncurses. Wine will be built without"
15403 echo "*** terminal resize support. Consider upgrading ncurses."
15406 if test "$wine_cv_libc_reentrant" = "no"
15409 echo "*** Warning: non-reentrant libc detected. Wine will be built without"
15410 echo "*** threading support. Consider upgrading libc to a more recent"
15411 echo "*** reentrant version of libc."
15414 if test "$have_x" = "yes" -a "$wine_cv_x_reentrant" != "yes"
15417 echo "*** Warning: non-reentrant X11 library detected. Multi-threaded"
15418 echo "*** applications won't work properly. You should upgrade your X11 library."
15421 if test "$wine_cv_opengl_version_OK" = "no"
15424 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
15425 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
15428 if test "$wine_cv_msg_freetype" = "yes"
15431 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
15432 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
15433 echo "*** freetype-devel package (or its equivalent on your distribution) to"
15434 echo "*** enable Wine to use TrueType fonts."
15438 echo "Configure finished. Do 'make depend && make' to compile Wine."