2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for Wine 20030618.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
224 as_executable_p="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
268 PACKAGE_TARNAME='wine'
269 PACKAGE_VERSION='20030618'
270 PACKAGE_STRING='Wine 20030618'
273 ac_unique_file="server/atom.c"
274 # Factoring default headers for most tests.
275 ac_includes_default="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS WIN16_FILES WIN16_INSTALL LIBPTHREAD build build_cpu build_vendor build_os host host_cpu host_vendor host_os SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP TOOLSDIR X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS YACC LEX LEXLIB LEX_OUTPUT_ROOT XYACC XLEX AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES LN_S LN C2MAN LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS DB2HTML DB2PDF DB2PS JPEGLIB EGREP GIFLIB XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ft_devel ft_devel2 FREETYPEINCL ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS EXTRACFLAGS DLLEXT DLLFLAGS DLLIBS LDDLLFLAGS LDSHARED LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS LDD ALLOCA LIBOBJS LTLIBOBJS'
312 ac_subst_files='MAKE_RULES MAKE_DLL_RULES MAKE_TEST_RULES MAKE_LIB_RULES MAKE_PROG_RULES'
314 # Initialize some variables set by options.
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name=s,x,x,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
386 cache_file=config.cache ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 datadir=$ac_optarg ;;
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
429 -help | --help | --hel | --he | -h)
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
453 -libdir | --libdir | --libdi | --libd)
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 # Obsolete; use --without-fp.
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 sbindir=$ac_optarg ;;
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 sharedstatedir=$ac_optarg ;;
557 -site | --site | --sit)
559 -site=* | --site=* | --sit=*)
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
582 -version | --version | --versio | --versi | --vers | -V)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
660 eval ac_val=$`echo $ac_var`
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val=$`echo $ac_var`
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 test "$silent" = yes && exec 6>/dev/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_CC_set=${CC+set}
754 ac_cv_env_CC_set=${CC+set}
755 ac_cv_env_CC_value=$CC
756 ac_env_CFLAGS_set=${CFLAGS+set}
757 ac_env_CFLAGS_value=$CFLAGS
758 ac_cv_env_CFLAGS_set=${CFLAGS+set}
759 ac_cv_env_CFLAGS_value=$CFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
765 ac_env_CPPFLAGS_value=$CPPFLAGS
766 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
768 ac_env_CPP_set=${CPP+set}
769 ac_env_CPP_value=$CPP
770 ac_cv_env_CPP_set=${CPP+set}
771 ac_cv_env_CPP_value=$CPP
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
780 \`configure' configures Wine 20030618 to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
834 --x-includes=DIR X include files are in DIR
835 --x-libraries=DIR X library files are in DIR
838 --build=BUILD configure for building on BUILD [guessed]
839 --host=HOST cross-compile to build programs to run on HOST [BUILD]
843 if test -n "$ac_init_help"; then
844 case $ac_init_help in
845 short | recursive ) echo "Configuration of Wine 20030618:";;
850 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
851 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
852 --disable-win16 do not include Win16 support
853 --disable-debug compile out all debugging messages
854 --disable-trace compile out TRACE messages
857 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
858 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
859 --without-opengl do not use OpenGL
860 --without-curses do not use curses
861 --with-nptl use glibc NPTL threading support
862 --with-wine-tools=<dir> use Wine tools from directory <dir>
863 --with-x use the X Window System
865 Some influential environment variables:
866 CC C compiler command
867 CFLAGS C compiler flags
868 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
869 nonstandard directory <lib dir>
870 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
871 headers in a nonstandard directory <include dir>
874 Use these variables to override the choices made by `configure' or to help
875 it to find libraries and programs with nonstandard names/locations.
880 if test "$ac_init_help" = "recursive"; then
881 # If there are subdirs, report their specific --help.
883 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
884 test -d $ac_dir || continue
887 if test "$ac_dir" != .; then
888 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
889 # A "../" for each directory in $ac_dir_suffix.
890 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
892 ac_dir_suffix= ac_top_builddir=
896 .) # No --srcdir option. We are building in place.
898 if test -z "$ac_top_builddir"; then
901 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
903 [\\/]* | ?:[\\/]* ) # Absolute path.
904 ac_srcdir=$srcdir$ac_dir_suffix;
905 ac_top_srcdir=$srcdir ;;
907 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
908 ac_top_srcdir=$ac_top_builddir$srcdir ;;
910 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
912 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
913 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
914 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
915 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
918 # Check for guested configure; otherwise get Cygnus style configure.
919 if test -f $ac_srcdir/configure.gnu; then
921 $SHELL $ac_srcdir/configure.gnu --help=recursive
922 elif test -f $ac_srcdir/configure; then
924 $SHELL $ac_srcdir/configure --help=recursive
925 elif test -f $ac_srcdir/configure.ac ||
926 test -f $ac_srcdir/configure.in; then
930 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
936 test -n "$ac_init_help" && exit 0
937 if $ac_init_version; then
939 Wine configure 20030618
940 generated by GNU Autoconf 2.57
942 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
943 Free Software Foundation, Inc.
944 This configure script is free software; the Free Software Foundation
945 gives unlimited permission to copy, distribute and modify it.
951 This file contains any messages produced by compilers while
952 running configure, to aid debugging if configure makes a mistake.
954 It was created by Wine $as_me 20030618, which was
955 generated by GNU Autoconf 2.57. Invocation command line was
966 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
967 uname -m = `(uname -m) 2>/dev/null || echo unknown`
968 uname -r = `(uname -r) 2>/dev/null || echo unknown`
969 uname -s = `(uname -s) 2>/dev/null || echo unknown`
970 uname -v = `(uname -v) 2>/dev/null || echo unknown`
972 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
973 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
975 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
976 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
977 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
978 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
979 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
980 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
981 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
989 test -z "$as_dir" && as_dir=.
1005 # Keep a trace of the command line.
1006 # Strip out --no-create and --no-recursion so they do not pile up.
1007 # Strip out --silent because we don't want to record it for future runs.
1008 # Also quote any args containing shell meta-characters.
1009 # Make two passes to allow for proper duplicate-argument suppression.
1014 ac_must_keep_next=false
1020 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1021 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1022 | -silent | --silent | --silen | --sile | --sil)
1024 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1025 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1028 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1030 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1031 if test $ac_must_keep_next = true; then
1032 ac_must_keep_next=false # Got value, back to normal.
1035 *=* | --config-cache | -C | -disable-* | --disable-* \
1036 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1037 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1038 | -with-* | --with-* | -without-* | --without-* | --x)
1039 case "$ac_configure_args0 " in
1040 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1043 -* ) ac_must_keep_next=true ;;
1046 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1047 # Get rid of the leading space.
1053 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1054 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1056 # When interrupted or exit'd, cleanup temporary files, and complete
1057 # config.log. We remove comments because anyway the quotes in there
1058 # would cause problems or look ugly.
1059 # WARNING: Be sure not to use single quotes in there, as some shells,
1060 # such as our DU 5.0 friend, will then `close' the trap.
1061 trap 'exit_status=$?
1062 # Save into config.log some information that might help in debugging.
1067 ## ---------------- ##
1068 ## Cache variables. ##
1069 ## ---------------- ##
1072 # The following way of writing the cache mishandles newlines in values,
1075 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1078 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1079 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1083 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1090 ## ----------------- ##
1091 ## Output variables. ##
1092 ## ----------------- ##
1095 for ac_var in $ac_subst_vars
1097 eval ac_val=$`echo $ac_var`
1098 echo "$ac_var='"'"'$ac_val'"'"'"
1102 if test -n "$ac_subst_files"; then
1109 for ac_var in $ac_subst_files
1111 eval ac_val=$`echo $ac_var`
1112 echo "$ac_var='"'"'$ac_val'"'"'"
1117 if test -s confdefs.h; then
1124 sed "/^$/d" confdefs.h | sort
1127 test "$ac_signal" != 0 &&
1128 echo "$as_me: caught signal $ac_signal"
1129 echo "$as_me: exit $exit_status"
1131 rm -f core core.* *.core &&
1132 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1135 for ac_signal in 1 2 13 15; do
1136 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1140 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1141 rm -rf conftest* confdefs.h
1142 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1145 # Predefined preprocessor variables.
1147 cat >>confdefs.h <<_ACEOF
1148 #define PACKAGE_NAME "$PACKAGE_NAME"
1152 cat >>confdefs.h <<_ACEOF
1153 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1157 cat >>confdefs.h <<_ACEOF
1158 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1162 cat >>confdefs.h <<_ACEOF
1163 #define PACKAGE_STRING "$PACKAGE_STRING"
1167 cat >>confdefs.h <<_ACEOF
1168 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1172 # Let the site file select an alternate cache file if it wants to.
1173 # Prefer explicitly selected file to automatically selected ones.
1174 if test -z "$CONFIG_SITE"; then
1175 if test "x$prefix" != xNONE; then
1176 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1178 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1181 for ac_site_file in $CONFIG_SITE; do
1182 if test -r "$ac_site_file"; then
1183 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1184 echo "$as_me: loading site script $ac_site_file" >&6;}
1185 sed 's/^/| /' "$ac_site_file" >&5
1190 if test -r "$cache_file"; then
1191 # Some versions of bash will fail to source /dev/null (special
1192 # files actually), so we avoid doing that.
1193 if test -f "$cache_file"; then
1194 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1195 echo "$as_me: loading cache $cache_file" >&6;}
1197 [\\/]* | ?:[\\/]* ) . $cache_file;;
1198 *) . ./$cache_file;;
1202 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1203 echo "$as_me: creating cache $cache_file" >&6;}
1207 # Check that the precious variables saved in the cache have kept the same
1209 ac_cache_corrupted=false
1210 for ac_var in `(set) 2>&1 |
1211 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1212 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1213 eval ac_new_set=\$ac_env_${ac_var}_set
1214 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1215 eval ac_new_val="\$ac_env_${ac_var}_value"
1216 case $ac_old_set,$ac_new_set in
1218 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1219 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1220 ac_cache_corrupted=: ;;
1222 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1223 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1224 ac_cache_corrupted=: ;;
1227 if test "x$ac_old_val" != "x$ac_new_val"; then
1228 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1229 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1230 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1231 echo "$as_me: former value: $ac_old_val" >&2;}
1232 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1233 echo "$as_me: current value: $ac_new_val" >&2;}
1234 ac_cache_corrupted=:
1237 # Pass precious variables to config.status.
1238 if test "$ac_new_set" = set; then
1240 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1241 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1242 *) ac_arg=$ac_var=$ac_new_val ;;
1244 case " $ac_configure_args " in
1245 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1246 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1250 if $ac_cache_corrupted; then
1251 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1252 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1253 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1254 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1255 { (exit 1); exit 1; }; }
1259 ac_cpp='$CPP $CPPFLAGS'
1260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1291 ac_config_headers="$ac_config_headers include/config.h"
1294 for ac_dir in tools $srcdir/tools; do
1295 if test -f $ac_dir/install-sh; then
1297 ac_install_sh="$ac_aux_dir/install-sh -c"
1299 elif test -f $ac_dir/install.sh; then
1301 ac_install_sh="$ac_aux_dir/install.sh -c"
1303 elif test -f $ac_dir/shtool; then
1305 ac_install_sh="$ac_aux_dir/shtool install -c"
1309 if test -z "$ac_aux_dir"; then
1310 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1311 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1312 { (exit 1); exit 1; }; }
1314 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1315 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1316 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1320 # Check whether --enable-win16 or --disable-win16 was given.
1321 if test "${enable_win16+set}" = set; then
1322 enableval="$enable_win16"
1325 # Check whether --enable-debug or --disable-debug was given.
1326 if test "${enable_debug+set}" = set; then
1327 enableval="$enable_debug"
1330 # Check whether --enable-trace or --disable-trace was given.
1331 if test "${enable_trace+set}" = set; then
1332 enableval="$enable_trace"
1337 # Check whether --with-opengl or --without-opengl was given.
1338 if test "${with_opengl+set}" = set; then
1339 withval="$with_opengl"
1343 # Check whether --with-curses or --without-curses was given.
1344 if test "${with_curses+set}" = set; then
1345 withval="$with_curses"
1349 # Check whether --with-nptl or --without-nptl was given.
1350 if test "${with_nptl+set}" = set; then
1351 withval="$with_nptl"
1355 # Check whether --with-wine-tools or --without-wine-tools was given.
1356 if test "${with_wine_tools+set}" = set; then
1357 withval="$with_wine_tools"
1361 WIN16_FILES="\$(WIN16_FILES)"
1363 WIN16_INSTALL="\$(WIN16_INSTALL)"
1365 if test "x$enable_win16" = "xno"
1370 if test "x$enable_debug" = "xno"
1373 cat >>confdefs.h <<\_ACEOF
1374 #define NO_DEBUG_MSGS 1
1378 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1381 cat >>confdefs.h <<\_ACEOF
1382 #define NO_TRACE_MSGS 1
1386 if test "x$with_nptl" = "xyes"
1389 cat >>confdefs.h <<\_ACEOF
1393 LIBPTHREAD="-lpthread"
1398 # Make sure we can run config.sub.
1399 $ac_config_sub sun4 >/dev/null 2>&1 ||
1400 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1401 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1402 { (exit 1); exit 1; }; }
1404 echo "$as_me:$LINENO: checking build system type" >&5
1405 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1406 if test "${ac_cv_build+set}" = set; then
1407 echo $ECHO_N "(cached) $ECHO_C" >&6
1409 ac_cv_build_alias=$build_alias
1410 test -z "$ac_cv_build_alias" &&
1411 ac_cv_build_alias=`$ac_config_guess`
1412 test -z "$ac_cv_build_alias" &&
1413 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1414 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1415 { (exit 1); exit 1; }; }
1416 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1417 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1418 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1419 { (exit 1); exit 1; }; }
1422 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1423 echo "${ECHO_T}$ac_cv_build" >&6
1425 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1426 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1427 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1430 echo "$as_me:$LINENO: checking host system type" >&5
1431 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1432 if test "${ac_cv_host+set}" = set; then
1433 echo $ECHO_N "(cached) $ECHO_C" >&6
1435 ac_cv_host_alias=$host_alias
1436 test -z "$ac_cv_host_alias" &&
1437 ac_cv_host_alias=$ac_cv_build_alias
1438 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1439 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1440 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1441 { (exit 1); exit 1; }; }
1444 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1445 echo "${ECHO_T}$ac_cv_host" >&6
1447 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1448 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1449 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1452 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1453 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1454 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1455 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1456 echo $ECHO_N "(cached) $ECHO_C" >&6
1458 cat >conftest.make <<\_ACEOF
1460 @echo 'ac_maketemp="$(MAKE)"'
1462 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1463 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1464 if test -n "$ac_maketemp"; then
1465 eval ac_cv_prog_make_${ac_make}_set=yes
1467 eval ac_cv_prog_make_${ac_make}_set=no
1471 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1472 echo "$as_me:$LINENO: result: yes" >&5
1473 echo "${ECHO_T}yes" >&6
1476 echo "$as_me:$LINENO: result: no" >&5
1477 echo "${ECHO_T}no" >&6
1478 SET_MAKE="MAKE=${MAKE-make}"
1482 ac_cpp='$CPP $CPPFLAGS'
1483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1486 if test -n "$ac_tool_prefix"; then
1487 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1488 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1489 echo "$as_me:$LINENO: checking for $ac_word" >&5
1490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1491 if test "${ac_cv_prog_CC+set}" = set; then
1492 echo $ECHO_N "(cached) $ECHO_C" >&6
1494 if test -n "$CC"; then
1495 ac_cv_prog_CC="$CC" # Let the user override the test.
1497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1501 test -z "$as_dir" && as_dir=.
1502 for ac_exec_ext in '' $ac_executable_extensions; do
1503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1504 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1514 if test -n "$CC"; then
1515 echo "$as_me:$LINENO: result: $CC" >&5
1516 echo "${ECHO_T}$CC" >&6
1518 echo "$as_me:$LINENO: result: no" >&5
1519 echo "${ECHO_T}no" >&6
1523 if test -z "$ac_cv_prog_CC"; then
1525 # Extract the first word of "gcc", so it can be a program name with args.
1526 set dummy gcc; ac_word=$2
1527 echo "$as_me:$LINENO: checking for $ac_word" >&5
1528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1529 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1530 echo $ECHO_N "(cached) $ECHO_C" >&6
1532 if test -n "$ac_ct_CC"; then
1533 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1539 test -z "$as_dir" && as_dir=.
1540 for ac_exec_ext in '' $ac_executable_extensions; do
1541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1542 ac_cv_prog_ac_ct_CC="gcc"
1543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1551 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1552 if test -n "$ac_ct_CC"; then
1553 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1554 echo "${ECHO_T}$ac_ct_CC" >&6
1556 echo "$as_me:$LINENO: result: no" >&5
1557 echo "${ECHO_T}no" >&6
1565 if test -z "$CC"; then
1566 if test -n "$ac_tool_prefix"; then
1567 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1568 set dummy ${ac_tool_prefix}cc; ac_word=$2
1569 echo "$as_me:$LINENO: checking for $ac_word" >&5
1570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1571 if test "${ac_cv_prog_CC+set}" = set; then
1572 echo $ECHO_N "(cached) $ECHO_C" >&6
1574 if test -n "$CC"; then
1575 ac_cv_prog_CC="$CC" # Let the user override the test.
1577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1581 test -z "$as_dir" && as_dir=.
1582 for ac_exec_ext in '' $ac_executable_extensions; do
1583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1584 ac_cv_prog_CC="${ac_tool_prefix}cc"
1585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1594 if test -n "$CC"; then
1595 echo "$as_me:$LINENO: result: $CC" >&5
1596 echo "${ECHO_T}$CC" >&6
1598 echo "$as_me:$LINENO: result: no" >&5
1599 echo "${ECHO_T}no" >&6
1603 if test -z "$ac_cv_prog_CC"; then
1605 # Extract the first word of "cc", so it can be a program name with args.
1606 set dummy cc; ac_word=$2
1607 echo "$as_me:$LINENO: checking for $ac_word" >&5
1608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1609 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1610 echo $ECHO_N "(cached) $ECHO_C" >&6
1612 if test -n "$ac_ct_CC"; then
1613 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1619 test -z "$as_dir" && as_dir=.
1620 for ac_exec_ext in '' $ac_executable_extensions; do
1621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1622 ac_cv_prog_ac_ct_CC="cc"
1623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1631 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1632 if test -n "$ac_ct_CC"; then
1633 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1634 echo "${ECHO_T}$ac_ct_CC" >&6
1636 echo "$as_me:$LINENO: result: no" >&5
1637 echo "${ECHO_T}no" >&6
1646 if test -z "$CC"; then
1647 # Extract the first word of "cc", so it can be a program name with args.
1648 set dummy cc; ac_word=$2
1649 echo "$as_me:$LINENO: checking for $ac_word" >&5
1650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1651 if test "${ac_cv_prog_CC+set}" = set; then
1652 echo $ECHO_N "(cached) $ECHO_C" >&6
1654 if test -n "$CC"; then
1655 ac_cv_prog_CC="$CC" # Let the user override the test.
1658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1662 test -z "$as_dir" && as_dir=.
1663 for ac_exec_ext in '' $ac_executable_extensions; do
1664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1665 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1666 ac_prog_rejected=yes
1670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1676 if test $ac_prog_rejected = yes; then
1677 # We found a bogon in the path, so make sure we never use it.
1678 set dummy $ac_cv_prog_CC
1680 if test $# != 0; then
1681 # We chose a different compiler from the bogus one.
1682 # However, it has the same basename, so the bogon will be chosen
1683 # first if we set CC to just the basename; use the full file name.
1685 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1691 if test -n "$CC"; then
1692 echo "$as_me:$LINENO: result: $CC" >&5
1693 echo "${ECHO_T}$CC" >&6
1695 echo "$as_me:$LINENO: result: no" >&5
1696 echo "${ECHO_T}no" >&6
1700 if test -z "$CC"; then
1701 if test -n "$ac_tool_prefix"; then
1704 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1705 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1706 echo "$as_me:$LINENO: checking for $ac_word" >&5
1707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1708 if test "${ac_cv_prog_CC+set}" = set; then
1709 echo $ECHO_N "(cached) $ECHO_C" >&6
1711 if test -n "$CC"; then
1712 ac_cv_prog_CC="$CC" # Let the user override the test.
1714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1718 test -z "$as_dir" && as_dir=.
1719 for ac_exec_ext in '' $ac_executable_extensions; do
1720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1721 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1731 if test -n "$CC"; then
1732 echo "$as_me:$LINENO: result: $CC" >&5
1733 echo "${ECHO_T}$CC" >&6
1735 echo "$as_me:$LINENO: result: no" >&5
1736 echo "${ECHO_T}no" >&6
1739 test -n "$CC" && break
1742 if test -z "$CC"; then
1746 # Extract the first word of "$ac_prog", so it can be a program name with args.
1747 set dummy $ac_prog; ac_word=$2
1748 echo "$as_me:$LINENO: checking for $ac_word" >&5
1749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1750 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 if test -n "$ac_ct_CC"; then
1754 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1760 test -z "$as_dir" && as_dir=.
1761 for ac_exec_ext in '' $ac_executable_extensions; do
1762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1763 ac_cv_prog_ac_ct_CC="$ac_prog"
1764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1772 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1773 if test -n "$ac_ct_CC"; then
1774 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1775 echo "${ECHO_T}$ac_ct_CC" >&6
1777 echo "$as_me:$LINENO: result: no" >&5
1778 echo "${ECHO_T}no" >&6
1781 test -n "$ac_ct_CC" && break
1790 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1791 See \`config.log' for more details." >&5
1792 echo "$as_me: error: no acceptable C compiler found in \$PATH
1793 See \`config.log' for more details." >&2;}
1794 { (exit 1); exit 1; }; }
1796 # Provide some information about the compiler.
1797 echo "$as_me:$LINENO:" \
1798 "checking for C compiler version" >&5
1799 ac_compiler=`set X $ac_compile; echo $2`
1800 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1801 (eval $ac_compiler --version </dev/null >&5) 2>&5
1803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1804 (exit $ac_status); }
1805 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1806 (eval $ac_compiler -v </dev/null >&5) 2>&5
1808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1809 (exit $ac_status); }
1810 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1811 (eval $ac_compiler -V </dev/null >&5) 2>&5
1813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1814 (exit $ac_status); }
1816 cat >conftest.$ac_ext <<_ACEOF
1817 #line $LINENO "configure"
1820 cat confdefs.h >>conftest.$ac_ext
1821 cat >>conftest.$ac_ext <<_ACEOF
1822 /* end confdefs.h. */
1832 ac_clean_files_save=$ac_clean_files
1833 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1834 # Try to create an executable without -o first, disregard a.out.
1835 # It will help us diagnose broken compilers, and finding out an intuition
1837 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1838 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1839 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1840 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1841 (eval $ac_link_default) 2>&5
1843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1844 (exit $ac_status); }; then
1845 # Find the output, starting from the most likely. This scheme is
1846 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1849 # Be careful to initialize this variable, since it used to be cached.
1850 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1852 # b.out is created by i960 compilers.
1853 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1855 test -f "$ac_file" || continue
1857 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1860 # This is the source file.
1863 # We found the default executable, but exeext='' is most
1867 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1868 # FIXME: I believe we export ac_cv_exeext for Libtool,
1869 # but it would be cool to find out if it's true. Does anybody
1870 # maintain Libtool? --akim.
1878 echo "$as_me: failed program was:" >&5
1879 sed 's/^/| /' conftest.$ac_ext >&5
1881 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1882 See \`config.log' for more details." >&5
1883 echo "$as_me: error: C compiler cannot create executables
1884 See \`config.log' for more details." >&2;}
1885 { (exit 77); exit 77; }; }
1888 ac_exeext=$ac_cv_exeext
1889 echo "$as_me:$LINENO: result: $ac_file" >&5
1890 echo "${ECHO_T}$ac_file" >&6
1892 # Check the compiler produces executables we can run. If not, either
1893 # the compiler is broken, or we cross compile.
1894 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1895 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1896 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1897 # If not cross compiling, check that we can run a simple program.
1898 if test "$cross_compiling" != yes; then
1899 if { ac_try='./$ac_file'
1900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1904 (exit $ac_status); }; }; then
1907 if test "$cross_compiling" = maybe; then
1910 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1911 If you meant to cross compile, use \`--host'.
1912 See \`config.log' for more details." >&5
1913 echo "$as_me: error: cannot run C compiled programs.
1914 If you meant to cross compile, use \`--host'.
1915 See \`config.log' for more details." >&2;}
1916 { (exit 1); exit 1; }; }
1920 echo "$as_me:$LINENO: result: yes" >&5
1921 echo "${ECHO_T}yes" >&6
1923 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1924 ac_clean_files=$ac_clean_files_save
1925 # Check the compiler produces executables we can run. If not, either
1926 # the compiler is broken, or we cross compile.
1927 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1928 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1929 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1930 echo "${ECHO_T}$cross_compiling" >&6
1932 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1933 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1935 (eval $ac_link) 2>&5
1937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1938 (exit $ac_status); }; then
1939 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1940 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1941 # work properly (i.e., refer to `conftest.exe'), while it won't with
1943 for ac_file in conftest.exe conftest conftest.*; do
1944 test -f "$ac_file" || continue
1946 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1947 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1954 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1955 See \`config.log' for more details." >&5
1956 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1957 See \`config.log' for more details." >&2;}
1958 { (exit 1); exit 1; }; }
1961 rm -f conftest$ac_cv_exeext
1962 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1963 echo "${ECHO_T}$ac_cv_exeext" >&6
1965 rm -f conftest.$ac_ext
1966 EXEEXT=$ac_cv_exeext
1968 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1969 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1970 if test "${ac_cv_objext+set}" = set; then
1971 echo $ECHO_N "(cached) $ECHO_C" >&6
1973 cat >conftest.$ac_ext <<_ACEOF
1974 #line $LINENO "configure"
1977 cat confdefs.h >>conftest.$ac_ext
1978 cat >>conftest.$ac_ext <<_ACEOF
1979 /* end confdefs.h. */
1989 rm -f conftest.o conftest.obj
1990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1991 (eval $ac_compile) 2>&5
1993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1994 (exit $ac_status); }; then
1995 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1997 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1998 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2003 echo "$as_me: failed program was:" >&5
2004 sed 's/^/| /' conftest.$ac_ext >&5
2006 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2007 See \`config.log' for more details." >&5
2008 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2009 See \`config.log' for more details." >&2;}
2010 { (exit 1); exit 1; }; }
2013 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2015 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2016 echo "${ECHO_T}$ac_cv_objext" >&6
2017 OBJEXT=$ac_cv_objext
2019 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2020 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2021 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2022 echo $ECHO_N "(cached) $ECHO_C" >&6
2024 cat >conftest.$ac_ext <<_ACEOF
2025 #line $LINENO "configure"
2028 cat confdefs.h >>conftest.$ac_ext
2029 cat >>conftest.$ac_ext <<_ACEOF
2030 /* end confdefs.h. */
2043 rm -f conftest.$ac_objext
2044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2045 (eval $ac_compile) 2>&5
2047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2048 (exit $ac_status); } &&
2049 { ac_try='test -s conftest.$ac_objext'
2050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2054 (exit $ac_status); }; }; then
2057 echo "$as_me: failed program was:" >&5
2058 sed 's/^/| /' conftest.$ac_ext >&5
2062 rm -f conftest.$ac_objext conftest.$ac_ext
2063 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2066 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2067 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2068 GCC=`test $ac_compiler_gnu = yes && echo yes`
2069 ac_test_CFLAGS=${CFLAGS+set}
2070 ac_save_CFLAGS=$CFLAGS
2072 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2073 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2074 if test "${ac_cv_prog_cc_g+set}" = set; then
2075 echo $ECHO_N "(cached) $ECHO_C" >&6
2077 cat >conftest.$ac_ext <<_ACEOF
2078 #line $LINENO "configure"
2081 cat confdefs.h >>conftest.$ac_ext
2082 cat >>conftest.$ac_ext <<_ACEOF
2083 /* end confdefs.h. */
2093 rm -f conftest.$ac_objext
2094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2095 (eval $ac_compile) 2>&5
2097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2098 (exit $ac_status); } &&
2099 { ac_try='test -s conftest.$ac_objext'
2100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2104 (exit $ac_status); }; }; then
2107 echo "$as_me: failed program was:" >&5
2108 sed 's/^/| /' conftest.$ac_ext >&5
2112 rm -f conftest.$ac_objext conftest.$ac_ext
2114 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2115 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2116 if test "$ac_test_CFLAGS" = set; then
2117 CFLAGS=$ac_save_CFLAGS
2118 elif test $ac_cv_prog_cc_g = yes; then
2119 if test "$GCC" = yes; then
2125 if test "$GCC" = yes; then
2131 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2132 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2133 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2134 echo $ECHO_N "(cached) $ECHO_C" >&6
2136 ac_cv_prog_cc_stdc=no
2138 cat >conftest.$ac_ext <<_ACEOF
2139 #line $LINENO "configure"
2142 cat confdefs.h >>conftest.$ac_ext
2143 cat >>conftest.$ac_ext <<_ACEOF
2144 /* end confdefs.h. */
2147 #include <sys/types.h>
2148 #include <sys/stat.h>
2149 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2150 struct buf { int x; };
2151 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2152 static char *e (p, i)
2158 static char *f (char * (*g) (char **, int), char **p, ...)
2163 s = g (p, va_arg (v,int));
2167 int test (int i, double x);
2168 struct s1 {int (*f) (int a);};
2169 struct s2 {int (*f) (double a);};
2170 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2176 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2181 # Don't try gcc -ansi; that turns off useful extensions and
2182 # breaks some systems' header files.
2183 # AIX -qlanglvl=ansi
2184 # Ultrix and OSF/1 -std1
2185 # HP-UX 10.20 and later -Ae
2186 # HP-UX older versions -Aa -D_HPUX_SOURCE
2187 # SVR4 -Xc -D__EXTENSIONS__
2188 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2190 CC="$ac_save_CC $ac_arg"
2191 rm -f conftest.$ac_objext
2192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2193 (eval $ac_compile) 2>&5
2195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2196 (exit $ac_status); } &&
2197 { ac_try='test -s conftest.$ac_objext'
2198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2202 (exit $ac_status); }; }; then
2203 ac_cv_prog_cc_stdc=$ac_arg
2206 echo "$as_me: failed program was:" >&5
2207 sed 's/^/| /' conftest.$ac_ext >&5
2210 rm -f conftest.$ac_objext
2212 rm -f conftest.$ac_ext conftest.$ac_objext
2217 case "x$ac_cv_prog_cc_stdc" in
2219 echo "$as_me:$LINENO: result: none needed" >&5
2220 echo "${ECHO_T}none needed" >&6 ;;
2222 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2223 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2224 CC="$CC $ac_cv_prog_cc_stdc" ;;
2227 # Some people use a C++ compiler to compile C. Since we use `exit',
2228 # in C++ we need to declare it. In case someone uses the same compiler
2229 # for both compiling C and C++ we need to have the C++ compiler decide
2230 # the declaration of exit, since it's the most demanding environment.
2231 cat >conftest.$ac_ext <<_ACEOF
2236 rm -f conftest.$ac_objext
2237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2238 (eval $ac_compile) 2>&5
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); } &&
2242 { ac_try='test -s conftest.$ac_objext'
2243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); }; }; then
2248 for ac_declaration in \
2250 'extern "C" void std::exit (int) throw (); using std::exit;' \
2251 'extern "C" void std::exit (int); using std::exit;' \
2252 'extern "C" void exit (int) throw ();' \
2253 'extern "C" void exit (int);' \
2256 cat >conftest.$ac_ext <<_ACEOF
2257 #line $LINENO "configure"
2260 cat confdefs.h >>conftest.$ac_ext
2261 cat >>conftest.$ac_ext <<_ACEOF
2262 /* end confdefs.h. */
2273 rm -f conftest.$ac_objext
2274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2275 (eval $ac_compile) 2>&5
2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278 (exit $ac_status); } &&
2279 { ac_try='test -s conftest.$ac_objext'
2280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); }; }; then
2287 echo "$as_me: failed program was:" >&5
2288 sed 's/^/| /' conftest.$ac_ext >&5
2292 rm -f conftest.$ac_objext conftest.$ac_ext
2293 cat >conftest.$ac_ext <<_ACEOF
2294 #line $LINENO "configure"
2297 cat confdefs.h >>conftest.$ac_ext
2298 cat >>conftest.$ac_ext <<_ACEOF
2299 /* end confdefs.h. */
2309 rm -f conftest.$ac_objext
2310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2311 (eval $ac_compile) 2>&5
2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314 (exit $ac_status); } &&
2315 { ac_try='test -s conftest.$ac_objext'
2316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320 (exit $ac_status); }; }; then
2323 echo "$as_me: failed program was:" >&5
2324 sed 's/^/| /' conftest.$ac_ext >&5
2327 rm -f conftest.$ac_objext conftest.$ac_ext
2330 if test -n "$ac_declaration"; then
2331 echo '#ifdef __cplusplus' >>confdefs.h
2332 echo $ac_declaration >>confdefs.h
2333 echo '#endif' >>confdefs.h
2337 echo "$as_me: failed program was:" >&5
2338 sed 's/^/| /' conftest.$ac_ext >&5
2341 rm -f conftest.$ac_objext conftest.$ac_ext
2343 ac_cpp='$CPP $CPPFLAGS'
2344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2349 ac_cpp='$CPP $CPPFLAGS'
2350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2353 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2354 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2355 # On Suns, sometimes $CPP names a directory.
2356 if test -n "$CPP" && test -d "$CPP"; then
2359 if test -z "$CPP"; then
2360 if test "${ac_cv_prog_CPP+set}" = set; then
2361 echo $ECHO_N "(cached) $ECHO_C" >&6
2363 # Double quotes because CPP needs to be expanded
2364 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2367 for ac_c_preproc_warn_flag in '' yes
2369 # Use a header file that comes with gcc, so configuring glibc
2370 # with a fresh cross-compiler works.
2371 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2372 # <limits.h> exists even on freestanding compilers.
2373 # On the NeXT, cc -E runs the code through the compiler's parser,
2374 # not just through cpp. "Syntax error" is here to catch this case.
2375 cat >conftest.$ac_ext <<_ACEOF
2376 #line $LINENO "configure"
2379 cat confdefs.h >>conftest.$ac_ext
2380 cat >>conftest.$ac_ext <<_ACEOF
2381 /* end confdefs.h. */
2383 # include <limits.h>
2385 # include <assert.h>
2389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2390 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2392 grep -v '^ *+' conftest.er1 >conftest.err
2394 cat conftest.err >&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); } >/dev/null; then
2397 if test -s conftest.err; then
2398 ac_cpp_err=$ac_c_preproc_warn_flag
2405 if test -z "$ac_cpp_err"; then
2408 echo "$as_me: failed program was:" >&5
2409 sed 's/^/| /' conftest.$ac_ext >&5
2411 # Broken: fails on valid input.
2414 rm -f conftest.err conftest.$ac_ext
2416 # OK, works on sane cases. Now check whether non-existent headers
2417 # can be detected and how.
2418 cat >conftest.$ac_ext <<_ACEOF
2419 #line $LINENO "configure"
2422 cat confdefs.h >>conftest.$ac_ext
2423 cat >>conftest.$ac_ext <<_ACEOF
2424 /* end confdefs.h. */
2425 #include <ac_nonexistent.h>
2427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2428 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2430 grep -v '^ *+' conftest.er1 >conftest.err
2432 cat conftest.err >&5
2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434 (exit $ac_status); } >/dev/null; then
2435 if test -s conftest.err; then
2436 ac_cpp_err=$ac_c_preproc_warn_flag
2443 if test -z "$ac_cpp_err"; then
2444 # Broken: success on invalid input.
2447 echo "$as_me: failed program was:" >&5
2448 sed 's/^/| /' conftest.$ac_ext >&5
2450 # Passes both tests.
2454 rm -f conftest.err conftest.$ac_ext
2457 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2458 rm -f conftest.err conftest.$ac_ext
2459 if $ac_preproc_ok; then
2471 echo "$as_me:$LINENO: result: $CPP" >&5
2472 echo "${ECHO_T}$CPP" >&6
2474 for ac_c_preproc_warn_flag in '' yes
2476 # Use a header file that comes with gcc, so configuring glibc
2477 # with a fresh cross-compiler works.
2478 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2479 # <limits.h> exists even on freestanding compilers.
2480 # On the NeXT, cc -E runs the code through the compiler's parser,
2481 # not just through cpp. "Syntax error" is here to catch this case.
2482 cat >conftest.$ac_ext <<_ACEOF
2483 #line $LINENO "configure"
2486 cat confdefs.h >>conftest.$ac_ext
2487 cat >>conftest.$ac_ext <<_ACEOF
2488 /* end confdefs.h. */
2490 # include <limits.h>
2492 # include <assert.h>
2496 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2497 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2499 grep -v '^ *+' conftest.er1 >conftest.err
2501 cat conftest.err >&5
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); } >/dev/null; then
2504 if test -s conftest.err; then
2505 ac_cpp_err=$ac_c_preproc_warn_flag
2512 if test -z "$ac_cpp_err"; then
2515 echo "$as_me: failed program was:" >&5
2516 sed 's/^/| /' conftest.$ac_ext >&5
2518 # Broken: fails on valid input.
2521 rm -f conftest.err conftest.$ac_ext
2523 # OK, works on sane cases. Now check whether non-existent headers
2524 # can be detected and how.
2525 cat >conftest.$ac_ext <<_ACEOF
2526 #line $LINENO "configure"
2529 cat confdefs.h >>conftest.$ac_ext
2530 cat >>conftest.$ac_ext <<_ACEOF
2531 /* end confdefs.h. */
2532 #include <ac_nonexistent.h>
2534 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2535 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2537 grep -v '^ *+' conftest.er1 >conftest.err
2539 cat conftest.err >&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); } >/dev/null; then
2542 if test -s conftest.err; then
2543 ac_cpp_err=$ac_c_preproc_warn_flag
2550 if test -z "$ac_cpp_err"; then
2551 # Broken: success on invalid input.
2554 echo "$as_me: failed program was:" >&5
2555 sed 's/^/| /' conftest.$ac_ext >&5
2557 # Passes both tests.
2561 rm -f conftest.err conftest.$ac_ext
2564 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2565 rm -f conftest.err conftest.$ac_ext
2566 if $ac_preproc_ok; then
2569 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2570 See \`config.log' for more details." >&5
2571 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2572 See \`config.log' for more details." >&2;}
2573 { (exit 1); exit 1; }; }
2577 ac_cpp='$CPP $CPPFLAGS'
2578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2583 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2584 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2585 if test "${wine_cv_toolsdir+set}" = set; then
2586 echo $ECHO_N "(cached) $ECHO_C" >&6
2588 if test -z "$with_wine_tools"; then
2589 if test "$cross_compiling" = "yes"; then
2590 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2591 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2592 { (exit 1); exit 1; }; }
2594 wine_cv_toolsdir="\$(TOPOBJDIR)"
2596 elif test -d "$with_wine_tools/tools/winebuild"; then
2597 case $with_wine_tools in
2598 /*) wine_cv_toolsdir="$with_wine_tools" ;;
2599 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
2602 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2603 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2604 { (exit 1); exit 1; }; }
2607 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2608 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2609 TOOLSDIR=$wine_cv_toolsdir
2614 echo "$as_me:$LINENO: checking for X" >&5
2615 echo $ECHO_N "checking for X... $ECHO_C" >&6
2618 # Check whether --with-x or --without-x was given.
2619 if test "${with_x+set}" = set; then
2623 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2624 if test "x$with_x" = xno; then
2625 # The user explicitly disabled X.
2628 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
2629 # Both variables are already set.
2632 if test "${ac_cv_have_x+set}" = set; then
2633 echo $ECHO_N "(cached) $ECHO_C" >&6
2635 # One or both of the vars are not set, and there is no cached value.
2636 ac_x_includes=no ac_x_libraries=no
2638 if mkdir conftest.dir; then
2640 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2641 cat >Imakefile <<'_ACEOF'
2643 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2645 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
2646 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2647 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2648 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2649 for ac_extension in a so sl; do
2650 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
2651 test -f $ac_im_libdir/libX11.$ac_extension; then
2652 ac_im_usrlibdir=$ac_im_libdir; break
2655 # Screen out bogus values from the imake configuration. They are
2656 # bogus both because they are the default anyway, and because
2657 # using them would break gcc on systems where it needs fixed includes.
2658 case $ac_im_incroot in
2660 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
2662 case $ac_im_usrlibdir in
2664 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
2671 # Standard set of common directories for X headers.
2672 # Check X11 before X11Rn because it is often a symlink to the current release.
2684 /usr/local/X11/include
2685 /usr/local/X11R6/include
2686 /usr/local/X11R5/include
2687 /usr/local/X11R4/include
2689 /usr/local/include/X11
2690 /usr/local/include/X11R6
2691 /usr/local/include/X11R5
2692 /usr/local/include/X11R4
2696 /usr/XFree86/include/X11
2700 /usr/unsupported/include
2702 /usr/local/x11r5/include
2703 /usr/lpp/Xamples/include
2705 /usr/openwin/include
2706 /usr/openwin/share/include'
2708 if test "$ac_x_includes" = no; then
2709 # Guess where to find include files, by looking for Intrinsic.h.
2710 # First, try using that file with no special directory specified.
2711 cat >conftest.$ac_ext <<_ACEOF
2712 #line $LINENO "configure"
2715 cat confdefs.h >>conftest.$ac_ext
2716 cat >>conftest.$ac_ext <<_ACEOF
2717 /* end confdefs.h. */
2718 #include <X11/Intrinsic.h>
2720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2721 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2723 grep -v '^ *+' conftest.er1 >conftest.err
2725 cat conftest.err >&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); } >/dev/null; then
2728 if test -s conftest.err; then
2729 ac_cpp_err=$ac_c_preproc_warn_flag
2736 if test -z "$ac_cpp_err"; then
2737 # We can compile using X headers with no special include directory.
2740 echo "$as_me: failed program was:" >&5
2741 sed 's/^/| /' conftest.$ac_ext >&5
2743 for ac_dir in $ac_x_header_dirs; do
2744 if test -r "$ac_dir/X11/Intrinsic.h"; then
2745 ac_x_includes=$ac_dir
2750 rm -f conftest.err conftest.$ac_ext
2751 fi # $ac_x_includes = no
2753 if test "$ac_x_libraries" = no; then
2754 # Check for the libraries.
2755 # See if we find them without any special options.
2756 # Don't add to $LIBS permanently.
2759 cat >conftest.$ac_ext <<_ACEOF
2760 #line $LINENO "configure"
2763 cat confdefs.h >>conftest.$ac_ext
2764 cat >>conftest.$ac_ext <<_ACEOF
2765 /* end confdefs.h. */
2766 #include <X11/Intrinsic.h>
2775 rm -f conftest.$ac_objext conftest$ac_exeext
2776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2777 (eval $ac_link) 2>&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); } &&
2781 { ac_try='test -s conftest$ac_exeext'
2782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; }; then
2788 # We can link X programs with no special library path.
2791 echo "$as_me: failed program was:" >&5
2792 sed 's/^/| /' conftest.$ac_ext >&5
2795 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2797 # Don't even attempt the hair of trying to link an X program!
2798 for ac_extension in a so sl; do
2799 if test -r $ac_dir/libXt.$ac_extension; then
2800 ac_x_libraries=$ac_dir
2806 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2807 fi # $ac_x_libraries = no
2809 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
2810 # Didn't find X anywhere. Cache the known absence of X.
2811 ac_cv_have_x="have_x=no"
2813 # Record where we found X for the cache.
2814 ac_cv_have_x="have_x=yes \
2815 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2820 eval "$ac_cv_have_x"
2823 if test "$have_x" != yes; then
2824 echo "$as_me:$LINENO: result: $have_x" >&5
2825 echo "${ECHO_T}$have_x" >&6
2828 # If each of the values was on the command line, it overrides each guess.
2829 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
2830 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
2831 # Update the cache value to reflect the command line values.
2832 ac_cv_have_x="have_x=yes \
2833 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2834 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2835 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2838 if test "$no_x" = yes; then
2839 # Not all programs may use this symbol, but it does not hurt to define it.
2841 cat >>confdefs.h <<\_ACEOF
2842 #define X_DISPLAY_MISSING 1
2845 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
2847 if test -n "$x_includes"; then
2848 X_CFLAGS="$X_CFLAGS -I$x_includes"
2851 # It would also be nice to do this for all -L options, not just this one.
2852 if test -n "$x_libraries"; then
2853 X_LIBS="$X_LIBS -L$x_libraries"
2854 # For Solaris; some versions of Sun CC require a space after -R and
2855 # others require no space. Words are not sufficient . . . .
2856 case `(uname -sr) 2>/dev/null` in
2858 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2859 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2860 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
2861 cat >conftest.$ac_ext <<_ACEOF
2862 #line $LINENO "configure"
2865 cat confdefs.h >>conftest.$ac_ext
2866 cat >>conftest.$ac_ext <<_ACEOF
2867 /* end confdefs.h. */
2877 rm -f conftest.$ac_objext conftest$ac_exeext
2878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2879 (eval $ac_link) 2>&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); } &&
2883 { ac_try='test -s conftest$ac_exeext'
2884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); }; }; then
2891 echo "$as_me: failed program was:" >&5
2892 sed 's/^/| /' conftest.$ac_ext >&5
2896 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2897 if test $ac_R_nospace = yes; then
2898 echo "$as_me:$LINENO: result: no" >&5
2899 echo "${ECHO_T}no" >&6
2900 X_LIBS="$X_LIBS -R$x_libraries"
2902 LIBS="$ac_xsave_LIBS -R $x_libraries"
2903 cat >conftest.$ac_ext <<_ACEOF
2904 #line $LINENO "configure"
2907 cat confdefs.h >>conftest.$ac_ext
2908 cat >>conftest.$ac_ext <<_ACEOF
2909 /* end confdefs.h. */
2919 rm -f conftest.$ac_objext conftest$ac_exeext
2920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2921 (eval $ac_link) 2>&5
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); } &&
2925 { ac_try='test -s conftest$ac_exeext'
2926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }; }; then
2933 echo "$as_me: failed program was:" >&5
2934 sed 's/^/| /' conftest.$ac_ext >&5
2938 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2939 if test $ac_R_space = yes; then
2940 echo "$as_me:$LINENO: result: yes" >&5
2941 echo "${ECHO_T}yes" >&6
2942 X_LIBS="$X_LIBS -R $x_libraries"
2944 echo "$as_me:$LINENO: result: neither works" >&5
2945 echo "${ECHO_T}neither works" >&6
2952 # Check for system-dependent libraries X programs must link with.
2953 # Do this before checking for the system-independent R6 libraries
2954 # (-lICE), since we may need -lsocket or whatever for X linking.
2956 if test "$ISC" = yes; then
2957 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
2959 # Martyn Johnson says this is needed for Ultrix, if the X
2960 # libraries were built with DECnet support. And Karl Berry says
2961 # the Alpha needs dnet_stub (dnet does not exist).
2962 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
2963 cat >conftest.$ac_ext <<_ACEOF
2964 #line $LINENO "configure"
2967 cat confdefs.h >>conftest.$ac_ext
2968 cat >>conftest.$ac_ext <<_ACEOF
2969 /* end confdefs.h. */
2971 /* Override any gcc2 internal prototype to avoid an error. */
2975 /* We use char because int might match the return type of a gcc2
2976 builtin and then its argument prototype would still apply. */
2977 char XOpenDisplay ();
2986 rm -f conftest.$ac_objext conftest$ac_exeext
2987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2988 (eval $ac_link) 2>&5
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); } &&
2992 { ac_try='test -s conftest$ac_exeext'
2993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2997 (exit $ac_status); }; }; then
3000 echo "$as_me: failed program was:" >&5
3001 sed 's/^/| /' conftest.$ac_ext >&5
3003 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3004 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3005 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3006 echo $ECHO_N "(cached) $ECHO_C" >&6
3008 ac_check_lib_save_LIBS=$LIBS
3010 cat >conftest.$ac_ext <<_ACEOF
3011 #line $LINENO "configure"
3014 cat confdefs.h >>conftest.$ac_ext
3015 cat >>conftest.$ac_ext <<_ACEOF
3016 /* end confdefs.h. */
3018 /* Override any gcc2 internal prototype to avoid an error. */
3022 /* We use char because int might match the return type of a gcc2
3023 builtin and then its argument prototype would still apply. */
3033 rm -f conftest.$ac_objext conftest$ac_exeext
3034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3035 (eval $ac_link) 2>&5
3037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3038 (exit $ac_status); } &&
3039 { ac_try='test -s conftest$ac_exeext'
3040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); }; }; then
3045 ac_cv_lib_dnet_dnet_ntoa=yes
3047 echo "$as_me: failed program was:" >&5
3048 sed 's/^/| /' conftest.$ac_ext >&5
3050 ac_cv_lib_dnet_dnet_ntoa=no
3052 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3053 LIBS=$ac_check_lib_save_LIBS
3055 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3056 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3057 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3058 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
3061 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
3062 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3063 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3064 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3065 echo $ECHO_N "(cached) $ECHO_C" >&6
3067 ac_check_lib_save_LIBS=$LIBS
3068 LIBS="-ldnet_stub $LIBS"
3069 cat >conftest.$ac_ext <<_ACEOF
3070 #line $LINENO "configure"
3073 cat confdefs.h >>conftest.$ac_ext
3074 cat >>conftest.$ac_ext <<_ACEOF
3075 /* end confdefs.h. */
3077 /* Override any gcc2 internal prototype to avoid an error. */
3081 /* We use char because int might match the return type of a gcc2
3082 builtin and then its argument prototype would still apply. */
3092 rm -f conftest.$ac_objext conftest$ac_exeext
3093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3094 (eval $ac_link) 2>&5
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); } &&
3098 { ac_try='test -s conftest$ac_exeext'
3099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); }; }; then
3104 ac_cv_lib_dnet_stub_dnet_ntoa=yes
3106 echo "$as_me: failed program was:" >&5
3107 sed 's/^/| /' conftest.$ac_ext >&5
3109 ac_cv_lib_dnet_stub_dnet_ntoa=no
3111 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3112 LIBS=$ac_check_lib_save_LIBS
3114 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3115 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3116 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3117 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
3122 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3123 LIBS="$ac_xsave_LIBS"
3125 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3126 # to get the SysV transport functions.
3127 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3129 # The nsl library prevents programs from opening the X display
3130 # on Irix 5.2, according to T.E. Dickey.
3131 # The functions gethostbyname, getservbyname, and inet_addr are
3132 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3133 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3134 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3135 if test "${ac_cv_func_gethostbyname+set}" = set; then
3136 echo $ECHO_N "(cached) $ECHO_C" >&6
3138 cat >conftest.$ac_ext <<_ACEOF
3139 #line $LINENO "configure"
3142 cat confdefs.h >>conftest.$ac_ext
3143 cat >>conftest.$ac_ext <<_ACEOF
3144 /* end confdefs.h. */
3145 /* System header to define __stub macros and hopefully few prototypes,
3146 which can conflict with char gethostbyname (); below.
3147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3148 <limits.h> exists even on freestanding compilers. */
3150 # include <limits.h>
3152 # include <assert.h>
3154 /* Override any gcc2 internal prototype to avoid an error. */
3159 /* We use char because int might match the return type of a gcc2
3160 builtin and then its argument prototype would still apply. */
3161 char gethostbyname ();
3162 /* The GNU C library defines this for functions which it implements
3163 to always fail with ENOSYS. Some functions are actually named
3164 something starting with __ and the normal name is an alias. */
3165 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3168 char (*f) () = gethostbyname;
3177 return f != gethostbyname;
3182 rm -f conftest.$ac_objext conftest$ac_exeext
3183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3184 (eval $ac_link) 2>&5
3186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3187 (exit $ac_status); } &&
3188 { ac_try='test -s conftest$ac_exeext'
3189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); }; }; then
3194 ac_cv_func_gethostbyname=yes
3196 echo "$as_me: failed program was:" >&5
3197 sed 's/^/| /' conftest.$ac_ext >&5
3199 ac_cv_func_gethostbyname=no
3201 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3203 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3204 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3206 if test $ac_cv_func_gethostbyname = no; then
3207 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3208 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3209 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3210 echo $ECHO_N "(cached) $ECHO_C" >&6
3212 ac_check_lib_save_LIBS=$LIBS
3214 cat >conftest.$ac_ext <<_ACEOF
3215 #line $LINENO "configure"
3218 cat confdefs.h >>conftest.$ac_ext
3219 cat >>conftest.$ac_ext <<_ACEOF
3220 /* end confdefs.h. */
3222 /* Override any gcc2 internal prototype to avoid an error. */
3226 /* We use char because int might match the return type of a gcc2
3227 builtin and then its argument prototype would still apply. */
3228 char gethostbyname ();
3237 rm -f conftest.$ac_objext conftest$ac_exeext
3238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3239 (eval $ac_link) 2>&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); } &&
3243 { ac_try='test -s conftest$ac_exeext'
3244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); }; }; then
3249 ac_cv_lib_nsl_gethostbyname=yes
3251 echo "$as_me: failed program was:" >&5
3252 sed 's/^/| /' conftest.$ac_ext >&5
3254 ac_cv_lib_nsl_gethostbyname=no
3256 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3257 LIBS=$ac_check_lib_save_LIBS
3259 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3260 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3261 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3262 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
3265 if test $ac_cv_lib_nsl_gethostbyname = no; then
3266 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3267 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3268 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3269 echo $ECHO_N "(cached) $ECHO_C" >&6
3271 ac_check_lib_save_LIBS=$LIBS
3273 cat >conftest.$ac_ext <<_ACEOF
3274 #line $LINENO "configure"
3277 cat confdefs.h >>conftest.$ac_ext
3278 cat >>conftest.$ac_ext <<_ACEOF
3279 /* end confdefs.h. */
3281 /* Override any gcc2 internal prototype to avoid an error. */
3285 /* We use char because int might match the return type of a gcc2
3286 builtin and then its argument prototype would still apply. */
3287 char gethostbyname ();
3296 rm -f conftest.$ac_objext conftest$ac_exeext
3297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3298 (eval $ac_link) 2>&5
3300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3301 (exit $ac_status); } &&
3302 { ac_try='test -s conftest$ac_exeext'
3303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 (exit $ac_status); }; }; then
3308 ac_cv_lib_bsd_gethostbyname=yes
3310 echo "$as_me: failed program was:" >&5
3311 sed 's/^/| /' conftest.$ac_ext >&5
3313 ac_cv_lib_bsd_gethostbyname=no
3315 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3316 LIBS=$ac_check_lib_save_LIBS
3318 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3319 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3320 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3321 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
3327 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3328 # socket/setsockopt and other routines are undefined under SCO ODT
3329 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3330 # on later versions), says Simon Leinen: it contains gethostby*
3331 # variants that don't use the name server (or something). -lsocket
3332 # must be given before -lnsl if both are needed. We assume that
3333 # if connect needs -lnsl, so does gethostbyname.
3334 echo "$as_me:$LINENO: checking for connect" >&5
3335 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3336 if test "${ac_cv_func_connect+set}" = set; then
3337 echo $ECHO_N "(cached) $ECHO_C" >&6
3339 cat >conftest.$ac_ext <<_ACEOF
3340 #line $LINENO "configure"
3343 cat confdefs.h >>conftest.$ac_ext
3344 cat >>conftest.$ac_ext <<_ACEOF
3345 /* end confdefs.h. */
3346 /* System header to define __stub macros and hopefully few prototypes,
3347 which can conflict with char connect (); below.
3348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3349 <limits.h> exists even on freestanding compilers. */
3351 # include <limits.h>
3353 # include <assert.h>
3355 /* Override any gcc2 internal prototype to avoid an error. */
3360 /* We use char because int might match the return type of a gcc2
3361 builtin and then its argument prototype would still apply. */
3363 /* The GNU C library defines this for functions which it implements
3364 to always fail with ENOSYS. Some functions are actually named
3365 something starting with __ and the normal name is an alias. */
3366 #if defined (__stub_connect) || defined (__stub___connect)
3369 char (*f) () = connect;
3378 return f != connect;
3383 rm -f conftest.$ac_objext conftest$ac_exeext
3384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3385 (eval $ac_link) 2>&5
3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); } &&
3389 { ac_try='test -s conftest$ac_exeext'
3390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3394 (exit $ac_status); }; }; then
3395 ac_cv_func_connect=yes
3397 echo "$as_me: failed program was:" >&5
3398 sed 's/^/| /' conftest.$ac_ext >&5
3400 ac_cv_func_connect=no
3402 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3404 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3405 echo "${ECHO_T}$ac_cv_func_connect" >&6
3407 if test $ac_cv_func_connect = no; then
3408 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3409 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3410 if test "${ac_cv_lib_socket_connect+set}" = set; then
3411 echo $ECHO_N "(cached) $ECHO_C" >&6
3413 ac_check_lib_save_LIBS=$LIBS
3414 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
3415 cat >conftest.$ac_ext <<_ACEOF
3416 #line $LINENO "configure"
3419 cat confdefs.h >>conftest.$ac_ext
3420 cat >>conftest.$ac_ext <<_ACEOF
3421 /* end confdefs.h. */
3423 /* Override any gcc2 internal prototype to avoid an error. */
3427 /* We use char because int might match the return type of a gcc2
3428 builtin and then its argument prototype would still apply. */
3438 rm -f conftest.$ac_objext conftest$ac_exeext
3439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3440 (eval $ac_link) 2>&5
3442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443 (exit $ac_status); } &&
3444 { ac_try='test -s conftest$ac_exeext'
3445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); }; }; then
3450 ac_cv_lib_socket_connect=yes
3452 echo "$as_me: failed program was:" >&5
3453 sed 's/^/| /' conftest.$ac_ext >&5
3455 ac_cv_lib_socket_connect=no
3457 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3458 LIBS=$ac_check_lib_save_LIBS
3460 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3461 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3462 if test $ac_cv_lib_socket_connect = yes; then
3463 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
3468 # Guillermo Gomez says -lposix is necessary on A/UX.
3469 echo "$as_me:$LINENO: checking for remove" >&5
3470 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3471 if test "${ac_cv_func_remove+set}" = set; then
3472 echo $ECHO_N "(cached) $ECHO_C" >&6
3474 cat >conftest.$ac_ext <<_ACEOF
3475 #line $LINENO "configure"
3478 cat confdefs.h >>conftest.$ac_ext
3479 cat >>conftest.$ac_ext <<_ACEOF
3480 /* end confdefs.h. */
3481 /* System header to define __stub macros and hopefully few prototypes,
3482 which can conflict with char remove (); below.
3483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3484 <limits.h> exists even on freestanding compilers. */
3486 # include <limits.h>
3488 # include <assert.h>
3490 /* Override any gcc2 internal prototype to avoid an error. */
3495 /* We use char because int might match the return type of a gcc2
3496 builtin and then its argument prototype would still apply. */
3498 /* The GNU C library defines this for functions which it implements
3499 to always fail with ENOSYS. Some functions are actually named
3500 something starting with __ and the normal name is an alias. */
3501 #if defined (__stub_remove) || defined (__stub___remove)
3504 char (*f) () = remove;
3518 rm -f conftest.$ac_objext conftest$ac_exeext
3519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3520 (eval $ac_link) 2>&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); } &&
3524 { ac_try='test -s conftest$ac_exeext'
3525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529 (exit $ac_status); }; }; then
3530 ac_cv_func_remove=yes
3532 echo "$as_me: failed program was:" >&5
3533 sed 's/^/| /' conftest.$ac_ext >&5
3535 ac_cv_func_remove=no
3537 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3539 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3540 echo "${ECHO_T}$ac_cv_func_remove" >&6
3542 if test $ac_cv_func_remove = no; then
3543 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3544 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3545 if test "${ac_cv_lib_posix_remove+set}" = set; then
3546 echo $ECHO_N "(cached) $ECHO_C" >&6
3548 ac_check_lib_save_LIBS=$LIBS
3549 LIBS="-lposix $LIBS"
3550 cat >conftest.$ac_ext <<_ACEOF
3551 #line $LINENO "configure"
3554 cat confdefs.h >>conftest.$ac_ext
3555 cat >>conftest.$ac_ext <<_ACEOF
3556 /* end confdefs.h. */
3558 /* Override any gcc2 internal prototype to avoid an error. */
3562 /* We use char because int might match the return type of a gcc2
3563 builtin and then its argument prototype would still apply. */
3573 rm -f conftest.$ac_objext conftest$ac_exeext
3574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3575 (eval $ac_link) 2>&5
3577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578 (exit $ac_status); } &&
3579 { ac_try='test -s conftest$ac_exeext'
3580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3584 (exit $ac_status); }; }; then
3585 ac_cv_lib_posix_remove=yes
3587 echo "$as_me: failed program was:" >&5
3588 sed 's/^/| /' conftest.$ac_ext >&5
3590 ac_cv_lib_posix_remove=no
3592 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3593 LIBS=$ac_check_lib_save_LIBS
3595 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3596 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3597 if test $ac_cv_lib_posix_remove = yes; then
3598 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
3603 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3604 echo "$as_me:$LINENO: checking for shmat" >&5
3605 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3606 if test "${ac_cv_func_shmat+set}" = set; then
3607 echo $ECHO_N "(cached) $ECHO_C" >&6
3609 cat >conftest.$ac_ext <<_ACEOF
3610 #line $LINENO "configure"
3613 cat confdefs.h >>conftest.$ac_ext
3614 cat >>conftest.$ac_ext <<_ACEOF
3615 /* end confdefs.h. */
3616 /* System header to define __stub macros and hopefully few prototypes,
3617 which can conflict with char shmat (); below.
3618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3619 <limits.h> exists even on freestanding compilers. */
3621 # include <limits.h>
3623 # include <assert.h>
3625 /* Override any gcc2 internal prototype to avoid an error. */
3630 /* We use char because int might match the return type of a gcc2
3631 builtin and then its argument prototype would still apply. */
3633 /* The GNU C library defines this for functions which it implements
3634 to always fail with ENOSYS. Some functions are actually named
3635 something starting with __ and the normal name is an alias. */
3636 #if defined (__stub_shmat) || defined (__stub___shmat)
3639 char (*f) () = shmat;
3653 rm -f conftest.$ac_objext conftest$ac_exeext
3654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3655 (eval $ac_link) 2>&5
3657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 (exit $ac_status); } &&
3659 { ac_try='test -s conftest$ac_exeext'
3660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); }; }; then
3665 ac_cv_func_shmat=yes
3667 echo "$as_me: failed program was:" >&5
3668 sed 's/^/| /' conftest.$ac_ext >&5
3672 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3674 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3675 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3677 if test $ac_cv_func_shmat = no; then
3678 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3679 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3680 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3681 echo $ECHO_N "(cached) $ECHO_C" >&6
3683 ac_check_lib_save_LIBS=$LIBS
3685 cat >conftest.$ac_ext <<_ACEOF
3686 #line $LINENO "configure"
3689 cat confdefs.h >>conftest.$ac_ext
3690 cat >>conftest.$ac_ext <<_ACEOF
3691 /* end confdefs.h. */
3693 /* Override any gcc2 internal prototype to avoid an error. */
3697 /* We use char because int might match the return type of a gcc2
3698 builtin and then its argument prototype would still apply. */
3708 rm -f conftest.$ac_objext conftest$ac_exeext
3709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3710 (eval $ac_link) 2>&5
3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713 (exit $ac_status); } &&
3714 { ac_try='test -s conftest$ac_exeext'
3715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); }; }; then
3720 ac_cv_lib_ipc_shmat=yes
3722 echo "$as_me: failed program was:" >&5
3723 sed 's/^/| /' conftest.$ac_ext >&5
3725 ac_cv_lib_ipc_shmat=no
3727 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3728 LIBS=$ac_check_lib_save_LIBS
3730 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3731 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3732 if test $ac_cv_lib_ipc_shmat = yes; then
3733 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
3739 # Check for libraries that X11R6 Xt/Xaw programs need.
3740 ac_save_LDFLAGS=$LDFLAGS
3741 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
3742 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3743 # check for ICE first), but we must link in the order -lSM -lICE or
3744 # we get undefined symbols. So assume we have SM if we have ICE.
3745 # These have to be linked with before -lX11, unlike the other
3746 # libraries we check for below, so use a different variable.
3747 # John Interrante, Karl Berry
3748 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
3749 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3750 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3751 echo $ECHO_N "(cached) $ECHO_C" >&6
3753 ac_check_lib_save_LIBS=$LIBS
3754 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
3755 cat >conftest.$ac_ext <<_ACEOF
3756 #line $LINENO "configure"
3759 cat confdefs.h >>conftest.$ac_ext
3760 cat >>conftest.$ac_ext <<_ACEOF
3761 /* end confdefs.h. */
3763 /* Override any gcc2 internal prototype to avoid an error. */
3767 /* We use char because int might match the return type of a gcc2
3768 builtin and then its argument prototype would still apply. */
3769 char IceConnectionNumber ();
3773 IceConnectionNumber ();
3778 rm -f conftest.$ac_objext conftest$ac_exeext
3779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3780 (eval $ac_link) 2>&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); } &&
3784 { ac_try='test -s conftest$ac_exeext'
3785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); }; }; then
3790 ac_cv_lib_ICE_IceConnectionNumber=yes
3792 echo "$as_me: failed program was:" >&5
3793 sed 's/^/| /' conftest.$ac_ext >&5
3795 ac_cv_lib_ICE_IceConnectionNumber=no
3797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3798 LIBS=$ac_check_lib_save_LIBS
3800 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
3801 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
3802 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
3803 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
3806 LDFLAGS=$ac_save_LDFLAGS
3810 for ac_prog in 'bison -y' byacc
3812 # Extract the first word of "$ac_prog", so it can be a program name with args.
3813 set dummy $ac_prog; ac_word=$2
3814 echo "$as_me:$LINENO: checking for $ac_word" >&5
3815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3816 if test "${ac_cv_prog_YACC+set}" = set; then
3817 echo $ECHO_N "(cached) $ECHO_C" >&6
3819 if test -n "$YACC"; then
3820 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3826 test -z "$as_dir" && as_dir=.
3827 for ac_exec_ext in '' $ac_executable_extensions; do
3828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3829 ac_cv_prog_YACC="$ac_prog"
3830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3838 YACC=$ac_cv_prog_YACC
3839 if test -n "$YACC"; then
3840 echo "$as_me:$LINENO: result: $YACC" >&5
3841 echo "${ECHO_T}$YACC" >&6
3843 echo "$as_me:$LINENO: result: no" >&5
3844 echo "${ECHO_T}no" >&6
3847 test -n "$YACC" && break
3849 test -n "$YACC" || YACC="yacc"
3851 for ac_prog in flex lex
3853 # Extract the first word of "$ac_prog", so it can be a program name with args.
3854 set dummy $ac_prog; ac_word=$2
3855 echo "$as_me:$LINENO: checking for $ac_word" >&5
3856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3857 if test "${ac_cv_prog_LEX+set}" = set; then
3858 echo $ECHO_N "(cached) $ECHO_C" >&6
3860 if test -n "$LEX"; then
3861 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3867 test -z "$as_dir" && as_dir=.
3868 for ac_exec_ext in '' $ac_executable_extensions; do
3869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3870 ac_cv_prog_LEX="$ac_prog"
3871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3880 if test -n "$LEX"; then
3881 echo "$as_me:$LINENO: result: $LEX" >&5
3882 echo "${ECHO_T}$LEX" >&6
3884 echo "$as_me:$LINENO: result: no" >&5
3885 echo "${ECHO_T}no" >&6
3888 test -n "$LEX" && break
3890 test -n "$LEX" || LEX=":"
3892 if test -z "$LEXLIB"
3894 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3895 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3896 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3897 echo $ECHO_N "(cached) $ECHO_C" >&6
3899 ac_check_lib_save_LIBS=$LIBS
3901 cat >conftest.$ac_ext <<_ACEOF
3902 #line $LINENO "configure"
3905 cat confdefs.h >>conftest.$ac_ext
3906 cat >>conftest.$ac_ext <<_ACEOF
3907 /* end confdefs.h. */
3909 /* Override any gcc2 internal prototype to avoid an error. */
3913 /* We use char because int might match the return type of a gcc2
3914 builtin and then its argument prototype would still apply. */
3924 rm -f conftest.$ac_objext conftest$ac_exeext
3925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3926 (eval $ac_link) 2>&5
3928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3929 (exit $ac_status); } &&
3930 { ac_try='test -s conftest$ac_exeext'
3931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935 (exit $ac_status); }; }; then
3936 ac_cv_lib_fl_yywrap=yes
3938 echo "$as_me: failed program was:" >&5
3939 sed 's/^/| /' conftest.$ac_ext >&5
3941 ac_cv_lib_fl_yywrap=no
3943 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3944 LIBS=$ac_check_lib_save_LIBS
3946 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3947 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3948 if test $ac_cv_lib_fl_yywrap = yes; then
3951 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3952 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3953 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3954 echo $ECHO_N "(cached) $ECHO_C" >&6
3956 ac_check_lib_save_LIBS=$LIBS
3958 cat >conftest.$ac_ext <<_ACEOF
3959 #line $LINENO "configure"
3962 cat confdefs.h >>conftest.$ac_ext
3963 cat >>conftest.$ac_ext <<_ACEOF
3964 /* end confdefs.h. */
3966 /* Override any gcc2 internal prototype to avoid an error. */
3970 /* We use char because int might match the return type of a gcc2
3971 builtin and then its argument prototype would still apply. */
3981 rm -f conftest.$ac_objext conftest$ac_exeext
3982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3983 (eval $ac_link) 2>&5
3985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3986 (exit $ac_status); } &&
3987 { ac_try='test -s conftest$ac_exeext'
3988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); }; }; then
3993 ac_cv_lib_l_yywrap=yes
3995 echo "$as_me: failed program was:" >&5
3996 sed 's/^/| /' conftest.$ac_ext >&5
3998 ac_cv_lib_l_yywrap=no
4000 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4001 LIBS=$ac_check_lib_save_LIBS
4003 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4004 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4005 if test $ac_cv_lib_l_yywrap = yes; then
4013 if test "x$LEX" != "x:"; then
4014 echo "$as_me:$LINENO: checking lex output file root" >&5
4015 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4016 if test "${ac_cv_prog_lex_root+set}" = set; then
4017 echo $ECHO_N "(cached) $ECHO_C" >&6
4019 # The minimal lex program is just a single line: %%. But some broken lexes
4020 # (Solaris, I think it was) want two %% lines, so accommodate them.
4021 cat >conftest.l <<_ACEOF
4025 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4026 (eval $LEX conftest.l) 2>&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); }
4030 if test -f lex.yy.c; then
4031 ac_cv_prog_lex_root=lex.yy
4032 elif test -f lexyy.c; then
4033 ac_cv_prog_lex_root=lexyy
4035 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4036 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4037 { (exit 1); exit 1; }; }
4040 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4041 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4043 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4045 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4046 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4047 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4048 echo $ECHO_N "(cached) $ECHO_C" >&6
4050 # POSIX says lex can declare yytext either as a pointer or an array; the
4051 # default is implementation-dependent. Figure out which it is, since
4052 # not all implementations provide the %pointer and %array declarations.
4053 ac_cv_prog_lex_yytext_pointer=no
4054 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4056 LIBS="$LIBS $LEXLIB"
4057 cat >conftest.$ac_ext <<_ACEOF
4058 `cat $LEX_OUTPUT_ROOT.c`
4060 rm -f conftest.$ac_objext conftest$ac_exeext
4061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4062 (eval $ac_link) 2>&5
4064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4065 (exit $ac_status); } &&
4066 { ac_try='test -s conftest$ac_exeext'
4067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4071 (exit $ac_status); }; }; then
4072 ac_cv_prog_lex_yytext_pointer=yes
4074 echo "$as_me: failed program was:" >&5
4075 sed 's/^/| /' conftest.$ac_ext >&5
4078 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4080 rm -f "${LEX_OUTPUT_ROOT}.c"
4083 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4084 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4085 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4087 cat >>confdefs.h <<\_ACEOF
4088 #define YYTEXT_POINTER 1
4095 for ac_prog in $YACC bison yacc
4097 # Extract the first word of "$ac_prog", so it can be a program name with args.
4098 set dummy $ac_prog; ac_word=$2
4099 echo "$as_me:$LINENO: checking for $ac_word" >&5
4100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4101 if test "${ac_cv_prog_XYACC+set}" = set; then
4102 echo $ECHO_N "(cached) $ECHO_C" >&6
4104 if test -n "$XYACC"; then
4105 ac_cv_prog_XYACC="$XYACC" # Let the user override the test.
4107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4111 test -z "$as_dir" && as_dir=.
4112 for ac_exec_ext in '' $ac_executable_extensions; do
4113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4114 ac_cv_prog_XYACC="$ac_prog"
4115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4123 XYACC=$ac_cv_prog_XYACC
4124 if test -n "$XYACC"; then
4125 echo "$as_me:$LINENO: result: $XYACC" >&5
4126 echo "${ECHO_T}$XYACC" >&6
4128 echo "$as_me:$LINENO: result: no" >&5
4129 echo "${ECHO_T}no" >&6
4132 test -n "$XYACC" && break
4134 test -n "$XYACC" || XYACC="none"
4136 if test "$XYACC" = "none"
4138 { { echo "$as_me:$LINENO: error: no suitable bison/yacc found. Please install the 'bison' package." >&5
4139 echo "$as_me: error: no suitable bison/yacc found. Please install the 'bison' package." >&2;}
4140 { (exit 1); exit 1; }; }
4142 for ac_prog in $LEX flex lex
4144 # Extract the first word of "$ac_prog", so it can be a program name with args.
4145 set dummy $ac_prog; ac_word=$2
4146 echo "$as_me:$LINENO: checking for $ac_word" >&5
4147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4148 if test "${ac_cv_prog_XLEX+set}" = set; then
4149 echo $ECHO_N "(cached) $ECHO_C" >&6
4151 if test -n "$XLEX"; then
4152 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
4154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4158 test -z "$as_dir" && as_dir=.
4159 for ac_exec_ext in '' $ac_executable_extensions; do
4160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4161 ac_cv_prog_XLEX="$ac_prog"
4162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4170 XLEX=$ac_cv_prog_XLEX
4171 if test -n "$XLEX"; then
4172 echo "$as_me:$LINENO: result: $XLEX" >&5
4173 echo "${ECHO_T}$XLEX" >&6
4175 echo "$as_me:$LINENO: result: no" >&5
4176 echo "${ECHO_T}no" >&6
4179 test -n "$XLEX" && break
4181 test -n "$XLEX" || XLEX="none"
4183 if test "$XLEX" = "none"
4185 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4186 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4187 { (exit 1); exit 1; }; }
4190 if test -n "$ac_tool_prefix"; then
4191 for ac_prog in gas as
4193 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4194 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4195 echo "$as_me:$LINENO: checking for $ac_word" >&5
4196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4197 if test "${ac_cv_prog_AS+set}" = set; then
4198 echo $ECHO_N "(cached) $ECHO_C" >&6
4200 if test -n "$AS"; then
4201 ac_cv_prog_AS="$AS" # Let the user override the test.
4203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4207 test -z "$as_dir" && as_dir=.
4208 for ac_exec_ext in '' $ac_executable_extensions; do
4209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4210 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
4211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4220 if test -n "$AS"; then
4221 echo "$as_me:$LINENO: result: $AS" >&5
4222 echo "${ECHO_T}$AS" >&6
4224 echo "$as_me:$LINENO: result: no" >&5
4225 echo "${ECHO_T}no" >&6
4228 test -n "$AS" && break
4231 if test -z "$AS"; then
4233 for ac_prog in gas as
4235 # Extract the first word of "$ac_prog", so it can be a program name with args.
4236 set dummy $ac_prog; ac_word=$2
4237 echo "$as_me:$LINENO: checking for $ac_word" >&5
4238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4239 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4240 echo $ECHO_N "(cached) $ECHO_C" >&6
4242 if test -n "$ac_ct_AS"; then
4243 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4249 test -z "$as_dir" && as_dir=.
4250 for ac_exec_ext in '' $ac_executable_extensions; do
4251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4252 ac_cv_prog_ac_ct_AS="$ac_prog"
4253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4261 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4262 if test -n "$ac_ct_AS"; then
4263 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4264 echo "${ECHO_T}$ac_ct_AS" >&6
4266 echo "$as_me:$LINENO: result: no" >&5
4267 echo "${ECHO_T}no" >&6
4270 test -n "$ac_ct_AS" && break
4272 test -n "$ac_ct_AS" || ac_ct_AS="as"
4277 if test -n "$ac_tool_prefix"; then
4278 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4279 set dummy ${ac_tool_prefix}ld; ac_word=$2
4280 echo "$as_me:$LINENO: checking for $ac_word" >&5
4281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4282 if test "${ac_cv_prog_LD+set}" = set; then
4283 echo $ECHO_N "(cached) $ECHO_C" >&6
4285 if test -n "$LD"; then
4286 ac_cv_prog_LD="$LD" # Let the user override the test.
4288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4292 test -z "$as_dir" && as_dir=.
4293 for ac_exec_ext in '' $ac_executable_extensions; do
4294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4295 ac_cv_prog_LD="${ac_tool_prefix}ld"
4296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4305 if test -n "$LD"; then
4306 echo "$as_me:$LINENO: result: $LD" >&5
4307 echo "${ECHO_T}$LD" >&6
4309 echo "$as_me:$LINENO: result: no" >&5
4310 echo "${ECHO_T}no" >&6
4314 if test -z "$ac_cv_prog_LD"; then
4316 # Extract the first word of "ld", so it can be a program name with args.
4317 set dummy ld; ac_word=$2
4318 echo "$as_me:$LINENO: checking for $ac_word" >&5
4319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4320 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4321 echo $ECHO_N "(cached) $ECHO_C" >&6
4323 if test -n "$ac_ct_LD"; then
4324 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4330 test -z "$as_dir" && as_dir=.
4331 for ac_exec_ext in '' $ac_executable_extensions; do
4332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4333 ac_cv_prog_ac_ct_LD="ld"
4334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4340 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
4343 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4344 if test -n "$ac_ct_LD"; then
4345 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4346 echo "${ECHO_T}$ac_ct_LD" >&6
4348 echo "$as_me:$LINENO: result: no" >&5
4349 echo "${ECHO_T}no" >&6
4357 if test -n "$ac_tool_prefix"; then
4358 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4359 set dummy ${ac_tool_prefix}ar; ac_word=$2
4360 echo "$as_me:$LINENO: checking for $ac_word" >&5
4361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4362 if test "${ac_cv_prog_AR+set}" = set; then
4363 echo $ECHO_N "(cached) $ECHO_C" >&6
4365 if test -n "$AR"; then
4366 ac_cv_prog_AR="$AR" # Let the user override the test.
4368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4372 test -z "$as_dir" && as_dir=.
4373 for ac_exec_ext in '' $ac_executable_extensions; do
4374 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4375 ac_cv_prog_AR="${ac_tool_prefix}ar"
4376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4385 if test -n "$AR"; then
4386 echo "$as_me:$LINENO: result: $AR" >&5
4387 echo "${ECHO_T}$AR" >&6
4389 echo "$as_me:$LINENO: result: no" >&5
4390 echo "${ECHO_T}no" >&6
4394 if test -z "$ac_cv_prog_AR"; then
4396 # Extract the first word of "ar", so it can be a program name with args.
4397 set dummy ar; ac_word=$2
4398 echo "$as_me:$LINENO: checking for $ac_word" >&5
4399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4400 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4401 echo $ECHO_N "(cached) $ECHO_C" >&6
4403 if test -n "$ac_ct_AR"; then
4404 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4410 test -z "$as_dir" && as_dir=.
4411 for ac_exec_ext in '' $ac_executable_extensions; do
4412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4413 ac_cv_prog_ac_ct_AR="ar"
4414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
4423 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4424 if test -n "$ac_ct_AR"; then
4425 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4426 echo "${ECHO_T}$ac_ct_AR" >&6
4428 echo "$as_me:$LINENO: result: no" >&5
4429 echo "${ECHO_T}no" >&6
4437 if test -n "$ac_tool_prefix"; then
4438 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4439 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4440 echo "$as_me:$LINENO: checking for $ac_word" >&5
4441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4442 if test "${ac_cv_prog_RANLIB+set}" = set; then
4443 echo $ECHO_N "(cached) $ECHO_C" >&6
4445 if test -n "$RANLIB"; then
4446 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4452 test -z "$as_dir" && as_dir=.
4453 for ac_exec_ext in '' $ac_executable_extensions; do
4454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4455 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4464 RANLIB=$ac_cv_prog_RANLIB
4465 if test -n "$RANLIB"; then
4466 echo "$as_me:$LINENO: result: $RANLIB" >&5
4467 echo "${ECHO_T}$RANLIB" >&6
4469 echo "$as_me:$LINENO: result: no" >&5
4470 echo "${ECHO_T}no" >&6
4474 if test -z "$ac_cv_prog_RANLIB"; then
4475 ac_ct_RANLIB=$RANLIB
4476 # Extract the first word of "ranlib", so it can be a program name with args.
4477 set dummy ranlib; ac_word=$2
4478 echo "$as_me:$LINENO: checking for $ac_word" >&5
4479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4480 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4481 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 if test -n "$ac_ct_RANLIB"; then
4484 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4493 ac_cv_prog_ac_ct_RANLIB="ranlib"
4494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4500 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4503 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4504 if test -n "$ac_ct_RANLIB"; then
4505 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4506 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4508 echo "$as_me:$LINENO: result: no" >&5
4509 echo "${ECHO_T}no" >&6
4512 RANLIB=$ac_ct_RANLIB
4514 RANLIB="$ac_cv_prog_RANLIB"
4517 if test -n "$ac_tool_prefix"; then
4518 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4519 set dummy ${ac_tool_prefix}strip; ac_word=$2
4520 echo "$as_me:$LINENO: checking for $ac_word" >&5
4521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4522 if test "${ac_cv_prog_STRIP+set}" = set; then
4523 echo $ECHO_N "(cached) $ECHO_C" >&6
4525 if test -n "$STRIP"; then
4526 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532 test -z "$as_dir" && as_dir=.
4533 for ac_exec_ext in '' $ac_executable_extensions; do
4534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4535 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4544 STRIP=$ac_cv_prog_STRIP
4545 if test -n "$STRIP"; then
4546 echo "$as_me:$LINENO: result: $STRIP" >&5
4547 echo "${ECHO_T}$STRIP" >&6
4549 echo "$as_me:$LINENO: result: no" >&5
4550 echo "${ECHO_T}no" >&6
4554 if test -z "$ac_cv_prog_STRIP"; then
4556 # Extract the first word of "strip", so it can be a program name with args.
4557 set dummy strip; ac_word=$2
4558 echo "$as_me:$LINENO: checking for $ac_word" >&5
4559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4560 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4561 echo $ECHO_N "(cached) $ECHO_C" >&6
4563 if test -n "$ac_ct_STRIP"; then
4564 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4570 test -z "$as_dir" && as_dir=.
4571 for ac_exec_ext in '' $ac_executable_extensions; do
4572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4573 ac_cv_prog_ac_ct_STRIP="strip"
4574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4580 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="strip"
4583 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4584 if test -n "$ac_ct_STRIP"; then
4585 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4586 echo "${ECHO_T}$ac_ct_STRIP" >&6
4588 echo "$as_me:$LINENO: result: no" >&5
4589 echo "${ECHO_T}no" >&6
4594 STRIP="$ac_cv_prog_STRIP"
4597 if test -n "$ac_tool_prefix"; then
4598 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4599 set dummy ${ac_tool_prefix}windres; ac_word=$2
4600 echo "$as_me:$LINENO: checking for $ac_word" >&5
4601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4602 if test "${ac_cv_prog_WINDRES+set}" = set; then
4603 echo $ECHO_N "(cached) $ECHO_C" >&6
4605 if test -n "$WINDRES"; then
4606 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
4608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4612 test -z "$as_dir" && as_dir=.
4613 for ac_exec_ext in '' $ac_executable_extensions; do
4614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4615 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
4616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4624 WINDRES=$ac_cv_prog_WINDRES
4625 if test -n "$WINDRES"; then
4626 echo "$as_me:$LINENO: result: $WINDRES" >&5
4627 echo "${ECHO_T}$WINDRES" >&6
4629 echo "$as_me:$LINENO: result: no" >&5
4630 echo "${ECHO_T}no" >&6
4634 if test -z "$ac_cv_prog_WINDRES"; then
4635 ac_ct_WINDRES=$WINDRES
4636 # Extract the first word of "windres", so it can be a program name with args.
4637 set dummy windres; ac_word=$2
4638 echo "$as_me:$LINENO: checking for $ac_word" >&5
4639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4640 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4641 echo $ECHO_N "(cached) $ECHO_C" >&6
4643 if test -n "$ac_ct_WINDRES"; then
4644 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
4646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4650 test -z "$as_dir" && as_dir=.
4651 for ac_exec_ext in '' $ac_executable_extensions; do
4652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4653 ac_cv_prog_ac_ct_WINDRES="windres"
4654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4660 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES="false"
4663 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
4664 if test -n "$ac_ct_WINDRES"; then
4665 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4666 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4668 echo "$as_me:$LINENO: result: no" >&5
4669 echo "${ECHO_T}no" >&6
4672 WINDRES=$ac_ct_WINDRES
4674 WINDRES="$ac_cv_prog_WINDRES"
4677 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4678 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4680 if test "$LN_S" = "ln -s"; then
4681 echo "$as_me:$LINENO: result: yes" >&5
4682 echo "${ECHO_T}yes" >&6
4684 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4685 echo "${ECHO_T}no, using $LN_S" >&6
4688 echo "$as_me:$LINENO: checking whether ln works" >&5
4689 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
4690 rm -f conf$$ conf$$.file
4692 if ln conf$$.file conf$$ 2>/dev/null; then
4695 echo "$as_me:$LINENO: result: yes" >&5
4696 echo "${ECHO_T}yes" >&6
4700 echo "$as_me:$LINENO: result: no, using $LN" >&5
4701 echo "${ECHO_T}no, using $LN" >&6
4703 rm -f conf$$ conf$$.file
4704 # Extract the first word of "c2man", so it can be a program name with args.
4705 set dummy c2man; ac_word=$2
4706 echo "$as_me:$LINENO: checking for $ac_word" >&5
4707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4708 if test "${ac_cv_prog_C2MAN+set}" = set; then
4709 echo $ECHO_N "(cached) $ECHO_C" >&6
4711 if test -n "$C2MAN"; then
4712 ac_cv_prog_C2MAN="$C2MAN" # Let the user override the test.
4714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4718 test -z "$as_dir" && as_dir=.
4719 for ac_exec_ext in '' $ac_executable_extensions; do
4720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4721 ac_cv_prog_C2MAN="c2man"
4722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4728 test -z "$ac_cv_prog_C2MAN" && ac_cv_prog_C2MAN="\$(TOPSRCDIR)/tools/c2man.pl"
4731 C2MAN=$ac_cv_prog_C2MAN
4732 if test -n "$C2MAN"; then
4733 echo "$as_me:$LINENO: result: $C2MAN" >&5
4734 echo "${ECHO_T}$C2MAN" >&6
4736 echo "$as_me:$LINENO: result: no" >&5
4737 echo "${ECHO_T}no" >&6
4740 # Extract the first word of "ldconfig", so it can be a program name with args.
4741 set dummy ldconfig; ac_word=$2
4742 echo "$as_me:$LINENO: checking for $ac_word" >&5
4743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4744 if test "${ac_cv_path_LDCONFIG+set}" = set; then
4745 echo $ECHO_N "(cached) $ECHO_C" >&6
4749 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4753 for as_dir in /sbin /usr/sbin $PATH
4756 test -z "$as_dir" && as_dir=.
4757 for ac_exec_ext in '' $ac_executable_extensions; do
4758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4759 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4766 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4770 LDCONFIG=$ac_cv_path_LDCONFIG
4772 if test -n "$LDCONFIG"; then
4773 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
4774 echo "${ECHO_T}$LDCONFIG" >&6
4776 echo "$as_me:$LINENO: result: no" >&5
4777 echo "${ECHO_T}no" >&6
4780 # Find a good install program. We prefer a C program (faster),
4781 # so one script is as good as another. But avoid the broken or
4782 # incompatible versions:
4783 # SysV /etc/install, /usr/sbin/install
4784 # SunOS /usr/etc/install
4785 # IRIX /sbin/install
4787 # AmigaOS /C/install, which installs bootblocks on floppy discs
4788 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4789 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4790 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4791 # ./install, which can be erroneously created by make from ./install.sh.
4792 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4793 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4794 if test -z "$INSTALL"; then
4795 if test "${ac_cv_path_install+set}" = set; then
4796 echo $ECHO_N "(cached) $ECHO_C" >&6
4798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4802 test -z "$as_dir" && as_dir=.
4803 # Account for people who put trailing slashes in PATH elements.
4805 ./ | .// | /cC/* | \
4806 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4809 # OSF1 and SCO ODT 3.0 have their own names for install.
4810 # Don't use installbsd from OSF since it installs stuff as root
4812 for ac_prog in ginstall scoinst install; do
4813 for ac_exec_ext in '' $ac_executable_extensions; do
4814 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4815 if test $ac_prog = install &&
4816 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4817 # AIX install. It has an incompatible calling convention.
4819 elif test $ac_prog = install &&
4820 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4821 # program-specific install script used by HP pwplus--don't use.
4824 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4836 if test "${ac_cv_path_install+set}" = set; then
4837 INSTALL=$ac_cv_path_install
4839 # As a last resort, use the slow shell script. We don't cache a
4840 # path for INSTALL within a source directory, because that will
4841 # break other packages using the cache if that directory is
4842 # removed, or if the path is relative.
4843 INSTALL=$ac_install_sh
4846 echo "$as_me:$LINENO: result: $INSTALL" >&5
4847 echo "${ECHO_T}$INSTALL" >&6
4849 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4850 # It thinks the first close brace ends the variable substitution.
4851 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4853 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4855 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4858 [\\/$]* | ?:[\\/]* ) ;;
4859 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
4862 for ac_prog in lclint lint
4864 # Extract the first word of "$ac_prog", so it can be a program name with args.
4865 set dummy $ac_prog; ac_word=$2
4866 echo "$as_me:$LINENO: checking for $ac_word" >&5
4867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4868 if test "${ac_cv_prog_LINT+set}" = set; then
4869 echo $ECHO_N "(cached) $ECHO_C" >&6
4871 if test -n "$LINT"; then
4872 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4878 test -z "$as_dir" && as_dir=.
4879 for ac_exec_ext in '' $ac_executable_extensions; do
4880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4881 ac_cv_prog_LINT="$ac_prog"
4882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4890 LINT=$ac_cv_prog_LINT
4891 if test -n "$LINT"; then
4892 echo "$as_me:$LINENO: result: $LINT" >&5
4893 echo "${ECHO_T}$LINT" >&6
4895 echo "$as_me:$LINENO: result: no" >&5
4896 echo "${ECHO_T}no" >&6
4899 test -n "$LINT" && break
4902 if test "$LINT" = "lint"
4904 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4909 for ac_prog in docbook2html db2html
4911 # Extract the first word of "$ac_prog", so it can be a program name with args.
4912 set dummy $ac_prog; ac_word=$2
4913 echo "$as_me:$LINENO: checking for $ac_word" >&5
4914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4915 if test "${ac_cv_prog_DB2HTML+set}" = set; then
4916 echo $ECHO_N "(cached) $ECHO_C" >&6
4918 if test -n "$DB2HTML"; then
4919 ac_cv_prog_DB2HTML="$DB2HTML" # Let the user override the test.
4921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4925 test -z "$as_dir" && as_dir=.
4926 for ac_exec_ext in '' $ac_executable_extensions; do
4927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4928 ac_cv_prog_DB2HTML="$ac_prog"
4929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4937 DB2HTML=$ac_cv_prog_DB2HTML
4938 if test -n "$DB2HTML"; then
4939 echo "$as_me:$LINENO: result: $DB2HTML" >&5
4940 echo "${ECHO_T}$DB2HTML" >&6
4942 echo "$as_me:$LINENO: result: no" >&5
4943 echo "${ECHO_T}no" >&6
4946 test -n "$DB2HTML" && break
4948 test -n "$DB2HTML" || DB2HTML="false"
4952 for ac_prog in docbook2pdf db2pdf
4954 # Extract the first word of "$ac_prog", so it can be a program name with args.
4955 set dummy $ac_prog; ac_word=$2
4956 echo "$as_me:$LINENO: checking for $ac_word" >&5
4957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4958 if test "${ac_cv_prog_DB2PDF+set}" = set; then
4959 echo $ECHO_N "(cached) $ECHO_C" >&6
4961 if test -n "$DB2PDF"; then
4962 ac_cv_prog_DB2PDF="$DB2PDF" # Let the user override the test.
4964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4968 test -z "$as_dir" && as_dir=.
4969 for ac_exec_ext in '' $ac_executable_extensions; do
4970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4971 ac_cv_prog_DB2PDF="$ac_prog"
4972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4980 DB2PDF=$ac_cv_prog_DB2PDF
4981 if test -n "$DB2PDF"; then
4982 echo "$as_me:$LINENO: result: $DB2PDF" >&5
4983 echo "${ECHO_T}$DB2PDF" >&6
4985 echo "$as_me:$LINENO: result: no" >&5
4986 echo "${ECHO_T}no" >&6
4989 test -n "$DB2PDF" && break
4991 test -n "$DB2PDF" || DB2PDF="false"
4995 for ac_prog in docbook2ps db2ps
4997 # Extract the first word of "$ac_prog", so it can be a program name with args.
4998 set dummy $ac_prog; ac_word=$2
4999 echo "$as_me:$LINENO: checking for $ac_word" >&5
5000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5001 if test "${ac_cv_prog_DB2PS+set}" = set; then
5002 echo $ECHO_N "(cached) $ECHO_C" >&6
5004 if test -n "$DB2PS"; then
5005 ac_cv_prog_DB2PS="$DB2PS" # Let the user override the test.
5007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5011 test -z "$as_dir" && as_dir=.
5012 for ac_exec_ext in '' $ac_executable_extensions; do
5013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5014 ac_cv_prog_DB2PS="$ac_prog"
5015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5023 DB2PS=$ac_cv_prog_DB2PS
5024 if test -n "$DB2PS"; then
5025 echo "$as_me:$LINENO: result: $DB2PS" >&5
5026 echo "${ECHO_T}$DB2PS" >&6
5028 echo "$as_me:$LINENO: result: no" >&5
5029 echo "${ECHO_T}no" >&6
5032 test -n "$DB2PS" && break
5034 test -n "$DB2PS" || DB2PS="false"
5040 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
5041 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
5042 if test "${ac_cv_lib_m_sqrt+set}" = set; then
5043 echo $ECHO_N "(cached) $ECHO_C" >&6
5045 ac_check_lib_save_LIBS=$LIBS
5047 cat >conftest.$ac_ext <<_ACEOF
5048 #line $LINENO "configure"
5051 cat confdefs.h >>conftest.$ac_ext
5052 cat >>conftest.$ac_ext <<_ACEOF
5053 /* end confdefs.h. */
5055 /* Override any gcc2 internal prototype to avoid an error. */
5059 /* We use char because int might match the return type of a gcc2
5060 builtin and then its argument prototype would still apply. */
5070 rm -f conftest.$ac_objext conftest$ac_exeext
5071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5072 (eval $ac_link) 2>&5
5074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075 (exit $ac_status); } &&
5076 { ac_try='test -s conftest$ac_exeext'
5077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); }; }; then
5082 ac_cv_lib_m_sqrt=yes
5084 echo "$as_me: failed program was:" >&5
5085 sed 's/^/| /' conftest.$ac_ext >&5
5089 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5090 LIBS=$ac_check_lib_save_LIBS
5092 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
5093 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
5094 if test $ac_cv_lib_m_sqrt = yes; then
5095 cat >>confdefs.h <<_ACEOF
5104 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5105 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5106 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5107 echo $ECHO_N "(cached) $ECHO_C" >&6
5109 ac_check_lib_save_LIBS=$LIBS
5111 cat >conftest.$ac_ext <<_ACEOF
5112 #line $LINENO "configure"
5115 cat confdefs.h >>conftest.$ac_ext
5116 cat >>conftest.$ac_ext <<_ACEOF
5117 /* end confdefs.h. */
5119 /* Override any gcc2 internal prototype to avoid an error. */
5123 /* We use char because int might match the return type of a gcc2
5124 builtin and then its argument prototype would still apply. */
5125 char i386_set_ldt ();
5134 rm -f conftest.$ac_objext conftest$ac_exeext
5135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5136 (eval $ac_link) 2>&5
5138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139 (exit $ac_status); } &&
5140 { ac_try='test -s conftest$ac_exeext'
5141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5145 (exit $ac_status); }; }; then
5146 ac_cv_lib_i386_i386_set_ldt=yes
5148 echo "$as_me: failed program was:" >&5
5149 sed 's/^/| /' conftest.$ac_ext >&5
5151 ac_cv_lib_i386_i386_set_ldt=no
5153 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5154 LIBS=$ac_check_lib_save_LIBS
5156 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5157 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5158 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5159 cat >>confdefs.h <<_ACEOF
5160 #define HAVE_LIBI386 1
5168 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5169 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5170 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5171 echo $ECHO_N "(cached) $ECHO_C" >&6
5173 ac_check_lib_save_LIBS=$LIBS
5174 LIBS="-lossaudio $LIBS"
5175 cat >conftest.$ac_ext <<_ACEOF
5176 #line $LINENO "configure"
5179 cat confdefs.h >>conftest.$ac_ext
5180 cat >>conftest.$ac_ext <<_ACEOF
5181 /* end confdefs.h. */
5183 /* Override any gcc2 internal prototype to avoid an error. */
5187 /* We use char because int might match the return type of a gcc2
5188 builtin and then its argument prototype would still apply. */
5198 rm -f conftest.$ac_objext conftest$ac_exeext
5199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5200 (eval $ac_link) 2>&5
5202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5203 (exit $ac_status); } &&
5204 { ac_try='test -s conftest$ac_exeext'
5205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209 (exit $ac_status); }; }; then
5210 ac_cv_lib_ossaudio__oss_ioctl=yes
5212 echo "$as_me: failed program was:" >&5
5213 sed 's/^/| /' conftest.$ac_ext >&5
5215 ac_cv_lib_ossaudio__oss_ioctl=no
5217 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5218 LIBS=$ac_check_lib_save_LIBS
5220 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5221 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5222 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5223 cat >>confdefs.h <<_ACEOF
5224 #define HAVE_LIBOSSAUDIO 1
5227 LIBS="-lossaudio $LIBS"
5232 for ac_func in iswalnum
5234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5235 echo "$as_me:$LINENO: checking for $ac_func" >&5
5236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5237 if eval "test \"\${$as_ac_var+set}\" = set"; then
5238 echo $ECHO_N "(cached) $ECHO_C" >&6
5240 cat >conftest.$ac_ext <<_ACEOF
5241 #line $LINENO "configure"
5244 cat confdefs.h >>conftest.$ac_ext
5245 cat >>conftest.$ac_ext <<_ACEOF
5246 /* end confdefs.h. */
5247 /* System header to define __stub macros and hopefully few prototypes,
5248 which can conflict with char $ac_func (); below.
5249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5250 <limits.h> exists even on freestanding compilers. */
5252 # include <limits.h>
5254 # include <assert.h>
5256 /* Override any gcc2 internal prototype to avoid an error. */
5261 /* We use char because int might match the return type of a gcc2
5262 builtin and then its argument prototype would still apply. */
5264 /* The GNU C library defines this for functions which it implements
5265 to always fail with ENOSYS. Some functions are actually named
5266 something starting with __ and the normal name is an alias. */
5267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5270 char (*f) () = $ac_func;
5279 return f != $ac_func;
5284 rm -f conftest.$ac_objext conftest$ac_exeext
5285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5286 (eval $ac_link) 2>&5
5288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289 (exit $ac_status); } &&
5290 { ac_try='test -s conftest$ac_exeext'
5291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5295 (exit $ac_status); }; }; then
5296 eval "$as_ac_var=yes"
5298 echo "$as_me: failed program was:" >&5
5299 sed 's/^/| /' conftest.$ac_ext >&5
5301 eval "$as_ac_var=no"
5303 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5307 if test `eval echo '${'$as_ac_var'}'` = yes; then
5308 cat >>confdefs.h <<_ACEOF
5309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5314 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
5315 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
5316 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
5317 echo $ECHO_N "(cached) $ECHO_C" >&6
5319 ac_check_lib_save_LIBS=$LIBS
5321 cat >conftest.$ac_ext <<_ACEOF
5322 #line $LINENO "configure"
5325 cat confdefs.h >>conftest.$ac_ext
5326 cat >>conftest.$ac_ext <<_ACEOF
5327 /* end confdefs.h. */
5329 /* Override any gcc2 internal prototype to avoid an error. */
5333 /* We use char because int might match the return type of a gcc2
5334 builtin and then its argument prototype would still apply. */
5344 rm -f conftest.$ac_objext conftest$ac_exeext
5345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5346 (eval $ac_link) 2>&5
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); } &&
5350 { ac_try='test -s conftest$ac_exeext'
5351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5355 (exit $ac_status); }; }; then
5356 ac_cv_lib_w_iswalnum=yes
5358 echo "$as_me: failed program was:" >&5
5359 sed 's/^/| /' conftest.$ac_ext >&5
5361 ac_cv_lib_w_iswalnum=no
5363 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5364 LIBS=$ac_check_lib_save_LIBS
5366 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
5367 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
5368 if test $ac_cv_lib_w_iswalnum = yes; then
5369 cat >>confdefs.h <<_ACEOF
5381 for ac_func in gethostbyname
5383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5384 echo "$as_me:$LINENO: checking for $ac_func" >&5
5385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5386 if eval "test \"\${$as_ac_var+set}\" = set"; then
5387 echo $ECHO_N "(cached) $ECHO_C" >&6
5389 cat >conftest.$ac_ext <<_ACEOF
5390 #line $LINENO "configure"
5393 cat confdefs.h >>conftest.$ac_ext
5394 cat >>conftest.$ac_ext <<_ACEOF
5395 /* end confdefs.h. */
5396 /* System header to define __stub macros and hopefully few prototypes,
5397 which can conflict with char $ac_func (); below.
5398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5399 <limits.h> exists even on freestanding compilers. */
5401 # include <limits.h>
5403 # include <assert.h>
5405 /* Override any gcc2 internal prototype to avoid an error. */
5410 /* We use char because int might match the return type of a gcc2
5411 builtin and then its argument prototype would still apply. */
5413 /* The GNU C library defines this for functions which it implements
5414 to always fail with ENOSYS. Some functions are actually named
5415 something starting with __ and the normal name is an alias. */
5416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5419 char (*f) () = $ac_func;
5428 return f != $ac_func;
5433 rm -f conftest.$ac_objext conftest$ac_exeext
5434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5435 (eval $ac_link) 2>&5
5437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438 (exit $ac_status); } &&
5439 { ac_try='test -s conftest$ac_exeext'
5440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5444 (exit $ac_status); }; }; then
5445 eval "$as_ac_var=yes"
5447 echo "$as_me: failed program was:" >&5
5448 sed 's/^/| /' conftest.$ac_ext >&5
5450 eval "$as_ac_var=no"
5452 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5456 if test `eval echo '${'$as_ac_var'}'` = yes; then
5457 cat >>confdefs.h <<_ACEOF
5458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5463 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5464 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5465 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5466 echo $ECHO_N "(cached) $ECHO_C" >&6
5468 ac_check_lib_save_LIBS=$LIBS
5470 cat >conftest.$ac_ext <<_ACEOF
5471 #line $LINENO "configure"
5474 cat confdefs.h >>conftest.$ac_ext
5475 cat >>conftest.$ac_ext <<_ACEOF
5476 /* end confdefs.h. */
5478 /* Override any gcc2 internal prototype to avoid an error. */
5482 /* We use char because int might match the return type of a gcc2
5483 builtin and then its argument prototype would still apply. */
5484 char gethostbyname ();
5493 rm -f conftest.$ac_objext conftest$ac_exeext
5494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5495 (eval $ac_link) 2>&5
5497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5498 (exit $ac_status); } &&
5499 { ac_try='test -s conftest$ac_exeext'
5500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504 (exit $ac_status); }; }; then
5505 ac_cv_lib_nsl_gethostbyname=yes
5507 echo "$as_me: failed program was:" >&5
5508 sed 's/^/| /' conftest.$ac_ext >&5
5510 ac_cv_lib_nsl_gethostbyname=no
5512 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5513 LIBS=$ac_check_lib_save_LIBS
5515 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5516 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5517 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5518 cat >>confdefs.h <<_ACEOF
5519 #define HAVE_LIBNSL 1
5530 for ac_func in connect
5532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5533 echo "$as_me:$LINENO: checking for $ac_func" >&5
5534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5535 if eval "test \"\${$as_ac_var+set}\" = set"; then
5536 echo $ECHO_N "(cached) $ECHO_C" >&6
5538 cat >conftest.$ac_ext <<_ACEOF
5539 #line $LINENO "configure"
5542 cat confdefs.h >>conftest.$ac_ext
5543 cat >>conftest.$ac_ext <<_ACEOF
5544 /* end confdefs.h. */
5545 /* System header to define __stub macros and hopefully few prototypes,
5546 which can conflict with char $ac_func (); below.
5547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5548 <limits.h> exists even on freestanding compilers. */
5550 # include <limits.h>
5552 # include <assert.h>
5554 /* Override any gcc2 internal prototype to avoid an error. */
5559 /* We use char because int might match the return type of a gcc2
5560 builtin and then its argument prototype would still apply. */
5562 /* The GNU C library defines this for functions which it implements
5563 to always fail with ENOSYS. Some functions are actually named
5564 something starting with __ and the normal name is an alias. */
5565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5568 char (*f) () = $ac_func;
5577 return f != $ac_func;
5582 rm -f conftest.$ac_objext conftest$ac_exeext
5583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5584 (eval $ac_link) 2>&5
5586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587 (exit $ac_status); } &&
5588 { ac_try='test -s conftest$ac_exeext'
5589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5593 (exit $ac_status); }; }; then
5594 eval "$as_ac_var=yes"
5596 echo "$as_me: failed program was:" >&5
5597 sed 's/^/| /' conftest.$ac_ext >&5
5599 eval "$as_ac_var=no"
5601 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5605 if test `eval echo '${'$as_ac_var'}'` = yes; then
5606 cat >>confdefs.h <<_ACEOF
5607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5612 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5613 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
5614 if test "${ac_cv_lib_socket_connect+set}" = set; then
5615 echo $ECHO_N "(cached) $ECHO_C" >&6
5617 ac_check_lib_save_LIBS=$LIBS
5618 LIBS="-lsocket $LIBS"
5619 cat >conftest.$ac_ext <<_ACEOF
5620 #line $LINENO "configure"
5623 cat confdefs.h >>conftest.$ac_ext
5624 cat >>conftest.$ac_ext <<_ACEOF
5625 /* end confdefs.h. */
5627 /* Override any gcc2 internal prototype to avoid an error. */
5631 /* We use char because int might match the return type of a gcc2
5632 builtin and then its argument prototype would still apply. */
5642 rm -f conftest.$ac_objext conftest$ac_exeext
5643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5644 (eval $ac_link) 2>&5
5646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5647 (exit $ac_status); } &&
5648 { ac_try='test -s conftest$ac_exeext'
5649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653 (exit $ac_status); }; }; then
5654 ac_cv_lib_socket_connect=yes
5656 echo "$as_me: failed program was:" >&5
5657 sed 's/^/| /' conftest.$ac_ext >&5
5659 ac_cv_lib_socket_connect=no
5661 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5662 LIBS=$ac_check_lib_save_LIBS
5664 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5665 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
5666 if test $ac_cv_lib_socket_connect = yes; then
5667 cat >>confdefs.h <<_ACEOF
5668 #define HAVE_LIBSOCKET 1
5671 LIBS="-lsocket $LIBS"
5679 for ac_func in inet_aton
5681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5682 echo "$as_me:$LINENO: checking for $ac_func" >&5
5683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5684 if eval "test \"\${$as_ac_var+set}\" = set"; then
5685 echo $ECHO_N "(cached) $ECHO_C" >&6
5687 cat >conftest.$ac_ext <<_ACEOF
5688 #line $LINENO "configure"
5691 cat confdefs.h >>conftest.$ac_ext
5692 cat >>conftest.$ac_ext <<_ACEOF
5693 /* end confdefs.h. */
5694 /* System header to define __stub macros and hopefully few prototypes,
5695 which can conflict with char $ac_func (); below.
5696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5697 <limits.h> exists even on freestanding compilers. */
5699 # include <limits.h>
5701 # include <assert.h>
5703 /* Override any gcc2 internal prototype to avoid an error. */
5708 /* We use char because int might match the return type of a gcc2
5709 builtin and then its argument prototype would still apply. */
5711 /* The GNU C library defines this for functions which it implements
5712 to always fail with ENOSYS. Some functions are actually named
5713 something starting with __ and the normal name is an alias. */
5714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5717 char (*f) () = $ac_func;
5726 return f != $ac_func;
5731 rm -f conftest.$ac_objext conftest$ac_exeext
5732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5733 (eval $ac_link) 2>&5
5735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736 (exit $ac_status); } &&
5737 { ac_try='test -s conftest$ac_exeext'
5738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742 (exit $ac_status); }; }; then
5743 eval "$as_ac_var=yes"
5745 echo "$as_me: failed program was:" >&5
5746 sed 's/^/| /' conftest.$ac_ext >&5
5748 eval "$as_ac_var=no"
5750 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5754 if test `eval echo '${'$as_ac_var'}'` = yes; then
5755 cat >>confdefs.h <<_ACEOF
5756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5761 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
5762 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
5763 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
5764 echo $ECHO_N "(cached) $ECHO_C" >&6
5766 ac_check_lib_save_LIBS=$LIBS
5767 LIBS="-lresolv $LIBS"
5768 cat >conftest.$ac_ext <<_ACEOF
5769 #line $LINENO "configure"
5772 cat confdefs.h >>conftest.$ac_ext
5773 cat >>conftest.$ac_ext <<_ACEOF
5774 /* end confdefs.h. */
5776 /* Override any gcc2 internal prototype to avoid an error. */
5780 /* We use char because int might match the return type of a gcc2
5781 builtin and then its argument prototype would still apply. */
5791 rm -f conftest.$ac_objext conftest$ac_exeext
5792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5793 (eval $ac_link) 2>&5
5795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796 (exit $ac_status); } &&
5797 { ac_try='test -s conftest$ac_exeext'
5798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802 (exit $ac_status); }; }; then
5803 ac_cv_lib_resolv_inet_aton=yes
5805 echo "$as_me: failed program was:" >&5
5806 sed 's/^/| /' conftest.$ac_ext >&5
5808 ac_cv_lib_resolv_inet_aton=no
5810 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5811 LIBS=$ac_check_lib_save_LIBS
5813 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
5814 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
5815 if test $ac_cv_lib_resolv_inet_aton = yes; then
5816 cat >>confdefs.h <<_ACEOF
5817 #define HAVE_LIBRESOLV 1
5820 LIBS="-lresolv $LIBS"
5828 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
5829 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
5830 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
5831 echo $ECHO_N "(cached) $ECHO_C" >&6
5833 ac_check_lib_save_LIBS=$LIBS
5835 cat >conftest.$ac_ext <<_ACEOF
5836 #line $LINENO "configure"
5839 cat confdefs.h >>conftest.$ac_ext
5840 cat >>conftest.$ac_ext <<_ACEOF
5841 /* end confdefs.h. */
5843 /* Override any gcc2 internal prototype to avoid an error. */
5847 /* We use char because int might match the return type of a gcc2
5848 builtin and then its argument prototype would still apply. */
5849 char _xpg4_setrunelocale ();
5853 _xpg4_setrunelocale ();
5858 rm -f conftest.$ac_objext conftest$ac_exeext
5859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5860 (eval $ac_link) 2>&5
5862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5863 (exit $ac_status); } &&
5864 { ac_try='test -s conftest$ac_exeext'
5865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869 (exit $ac_status); }; }; then
5870 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
5872 echo "$as_me: failed program was:" >&5
5873 sed 's/^/| /' conftest.$ac_ext >&5
5875 ac_cv_lib_xpg4__xpg4_setrunelocale=no
5877 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5878 LIBS=$ac_check_lib_save_LIBS
5880 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
5881 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
5882 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
5883 cat >>confdefs.h <<_ACEOF
5884 #define HAVE_LIBXPG4 1
5892 echo "$as_me:$LINENO: checking for mmap in -lmmap" >&5
5893 echo $ECHO_N "checking for mmap in -lmmap... $ECHO_C" >&6
5894 if test "${ac_cv_lib_mmap_mmap+set}" = set; then
5895 echo $ECHO_N "(cached) $ECHO_C" >&6
5897 ac_check_lib_save_LIBS=$LIBS
5899 cat >conftest.$ac_ext <<_ACEOF
5900 #line $LINENO "configure"
5903 cat confdefs.h >>conftest.$ac_ext
5904 cat >>conftest.$ac_ext <<_ACEOF
5905 /* end confdefs.h. */
5907 /* Override any gcc2 internal prototype to avoid an error. */
5911 /* We use char because int might match the return type of a gcc2
5912 builtin and then its argument prototype would still apply. */
5922 rm -f conftest.$ac_objext conftest$ac_exeext
5923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5924 (eval $ac_link) 2>&5
5926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5927 (exit $ac_status); } &&
5928 { ac_try='test -s conftest$ac_exeext'
5929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5933 (exit $ac_status); }; }; then
5934 ac_cv_lib_mmap_mmap=yes
5936 echo "$as_me: failed program was:" >&5
5937 sed 's/^/| /' conftest.$ac_ext >&5
5939 ac_cv_lib_mmap_mmap=no
5941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5942 LIBS=$ac_check_lib_save_LIBS
5944 echo "$as_me:$LINENO: result: $ac_cv_lib_mmap_mmap" >&5
5945 echo "${ECHO_T}$ac_cv_lib_mmap_mmap" >&6
5946 if test $ac_cv_lib_mmap_mmap = yes; then
5947 cat >>confdefs.h <<_ACEOF
5948 #define HAVE_LIBMMAP 1
5958 echo "$as_me:$LINENO: checking for egrep" >&5
5959 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5960 if test "${ac_cv_prog_egrep+set}" = set; then
5961 echo $ECHO_N "(cached) $ECHO_C" >&6
5963 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5964 then ac_cv_prog_egrep='grep -E'
5965 else ac_cv_prog_egrep='egrep'
5968 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5969 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5970 EGREP=$ac_cv_prog_egrep
5973 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5974 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5975 if test "${ac_cv_header_stdc+set}" = set; then
5976 echo $ECHO_N "(cached) $ECHO_C" >&6
5978 cat >conftest.$ac_ext <<_ACEOF
5979 #line $LINENO "configure"
5982 cat confdefs.h >>conftest.$ac_ext
5983 cat >>conftest.$ac_ext <<_ACEOF
5984 /* end confdefs.h. */
5998 rm -f conftest.$ac_objext
5999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6000 (eval $ac_compile) 2>&5
6002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003 (exit $ac_status); } &&
6004 { ac_try='test -s conftest.$ac_objext'
6005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); }; }; then
6010 ac_cv_header_stdc=yes
6012 echo "$as_me: failed program was:" >&5
6013 sed 's/^/| /' conftest.$ac_ext >&5
6015 ac_cv_header_stdc=no
6017 rm -f conftest.$ac_objext conftest.$ac_ext
6019 if test $ac_cv_header_stdc = yes; then
6020 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6021 cat >conftest.$ac_ext <<_ACEOF
6022 #line $LINENO "configure"
6025 cat confdefs.h >>conftest.$ac_ext
6026 cat >>conftest.$ac_ext <<_ACEOF
6027 /* end confdefs.h. */
6031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6032 $EGREP "memchr" >/dev/null 2>&1; then
6035 ac_cv_header_stdc=no
6041 if test $ac_cv_header_stdc = yes; then
6042 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6043 cat >conftest.$ac_ext <<_ACEOF
6044 #line $LINENO "configure"
6047 cat confdefs.h >>conftest.$ac_ext
6048 cat >>conftest.$ac_ext <<_ACEOF
6049 /* end confdefs.h. */
6053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6054 $EGREP "free" >/dev/null 2>&1; then
6057 ac_cv_header_stdc=no
6063 if test $ac_cv_header_stdc = yes; then
6064 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6065 if test "$cross_compiling" = yes; then
6068 cat >conftest.$ac_ext <<_ACEOF
6069 #line $LINENO "configure"
6072 cat confdefs.h >>conftest.$ac_ext
6073 cat >>conftest.$ac_ext <<_ACEOF
6074 /* end confdefs.h. */
6076 #if ((' ' & 0x0FF) == 0x020)
6077 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6078 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6080 # define ISLOWER(c) \
6081 (('a' <= (c) && (c) <= 'i') \
6082 || ('j' <= (c) && (c) <= 'r') \
6083 || ('s' <= (c) && (c) <= 'z'))
6084 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6087 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6092 for (i = 0; i < 256; i++)
6093 if (XOR (islower (i), ISLOWER (i))
6094 || toupper (i) != TOUPPER (i))
6099 rm -f conftest$ac_exeext
6100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6101 (eval $ac_link) 2>&5
6103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6104 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109 (exit $ac_status); }; }; then
6112 echo "$as_me: program exited with status $ac_status" >&5
6113 echo "$as_me: failed program was:" >&5
6114 sed 's/^/| /' conftest.$ac_ext >&5
6117 ac_cv_header_stdc=no
6119 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6123 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6124 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6125 if test $ac_cv_header_stdc = yes; then
6127 cat >>confdefs.h <<\_ACEOF
6128 #define STDC_HEADERS 1
6133 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6143 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6144 inttypes.h stdint.h unistd.h
6146 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6147 echo "$as_me:$LINENO: checking for $ac_header" >&5
6148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6150 echo $ECHO_N "(cached) $ECHO_C" >&6
6152 cat >conftest.$ac_ext <<_ACEOF
6153 #line $LINENO "configure"
6156 cat confdefs.h >>conftest.$ac_ext
6157 cat >>conftest.$ac_ext <<_ACEOF
6158 /* end confdefs.h. */
6159 $ac_includes_default
6161 #include <$ac_header>
6163 rm -f conftest.$ac_objext
6164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6165 (eval $ac_compile) 2>&5
6167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6168 (exit $ac_status); } &&
6169 { ac_try='test -s conftest.$ac_objext'
6170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6174 (exit $ac_status); }; }; then
6175 eval "$as_ac_Header=yes"
6177 echo "$as_me: failed program was:" >&5
6178 sed 's/^/| /' conftest.$ac_ext >&5
6180 eval "$as_ac_Header=no"
6182 rm -f conftest.$ac_objext conftest.$ac_ext
6184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6186 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6187 cat >>confdefs.h <<_ACEOF
6188 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6197 for ac_header in jpeglib.h
6199 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6201 echo "$as_me:$LINENO: checking for $ac_header" >&5
6202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6204 echo $ECHO_N "(cached) $ECHO_C" >&6
6206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6209 # Is the header compilable?
6210 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6211 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6212 cat >conftest.$ac_ext <<_ACEOF
6213 #line $LINENO "configure"
6216 cat confdefs.h >>conftest.$ac_ext
6217 cat >>conftest.$ac_ext <<_ACEOF
6218 /* end confdefs.h. */
6219 $ac_includes_default
6220 #include <$ac_header>
6222 rm -f conftest.$ac_objext
6223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6224 (eval $ac_compile) 2>&5
6226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6227 (exit $ac_status); } &&
6228 { ac_try='test -s conftest.$ac_objext'
6229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 (exit $ac_status); }; }; then
6234 ac_header_compiler=yes
6236 echo "$as_me: failed program was:" >&5
6237 sed 's/^/| /' conftest.$ac_ext >&5
6239 ac_header_compiler=no
6241 rm -f conftest.$ac_objext conftest.$ac_ext
6242 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6243 echo "${ECHO_T}$ac_header_compiler" >&6
6245 # Is the header present?
6246 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6247 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6248 cat >conftest.$ac_ext <<_ACEOF
6249 #line $LINENO "configure"
6252 cat confdefs.h >>conftest.$ac_ext
6253 cat >>conftest.$ac_ext <<_ACEOF
6254 /* end confdefs.h. */
6255 #include <$ac_header>
6257 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6258 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6260 grep -v '^ *+' conftest.er1 >conftest.err
6262 cat conftest.err >&5
6263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6264 (exit $ac_status); } >/dev/null; then
6265 if test -s conftest.err; then
6266 ac_cpp_err=$ac_c_preproc_warn_flag
6273 if test -z "$ac_cpp_err"; then
6274 ac_header_preproc=yes
6276 echo "$as_me: failed program was:" >&5
6277 sed 's/^/| /' conftest.$ac_ext >&5
6279 ac_header_preproc=no
6281 rm -f conftest.err conftest.$ac_ext
6282 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6283 echo "${ECHO_T}$ac_header_preproc" >&6
6285 # So? What about this header?
6286 case $ac_header_compiler:$ac_header_preproc in
6288 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6289 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6291 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6294 ## ------------------------------------ ##
6295 ## Report this to bug-autoconf@gnu.org. ##
6296 ## ------------------------------------ ##
6299 sed "s/^/$as_me: WARNING: /" >&2
6302 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6303 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6304 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6305 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6307 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6310 ## ------------------------------------ ##
6311 ## Report this to bug-autoconf@gnu.org. ##
6312 ## ------------------------------------ ##
6315 sed "s/^/$as_me: WARNING: /" >&2
6318 echo "$as_me:$LINENO: checking for $ac_header" >&5
6319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6321 echo $ECHO_N "(cached) $ECHO_C" >&6
6323 eval "$as_ac_Header=$ac_header_preproc"
6325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6326 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6329 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6330 cat >>confdefs.h <<_ACEOF
6331 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6333 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
6334 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
6335 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
6336 echo $ECHO_N "(cached) $ECHO_C" >&6
6338 ac_check_lib_save_LIBS=$LIBS
6340 cat >conftest.$ac_ext <<_ACEOF
6341 #line $LINENO "configure"
6344 cat confdefs.h >>conftest.$ac_ext
6345 cat >>conftest.$ac_ext <<_ACEOF
6346 /* end confdefs.h. */
6348 /* Override any gcc2 internal prototype to avoid an error. */
6352 /* We use char because int might match the return type of a gcc2
6353 builtin and then its argument prototype would still apply. */
6354 char jpeg_start_decompress ();
6358 jpeg_start_decompress ();
6363 rm -f conftest.$ac_objext conftest$ac_exeext
6364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6365 (eval $ac_link) 2>&5
6367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6368 (exit $ac_status); } &&
6369 { ac_try='test -s conftest$ac_exeext'
6370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374 (exit $ac_status); }; }; then
6375 ac_cv_lib_jpeg_jpeg_start_decompress=yes
6377 echo "$as_me: failed program was:" >&5
6378 sed 's/^/| /' conftest.$ac_ext >&5
6380 ac_cv_lib_jpeg_jpeg_start_decompress=no
6382 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6383 LIBS=$ac_check_lib_save_LIBS
6385 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
6386 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
6387 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
6389 cat >>confdefs.h <<\_ACEOF
6390 #define HAVE_LIBJPEG 1
6406 for ac_header in gif_lib.h
6408 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6410 echo "$as_me:$LINENO: checking for $ac_header" >&5
6411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6412 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6413 echo $ECHO_N "(cached) $ECHO_C" >&6
6415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6416 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6418 # Is the header compilable?
6419 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6420 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6421 cat >conftest.$ac_ext <<_ACEOF
6422 #line $LINENO "configure"
6425 cat confdefs.h >>conftest.$ac_ext
6426 cat >>conftest.$ac_ext <<_ACEOF
6427 /* end confdefs.h. */
6428 $ac_includes_default
6429 #include <$ac_header>
6431 rm -f conftest.$ac_objext
6432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6433 (eval $ac_compile) 2>&5
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); } &&
6437 { ac_try='test -s conftest.$ac_objext'
6438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442 (exit $ac_status); }; }; then
6443 ac_header_compiler=yes
6445 echo "$as_me: failed program was:" >&5
6446 sed 's/^/| /' conftest.$ac_ext >&5
6448 ac_header_compiler=no
6450 rm -f conftest.$ac_objext conftest.$ac_ext
6451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6452 echo "${ECHO_T}$ac_header_compiler" >&6
6454 # Is the header present?
6455 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6456 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6457 cat >conftest.$ac_ext <<_ACEOF
6458 #line $LINENO "configure"
6461 cat confdefs.h >>conftest.$ac_ext
6462 cat >>conftest.$ac_ext <<_ACEOF
6463 /* end confdefs.h. */
6464 #include <$ac_header>
6466 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6467 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6469 grep -v '^ *+' conftest.er1 >conftest.err
6471 cat conftest.err >&5
6472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6473 (exit $ac_status); } >/dev/null; then
6474 if test -s conftest.err; then
6475 ac_cpp_err=$ac_c_preproc_warn_flag
6482 if test -z "$ac_cpp_err"; then
6483 ac_header_preproc=yes
6485 echo "$as_me: failed program was:" >&5
6486 sed 's/^/| /' conftest.$ac_ext >&5
6488 ac_header_preproc=no
6490 rm -f conftest.err conftest.$ac_ext
6491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6492 echo "${ECHO_T}$ac_header_preproc" >&6
6494 # So? What about this header?
6495 case $ac_header_compiler:$ac_header_preproc in
6497 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6498 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6500 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6503 ## ------------------------------------ ##
6504 ## Report this to bug-autoconf@gnu.org. ##
6505 ## ------------------------------------ ##
6508 sed "s/^/$as_me: WARNING: /" >&2
6511 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6512 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6513 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6514 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6515 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6516 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6519 ## ------------------------------------ ##
6520 ## Report this to bug-autoconf@gnu.org. ##
6521 ## ------------------------------------ ##
6524 sed "s/^/$as_me: WARNING: /" >&2
6527 echo "$as_me:$LINENO: checking for $ac_header" >&5
6528 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6529 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6530 echo $ECHO_N "(cached) $ECHO_C" >&6
6532 eval "$as_ac_Header=$ac_header_preproc"
6534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6535 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6538 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6539 cat >>confdefs.h <<_ACEOF
6540 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6542 echo "$as_me:$LINENO: checking for DGifOpen in -lungif" >&5
6543 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
6544 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
6545 echo $ECHO_N "(cached) $ECHO_C" >&6
6547 ac_check_lib_save_LIBS=$LIBS
6548 LIBS="-lungif $LIBS"
6549 cat >conftest.$ac_ext <<_ACEOF
6550 #line $LINENO "configure"
6553 cat confdefs.h >>conftest.$ac_ext
6554 cat >>conftest.$ac_ext <<_ACEOF
6555 /* end confdefs.h. */
6557 /* Override any gcc2 internal prototype to avoid an error. */
6561 /* We use char because int might match the return type of a gcc2
6562 builtin and then its argument prototype would still apply. */
6572 rm -f conftest.$ac_objext conftest$ac_exeext
6573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6574 (eval $ac_link) 2>&5
6576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6577 (exit $ac_status); } &&
6578 { ac_try='test -s conftest$ac_exeext'
6579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6583 (exit $ac_status); }; }; then
6584 ac_cv_lib_ungif_DGifOpen=yes
6586 echo "$as_me: failed program was:" >&5
6587 sed 's/^/| /' conftest.$ac_ext >&5
6589 ac_cv_lib_ungif_DGifOpen=no
6591 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6592 LIBS=$ac_check_lib_save_LIBS
6594 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_DGifOpen" >&5
6595 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
6596 if test $ac_cv_lib_ungif_DGifOpen = yes; then
6598 cat >>confdefs.h <<\_ACEOF
6599 #define HAVE_LIBGIF 1
6604 echo "$as_me:$LINENO: checking for DGifOpen in -lgif" >&5
6605 echo $ECHO_N "checking for DGifOpen in -lgif... $ECHO_C" >&6
6606 if test "${ac_cv_lib_gif_DGifOpen+set}" = set; then
6607 echo $ECHO_N "(cached) $ECHO_C" >&6
6609 ac_check_lib_save_LIBS=$LIBS
6611 cat >conftest.$ac_ext <<_ACEOF
6612 #line $LINENO "configure"
6615 cat confdefs.h >>conftest.$ac_ext
6616 cat >>conftest.$ac_ext <<_ACEOF
6617 /* end confdefs.h. */
6619 /* Override any gcc2 internal prototype to avoid an error. */
6623 /* We use char because int might match the return type of a gcc2
6624 builtin and then its argument prototype would still apply. */
6634 rm -f conftest.$ac_objext conftest$ac_exeext
6635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6636 (eval $ac_link) 2>&5
6638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6639 (exit $ac_status); } &&
6640 { ac_try='test -s conftest$ac_exeext'
6641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6645 (exit $ac_status); }; }; then
6646 ac_cv_lib_gif_DGifOpen=yes
6648 echo "$as_me: failed program was:" >&5
6649 sed 's/^/| /' conftest.$ac_ext >&5
6651 ac_cv_lib_gif_DGifOpen=no
6653 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6654 LIBS=$ac_check_lib_save_LIBS
6656 echo "$as_me:$LINENO: result: $ac_cv_lib_gif_DGifOpen" >&5
6657 echo "${ECHO_T}$ac_cv_lib_gif_DGifOpen" >&6
6658 if test $ac_cv_lib_gif_DGifOpen = yes; then
6659 cat >>confdefs.h <<\_ACEOF
6660 #define HAVE_LIBGIF 1
6683 if test "$have_x" = "yes"
6686 ac_save_CPPFLAGS="$CPPFLAGS"
6687 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
6690 for ac_header in X11/Xlib.h
6692 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6694 echo "$as_me:$LINENO: checking for $ac_header" >&5
6695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6697 echo $ECHO_N "(cached) $ECHO_C" >&6
6699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6702 # Is the header compilable?
6703 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6704 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6705 cat >conftest.$ac_ext <<_ACEOF
6706 #line $LINENO "configure"
6709 cat confdefs.h >>conftest.$ac_ext
6710 cat >>conftest.$ac_ext <<_ACEOF
6711 /* end confdefs.h. */
6712 $ac_includes_default
6713 #include <$ac_header>
6715 rm -f conftest.$ac_objext
6716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6717 (eval $ac_compile) 2>&5
6719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720 (exit $ac_status); } &&
6721 { ac_try='test -s conftest.$ac_objext'
6722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6726 (exit $ac_status); }; }; then
6727 ac_header_compiler=yes
6729 echo "$as_me: failed program was:" >&5
6730 sed 's/^/| /' conftest.$ac_ext >&5
6732 ac_header_compiler=no
6734 rm -f conftest.$ac_objext conftest.$ac_ext
6735 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6736 echo "${ECHO_T}$ac_header_compiler" >&6
6738 # Is the header present?
6739 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6740 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6741 cat >conftest.$ac_ext <<_ACEOF
6742 #line $LINENO "configure"
6745 cat confdefs.h >>conftest.$ac_ext
6746 cat >>conftest.$ac_ext <<_ACEOF
6747 /* end confdefs.h. */
6748 #include <$ac_header>
6750 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6751 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6753 grep -v '^ *+' conftest.er1 >conftest.err
6755 cat conftest.err >&5
6756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757 (exit $ac_status); } >/dev/null; then
6758 if test -s conftest.err; then
6759 ac_cpp_err=$ac_c_preproc_warn_flag
6766 if test -z "$ac_cpp_err"; then
6767 ac_header_preproc=yes
6769 echo "$as_me: failed program was:" >&5
6770 sed 's/^/| /' conftest.$ac_ext >&5
6772 ac_header_preproc=no
6774 rm -f conftest.err conftest.$ac_ext
6775 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6776 echo "${ECHO_T}$ac_header_preproc" >&6
6778 # So? What about this header?
6779 case $ac_header_compiler:$ac_header_preproc in
6781 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6782 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6783 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6784 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6787 ## ------------------------------------ ##
6788 ## Report this to bug-autoconf@gnu.org. ##
6789 ## ------------------------------------ ##
6792 sed "s/^/$as_me: WARNING: /" >&2
6795 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6796 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6797 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6798 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6803 ## ------------------------------------ ##
6804 ## Report this to bug-autoconf@gnu.org. ##
6805 ## ------------------------------------ ##
6808 sed "s/^/$as_me: WARNING: /" >&2
6811 echo "$as_me:$LINENO: checking for $ac_header" >&5
6812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6814 echo $ECHO_N "(cached) $ECHO_C" >&6
6816 eval "$as_ac_Header=$ac_header_preproc"
6818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6822 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6823 cat >>confdefs.h <<_ACEOF
6824 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6828 for ac_header in X11/XKBlib.h
6830 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6831 echo "$as_me:$LINENO: checking for $ac_header" >&5
6832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6834 echo $ECHO_N "(cached) $ECHO_C" >&6
6836 cat >conftest.$ac_ext <<_ACEOF
6837 #line $LINENO "configure"
6840 cat confdefs.h >>conftest.$ac_ext
6841 cat >>conftest.$ac_ext <<_ACEOF
6842 /* end confdefs.h. */
6843 #include <X11/Xlib.h>
6845 #include <$ac_header>
6847 rm -f conftest.$ac_objext
6848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6849 (eval $ac_compile) 2>&5
6851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); } &&
6853 { ac_try='test -s conftest.$ac_objext'
6854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6858 (exit $ac_status); }; }; then
6859 eval "$as_ac_Header=yes"
6861 echo "$as_me: failed program was:" >&5
6862 sed 's/^/| /' conftest.$ac_ext >&5
6864 eval "$as_ac_Header=no"
6866 rm -f conftest.$ac_objext conftest.$ac_ext
6868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6870 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6871 cat >>confdefs.h <<_ACEOF
6872 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6874 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
6875 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
6876 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
6877 echo $ECHO_N "(cached) $ECHO_C" >&6
6879 ac_check_lib_save_LIBS=$LIBS
6880 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6881 cat >conftest.$ac_ext <<_ACEOF
6882 #line $LINENO "configure"
6885 cat confdefs.h >>conftest.$ac_ext
6886 cat >>conftest.$ac_ext <<_ACEOF
6887 /* end confdefs.h. */
6889 /* Override any gcc2 internal prototype to avoid an error. */
6893 /* We use char because int might match the return type of a gcc2
6894 builtin and then its argument prototype would still apply. */
6895 char XkbQueryExtension ();
6899 XkbQueryExtension ();
6904 rm -f conftest.$ac_objext conftest$ac_exeext
6905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6906 (eval $ac_link) 2>&5
6908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909 (exit $ac_status); } &&
6910 { ac_try='test -s conftest$ac_exeext'
6911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6915 (exit $ac_status); }; }; then
6916 ac_cv_lib_X11_XkbQueryExtension=yes
6918 echo "$as_me: failed program was:" >&5
6919 sed 's/^/| /' conftest.$ac_ext >&5
6921 ac_cv_lib_X11_XkbQueryExtension=no
6923 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6924 LIBS=$ac_check_lib_save_LIBS
6926 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
6927 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
6928 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
6930 cat >>confdefs.h <<\_ACEOF
6938 { echo "$as_me:$LINENO: WARNING: Xkb extension not found, Wine will be built without it" >&5
6939 echo "$as_me: WARNING: Xkb extension not found, Wine will be built without it" >&2;}
6946 for ac_header in X11/extensions/XShm.h
6948 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6949 echo "$as_me:$LINENO: checking for $ac_header" >&5
6950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6952 echo $ECHO_N "(cached) $ECHO_C" >&6
6954 cat >conftest.$ac_ext <<_ACEOF
6955 #line $LINENO "configure"
6958 cat confdefs.h >>conftest.$ac_ext
6959 cat >>conftest.$ac_ext <<_ACEOF
6960 /* end confdefs.h. */
6961 #include <X11/Xlib.h>
6963 #include <$ac_header>
6965 rm -f conftest.$ac_objext
6966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6967 (eval $ac_compile) 2>&5
6969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6970 (exit $ac_status); } &&
6971 { ac_try='test -s conftest.$ac_objext'
6972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6976 (exit $ac_status); }; }; then
6977 eval "$as_ac_Header=yes"
6979 echo "$as_me: failed program was:" >&5
6980 sed 's/^/| /' conftest.$ac_ext >&5
6982 eval "$as_ac_Header=no"
6984 rm -f conftest.$ac_objext conftest.$ac_ext
6986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6988 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6989 cat >>confdefs.h <<_ACEOF
6990 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6992 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
6993 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
6994 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
6995 echo $ECHO_N "(cached) $ECHO_C" >&6
6997 ac_check_lib_save_LIBS=$LIBS
6998 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6999 cat >conftest.$ac_ext <<_ACEOF
7000 #line $LINENO "configure"
7003 cat confdefs.h >>conftest.$ac_ext
7004 cat >>conftest.$ac_ext <<_ACEOF
7005 /* end confdefs.h. */
7007 /* Override any gcc2 internal prototype to avoid an error. */
7011 /* We use char because int might match the return type of a gcc2
7012 builtin and then its argument prototype would still apply. */
7013 char XShmQueryExtension ();
7017 XShmQueryExtension ();
7022 rm -f conftest.$ac_objext conftest$ac_exeext
7023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7024 (eval $ac_link) 2>&5
7026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7027 (exit $ac_status); } &&
7028 { ac_try='test -s conftest$ac_exeext'
7029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7033 (exit $ac_status); }; }; then
7034 ac_cv_lib_Xext_XShmQueryExtension=yes
7036 echo "$as_me: failed program was:" >&5
7037 sed 's/^/| /' conftest.$ac_ext >&5
7039 ac_cv_lib_Xext_XShmQueryExtension=no
7041 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7042 LIBS=$ac_check_lib_save_LIBS
7044 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7045 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7046 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7048 cat >>confdefs.h <<\_ACEOF
7049 #define HAVE_LIBXXSHM 1
7056 { echo "$as_me:$LINENO: WARNING: XShm extension not found, Wine will be built without it" >&5
7057 echo "$as_me: WARNING: XShm extension not found, Wine will be built without it" >&2;}
7064 for ac_header in X11/Xutil.h
7066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7067 echo "$as_me:$LINENO: checking for $ac_header" >&5
7068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7070 echo $ECHO_N "(cached) $ECHO_C" >&6
7072 cat >conftest.$ac_ext <<_ACEOF
7073 #line $LINENO "configure"
7076 cat confdefs.h >>conftest.$ac_ext
7077 cat >>conftest.$ac_ext <<_ACEOF
7078 /* end confdefs.h. */
7079 #include <X11/Xlib.h>
7081 #include <$ac_header>
7083 rm -f conftest.$ac_objext
7084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7085 (eval $ac_compile) 2>&5
7087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7088 (exit $ac_status); } &&
7089 { ac_try='test -s conftest.$ac_objext'
7090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7094 (exit $ac_status); }; }; then
7095 eval "$as_ac_Header=yes"
7097 echo "$as_me: failed program was:" >&5
7098 sed 's/^/| /' conftest.$ac_ext >&5
7100 eval "$as_ac_Header=no"
7102 rm -f conftest.$ac_objext conftest.$ac_ext
7104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7105 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7106 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7107 cat >>confdefs.h <<_ACEOF
7108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7117 for ac_header in X11/extensions/shape.h
7119 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7120 echo "$as_me:$LINENO: checking for $ac_header" >&5
7121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7123 echo $ECHO_N "(cached) $ECHO_C" >&6
7125 cat >conftest.$ac_ext <<_ACEOF
7126 #line $LINENO "configure"
7129 cat confdefs.h >>conftest.$ac_ext
7130 cat >>conftest.$ac_ext <<_ACEOF
7131 /* end confdefs.h. */
7132 #include <X11/Xlib.h>
7133 #ifdef HAVE_X11_XUTIL_H
7134 # include <X11/Xutil.h>
7137 #include <$ac_header>
7139 rm -f conftest.$ac_objext
7140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7141 (eval $ac_compile) 2>&5
7143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144 (exit $ac_status); } &&
7145 { ac_try='test -s conftest.$ac_objext'
7146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); }; }; then
7151 eval "$as_ac_Header=yes"
7153 echo "$as_me: failed program was:" >&5
7154 sed 's/^/| /' conftest.$ac_ext >&5
7156 eval "$as_ac_Header=no"
7158 rm -f conftest.$ac_objext conftest.$ac_ext
7160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7162 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7163 cat >>confdefs.h <<_ACEOF
7164 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7166 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7167 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7168 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7169 echo $ECHO_N "(cached) $ECHO_C" >&6
7171 ac_check_lib_save_LIBS=$LIBS
7172 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7173 cat >conftest.$ac_ext <<_ACEOF
7174 #line $LINENO "configure"
7177 cat confdefs.h >>conftest.$ac_ext
7178 cat >>conftest.$ac_ext <<_ACEOF
7179 /* end confdefs.h. */
7181 /* Override any gcc2 internal prototype to avoid an error. */
7185 /* We use char because int might match the return type of a gcc2
7186 builtin and then its argument prototype would still apply. */
7187 char XShapeQueryExtension ();
7191 XShapeQueryExtension ();
7196 rm -f conftest.$ac_objext conftest$ac_exeext
7197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7198 (eval $ac_link) 2>&5
7200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201 (exit $ac_status); } &&
7202 { ac_try='test -s conftest$ac_exeext'
7203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7207 (exit $ac_status); }; }; then
7208 ac_cv_lib_Xext_XShapeQueryExtension=yes
7210 echo "$as_me: failed program was:" >&5
7211 sed 's/^/| /' conftest.$ac_ext >&5
7213 ac_cv_lib_Xext_XShapeQueryExtension=no
7215 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7216 LIBS=$ac_check_lib_save_LIBS
7218 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7219 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
7220 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7222 cat >>confdefs.h <<\_ACEOF
7223 #define HAVE_LIBXSHAPE 1
7230 { echo "$as_me:$LINENO: WARNING: XShape extension not found, Wine will be built without it" >&5
7231 echo "$as_me: WARNING: XShape extension not found, Wine will be built without it" >&2;}
7238 for ac_header in X11/extensions/xf86dga.h
7240 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7241 echo "$as_me:$LINENO: checking for $ac_header" >&5
7242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7244 echo $ECHO_N "(cached) $ECHO_C" >&6
7246 cat >conftest.$ac_ext <<_ACEOF
7247 #line $LINENO "configure"
7250 cat confdefs.h >>conftest.$ac_ext
7251 cat >>conftest.$ac_ext <<_ACEOF
7252 /* end confdefs.h. */
7253 #include <X11/Xlib.h>
7255 #include <$ac_header>
7257 rm -f conftest.$ac_objext
7258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7259 (eval $ac_compile) 2>&5
7261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262 (exit $ac_status); } &&
7263 { ac_try='test -s conftest.$ac_objext'
7264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7268 (exit $ac_status); }; }; then
7269 eval "$as_ac_Header=yes"
7271 echo "$as_me: failed program was:" >&5
7272 sed 's/^/| /' conftest.$ac_ext >&5
7274 eval "$as_ac_Header=no"
7276 rm -f conftest.$ac_objext conftest.$ac_ext
7278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7280 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7281 cat >>confdefs.h <<_ACEOF
7282 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7284 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
7285 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7286 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
7287 echo $ECHO_N "(cached) $ECHO_C" >&6
7289 ac_check_lib_save_LIBS=$LIBS
7290 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7292 cat >conftest.$ac_ext <<_ACEOF
7293 #line $LINENO "configure"
7296 cat confdefs.h >>conftest.$ac_ext
7297 cat >>conftest.$ac_ext <<_ACEOF
7298 /* end confdefs.h. */
7300 /* Override any gcc2 internal prototype to avoid an error. */
7304 /* We use char because int might match the return type of a gcc2
7305 builtin and then its argument prototype would still apply. */
7306 char XDGAQueryExtension ();
7310 XDGAQueryExtension ();
7315 rm -f conftest.$ac_objext conftest$ac_exeext
7316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7317 (eval $ac_link) 2>&5
7319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 (exit $ac_status); } &&
7321 { ac_try='test -s conftest$ac_exeext'
7322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326 (exit $ac_status); }; }; then
7327 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
7329 echo "$as_me: failed program was:" >&5
7330 sed 's/^/| /' conftest.$ac_ext >&5
7332 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
7334 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7335 LIBS=$ac_check_lib_save_LIBS
7337 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
7338 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
7339 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
7341 cat >>confdefs.h <<\_ACEOF
7342 #define HAVE_LIBXXF86DGA2 1
7345 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7348 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
7349 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7350 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
7351 echo $ECHO_N "(cached) $ECHO_C" >&6
7353 ac_check_lib_save_LIBS=$LIBS
7354 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7356 cat >conftest.$ac_ext <<_ACEOF
7357 #line $LINENO "configure"
7360 cat confdefs.h >>conftest.$ac_ext
7361 cat >>conftest.$ac_ext <<_ACEOF
7362 /* end confdefs.h. */
7364 /* Override any gcc2 internal prototype to avoid an error. */
7368 /* We use char because int might match the return type of a gcc2
7369 builtin and then its argument prototype would still apply. */
7370 char XF86DGAQueryExtension ();
7374 XF86DGAQueryExtension ();
7379 rm -f conftest.$ac_objext conftest$ac_exeext
7380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7381 (eval $ac_link) 2>&5
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); } &&
7385 { ac_try='test -s conftest$ac_exeext'
7386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7390 (exit $ac_status); }; }; then
7391 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=yes
7393 echo "$as_me: failed program was:" >&5
7394 sed 's/^/| /' conftest.$ac_ext >&5
7396 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no
7398 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7399 LIBS=$ac_check_lib_save_LIBS
7401 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
7402 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
7403 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
7405 cat >>confdefs.h <<\_ACEOF
7406 #define HAVE_LIBXXF86DGA 1
7409 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7418 { echo "$as_me:$LINENO: WARNING: DGA extension not found, Wine will be built without it" >&5
7419 echo "$as_me: WARNING: DGA extension not found, Wine will be built without it" >&2;}
7426 for ac_header in X11/extensions/xf86vmode.h
7428 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7429 echo "$as_me:$LINENO: checking for $ac_header" >&5
7430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7432 echo $ECHO_N "(cached) $ECHO_C" >&6
7434 cat >conftest.$ac_ext <<_ACEOF
7435 #line $LINENO "configure"
7438 cat confdefs.h >>conftest.$ac_ext
7439 cat >>conftest.$ac_ext <<_ACEOF
7440 /* end confdefs.h. */
7441 #include <X11/Xlib.h>
7443 #include <$ac_header>
7445 rm -f conftest.$ac_objext
7446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7447 (eval $ac_compile) 2>&5
7449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450 (exit $ac_status); } &&
7451 { ac_try='test -s conftest.$ac_objext'
7452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456 (exit $ac_status); }; }; then
7457 eval "$as_ac_Header=yes"
7459 echo "$as_me: failed program was:" >&5
7460 sed 's/^/| /' conftest.$ac_ext >&5
7462 eval "$as_ac_Header=no"
7464 rm -f conftest.$ac_objext conftest.$ac_ext
7466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7468 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7469 cat >>confdefs.h <<_ACEOF
7470 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7472 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7473 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7474 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7475 echo $ECHO_N "(cached) $ECHO_C" >&6
7477 ac_check_lib_save_LIBS=$LIBS
7478 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7480 cat >conftest.$ac_ext <<_ACEOF
7481 #line $LINENO "configure"
7484 cat confdefs.h >>conftest.$ac_ext
7485 cat >>conftest.$ac_ext <<_ACEOF
7486 /* end confdefs.h. */
7488 /* Override any gcc2 internal prototype to avoid an error. */
7492 /* We use char because int might match the return type of a gcc2
7493 builtin and then its argument prototype would still apply. */
7494 char XF86VidModeQueryExtension ();
7498 XF86VidModeQueryExtension ();
7503 rm -f conftest.$ac_objext conftest$ac_exeext
7504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7505 (eval $ac_link) 2>&5
7507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7508 (exit $ac_status); } &&
7509 { ac_try='test -s conftest$ac_exeext'
7510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); }; }; then
7515 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
7517 echo "$as_me: failed program was:" >&5
7518 sed 's/^/| /' conftest.$ac_ext >&5
7520 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
7522 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7523 LIBS=$ac_check_lib_save_LIBS
7525 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7526 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7527 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
7529 cat >>confdefs.h <<\_ACEOF
7530 #define HAVE_LIBXXF86VM 1
7533 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
7539 { echo "$as_me:$LINENO: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&5
7540 echo "$as_me: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&2;}
7547 for ac_header in X11/extensions/Xvlib.h
7549 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7550 echo "$as_me:$LINENO: checking for $ac_header" >&5
7551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7553 echo $ECHO_N "(cached) $ECHO_C" >&6
7555 cat >conftest.$ac_ext <<_ACEOF
7556 #line $LINENO "configure"
7559 cat confdefs.h >>conftest.$ac_ext
7560 cat >>conftest.$ac_ext <<_ACEOF
7561 /* end confdefs.h. */
7562 #include <X11/Xlib.h>
7564 #include <$ac_header>
7566 rm -f conftest.$ac_objext
7567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7568 (eval $ac_compile) 2>&5
7570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7571 (exit $ac_status); } &&
7572 { ac_try='test -s conftest.$ac_objext'
7573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7577 (exit $ac_status); }; }; then
7578 eval "$as_ac_Header=yes"
7580 echo "$as_me: failed program was:" >&5
7581 sed 's/^/| /' conftest.$ac_ext >&5
7583 eval "$as_ac_Header=no"
7585 rm -f conftest.$ac_objext conftest.$ac_ext
7587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7588 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7590 cat >>confdefs.h <<_ACEOF
7591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7593 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
7594 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
7595 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
7596 echo $ECHO_N "(cached) $ECHO_C" >&6
7598 ac_check_lib_save_LIBS=$LIBS
7599 LIBS="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7601 cat >conftest.$ac_ext <<_ACEOF
7602 #line $LINENO "configure"
7605 cat confdefs.h >>conftest.$ac_ext
7606 cat >>conftest.$ac_ext <<_ACEOF
7607 /* end confdefs.h. */
7609 /* Override any gcc2 internal prototype to avoid an error. */
7613 /* We use char because int might match the return type of a gcc2
7614 builtin and then its argument prototype would still apply. */
7615 char XvShmCreateImage ();
7619 XvShmCreateImage ();
7624 rm -f conftest.$ac_objext conftest$ac_exeext
7625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7626 (eval $ac_link) 2>&5
7628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7629 (exit $ac_status); } &&
7630 { ac_try='test -s conftest$ac_exeext'
7631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635 (exit $ac_status); }; }; then
7636 ac_cv_lib_Xv_XvShmCreateImage=yes
7638 echo "$as_me: failed program was:" >&5
7639 sed 's/^/| /' conftest.$ac_ext >&5
7641 ac_cv_lib_Xv_XvShmCreateImage=no
7643 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7644 LIBS=$ac_check_lib_save_LIBS
7646 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
7647 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
7648 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
7650 cat >>confdefs.h <<\_ACEOF
7651 #define HAVE_XVIDEO 1
7654 X_PRE_LIBS="$X_PRE_LIBS -lXv"
7660 { echo "$as_me:$LINENO: WARNING: XVideo extension not found, Wine will be built without it" >&5
7661 echo "$as_me: WARNING: XVideo extension not found, Wine will be built without it" >&2;}
7668 for ac_header in X11/extensions/Xrender.h
7670 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7671 echo "$as_me:$LINENO: checking for $ac_header" >&5
7672 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7674 echo $ECHO_N "(cached) $ECHO_C" >&6
7676 cat >conftest.$ac_ext <<_ACEOF
7677 #line $LINENO "configure"
7680 cat confdefs.h >>conftest.$ac_ext
7681 cat >>conftest.$ac_ext <<_ACEOF
7682 /* end confdefs.h. */
7683 #include <X11/Xlib.h>
7685 #include <$ac_header>
7687 rm -f conftest.$ac_objext
7688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7689 (eval $ac_compile) 2>&5
7691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7692 (exit $ac_status); } &&
7693 { ac_try='test -s conftest.$ac_objext'
7694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7698 (exit $ac_status); }; }; then
7699 eval "$as_ac_Header=yes"
7701 echo "$as_me: failed program was:" >&5
7702 sed 's/^/| /' conftest.$ac_ext >&5
7704 eval "$as_ac_Header=no"
7706 rm -f conftest.$ac_objext conftest.$ac_ext
7708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7710 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7711 cat >>confdefs.h <<_ACEOF
7712 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7725 if test "x$with_opengl" != "xno"
7727 if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
7729 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
7730 This prevents linking to OpenGL. Delete the file and restart configure." >&5
7731 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
7732 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
7733 { (exit 1); exit 1; }; }
7738 for ac_header in GL/gl.h GL/glx.h
7740 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7742 echo "$as_me:$LINENO: checking for $ac_header" >&5
7743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7745 echo $ECHO_N "(cached) $ECHO_C" >&6
7747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7750 # Is the header compilable?
7751 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7752 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7753 cat >conftest.$ac_ext <<_ACEOF
7754 #line $LINENO "configure"
7757 cat confdefs.h >>conftest.$ac_ext
7758 cat >>conftest.$ac_ext <<_ACEOF
7759 /* end confdefs.h. */
7760 $ac_includes_default
7761 #include <$ac_header>
7763 rm -f conftest.$ac_objext
7764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7765 (eval $ac_compile) 2>&5
7767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7768 (exit $ac_status); } &&
7769 { ac_try='test -s conftest.$ac_objext'
7770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774 (exit $ac_status); }; }; then
7775 ac_header_compiler=yes
7777 echo "$as_me: failed program was:" >&5
7778 sed 's/^/| /' conftest.$ac_ext >&5
7780 ac_header_compiler=no
7782 rm -f conftest.$ac_objext conftest.$ac_ext
7783 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7784 echo "${ECHO_T}$ac_header_compiler" >&6
7786 # Is the header present?
7787 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7788 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7789 cat >conftest.$ac_ext <<_ACEOF
7790 #line $LINENO "configure"
7793 cat confdefs.h >>conftest.$ac_ext
7794 cat >>conftest.$ac_ext <<_ACEOF
7795 /* end confdefs.h. */
7796 #include <$ac_header>
7798 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7799 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7801 grep -v '^ *+' conftest.er1 >conftest.err
7803 cat conftest.err >&5
7804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7805 (exit $ac_status); } >/dev/null; then
7806 if test -s conftest.err; then
7807 ac_cpp_err=$ac_c_preproc_warn_flag
7814 if test -z "$ac_cpp_err"; then
7815 ac_header_preproc=yes
7817 echo "$as_me: failed program was:" >&5
7818 sed 's/^/| /' conftest.$ac_ext >&5
7820 ac_header_preproc=no
7822 rm -f conftest.err conftest.$ac_ext
7823 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7824 echo "${ECHO_T}$ac_header_preproc" >&6
7826 # So? What about this header?
7827 case $ac_header_compiler:$ac_header_preproc in
7829 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7830 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7832 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7835 ## ------------------------------------ ##
7836 ## Report this to bug-autoconf@gnu.org. ##
7837 ## ------------------------------------ ##
7840 sed "s/^/$as_me: WARNING: /" >&2
7843 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7844 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7845 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7846 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7848 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7851 ## ------------------------------------ ##
7852 ## Report this to bug-autoconf@gnu.org. ##
7853 ## ------------------------------------ ##
7856 sed "s/^/$as_me: WARNING: /" >&2
7859 echo "$as_me:$LINENO: checking for $ac_header" >&5
7860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7862 echo $ECHO_N "(cached) $ECHO_C" >&6
7864 eval "$as_ac_Header=$ac_header_preproc"
7866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7870 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7871 cat >>confdefs.h <<_ACEOF
7872 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7879 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
7882 for ac_header in GL/glext.h
7884 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7885 echo "$as_me:$LINENO: checking for $ac_header" >&5
7886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7888 echo $ECHO_N "(cached) $ECHO_C" >&6
7890 cat >conftest.$ac_ext <<_ACEOF
7891 #line $LINENO "configure"
7894 cat confdefs.h >>conftest.$ac_ext
7895 cat >>conftest.$ac_ext <<_ACEOF
7896 /* end confdefs.h. */
7899 #include <$ac_header>
7901 rm -f conftest.$ac_objext
7902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7903 (eval $ac_compile) 2>&5
7905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7906 (exit $ac_status); } &&
7907 { ac_try='test -s conftest.$ac_objext'
7908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7912 (exit $ac_status); }; }; then
7913 eval "$as_ac_Header=yes"
7915 echo "$as_me: failed program was:" >&5
7916 sed 's/^/| /' conftest.$ac_ext >&5
7918 eval "$as_ac_Header=no"
7920 rm -f conftest.$ac_objext conftest.$ac_ext
7922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7923 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7924 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7925 cat >>confdefs.h <<_ACEOF
7926 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7933 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
7934 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
7935 if test "${wine_cv_opengl_version_OK+set}" = set; then
7936 echo $ECHO_N "(cached) $ECHO_C" >&6
7938 cat >conftest.$ac_ext <<_ACEOF
7939 #line $LINENO "configure"
7942 cat confdefs.h >>conftest.$ac_ext
7943 cat >>conftest.$ac_ext <<_ACEOF
7944 /* end confdefs.h. */
7949 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
7954 rm -f conftest.$ac_objext
7955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7956 (eval $ac_compile) 2>&5
7958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7959 (exit $ac_status); } &&
7960 { ac_try='test -s conftest.$ac_objext'
7961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7965 (exit $ac_status); }; }; then
7966 wine_cv_opengl_version_OK="yes"
7968 echo "$as_me: failed program was:" >&5
7969 sed 's/^/| /' conftest.$ac_ext >&5
7971 wine_cv_opengl_version_OK="no"
7974 rm -f conftest.$ac_objext conftest.$ac_ext
7977 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
7978 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
7980 if test "$wine_cv_opengl_version_OK" = "yes"
7982 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
7983 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
7984 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
7985 echo $ECHO_N "(cached) $ECHO_C" >&6
7987 ac_check_lib_save_LIBS=$LIBS
7988 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7989 cat >conftest.$ac_ext <<_ACEOF
7990 #line $LINENO "configure"
7993 cat confdefs.h >>conftest.$ac_ext
7994 cat >>conftest.$ac_ext <<_ACEOF
7995 /* end confdefs.h. */
7997 /* Override any gcc2 internal prototype to avoid an error. */
8001 /* We use char because int might match the return type of a gcc2
8002 builtin and then its argument prototype would still apply. */
8003 char glXCreateContext ();
8007 glXCreateContext ();
8012 rm -f conftest.$ac_objext conftest$ac_exeext
8013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8014 (eval $ac_link) 2>&5
8016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8017 (exit $ac_status); } &&
8018 { ac_try='test -s conftest$ac_exeext'
8019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8023 (exit $ac_status); }; }; then
8024 ac_cv_lib_GL_glXCreateContext=yes
8026 echo "$as_me: failed program was:" >&5
8027 sed 's/^/| /' conftest.$ac_ext >&5
8029 ac_cv_lib_GL_glXCreateContext=no
8031 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8032 LIBS=$ac_check_lib_save_LIBS
8034 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8035 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8036 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8042 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8044 OPENGLFILES='$(OPENGLFILES)'
8046 cat >>confdefs.h <<\_ACEOF
8047 #define HAVE_OPENGL 1
8051 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
8052 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
8053 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
8054 echo $ECHO_N "(cached) $ECHO_C" >&6
8056 ac_check_lib_save_LIBS=$LIBS
8057 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8058 cat >conftest.$ac_ext <<_ACEOF
8059 #line $LINENO "configure"
8062 cat confdefs.h >>conftest.$ac_ext
8063 cat >>conftest.$ac_ext <<_ACEOF
8064 /* end confdefs.h. */
8066 /* Override any gcc2 internal prototype to avoid an error. */
8070 /* We use char because int might match the return type of a gcc2
8071 builtin and then its argument prototype would still apply. */
8072 char glXGetProcAddressARB ();
8076 glXGetProcAddressARB ();
8081 rm -f conftest.$ac_objext conftest$ac_exeext
8082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8083 (eval $ac_link) 2>&5
8085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8086 (exit $ac_status); } &&
8087 { ac_try='test -s conftest$ac_exeext'
8088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8092 (exit $ac_status); }; }; then
8093 ac_cv_lib_GL_glXGetProcAddressARB=yes
8095 echo "$as_me: failed program was:" >&5
8096 sed 's/^/| /' conftest.$ac_ext >&5
8098 ac_cv_lib_GL_glXGetProcAddressARB=no
8100 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8101 LIBS=$ac_check_lib_save_LIBS
8103 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
8104 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
8105 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
8107 cat >>confdefs.h <<\_ACEOF
8108 #define HAVE_GLX_GETPROCADDRESS 1
8114 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
8116 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
8117 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
8118 if test "${wine_cv_extension_prototypes+set}" = set; then
8119 echo $ECHO_N "(cached) $ECHO_C" >&6
8121 cat >conftest.$ac_ext <<_ACEOF
8122 #line $LINENO "configure"
8125 cat confdefs.h >>conftest.$ac_ext
8126 cat >>conftest.$ac_ext <<_ACEOF
8127 /* end confdefs.h. */
8129 #ifdef HAVE_GL_GLEXT_H
8130 # include <GL/glext.h>
8136 PFNGLCOLORTABLEEXTPROC test_proc;
8141 rm -f conftest.$ac_objext
8142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8143 (eval $ac_compile) 2>&5
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 (exit $ac_status); } &&
8147 { ac_try='test -s conftest.$ac_objext'
8148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 (exit $ac_status); }; }; then
8153 wine_cv_extension_prototypes="yes"
8155 echo "$as_me: failed program was:" >&5
8156 sed 's/^/| /' conftest.$ac_ext >&5
8158 wine_cv_extension_prototypes="no"
8161 rm -f conftest.$ac_objext conftest.$ac_ext
8164 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
8165 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
8166 if test "$wine_cv_extension_prototypes" = "yes"
8169 cat >>confdefs.h <<\_ACEOF
8170 #define HAVE_GLEXT_PROTOTYPES 1
8177 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8178 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8179 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8180 echo $ECHO_N "(cached) $ECHO_C" >&6
8182 ac_check_lib_save_LIBS=$LIBS
8183 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8185 cat >conftest.$ac_ext <<_ACEOF
8186 #line $LINENO "configure"
8189 cat confdefs.h >>conftest.$ac_ext
8190 cat >>conftest.$ac_ext <<_ACEOF
8191 /* end confdefs.h. */
8193 /* Override any gcc2 internal prototype to avoid an error. */
8197 /* We use char because int might match the return type of a gcc2
8198 builtin and then its argument prototype would still apply. */
8208 rm -f conftest.$ac_objext conftest$ac_exeext
8209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8210 (eval $ac_link) 2>&5
8212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8213 (exit $ac_status); } &&
8214 { ac_try='test -s conftest$ac_exeext'
8215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8219 (exit $ac_status); }; }; then
8220 ac_cv_lib_GLU_gluLookAt=yes
8222 echo "$as_me: failed program was:" >&5
8223 sed 's/^/| /' conftest.$ac_ext >&5
8225 ac_cv_lib_GLU_gluLookAt=no
8227 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8228 LIBS=$ac_check_lib_save_LIBS
8230 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8231 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8232 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8233 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8234 GLU32FILES='$(GLU32FILES)'
8245 for ac_header in audio/audiolib.h
8247 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8249 echo "$as_me:$LINENO: checking for $ac_header" >&5
8250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8252 echo $ECHO_N "(cached) $ECHO_C" >&6
8254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8257 # Is the header compilable?
8258 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8259 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8260 cat >conftest.$ac_ext <<_ACEOF
8261 #line $LINENO "configure"
8264 cat confdefs.h >>conftest.$ac_ext
8265 cat >>conftest.$ac_ext <<_ACEOF
8266 /* end confdefs.h. */
8267 $ac_includes_default
8268 #include <$ac_header>
8270 rm -f conftest.$ac_objext
8271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8272 (eval $ac_compile) 2>&5
8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275 (exit $ac_status); } &&
8276 { ac_try='test -s conftest.$ac_objext'
8277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8281 (exit $ac_status); }; }; then
8282 ac_header_compiler=yes
8284 echo "$as_me: failed program was:" >&5
8285 sed 's/^/| /' conftest.$ac_ext >&5
8287 ac_header_compiler=no
8289 rm -f conftest.$ac_objext conftest.$ac_ext
8290 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8291 echo "${ECHO_T}$ac_header_compiler" >&6
8293 # Is the header present?
8294 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8295 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8296 cat >conftest.$ac_ext <<_ACEOF
8297 #line $LINENO "configure"
8300 cat confdefs.h >>conftest.$ac_ext
8301 cat >>conftest.$ac_ext <<_ACEOF
8302 /* end confdefs.h. */
8303 #include <$ac_header>
8305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8308 grep -v '^ *+' conftest.er1 >conftest.err
8310 cat conftest.err >&5
8311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8312 (exit $ac_status); } >/dev/null; then
8313 if test -s conftest.err; then
8314 ac_cpp_err=$ac_c_preproc_warn_flag
8321 if test -z "$ac_cpp_err"; then
8322 ac_header_preproc=yes
8324 echo "$as_me: failed program was:" >&5
8325 sed 's/^/| /' conftest.$ac_ext >&5
8327 ac_header_preproc=no
8329 rm -f conftest.err conftest.$ac_ext
8330 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8331 echo "${ECHO_T}$ac_header_preproc" >&6
8333 # So? What about this header?
8334 case $ac_header_compiler:$ac_header_preproc in
8336 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8337 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8339 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8342 ## ------------------------------------ ##
8343 ## Report this to bug-autoconf@gnu.org. ##
8344 ## ------------------------------------ ##
8347 sed "s/^/$as_me: WARNING: /" >&2
8350 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8351 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8352 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8353 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8354 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8355 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8358 ## ------------------------------------ ##
8359 ## Report this to bug-autoconf@gnu.org. ##
8360 ## ------------------------------------ ##
8363 sed "s/^/$as_me: WARNING: /" >&2
8366 echo "$as_me:$LINENO: checking for $ac_header" >&5
8367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8369 echo $ECHO_N "(cached) $ECHO_C" >&6
8371 eval "$as_ac_Header=$ac_header_preproc"
8373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8377 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8378 cat >>confdefs.h <<_ACEOF
8379 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8382 for ac_header in audio/soundlib.h
8384 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8385 echo "$as_me:$LINENO: checking for $ac_header" >&5
8386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8388 echo $ECHO_N "(cached) $ECHO_C" >&6
8390 cat >conftest.$ac_ext <<_ACEOF
8391 #line $LINENO "configure"
8394 cat confdefs.h >>conftest.$ac_ext
8395 cat >>conftest.$ac_ext <<_ACEOF
8396 /* end confdefs.h. */
8397 #include <audio/audiolib.h>
8399 #include <$ac_header>
8401 rm -f conftest.$ac_objext
8402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8403 (eval $ac_compile) 2>&5
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); } &&
8407 { ac_try='test -s conftest.$ac_objext'
8408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 (exit $ac_status); }; }; then
8413 eval "$as_ac_Header=yes"
8415 echo "$as_me: failed program was:" >&5
8416 sed 's/^/| /' conftest.$ac_ext >&5
8418 eval "$as_ac_Header=no"
8420 rm -f conftest.$ac_objext conftest.$ac_ext
8422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8423 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8424 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8425 cat >>confdefs.h <<_ACEOF
8426 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8433 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8434 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8435 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8436 echo $ECHO_N "(cached) $ECHO_C" >&6
8438 ac_check_lib_save_LIBS=$LIBS
8439 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8440 cat >conftest.$ac_ext <<_ACEOF
8441 #line $LINENO "configure"
8444 cat confdefs.h >>conftest.$ac_ext
8445 cat >>conftest.$ac_ext <<_ACEOF
8446 /* end confdefs.h. */
8448 /* Override any gcc2 internal prototype to avoid an error. */
8452 /* We use char because int might match the return type of a gcc2
8453 builtin and then its argument prototype would still apply. */
8454 char AuCreateFlow ();
8463 rm -f conftest.$ac_objext conftest$ac_exeext
8464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8465 (eval $ac_link) 2>&5
8467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8468 (exit $ac_status); } &&
8469 { ac_try='test -s conftest$ac_exeext'
8470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8474 (exit $ac_status); }; }; then
8475 ac_cv_lib_audio_AuCreateFlow=yes
8477 echo "$as_me: failed program was:" >&5
8478 sed 's/^/| /' conftest.$ac_ext >&5
8480 ac_cv_lib_audio_AuCreateFlow=no
8482 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8483 LIBS=$ac_check_lib_save_LIBS
8485 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8486 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8487 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8489 cat >>confdefs.h <<\_ACEOF
8493 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8501 CPPFLAGS="$ac_save_CPPFLAGS"
8510 if test "x$with_curses" != "xno"
8513 for ac_header in ncurses.h
8515 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8517 echo "$as_me:$LINENO: checking for $ac_header" >&5
8518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8520 echo $ECHO_N "(cached) $ECHO_C" >&6
8522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8523 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8525 # Is the header compilable?
8526 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8527 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8528 cat >conftest.$ac_ext <<_ACEOF
8529 #line $LINENO "configure"
8532 cat confdefs.h >>conftest.$ac_ext
8533 cat >>conftest.$ac_ext <<_ACEOF
8534 /* end confdefs.h. */
8535 $ac_includes_default
8536 #include <$ac_header>
8538 rm -f conftest.$ac_objext
8539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8540 (eval $ac_compile) 2>&5
8542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543 (exit $ac_status); } &&
8544 { ac_try='test -s conftest.$ac_objext'
8545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549 (exit $ac_status); }; }; then
8550 ac_header_compiler=yes
8552 echo "$as_me: failed program was:" >&5
8553 sed 's/^/| /' conftest.$ac_ext >&5
8555 ac_header_compiler=no
8557 rm -f conftest.$ac_objext conftest.$ac_ext
8558 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8559 echo "${ECHO_T}$ac_header_compiler" >&6
8561 # Is the header present?
8562 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8563 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8564 cat >conftest.$ac_ext <<_ACEOF
8565 #line $LINENO "configure"
8568 cat confdefs.h >>conftest.$ac_ext
8569 cat >>conftest.$ac_ext <<_ACEOF
8570 /* end confdefs.h. */
8571 #include <$ac_header>
8573 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8574 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8576 grep -v '^ *+' conftest.er1 >conftest.err
8578 cat conftest.err >&5
8579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580 (exit $ac_status); } >/dev/null; then
8581 if test -s conftest.err; then
8582 ac_cpp_err=$ac_c_preproc_warn_flag
8589 if test -z "$ac_cpp_err"; then
8590 ac_header_preproc=yes
8592 echo "$as_me: failed program was:" >&5
8593 sed 's/^/| /' conftest.$ac_ext >&5
8595 ac_header_preproc=no
8597 rm -f conftest.err conftest.$ac_ext
8598 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8599 echo "${ECHO_T}$ac_header_preproc" >&6
8601 # So? What about this header?
8602 case $ac_header_compiler:$ac_header_preproc in
8604 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8605 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8606 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8607 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8610 ## ------------------------------------ ##
8611 ## Report this to bug-autoconf@gnu.org. ##
8612 ## ------------------------------------ ##
8615 sed "s/^/$as_me: WARNING: /" >&2
8618 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8619 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8620 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8621 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8622 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8623 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8626 ## ------------------------------------ ##
8627 ## Report this to bug-autoconf@gnu.org. ##
8628 ## ------------------------------------ ##
8631 sed "s/^/$as_me: WARNING: /" >&2
8634 echo "$as_me:$LINENO: checking for $ac_header" >&5
8635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8637 echo $ECHO_N "(cached) $ECHO_C" >&6
8639 eval "$as_ac_Header=$ac_header_preproc"
8641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8646 cat >>confdefs.h <<_ACEOF
8647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8649 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
8650 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
8651 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
8652 echo $ECHO_N "(cached) $ECHO_C" >&6
8654 ac_check_lib_save_LIBS=$LIBS
8655 LIBS="-lncurses $LIBS"
8656 cat >conftest.$ac_ext <<_ACEOF
8657 #line $LINENO "configure"
8660 cat confdefs.h >>conftest.$ac_ext
8661 cat >>conftest.$ac_ext <<_ACEOF
8662 /* end confdefs.h. */
8664 /* Override any gcc2 internal prototype to avoid an error. */
8668 /* We use char because int might match the return type of a gcc2
8669 builtin and then its argument prototype would still apply. */
8679 rm -f conftest.$ac_objext conftest$ac_exeext
8680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8681 (eval $ac_link) 2>&5
8683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684 (exit $ac_status); } &&
8685 { ac_try='test -s conftest$ac_exeext'
8686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8690 (exit $ac_status); }; }; then
8691 ac_cv_lib_ncurses_waddch=yes
8693 echo "$as_me: failed program was:" >&5
8694 sed 's/^/| /' conftest.$ac_ext >&5
8696 ac_cv_lib_ncurses_waddch=no
8698 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8699 LIBS=$ac_check_lib_save_LIBS
8701 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
8702 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
8703 if test $ac_cv_lib_ncurses_waddch = yes; then
8705 cat >>confdefs.h <<\_ACEOF
8706 #define HAVE_LIBNCURSES 1
8709 CURSESLIBS="-lncurses"
8712 for ac_header in curses.h
8714 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8716 echo "$as_me:$LINENO: checking for $ac_header" >&5
8717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8719 echo $ECHO_N "(cached) $ECHO_C" >&6
8721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8724 # Is the header compilable?
8725 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8726 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8727 cat >conftest.$ac_ext <<_ACEOF
8728 #line $LINENO "configure"
8731 cat confdefs.h >>conftest.$ac_ext
8732 cat >>conftest.$ac_ext <<_ACEOF
8733 /* end confdefs.h. */
8734 $ac_includes_default
8735 #include <$ac_header>
8737 rm -f conftest.$ac_objext
8738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8739 (eval $ac_compile) 2>&5
8741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8742 (exit $ac_status); } &&
8743 { ac_try='test -s conftest.$ac_objext'
8744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8748 (exit $ac_status); }; }; then
8749 ac_header_compiler=yes
8751 echo "$as_me: failed program was:" >&5
8752 sed 's/^/| /' conftest.$ac_ext >&5
8754 ac_header_compiler=no
8756 rm -f conftest.$ac_objext conftest.$ac_ext
8757 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8758 echo "${ECHO_T}$ac_header_compiler" >&6
8760 # Is the header present?
8761 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8762 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8763 cat >conftest.$ac_ext <<_ACEOF
8764 #line $LINENO "configure"
8767 cat confdefs.h >>conftest.$ac_ext
8768 cat >>conftest.$ac_ext <<_ACEOF
8769 /* end confdefs.h. */
8770 #include <$ac_header>
8772 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8773 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8775 grep -v '^ *+' conftest.er1 >conftest.err
8777 cat conftest.err >&5
8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8779 (exit $ac_status); } >/dev/null; then
8780 if test -s conftest.err; then
8781 ac_cpp_err=$ac_c_preproc_warn_flag
8788 if test -z "$ac_cpp_err"; then
8789 ac_header_preproc=yes
8791 echo "$as_me: failed program was:" >&5
8792 sed 's/^/| /' conftest.$ac_ext >&5
8794 ac_header_preproc=no
8796 rm -f conftest.err conftest.$ac_ext
8797 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8798 echo "${ECHO_T}$ac_header_preproc" >&6
8800 # So? What about this header?
8801 case $ac_header_compiler:$ac_header_preproc in
8803 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8804 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8806 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8809 ## ------------------------------------ ##
8810 ## Report this to bug-autoconf@gnu.org. ##
8811 ## ------------------------------------ ##
8814 sed "s/^/$as_me: WARNING: /" >&2
8817 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8818 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8819 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8820 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8822 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8825 ## ------------------------------------ ##
8826 ## Report this to bug-autoconf@gnu.org. ##
8827 ## ------------------------------------ ##
8830 sed "s/^/$as_me: WARNING: /" >&2
8833 echo "$as_me:$LINENO: checking for $ac_header" >&5
8834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8836 echo $ECHO_N "(cached) $ECHO_C" >&6
8838 eval "$as_ac_Header=$ac_header_preproc"
8840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8841 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8844 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8845 cat >>confdefs.h <<_ACEOF
8846 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8848 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
8849 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
8850 if test "${ac_cv_lib_curses_waddch+set}" = set; then
8851 echo $ECHO_N "(cached) $ECHO_C" >&6
8853 ac_check_lib_save_LIBS=$LIBS
8854 LIBS="-lcurses $LIBS"
8855 cat >conftest.$ac_ext <<_ACEOF
8856 #line $LINENO "configure"
8859 cat confdefs.h >>conftest.$ac_ext
8860 cat >>conftest.$ac_ext <<_ACEOF
8861 /* end confdefs.h. */
8863 /* Override any gcc2 internal prototype to avoid an error. */
8867 /* We use char because int might match the return type of a gcc2
8868 builtin and then its argument prototype would still apply. */
8878 rm -f conftest.$ac_objext conftest$ac_exeext
8879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8880 (eval $ac_link) 2>&5
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); } &&
8884 { ac_try='test -s conftest$ac_exeext'
8885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8889 (exit $ac_status); }; }; then
8890 ac_cv_lib_curses_waddch=yes
8892 echo "$as_me: failed program was:" >&5
8893 sed 's/^/| /' conftest.$ac_ext >&5
8895 ac_cv_lib_curses_waddch=no
8897 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8898 LIBS=$ac_check_lib_save_LIBS
8900 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
8901 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
8902 if test $ac_cv_lib_curses_waddch = yes; then
8904 cat >>confdefs.h <<\_ACEOF
8905 #define HAVE_LIBCURSES 1
8908 CURSESLIBS="-lcurses"
8922 LIBS="$CURSESLIBS $LIBS"
8925 for ac_func in getbkgd resizeterm
8927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8928 echo "$as_me:$LINENO: checking for $ac_func" >&5
8929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8930 if eval "test \"\${$as_ac_var+set}\" = set"; then
8931 echo $ECHO_N "(cached) $ECHO_C" >&6
8933 cat >conftest.$ac_ext <<_ACEOF
8934 #line $LINENO "configure"
8937 cat confdefs.h >>conftest.$ac_ext
8938 cat >>conftest.$ac_ext <<_ACEOF
8939 /* end confdefs.h. */
8940 /* System header to define __stub macros and hopefully few prototypes,
8941 which can conflict with char $ac_func (); below.
8942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8943 <limits.h> exists even on freestanding compilers. */
8945 # include <limits.h>
8947 # include <assert.h>
8949 /* Override any gcc2 internal prototype to avoid an error. */
8954 /* We use char because int might match the return type of a gcc2
8955 builtin and then its argument prototype would still apply. */
8957 /* The GNU C library defines this for functions which it implements
8958 to always fail with ENOSYS. Some functions are actually named
8959 something starting with __ and the normal name is an alias. */
8960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8963 char (*f) () = $ac_func;
8972 return f != $ac_func;
8977 rm -f conftest.$ac_objext conftest$ac_exeext
8978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8979 (eval $ac_link) 2>&5
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 (exit $ac_status); } &&
8983 { ac_try='test -s conftest$ac_exeext'
8984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8988 (exit $ac_status); }; }; then
8989 eval "$as_ac_var=yes"
8991 echo "$as_me: failed program was:" >&5
8992 sed 's/^/| /' conftest.$ac_ext >&5
8994 eval "$as_ac_var=no"
8996 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9000 if test `eval echo '${'$as_ac_var'}'` = yes; then
9001 cat >>confdefs.h <<_ACEOF
9002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9012 # Extract the first word of "sane-config", so it can be a program name with args.
9013 set dummy sane-config; ac_word=$2
9014 echo "$as_me:$LINENO: checking for $ac_word" >&5
9015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9016 if test "${ac_cv_prog_sane_devel+set}" = set; then
9017 echo $ECHO_N "(cached) $ECHO_C" >&6
9019 if test -n "$sane_devel"; then
9020 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9026 test -z "$as_dir" && as_dir=.
9027 for ac_exec_ext in '' $ac_executable_extensions; do
9028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9029 ac_cv_prog_sane_devel="sane-config"
9030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9036 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9039 sane_devel=$ac_cv_prog_sane_devel
9040 if test -n "$sane_devel"; then
9041 echo "$as_me:$LINENO: result: $sane_devel" >&5
9042 echo "${ECHO_T}$sane_devel" >&6
9044 echo "$as_me:$LINENO: result: no" >&5
9045 echo "${ECHO_T}no" >&6
9048 if test "$sane_devel" = "no"
9053 SANELIBS="`$sane_devel --libs`"
9054 SANEINCL="`$sane_devel --cflags`"
9055 ac_save_CPPFLAGS="$CPPFLAGS"
9056 ac_save_LIBS="$LIBS"
9057 CPPFLAGS="$CPPFLAGS $SANEINCL"
9058 LIBS="$LIBS $SANELIBS"
9059 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9060 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9061 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9062 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9063 echo $ECHO_N "(cached) $ECHO_C" >&6
9065 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9066 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9068 # Is the header compilable?
9069 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9070 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9071 cat >conftest.$ac_ext <<_ACEOF
9072 #line $LINENO "configure"
9075 cat confdefs.h >>conftest.$ac_ext
9076 cat >>conftest.$ac_ext <<_ACEOF
9077 /* end confdefs.h. */
9078 $ac_includes_default
9079 #include <sane/sane.h>
9081 rm -f conftest.$ac_objext
9082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9083 (eval $ac_compile) 2>&5
9085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086 (exit $ac_status); } &&
9087 { ac_try='test -s conftest.$ac_objext'
9088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9092 (exit $ac_status); }; }; then
9093 ac_header_compiler=yes
9095 echo "$as_me: failed program was:" >&5
9096 sed 's/^/| /' conftest.$ac_ext >&5
9098 ac_header_compiler=no
9100 rm -f conftest.$ac_objext conftest.$ac_ext
9101 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9102 echo "${ECHO_T}$ac_header_compiler" >&6
9104 # Is the header present?
9105 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9106 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9107 cat >conftest.$ac_ext <<_ACEOF
9108 #line $LINENO "configure"
9111 cat confdefs.h >>conftest.$ac_ext
9112 cat >>conftest.$ac_ext <<_ACEOF
9113 /* end confdefs.h. */
9114 #include <sane/sane.h>
9116 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9117 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9119 grep -v '^ *+' conftest.er1 >conftest.err
9121 cat conftest.err >&5
9122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9123 (exit $ac_status); } >/dev/null; then
9124 if test -s conftest.err; then
9125 ac_cpp_err=$ac_c_preproc_warn_flag
9132 if test -z "$ac_cpp_err"; then
9133 ac_header_preproc=yes
9135 echo "$as_me: failed program was:" >&5
9136 sed 's/^/| /' conftest.$ac_ext >&5
9138 ac_header_preproc=no
9140 rm -f conftest.err conftest.$ac_ext
9141 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9142 echo "${ECHO_T}$ac_header_preproc" >&6
9144 # So? What about this header?
9145 case $ac_header_compiler:$ac_header_preproc in
9147 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9148 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9149 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9150 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9153 ## ------------------------------------ ##
9154 ## Report this to bug-autoconf@gnu.org. ##
9155 ## ------------------------------------ ##
9158 sed "s/^/$as_me: WARNING: /" >&2
9161 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9162 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9163 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9164 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9165 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9166 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9169 ## ------------------------------------ ##
9170 ## Report this to bug-autoconf@gnu.org. ##
9171 ## ------------------------------------ ##
9174 sed "s/^/$as_me: WARNING: /" >&2
9177 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9178 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9179 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9180 echo $ECHO_N "(cached) $ECHO_C" >&6
9182 ac_cv_header_sane_sane_h=$ac_header_preproc
9184 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9185 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9188 if test $ac_cv_header_sane_sane_h = yes; then
9189 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9190 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9191 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9192 echo $ECHO_N "(cached) $ECHO_C" >&6
9194 ac_check_lib_save_LIBS=$LIBS
9196 cat >conftest.$ac_ext <<_ACEOF
9197 #line $LINENO "configure"
9200 cat confdefs.h >>conftest.$ac_ext
9201 cat >>conftest.$ac_ext <<_ACEOF
9202 /* end confdefs.h. */
9204 /* Override any gcc2 internal prototype to avoid an error. */
9208 /* We use char because int might match the return type of a gcc2
9209 builtin and then its argument prototype would still apply. */
9219 rm -f conftest.$ac_objext conftest$ac_exeext
9220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9221 (eval $ac_link) 2>&5
9223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9224 (exit $ac_status); } &&
9225 { ac_try='test -s conftest$ac_exeext'
9226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9230 (exit $ac_status); }; }; then
9231 ac_cv_lib_sane_sane_open=yes
9233 echo "$as_me: failed program was:" >&5
9234 sed 's/^/| /' conftest.$ac_ext >&5
9236 ac_cv_lib_sane_sane_open=no
9238 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9239 LIBS=$ac_check_lib_save_LIBS
9241 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9242 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9243 if test $ac_cv_lib_sane_sane_open = yes; then
9245 cat >>confdefs.h <<\_ACEOF
9260 LIBS="$ac_save_LIBS"
9261 CPPFLAGS="$ac_save_CPPFLAGS"
9266 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
9267 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
9268 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
9269 echo $ECHO_N "(cached) $ECHO_C" >&6
9271 ac_check_lib_save_LIBS=$LIBS
9272 LIBS="-lfreetype $X_LIBS $LIBS"
9273 cat >conftest.$ac_ext <<_ACEOF
9274 #line $LINENO "configure"
9277 cat confdefs.h >>conftest.$ac_ext
9278 cat >>conftest.$ac_ext <<_ACEOF
9279 /* end confdefs.h. */
9281 /* Override any gcc2 internal prototype to avoid an error. */
9285 /* We use char because int might match the return type of a gcc2
9286 builtin and then its argument prototype would still apply. */
9287 char FT_Init_FreeType ();
9291 FT_Init_FreeType ();
9296 rm -f conftest.$ac_objext conftest$ac_exeext
9297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9298 (eval $ac_link) 2>&5
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 (exit $ac_status); } &&
9302 { ac_try='test -s conftest$ac_exeext'
9303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9307 (exit $ac_status); }; }; then
9308 ac_cv_lib_freetype_FT_Init_FreeType=yes
9310 echo "$as_me: failed program was:" >&5
9311 sed 's/^/| /' conftest.$ac_ext >&5
9313 ac_cv_lib_freetype_FT_Init_FreeType=no
9315 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9316 LIBS=$ac_check_lib_save_LIBS
9318 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
9319 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
9320 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
9326 if test "$ft_lib" = "no"
9329 wine_cv_msg_freetype=no
9331 # Extract the first word of "freetype-config", so it can be a program name with args.
9332 set dummy freetype-config; ac_word=$2
9333 echo "$as_me:$LINENO: checking for $ac_word" >&5
9334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9335 if test "${ac_cv_prog_ft_devel+set}" = set; then
9336 echo $ECHO_N "(cached) $ECHO_C" >&6
9338 if test -n "$ft_devel"; then
9339 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
9341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9345 test -z "$as_dir" && as_dir=.
9346 for ac_exec_ext in '' $ac_executable_extensions; do
9347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9348 ac_cv_prog_ft_devel="freetype-config"
9349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9355 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
9358 ft_devel=$ac_cv_prog_ft_devel
9359 if test -n "$ft_devel"; then
9360 echo "$as_me:$LINENO: result: $ft_devel" >&5
9361 echo "${ECHO_T}$ft_devel" >&6
9363 echo "$as_me:$LINENO: result: no" >&5
9364 echo "${ECHO_T}no" >&6
9367 if test "$ft_devel" = "no"
9369 # Extract the first word of "freetype2-config", so it can be a program name with args.
9370 set dummy freetype2-config; ac_word=$2
9371 echo "$as_me:$LINENO: checking for $ac_word" >&5
9372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9373 if test "${ac_cv_prog_ft_devel2+set}" = set; then
9374 echo $ECHO_N "(cached) $ECHO_C" >&6
9376 if test -n "$ft_devel2"; then
9377 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
9379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9383 test -z "$as_dir" && as_dir=.
9384 for ac_exec_ext in '' $ac_executable_extensions; do
9385 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9386 ac_cv_prog_ft_devel2="freetype2-config"
9387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9393 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
9396 ft_devel2=$ac_cv_prog_ft_devel2
9397 if test -n "$ft_devel2"; then
9398 echo "$as_me:$LINENO: result: $ft_devel2" >&5
9399 echo "${ECHO_T}$ft_devel2" >&6
9401 echo "$as_me:$LINENO: result: no" >&5
9402 echo "${ECHO_T}no" >&6
9405 if test "$ft_devel2" = "freetype2-config"
9410 if test "$ft_devel" = "no"
9413 wine_cv_msg_freetype=yes
9415 FREETYPEINCL=`$ft_devel --cflags`
9416 ac_save_CPPFLAGS="$CPPFLAGS"
9417 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
9426 for ac_header in freetype/freetype.h \
9427 freetype/ftglyph.h \
9428 freetype/tttables.h \
9429 freetype/ftnames.h \
9430 freetype/ftsnames.h \
9431 freetype/ttnameid.h \
9432 freetype/ftoutln.h \
9433 freetype/internal/sfnt.h
9435 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9437 echo "$as_me:$LINENO: checking for $ac_header" >&5
9438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9440 echo $ECHO_N "(cached) $ECHO_C" >&6
9442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9445 # Is the header compilable?
9446 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9447 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9448 cat >conftest.$ac_ext <<_ACEOF
9449 #line $LINENO "configure"
9452 cat confdefs.h >>conftest.$ac_ext
9453 cat >>conftest.$ac_ext <<_ACEOF
9454 /* end confdefs.h. */
9455 $ac_includes_default
9456 #include <$ac_header>
9458 rm -f conftest.$ac_objext
9459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9460 (eval $ac_compile) 2>&5
9462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9463 (exit $ac_status); } &&
9464 { ac_try='test -s conftest.$ac_objext'
9465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 (exit $ac_status); }; }; then
9470 ac_header_compiler=yes
9472 echo "$as_me: failed program was:" >&5
9473 sed 's/^/| /' conftest.$ac_ext >&5
9475 ac_header_compiler=no
9477 rm -f conftest.$ac_objext conftest.$ac_ext
9478 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9479 echo "${ECHO_T}$ac_header_compiler" >&6
9481 # Is the header present?
9482 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9483 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9484 cat >conftest.$ac_ext <<_ACEOF
9485 #line $LINENO "configure"
9488 cat confdefs.h >>conftest.$ac_ext
9489 cat >>conftest.$ac_ext <<_ACEOF
9490 /* end confdefs.h. */
9491 #include <$ac_header>
9493 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9494 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9496 grep -v '^ *+' conftest.er1 >conftest.err
9498 cat conftest.err >&5
9499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9500 (exit $ac_status); } >/dev/null; then
9501 if test -s conftest.err; then
9502 ac_cpp_err=$ac_c_preproc_warn_flag
9509 if test -z "$ac_cpp_err"; then
9510 ac_header_preproc=yes
9512 echo "$as_me: failed program was:" >&5
9513 sed 's/^/| /' conftest.$ac_ext >&5
9515 ac_header_preproc=no
9517 rm -f conftest.err conftest.$ac_ext
9518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9519 echo "${ECHO_T}$ac_header_preproc" >&6
9521 # So? What about this header?
9522 case $ac_header_compiler:$ac_header_preproc in
9524 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9525 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9527 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9530 ## ------------------------------------ ##
9531 ## Report this to bug-autoconf@gnu.org. ##
9532 ## ------------------------------------ ##
9535 sed "s/^/$as_me: WARNING: /" >&2
9538 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9539 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9540 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9541 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9546 ## ------------------------------------ ##
9547 ## Report this to bug-autoconf@gnu.org. ##
9548 ## ------------------------------------ ##
9551 sed "s/^/$as_me: WARNING: /" >&2
9554 echo "$as_me:$LINENO: checking for $ac_header" >&5
9555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9556 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9557 echo $ECHO_N "(cached) $ECHO_C" >&6
9559 eval "$as_ac_Header=$ac_header_preproc"
9561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9562 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9566 cat >>confdefs.h <<_ACEOF
9567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9574 cat >conftest.$ac_ext <<_ACEOF
9575 #line $LINENO "configure"
9578 cat confdefs.h >>conftest.$ac_ext
9579 cat >>conftest.$ac_ext <<_ACEOF
9580 /* end confdefs.h. */
9581 #include <ft2build.h>
9582 #include <freetype/fttrigon.h>
9584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9585 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9587 grep -v '^ *+' conftest.er1 >conftest.err
9589 cat conftest.err >&5
9590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9591 (exit $ac_status); } >/dev/null; then
9592 if test -s conftest.err; then
9593 ac_cpp_err=$ac_c_preproc_warn_flag
9600 if test -z "$ac_cpp_err"; then
9602 cat >>confdefs.h <<\_ACEOF
9603 #define HAVE_FREETYPE_FTTRIGON_H 1
9606 wine_cv_fttrigon=yes
9608 echo "$as_me: failed program was:" >&5
9609 sed 's/^/| /' conftest.$ac_ext >&5
9613 rm -f conftest.err conftest.$ac_ext
9614 CPPFLAGS="$ac_save_CPPFLAGS"
9615 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
9618 cat >>confdefs.h <<\_ACEOF
9619 #define HAVE_FREETYPE 1
9622 wine_cv_msg_freetype=no
9625 wine_cv_msg_freetype=yes
9631 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
9632 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
9633 if test "${ac_cv_c_ppdev+set}" = set; then
9634 echo $ECHO_N "(cached) $ECHO_C" >&6
9636 cat >conftest.$ac_ext <<_ACEOF
9637 #line $LINENO "configure"
9640 cat confdefs.h >>conftest.$ac_ext
9641 cat >>conftest.$ac_ext <<_ACEOF
9642 /* end confdefs.h. */
9643 #include <linux/ppdev.h>
9652 rm -f conftest.$ac_objext
9653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9654 (eval $ac_compile) 2>&5
9656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9657 (exit $ac_status); } &&
9658 { ac_try='test -s conftest.$ac_objext'
9659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9663 (exit $ac_status); }; }; then
9666 echo "$as_me: failed program was:" >&5
9667 sed 's/^/| /' conftest.$ac_ext >&5
9671 rm -f conftest.$ac_objext conftest.$ac_ext
9674 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
9675 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
9676 if test "$ac_cv_c_ppdev" = "yes"
9679 cat >>confdefs.h <<\_ACEOF
9680 #define HAVE_PPDEV 1
9685 echo "$as_me:$LINENO: checking for va_copy" >&5
9686 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
9687 if test "${ac_cv_c_va_copy+set}" = set; then
9688 echo $ECHO_N "(cached) $ECHO_C" >&6
9690 cat >conftest.$ac_ext <<_ACEOF
9691 #line $LINENO "configure"
9694 cat confdefs.h >>conftest.$ac_ext
9695 cat >>conftest.$ac_ext <<_ACEOF
9696 /* end confdefs.h. */
9708 rm -f conftest.$ac_objext conftest$ac_exeext
9709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9710 (eval $ac_link) 2>&5
9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 (exit $ac_status); } &&
9714 { ac_try='test -s conftest$ac_exeext'
9715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9719 (exit $ac_status); }; }; then
9720 ac_cv_c_va_copy="yes"
9722 echo "$as_me: failed program was:" >&5
9723 sed 's/^/| /' conftest.$ac_ext >&5
9725 ac_cv_c_va_copy="no"
9727 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9730 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
9731 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
9732 if test "$ac_cv_c_va_copy" = "yes"
9735 cat >>confdefs.h <<\_ACEOF
9736 #define HAVE_VA_COPY 1
9740 echo "$as_me:$LINENO: checking for __va_copy" >&5
9741 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
9742 if test "${ac_cv_c___va_copy+set}" = set; then
9743 echo $ECHO_N "(cached) $ECHO_C" >&6
9745 cat >conftest.$ac_ext <<_ACEOF
9746 #line $LINENO "configure"
9749 cat confdefs.h >>conftest.$ac_ext
9750 cat >>conftest.$ac_ext <<_ACEOF
9751 /* end confdefs.h. */
9763 rm -f conftest.$ac_objext conftest$ac_exeext
9764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9765 (eval $ac_link) 2>&5
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768 (exit $ac_status); } &&
9769 { ac_try='test -s conftest$ac_exeext'
9770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 (exit $ac_status); }; }; then
9775 ac_cv_c___va_copy="yes"
9777 echo "$as_me: failed program was:" >&5
9778 sed 's/^/| /' conftest.$ac_ext >&5
9780 ac_cv_c___va_copy="no"
9782 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9785 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
9786 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
9787 if test "$ac_cv_c___va_copy" = "yes"
9790 cat >>confdefs.h <<\_ACEOF
9791 #define HAVE___VA_COPY 1
9799 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
9801 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9803 echo "$as_me:$LINENO: checking for $ac_header" >&5
9804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9806 echo $ECHO_N "(cached) $ECHO_C" >&6
9808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9811 # Is the header compilable?
9812 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9813 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9814 cat >conftest.$ac_ext <<_ACEOF
9815 #line $LINENO "configure"
9818 cat confdefs.h >>conftest.$ac_ext
9819 cat >>conftest.$ac_ext <<_ACEOF
9820 /* end confdefs.h. */
9821 $ac_includes_default
9822 #include <$ac_header>
9824 rm -f conftest.$ac_objext
9825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9826 (eval $ac_compile) 2>&5
9828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9829 (exit $ac_status); } &&
9830 { ac_try='test -s conftest.$ac_objext'
9831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9835 (exit $ac_status); }; }; then
9836 ac_header_compiler=yes
9838 echo "$as_me: failed program was:" >&5
9839 sed 's/^/| /' conftest.$ac_ext >&5
9841 ac_header_compiler=no
9843 rm -f conftest.$ac_objext conftest.$ac_ext
9844 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9845 echo "${ECHO_T}$ac_header_compiler" >&6
9847 # Is the header present?
9848 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9849 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9850 cat >conftest.$ac_ext <<_ACEOF
9851 #line $LINENO "configure"
9854 cat confdefs.h >>conftest.$ac_ext
9855 cat >>conftest.$ac_ext <<_ACEOF
9856 /* end confdefs.h. */
9857 #include <$ac_header>
9859 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9860 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9862 grep -v '^ *+' conftest.er1 >conftest.err
9864 cat conftest.err >&5
9865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9866 (exit $ac_status); } >/dev/null; then
9867 if test -s conftest.err; then
9868 ac_cpp_err=$ac_c_preproc_warn_flag
9875 if test -z "$ac_cpp_err"; then
9876 ac_header_preproc=yes
9878 echo "$as_me: failed program was:" >&5
9879 sed 's/^/| /' conftest.$ac_ext >&5
9881 ac_header_preproc=no
9883 rm -f conftest.err conftest.$ac_ext
9884 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9885 echo "${ECHO_T}$ac_header_preproc" >&6
9887 # So? What about this header?
9888 case $ac_header_compiler:$ac_header_preproc in
9890 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9891 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9893 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9896 ## ------------------------------------ ##
9897 ## Report this to bug-autoconf@gnu.org. ##
9898 ## ------------------------------------ ##
9901 sed "s/^/$as_me: WARNING: /" >&2
9904 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9905 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9906 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9907 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9912 ## ------------------------------------ ##
9913 ## Report this to bug-autoconf@gnu.org. ##
9914 ## ------------------------------------ ##
9917 sed "s/^/$as_me: WARNING: /" >&2
9920 echo "$as_me:$LINENO: checking for $ac_header" >&5
9921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9923 echo $ECHO_N "(cached) $ECHO_C" >&6
9925 eval "$as_ac_Header=$ac_header_preproc"
9927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9928 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9931 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9932 cat >>confdefs.h <<_ACEOF
9933 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9941 echo "$as_me:$LINENO: checking for Open Sound System" >&5
9942 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
9943 if test "${ac_cv_c_opensoundsystem+set}" = set; then
9944 echo $ECHO_N "(cached) $ECHO_C" >&6
9946 cat >conftest.$ac_ext <<_ACEOF
9947 #line $LINENO "configure"
9950 cat confdefs.h >>conftest.$ac_ext
9951 cat >>conftest.$ac_ext <<_ACEOF
9952 /* end confdefs.h. */
9954 #if defined(HAVE_SYS_SOUNDCARD_H)
9955 #include <sys/soundcard.h>
9956 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
9957 #include <machine/soundcard.h>
9958 #elif defined(HAVE_SOUNDCARD_H)
9959 #include <soundcard.h>
9967 /* check for one of the Open Sound System specific SNDCTL_ defines */
9968 #if !defined(SNDCTL_DSP_STEREO)
9969 #error No open sound system
9976 rm -f conftest.$ac_objext
9977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9978 (eval $ac_compile) 2>&5
9980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9981 (exit $ac_status); } &&
9982 { ac_try='test -s conftest.$ac_objext'
9983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9987 (exit $ac_status); }; }; then
9988 ac_cv_c_opensoundsystem="yes"
9990 echo "$as_me: failed program was:" >&5
9991 sed 's/^/| /' conftest.$ac_ext >&5
9993 ac_cv_c_opensoundsystem="no"
9995 rm -f conftest.$ac_objext conftest.$ac_ext
9997 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
9998 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
10000 if test "$ac_cv_c_opensoundsystem" = "yes"
10003 cat >>confdefs.h <<\_ACEOF
10009 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
10010 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
10011 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
10012 echo $ECHO_N "(cached) $ECHO_C" >&6
10014 cat >conftest.$ac_ext <<_ACEOF
10015 #line $LINENO "configure"
10018 cat confdefs.h >>conftest.$ac_ext
10019 cat >>conftest.$ac_ext <<_ACEOF
10020 /* end confdefs.h. */
10022 #if defined(HAVE_SYS_SOUNDCARD_H)
10023 #include <sys/soundcard.h>
10024 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10025 #include <machine/soundcard.h>
10026 #elif defined(HAVE_SOUNDCARD_H)
10027 #include <soundcard.h>
10035 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
10036 #if !defined(SNDCTL_SEQ_SYNC)
10037 #error No open sound system MIDI interface
10044 rm -f conftest.$ac_objext
10045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10046 (eval $ac_compile) 2>&5
10048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10049 (exit $ac_status); } &&
10050 { ac_try='test -s conftest.$ac_objext'
10051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10052 (eval $ac_try) 2>&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); }; }; then
10056 ac_cv_c_opensoundsystem_midi="yes"
10058 echo "$as_me: failed program was:" >&5
10059 sed 's/^/| /' conftest.$ac_ext >&5
10061 ac_cv_c_opensoundsystem_midi="no"
10063 rm -f conftest.$ac_objext conftest.$ac_ext
10065 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
10066 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
10068 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
10071 cat >>confdefs.h <<\_ACEOF
10072 #define HAVE_OSS_MIDI 1
10077 # Extract the first word of "artsc-config", so it can be a program name with args.
10078 set dummy artsc-config; ac_word=$2
10079 echo "$as_me:$LINENO: checking for $ac_word" >&5
10080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10081 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
10082 echo $ECHO_N "(cached) $ECHO_C" >&6
10084 case $ARTSCCONFIG in
10086 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
10089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10090 for as_dir in $PATH
10093 test -z "$as_dir" && as_dir=.
10094 for ac_exec_ext in '' $ac_executable_extensions; do
10095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10096 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
10097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10106 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
10108 if test -n "$ARTSCCONFIG"; then
10109 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
10110 echo "${ECHO_T}$ARTSCCONFIG" >&6
10112 echo "$as_me:$LINENO: result: no" >&5
10113 echo "${ECHO_T}no" >&6
10116 echo "$as_me:$LINENO: checking for aRts Sound server" >&5
10117 echo $ECHO_N "checking for aRts Sound server... $ECHO_C" >&6
10118 if test "${ac_cv_c_artsserver+set}" = set; then
10119 echo $ECHO_N "(cached) $ECHO_C" >&6
10121 if test x$ARTSCCONFIG = x -o x$ARTSCCONFIG = x'"$ARTSCCONFIG"';
10123 ac_cv_c_artsserver=no
10125 ARTSC_CFLAGS=`$ARTSCCONFIG --cflags`
10126 ARTSC_LIBS=`$ARTSCCONFIG --libs`
10127 ac_cv_c_artsserver=no
10128 save_CFLAGS="$CFLAGS"
10129 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
10130 cat >conftest.$ac_ext <<_ACEOF
10131 #line $LINENO "configure"
10134 cat confdefs.h >>conftest.$ac_ext
10135 cat >>conftest.$ac_ext <<_ACEOF
10136 /* end confdefs.h. */
10144 arts_stream_t stream;
10150 rm -f conftest.$ac_objext
10151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10152 (eval $ac_compile) 2>&5
10154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10155 (exit $ac_status); } &&
10156 { ac_try='test -s conftest.$ac_objext'
10157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10158 (eval $ac_try) 2>&5
10160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10161 (exit $ac_status); }; }; then
10163 ac_cv_c_artsserver=yes
10166 echo "$as_me: failed program was:" >&5
10167 sed 's/^/| /' conftest.$ac_ext >&5
10170 rm -f conftest.$ac_objext conftest.$ac_ext
10171 CFLAGS="$save_CFLAGS"
10174 echo "$as_me:$LINENO: result: $ac_cv_c_artsserver" >&5
10175 echo "${ECHO_T}$ac_cv_c_artsserver" >&6
10177 if test "$ac_cv_c_artsserver" = "yes"
10179 ARTSLIBS=$ARTSC_LIBS
10181 ARTSINCL=$ARTSC_CFLAGS
10185 cat >>confdefs.h <<\_ACEOF
10186 #define HAVE_ARTS 1
10195 for ac_header in alsa/asoundlib.h sys/asoundlib.h
10197 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10199 echo "$as_me:$LINENO: checking for $ac_header" >&5
10200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10202 echo $ECHO_N "(cached) $ECHO_C" >&6
10204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10205 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10207 # Is the header compilable?
10208 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10209 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10210 cat >conftest.$ac_ext <<_ACEOF
10211 #line $LINENO "configure"
10214 cat confdefs.h >>conftest.$ac_ext
10215 cat >>conftest.$ac_ext <<_ACEOF
10216 /* end confdefs.h. */
10217 $ac_includes_default
10218 #include <$ac_header>
10220 rm -f conftest.$ac_objext
10221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10222 (eval $ac_compile) 2>&5
10224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10225 (exit $ac_status); } &&
10226 { ac_try='test -s conftest.$ac_objext'
10227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10228 (eval $ac_try) 2>&5
10230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10231 (exit $ac_status); }; }; then
10232 ac_header_compiler=yes
10234 echo "$as_me: failed program was:" >&5
10235 sed 's/^/| /' conftest.$ac_ext >&5
10237 ac_header_compiler=no
10239 rm -f conftest.$ac_objext conftest.$ac_ext
10240 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10241 echo "${ECHO_T}$ac_header_compiler" >&6
10243 # Is the header present?
10244 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10245 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10246 cat >conftest.$ac_ext <<_ACEOF
10247 #line $LINENO "configure"
10250 cat confdefs.h >>conftest.$ac_ext
10251 cat >>conftest.$ac_ext <<_ACEOF
10252 /* end confdefs.h. */
10253 #include <$ac_header>
10255 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10256 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10258 grep -v '^ *+' conftest.er1 >conftest.err
10260 cat conftest.err >&5
10261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); } >/dev/null; then
10263 if test -s conftest.err; then
10264 ac_cpp_err=$ac_c_preproc_warn_flag
10271 if test -z "$ac_cpp_err"; then
10272 ac_header_preproc=yes
10274 echo "$as_me: failed program was:" >&5
10275 sed 's/^/| /' conftest.$ac_ext >&5
10277 ac_header_preproc=no
10279 rm -f conftest.err conftest.$ac_ext
10280 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10281 echo "${ECHO_T}$ac_header_preproc" >&6
10283 # So? What about this header?
10284 case $ac_header_compiler:$ac_header_preproc in
10286 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10287 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10292 ## ------------------------------------ ##
10293 ## Report this to bug-autoconf@gnu.org. ##
10294 ## ------------------------------------ ##
10297 sed "s/^/$as_me: WARNING: /" >&2
10300 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10301 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10302 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10303 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10305 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10308 ## ------------------------------------ ##
10309 ## Report this to bug-autoconf@gnu.org. ##
10310 ## ------------------------------------ ##
10313 sed "s/^/$as_me: WARNING: /" >&2
10316 echo "$as_me:$LINENO: checking for $ac_header" >&5
10317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10319 echo $ECHO_N "(cached) $ECHO_C" >&6
10321 eval "$as_ac_Header=$ac_header_preproc"
10323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10327 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10328 cat >>confdefs.h <<_ACEOF
10329 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10336 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10338 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
10339 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
10340 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
10341 echo $ECHO_N "(cached) $ECHO_C" >&6
10343 ac_check_lib_save_LIBS=$LIBS
10344 LIBS="-lasound $LIBS"
10345 cat >conftest.$ac_ext <<_ACEOF
10346 #line $LINENO "configure"
10349 cat confdefs.h >>conftest.$ac_ext
10350 cat >>conftest.$ac_ext <<_ACEOF
10351 /* end confdefs.h. */
10353 /* Override any gcc2 internal prototype to avoid an error. */
10357 /* We use char because int might match the return type of a gcc2
10358 builtin and then its argument prototype would still apply. */
10359 char snd_pcm_open ();
10368 rm -f conftest.$ac_objext conftest$ac_exeext
10369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10370 (eval $ac_link) 2>&5
10372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 (exit $ac_status); } &&
10374 { ac_try='test -s conftest$ac_exeext'
10375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10376 (eval $ac_try) 2>&5
10378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10379 (exit $ac_status); }; }; then
10380 ac_cv_lib_asound_snd_pcm_open=yes
10382 echo "$as_me: failed program was:" >&5
10383 sed 's/^/| /' conftest.$ac_ext >&5
10385 ac_cv_lib_asound_snd_pcm_open=no
10387 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10388 LIBS=$ac_check_lib_save_LIBS
10390 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
10391 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
10392 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
10394 cat >>confdefs.h <<\_ACEOF
10395 #define HAVE_ALSA 1
10398 ALSALIBS="-lasound"
10407 for ac_header in libaudioio.h
10409 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10411 echo "$as_me:$LINENO: checking for $ac_header" >&5
10412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10414 echo $ECHO_N "(cached) $ECHO_C" >&6
10416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10417 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10419 # Is the header compilable?
10420 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10421 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10422 cat >conftest.$ac_ext <<_ACEOF
10423 #line $LINENO "configure"
10426 cat confdefs.h >>conftest.$ac_ext
10427 cat >>conftest.$ac_ext <<_ACEOF
10428 /* end confdefs.h. */
10429 $ac_includes_default
10430 #include <$ac_header>
10432 rm -f conftest.$ac_objext
10433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10434 (eval $ac_compile) 2>&5
10436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437 (exit $ac_status); } &&
10438 { ac_try='test -s conftest.$ac_objext'
10439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10440 (eval $ac_try) 2>&5
10442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443 (exit $ac_status); }; }; then
10444 ac_header_compiler=yes
10446 echo "$as_me: failed program was:" >&5
10447 sed 's/^/| /' conftest.$ac_ext >&5
10449 ac_header_compiler=no
10451 rm -f conftest.$ac_objext conftest.$ac_ext
10452 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10453 echo "${ECHO_T}$ac_header_compiler" >&6
10455 # Is the header present?
10456 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10457 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10458 cat >conftest.$ac_ext <<_ACEOF
10459 #line $LINENO "configure"
10462 cat confdefs.h >>conftest.$ac_ext
10463 cat >>conftest.$ac_ext <<_ACEOF
10464 /* end confdefs.h. */
10465 #include <$ac_header>
10467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10468 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10470 grep -v '^ *+' conftest.er1 >conftest.err
10472 cat conftest.err >&5
10473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10474 (exit $ac_status); } >/dev/null; then
10475 if test -s conftest.err; then
10476 ac_cpp_err=$ac_c_preproc_warn_flag
10483 if test -z "$ac_cpp_err"; then
10484 ac_header_preproc=yes
10486 echo "$as_me: failed program was:" >&5
10487 sed 's/^/| /' conftest.$ac_ext >&5
10489 ac_header_preproc=no
10491 rm -f conftest.err conftest.$ac_ext
10492 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10493 echo "${ECHO_T}$ac_header_preproc" >&6
10495 # So? What about this header?
10496 case $ac_header_compiler:$ac_header_preproc in
10498 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10499 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10500 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10501 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10504 ## ------------------------------------ ##
10505 ## Report this to bug-autoconf@gnu.org. ##
10506 ## ------------------------------------ ##
10509 sed "s/^/$as_me: WARNING: /" >&2
10512 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10513 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10514 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10515 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10516 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10517 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10520 ## ------------------------------------ ##
10521 ## Report this to bug-autoconf@gnu.org. ##
10522 ## ------------------------------------ ##
10525 sed "s/^/$as_me: WARNING: /" >&2
10528 echo "$as_me:$LINENO: checking for $ac_header" >&5
10529 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10531 echo $ECHO_N "(cached) $ECHO_C" >&6
10533 eval "$as_ac_Header=$ac_header_preproc"
10535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10536 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10539 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10540 cat >>confdefs.h <<_ACEOF
10541 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10543 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
10544 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
10545 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
10546 echo $ECHO_N "(cached) $ECHO_C" >&6
10548 ac_check_lib_save_LIBS=$LIBS
10549 LIBS="-laudioio $LIBS"
10550 cat >conftest.$ac_ext <<_ACEOF
10551 #line $LINENO "configure"
10554 cat confdefs.h >>conftest.$ac_ext
10555 cat >>conftest.$ac_ext <<_ACEOF
10556 /* end confdefs.h. */
10558 /* Override any gcc2 internal prototype to avoid an error. */
10562 /* We use char because int might match the return type of a gcc2
10563 builtin and then its argument prototype would still apply. */
10564 char AudioIOGetVersion ();
10568 AudioIOGetVersion ();
10573 rm -f conftest.$ac_objext conftest$ac_exeext
10574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10575 (eval $ac_link) 2>&5
10577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10578 (exit $ac_status); } &&
10579 { ac_try='test -s conftest$ac_exeext'
10580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10581 (eval $ac_try) 2>&5
10583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584 (exit $ac_status); }; }; then
10585 ac_cv_lib_audioio_AudioIOGetVersion=yes
10587 echo "$as_me: failed program was:" >&5
10588 sed 's/^/| /' conftest.$ac_ext >&5
10590 ac_cv_lib_audioio_AudioIOGetVersion=no
10592 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10593 LIBS=$ac_check_lib_save_LIBS
10595 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
10596 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
10597 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
10598 AUDIOIOLIBS="-laudioio"
10600 cat >>confdefs.h <<\_ACEOF
10601 #define HAVE_LIBAUDIOIO 1
10612 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
10613 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
10614 if test "${ac_cv_mmap64_works+set}" = set; then
10615 echo $ECHO_N "(cached) $ECHO_C" >&6
10617 if test "$cross_compiling" = yes; then
10618 ac_cv_mmap64_works="no"
10620 cat >conftest.$ac_ext <<_ACEOF
10621 #line $LINENO "configure"
10624 cat confdefs.h >>conftest.$ac_ext
10625 cat >>conftest.$ac_ext <<_ACEOF
10626 /* end confdefs.h. */
10628 #define _FILE_OFFSET_BITS 64
10630 #include <unistd.h>
10632 #include <sys/mman.h>
10635 int main(int argc,char **argv) {
10636 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
10637 if (fd == -1) exit(1);
10639 unlink("conftest.map");
10641 write(fd,"test",4);
10643 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
10649 fprintf(stderr,"success!\n");
10655 rm -f conftest$ac_exeext
10656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10657 (eval $ac_link) 2>&5
10659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10660 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10662 (eval $ac_try) 2>&5
10664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 (exit $ac_status); }; }; then
10666 ac_cv_mmap64_works="yes"
10668 echo "$as_me: program exited with status $ac_status" >&5
10669 echo "$as_me: failed program was:" >&5
10670 sed 's/^/| /' conftest.$ac_ext >&5
10672 ( exit $ac_status )
10673 ac_cv_mmap64_works="no"
10675 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10678 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
10679 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
10681 if test "$ac_cv_mmap64_works" = "yes"
10684 cat >>confdefs.h <<\_ACEOF
10685 #define _FILE_OFFSET_BITS 64
10693 if test "x${GCC}" = "xyes"
10697 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
10698 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
10699 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
10700 echo $ECHO_N "(cached) $ECHO_C" >&6
10702 if test "$cross_compiling" = yes; then
10703 ac_cv_c_gcc_strength_bug="yes"
10705 cat >conftest.$ac_ext <<_ACEOF
10706 #line $LINENO "configure"
10709 cat confdefs.h >>conftest.$ac_ext
10710 cat >>conftest.$ac_ext <<_ACEOF
10711 /* end confdefs.h. */
10713 int L[4] = {0,1,2,3};
10715 static int Array[3];
10716 unsigned int B = 3;
10718 for(i=0; i<B; i++) Array[i] = i - 3;
10719 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
10722 exit( Array[1] != -2 || L[2] != 3);
10725 rm -f conftest$ac_exeext
10726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10727 (eval $ac_link) 2>&5
10729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10730 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10732 (eval $ac_try) 2>&5
10734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10735 (exit $ac_status); }; }; then
10736 ac_cv_c_gcc_strength_bug="no"
10738 echo "$as_me: program exited with status $ac_status" >&5
10739 echo "$as_me: failed program was:" >&5
10740 sed 's/^/| /' conftest.$ac_ext >&5
10742 ( exit $ac_status )
10743 ac_cv_c_gcc_strength_bug="yes"
10745 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10748 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
10749 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
10750 if test "$ac_cv_c_gcc_strength_bug" = "yes"
10752 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
10755 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
10756 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
10757 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
10758 echo $ECHO_N "(cached) $ECHO_C" >&6
10760 ac_wine_try_cflags_saved=$CFLAGS
10761 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
10762 cat >conftest.$ac_ext <<_ACEOF
10763 #line $LINENO "configure"
10766 cat confdefs.h >>conftest.$ac_ext
10767 cat >>conftest.$ac_ext <<_ACEOF
10768 /* end confdefs.h. */
10778 rm -f conftest.$ac_objext conftest$ac_exeext
10779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10780 (eval $ac_link) 2>&5
10782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783 (exit $ac_status); } &&
10784 { ac_try='test -s conftest$ac_exeext'
10785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10786 (eval $ac_try) 2>&5
10788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10789 (exit $ac_status); }; }; then
10790 ac_cv_c_gcc_stack_boundary="yes"
10792 echo "$as_me: failed program was:" >&5
10793 sed 's/^/| /' conftest.$ac_ext >&5
10795 ac_cv_c_gcc_stack_boundary="no"
10797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10798 CFLAGS=$ac_wine_try_cflags_saved
10800 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
10801 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
10802 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
10804 EXTRACFLAGS="$EXTRACFLAGS -mpreferred-stack-boundary=2"
10807 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
10808 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
10809 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
10810 echo $ECHO_N "(cached) $ECHO_C" >&6
10812 ac_wine_try_cflags_saved=$CFLAGS
10813 CFLAGS="$CFLAGS -gstabs+"
10814 cat >conftest.$ac_ext <<_ACEOF
10815 #line $LINENO "configure"
10818 cat confdefs.h >>conftest.$ac_ext
10819 cat >>conftest.$ac_ext <<_ACEOF
10820 /* end confdefs.h. */
10830 rm -f conftest.$ac_objext conftest$ac_exeext
10831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10832 (eval $ac_link) 2>&5
10834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10835 (exit $ac_status); } &&
10836 { ac_try='test -s conftest$ac_exeext'
10837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10838 (eval $ac_try) 2>&5
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); }; }; then
10842 ac_cv_c_gcc_gstabs="yes"
10844 echo "$as_me: failed program was:" >&5
10845 sed 's/^/| /' conftest.$ac_ext >&5
10847 ac_cv_c_gcc_gstabs="no"
10849 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10850 CFLAGS=$ac_wine_try_cflags_saved
10852 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
10853 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
10854 if test "$ac_cv_c_gcc_gstabs" = "yes"
10856 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
10859 saved_CFLAGS="$CFLAGS"
10860 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
10861 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
10862 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
10863 if test "${ac_cv_c_string_h_warnings+set}" = set; then
10864 echo $ECHO_N "(cached) $ECHO_C" >&6
10866 cat >conftest.$ac_ext <<_ACEOF
10867 #line $LINENO "configure"
10870 cat confdefs.h >>conftest.$ac_ext
10871 cat >>conftest.$ac_ext <<_ACEOF
10872 /* end confdefs.h. */
10873 #include <string.h>
10882 rm -f conftest.$ac_objext
10883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10884 (eval $ac_compile) 2>&5
10886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10887 (exit $ac_status); } &&
10888 { ac_try='test -s conftest.$ac_objext'
10889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10890 (eval $ac_try) 2>&5
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); }; }; then
10894 ac_cv_c_string_h_warnings=no
10896 echo "$as_me: failed program was:" >&5
10897 sed 's/^/| /' conftest.$ac_ext >&5
10899 ac_cv_c_string_h_warnings=yes
10901 rm -f conftest.$ac_objext conftest.$ac_ext
10903 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
10904 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
10905 CFLAGS="$saved_CFLAGS"
10906 if test "$ac_cv_c_string_h_warnings" = "no"
10908 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
10913 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
10914 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
10915 if test "${ac_cv_asm_func_def+set}" = set; then
10916 echo $ECHO_N "(cached) $ECHO_C" >&6
10918 cat >conftest.$ac_ext <<_ACEOF
10919 #line $LINENO "configure"
10922 cat confdefs.h >>conftest.$ac_ext
10923 cat >>conftest.$ac_ext <<_ACEOF
10924 /* end confdefs.h. */
10925 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"); }
10935 rm -f conftest.$ac_objext conftest$ac_exeext
10936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10937 (eval $ac_link) 2>&5
10939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10940 (exit $ac_status); } &&
10941 { ac_try='test -s conftest$ac_exeext'
10942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10943 (eval $ac_try) 2>&5
10945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946 (exit $ac_status); }; }; then
10947 ac_cv_asm_func_def=".def"
10949 echo "$as_me: failed program was:" >&5
10950 sed 's/^/| /' conftest.$ac_ext >&5
10952 cat >conftest.$ac_ext <<_ACEOF
10953 #line $LINENO "configure"
10956 cat confdefs.h >>conftest.$ac_ext
10957 cat >>conftest.$ac_ext <<_ACEOF
10958 /* end confdefs.h. */
10959 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
10969 rm -f conftest.$ac_objext conftest$ac_exeext
10970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10971 (eval $ac_link) 2>&5
10973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10974 (exit $ac_status); } &&
10975 { ac_try='test -s conftest$ac_exeext'
10976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10977 (eval $ac_try) 2>&5
10979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10980 (exit $ac_status); }; }; then
10981 ac_cv_asm_func_def=".type @function"
10983 echo "$as_me: failed program was:" >&5
10984 sed 's/^/| /' conftest.$ac_ext >&5
10986 cat >conftest.$ac_ext <<_ACEOF
10987 #line $LINENO "configure"
10990 cat confdefs.h >>conftest.$ac_ext
10991 cat >>conftest.$ac_ext <<_ACEOF
10992 /* end confdefs.h. */
10993 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
11003 rm -f conftest.$ac_objext conftest$ac_exeext
11004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11005 (eval $ac_link) 2>&5
11007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11008 (exit $ac_status); } &&
11009 { ac_try='test -s conftest$ac_exeext'
11010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11011 (eval $ac_try) 2>&5
11013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014 (exit $ac_status); }; }; then
11015 ac_cv_asm_func_def=".type 2"
11017 echo "$as_me: failed program was:" >&5
11018 sed 's/^/| /' conftest.$ac_ext >&5
11020 ac_cv_asm_func_def="unknown"
11022 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11024 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11026 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11028 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
11029 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
11033 case "$ac_cv_asm_func_def" in
11035 cat >>confdefs.h <<\_ACEOF
11036 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
11040 cat >>confdefs.h <<\_ACEOF
11041 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
11045 cat >>confdefs.h <<\_ACEOF
11046 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
11050 cat >>confdefs.h <<\_ACEOF
11051 #define __ASM_FUNC(name) ""
11057 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
11058 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
11059 if test "${ac_cv_c_extern_prefix+set}" = set; then
11060 echo $ECHO_N "(cached) $ECHO_C" >&6
11062 cat >conftest.$ac_ext <<_ACEOF
11063 #line $LINENO "configure"
11066 cat confdefs.h >>conftest.$ac_ext
11067 cat >>conftest.$ac_ext <<_ACEOF
11068 /* end confdefs.h. */
11069 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
11070 extern int ac_test;
11074 if (ac_test) return 1
11079 rm -f conftest.$ac_objext conftest$ac_exeext
11080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11081 (eval $ac_link) 2>&5
11083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11084 (exit $ac_status); } &&
11085 { ac_try='test -s conftest$ac_exeext'
11086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11087 (eval $ac_try) 2>&5
11089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11090 (exit $ac_status); }; }; then
11091 ac_cv_c_extern_prefix="yes"
11093 echo "$as_me: failed program was:" >&5
11094 sed 's/^/| /' conftest.$ac_ext >&5
11096 ac_cv_c_extern_prefix="no"
11098 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11100 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
11101 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
11105 if test "$ac_cv_c_extern_prefix" = "yes"
11107 cat >>confdefs.h <<\_ACEOF
11108 #define __ASM_NAME(name) "_" name
11112 cat >>confdefs.h <<\_ACEOF
11113 #define __ASM_NAME(name) name
11119 echo "$as_me:$LINENO: checking whether assembler accepts .string" >&5
11120 echo $ECHO_N "checking whether assembler accepts .string... $ECHO_C" >&6
11121 if test "${ac_cv_c_asm_string+set}" = set; then
11122 echo $ECHO_N "(cached) $ECHO_C" >&6
11124 cat >conftest.$ac_ext <<_ACEOF
11125 #line $LINENO "configure"
11128 cat confdefs.h >>conftest.$ac_ext
11129 cat >>conftest.$ac_ext <<_ACEOF
11130 /* end confdefs.h. */
11131 void ac_asm(void) { asm(".data\n\t.string \"test\"\n\t.text"); }
11141 rm -f conftest.$ac_objext 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); } &&
11147 { ac_try='test -s conftest$ac_exeext'
11148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11149 (eval $ac_try) 2>&5
11151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11152 (exit $ac_status); }; }; then
11153 ac_cv_c_asm_string="yes"
11155 echo "$as_me: failed program was:" >&5
11156 sed 's/^/| /' conftest.$ac_ext >&5
11158 ac_cv_c_asm_string="no"
11160 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11162 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
11163 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
11164 if test "$ac_cv_c_asm_string" = "yes"
11167 cat >>confdefs.h <<\_ACEOF
11168 #define __ASM_STRING ".string"
11172 echo "$as_me:$LINENO: checking whether assembler accepts .asciz" >&5
11173 echo $ECHO_N "checking whether assembler accepts .asciz... $ECHO_C" >&6
11174 if test "${ac_cv_c_asm_asciz+set}" = set; then
11175 echo $ECHO_N "(cached) $ECHO_C" >&6
11177 cat >conftest.$ac_ext <<_ACEOF
11178 #line $LINENO "configure"
11181 cat confdefs.h >>conftest.$ac_ext
11182 cat >>conftest.$ac_ext <<_ACEOF
11183 /* end confdefs.h. */
11184 void ac_asm(void) { asm(".data\n\t.asciz \"test\"\n\t.text"); }
11194 rm -f conftest.$ac_objext conftest$ac_exeext
11195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11196 (eval $ac_link) 2>&5
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); } &&
11200 { ac_try='test -s conftest$ac_exeext'
11201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11202 (eval $ac_try) 2>&5
11204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205 (exit $ac_status); }; }; then
11206 ac_cv_c_asm_asciz="yes"
11208 echo "$as_me: failed program was:" >&5
11209 sed 's/^/| /' conftest.$ac_ext >&5
11211 ac_cv_c_asm_asciz="no"
11213 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11215 echo "$as_me:$LINENO: result: $ac_cv_c_asm_asciz" >&5
11216 echo "${ECHO_T}$ac_cv_c_asm_asciz" >&6
11217 if test "$ac_cv_c_asm_asciz" = "yes"
11219 cat >>confdefs.h <<\_ACEOF
11220 #define __ASM_STRING ".asciz"
11224 cat >>confdefs.h <<\_ACEOF
11225 #define __ASM_STRING ".ascii"
11232 echo "$as_me:$LINENO: checking whether assembler accepts .short" >&5
11233 echo $ECHO_N "checking whether assembler accepts .short... $ECHO_C" >&6
11234 if test "${ac_cv_c_asm_short+set}" = set; then
11235 echo $ECHO_N "(cached) $ECHO_C" >&6
11237 cat >conftest.$ac_ext <<_ACEOF
11238 #line $LINENO "configure"
11241 cat confdefs.h >>conftest.$ac_ext
11242 cat >>conftest.$ac_ext <<_ACEOF
11243 /* end confdefs.h. */
11244 void ac_asm(void) { asm(".data\n\t.short 1\n\t.text"); }
11254 rm -f conftest.$ac_objext conftest$ac_exeext
11255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11256 (eval $ac_link) 2>&5
11258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11259 (exit $ac_status); } &&
11260 { ac_try='test -s conftest$ac_exeext'
11261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11262 (eval $ac_try) 2>&5
11264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11265 (exit $ac_status); }; }; then
11266 ac_cv_c_asm_short="yes"
11268 echo "$as_me: failed program was:" >&5
11269 sed 's/^/| /' conftest.$ac_ext >&5
11271 ac_cv_c_asm_short="no"
11273 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11275 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
11276 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
11277 if test "$ac_cv_c_asm_short" = "yes"
11280 cat >>confdefs.h <<\_ACEOF
11281 #define __ASM_SHORT ".short"
11285 cat >>confdefs.h <<\_ACEOF
11286 #define __ASM_SHORT ".half"
11294 DLLFLAGS="-D_REENTRANT"
11309 if test -n "$ac_tool_prefix"; then
11310 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
11311 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
11312 echo "$as_me:$LINENO: checking for $ac_word" >&5
11313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11314 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
11315 echo $ECHO_N "(cached) $ECHO_C" >&6
11317 if test -n "$DLLTOOL"; then
11318 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11321 for as_dir in $PATH
11324 test -z "$as_dir" && as_dir=.
11325 for ac_exec_ext in '' $ac_executable_extensions; do
11326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11327 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
11328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11336 DLLTOOL=$ac_cv_prog_DLLTOOL
11337 if test -n "$DLLTOOL"; then
11338 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
11339 echo "${ECHO_T}$DLLTOOL" >&6
11341 echo "$as_me:$LINENO: result: no" >&5
11342 echo "${ECHO_T}no" >&6
11346 if test -z "$ac_cv_prog_DLLTOOL"; then
11347 ac_ct_DLLTOOL=$DLLTOOL
11348 # Extract the first word of "dlltool", so it can be a program name with args.
11349 set dummy dlltool; ac_word=$2
11350 echo "$as_me:$LINENO: checking for $ac_word" >&5
11351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11352 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
11353 echo $ECHO_N "(cached) $ECHO_C" >&6
11355 if test -n "$ac_ct_DLLTOOL"; then
11356 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
11358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11359 for as_dir in $PATH
11362 test -z "$as_dir" && as_dir=.
11363 for ac_exec_ext in '' $ac_executable_extensions; do
11364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11365 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
11366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11372 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
11375 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
11376 if test -n "$ac_ct_DLLTOOL"; then
11377 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
11378 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
11380 echo "$as_me:$LINENO: result: no" >&5
11381 echo "${ECHO_T}no" >&6
11384 DLLTOOL=$ac_ct_DLLTOOL
11386 DLLTOOL="$ac_cv_prog_DLLTOOL"
11389 if test -n "$ac_tool_prefix"; then
11390 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
11391 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
11392 echo "$as_me:$LINENO: checking for $ac_word" >&5
11393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11394 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
11395 echo $ECHO_N "(cached) $ECHO_C" >&6
11397 if test -n "$DLLWRAP"; then
11398 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
11400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11401 for as_dir in $PATH
11404 test -z "$as_dir" && as_dir=.
11405 for ac_exec_ext in '' $ac_executable_extensions; do
11406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11407 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
11408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11416 DLLWRAP=$ac_cv_prog_DLLWRAP
11417 if test -n "$DLLWRAP"; then
11418 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
11419 echo "${ECHO_T}$DLLWRAP" >&6
11421 echo "$as_me:$LINENO: result: no" >&5
11422 echo "${ECHO_T}no" >&6
11426 if test -z "$ac_cv_prog_DLLWRAP"; then
11427 ac_ct_DLLWRAP=$DLLWRAP
11428 # Extract the first word of "dllwrap", so it can be a program name with args.
11429 set dummy dllwrap; ac_word=$2
11430 echo "$as_me:$LINENO: checking for $ac_word" >&5
11431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11432 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
11433 echo $ECHO_N "(cached) $ECHO_C" >&6
11435 if test -n "$ac_ct_DLLWRAP"; then
11436 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
11438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11439 for as_dir in $PATH
11442 test -z "$as_dir" && as_dir=.
11443 for ac_exec_ext in '' $ac_executable_extensions; do
11444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11445 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
11446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11452 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
11455 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
11456 if test -n "$ac_ct_DLLWRAP"; then
11457 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
11458 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
11460 echo "$as_me:$LINENO: result: no" >&5
11461 echo "${ECHO_T}no" >&6
11464 DLLWRAP=$ac_ct_DLLWRAP
11466 DLLWRAP="$ac_cv_prog_DLLWRAP"
11469 if test "$DLLWRAP" = "false"; then
11478 for ac_header in dlfcn.h
11480 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11482 echo "$as_me:$LINENO: checking for $ac_header" >&5
11483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11485 echo $ECHO_N "(cached) $ECHO_C" >&6
11487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11488 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11490 # Is the header compilable?
11491 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11492 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11493 cat >conftest.$ac_ext <<_ACEOF
11494 #line $LINENO "configure"
11497 cat confdefs.h >>conftest.$ac_ext
11498 cat >>conftest.$ac_ext <<_ACEOF
11499 /* end confdefs.h. */
11500 $ac_includes_default
11501 #include <$ac_header>
11503 rm -f conftest.$ac_objext
11504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11505 (eval $ac_compile) 2>&5
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); } &&
11509 { ac_try='test -s conftest.$ac_objext'
11510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11511 (eval $ac_try) 2>&5
11513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11514 (exit $ac_status); }; }; then
11515 ac_header_compiler=yes
11517 echo "$as_me: failed program was:" >&5
11518 sed 's/^/| /' conftest.$ac_ext >&5
11520 ac_header_compiler=no
11522 rm -f conftest.$ac_objext conftest.$ac_ext
11523 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11524 echo "${ECHO_T}$ac_header_compiler" >&6
11526 # Is the header present?
11527 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11528 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11529 cat >conftest.$ac_ext <<_ACEOF
11530 #line $LINENO "configure"
11533 cat confdefs.h >>conftest.$ac_ext
11534 cat >>conftest.$ac_ext <<_ACEOF
11535 /* end confdefs.h. */
11536 #include <$ac_header>
11538 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11539 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11541 grep -v '^ *+' conftest.er1 >conftest.err
11543 cat conftest.err >&5
11544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545 (exit $ac_status); } >/dev/null; then
11546 if test -s conftest.err; then
11547 ac_cpp_err=$ac_c_preproc_warn_flag
11554 if test -z "$ac_cpp_err"; then
11555 ac_header_preproc=yes
11557 echo "$as_me: failed program was:" >&5
11558 sed 's/^/| /' conftest.$ac_ext >&5
11560 ac_header_preproc=no
11562 rm -f conftest.err conftest.$ac_ext
11563 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11564 echo "${ECHO_T}$ac_header_preproc" >&6
11566 # So? What about this header?
11567 case $ac_header_compiler:$ac_header_preproc in
11569 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11570 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11572 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11575 ## ------------------------------------ ##
11576 ## Report this to bug-autoconf@gnu.org. ##
11577 ## ------------------------------------ ##
11580 sed "s/^/$as_me: WARNING: /" >&2
11583 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11584 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11585 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11586 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11591 ## ------------------------------------ ##
11592 ## Report this to bug-autoconf@gnu.org. ##
11593 ## ------------------------------------ ##
11596 sed "s/^/$as_me: WARNING: /" >&2
11599 echo "$as_me:$LINENO: checking for $ac_header" >&5
11600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11602 echo $ECHO_N "(cached) $ECHO_C" >&6
11604 eval "$as_ac_Header=$ac_header_preproc"
11606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11607 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11610 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11611 cat >>confdefs.h <<_ACEOF
11612 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11615 for ac_func in dlopen
11617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11618 echo "$as_me:$LINENO: checking for $ac_func" >&5
11619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11620 if eval "test \"\${$as_ac_var+set}\" = set"; then
11621 echo $ECHO_N "(cached) $ECHO_C" >&6
11623 cat >conftest.$ac_ext <<_ACEOF
11624 #line $LINENO "configure"
11627 cat confdefs.h >>conftest.$ac_ext
11628 cat >>conftest.$ac_ext <<_ACEOF
11629 /* end confdefs.h. */
11630 /* System header to define __stub macros and hopefully few prototypes,
11631 which can conflict with char $ac_func (); below.
11632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11633 <limits.h> exists even on freestanding compilers. */
11635 # include <limits.h>
11637 # include <assert.h>
11639 /* Override any gcc2 internal prototype to avoid an error. */
11644 /* We use char because int might match the return type of a gcc2
11645 builtin and then its argument prototype would still apply. */
11647 /* The GNU C library defines this for functions which it implements
11648 to always fail with ENOSYS. Some functions are actually named
11649 something starting with __ and the normal name is an alias. */
11650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11653 char (*f) () = $ac_func;
11662 return f != $ac_func;
11667 rm -f conftest.$ac_objext conftest$ac_exeext
11668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11669 (eval $ac_link) 2>&5
11671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11672 (exit $ac_status); } &&
11673 { ac_try='test -s conftest$ac_exeext'
11674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11675 (eval $ac_try) 2>&5
11677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11678 (exit $ac_status); }; }; then
11679 eval "$as_ac_var=yes"
11681 echo "$as_me: failed program was:" >&5
11682 sed 's/^/| /' conftest.$ac_ext >&5
11684 eval "$as_ac_var=no"
11686 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11690 if test `eval echo '${'$as_ac_var'}'` = yes; then
11691 cat >>confdefs.h <<_ACEOF
11692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11696 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11697 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11698 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11699 echo $ECHO_N "(cached) $ECHO_C" >&6
11701 ac_check_lib_save_LIBS=$LIBS
11703 cat >conftest.$ac_ext <<_ACEOF
11704 #line $LINENO "configure"
11707 cat confdefs.h >>conftest.$ac_ext
11708 cat >>conftest.$ac_ext <<_ACEOF
11709 /* end confdefs.h. */
11711 /* Override any gcc2 internal prototype to avoid an error. */
11715 /* We use char because int might match the return type of a gcc2
11716 builtin and then its argument prototype would still apply. */
11726 rm -f conftest.$ac_objext conftest$ac_exeext
11727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11728 (eval $ac_link) 2>&5
11730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11731 (exit $ac_status); } &&
11732 { ac_try='test -s conftest$ac_exeext'
11733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11734 (eval $ac_try) 2>&5
11736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737 (exit $ac_status); }; }; then
11738 ac_cv_lib_dl_dlopen=yes
11740 echo "$as_me: failed program was:" >&5
11741 sed 's/^/| /' conftest.$ac_ext >&5
11743 ac_cv_lib_dl_dlopen=no
11745 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11746 LIBS=$ac_check_lib_save_LIBS
11748 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11749 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11750 if test $ac_cv_lib_dl_dlopen = yes; then
11752 cat >>confdefs.h <<\_ACEOF
11753 #define HAVE_DLOPEN 1
11771 if test "$LIBEXT" = "so"
11773 DLLFLAGS="$DLLFLAGS -fPIC"
11775 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
11776 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
11777 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
11778 echo $ECHO_N "(cached) $ECHO_C" >&6
11780 ac_wine_try_cflags_saved=$CFLAGS
11781 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
11782 cat >conftest.$ac_ext <<_ACEOF
11783 #line $LINENO "configure"
11786 cat confdefs.h >>conftest.$ac_ext
11787 cat >>conftest.$ac_ext <<_ACEOF
11788 /* end confdefs.h. */
11798 rm -f conftest.$ac_objext conftest$ac_exeext
11799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11800 (eval $ac_link) 2>&5
11802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11803 (exit $ac_status); } &&
11804 { ac_try='test -s conftest$ac_exeext'
11805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11806 (eval $ac_try) 2>&5
11808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11809 (exit $ac_status); }; }; then
11810 ac_cv_c_dll_gnuelf="yes"
11812 echo "$as_me: failed program was:" >&5
11813 sed 's/^/| /' conftest.$ac_ext >&5
11815 ac_cv_c_dll_gnuelf="no"
11817 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11818 CFLAGS=$ac_wine_try_cflags_saved
11820 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
11821 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
11822 if test "$ac_cv_c_dll_gnuelf" = "yes"
11824 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
11825 LDDLLFLAGS="-Wl,-Bsymbolic"
11826 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
11827 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
11828 if test "${ac_cv_c_dll_zdefs+set}" = set; then
11829 echo $ECHO_N "(cached) $ECHO_C" >&6
11831 ac_wine_try_cflags_saved=$CFLAGS
11832 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
11833 cat >conftest.$ac_ext <<_ACEOF
11834 #line $LINENO "configure"
11837 cat confdefs.h >>conftest.$ac_ext
11838 cat >>conftest.$ac_ext <<_ACEOF
11839 /* end confdefs.h. */
11849 rm -f conftest.$ac_objext conftest$ac_exeext
11850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11851 (eval $ac_link) 2>&5
11853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11854 (exit $ac_status); } &&
11855 { ac_try='test -s conftest$ac_exeext'
11856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11857 (eval $ac_try) 2>&5
11859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860 (exit $ac_status); }; }; then
11861 ac_cv_c_dll_zdefs="yes"
11863 echo "$as_me: failed program was:" >&5
11864 sed 's/^/| /' conftest.$ac_ext >&5
11866 ac_cv_c_dll_zdefs="no"
11868 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11869 CFLAGS=$ac_wine_try_cflags_saved
11871 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
11872 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
11873 if test "$ac_cv_c_dll_zdefs" = "yes"
11875 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
11877 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x3c000000" >&5
11878 echo $ECHO_N "checking whether we can relocate the executable to 0x3c000000... $ECHO_C" >&6
11879 if test "${ac_cv_ld_reloc_exec+set}" = set; then
11880 echo $ECHO_N "(cached) $ECHO_C" >&6
11882 saved_CFLAGS="$CFLAGS"
11883 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x3c000100"
11884 if test "$cross_compiling" = yes; then
11885 ac_cv_ld_reloc_exec="no"
11887 cat >conftest.$ac_ext <<_ACEOF
11888 #line $LINENO "configure"
11891 cat confdefs.h >>conftest.$ac_ext
11892 cat >>conftest.$ac_ext <<_ACEOF
11893 /* end confdefs.h. */
11894 #include <unistd.h>
11895 int main() { return (sbrk(32*1024*1024) == (void *)-1); }
11897 rm -f conftest$ac_exeext
11898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11899 (eval $ac_link) 2>&5
11901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11904 (eval $ac_try) 2>&5
11906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11907 (exit $ac_status); }; }; then
11908 ac_cv_ld_reloc_exec="yes"
11910 echo "$as_me: program exited with status $ac_status" >&5
11911 echo "$as_me: failed program was:" >&5
11912 sed 's/^/| /' conftest.$ac_ext >&5
11914 ( exit $ac_status )
11915 ac_cv_ld_reloc_exec="no"
11917 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11919 CFLAGS="$saved_CFLAGS"
11921 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
11922 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
11923 if test "$ac_cv_ld_reloc_exec" = "yes"
11925 LDEXECFLAGS="-Wl,--section-start,.interp=0x3c000100"
11929 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
11930 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
11931 if test "${ac_cv_c_dll_unixware+set}" = set; then
11932 echo $ECHO_N "(cached) $ECHO_C" >&6
11934 ac_wine_try_cflags_saved=$CFLAGS
11935 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
11936 cat >conftest.$ac_ext <<_ACEOF
11937 #line $LINENO "configure"
11940 cat confdefs.h >>conftest.$ac_ext
11941 cat >>conftest.$ac_ext <<_ACEOF
11942 /* end confdefs.h. */
11952 rm -f conftest.$ac_objext conftest$ac_exeext
11953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11954 (eval $ac_link) 2>&5
11956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957 (exit $ac_status); } &&
11958 { ac_try='test -s conftest$ac_exeext'
11959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11960 (eval $ac_try) 2>&5
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); }; }; then
11964 ac_cv_c_dll_unixware="yes"
11966 echo "$as_me: failed program was:" >&5
11967 sed 's/^/| /' conftest.$ac_ext >&5
11969 ac_cv_c_dll_unixware="no"
11971 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11972 CFLAGS=$ac_wine_try_cflags_saved
11974 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
11975 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
11976 if test "$ac_cv_c_dll_unixware" = "yes"
11978 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
11979 LDDLLFLAGS="-Wl,-B,symbolic"
11986 if test "$cross_compiling" = "no"
11988 for ac_prog in i586-mingw32msvc-gcc i386-mingw32-gcc
11990 # Extract the first word of "$ac_prog", so it can be a program name with args.
11991 set dummy $ac_prog; ac_word=$2
11992 echo "$as_me:$LINENO: checking for $ac_word" >&5
11993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11994 if test "${ac_cv_prog_CROSSCC+set}" = set; then
11995 echo $ECHO_N "(cached) $ECHO_C" >&6
11997 if test -n "$CROSSCC"; then
11998 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
12000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12001 for as_dir in $PATH
12004 test -z "$as_dir" && as_dir=.
12005 for ac_exec_ext in '' $ac_executable_extensions; do
12006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12007 ac_cv_prog_CROSSCC="$ac_prog"
12008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12016 CROSSCC=$ac_cv_prog_CROSSCC
12017 if test -n "$CROSSCC"; then
12018 echo "$as_me:$LINENO: result: $CROSSCC" >&5
12019 echo "${ECHO_T}$CROSSCC" >&6
12021 echo "$as_me:$LINENO: result: no" >&5
12022 echo "${ECHO_T}no" >&6
12025 test -n "$CROSSCC" && break
12027 test -n "$CROSSCC" || CROSSCC="false"
12029 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32-dlltool
12031 # Extract the first word of "$ac_prog", so it can be a program name with args.
12032 set dummy $ac_prog; ac_word=$2
12033 echo "$as_me:$LINENO: checking for $ac_word" >&5
12034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12035 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12036 echo $ECHO_N "(cached) $ECHO_C" >&6
12038 if test -n "$DLLTOOL"; then
12039 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
12041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12042 for as_dir in $PATH
12045 test -z "$as_dir" && as_dir=.
12046 for ac_exec_ext in '' $ac_executable_extensions; do
12047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12048 ac_cv_prog_DLLTOOL="$ac_prog"
12049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12057 DLLTOOL=$ac_cv_prog_DLLTOOL
12058 if test -n "$DLLTOOL"; then
12059 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12060 echo "${ECHO_T}$DLLTOOL" >&6
12062 echo "$as_me:$LINENO: result: no" >&5
12063 echo "${ECHO_T}no" >&6
12066 test -n "$DLLTOOL" && break
12068 test -n "$DLLTOOL" || DLLTOOL="false"
12070 for ac_prog in i586-mingw32msvc-windres i386-mingw32-windres
12072 # Extract the first word of "$ac_prog", so it can be a program name with args.
12073 set dummy $ac_prog; ac_word=$2
12074 echo "$as_me:$LINENO: checking for $ac_word" >&5
12075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12076 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
12077 echo $ECHO_N "(cached) $ECHO_C" >&6
12079 if test -n "$CROSSWINDRES"; then
12080 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
12082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12083 for as_dir in $PATH
12086 test -z "$as_dir" && as_dir=.
12087 for ac_exec_ext in '' $ac_executable_extensions; do
12088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12089 ac_cv_prog_CROSSWINDRES="$ac_prog"
12090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12098 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
12099 if test -n "$CROSSWINDRES"; then
12100 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
12101 echo "${ECHO_T}$CROSSWINDRES" >&6
12103 echo "$as_me:$LINENO: result: no" >&5
12104 echo "${ECHO_T}no" >&6
12107 test -n "$CROSSWINDRES" && break
12109 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
12111 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
12116 if test "$LIBEXT" = "a"; then
12117 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
12118 It is currently not possible to build Wine without shared library
12119 (.so) support to allow transparent switch between .so and .dll files.
12120 If you are using Linux, you will need a newer binutils.
12122 echo "$as_me: error: could not find a way to build shared libraries.
12123 It is currently not possible to build Wine without shared library
12124 (.so) support to allow transparent switch between .so and .dll files.
12125 If you are using Linux, you will need a newer binutils.
12127 { (exit 1); exit 1; }; }
12132 LDPATH="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
12135 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
12143 CRTLIBS="-lmsvcrt" ;;
12147 if test "$LIBEXT" = "so"
12149 # Extract the first word of "ldd", so it can be a program name with args.
12150 set dummy ldd; ac_word=$2
12151 echo "$as_me:$LINENO: checking for $ac_word" >&5
12152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12153 if test "${ac_cv_path_LDD+set}" = set; then
12154 echo $ECHO_N "(cached) $ECHO_C" >&6
12158 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
12161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12162 as_dummy="/sbin:/usr/sbin:$PATH"
12163 for as_dir in $as_dummy
12166 test -z "$as_dir" && as_dir=.
12167 for ac_exec_ext in '' $ac_executable_extensions; do
12168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12169 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
12170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12176 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
12180 LDD=$ac_cv_path_LDD
12182 if test -n "$LDD"; then
12183 echo "$as_me:$LINENO: result: $LDD" >&5
12184 echo "${ECHO_T}$LDD" >&6
12186 echo "$as_me:$LINENO: result: no" >&5
12187 echo "${ECHO_T}no" >&6
12191 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
12192 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
12193 if test "${ac_cv_lib_soname_X11+set}" = set; then
12194 echo $ECHO_N "(cached) $ECHO_C" >&6
12196 ac_get_soname_save_LIBS=$LIBS
12197 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
12198 cat >conftest.$ac_ext <<_ACEOF
12199 #line $LINENO "configure"
12202 cat confdefs.h >>conftest.$ac_ext
12203 cat >>conftest.$ac_ext <<_ACEOF
12204 /* end confdefs.h. */
12206 /* Override any gcc2 internal prototype to avoid an error. */
12210 /* We use char because int might match the return type of a gcc2
12211 builtin and then its argument prototype would still apply. */
12212 char XCreateWindow ();
12221 rm -f conftest.$ac_objext conftest$ac_exeext
12222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12223 (eval $ac_link) 2>&5
12225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12226 (exit $ac_status); } &&
12227 { ac_try='test -s conftest$ac_exeext'
12228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12229 (eval $ac_try) 2>&5
12231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12232 (exit $ac_status); }; }; then
12233 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12234 if test "x$ac_cv_lib_soname_X11" = "x"
12236 ac_cv_lib_soname_X11="libX11.so"
12239 echo "$as_me: failed program was:" >&5
12240 sed 's/^/| /' conftest.$ac_ext >&5
12242 ac_cv_lib_soname_X11="libX11.so"
12244 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12245 LIBS=$ac_get_soname_save_LIBS
12247 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
12248 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
12249 if test "x$ac_cv_lib_soname_X11" != xNONE
12251 cat >>confdefs.h <<_ACEOF
12252 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
12256 echo "$as_me:$LINENO: checking for -lXext soname" >&5
12257 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
12258 if test "${ac_cv_lib_soname_Xext+set}" = set; then
12259 echo $ECHO_N "(cached) $ECHO_C" >&6
12261 ac_get_soname_save_LIBS=$LIBS
12262 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
12263 cat >conftest.$ac_ext <<_ACEOF
12264 #line $LINENO "configure"
12267 cat confdefs.h >>conftest.$ac_ext
12268 cat >>conftest.$ac_ext <<_ACEOF
12269 /* end confdefs.h. */
12271 /* Override any gcc2 internal prototype to avoid an error. */
12275 /* We use char because int might match the return type of a gcc2
12276 builtin and then its argument prototype would still apply. */
12277 char XextCreateExtension ();
12281 XextCreateExtension ();
12286 rm -f conftest.$ac_objext conftest$ac_exeext
12287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12288 (eval $ac_link) 2>&5
12290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12291 (exit $ac_status); } &&
12292 { ac_try='test -s conftest$ac_exeext'
12293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12294 (eval $ac_try) 2>&5
12296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12297 (exit $ac_status); }; }; then
12298 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12299 if test "x$ac_cv_lib_soname_Xext" = "x"
12301 ac_cv_lib_soname_Xext="libXext.so"
12304 echo "$as_me: failed program was:" >&5
12305 sed 's/^/| /' conftest.$ac_ext >&5
12307 ac_cv_lib_soname_Xext="libXext.so"
12309 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12310 LIBS=$ac_get_soname_save_LIBS
12312 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
12313 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
12314 if test "x$ac_cv_lib_soname_Xext" != xNONE
12316 cat >>confdefs.h <<_ACEOF
12317 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
12321 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
12322 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
12323 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
12324 echo $ECHO_N "(cached) $ECHO_C" >&6
12326 ac_get_soname_save_LIBS=$LIBS
12327 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
12328 cat >conftest.$ac_ext <<_ACEOF
12329 #line $LINENO "configure"
12332 cat confdefs.h >>conftest.$ac_ext
12333 cat >>conftest.$ac_ext <<_ACEOF
12334 /* end confdefs.h. */
12336 /* Override any gcc2 internal prototype to avoid an error. */
12340 /* We use char because int might match the return type of a gcc2
12341 builtin and then its argument prototype would still apply. */
12342 char XRenderQueryExtension ();
12346 XRenderQueryExtension ();
12351 rm -f conftest.$ac_objext conftest$ac_exeext
12352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12353 (eval $ac_link) 2>&5
12355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12356 (exit $ac_status); } &&
12357 { ac_try='test -s conftest$ac_exeext'
12358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12359 (eval $ac_try) 2>&5
12361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12362 (exit $ac_status); }; }; then
12363 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12364 if test "x$ac_cv_lib_soname_Xrender" = "x"
12366 ac_cv_lib_soname_Xrender="libXrender.so"
12369 echo "$as_me: failed program was:" >&5
12370 sed 's/^/| /' conftest.$ac_ext >&5
12372 ac_cv_lib_soname_Xrender="libXrender.so"
12374 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12375 LIBS=$ac_get_soname_save_LIBS
12377 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
12378 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
12379 if test "x$ac_cv_lib_soname_Xrender" != xNONE
12381 cat >>confdefs.h <<_ACEOF
12382 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12386 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
12387 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
12388 if test "${ac_cv_lib_soname_freetype+set}" = set; then
12389 echo $ECHO_N "(cached) $ECHO_C" >&6
12391 ac_get_soname_save_LIBS=$LIBS
12392 LIBS="-lfreetype $X_LIBS $LIBS"
12393 cat >conftest.$ac_ext <<_ACEOF
12394 #line $LINENO "configure"
12397 cat confdefs.h >>conftest.$ac_ext
12398 cat >>conftest.$ac_ext <<_ACEOF
12399 /* end confdefs.h. */
12401 /* Override any gcc2 internal prototype to avoid an error. */
12405 /* We use char because int might match the return type of a gcc2
12406 builtin and then its argument prototype would still apply. */
12407 char FT_Init_FreeType ();
12411 FT_Init_FreeType ();
12416 rm -f conftest.$ac_objext conftest$ac_exeext
12417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12418 (eval $ac_link) 2>&5
12420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421 (exit $ac_status); } &&
12422 { ac_try='test -s conftest$ac_exeext'
12423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12424 (eval $ac_try) 2>&5
12426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12427 (exit $ac_status); }; }; then
12428 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12429 if test "x$ac_cv_lib_soname_freetype" = "x"
12431 ac_cv_lib_soname_freetype="libfreetype.so"
12434 echo "$as_me: failed program was:" >&5
12435 sed 's/^/| /' conftest.$ac_ext >&5
12437 ac_cv_lib_soname_freetype="libfreetype.so"
12439 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12440 LIBS=$ac_get_soname_save_LIBS
12442 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
12443 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
12444 if test "x$ac_cv_lib_soname_freetype" != xNONE
12446 cat >>confdefs.h <<_ACEOF
12447 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12451 echo "$as_me:$LINENO: checking for -lGL soname" >&5
12452 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
12453 if test "${ac_cv_lib_soname_GL+set}" = set; then
12454 echo $ECHO_N "(cached) $ECHO_C" >&6
12456 ac_get_soname_save_LIBS=$LIBS
12457 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
12458 cat >conftest.$ac_ext <<_ACEOF
12459 #line $LINENO "configure"
12462 cat confdefs.h >>conftest.$ac_ext
12463 cat >>conftest.$ac_ext <<_ACEOF
12464 /* end confdefs.h. */
12466 /* Override any gcc2 internal prototype to avoid an error. */
12470 /* We use char because int might match the return type of a gcc2
12471 builtin and then its argument prototype would still apply. */
12472 char glXQueryExtension ();
12476 glXQueryExtension ();
12481 rm -f conftest.$ac_objext conftest$ac_exeext
12482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12483 (eval $ac_link) 2>&5
12485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12486 (exit $ac_status); } &&
12487 { ac_try='test -s conftest$ac_exeext'
12488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12489 (eval $ac_try) 2>&5
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 (exit $ac_status); }; }; then
12493 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12494 if test "x$ac_cv_lib_soname_GL" = "x"
12496 ac_cv_lib_soname_GL="libGL.so"
12499 echo "$as_me: failed program was:" >&5
12500 sed 's/^/| /' conftest.$ac_ext >&5
12502 ac_cv_lib_soname_GL="libGL.so"
12504 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12505 LIBS=$ac_get_soname_save_LIBS
12507 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
12508 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
12509 if test "x$ac_cv_lib_soname_GL" != xNONE
12511 cat >>confdefs.h <<_ACEOF
12512 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12516 echo "$as_me:$LINENO: checking for -lcups soname" >&5
12517 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
12518 if test "${ac_cv_lib_soname_cups+set}" = set; then
12519 echo $ECHO_N "(cached) $ECHO_C" >&6
12521 ac_get_soname_save_LIBS=$LIBS
12522 LIBS="-lcups $LIBS"
12523 cat >conftest.$ac_ext <<_ACEOF
12524 #line $LINENO "configure"
12527 cat confdefs.h >>conftest.$ac_ext
12528 cat >>conftest.$ac_ext <<_ACEOF
12529 /* end confdefs.h. */
12531 /* Override any gcc2 internal prototype to avoid an error. */
12535 /* We use char because int might match the return type of a gcc2
12536 builtin and then its argument prototype would still apply. */
12537 char cupsGetDefault ();
12546 rm -f conftest.$ac_objext conftest$ac_exeext
12547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12548 (eval $ac_link) 2>&5
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); } &&
12552 { ac_try='test -s conftest$ac_exeext'
12553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12554 (eval $ac_try) 2>&5
12556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557 (exit $ac_status); }; }; then
12558 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12559 if test "x$ac_cv_lib_soname_cups" = "x"
12561 ac_cv_lib_soname_cups="libcups.so"
12564 echo "$as_me: failed program was:" >&5
12565 sed 's/^/| /' conftest.$ac_ext >&5
12567 ac_cv_lib_soname_cups="libcups.so"
12569 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12570 LIBS=$ac_get_soname_save_LIBS
12572 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
12573 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
12574 if test "x$ac_cv_lib_soname_cups" != xNONE
12576 cat >>confdefs.h <<_ACEOF
12577 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12581 echo "$as_me:$LINENO: checking for -ljack soname" >&5
12582 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
12583 if test "${ac_cv_lib_soname_jack+set}" = set; then
12584 echo $ECHO_N "(cached) $ECHO_C" >&6
12586 ac_get_soname_save_LIBS=$LIBS
12587 LIBS="-ljack $LIBS"
12588 cat >conftest.$ac_ext <<_ACEOF
12589 #line $LINENO "configure"
12592 cat confdefs.h >>conftest.$ac_ext
12593 cat >>conftest.$ac_ext <<_ACEOF
12594 /* end confdefs.h. */
12596 /* Override any gcc2 internal prototype to avoid an error. */
12600 /* We use char because int might match the return type of a gcc2
12601 builtin and then its argument prototype would still apply. */
12602 char jack_client_new ();
12606 jack_client_new ();
12611 rm -f conftest.$ac_objext conftest$ac_exeext
12612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12613 (eval $ac_link) 2>&5
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); } &&
12617 { ac_try='test -s conftest$ac_exeext'
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_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12624 if test "x$ac_cv_lib_soname_jack" = "x"
12626 ac_cv_lib_soname_jack="libjack.so"
12629 echo "$as_me: failed program was:" >&5
12630 sed 's/^/| /' conftest.$ac_ext >&5
12632 ac_cv_lib_soname_jack="libjack.so"
12634 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12635 LIBS=$ac_get_soname_save_LIBS
12637 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
12638 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
12639 if test "x$ac_cv_lib_soname_jack" != xNONE
12641 cat >>confdefs.h <<_ACEOF
12642 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
12649 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12650 # for constant arguments. Useless!
12651 echo "$as_me:$LINENO: checking for working alloca.h" >&5
12652 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
12653 if test "${ac_cv_working_alloca_h+set}" = set; then
12654 echo $ECHO_N "(cached) $ECHO_C" >&6
12656 cat >conftest.$ac_ext <<_ACEOF
12657 #line $LINENO "configure"
12660 cat confdefs.h >>conftest.$ac_ext
12661 cat >>conftest.$ac_ext <<_ACEOF
12662 /* end confdefs.h. */
12663 #include <alloca.h>
12667 char *p = (char *) alloca (2 * sizeof (int));
12672 rm -f conftest.$ac_objext conftest$ac_exeext
12673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12674 (eval $ac_link) 2>&5
12676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677 (exit $ac_status); } &&
12678 { ac_try='test -s conftest$ac_exeext'
12679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12680 (eval $ac_try) 2>&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); }; }; then
12684 ac_cv_working_alloca_h=yes
12686 echo "$as_me: failed program was:" >&5
12687 sed 's/^/| /' conftest.$ac_ext >&5
12689 ac_cv_working_alloca_h=no
12691 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12693 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
12694 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
12695 if test $ac_cv_working_alloca_h = yes; then
12697 cat >>confdefs.h <<\_ACEOF
12698 #define HAVE_ALLOCA_H 1
12703 echo "$as_me:$LINENO: checking for alloca" >&5
12704 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
12705 if test "${ac_cv_func_alloca_works+set}" = set; then
12706 echo $ECHO_N "(cached) $ECHO_C" >&6
12708 cat >conftest.$ac_ext <<_ACEOF
12709 #line $LINENO "configure"
12712 cat confdefs.h >>conftest.$ac_ext
12713 cat >>conftest.$ac_ext <<_ACEOF
12714 /* end confdefs.h. */
12716 # define alloca __builtin_alloca
12719 # include <malloc.h>
12720 # define alloca _alloca
12723 # include <alloca.h>
12728 # ifndef alloca /* predefined by HP cc +Olibcalls */
12739 char *p = (char *) alloca (1);
12744 rm -f conftest.$ac_objext conftest$ac_exeext
12745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12746 (eval $ac_link) 2>&5
12748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12749 (exit $ac_status); } &&
12750 { ac_try='test -s conftest$ac_exeext'
12751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12752 (eval $ac_try) 2>&5
12754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12755 (exit $ac_status); }; }; then
12756 ac_cv_func_alloca_works=yes
12758 echo "$as_me: failed program was:" >&5
12759 sed 's/^/| /' conftest.$ac_ext >&5
12761 ac_cv_func_alloca_works=no
12763 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12765 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
12766 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
12768 if test $ac_cv_func_alloca_works = yes; then
12770 cat >>confdefs.h <<\_ACEOF
12771 #define HAVE_ALLOCA 1
12775 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
12776 # that cause trouble. Some versions do not even contain alloca or
12777 # contain a buggy version. If you still want to use their alloca,
12778 # use ar to extract alloca.o from them instead of compiling alloca.c.
12780 ALLOCA=alloca.$ac_objext
12782 cat >>confdefs.h <<\_ACEOF
12787 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
12788 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
12789 if test "${ac_cv_os_cray+set}" = set; then
12790 echo $ECHO_N "(cached) $ECHO_C" >&6
12792 cat >conftest.$ac_ext <<_ACEOF
12793 #line $LINENO "configure"
12796 cat confdefs.h >>conftest.$ac_ext
12797 cat >>conftest.$ac_ext <<_ACEOF
12798 /* end confdefs.h. */
12799 #if defined(CRAY) && ! defined(CRAY2)
12806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12807 $EGREP "webecray" >/dev/null 2>&1; then
12815 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
12816 echo "${ECHO_T}$ac_cv_os_cray" >&6
12817 if test $ac_cv_os_cray = yes; then
12818 for ac_func in _getb67 GETB67 getb67; do
12819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12820 echo "$as_me:$LINENO: checking for $ac_func" >&5
12821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12822 if eval "test \"\${$as_ac_var+set}\" = set"; then
12823 echo $ECHO_N "(cached) $ECHO_C" >&6
12825 cat >conftest.$ac_ext <<_ACEOF
12826 #line $LINENO "configure"
12829 cat confdefs.h >>conftest.$ac_ext
12830 cat >>conftest.$ac_ext <<_ACEOF
12831 /* end confdefs.h. */
12832 /* System header to define __stub macros and hopefully few prototypes,
12833 which can conflict with char $ac_func (); below.
12834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12835 <limits.h> exists even on freestanding compilers. */
12837 # include <limits.h>
12839 # include <assert.h>
12841 /* Override any gcc2 internal prototype to avoid an error. */
12846 /* We use char because int might match the return type of a gcc2
12847 builtin and then its argument prototype would still apply. */
12849 /* The GNU C library defines this for functions which it implements
12850 to always fail with ENOSYS. Some functions are actually named
12851 something starting with __ and the normal name is an alias. */
12852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12855 char (*f) () = $ac_func;
12864 return f != $ac_func;
12869 rm -f conftest.$ac_objext conftest$ac_exeext
12870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12871 (eval $ac_link) 2>&5
12873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12874 (exit $ac_status); } &&
12875 { ac_try='test -s conftest$ac_exeext'
12876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12877 (eval $ac_try) 2>&5
12879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12880 (exit $ac_status); }; }; then
12881 eval "$as_ac_var=yes"
12883 echo "$as_me: failed program was:" >&5
12884 sed 's/^/| /' conftest.$ac_ext >&5
12886 eval "$as_ac_var=no"
12888 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12892 if test `eval echo '${'$as_ac_var'}'` = yes; then
12894 cat >>confdefs.h <<_ACEOF
12895 #define CRAY_STACKSEG_END $ac_func
12904 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
12905 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
12906 if test "${ac_cv_c_stack_direction+set}" = set; then
12907 echo $ECHO_N "(cached) $ECHO_C" >&6
12909 if test "$cross_compiling" = yes; then
12910 ac_cv_c_stack_direction=0
12912 cat >conftest.$ac_ext <<_ACEOF
12913 #line $LINENO "configure"
12916 cat confdefs.h >>conftest.$ac_ext
12917 cat >>conftest.$ac_ext <<_ACEOF
12918 /* end confdefs.h. */
12920 find_stack_direction ()
12922 static char *addr = 0;
12927 return find_stack_direction ();
12930 return (&dummy > addr) ? 1 : -1;
12936 exit (find_stack_direction () < 0);
12939 rm -f conftest$ac_exeext
12940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12941 (eval $ac_link) 2>&5
12943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12944 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12946 (eval $ac_try) 2>&5
12948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949 (exit $ac_status); }; }; then
12950 ac_cv_c_stack_direction=1
12952 echo "$as_me: program exited with status $ac_status" >&5
12953 echo "$as_me: failed program was:" >&5
12954 sed 's/^/| /' conftest.$ac_ext >&5
12956 ( exit $ac_status )
12957 ac_cv_c_stack_direction=-1
12959 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12962 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
12963 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
12965 cat >>confdefs.h <<_ACEOF
12966 #define STACK_DIRECTION $ac_cv_c_stack_direction
13060 pthread_getspecific \
13061 pthread_key_create \
13062 pthread_mutex_lock \
13063 pthread_mutex_unlock \
13064 pthread_setspecific \
13085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13086 echo "$as_me:$LINENO: checking for $ac_func" >&5
13087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13088 if eval "test \"\${$as_ac_var+set}\" = set"; then
13089 echo $ECHO_N "(cached) $ECHO_C" >&6
13091 cat >conftest.$ac_ext <<_ACEOF
13092 #line $LINENO "configure"
13095 cat confdefs.h >>conftest.$ac_ext
13096 cat >>conftest.$ac_ext <<_ACEOF
13097 /* end confdefs.h. */
13098 /* System header to define __stub macros and hopefully few prototypes,
13099 which can conflict with char $ac_func (); below.
13100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13101 <limits.h> exists even on freestanding compilers. */
13103 # include <limits.h>
13105 # include <assert.h>
13107 /* Override any gcc2 internal prototype to avoid an error. */
13112 /* We use char because int might match the return type of a gcc2
13113 builtin and then its argument prototype would still apply. */
13115 /* The GNU C library defines this for functions which it implements
13116 to always fail with ENOSYS. Some functions are actually named
13117 something starting with __ and the normal name is an alias. */
13118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13121 char (*f) () = $ac_func;
13130 return f != $ac_func;
13135 rm -f conftest.$ac_objext conftest$ac_exeext
13136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13137 (eval $ac_link) 2>&5
13139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13140 (exit $ac_status); } &&
13141 { ac_try='test -s conftest$ac_exeext'
13142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13143 (eval $ac_try) 2>&5
13145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13146 (exit $ac_status); }; }; then
13147 eval "$as_ac_var=yes"
13149 echo "$as_me: failed program was:" >&5
13150 sed 's/^/| /' conftest.$ac_ext >&5
13152 eval "$as_ac_var=no"
13154 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13158 if test `eval echo '${'$as_ac_var'}'` = yes; then
13159 cat >>confdefs.h <<_ACEOF
13160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13267 netinet/in_systm.h \
13269 netinet/tcp_fsm.h \
13316 valgrind/memcheck.h
13319 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13321 echo "$as_me:$LINENO: checking for $ac_header" >&5
13322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13324 echo $ECHO_N "(cached) $ECHO_C" >&6
13326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13327 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13329 # Is the header compilable?
13330 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13331 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13332 cat >conftest.$ac_ext <<_ACEOF
13333 #line $LINENO "configure"
13336 cat confdefs.h >>conftest.$ac_ext
13337 cat >>conftest.$ac_ext <<_ACEOF
13338 /* end confdefs.h. */
13339 $ac_includes_default
13340 #include <$ac_header>
13342 rm -f conftest.$ac_objext
13343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13344 (eval $ac_compile) 2>&5
13346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13347 (exit $ac_status); } &&
13348 { ac_try='test -s conftest.$ac_objext'
13349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13350 (eval $ac_try) 2>&5
13352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13353 (exit $ac_status); }; }; then
13354 ac_header_compiler=yes
13356 echo "$as_me: failed program was:" >&5
13357 sed 's/^/| /' conftest.$ac_ext >&5
13359 ac_header_compiler=no
13361 rm -f conftest.$ac_objext conftest.$ac_ext
13362 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13363 echo "${ECHO_T}$ac_header_compiler" >&6
13365 # Is the header present?
13366 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13367 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13368 cat >conftest.$ac_ext <<_ACEOF
13369 #line $LINENO "configure"
13372 cat confdefs.h >>conftest.$ac_ext
13373 cat >>conftest.$ac_ext <<_ACEOF
13374 /* end confdefs.h. */
13375 #include <$ac_header>
13377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13378 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13380 grep -v '^ *+' conftest.er1 >conftest.err
13382 cat conftest.err >&5
13383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13384 (exit $ac_status); } >/dev/null; then
13385 if test -s conftest.err; then
13386 ac_cpp_err=$ac_c_preproc_warn_flag
13393 if test -z "$ac_cpp_err"; then
13394 ac_header_preproc=yes
13396 echo "$as_me: failed program was:" >&5
13397 sed 's/^/| /' conftest.$ac_ext >&5
13399 ac_header_preproc=no
13401 rm -f conftest.err conftest.$ac_ext
13402 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13403 echo "${ECHO_T}$ac_header_preproc" >&6
13405 # So? What about this header?
13406 case $ac_header_compiler:$ac_header_preproc in
13408 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13409 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13410 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13411 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13414 ## ------------------------------------ ##
13415 ## Report this to bug-autoconf@gnu.org. ##
13416 ## ------------------------------------ ##
13419 sed "s/^/$as_me: WARNING: /" >&2
13422 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13423 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13424 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13425 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13426 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13427 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13430 ## ------------------------------------ ##
13431 ## Report this to bug-autoconf@gnu.org. ##
13432 ## ------------------------------------ ##
13435 sed "s/^/$as_me: WARNING: /" >&2
13438 echo "$as_me:$LINENO: checking for $ac_header" >&5
13439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13441 echo $ECHO_N "(cached) $ECHO_C" >&6
13443 eval "$as_ac_Header=$ac_header_preproc"
13445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13446 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13449 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13450 cat >>confdefs.h <<_ACEOF
13451 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13458 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
13459 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
13460 if test "${ac_cv_header_stat_broken+set}" = set; then
13461 echo $ECHO_N "(cached) $ECHO_C" >&6
13463 cat >conftest.$ac_ext <<_ACEOF
13464 #line $LINENO "configure"
13467 cat confdefs.h >>conftest.$ac_ext
13468 cat >>conftest.$ac_ext <<_ACEOF
13469 /* end confdefs.h. */
13470 #include <sys/types.h>
13471 #include <sys/stat.h>
13473 #if defined(S_ISBLK) && defined(S_IFDIR)
13474 # if S_ISBLK (S_IFDIR)
13479 #if defined(S_ISBLK) && defined(S_IFCHR)
13480 # if S_ISBLK (S_IFCHR)
13485 #if defined(S_ISLNK) && defined(S_IFREG)
13486 # if S_ISLNK (S_IFREG)
13491 #if defined(S_ISSOCK) && defined(S_IFREG)
13492 # if S_ISSOCK (S_IFREG)
13498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13499 $EGREP "You lose" >/dev/null 2>&1; then
13500 ac_cv_header_stat_broken=yes
13502 ac_cv_header_stat_broken=no
13507 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
13508 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
13509 if test $ac_cv_header_stat_broken = yes; then
13511 cat >>confdefs.h <<\_ACEOF
13512 #define STAT_MACROS_BROKEN 1
13521 for ac_header in sys/mount.h sys/user.h
13523 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13524 echo "$as_me:$LINENO: checking for $ac_header" >&5
13525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13527 echo $ECHO_N "(cached) $ECHO_C" >&6
13529 cat >conftest.$ac_ext <<_ACEOF
13530 #line $LINENO "configure"
13533 cat confdefs.h >>conftest.$ac_ext
13534 cat >>conftest.$ac_ext <<_ACEOF
13535 /* end confdefs.h. */
13536 #include <sys/types.h>
13537 #if HAVE_SYS_PARAM_H
13538 # include <sys/param.h>
13541 #include <$ac_header>
13543 rm -f conftest.$ac_objext
13544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13545 (eval $ac_compile) 2>&5
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); } &&
13549 { ac_try='test -s conftest.$ac_objext'
13550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13551 (eval $ac_try) 2>&5
13553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13554 (exit $ac_status); }; }; then
13555 eval "$as_ac_Header=yes"
13557 echo "$as_me: failed program was:" >&5
13558 sed 's/^/| /' conftest.$ac_ext >&5
13560 eval "$as_ac_Header=no"
13562 rm -f conftest.$ac_objext conftest.$ac_ext
13564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13567 cat >>confdefs.h <<_ACEOF
13568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13582 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h resolv.h
13584 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13585 echo "$as_me:$LINENO: checking for $ac_header" >&5
13586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13588 echo $ECHO_N "(cached) $ECHO_C" >&6
13590 cat >conftest.$ac_ext <<_ACEOF
13591 #line $LINENO "configure"
13594 cat confdefs.h >>conftest.$ac_ext
13595 cat >>conftest.$ac_ext <<_ACEOF
13596 /* end confdefs.h. */
13597 #include <sys/types.h>
13598 #if HAVE_SYS_SOCKET_H
13599 # include <sys/socket.h>
13602 #include <$ac_header>
13604 rm -f conftest.$ac_objext
13605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13606 (eval $ac_compile) 2>&5
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); } &&
13610 { ac_try='test -s conftest.$ac_objext'
13611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13612 (eval $ac_try) 2>&5
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); }; }; then
13616 eval "$as_ac_Header=yes"
13618 echo "$as_me: failed program was:" >&5
13619 sed 's/^/| /' conftest.$ac_ext >&5
13621 eval "$as_ac_Header=no"
13623 rm -f conftest.$ac_objext conftest.$ac_ext
13625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13626 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13628 cat >>confdefs.h <<_ACEOF
13629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13638 for ac_header in netinet/ip.h
13640 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13641 echo "$as_me:$LINENO: checking for $ac_header" >&5
13642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13644 echo $ECHO_N "(cached) $ECHO_C" >&6
13646 cat >conftest.$ac_ext <<_ACEOF
13647 #line $LINENO "configure"
13650 cat confdefs.h >>conftest.$ac_ext
13651 cat >>conftest.$ac_ext <<_ACEOF
13652 /* end confdefs.h. */
13653 #include <sys/types.h>
13654 #if HAVE_SYS_SOCKET_H
13655 # include <sys/socket.h>
13657 #if HAVE_NETINET_IN_SYSTM_H
13658 # include <netinet/in_systm.h>
13661 #include <$ac_header>
13663 rm -f conftest.$ac_objext
13664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13665 (eval $ac_compile) 2>&5
13667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13668 (exit $ac_status); } &&
13669 { ac_try='test -s conftest.$ac_objext'
13670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13671 (eval $ac_try) 2>&5
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); }; }; then
13675 eval "$as_ac_Header=yes"
13677 echo "$as_me: failed program was:" >&5
13678 sed 's/^/| /' conftest.$ac_ext >&5
13680 eval "$as_ac_Header=no"
13682 rm -f conftest.$ac_objext conftest.$ac_ext
13684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13685 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13686 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13687 cat >>confdefs.h <<_ACEOF
13688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13697 for ac_header in ucontext.h
13699 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13700 echo "$as_me:$LINENO: checking for $ac_header" >&5
13701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13703 echo $ECHO_N "(cached) $ECHO_C" >&6
13705 cat >conftest.$ac_ext <<_ACEOF
13706 #line $LINENO "configure"
13709 cat confdefs.h >>conftest.$ac_ext
13710 cat >>conftest.$ac_ext <<_ACEOF
13711 /* end confdefs.h. */
13712 #include <signal.h>
13714 #include <$ac_header>
13716 rm -f conftest.$ac_objext
13717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13718 (eval $ac_compile) 2>&5
13720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13721 (exit $ac_status); } &&
13722 { ac_try='test -s conftest.$ac_objext'
13723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13724 (eval $ac_try) 2>&5
13726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13727 (exit $ac_status); }; }; then
13728 eval "$as_ac_Header=yes"
13730 echo "$as_me: failed program was:" >&5
13731 sed 's/^/| /' conftest.$ac_ext >&5
13733 eval "$as_ac_Header=no"
13735 rm -f conftest.$ac_objext conftest.$ac_ext
13737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13739 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13740 cat >>confdefs.h <<_ACEOF
13741 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13750 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
13751 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
13752 if test "${ac_cv_c_ipx_gnu+set}" = set; then
13753 echo $ECHO_N "(cached) $ECHO_C" >&6
13755 cat >conftest.$ac_ext <<_ACEOF
13756 #line $LINENO "configure"
13759 cat confdefs.h >>conftest.$ac_ext
13760 cat >>conftest.$ac_ext <<_ACEOF
13761 /* end confdefs.h. */
13762 #include <sys/types.h>
13763 #ifdef HAVE_SYS_SOCKET_H
13764 # include <sys/socket.h>
13766 #include <netipx/ipx.h>
13770 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
13775 rm -f conftest.$ac_objext
13776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13777 (eval $ac_compile) 2>&5
13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 (exit $ac_status); } &&
13781 { ac_try='test -s conftest.$ac_objext'
13782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13783 (eval $ac_try) 2>&5
13785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786 (exit $ac_status); }; }; then
13787 ac_cv_c_ipx_gnu="yes"
13789 echo "$as_me: failed program was:" >&5
13790 sed 's/^/| /' conftest.$ac_ext >&5
13792 ac_cv_c_ipx_gnu="no"
13794 rm -f conftest.$ac_objext conftest.$ac_ext
13797 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
13798 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
13799 if test "$ac_cv_c_ipx_gnu" = "yes"
13802 cat >>confdefs.h <<\_ACEOF
13803 #define HAVE_IPX_GNU 1
13808 if test "$ac_cv_c_ipx_gnu" = "no"
13810 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
13811 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
13812 if test "${ac_cv_c_ipx_linux+set}" = set; then
13813 echo $ECHO_N "(cached) $ECHO_C" >&6
13815 cat >conftest.$ac_ext <<_ACEOF
13816 #line $LINENO "configure"
13819 cat confdefs.h >>conftest.$ac_ext
13820 cat >>conftest.$ac_ext <<_ACEOF
13821 /* end confdefs.h. */
13822 #include <sys/types.h>
13823 #ifdef HAVE_SYS_SOCKET_H
13824 # include <sys/socket.h>
13826 #include <asm/types.h>
13827 #include <linux/ipx.h>
13831 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
13836 rm -f conftest.$ac_objext
13837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13838 (eval $ac_compile) 2>&5
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); } &&
13842 { ac_try='test -s conftest.$ac_objext'
13843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13844 (eval $ac_try) 2>&5
13846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13847 (exit $ac_status); }; }; then
13848 ac_cv_c_ipx_linux="yes"
13850 echo "$as_me: failed program was:" >&5
13851 sed 's/^/| /' conftest.$ac_ext >&5
13853 ac_cv_c_ipx_linux="no"
13855 rm -f conftest.$ac_objext conftest.$ac_ext
13858 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
13859 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
13860 if test "$ac_cv_c_ipx_linux" = "yes"
13863 cat >>confdefs.h <<\_ACEOF
13864 #define HAVE_IPX_LINUX 1
13871 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13872 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13873 if test "${ac_cv_c_const+set}" = set; then
13874 echo $ECHO_N "(cached) $ECHO_C" >&6
13876 cat >conftest.$ac_ext <<_ACEOF
13877 #line $LINENO "configure"
13880 cat confdefs.h >>conftest.$ac_ext
13881 cat >>conftest.$ac_ext <<_ACEOF
13882 /* end confdefs.h. */
13887 /* FIXME: Include the comments suggested by Paul. */
13888 #ifndef __cplusplus
13889 /* Ultrix mips cc rejects this. */
13890 typedef int charset[2];
13892 /* SunOS 4.1.1 cc rejects this. */
13893 char const *const *ccp;
13895 /* NEC SVR4.0.2 mips cc rejects this. */
13896 struct point {int x, y;};
13897 static struct point const zero = {0,0};
13898 /* AIX XL C 1.02.0.0 rejects this.
13899 It does not let you subtract one const X* pointer from another in
13900 an arm of an if-expression whose if-part is not a constant
13902 const char *g = "string";
13903 ccp = &g + (g ? g-g : 0);
13904 /* HPUX 7.0 cc rejects these. */
13907 ccp = (char const *const *) p;
13908 { /* SCO 3.2v4 cc rejects this. */
13910 char const *s = 0 ? (char *) 0 : (char const *) 0;
13914 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13915 int x[] = {25, 17};
13916 const int *foo = &x[0];
13919 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13920 typedef const int *iptr;
13924 { /* AIX XL C 1.02.0.0 rejects this saying
13925 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13926 struct s { int j; const int *ap[3]; };
13927 struct s *b; b->j = 5;
13929 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13930 const int foo = 10;
13938 rm -f conftest.$ac_objext
13939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13940 (eval $ac_compile) 2>&5
13942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13943 (exit $ac_status); } &&
13944 { ac_try='test -s conftest.$ac_objext'
13945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13946 (eval $ac_try) 2>&5
13948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13949 (exit $ac_status); }; }; then
13952 echo "$as_me: failed program was:" >&5
13953 sed 's/^/| /' conftest.$ac_ext >&5
13957 rm -f conftest.$ac_objext conftest.$ac_ext
13959 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13960 echo "${ECHO_T}$ac_cv_c_const" >&6
13961 if test $ac_cv_c_const = no; then
13963 cat >>confdefs.h <<\_ACEOF
13969 echo "$as_me:$LINENO: checking for inline" >&5
13970 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13971 if test "${ac_cv_c_inline+set}" = set; then
13972 echo $ECHO_N "(cached) $ECHO_C" >&6
13975 for ac_kw in inline __inline__ __inline; do
13976 cat >conftest.$ac_ext <<_ACEOF
13977 #line $LINENO "configure"
13980 cat confdefs.h >>conftest.$ac_ext
13981 cat >>conftest.$ac_ext <<_ACEOF
13982 /* end confdefs.h. */
13983 #ifndef __cplusplus
13985 static $ac_kw foo_t static_foo () {return 0; }
13986 $ac_kw foo_t foo () {return 0; }
13990 rm -f conftest.$ac_objext
13991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13992 (eval $ac_compile) 2>&5
13994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13995 (exit $ac_status); } &&
13996 { ac_try='test -s conftest.$ac_objext'
13997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13998 (eval $ac_try) 2>&5
14000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14001 (exit $ac_status); }; }; then
14002 ac_cv_c_inline=$ac_kw; break
14004 echo "$as_me: failed program was:" >&5
14005 sed 's/^/| /' conftest.$ac_ext >&5
14008 rm -f conftest.$ac_objext conftest.$ac_ext
14012 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14013 echo "${ECHO_T}$ac_cv_c_inline" >&6
14014 case $ac_cv_c_inline in
14017 cat >>confdefs.h <<\_ACEOF
14021 *) cat >>confdefs.h <<_ACEOF
14022 #define inline $ac_cv_c_inline
14027 echo "$as_me:$LINENO: checking for mode_t" >&5
14028 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
14029 if test "${ac_cv_type_mode_t+set}" = set; then
14030 echo $ECHO_N "(cached) $ECHO_C" >&6
14032 cat >conftest.$ac_ext <<_ACEOF
14033 #line $LINENO "configure"
14036 cat confdefs.h >>conftest.$ac_ext
14037 cat >>conftest.$ac_ext <<_ACEOF
14038 /* end confdefs.h. */
14039 $ac_includes_default
14045 if (sizeof (mode_t))
14051 rm -f conftest.$ac_objext
14052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14053 (eval $ac_compile) 2>&5
14055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14056 (exit $ac_status); } &&
14057 { ac_try='test -s conftest.$ac_objext'
14058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14059 (eval $ac_try) 2>&5
14061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14062 (exit $ac_status); }; }; then
14063 ac_cv_type_mode_t=yes
14065 echo "$as_me: failed program was:" >&5
14066 sed 's/^/| /' conftest.$ac_ext >&5
14068 ac_cv_type_mode_t=no
14070 rm -f conftest.$ac_objext conftest.$ac_ext
14072 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
14073 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
14074 if test $ac_cv_type_mode_t = yes; then
14076 cat >>confdefs.h <<_ACEOF
14077 #define HAVE_MODE_T 1
14082 echo "$as_me:$LINENO: checking for off_t" >&5
14083 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
14084 if test "${ac_cv_type_off_t+set}" = set; then
14085 echo $ECHO_N "(cached) $ECHO_C" >&6
14087 cat >conftest.$ac_ext <<_ACEOF
14088 #line $LINENO "configure"
14091 cat confdefs.h >>conftest.$ac_ext
14092 cat >>conftest.$ac_ext <<_ACEOF
14093 /* end confdefs.h. */
14094 $ac_includes_default
14100 if (sizeof (off_t))
14106 rm -f conftest.$ac_objext
14107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14108 (eval $ac_compile) 2>&5
14110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14111 (exit $ac_status); } &&
14112 { ac_try='test -s conftest.$ac_objext'
14113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14114 (eval $ac_try) 2>&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }; }; then
14118 ac_cv_type_off_t=yes
14120 echo "$as_me: failed program was:" >&5
14121 sed 's/^/| /' conftest.$ac_ext >&5
14123 ac_cv_type_off_t=no
14125 rm -f conftest.$ac_objext conftest.$ac_ext
14127 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
14128 echo "${ECHO_T}$ac_cv_type_off_t" >&6
14129 if test $ac_cv_type_off_t = yes; then
14131 cat >>confdefs.h <<_ACEOF
14132 #define HAVE_OFF_T 1
14137 echo "$as_me:$LINENO: checking for pid_t" >&5
14138 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
14139 if test "${ac_cv_type_pid_t+set}" = set; then
14140 echo $ECHO_N "(cached) $ECHO_C" >&6
14142 cat >conftest.$ac_ext <<_ACEOF
14143 #line $LINENO "configure"
14146 cat confdefs.h >>conftest.$ac_ext
14147 cat >>conftest.$ac_ext <<_ACEOF
14148 /* end confdefs.h. */
14149 $ac_includes_default
14155 if (sizeof (pid_t))
14161 rm -f conftest.$ac_objext
14162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14163 (eval $ac_compile) 2>&5
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); } &&
14167 { ac_try='test -s conftest.$ac_objext'
14168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14169 (eval $ac_try) 2>&5
14171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172 (exit $ac_status); }; }; then
14173 ac_cv_type_pid_t=yes
14175 echo "$as_me: failed program was:" >&5
14176 sed 's/^/| /' conftest.$ac_ext >&5
14178 ac_cv_type_pid_t=no
14180 rm -f conftest.$ac_objext conftest.$ac_ext
14182 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
14183 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
14184 if test $ac_cv_type_pid_t = yes; then
14186 cat >>confdefs.h <<_ACEOF
14187 #define HAVE_PID_T 1
14192 echo "$as_me:$LINENO: checking for size_t" >&5
14193 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
14194 if test "${ac_cv_type_size_t+set}" = set; then
14195 echo $ECHO_N "(cached) $ECHO_C" >&6
14197 cat >conftest.$ac_ext <<_ACEOF
14198 #line $LINENO "configure"
14201 cat confdefs.h >>conftest.$ac_ext
14202 cat >>conftest.$ac_ext <<_ACEOF
14203 /* end confdefs.h. */
14204 $ac_includes_default
14210 if (sizeof (size_t))
14216 rm -f conftest.$ac_objext
14217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14218 (eval $ac_compile) 2>&5
14220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221 (exit $ac_status); } &&
14222 { ac_try='test -s conftest.$ac_objext'
14223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14224 (eval $ac_try) 2>&5
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); }; }; then
14228 ac_cv_type_size_t=yes
14230 echo "$as_me: failed program was:" >&5
14231 sed 's/^/| /' conftest.$ac_ext >&5
14233 ac_cv_type_size_t=no
14235 rm -f conftest.$ac_objext conftest.$ac_ext
14237 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
14238 echo "${ECHO_T}$ac_cv_type_size_t" >&6
14239 if test $ac_cv_type_size_t = yes; then
14241 cat >>confdefs.h <<_ACEOF
14242 #define HAVE_SIZE_T 1
14247 echo "$as_me:$LINENO: checking for ssize_t" >&5
14248 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
14249 if test "${ac_cv_type_ssize_t+set}" = set; then
14250 echo $ECHO_N "(cached) $ECHO_C" >&6
14252 cat >conftest.$ac_ext <<_ACEOF
14253 #line $LINENO "configure"
14256 cat confdefs.h >>conftest.$ac_ext
14257 cat >>conftest.$ac_ext <<_ACEOF
14258 /* end confdefs.h. */
14259 $ac_includes_default
14265 if (sizeof (ssize_t))
14271 rm -f conftest.$ac_objext
14272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14273 (eval $ac_compile) 2>&5
14275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14276 (exit $ac_status); } &&
14277 { ac_try='test -s conftest.$ac_objext'
14278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14279 (eval $ac_try) 2>&5
14281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14282 (exit $ac_status); }; }; then
14283 ac_cv_type_ssize_t=yes
14285 echo "$as_me: failed program was:" >&5
14286 sed 's/^/| /' conftest.$ac_ext >&5
14288 ac_cv_type_ssize_t=no
14290 rm -f conftest.$ac_objext conftest.$ac_ext
14292 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
14293 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
14294 if test $ac_cv_type_ssize_t = yes; then
14296 cat >>confdefs.h <<_ACEOF
14297 #define HAVE_SSIZE_T 1
14303 echo "$as_me:$LINENO: checking for long long" >&5
14304 echo $ECHO_N "checking for long long... $ECHO_C" >&6
14305 if test "${ac_cv_type_long_long+set}" = set; then
14306 echo $ECHO_N "(cached) $ECHO_C" >&6
14308 cat >conftest.$ac_ext <<_ACEOF
14309 #line $LINENO "configure"
14312 cat confdefs.h >>conftest.$ac_ext
14313 cat >>conftest.$ac_ext <<_ACEOF
14314 /* end confdefs.h. */
14315 $ac_includes_default
14319 if ((long long *) 0)
14321 if (sizeof (long long))
14327 rm -f conftest.$ac_objext
14328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14329 (eval $ac_compile) 2>&5
14331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332 (exit $ac_status); } &&
14333 { ac_try='test -s conftest.$ac_objext'
14334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14335 (eval $ac_try) 2>&5
14337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338 (exit $ac_status); }; }; then
14339 ac_cv_type_long_long=yes
14341 echo "$as_me: failed program was:" >&5
14342 sed 's/^/| /' conftest.$ac_ext >&5
14344 ac_cv_type_long_long=no
14346 rm -f conftest.$ac_objext conftest.$ac_ext
14348 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
14349 echo "${ECHO_T}$ac_cv_type_long_long" >&6
14351 echo "$as_me:$LINENO: checking size of long long" >&5
14352 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
14353 if test "${ac_cv_sizeof_long_long+set}" = set; then
14354 echo $ECHO_N "(cached) $ECHO_C" >&6
14356 if test "$ac_cv_type_long_long" = yes; then
14357 # The cast to unsigned long works around a bug in the HP C Compiler
14358 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14359 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14360 # This bug is HP SR number 8606223364.
14361 if test "$cross_compiling" = yes; then
14362 # Depending upon the size, compute the lo and hi bounds.
14363 cat >conftest.$ac_ext <<_ACEOF
14364 #line $LINENO "configure"
14367 cat confdefs.h >>conftest.$ac_ext
14368 cat >>conftest.$ac_ext <<_ACEOF
14369 /* end confdefs.h. */
14370 $ac_includes_default
14374 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
14381 rm -f conftest.$ac_objext
14382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14383 (eval $ac_compile) 2>&5
14385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14386 (exit $ac_status); } &&
14387 { ac_try='test -s conftest.$ac_objext'
14388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14389 (eval $ac_try) 2>&5
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); }; }; then
14395 cat >conftest.$ac_ext <<_ACEOF
14396 #line $LINENO "configure"
14399 cat confdefs.h >>conftest.$ac_ext
14400 cat >>conftest.$ac_ext <<_ACEOF
14401 /* end confdefs.h. */
14402 $ac_includes_default
14406 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
14413 rm -f conftest.$ac_objext
14414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14415 (eval $ac_compile) 2>&5
14417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14418 (exit $ac_status); } &&
14419 { ac_try='test -s conftest.$ac_objext'
14420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14421 (eval $ac_try) 2>&5
14423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14424 (exit $ac_status); }; }; then
14425 ac_hi=$ac_mid; break
14427 echo "$as_me: failed program was:" >&5
14428 sed 's/^/| /' conftest.$ac_ext >&5
14430 ac_lo=`expr $ac_mid + 1`
14431 if test $ac_lo -le $ac_mid; then
14435 ac_mid=`expr 2 '*' $ac_mid + 1`
14437 rm -f conftest.$ac_objext conftest.$ac_ext
14440 echo "$as_me: failed program was:" >&5
14441 sed 's/^/| /' conftest.$ac_ext >&5
14443 cat >conftest.$ac_ext <<_ACEOF
14444 #line $LINENO "configure"
14447 cat confdefs.h >>conftest.$ac_ext
14448 cat >>conftest.$ac_ext <<_ACEOF
14449 /* end confdefs.h. */
14450 $ac_includes_default
14454 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
14461 rm -f conftest.$ac_objext
14462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14463 (eval $ac_compile) 2>&5
14465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); } &&
14467 { ac_try='test -s conftest.$ac_objext'
14468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14469 (eval $ac_try) 2>&5
14471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14472 (exit $ac_status); }; }; then
14475 cat >conftest.$ac_ext <<_ACEOF
14476 #line $LINENO "configure"
14479 cat confdefs.h >>conftest.$ac_ext
14480 cat >>conftest.$ac_ext <<_ACEOF
14481 /* end confdefs.h. */
14482 $ac_includes_default
14486 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
14493 rm -f conftest.$ac_objext
14494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14495 (eval $ac_compile) 2>&5
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); } &&
14499 { ac_try='test -s conftest.$ac_objext'
14500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14501 (eval $ac_try) 2>&5
14503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 (exit $ac_status); }; }; then
14505 ac_lo=$ac_mid; break
14507 echo "$as_me: failed program was:" >&5
14508 sed 's/^/| /' conftest.$ac_ext >&5
14510 ac_hi=`expr '(' $ac_mid ')' - 1`
14511 if test $ac_mid -le $ac_hi; then
14515 ac_mid=`expr 2 '*' $ac_mid`
14517 rm -f conftest.$ac_objext conftest.$ac_ext
14520 echo "$as_me: failed program was:" >&5
14521 sed 's/^/| /' conftest.$ac_ext >&5
14525 rm -f conftest.$ac_objext conftest.$ac_ext
14527 rm -f conftest.$ac_objext conftest.$ac_ext
14528 # Binary search between lo and hi bounds.
14529 while test "x$ac_lo" != "x$ac_hi"; do
14530 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14531 cat >conftest.$ac_ext <<_ACEOF
14532 #line $LINENO "configure"
14535 cat confdefs.h >>conftest.$ac_ext
14536 cat >>conftest.$ac_ext <<_ACEOF
14537 /* end confdefs.h. */
14538 $ac_includes_default
14542 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
14549 rm -f conftest.$ac_objext
14550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14551 (eval $ac_compile) 2>&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); } &&
14555 { ac_try='test -s conftest.$ac_objext'
14556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14557 (eval $ac_try) 2>&5
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); }; }; then
14563 echo "$as_me: failed program was:" >&5
14564 sed 's/^/| /' conftest.$ac_ext >&5
14566 ac_lo=`expr '(' $ac_mid ')' + 1`
14568 rm -f conftest.$ac_objext conftest.$ac_ext
14571 ?*) ac_cv_sizeof_long_long=$ac_lo;;
14572 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
14573 See \`config.log' for more details." >&5
14574 echo "$as_me: error: cannot compute sizeof (long long), 77
14575 See \`config.log' for more details." >&2;}
14576 { (exit 1); exit 1; }; } ;;
14579 if test "$cross_compiling" = yes; then
14580 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14581 See \`config.log' for more details." >&5
14582 echo "$as_me: error: cannot run test program while cross compiling
14583 See \`config.log' for more details." >&2;}
14584 { (exit 1); exit 1; }; }
14586 cat >conftest.$ac_ext <<_ACEOF
14587 #line $LINENO "configure"
14590 cat confdefs.h >>conftest.$ac_ext
14591 cat >>conftest.$ac_ext <<_ACEOF
14592 /* end confdefs.h. */
14593 $ac_includes_default
14594 long longval () { return (long) (sizeof (long long)); }
14595 unsigned long ulongval () { return (long) (sizeof (long long)); }
14597 #include <stdlib.h>
14602 FILE *f = fopen ("conftest.val", "w");
14605 if (((long) (sizeof (long long))) < 0)
14607 long i = longval ();
14608 if (i != ((long) (sizeof (long long))))
14610 fprintf (f, "%ld\n", i);
14614 unsigned long i = ulongval ();
14615 if (i != ((long) (sizeof (long long))))
14617 fprintf (f, "%lu\n", i);
14619 exit (ferror (f) || fclose (f) != 0);
14625 rm -f conftest$ac_exeext
14626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14627 (eval $ac_link) 2>&5
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14632 (eval $ac_try) 2>&5
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); }; }; then
14636 ac_cv_sizeof_long_long=`cat conftest.val`
14638 echo "$as_me: program exited with status $ac_status" >&5
14639 echo "$as_me: failed program was:" >&5
14640 sed 's/^/| /' conftest.$ac_ext >&5
14642 ( exit $ac_status )
14643 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
14644 See \`config.log' for more details." >&5
14645 echo "$as_me: error: cannot compute sizeof (long long), 77
14646 See \`config.log' for more details." >&2;}
14647 { (exit 1); exit 1; }; }
14649 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14654 ac_cv_sizeof_long_long=0
14657 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
14658 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
14659 cat >>confdefs.h <<_ACEOF
14660 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14665 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
14666 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
14667 if test "${wine_cv_linux_input_h+set}" = set; then
14668 echo $ECHO_N "(cached) $ECHO_C" >&6
14670 cat >conftest.$ac_ext <<_ACEOF
14671 #line $LINENO "configure"
14674 cat confdefs.h >>conftest.$ac_ext
14675 cat >>conftest.$ac_ext <<_ACEOF
14676 /* end confdefs.h. */
14678 #include <linux/input.h>
14684 int foo = EVIOCGBIT(EV_ABS,42);
14685 int bar = BTN_PINKIE;
14692 rm -f conftest.$ac_objext
14693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14694 (eval $ac_compile) 2>&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); } &&
14698 { ac_try='test -s conftest.$ac_objext'
14699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14700 (eval $ac_try) 2>&5
14702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14703 (exit $ac_status); }; }; then
14704 wine_cv_linux_input_h=yes
14706 echo "$as_me: failed program was:" >&5
14707 sed 's/^/| /' conftest.$ac_ext >&5
14709 wine_cv_linux_input_h=no
14711 rm -f conftest.$ac_objext conftest.$ac_ext
14714 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
14715 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
14716 if test "$wine_cv_linux_input_h" = "yes"
14719 cat >>confdefs.h <<\_ACEOF
14720 #define HAVE_CORRECT_LINUXINPUT_H 1
14726 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14727 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
14728 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
14729 echo $ECHO_N "(cached) $ECHO_C" >&6
14731 cat >conftest.$ac_ext <<_ACEOF
14732 #line $LINENO "configure"
14735 cat confdefs.h >>conftest.$ac_ext
14736 cat >>conftest.$ac_ext <<_ACEOF
14737 /* end confdefs.h. */
14747 struct hostent *result;
14754 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14755 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14761 rm -f conftest.$ac_objext
14762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14763 (eval $ac_compile) 2>&5
14765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14766 (exit $ac_status); } &&
14767 { ac_try='test -s conftest.$ac_objext'
14768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14769 (eval $ac_try) 2>&5
14771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14772 (exit $ac_status); }; }; then
14773 wine_cv_linux_gethostbyname_r_6=yes
14775 echo "$as_me: failed program was:" >&5
14776 sed 's/^/| /' conftest.$ac_ext >&5
14778 wine_cv_linux_gethostbyname_r_6=no
14781 rm -f conftest.$ac_objext conftest.$ac_ext
14784 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
14785 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
14786 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14789 cat >>confdefs.h <<\_ACEOF
14790 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
14795 if test "$ac_cv_header_linux_joystick_h" = "yes"
14797 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14798 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
14799 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
14800 echo $ECHO_N "(cached) $ECHO_C" >&6
14802 cat >conftest.$ac_ext <<_ACEOF
14803 #line $LINENO "configure"
14806 cat confdefs.h >>conftest.$ac_ext
14807 cat >>conftest.$ac_ext <<_ACEOF
14808 /* end confdefs.h. */
14810 #include <sys/ioctl.h>
14811 #include <linux/joystick.h>
14813 struct js_event blub;
14814 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14815 #error "no 2.2 header"
14826 rm -f conftest.$ac_objext
14827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14828 (eval $ac_compile) 2>&5
14830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14831 (exit $ac_status); } &&
14832 { ac_try='test -s conftest.$ac_objext'
14833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14834 (eval $ac_try) 2>&5
14836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14837 (exit $ac_status); }; }; then
14838 wine_cv_linux_joystick_22_api=yes
14840 echo "$as_me: failed program was:" >&5
14841 sed 's/^/| /' conftest.$ac_ext >&5
14843 wine_cv_linux_joystick_22_api=no
14845 rm -f conftest.$ac_objext conftest.$ac_ext
14848 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
14849 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
14850 if test "$wine_cv_linux_joystick_22_api" = "yes"
14853 cat >>confdefs.h <<\_ACEOF
14854 #define HAVE_LINUX_22_JOYSTICK_API 1
14861 if test "$ac_cv_header_sys_vfs_h" = "yes"
14863 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
14864 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
14865 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
14866 echo $ECHO_N "(cached) $ECHO_C" >&6
14868 cat >conftest.$ac_ext <<_ACEOF
14869 #line $LINENO "configure"
14872 cat confdefs.h >>conftest.$ac_ext
14873 cat >>conftest.$ac_ext <<_ACEOF
14874 /* end confdefs.h. */
14876 #include <sys/types.h>
14877 #ifdef HAVE_SYS_PARAM_H
14878 # include <sys/param.h>
14880 #include <sys/vfs.h>
14886 struct statfs stfs;
14888 memset(&stfs,0,sizeof(stfs));
14894 rm -f conftest.$ac_objext
14895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14896 (eval $ac_compile) 2>&5
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); } &&
14900 { ac_try='test -s conftest.$ac_objext'
14901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14902 (eval $ac_try) 2>&5
14904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905 (exit $ac_status); }; }; then
14906 wine_cv_sys_vfs_has_statfs=yes
14908 echo "$as_me: failed program was:" >&5
14909 sed 's/^/| /' conftest.$ac_ext >&5
14911 wine_cv_sys_vfs_has_statfs=no
14914 rm -f conftest.$ac_objext conftest.$ac_ext
14917 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
14918 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
14919 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
14922 cat >>confdefs.h <<\_ACEOF
14923 #define STATFS_DEFINED_BY_SYS_VFS 1
14929 if test "$ac_cv_header_sys_statfs_h" = "yes"
14931 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
14932 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
14933 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
14934 echo $ECHO_N "(cached) $ECHO_C" >&6
14936 cat >conftest.$ac_ext <<_ACEOF
14937 #line $LINENO "configure"
14940 cat confdefs.h >>conftest.$ac_ext
14941 cat >>conftest.$ac_ext <<_ACEOF
14942 /* end confdefs.h. */
14944 #include <sys/types.h>
14945 #ifdef HAVE_SYS_PARAM_H
14946 # include <sys/param.h>
14948 #include <sys/statfs.h>
14954 struct statfs stfs;
14960 rm -f conftest.$ac_objext
14961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14962 (eval $ac_compile) 2>&5
14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965 (exit $ac_status); } &&
14966 { ac_try='test -s conftest.$ac_objext'
14967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14968 (eval $ac_try) 2>&5
14970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14971 (exit $ac_status); }; }; then
14972 wine_cv_sys_statfs_has_statfs=yes
14974 echo "$as_me: failed program was:" >&5
14975 sed 's/^/| /' conftest.$ac_ext >&5
14977 wine_cv_sys_statfs_has_statfs=no
14980 rm -f conftest.$ac_objext conftest.$ac_ext
14983 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
14984 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
14985 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
14988 cat >>confdefs.h <<\_ACEOF
14989 #define STATFS_DEFINED_BY_SYS_STATFS 1
14995 if test "$ac_cv_header_sys_mount_h" = "yes"
14997 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
14998 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
14999 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
15000 echo $ECHO_N "(cached) $ECHO_C" >&6
15002 cat >conftest.$ac_ext <<_ACEOF
15003 #line $LINENO "configure"
15006 cat confdefs.h >>conftest.$ac_ext
15007 cat >>conftest.$ac_ext <<_ACEOF
15008 /* end confdefs.h. */
15010 #include <sys/types.h>
15011 #ifdef HAVE_SYS_PARAM_H
15012 # include <sys/param.h>
15014 #include <sys/mount.h>
15020 struct statfs stfs;
15026 rm -f conftest.$ac_objext
15027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15028 (eval $ac_compile) 2>&5
15030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15031 (exit $ac_status); } &&
15032 { ac_try='test -s conftest.$ac_objext'
15033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15034 (eval $ac_try) 2>&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); }; }; then
15038 wine_cv_sys_mount_has_statfs=yes
15040 echo "$as_me: failed program was:" >&5
15041 sed 's/^/| /' conftest.$ac_ext >&5
15043 wine_cv_sys_mount_has_statfs=no
15046 rm -f conftest.$ac_objext conftest.$ac_ext
15049 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
15050 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
15051 if test "$wine_cv_sys_mount_has_statfs" = "yes"
15054 cat >>confdefs.h <<\_ACEOF
15055 #define STATFS_DEFINED_BY_SYS_MOUNT 1
15062 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
15063 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
15064 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
15065 echo $ECHO_N "(cached) $ECHO_C" >&6
15067 cat >conftest.$ac_ext <<_ACEOF
15068 #line $LINENO "configure"
15071 cat confdefs.h >>conftest.$ac_ext
15072 cat >>conftest.$ac_ext <<_ACEOF
15073 /* end confdefs.h. */
15074 #include <sys/types.h>
15075 #ifdef HAVE_SYS_PARAM_H
15076 # include <sys/param.h>
15078 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
15079 # include <sys/mount.h>
15081 # ifdef STATFS_DEFINED_BY_SYS_VFS
15082 # include <sys/vfs.h>
15084 # ifdef STATFS_DEFINED_BY_SYS_STATFS
15085 # include <sys/statfs.h>
15093 static struct statfs ac_aggr;
15094 if (ac_aggr.f_bfree)
15100 rm -f conftest.$ac_objext
15101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15102 (eval $ac_compile) 2>&5
15104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15105 (exit $ac_status); } &&
15106 { ac_try='test -s conftest.$ac_objext'
15107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15108 (eval $ac_try) 2>&5
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); }; }; then
15112 ac_cv_member_struct_statfs_f_bfree=yes
15114 echo "$as_me: failed program was:" >&5
15115 sed 's/^/| /' conftest.$ac_ext >&5
15117 cat >conftest.$ac_ext <<_ACEOF
15118 #line $LINENO "configure"
15121 cat confdefs.h >>conftest.$ac_ext
15122 cat >>conftest.$ac_ext <<_ACEOF
15123 /* end confdefs.h. */
15124 #include <sys/types.h>
15125 #ifdef HAVE_SYS_PARAM_H
15126 # include <sys/param.h>
15128 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
15129 # include <sys/mount.h>
15131 # ifdef STATFS_DEFINED_BY_SYS_VFS
15132 # include <sys/vfs.h>
15134 # ifdef STATFS_DEFINED_BY_SYS_STATFS
15135 # include <sys/statfs.h>
15143 static struct statfs ac_aggr;
15144 if (sizeof ac_aggr.f_bfree)
15150 rm -f conftest.$ac_objext
15151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15152 (eval $ac_compile) 2>&5
15154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155 (exit $ac_status); } &&
15156 { ac_try='test -s conftest.$ac_objext'
15157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15158 (eval $ac_try) 2>&5
15160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15161 (exit $ac_status); }; }; then
15162 ac_cv_member_struct_statfs_f_bfree=yes
15164 echo "$as_me: failed program was:" >&5
15165 sed 's/^/| /' conftest.$ac_ext >&5
15167 ac_cv_member_struct_statfs_f_bfree=no
15169 rm -f conftest.$ac_objext conftest.$ac_ext
15171 rm -f conftest.$ac_objext conftest.$ac_ext
15173 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
15174 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
15175 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
15177 cat >>confdefs.h <<_ACEOF
15178 #define HAVE_STRUCT_STATFS_F_BFREE 1
15183 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
15184 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
15185 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
15186 echo $ECHO_N "(cached) $ECHO_C" >&6
15188 cat >conftest.$ac_ext <<_ACEOF
15189 #line $LINENO "configure"
15192 cat confdefs.h >>conftest.$ac_ext
15193 cat >>conftest.$ac_ext <<_ACEOF
15194 /* end confdefs.h. */
15195 #include <sys/types.h>
15196 #ifdef HAVE_SYS_PARAM_H
15197 # include <sys/param.h>
15199 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
15200 # include <sys/mount.h>
15202 # ifdef STATFS_DEFINED_BY_SYS_VFS
15203 # include <sys/vfs.h>
15205 # ifdef STATFS_DEFINED_BY_SYS_STATFS
15206 # include <sys/statfs.h>
15214 static struct statfs ac_aggr;
15215 if (ac_aggr.f_bavail)
15221 rm -f conftest.$ac_objext
15222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15223 (eval $ac_compile) 2>&5
15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 (exit $ac_status); } &&
15227 { ac_try='test -s conftest.$ac_objext'
15228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15229 (eval $ac_try) 2>&5
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); }; }; then
15233 ac_cv_member_struct_statfs_f_bavail=yes
15235 echo "$as_me: failed program was:" >&5
15236 sed 's/^/| /' conftest.$ac_ext >&5
15238 cat >conftest.$ac_ext <<_ACEOF
15239 #line $LINENO "configure"
15242 cat confdefs.h >>conftest.$ac_ext
15243 cat >>conftest.$ac_ext <<_ACEOF
15244 /* end confdefs.h. */
15245 #include <sys/types.h>
15246 #ifdef HAVE_SYS_PARAM_H
15247 # include <sys/param.h>
15249 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
15250 # include <sys/mount.h>
15252 # ifdef STATFS_DEFINED_BY_SYS_VFS
15253 # include <sys/vfs.h>
15255 # ifdef STATFS_DEFINED_BY_SYS_STATFS
15256 # include <sys/statfs.h>
15264 static struct statfs ac_aggr;
15265 if (sizeof ac_aggr.f_bavail)
15271 rm -f conftest.$ac_objext
15272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15273 (eval $ac_compile) 2>&5
15275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15276 (exit $ac_status); } &&
15277 { ac_try='test -s conftest.$ac_objext'
15278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15279 (eval $ac_try) 2>&5
15281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15282 (exit $ac_status); }; }; then
15283 ac_cv_member_struct_statfs_f_bavail=yes
15285 echo "$as_me: failed program was:" >&5
15286 sed 's/^/| /' conftest.$ac_ext >&5
15288 ac_cv_member_struct_statfs_f_bavail=no
15290 rm -f conftest.$ac_objext conftest.$ac_ext
15292 rm -f conftest.$ac_objext conftest.$ac_ext
15294 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
15295 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
15296 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
15298 cat >>confdefs.h <<_ACEOF
15299 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15306 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
15307 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
15308 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
15309 echo $ECHO_N "(cached) $ECHO_C" >&6
15311 cat >conftest.$ac_ext <<_ACEOF
15312 #line $LINENO "configure"
15315 cat confdefs.h >>conftest.$ac_ext
15316 cat >>conftest.$ac_ext <<_ACEOF
15317 /* end confdefs.h. */
15318 #include <sys/types.h>
15319 #ifdef HAVE_SYS_SOCKET_H
15320 # include <sys/socket.h>
15322 #ifdef HAVE_SYS_UN_H
15323 # include <sys/un.h>
15329 static struct msghdr ac_aggr;
15330 if (ac_aggr.msg_accrights)
15336 rm -f conftest.$ac_objext
15337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15338 (eval $ac_compile) 2>&5
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); } &&
15342 { ac_try='test -s conftest.$ac_objext'
15343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15344 (eval $ac_try) 2>&5
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); }; }; then
15348 ac_cv_member_struct_msghdr_msg_accrights=yes
15350 echo "$as_me: failed program was:" >&5
15351 sed 's/^/| /' conftest.$ac_ext >&5
15353 cat >conftest.$ac_ext <<_ACEOF
15354 #line $LINENO "configure"
15357 cat confdefs.h >>conftest.$ac_ext
15358 cat >>conftest.$ac_ext <<_ACEOF
15359 /* end confdefs.h. */
15360 #include <sys/types.h>
15361 #ifdef HAVE_SYS_SOCKET_H
15362 # include <sys/socket.h>
15364 #ifdef HAVE_SYS_UN_H
15365 # include <sys/un.h>
15371 static struct msghdr ac_aggr;
15372 if (sizeof ac_aggr.msg_accrights)
15378 rm -f conftest.$ac_objext
15379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15380 (eval $ac_compile) 2>&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); } &&
15384 { ac_try='test -s conftest.$ac_objext'
15385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15386 (eval $ac_try) 2>&5
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); }; }; then
15390 ac_cv_member_struct_msghdr_msg_accrights=yes
15392 echo "$as_me: failed program was:" >&5
15393 sed 's/^/| /' conftest.$ac_ext >&5
15395 ac_cv_member_struct_msghdr_msg_accrights=no
15397 rm -f conftest.$ac_objext conftest.$ac_ext
15399 rm -f conftest.$ac_objext conftest.$ac_ext
15401 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
15402 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
15403 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
15405 cat >>confdefs.h <<_ACEOF
15406 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15411 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
15412 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
15413 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
15414 echo $ECHO_N "(cached) $ECHO_C" >&6
15416 cat >conftest.$ac_ext <<_ACEOF
15417 #line $LINENO "configure"
15420 cat confdefs.h >>conftest.$ac_ext
15421 cat >>conftest.$ac_ext <<_ACEOF
15422 /* end confdefs.h. */
15423 #include <sys/types.h>
15424 #ifdef HAVE_SYS_SOCKET_H
15425 # include <sys/socket.h>
15427 #ifdef HAVE_SYS_UN_H
15428 # include <sys/un.h>
15434 static struct sockaddr ac_aggr;
15435 if (ac_aggr.sa_len)
15441 rm -f conftest.$ac_objext
15442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15443 (eval $ac_compile) 2>&5
15445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15446 (exit $ac_status); } &&
15447 { ac_try='test -s conftest.$ac_objext'
15448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15449 (eval $ac_try) 2>&5
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); }; }; then
15453 ac_cv_member_struct_sockaddr_sa_len=yes
15455 echo "$as_me: failed program was:" >&5
15456 sed 's/^/| /' conftest.$ac_ext >&5
15458 cat >conftest.$ac_ext <<_ACEOF
15459 #line $LINENO "configure"
15462 cat confdefs.h >>conftest.$ac_ext
15463 cat >>conftest.$ac_ext <<_ACEOF
15464 /* end confdefs.h. */
15465 #include <sys/types.h>
15466 #ifdef HAVE_SYS_SOCKET_H
15467 # include <sys/socket.h>
15469 #ifdef HAVE_SYS_UN_H
15470 # include <sys/un.h>
15476 static struct sockaddr ac_aggr;
15477 if (sizeof ac_aggr.sa_len)
15483 rm -f conftest.$ac_objext
15484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15485 (eval $ac_compile) 2>&5
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); } &&
15489 { ac_try='test -s conftest.$ac_objext'
15490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15491 (eval $ac_try) 2>&5
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); }; }; then
15495 ac_cv_member_struct_sockaddr_sa_len=yes
15497 echo "$as_me: failed program was:" >&5
15498 sed 's/^/| /' conftest.$ac_ext >&5
15500 ac_cv_member_struct_sockaddr_sa_len=no
15502 rm -f conftest.$ac_objext conftest.$ac_ext
15504 rm -f conftest.$ac_objext conftest.$ac_ext
15506 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
15507 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
15508 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
15510 cat >>confdefs.h <<_ACEOF
15511 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15516 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
15517 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
15518 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
15519 echo $ECHO_N "(cached) $ECHO_C" >&6
15521 cat >conftest.$ac_ext <<_ACEOF
15522 #line $LINENO "configure"
15525 cat confdefs.h >>conftest.$ac_ext
15526 cat >>conftest.$ac_ext <<_ACEOF
15527 /* end confdefs.h. */
15528 #include <sys/types.h>
15529 #ifdef HAVE_SYS_SOCKET_H
15530 # include <sys/socket.h>
15532 #ifdef HAVE_SYS_UN_H
15533 # include <sys/un.h>
15539 static struct sockaddr_un ac_aggr;
15540 if (ac_aggr.sun_len)
15546 rm -f conftest.$ac_objext
15547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15548 (eval $ac_compile) 2>&5
15550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15551 (exit $ac_status); } &&
15552 { ac_try='test -s conftest.$ac_objext'
15553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15554 (eval $ac_try) 2>&5
15556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15557 (exit $ac_status); }; }; then
15558 ac_cv_member_struct_sockaddr_un_sun_len=yes
15560 echo "$as_me: failed program was:" >&5
15561 sed 's/^/| /' conftest.$ac_ext >&5
15563 cat >conftest.$ac_ext <<_ACEOF
15564 #line $LINENO "configure"
15567 cat confdefs.h >>conftest.$ac_ext
15568 cat >>conftest.$ac_ext <<_ACEOF
15569 /* end confdefs.h. */
15570 #include <sys/types.h>
15571 #ifdef HAVE_SYS_SOCKET_H
15572 # include <sys/socket.h>
15574 #ifdef HAVE_SYS_UN_H
15575 # include <sys/un.h>
15581 static struct sockaddr_un ac_aggr;
15582 if (sizeof ac_aggr.sun_len)
15588 rm -f conftest.$ac_objext
15589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15590 (eval $ac_compile) 2>&5
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); } &&
15594 { ac_try='test -s conftest.$ac_objext'
15595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15596 (eval $ac_try) 2>&5
15598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15599 (exit $ac_status); }; }; then
15600 ac_cv_member_struct_sockaddr_un_sun_len=yes
15602 echo "$as_me: failed program was:" >&5
15603 sed 's/^/| /' conftest.$ac_ext >&5
15605 ac_cv_member_struct_sockaddr_un_sun_len=no
15607 rm -f conftest.$ac_objext conftest.$ac_ext
15609 rm -f conftest.$ac_objext conftest.$ac_ext
15611 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
15612 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
15613 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
15615 cat >>confdefs.h <<_ACEOF
15616 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15623 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
15624 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
15625 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
15626 echo $ECHO_N "(cached) $ECHO_C" >&6
15628 cat >conftest.$ac_ext <<_ACEOF
15629 #line $LINENO "configure"
15632 cat confdefs.h >>conftest.$ac_ext
15633 cat >>conftest.$ac_ext <<_ACEOF
15634 /* end confdefs.h. */
15635 #include <signal.h>
15640 static siginfo_t ac_aggr;
15647 rm -f conftest.$ac_objext
15648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15649 (eval $ac_compile) 2>&5
15651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15652 (exit $ac_status); } &&
15653 { ac_try='test -s conftest.$ac_objext'
15654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15655 (eval $ac_try) 2>&5
15657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15658 (exit $ac_status); }; }; then
15659 ac_cv_member_siginfo_t_si_fd=yes
15661 echo "$as_me: failed program was:" >&5
15662 sed 's/^/| /' conftest.$ac_ext >&5
15664 cat >conftest.$ac_ext <<_ACEOF
15665 #line $LINENO "configure"
15668 cat confdefs.h >>conftest.$ac_ext
15669 cat >>conftest.$ac_ext <<_ACEOF
15670 /* end confdefs.h. */
15671 #include <signal.h>
15676 static siginfo_t ac_aggr;
15677 if (sizeof ac_aggr.si_fd)
15683 rm -f conftest.$ac_objext
15684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15685 (eval $ac_compile) 2>&5
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); } &&
15689 { ac_try='test -s conftest.$ac_objext'
15690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15691 (eval $ac_try) 2>&5
15693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15694 (exit $ac_status); }; }; then
15695 ac_cv_member_siginfo_t_si_fd=yes
15697 echo "$as_me: failed program was:" >&5
15698 sed 's/^/| /' conftest.$ac_ext >&5
15700 ac_cv_member_siginfo_t_si_fd=no
15702 rm -f conftest.$ac_objext conftest.$ac_ext
15704 rm -f conftest.$ac_objext conftest.$ac_ext
15706 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
15707 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
15708 if test $ac_cv_member_siginfo_t_si_fd = yes; then
15710 cat >>confdefs.h <<_ACEOF
15711 #define HAVE_SIGINFO_T_SI_FD 1
15718 echo "$as_me:$LINENO: checking for struct option.name" >&5
15719 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
15720 if test "${ac_cv_member_struct_option_name+set}" = set; then
15721 echo $ECHO_N "(cached) $ECHO_C" >&6
15723 cat >conftest.$ac_ext <<_ACEOF
15724 #line $LINENO "configure"
15727 cat confdefs.h >>conftest.$ac_ext
15728 cat >>conftest.$ac_ext <<_ACEOF
15729 /* end confdefs.h. */
15730 #ifdef HAVE_GETOPT_H
15731 #include <getopt.h>
15737 static struct option ac_aggr;
15744 rm -f conftest.$ac_objext
15745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15746 (eval $ac_compile) 2>&5
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); } &&
15750 { ac_try='test -s conftest.$ac_objext'
15751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15752 (eval $ac_try) 2>&5
15754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15755 (exit $ac_status); }; }; then
15756 ac_cv_member_struct_option_name=yes
15758 echo "$as_me: failed program was:" >&5
15759 sed 's/^/| /' conftest.$ac_ext >&5
15761 cat >conftest.$ac_ext <<_ACEOF
15762 #line $LINENO "configure"
15765 cat confdefs.h >>conftest.$ac_ext
15766 cat >>conftest.$ac_ext <<_ACEOF
15767 /* end confdefs.h. */
15768 #ifdef HAVE_GETOPT_H
15769 #include <getopt.h>
15775 static struct option ac_aggr;
15776 if (sizeof ac_aggr.name)
15782 rm -f conftest.$ac_objext
15783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15784 (eval $ac_compile) 2>&5
15786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787 (exit $ac_status); } &&
15788 { ac_try='test -s conftest.$ac_objext'
15789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15790 (eval $ac_try) 2>&5
15792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15793 (exit $ac_status); }; }; then
15794 ac_cv_member_struct_option_name=yes
15796 echo "$as_me: failed program was:" >&5
15797 sed 's/^/| /' conftest.$ac_ext >&5
15799 ac_cv_member_struct_option_name=no
15801 rm -f conftest.$ac_objext conftest.$ac_ext
15803 rm -f conftest.$ac_objext conftest.$ac_ext
15805 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
15806 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
15807 if test $ac_cv_member_struct_option_name = yes; then
15809 cat >>confdefs.h <<_ACEOF
15810 #define HAVE_STRUCT_OPTION_NAME 1
15819 *i[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
15820 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
15821 if test "${ac_cv_cpp_def___i386__+set}" = set; then
15822 echo $ECHO_N "(cached) $ECHO_C" >&6
15824 cat >conftest.$ac_ext <<_ACEOF
15825 #line $LINENO "configure"
15828 cat confdefs.h >>conftest.$ac_ext
15829 cat >>conftest.$ac_ext <<_ACEOF
15830 /* end confdefs.h. */
15835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15836 $EGREP "yes" >/dev/null 2>&1; then
15837 ac_cv_cpp_def___i386__=yes
15839 ac_cv_cpp_def___i386__=no
15844 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
15845 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
15846 if test $ac_cv_cpp_def___i386__ = yes; then
15847 CFLAGS="$CFLAGS -D__i386__"
15848 LINTFLAGS="$LINTFLAGS -D__i386__"
15851 *alpha*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
15852 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
15853 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
15854 echo $ECHO_N "(cached) $ECHO_C" >&6
15856 cat >conftest.$ac_ext <<_ACEOF
15857 #line $LINENO "configure"
15860 cat confdefs.h >>conftest.$ac_ext
15861 cat >>conftest.$ac_ext <<_ACEOF
15862 /* end confdefs.h. */
15867 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15868 $EGREP "yes" >/dev/null 2>&1; then
15869 ac_cv_cpp_def___ALPHA__=yes
15871 ac_cv_cpp_def___ALPHA__=no
15876 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
15877 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
15878 if test $ac_cv_cpp_def___ALPHA__ = yes; then
15879 CFLAGS="$CFLAGS -D__ALPHA__"
15880 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
15883 *sparc*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
15884 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
15885 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
15886 echo $ECHO_N "(cached) $ECHO_C" >&6
15888 cat >conftest.$ac_ext <<_ACEOF
15889 #line $LINENO "configure"
15892 cat confdefs.h >>conftest.$ac_ext
15893 cat >>conftest.$ac_ext <<_ACEOF
15894 /* end confdefs.h. */
15899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15900 $EGREP "yes" >/dev/null 2>&1; then
15901 ac_cv_cpp_def___sparc__=yes
15903 ac_cv_cpp_def___sparc__=no
15908 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
15909 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
15910 if test $ac_cv_cpp_def___sparc__ = yes; then
15911 CFLAGS="$CFLAGS -D__sparc__"
15912 LINTFLAGS="$LINTFLAGS -D__sparc__"
15917 case $host_vendor in
15918 *sun*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
15919 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
15920 if test "${ac_cv_cpp_def___sun__+set}" = set; then
15921 echo $ECHO_N "(cached) $ECHO_C" >&6
15923 cat >conftest.$ac_ext <<_ACEOF
15924 #line $LINENO "configure"
15927 cat confdefs.h >>conftest.$ac_ext
15928 cat >>conftest.$ac_ext <<_ACEOF
15929 /* end confdefs.h. */
15934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15935 $EGREP "yes" >/dev/null 2>&1; then
15936 ac_cv_cpp_def___sun__=yes
15938 ac_cv_cpp_def___sun__=no
15943 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
15944 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
15945 if test $ac_cv_cpp_def___sun__ = yes; then
15946 CFLAGS="$CFLAGS -D__sun__"
15947 LINTFLAGS="$LINTFLAGS -D__sun__"
15956 ac_config_commands="$ac_config_commands controls"
15958 ac_config_commands="$ac_config_commands dlls/ddraw/d3ddevice"
15960 ac_config_commands="$ac_config_commands dlls/ddraw/dclipper"
15962 ac_config_commands="$ac_config_commands dlls/ddraw/ddraw"
15964 ac_config_commands="$ac_config_commands dlls/ddraw/direct3d"
15966 ac_config_commands="$ac_config_commands dlls/ddraw/dpalette"
15968 ac_config_commands="$ac_config_commands dlls/ddraw/dsurface"
15970 ac_config_commands="$ac_config_commands dlls/dinput/joystick"
15972 ac_config_commands="$ac_config_commands dlls/dinput/keyboard"
15974 ac_config_commands="$ac_config_commands dlls/dinput/mouse"
15976 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
15978 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
15980 ac_config_commands="$ac_config_commands dlls/kernel/messages"
15982 ac_config_commands="$ac_config_commands dlls/user/dde"
15984 ac_config_commands="$ac_config_commands dlls/user/resources"
15986 ac_config_commands="$ac_config_commands dlls/wineps/data"
15988 ac_config_commands="$ac_config_commands files"
15990 ac_config_commands="$ac_config_commands graphics"
15992 ac_config_commands="$ac_config_commands graphics/x11drv"
15994 ac_config_commands="$ac_config_commands if1632"
15996 ac_config_commands="$ac_config_commands include/wine"
15998 ac_config_commands="$ac_config_commands loader"
16000 ac_config_commands="$ac_config_commands loader/ne"
16002 ac_config_commands="$ac_config_commands memory"
16004 ac_config_commands="$ac_config_commands misc"
16006 ac_config_commands="$ac_config_commands msdos"
16008 ac_config_commands="$ac_config_commands objects"
16010 ac_config_commands="$ac_config_commands ole"
16012 ac_config_commands="$ac_config_commands programs/regapi/tests"
16014 ac_config_commands="$ac_config_commands programs/regedit/tests"
16016 ac_config_commands="$ac_config_commands relay32"
16018 ac_config_commands="$ac_config_commands scheduler"
16020 ac_config_commands="$ac_config_commands win32"
16022 ac_config_commands="$ac_config_commands windows"
16025 MAKE_RULES=Make.rules
16028 MAKE_DLL_RULES=dlls/Makedll.rules
16031 MAKE_TEST_RULES=dlls/Maketest.rules
16034 MAKE_LIB_RULES=libs/Makelib.rules
16037 MAKE_PROG_RULES=programs/Makeprog.rules
16040 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3dim/Makefile dlls/d3dx8/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/icmp/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/mapi32/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msdmo/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrtd/Makefile dlls/msvideo/Makefile dlls/msvideo/msrle32/Makefile dlls/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/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/uuid/Makefile libs/wine/Makefile libs/wpp/Makefile miscemu/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/notepad/Makefile programs/osversioncheck/Makefile programs/progman/Makefile programs/regapi/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/regtest/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/wmc/Makefile tools/wrc/Makefile"
16043 cat >confcache <<\_ACEOF
16044 # This file is a shell script that caches the results of configure
16045 # tests run on this system so they can be shared between configure
16046 # scripts and configure runs, see configure's option --config-cache.
16047 # It is not useful on other systems. If it contains results you don't
16048 # want to keep, you may remove or edit it.
16050 # config.status only pays attention to the cache file if you give it
16051 # the --recheck option to rerun configure.
16053 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16054 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16055 # following values.
16059 # The following way of writing the cache mishandles newlines in values,
16060 # but we know of no workaround that is simple, portable, and efficient.
16061 # So, don't put newlines in cache variables' values.
16062 # Ultrix sh set writes to stderr and can't be redirected directly,
16063 # and sets the high bit in the cache file unless we assign to the vars.
16066 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16068 # `set' does not quote correctly, so add quotes (double-quote
16069 # substitution turns \\\\ into \\, and sed turns \\ into \).
16072 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16075 # `set' quotes correctly as required by POSIX, so do not add quotes.
16077 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
16084 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16086 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16088 if diff $cache_file confcache >/dev/null 2>&1; then :; else
16089 if test -w $cache_file; then
16090 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
16091 cat confcache >$cache_file
16093 echo "not updating unwritable cache $cache_file"
16098 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16099 # Let make expand exec_prefix.
16100 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16102 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16103 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16104 # trailing colons and then remove the whole line if VPATH becomes empty
16105 # (actually we leave an empty line to preserve line numbers).
16106 if test "x$srcdir" = x.; then
16107 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16108 s/:*\$(srcdir):*/:/;
16109 s/:*\${srcdir}:*/:/;
16111 s/^\([^=]*=[ ]*\):*/\1/;
16117 DEFS=-DHAVE_CONFIG_H
16121 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16122 # 1. Remove the extension, and $U if already installed.
16123 ac_i=`echo "$ac_i" |
16124 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
16126 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
16127 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
16129 LIBOBJS=$ac_libobjs
16131 LTLIBOBJS=$ac_ltlibobjs
16135 : ${CONFIG_STATUS=./config.status}
16136 ac_clean_files_save=$ac_clean_files
16137 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16138 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
16139 echo "$as_me: creating $CONFIG_STATUS" >&6;}
16140 cat >$CONFIG_STATUS <<_ACEOF
16142 # Generated by $as_me.
16143 # Run this file to recreate the current configuration.
16144 # Compiler output produced by configure, useful for debugging
16145 # configure, is in config.log if it exists.
16148 ac_cs_recheck=false
16150 SHELL=\${CONFIG_SHELL-$SHELL}
16153 cat >>$CONFIG_STATUS <<\_ACEOF
16154 ## --------------------- ##
16155 ## M4sh Initialization. ##
16156 ## --------------------- ##
16158 # Be Bourne compatible
16159 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16162 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
16163 # is contrary to our usage. Disable this feature.
16164 alias -g '${1+"$@"}'='"$@"'
16165 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
16169 # Support unset when possible.
16170 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
16177 # Work around bugs in pre-3.0 UWIN ksh.
16178 $as_unset ENV MAIL MAILPATH
16185 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
16186 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
16187 LC_TELEPHONE LC_TIME
16189 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
16190 eval $as_var=C; export $as_var
16196 # Required to use basename.
16197 if expr a : '\(a\)' >/dev/null 2>&1; then
16203 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
16204 as_basename=basename
16210 # Name of the executable.
16211 as_me=`$as_basename "$0" ||
16212 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16213 X"$0" : 'X\(//\)$' \| \
16214 X"$0" : 'X\(/\)$' \| \
16215 . : '\(.\)' 2>/dev/null ||
16217 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16218 /^X\/\(\/\/\)$/{ s//\1/; q; }
16219 /^X\/\(\/\).*/{ s//\1/; q; }
16223 # PATH needs CR, and LINENO needs CR and PATH.
16224 # Avoid depending upon Character Ranges.
16225 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16226 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16227 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16228 as_cr_digits='0123456789'
16229 as_cr_alnum=$as_cr_Letters$as_cr_digits
16231 # The user is always right.
16232 if test "${PATH_SEPARATOR+set}" != set; then
16233 echo "#! /bin/sh" >conf$$.sh
16234 echo "exit 0" >>conf$$.sh
16236 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16245 as_lineno_1=$LINENO
16246 as_lineno_2=$LINENO
16247 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
16248 test "x$as_lineno_1" != "x$as_lineno_2" &&
16249 test "x$as_lineno_3" = "x$as_lineno_2" || {
16250 # Find who we are. Look in the path if we contain no path at all
16253 *[\\/]* ) as_myself=$0 ;;
16254 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16255 for as_dir in $PATH
16258 test -z "$as_dir" && as_dir=.
16259 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16264 # We did not find ourselves, most probably we were run as `sh COMMAND'
16265 # in which case we are not to be found in the path.
16266 if test "x$as_myself" = x; then
16269 if test ! -f "$as_myself"; then
16270 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
16271 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
16272 { (exit 1); exit 1; }; }
16274 case $CONFIG_SHELL in
16276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16277 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
16280 test -z "$as_dir" && as_dir=.
16281 for as_base in sh bash ksh sh5; do
16284 if ("$as_dir/$as_base" -c '
16285 as_lineno_1=$LINENO
16286 as_lineno_2=$LINENO
16287 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
16288 test "x$as_lineno_1" != "x$as_lineno_2" &&
16289 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
16290 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
16291 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
16292 CONFIG_SHELL=$as_dir/$as_base
16293 export CONFIG_SHELL
16294 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
16302 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16303 # uniformly replaced by the line number. The first 'sed' inserts a
16304 # line-number line before each line; the second 'sed' does the real
16305 # work. The second script uses 'N' to pair each line-number line
16306 # with the numbered line, and appends trailing '-' during
16307 # substitution so that $LINENO is not a special case at line end.
16308 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16309 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
16310 sed '=' <$as_myself |
16315 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
16318 s,^['$as_cr_digits']*\n,,
16319 ' >$as_me.lineno &&
16320 chmod +x $as_me.lineno ||
16321 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
16322 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
16323 { (exit 1); exit 1; }; }
16325 # Don't try to exec as it changes $[0], causing all sort of problems
16326 # (the dirname of $[0] is not the place where we might find the
16327 # original and so on. Autoconf is especially sensible to this).
16329 # Exit status is that of the last command.
16334 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
16335 *c*,-n*) ECHO_N= ECHO_C='
16337 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
16338 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
16341 if expr a : '\(a\)' >/dev/null 2>&1; then
16347 rm -f conf$$ conf$$.exe conf$$.file
16349 if ln -s conf$$.file conf$$ 2>/dev/null; then
16350 # We could just check for DJGPP; but this test a) works b) is more generic
16351 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
16352 if test -f conf$$.exe; then
16353 # Don't use ln at all; we don't have any links
16358 elif ln conf$$.file conf$$ 2>/dev/null; then
16363 rm -f conf$$ conf$$.exe conf$$.file
16365 if mkdir -p . 2>/dev/null; then
16371 as_executable_p="test -f"
16373 # Sed expression to map a string onto a valid CPP name.
16374 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
16376 # Sed expression to map a string onto a valid variable name.
16377 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
16381 # We need space, tab and new line, in precisely that order.
16391 # Open the log real soon, to keep \$[0] and so on meaningful, and to
16392 # report actual input values of CONFIG_FILES etc. instead of their
16393 # values after options handling. Logging --version etc. is OK.
16397 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16398 ## Running $as_me. ##
16403 This file was extended by Wine $as_me 20030618, which was
16404 generated by GNU Autoconf 2.57. Invocation command line was
16406 CONFIG_FILES = $CONFIG_FILES
16407 CONFIG_HEADERS = $CONFIG_HEADERS
16408 CONFIG_LINKS = $CONFIG_LINKS
16409 CONFIG_COMMANDS = $CONFIG_COMMANDS
16413 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
16417 # Files that config.status was made for.
16418 if test -n "$ac_config_files"; then
16419 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
16422 if test -n "$ac_config_headers"; then
16423 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
16426 if test -n "$ac_config_links"; then
16427 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
16430 if test -n "$ac_config_commands"; then
16431 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
16434 cat >>$CONFIG_STATUS <<\_ACEOF
16437 \`$as_me' instantiates files from templates according to the
16438 current configuration.
16440 Usage: $0 [OPTIONS] [FILE]...
16442 -h, --help print this help, then exit
16443 -V, --version print version number, then exit
16444 -q, --quiet do not print progress messages
16445 -d, --debug don't remove temporary files
16446 --recheck update $as_me by reconfiguring in the same conditions
16447 --file=FILE[:TEMPLATE]
16448 instantiate the configuration file FILE
16449 --header=FILE[:TEMPLATE]
16450 instantiate the configuration header FILE
16452 Configuration files:
16455 Configuration headers:
16458 Configuration commands:
16461 Report bugs to <bug-autoconf@gnu.org>."
16464 cat >>$CONFIG_STATUS <<_ACEOF
16466 Wine config.status 20030618
16467 configured by $0, generated by GNU Autoconf 2.57,
16468 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
16470 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
16471 Free Software Foundation, Inc.
16472 This config.status script is free software; the Free Software Foundation
16473 gives unlimited permission to copy, distribute and modify it."
16478 cat >>$CONFIG_STATUS <<\_ACEOF
16479 # If no file are specified by the user, then we need to provide default
16480 # value. By we need to know if files were specified by the user.
16486 ac_option=`expr "x$1" : 'x\([^=]*\)='`
16487 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
16495 *) # This is not an option, so the user has probably given explicit
16498 ac_need_defaults=false;;
16502 # Handling of the options.
16504 cat >>$CONFIG_STATUS <<\_ACEOF
16505 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16507 --version | --vers* | -V )
16508 echo "$ac_cs_version"; exit 0 ;;
16510 # Conflict between --help and --header
16511 { { echo "$as_me:$LINENO: error: ambiguous option: $1
16512 Try \`$0 --help' for more information." >&5
16513 echo "$as_me: error: ambiguous option: $1
16514 Try \`$0 --help' for more information." >&2;}
16515 { (exit 1); exit 1; }; };;
16516 --help | --hel | -h )
16517 echo "$ac_cs_usage"; exit 0 ;;
16518 --debug | --d* | -d )
16520 --file | --fil | --fi | --f )
16522 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
16523 ac_need_defaults=false;;
16524 --header | --heade | --head | --hea )
16526 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
16527 ac_need_defaults=false;;
16528 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16529 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16532 # This is an error.
16533 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
16534 Try \`$0 --help' for more information." >&5
16535 echo "$as_me: error: unrecognized option: $1
16536 Try \`$0 --help' for more information." >&2;}
16537 { (exit 1); exit 1; }; } ;;
16539 *) ac_config_targets="$ac_config_targets $1" ;;
16545 ac_configure_extra_args=
16547 if $ac_cs_silent; then
16549 ac_configure_extra_args="$ac_configure_extra_args --silent"
16553 cat >>$CONFIG_STATUS <<_ACEOF
16554 if \$ac_cs_recheck; then
16555 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
16556 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16565 cat >>$CONFIG_STATUS <<\_ACEOF
16566 for ac_config_target in $ac_config_targets
16568 case "$ac_config_target" in
16569 # Handling of arguments.
16570 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
16571 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
16572 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
16573 "libs/Makelib.rules" ) CONFIG_FILES="$CONFIG_FILES libs/Makelib.rules" ;;
16574 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
16575 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16576 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
16577 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
16578 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
16579 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
16580 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
16581 "dlls/cabinet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
16582 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
16583 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
16584 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
16585 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
16586 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
16587 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
16588 "dlls/ctl3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
16589 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
16590 "dlls/d3dim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
16591 "dlls/d3dx8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
16592 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
16593 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
16594 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
16595 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
16596 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
16597 "dlls/dmband/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
16598 "dlls/dmcompos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
16599 "dlls/dmime/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
16600 "dlls/dmloader/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
16601 "dlls/dmscript/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
16602 "dlls/dmstyle/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
16603 "dlls/dmsynth/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
16604 "dlls/dmusic/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
16605 "dlls/dmusic32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
16606 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
16607 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
16608 "dlls/dpnhpast/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
16609 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
16610 "dlls/dsound/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
16611 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
16612 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
16613 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
16614 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
16615 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
16616 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
16617 "dlls/iphlpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
16618 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
16619 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
16620 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
16621 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
16622 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
16623 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
16624 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
16625 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
16626 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
16627 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
16628 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
16629 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
16630 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
16631 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
16632 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
16633 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
16634 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
16635 "dlls/msvcrtd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
16636 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
16637 "dlls/msvideo/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/msrle32/Makefile" ;;
16638 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
16639 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
16640 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
16641 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
16642 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
16643 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
16644 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
16645 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
16646 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
16647 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
16648 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
16649 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
16650 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
16651 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
16652 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
16653 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
16654 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
16655 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
16656 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
16657 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
16658 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
16659 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
16660 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
16661 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
16662 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
16663 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
16664 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
16665 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
16666 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
16667 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
16668 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
16669 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
16670 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
16671 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
16672 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
16673 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
16674 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
16675 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
16676 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
16677 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
16678 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
16679 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
16680 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
16681 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
16682 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
16683 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
16684 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
16685 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
16686 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
16687 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
16688 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
16689 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
16690 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
16691 "dlls/winmm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
16692 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
16693 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
16694 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
16695 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
16696 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
16697 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
16698 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
16699 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
16700 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
16701 "dlls/winsock/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
16702 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
16703 "dlls/winspool/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
16704 "dlls/wintab32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
16705 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
16706 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
16707 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
16708 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
16709 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
16710 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
16711 "libs/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
16712 "libs/port/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
16713 "libs/unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/unicode/Makefile" ;;
16714 "libs/uuid/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/uuid/Makefile" ;;
16715 "libs/wine/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
16716 "libs/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
16717 "miscemu/Makefile" ) CONFIG_FILES="$CONFIG_FILES miscemu/Makefile" ;;
16718 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
16719 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
16720 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
16721 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
16722 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
16723 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
16724 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
16725 "programs/osversioncheck/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/osversioncheck/Makefile" ;;
16726 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
16727 "programs/regapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regapi/Makefile" ;;
16728 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
16729 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
16730 "programs/regtest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regtest/Makefile" ;;
16731 "programs/rpcss/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
16732 "programs/rundll32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
16733 "programs/start/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
16734 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
16735 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
16736 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
16737 "programs/wineboot/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
16738 "programs/winecfg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
16739 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
16740 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
16741 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
16742 "programs/winemenubuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
16743 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
16744 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
16745 "programs/winevdm/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
16746 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
16747 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
16748 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
16749 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16750 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
16751 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
16752 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
16753 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
16754 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
16755 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
16756 "controls" ) CONFIG_COMMANDS="$CONFIG_COMMANDS controls" ;;
16757 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
16758 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
16759 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
16760 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
16761 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
16762 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
16763 "dlls/dinput/joystick" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/joystick" ;;
16764 "dlls/dinput/keyboard" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/keyboard" ;;
16765 "dlls/dinput/mouse" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/mouse" ;;
16766 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
16767 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
16768 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
16769 "dlls/user/dde" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/dde" ;;
16770 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
16771 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
16772 "files" ) CONFIG_COMMANDS="$CONFIG_COMMANDS files" ;;
16773 "graphics" ) CONFIG_COMMANDS="$CONFIG_COMMANDS graphics" ;;
16774 "graphics/x11drv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS graphics/x11drv" ;;
16775 "if1632" ) CONFIG_COMMANDS="$CONFIG_COMMANDS if1632" ;;
16776 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
16777 "loader" ) CONFIG_COMMANDS="$CONFIG_COMMANDS loader" ;;
16778 "loader/ne" ) CONFIG_COMMANDS="$CONFIG_COMMANDS loader/ne" ;;
16779 "memory" ) CONFIG_COMMANDS="$CONFIG_COMMANDS memory" ;;
16780 "misc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS misc" ;;
16781 "msdos" ) CONFIG_COMMANDS="$CONFIG_COMMANDS msdos" ;;
16782 "objects" ) CONFIG_COMMANDS="$CONFIG_COMMANDS objects" ;;
16783 "ole" ) CONFIG_COMMANDS="$CONFIG_COMMANDS ole" ;;
16784 "programs/regapi/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regapi/tests" ;;
16785 "programs/regedit/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regedit/tests" ;;
16786 "relay32" ) CONFIG_COMMANDS="$CONFIG_COMMANDS relay32" ;;
16787 "scheduler" ) CONFIG_COMMANDS="$CONFIG_COMMANDS scheduler" ;;
16788 "win32" ) CONFIG_COMMANDS="$CONFIG_COMMANDS win32" ;;
16789 "windows" ) CONFIG_COMMANDS="$CONFIG_COMMANDS windows" ;;
16790 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
16791 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16792 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16793 { (exit 1); exit 1; }; };;
16797 # If the user did not use the arguments to specify the items to instantiate,
16798 # then the envvar interface is used. Set only those that are not.
16799 # We use the long form for the default assignment because of an extremely
16800 # bizarre bug on SunOS 4.1.3.
16801 if $ac_need_defaults; then
16802 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16803 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16804 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16807 # Have a temporary directory for convenience. Make it in the build tree
16808 # simply because there is no reason to put it here, and in addition,
16809 # creating and moving files from /tmp can sometimes cause problems.
16810 # Create a temporary directory, and hook for its removal unless debugging.
16813 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
16814 trap '{ (exit 1); exit 1; }' 1 2 13 15
16817 # Create a (secure) tmp directory for tmp files.
16820 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
16821 test -n "$tmp" && test -d "$tmp"
16824 tmp=./confstat$$-$RANDOM
16825 (umask 077 && mkdir $tmp)
16828 echo "$me: cannot create a temporary directory in ." >&2
16829 { (exit 1); exit 1; }
16834 cat >>$CONFIG_STATUS <<_ACEOF
16837 # CONFIG_FILES section.
16840 # No need to generate the scripts if there are no CONFIG_FILES.
16841 # This happens for instance when ./config.status config.h
16842 if test -n "\$CONFIG_FILES"; then
16843 # Protect against being on the right side of a sed subst in config.status.
16844 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
16845 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
16846 s,@SHELL@,$SHELL,;t t
16847 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
16848 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
16849 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
16850 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
16851 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
16852 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
16853 s,@exec_prefix@,$exec_prefix,;t t
16854 s,@prefix@,$prefix,;t t
16855 s,@program_transform_name@,$program_transform_name,;t t
16856 s,@bindir@,$bindir,;t t
16857 s,@sbindir@,$sbindir,;t t
16858 s,@libexecdir@,$libexecdir,;t t
16859 s,@datadir@,$datadir,;t t
16860 s,@sysconfdir@,$sysconfdir,;t t
16861 s,@sharedstatedir@,$sharedstatedir,;t t
16862 s,@localstatedir@,$localstatedir,;t t
16863 s,@libdir@,$libdir,;t t
16864 s,@includedir@,$includedir,;t t
16865 s,@oldincludedir@,$oldincludedir,;t t
16866 s,@infodir@,$infodir,;t t
16867 s,@mandir@,$mandir,;t t
16868 s,@build_alias@,$build_alias,;t t
16869 s,@host_alias@,$host_alias,;t t
16870 s,@target_alias@,$target_alias,;t t
16871 s,@DEFS@,$DEFS,;t t
16872 s,@ECHO_C@,$ECHO_C,;t t
16873 s,@ECHO_N@,$ECHO_N,;t t
16874 s,@ECHO_T@,$ECHO_T,;t t
16875 s,@LIBS@,$LIBS,;t t
16876 s,@WIN16_FILES@,$WIN16_FILES,;t t
16877 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
16878 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
16879 s,@build@,$build,;t t
16880 s,@build_cpu@,$build_cpu,;t t
16881 s,@build_vendor@,$build_vendor,;t t
16882 s,@build_os@,$build_os,;t t
16883 s,@host@,$host,;t t
16884 s,@host_cpu@,$host_cpu,;t t
16885 s,@host_vendor@,$host_vendor,;t t
16886 s,@host_os@,$host_os,;t t
16887 s,@SET_MAKE@,$SET_MAKE,;t t
16889 s,@CFLAGS@,$CFLAGS,;t t
16890 s,@LDFLAGS@,$LDFLAGS,;t t
16891 s,@CPPFLAGS@,$CPPFLAGS,;t t
16892 s,@ac_ct_CC@,$ac_ct_CC,;t t
16893 s,@EXEEXT@,$EXEEXT,;t t
16894 s,@OBJEXT@,$OBJEXT,;t t
16896 s,@TOOLSDIR@,$TOOLSDIR,;t t
16897 s,@X_CFLAGS@,$X_CFLAGS,;t t
16898 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
16899 s,@X_LIBS@,$X_LIBS,;t t
16900 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
16901 s,@YACC@,$YACC,;t t
16903 s,@LEXLIB@,$LEXLIB,;t t
16904 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
16905 s,@XYACC@,$XYACC,;t t
16906 s,@XLEX@,$XLEX,;t t
16908 s,@ac_ct_AS@,$ac_ct_AS,;t t
16910 s,@ac_ct_LD@,$ac_ct_LD,;t t
16912 s,@ac_ct_AR@,$ac_ct_AR,;t t
16913 s,@RANLIB@,$RANLIB,;t t
16914 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
16915 s,@STRIP@,$STRIP,;t t
16916 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
16917 s,@WINDRES@,$WINDRES,;t t
16918 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
16919 s,@LN_S@,$LN_S,;t t
16921 s,@C2MAN@,$C2MAN,;t t
16922 s,@LDCONFIG@,$LDCONFIG,;t t
16923 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
16924 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
16925 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
16926 s,@LINT@,$LINT,;t t
16927 s,@LINTFLAGS@,$LINTFLAGS,;t t
16928 s,@DB2HTML@,$DB2HTML,;t t
16929 s,@DB2PDF@,$DB2PDF,;t t
16930 s,@DB2PS@,$DB2PS,;t t
16931 s,@JPEGLIB@,$JPEGLIB,;t t
16932 s,@EGREP@,$EGREP,;t t
16933 s,@GIFLIB@,$GIFLIB,;t t
16934 s,@XLIB@,$XLIB,;t t
16935 s,@XFILES@,$XFILES,;t t
16936 s,@OPENGLFILES@,$OPENGLFILES,;t t
16937 s,@GLU32FILES@,$GLU32FILES,;t t
16938 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
16939 s,@NASLIBS@,$NASLIBS,;t t
16940 s,@CURSESLIBS@,$CURSESLIBS,;t t
16941 s,@sane_devel@,$sane_devel,;t t
16942 s,@SANELIBS@,$SANELIBS,;t t
16943 s,@SANEINCL@,$SANEINCL,;t t
16944 s,@ft_devel@,$ft_devel,;t t
16945 s,@ft_devel2@,$ft_devel2,;t t
16946 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
16947 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
16948 s,@ARTSLIBS@,$ARTSLIBS,;t t
16949 s,@ARTSINCL@,$ARTSINCL,;t t
16950 s,@ALSALIBS@,$ALSALIBS,;t t
16951 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
16952 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
16953 s,@DLLEXT@,$DLLEXT,;t t
16954 s,@DLLFLAGS@,$DLLFLAGS,;t t
16955 s,@DLLIBS@,$DLLIBS,;t t
16956 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
16957 s,@LDSHARED@,$LDSHARED,;t t
16958 s,@LIBEXT@,$LIBEXT,;t t
16959 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
16960 s,@DLLTOOL@,$DLLTOOL,;t t
16961 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
16962 s,@DLLWRAP@,$DLLWRAP,;t t
16963 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
16964 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
16965 s,@CROSSTEST@,$CROSSTEST,;t t
16966 s,@CROSSCC@,$CROSSCC,;t t
16967 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
16968 s,@LDPATH@,$LDPATH,;t t
16969 s,@CRTLIBS@,$CRTLIBS,;t t
16971 s,@ALLOCA@,$ALLOCA,;t t
16972 s,@LIBOBJS@,$LIBOBJS,;t t
16973 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
16974 /@MAKE_RULES@/r $MAKE_RULES
16975 s,@MAKE_RULES@,,;t t
16976 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
16977 s,@MAKE_DLL_RULES@,,;t t
16978 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
16979 s,@MAKE_TEST_RULES@,,;t t
16980 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
16981 s,@MAKE_LIB_RULES@,,;t t
16982 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
16983 s,@MAKE_PROG_RULES@,,;t t
16988 cat >>$CONFIG_STATUS <<\_ACEOF
16989 # Split the substitutions into bite-sized pieces for seds with
16990 # small command number limits, like on Digital OSF/1 and HP-UX.
16991 ac_max_sed_lines=48
16992 ac_sed_frag=1 # Number of current file.
16993 ac_beg=1 # First line for current file.
16994 ac_end=$ac_max_sed_lines # Line after last line for current file.
16997 while $ac_more_lines; do
16998 if test $ac_beg -gt 1; then
16999 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
17001 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
17003 if test ! -s $tmp/subs.frag; then
17004 ac_more_lines=false
17006 # The purpose of the label and of the branching condition is to
17007 # speed up the sed processing (if there are no `@' at all, there
17008 # is no need to browse any of the substitutions).
17009 # These are the two extra sed commands mentioned above.
17011 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
17012 if test -z "$ac_sed_cmds"; then
17013 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
17015 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
17017 ac_sed_frag=`expr $ac_sed_frag + 1`
17019 ac_end=`expr $ac_end + $ac_max_sed_lines`
17022 if test -z "$ac_sed_cmds"; then
17025 fi # test -n "$CONFIG_FILES"
17028 cat >>$CONFIG_STATUS <<\_ACEOF
17029 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
17030 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17032 - | *:- | *:-:* ) # input from stdin
17034 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
17035 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
17036 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
17037 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
17038 * ) ac_file_in=$ac_file.in ;;
17041 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
17042 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
17043 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17044 X"$ac_file" : 'X\(//\)[^/]' \| \
17045 X"$ac_file" : 'X\(//\)$' \| \
17046 X"$ac_file" : 'X\(/\)' \| \
17047 . : '\(.\)' 2>/dev/null ||
17049 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17050 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17051 /^X\(\/\/\)$/{ s//\1/; q; }
17052 /^X\(\/\).*/{ s//\1/; q; }
17054 { if $as_mkdir_p; then
17059 while test ! -d "$as_dir"; do
17060 as_dirs="$as_dir $as_dirs"
17061 as_dir=`(dirname "$as_dir") 2>/dev/null ||
17062 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17063 X"$as_dir" : 'X\(//\)[^/]' \| \
17064 X"$as_dir" : 'X\(//\)$' \| \
17065 X"$as_dir" : 'X\(/\)' \| \
17066 . : '\(.\)' 2>/dev/null ||
17068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17069 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17070 /^X\(\/\/\)$/{ s//\1/; q; }
17071 /^X\(\/\).*/{ s//\1/; q; }
17074 test ! -n "$as_dirs" || mkdir $as_dirs
17075 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17076 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17077 { (exit 1); exit 1; }; }; }
17081 if test "$ac_dir" != .; then
17082 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17083 # A "../" for each directory in $ac_dir_suffix.
17084 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17086 ac_dir_suffix= ac_top_builddir=
17090 .) # No --srcdir option. We are building in place.
17092 if test -z "$ac_top_builddir"; then
17095 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
17097 [\\/]* | ?:[\\/]* ) # Absolute path.
17098 ac_srcdir=$srcdir$ac_dir_suffix;
17099 ac_top_srcdir=$srcdir ;;
17100 *) # Relative path.
17101 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
17102 ac_top_srcdir=$ac_top_builddir$srcdir ;;
17104 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
17106 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
17107 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
17108 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
17109 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
17113 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17114 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
17117 if test x"$ac_file" != x-; then
17118 { echo "$as_me:$LINENO: creating $ac_file" >&5
17119 echo "$as_me: creating $ac_file" >&6;}
17122 # Let's still pretend it is `configure' which instantiates (i.e., don't
17123 # use $as_me), people would be surprised to read:
17124 # /* config.h. Generated by config.status. */
17125 if test x"$ac_file" = x-; then
17128 configure_input="$ac_file. "
17130 configure_input=$configure_input"Generated from `echo $ac_file_in |
17131 sed 's,.*/,,'` by configure."
17133 # First look for the input files in the build tree, otherwise in the
17135 ac_file_inputs=`IFS=:
17136 for f in $ac_file_in; do
17138 -) echo $tmp/stdin ;;
17140 # Absolute (can't be DOS-style, as IFS=:)
17141 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17142 echo "$as_me: error: cannot find input file: $f" >&2;}
17143 { (exit 1); exit 1; }; }
17146 if test -f "$f"; then
17149 elif test -f "$srcdir/$f"; then
17154 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17155 echo "$as_me: error: cannot find input file: $f" >&2;}
17156 { (exit 1); exit 1; }; }
17159 done` || { (exit 1); exit 1; }
17161 cat >>$CONFIG_STATUS <<_ACEOF
17165 cat >>$CONFIG_STATUS <<\_ACEOF
17167 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17168 s,@configure_input@,$configure_input,;t t
17169 s,@srcdir@,$ac_srcdir,;t t
17170 s,@abs_srcdir@,$ac_abs_srcdir,;t t
17171 s,@top_srcdir@,$ac_top_srcdir,;t t
17172 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
17173 s,@builddir@,$ac_builddir,;t t
17174 s,@abs_builddir@,$ac_abs_builddir,;t t
17175 s,@top_builddir@,$ac_top_builddir,;t t
17176 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
17177 s,@INSTALL@,$ac_INSTALL,;t t
17178 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
17180 if test x"$ac_file" != x-; then
17181 mv $tmp/out $ac_file
17189 cat >>$CONFIG_STATUS <<\_ACEOF
17192 # CONFIG_HEADER section.
17195 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
17196 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17198 # ac_d sets the value in "#define NAME VALUE" lines.
17199 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17200 ac_dB='[ ].*$,\1#\2'
17203 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17204 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17205 ac_uB='$,\1#\2define\3'
17209 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
17210 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17212 - | *:- | *:-:* ) # input from stdin
17214 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
17215 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
17216 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
17217 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
17218 * ) ac_file_in=$ac_file.in ;;
17221 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
17222 echo "$as_me: creating $ac_file" >&6;}
17224 # First look for the input files in the build tree, otherwise in the
17226 ac_file_inputs=`IFS=:
17227 for f in $ac_file_in; do
17229 -) echo $tmp/stdin ;;
17231 # Absolute (can't be DOS-style, as IFS=:)
17232 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17233 echo "$as_me: error: cannot find input file: $f" >&2;}
17234 { (exit 1); exit 1; }; }
17237 if test -f "$f"; then
17240 elif test -f "$srcdir/$f"; then
17245 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17246 echo "$as_me: error: cannot find input file: $f" >&2;}
17247 { (exit 1); exit 1; }; }
17250 done` || { (exit 1); exit 1; }
17251 # Remove the trailing spaces.
17252 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
17256 # Transform confdefs.h into two sed scripts, `conftest.defines' and
17257 # `conftest.undefs', that substitutes the proper values into
17258 # config.h.in to produce config.h. The first handles `#define'
17259 # templates, and the second `#undef' templates.
17260 # And first: Protect against being on the right side of a sed subst in
17261 # config.status. Protect against being in an unquoted here document
17262 # in config.status.
17263 rm -f conftest.defines conftest.undefs
17264 # Using a here document instead of a string reduces the quoting nightmare.
17265 # Putting comments in sed scripts is not portable.
17267 # `end' is used to avoid that the second main sed command (meant for
17268 # 0-ary CPP macros) applies to n-ary macro definitions.
17269 # See the Autoconf documentation for `clear'.
17270 cat >confdef2sed.sed <<\_ACEOF
17275 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
17277 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
17280 # If some macros were called several times there might be several times
17281 # the same #defines, which is useless. Nevertheless, we may not want to
17282 # sort them, since we want the *last* AC-DEFINE to be honored.
17283 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
17284 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
17285 rm -f confdef2sed.sed
17287 # This sed command replaces #undef with comments. This is necessary, for
17288 # example, in the case of _POSIX_SOURCE, which is predefined and required
17289 # on some systems where configure will not decide to define it.
17290 cat >>conftest.undefs <<\_ACEOF
17291 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
17294 # Break up conftest.defines because some shells have a limit on the size
17295 # of here documents, and old seds have small limits too (100 cmds).
17296 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
17297 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
17298 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
17299 echo ' :' >>$CONFIG_STATUS
17300 rm -f conftest.tail
17301 while grep . conftest.defines >/dev/null
17303 # Write a limited-size here document to $tmp/defines.sed.
17304 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
17305 # Speed up: don't consider the non `#define' lines.
17306 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
17307 # Work around the forget-to-reset-the-flag bug.
17308 echo 't clr' >>$CONFIG_STATUS
17309 echo ': clr' >>$CONFIG_STATUS
17310 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
17312 sed -f $tmp/defines.sed $tmp/in >$tmp/out
17314 mv $tmp/out $tmp/in
17316 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
17317 rm -f conftest.defines
17318 mv conftest.tail conftest.defines
17320 rm -f conftest.defines
17321 echo ' fi # grep' >>$CONFIG_STATUS
17322 echo >>$CONFIG_STATUS
17324 # Break up conftest.undefs because some shells have a limit on the size
17325 # of here documents, and old seds have small limits too (100 cmds).
17326 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
17327 rm -f conftest.tail
17328 while grep . conftest.undefs >/dev/null
17330 # Write a limited-size here document to $tmp/undefs.sed.
17331 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
17332 # Speed up: don't consider the non `#undef'
17333 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
17334 # Work around the forget-to-reset-the-flag bug.
17335 echo 't clr' >>$CONFIG_STATUS
17336 echo ': clr' >>$CONFIG_STATUS
17337 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
17339 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
17341 mv $tmp/out $tmp/in
17343 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
17344 rm -f conftest.undefs
17345 mv conftest.tail conftest.undefs
17347 rm -f conftest.undefs
17349 cat >>$CONFIG_STATUS <<\_ACEOF
17350 # Let's still pretend it is `configure' which instantiates (i.e., don't
17351 # use $as_me), people would be surprised to read:
17352 # /* config.h. Generated by config.status. */
17353 if test x"$ac_file" = x-; then
17354 echo "/* Generated by configure. */" >$tmp/config.h
17356 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
17358 cat $tmp/in >>$tmp/config.h
17360 if test x"$ac_file" != x-; then
17361 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
17362 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
17363 echo "$as_me: $ac_file is unchanged" >&6;}
17365 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
17366 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17367 X"$ac_file" : 'X\(//\)[^/]' \| \
17368 X"$ac_file" : 'X\(//\)$' \| \
17369 X"$ac_file" : 'X\(/\)' \| \
17370 . : '\(.\)' 2>/dev/null ||
17372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17373 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17374 /^X\(\/\/\)$/{ s//\1/; q; }
17375 /^X\(\/\).*/{ s//\1/; q; }
17377 { if $as_mkdir_p; then
17382 while test ! -d "$as_dir"; do
17383 as_dirs="$as_dir $as_dirs"
17384 as_dir=`(dirname "$as_dir") 2>/dev/null ||
17385 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17386 X"$as_dir" : 'X\(//\)[^/]' \| \
17387 X"$as_dir" : 'X\(//\)$' \| \
17388 X"$as_dir" : 'X\(/\)' \| \
17389 . : '\(.\)' 2>/dev/null ||
17391 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17392 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17393 /^X\(\/\/\)$/{ s//\1/; q; }
17394 /^X\(\/\).*/{ s//\1/; q; }
17397 test ! -n "$as_dirs" || mkdir $as_dirs
17398 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17399 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17400 { (exit 1); exit 1; }; }; }
17403 mv $tmp/config.h $ac_file
17407 rm -f $tmp/config.h
17411 cat >>$CONFIG_STATUS <<\_ACEOF
17414 # CONFIG_COMMANDS section.
17416 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
17417 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
17418 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
17419 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
17420 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17421 X"$ac_dest" : 'X\(//\)[^/]' \| \
17422 X"$ac_dest" : 'X\(//\)$' \| \
17423 X"$ac_dest" : 'X\(/\)' \| \
17424 . : '\(.\)' 2>/dev/null ||
17426 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17427 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17428 /^X\(\/\/\)$/{ s//\1/; q; }
17429 /^X\(\/\).*/{ s//\1/; q; }
17433 if test "$ac_dir" != .; then
17434 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17435 # A "../" for each directory in $ac_dir_suffix.
17436 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17438 ac_dir_suffix= ac_top_builddir=
17442 .) # No --srcdir option. We are building in place.
17444 if test -z "$ac_top_builddir"; then
17447 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
17449 [\\/]* | ?:[\\/]* ) # Absolute path.
17450 ac_srcdir=$srcdir$ac_dir_suffix;
17451 ac_top_srcdir=$srcdir ;;
17452 *) # Relative path.
17453 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
17454 ac_top_srcdir=$ac_top_builddir$srcdir ;;
17456 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
17458 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
17459 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
17460 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
17461 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
17464 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
17465 echo "$as_me: executing $ac_dest commands" >&6;}
17467 controls ) test -d "controls" || ({ echo "$as_me:$LINENO: creating controls" >&5
17468 echo "$as_me: creating controls" >&6;} && mkdir "controls") ;;
17469 dlls/ddraw/d3ddevice ) test -d "dlls/ddraw/d3ddevice" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
17470 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir "dlls/ddraw/d3ddevice") ;;
17471 dlls/ddraw/dclipper ) test -d "dlls/ddraw/dclipper" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
17472 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir "dlls/ddraw/dclipper") ;;
17473 dlls/ddraw/ddraw ) test -d "dlls/ddraw/ddraw" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
17474 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir "dlls/ddraw/ddraw") ;;
17475 dlls/ddraw/direct3d ) test -d "dlls/ddraw/direct3d" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
17476 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir "dlls/ddraw/direct3d") ;;
17477 dlls/ddraw/dpalette ) test -d "dlls/ddraw/dpalette" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
17478 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir "dlls/ddraw/dpalette") ;;
17479 dlls/ddraw/dsurface ) test -d "dlls/ddraw/dsurface" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
17480 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir "dlls/ddraw/dsurface") ;;
17481 dlls/dinput/joystick ) test -d "dlls/dinput/joystick" || ({ echo "$as_me:$LINENO: creating dlls/dinput/joystick" >&5
17482 echo "$as_me: creating dlls/dinput/joystick" >&6;} && mkdir "dlls/dinput/joystick") ;;
17483 dlls/dinput/keyboard ) test -d "dlls/dinput/keyboard" || ({ echo "$as_me:$LINENO: creating dlls/dinput/keyboard" >&5
17484 echo "$as_me: creating dlls/dinput/keyboard" >&6;} && mkdir "dlls/dinput/keyboard") ;;
17485 dlls/dinput/mouse ) test -d "dlls/dinput/mouse" || ({ echo "$as_me:$LINENO: creating dlls/dinput/mouse" >&5
17486 echo "$as_me: creating dlls/dinput/mouse" >&6;} && mkdir "dlls/dinput/mouse") ;;
17487 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
17488 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
17489 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
17490 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
17491 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
17492 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
17493 dlls/user/dde ) test -d "dlls/user/dde" || ({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
17494 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir "dlls/user/dde") ;;
17495 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
17496 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
17497 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
17498 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
17499 files ) test -d "files" || ({ echo "$as_me:$LINENO: creating files" >&5
17500 echo "$as_me: creating files" >&6;} && mkdir "files") ;;
17501 graphics ) test -d "graphics" || ({ echo "$as_me:$LINENO: creating graphics" >&5
17502 echo "$as_me: creating graphics" >&6;} && mkdir "graphics") ;;
17503 graphics/x11drv ) test -d "graphics/x11drv" || ({ echo "$as_me:$LINENO: creating graphics/x11drv" >&5
17504 echo "$as_me: creating graphics/x11drv" >&6;} && mkdir "graphics/x11drv") ;;
17505 if1632 ) test -d "if1632" || ({ echo "$as_me:$LINENO: creating if1632" >&5
17506 echo "$as_me: creating if1632" >&6;} && mkdir "if1632") ;;
17507 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
17508 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
17509 loader ) test -d "loader" || ({ echo "$as_me:$LINENO: creating loader" >&5
17510 echo "$as_me: creating loader" >&6;} && mkdir "loader") ;;
17511 loader/ne ) test -d "loader/ne" || ({ echo "$as_me:$LINENO: creating loader/ne" >&5
17512 echo "$as_me: creating loader/ne" >&6;} && mkdir "loader/ne") ;;
17513 memory ) test -d "memory" || ({ echo "$as_me:$LINENO: creating memory" >&5
17514 echo "$as_me: creating memory" >&6;} && mkdir "memory") ;;
17515 misc ) test -d "misc" || ({ echo "$as_me:$LINENO: creating misc" >&5
17516 echo "$as_me: creating misc" >&6;} && mkdir "misc") ;;
17517 msdos ) test -d "msdos" || ({ echo "$as_me:$LINENO: creating msdos" >&5
17518 echo "$as_me: creating msdos" >&6;} && mkdir "msdos") ;;
17519 objects ) test -d "objects" || ({ echo "$as_me:$LINENO: creating objects" >&5
17520 echo "$as_me: creating objects" >&6;} && mkdir "objects") ;;
17521 ole ) test -d "ole" || ({ echo "$as_me:$LINENO: creating ole" >&5
17522 echo "$as_me: creating ole" >&6;} && mkdir "ole") ;;
17523 programs/regapi/tests ) test -d "programs/regapi/tests" || ({ echo "$as_me:$LINENO: creating programs/regapi/tests" >&5
17524 echo "$as_me: creating programs/regapi/tests" >&6;} && mkdir "programs/regapi/tests") ;;
17525 programs/regedit/tests ) test -d "programs/regedit/tests" || ({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
17526 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir "programs/regedit/tests") ;;
17527 relay32 ) test -d "relay32" || ({ echo "$as_me:$LINENO: creating relay32" >&5
17528 echo "$as_me: creating relay32" >&6;} && mkdir "relay32") ;;
17529 scheduler ) test -d "scheduler" || ({ echo "$as_me:$LINENO: creating scheduler" >&5
17530 echo "$as_me: creating scheduler" >&6;} && mkdir "scheduler") ;;
17531 win32 ) test -d "win32" || ({ echo "$as_me:$LINENO: creating win32" >&5
17532 echo "$as_me: creating win32" >&6;} && mkdir "win32") ;;
17533 windows ) test -d "windows" || ({ echo "$as_me:$LINENO: creating windows" >&5
17534 echo "$as_me: creating windows" >&6;} && mkdir "windows") ;;
17539 cat >>$CONFIG_STATUS <<\_ACEOF
17541 { (exit 0); exit 0; }
17543 chmod +x $CONFIG_STATUS
17544 ac_clean_files=$ac_clean_files_save
17547 # configure is writing to config.log, and then calls config.status.
17548 # config.status does its own redirection, appending to config.log.
17549 # Unfortunately, on DOS this fails, as config.log is still kept open
17550 # by configure, so config.status won't be able to write to it; its
17551 # output is simply discarded. So we exec the FD to /dev/null,
17552 # effectively closing config.log, so it can be properly (re)opened and
17553 # appended to by config.status. When coming back to configure, we
17554 # need to make the FD available again.
17555 if test "$no_create" != yes; then
17557 ac_config_status_args=
17558 test "$silent" = yes &&
17559 ac_config_status_args="$ac_config_status_args --quiet"
17561 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17563 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17564 # would make configure fail if this is the last instruction.
17565 $ac_cs_success || { (exit 1); exit 1; }
17569 if test "$have_x" = "no"
17572 echo "*** Warning: X development files not found. Wine will be built without"
17573 echo "*** X support, which currently does not work, and would probably not be"
17574 echo "*** what you want anyway. You will need to install devel packages of"
17575 echo "*** Xlib/Xfree86 at the very least."
17578 if test "$wine_cv_opengl_version_OK" = "no"
17581 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
17582 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
17585 if test "$wine_cv_msg_freetype" = "yes"
17588 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
17589 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
17590 echo "*** freetype-devel package (or its equivalent on your distribution) to"
17591 echo "*** enable Wine to use TrueType fonts."
17595 echo "Configure finished. Do 'make depend && make' to compile Wine."