2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for Wine 20030318.
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='20030318'
270 PACKAGE_STRING='Wine 20030318'
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 OPTIONS WIN16_FILES WIN16_INSTALL build build_cpu build_vendor build_os host host_cpu host_vendor host_os SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP TOOLSDIR X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS YACC LEX LEXLIB LEX_OUTPUT_ROOT XYACC XLEX 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 DLLEXT DLLFLAGS DLLIBS LDDLLFLAGS LDSHARED LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS CROSSTEST CROSSCC LDPATH CRTLIBS LDD ALLOCA LIBOBJS LTLIBOBJS'
312 ac_subst_files='MAKE_RULES MAKE_DLL_RULES MAKE_TEST_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 20030318 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 20030318:";;
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-wine-tools=<dir> use Wine tools from directory <dir>
862 --with-x use the X Window System
864 Some influential environment variables:
865 CC C compiler command
866 CFLAGS C compiler flags
867 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
868 nonstandard directory <lib dir>
869 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
870 headers in a nonstandard directory <include dir>
873 Use these variables to override the choices made by `configure' or to help
874 it to find libraries and programs with nonstandard names/locations.
879 if test "$ac_init_help" = "recursive"; then
880 # If there are subdirs, report their specific --help.
882 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
883 test -d $ac_dir || continue
886 if test "$ac_dir" != .; then
887 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
888 # A "../" for each directory in $ac_dir_suffix.
889 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
891 ac_dir_suffix= ac_top_builddir=
895 .) # No --srcdir option. We are building in place.
897 if test -z "$ac_top_builddir"; then
900 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
902 [\\/]* | ?:[\\/]* ) # Absolute path.
903 ac_srcdir=$srcdir$ac_dir_suffix;
904 ac_top_srcdir=$srcdir ;;
906 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
907 ac_top_srcdir=$ac_top_builddir$srcdir ;;
909 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
911 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
912 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
913 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
914 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
917 # Check for guested configure; otherwise get Cygnus style configure.
918 if test -f $ac_srcdir/configure.gnu; then
920 $SHELL $ac_srcdir/configure.gnu --help=recursive
921 elif test -f $ac_srcdir/configure; then
923 $SHELL $ac_srcdir/configure --help=recursive
924 elif test -f $ac_srcdir/configure.ac ||
925 test -f $ac_srcdir/configure.in; then
929 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
935 test -n "$ac_init_help" && exit 0
936 if $ac_init_version; then
938 Wine configure 20030318
939 generated by GNU Autoconf 2.57
941 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
942 Free Software Foundation, Inc.
943 This configure script is free software; the Free Software Foundation
944 gives unlimited permission to copy, distribute and modify it.
950 This file contains any messages produced by compilers while
951 running configure, to aid debugging if configure makes a mistake.
953 It was created by Wine $as_me 20030318, which was
954 generated by GNU Autoconf 2.57. Invocation command line was
965 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
966 uname -m = `(uname -m) 2>/dev/null || echo unknown`
967 uname -r = `(uname -r) 2>/dev/null || echo unknown`
968 uname -s = `(uname -s) 2>/dev/null || echo unknown`
969 uname -v = `(uname -v) 2>/dev/null || echo unknown`
971 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
972 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
974 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
975 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
976 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
977 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
978 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
979 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
980 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
988 test -z "$as_dir" && as_dir=.
1004 # Keep a trace of the command line.
1005 # Strip out --no-create and --no-recursion so they do not pile up.
1006 # Strip out --silent because we don't want to record it for future runs.
1007 # Also quote any args containing shell meta-characters.
1008 # Make two passes to allow for proper duplicate-argument suppression.
1013 ac_must_keep_next=false
1019 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1020 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1021 | -silent | --silent | --silen | --sile | --sil)
1023 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1024 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1027 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1029 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1030 if test $ac_must_keep_next = true; then
1031 ac_must_keep_next=false # Got value, back to normal.
1034 *=* | --config-cache | -C | -disable-* | --disable-* \
1035 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1036 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1037 | -with-* | --with-* | -without-* | --without-* | --x)
1038 case "$ac_configure_args0 " in
1039 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1042 -* ) ac_must_keep_next=true ;;
1045 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1046 # Get rid of the leading space.
1052 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1053 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1055 # When interrupted or exit'd, cleanup temporary files, and complete
1056 # config.log. We remove comments because anyway the quotes in there
1057 # would cause problems or look ugly.
1058 # WARNING: Be sure not to use single quotes in there, as some shells,
1059 # such as our DU 5.0 friend, will then `close' the trap.
1060 trap 'exit_status=$?
1061 # Save into config.log some information that might help in debugging.
1066 ## ---------------- ##
1067 ## Cache variables. ##
1068 ## ---------------- ##
1071 # The following way of writing the cache mishandles newlines in values,
1074 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1077 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1078 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1082 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1089 ## ----------------- ##
1090 ## Output variables. ##
1091 ## ----------------- ##
1094 for ac_var in $ac_subst_vars
1096 eval ac_val=$`echo $ac_var`
1097 echo "$ac_var='"'"'$ac_val'"'"'"
1101 if test -n "$ac_subst_files"; then
1108 for ac_var in $ac_subst_files
1110 eval ac_val=$`echo $ac_var`
1111 echo "$ac_var='"'"'$ac_val'"'"'"
1116 if test -s confdefs.h; then
1123 sed "/^$/d" confdefs.h | sort
1126 test "$ac_signal" != 0 &&
1127 echo "$as_me: caught signal $ac_signal"
1128 echo "$as_me: exit $exit_status"
1130 rm -f core core.* *.core &&
1131 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1134 for ac_signal in 1 2 13 15; do
1135 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1139 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1140 rm -rf conftest* confdefs.h
1141 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1144 # Predefined preprocessor variables.
1146 cat >>confdefs.h <<_ACEOF
1147 #define PACKAGE_NAME "$PACKAGE_NAME"
1151 cat >>confdefs.h <<_ACEOF
1152 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1156 cat >>confdefs.h <<_ACEOF
1157 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1161 cat >>confdefs.h <<_ACEOF
1162 #define PACKAGE_STRING "$PACKAGE_STRING"
1166 cat >>confdefs.h <<_ACEOF
1167 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1171 # Let the site file select an alternate cache file if it wants to.
1172 # Prefer explicitly selected file to automatically selected ones.
1173 if test -z "$CONFIG_SITE"; then
1174 if test "x$prefix" != xNONE; then
1175 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1177 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1180 for ac_site_file in $CONFIG_SITE; do
1181 if test -r "$ac_site_file"; then
1182 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1183 echo "$as_me: loading site script $ac_site_file" >&6;}
1184 sed 's/^/| /' "$ac_site_file" >&5
1189 if test -r "$cache_file"; then
1190 # Some versions of bash will fail to source /dev/null (special
1191 # files actually), so we avoid doing that.
1192 if test -f "$cache_file"; then
1193 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1194 echo "$as_me: loading cache $cache_file" >&6;}
1196 [\\/]* | ?:[\\/]* ) . $cache_file;;
1197 *) . ./$cache_file;;
1201 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1202 echo "$as_me: creating cache $cache_file" >&6;}
1206 # Check that the precious variables saved in the cache have kept the same
1208 ac_cache_corrupted=false
1209 for ac_var in `(set) 2>&1 |
1210 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1211 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1212 eval ac_new_set=\$ac_env_${ac_var}_set
1213 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1214 eval ac_new_val="\$ac_env_${ac_var}_value"
1215 case $ac_old_set,$ac_new_set in
1217 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1218 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1219 ac_cache_corrupted=: ;;
1221 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1222 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1223 ac_cache_corrupted=: ;;
1226 if test "x$ac_old_val" != "x$ac_new_val"; then
1227 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1228 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1229 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1230 echo "$as_me: former value: $ac_old_val" >&2;}
1231 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1232 echo "$as_me: current value: $ac_new_val" >&2;}
1233 ac_cache_corrupted=:
1236 # Pass precious variables to config.status.
1237 if test "$ac_new_set" = set; then
1239 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1240 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1241 *) ac_arg=$ac_var=$ac_new_val ;;
1243 case " $ac_configure_args " in
1244 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1245 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1249 if $ac_cache_corrupted; then
1250 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1251 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1252 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1253 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1254 { (exit 1); exit 1; }; }
1258 ac_cpp='$CPP $CPPFLAGS'
1259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1290 ac_config_headers="$ac_config_headers include/config.h"
1293 for ac_dir in tools $srcdir/tools; do
1294 if test -f $ac_dir/install-sh; then
1296 ac_install_sh="$ac_aux_dir/install-sh -c"
1298 elif test -f $ac_dir/install.sh; then
1300 ac_install_sh="$ac_aux_dir/install.sh -c"
1302 elif test -f $ac_dir/shtool; then
1304 ac_install_sh="$ac_aux_dir/shtool install -c"
1308 if test -z "$ac_aux_dir"; then
1309 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1310 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1311 { (exit 1); exit 1; }; }
1313 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1314 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1315 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1319 # Check whether --enable-win16 or --disable-win16 was given.
1320 if test "${enable_win16+set}" = set; then
1321 enableval="$enable_win16"
1324 # Check whether --enable-debug or --disable-debug was given.
1325 if test "${enable_debug+set}" = set; then
1326 enableval="$enable_debug"
1329 # Check whether --enable-trace or --disable-trace was given.
1330 if test "${enable_trace+set}" = set; then
1331 enableval="$enable_trace"
1336 # Check whether --with-opengl or --without-opengl was given.
1337 if test "${with_opengl+set}" = set; then
1338 withval="$with_opengl"
1342 # Check whether --with-curses or --without-curses was given.
1343 if test "${with_curses+set}" = set; then
1344 withval="$with_curses"
1348 # Check whether --with-wine-tools or --without-wine-tools was given.
1349 if test "${with_wine_tools+set}" = set; then
1350 withval="$with_wine_tools"
1355 WIN16_FILES="\$(WIN16_FILES)"
1357 WIN16_INSTALL="\$(WIN16_INSTALL)"
1359 if test "x$enable_win16" = "xno"
1364 if test "x$enable_debug" = "xno"
1367 cat >>confdefs.h <<\_ACEOF
1368 #define NO_DEBUG_MSGS 1
1372 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1375 cat >>confdefs.h <<\_ACEOF
1376 #define NO_TRACE_MSGS 1
1382 # Make sure we can run config.sub.
1383 $ac_config_sub sun4 >/dev/null 2>&1 ||
1384 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1385 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1386 { (exit 1); exit 1; }; }
1388 echo "$as_me:$LINENO: checking build system type" >&5
1389 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1390 if test "${ac_cv_build+set}" = set; then
1391 echo $ECHO_N "(cached) $ECHO_C" >&6
1393 ac_cv_build_alias=$build_alias
1394 test -z "$ac_cv_build_alias" &&
1395 ac_cv_build_alias=`$ac_config_guess`
1396 test -z "$ac_cv_build_alias" &&
1397 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1398 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1399 { (exit 1); exit 1; }; }
1400 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1401 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1402 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1403 { (exit 1); exit 1; }; }
1406 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1407 echo "${ECHO_T}$ac_cv_build" >&6
1409 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1410 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1411 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1414 echo "$as_me:$LINENO: checking host system type" >&5
1415 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1416 if test "${ac_cv_host+set}" = set; then
1417 echo $ECHO_N "(cached) $ECHO_C" >&6
1419 ac_cv_host_alias=$host_alias
1420 test -z "$ac_cv_host_alias" &&
1421 ac_cv_host_alias=$ac_cv_build_alias
1422 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1423 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1424 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1425 { (exit 1); exit 1; }; }
1428 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1429 echo "${ECHO_T}$ac_cv_host" >&6
1431 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1432 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1433 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1436 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1437 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1438 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1439 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1440 echo $ECHO_N "(cached) $ECHO_C" >&6
1442 cat >conftest.make <<\_ACEOF
1444 @echo 'ac_maketemp="$(MAKE)"'
1446 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1447 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1448 if test -n "$ac_maketemp"; then
1449 eval ac_cv_prog_make_${ac_make}_set=yes
1451 eval ac_cv_prog_make_${ac_make}_set=no
1455 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1456 echo "$as_me:$LINENO: result: yes" >&5
1457 echo "${ECHO_T}yes" >&6
1460 echo "$as_me:$LINENO: result: no" >&5
1461 echo "${ECHO_T}no" >&6
1462 SET_MAKE="MAKE=${MAKE-make}"
1466 ac_cpp='$CPP $CPPFLAGS'
1467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1470 if test -n "$ac_tool_prefix"; then
1471 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1472 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1473 echo "$as_me:$LINENO: checking for $ac_word" >&5
1474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1475 if test "${ac_cv_prog_CC+set}" = set; then
1476 echo $ECHO_N "(cached) $ECHO_C" >&6
1478 if test -n "$CC"; then
1479 ac_cv_prog_CC="$CC" # Let the user override the test.
1481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1485 test -z "$as_dir" && as_dir=.
1486 for ac_exec_ext in '' $ac_executable_extensions; do
1487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1488 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1498 if test -n "$CC"; then
1499 echo "$as_me:$LINENO: result: $CC" >&5
1500 echo "${ECHO_T}$CC" >&6
1502 echo "$as_me:$LINENO: result: no" >&5
1503 echo "${ECHO_T}no" >&6
1507 if test -z "$ac_cv_prog_CC"; then
1509 # Extract the first word of "gcc", so it can be a program name with args.
1510 set dummy gcc; ac_word=$2
1511 echo "$as_me:$LINENO: checking for $ac_word" >&5
1512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1513 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1514 echo $ECHO_N "(cached) $ECHO_C" >&6
1516 if test -n "$ac_ct_CC"; then
1517 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1523 test -z "$as_dir" && as_dir=.
1524 for ac_exec_ext in '' $ac_executable_extensions; do
1525 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1526 ac_cv_prog_ac_ct_CC="gcc"
1527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1535 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1536 if test -n "$ac_ct_CC"; then
1537 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1538 echo "${ECHO_T}$ac_ct_CC" >&6
1540 echo "$as_me:$LINENO: result: no" >&5
1541 echo "${ECHO_T}no" >&6
1549 if test -z "$CC"; then
1550 if test -n "$ac_tool_prefix"; then
1551 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1552 set dummy ${ac_tool_prefix}cc; ac_word=$2
1553 echo "$as_me:$LINENO: checking for $ac_word" >&5
1554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1555 if test "${ac_cv_prog_CC+set}" = set; then
1556 echo $ECHO_N "(cached) $ECHO_C" >&6
1558 if test -n "$CC"; then
1559 ac_cv_prog_CC="$CC" # Let the user override the test.
1561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1565 test -z "$as_dir" && as_dir=.
1566 for ac_exec_ext in '' $ac_executable_extensions; do
1567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1568 ac_cv_prog_CC="${ac_tool_prefix}cc"
1569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1578 if test -n "$CC"; then
1579 echo "$as_me:$LINENO: result: $CC" >&5
1580 echo "${ECHO_T}$CC" >&6
1582 echo "$as_me:$LINENO: result: no" >&5
1583 echo "${ECHO_T}no" >&6
1587 if test -z "$ac_cv_prog_CC"; then
1589 # Extract the first word of "cc", so it can be a program name with args.
1590 set dummy cc; ac_word=$2
1591 echo "$as_me:$LINENO: checking for $ac_word" >&5
1592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1593 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1594 echo $ECHO_N "(cached) $ECHO_C" >&6
1596 if test -n "$ac_ct_CC"; then
1597 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1603 test -z "$as_dir" && as_dir=.
1604 for ac_exec_ext in '' $ac_executable_extensions; do
1605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1606 ac_cv_prog_ac_ct_CC="cc"
1607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1615 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1616 if test -n "$ac_ct_CC"; then
1617 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1618 echo "${ECHO_T}$ac_ct_CC" >&6
1620 echo "$as_me:$LINENO: result: no" >&5
1621 echo "${ECHO_T}no" >&6
1630 if test -z "$CC"; then
1631 # Extract the first word of "cc", so it can be a program name with args.
1632 set dummy cc; ac_word=$2
1633 echo "$as_me:$LINENO: checking for $ac_word" >&5
1634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1635 if test "${ac_cv_prog_CC+set}" = set; then
1636 echo $ECHO_N "(cached) $ECHO_C" >&6
1638 if test -n "$CC"; then
1639 ac_cv_prog_CC="$CC" # Let the user override the test.
1642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1646 test -z "$as_dir" && as_dir=.
1647 for ac_exec_ext in '' $ac_executable_extensions; do
1648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1649 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1650 ac_prog_rejected=yes
1654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1660 if test $ac_prog_rejected = yes; then
1661 # We found a bogon in the path, so make sure we never use it.
1662 set dummy $ac_cv_prog_CC
1664 if test $# != 0; then
1665 # We chose a different compiler from the bogus one.
1666 # However, it has the same basename, so the bogon will be chosen
1667 # first if we set CC to just the basename; use the full file name.
1669 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1675 if test -n "$CC"; then
1676 echo "$as_me:$LINENO: result: $CC" >&5
1677 echo "${ECHO_T}$CC" >&6
1679 echo "$as_me:$LINENO: result: no" >&5
1680 echo "${ECHO_T}no" >&6
1684 if test -z "$CC"; then
1685 if test -n "$ac_tool_prefix"; then
1688 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1689 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1690 echo "$as_me:$LINENO: checking for $ac_word" >&5
1691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1692 if test "${ac_cv_prog_CC+set}" = set; then
1693 echo $ECHO_N "(cached) $ECHO_C" >&6
1695 if test -n "$CC"; then
1696 ac_cv_prog_CC="$CC" # Let the user override the test.
1698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1702 test -z "$as_dir" && as_dir=.
1703 for ac_exec_ext in '' $ac_executable_extensions; do
1704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1705 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1715 if test -n "$CC"; then
1716 echo "$as_me:$LINENO: result: $CC" >&5
1717 echo "${ECHO_T}$CC" >&6
1719 echo "$as_me:$LINENO: result: no" >&5
1720 echo "${ECHO_T}no" >&6
1723 test -n "$CC" && break
1726 if test -z "$CC"; then
1730 # Extract the first word of "$ac_prog", so it can be a program name with args.
1731 set dummy $ac_prog; ac_word=$2
1732 echo "$as_me:$LINENO: checking for $ac_word" >&5
1733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1734 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1735 echo $ECHO_N "(cached) $ECHO_C" >&6
1737 if test -n "$ac_ct_CC"; then
1738 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1744 test -z "$as_dir" && as_dir=.
1745 for ac_exec_ext in '' $ac_executable_extensions; do
1746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1747 ac_cv_prog_ac_ct_CC="$ac_prog"
1748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1756 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1757 if test -n "$ac_ct_CC"; then
1758 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1759 echo "${ECHO_T}$ac_ct_CC" >&6
1761 echo "$as_me:$LINENO: result: no" >&5
1762 echo "${ECHO_T}no" >&6
1765 test -n "$ac_ct_CC" && break
1774 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1775 See \`config.log' for more details." >&5
1776 echo "$as_me: error: no acceptable C compiler found in \$PATH
1777 See \`config.log' for more details." >&2;}
1778 { (exit 1); exit 1; }; }
1780 # Provide some information about the compiler.
1781 echo "$as_me:$LINENO:" \
1782 "checking for C compiler version" >&5
1783 ac_compiler=`set X $ac_compile; echo $2`
1784 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1785 (eval $ac_compiler --version </dev/null >&5) 2>&5
1787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1788 (exit $ac_status); }
1789 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1790 (eval $ac_compiler -v </dev/null >&5) 2>&5
1792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1793 (exit $ac_status); }
1794 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1795 (eval $ac_compiler -V </dev/null >&5) 2>&5
1797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1798 (exit $ac_status); }
1800 cat >conftest.$ac_ext <<_ACEOF
1801 #line $LINENO "configure"
1804 cat confdefs.h >>conftest.$ac_ext
1805 cat >>conftest.$ac_ext <<_ACEOF
1806 /* end confdefs.h. */
1816 ac_clean_files_save=$ac_clean_files
1817 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1818 # Try to create an executable without -o first, disregard a.out.
1819 # It will help us diagnose broken compilers, and finding out an intuition
1821 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1822 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1823 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1824 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1825 (eval $ac_link_default) 2>&5
1827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1828 (exit $ac_status); }; then
1829 # Find the output, starting from the most likely. This scheme is
1830 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1833 # Be careful to initialize this variable, since it used to be cached.
1834 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1836 # b.out is created by i960 compilers.
1837 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1839 test -f "$ac_file" || continue
1841 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1844 # This is the source file.
1847 # We found the default executable, but exeext='' is most
1851 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1852 # FIXME: I believe we export ac_cv_exeext for Libtool,
1853 # but it would be cool to find out if it's true. Does anybody
1854 # maintain Libtool? --akim.
1862 echo "$as_me: failed program was:" >&5
1863 sed 's/^/| /' conftest.$ac_ext >&5
1865 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1866 See \`config.log' for more details." >&5
1867 echo "$as_me: error: C compiler cannot create executables
1868 See \`config.log' for more details." >&2;}
1869 { (exit 77); exit 77; }; }
1872 ac_exeext=$ac_cv_exeext
1873 echo "$as_me:$LINENO: result: $ac_file" >&5
1874 echo "${ECHO_T}$ac_file" >&6
1876 # Check the compiler produces executables we can run. If not, either
1877 # the compiler is broken, or we cross compile.
1878 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1879 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1880 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1881 # If not cross compiling, check that we can run a simple program.
1882 if test "$cross_compiling" != yes; then
1883 if { ac_try='./$ac_file'
1884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1888 (exit $ac_status); }; }; then
1891 if test "$cross_compiling" = maybe; then
1894 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1895 If you meant to cross compile, use \`--host'.
1896 See \`config.log' for more details." >&5
1897 echo "$as_me: error: cannot run C compiled programs.
1898 If you meant to cross compile, use \`--host'.
1899 See \`config.log' for more details." >&2;}
1900 { (exit 1); exit 1; }; }
1904 echo "$as_me:$LINENO: result: yes" >&5
1905 echo "${ECHO_T}yes" >&6
1907 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1908 ac_clean_files=$ac_clean_files_save
1909 # Check the compiler produces executables we can run. If not, either
1910 # the compiler is broken, or we cross compile.
1911 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1912 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1913 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1914 echo "${ECHO_T}$cross_compiling" >&6
1916 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1917 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1919 (eval $ac_link) 2>&5
1921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1922 (exit $ac_status); }; then
1923 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1924 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1925 # work properly (i.e., refer to `conftest.exe'), while it won't with
1927 for ac_file in conftest.exe conftest conftest.*; do
1928 test -f "$ac_file" || continue
1930 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1931 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1938 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1939 See \`config.log' for more details." >&5
1940 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1941 See \`config.log' for more details." >&2;}
1942 { (exit 1); exit 1; }; }
1945 rm -f conftest$ac_cv_exeext
1946 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1947 echo "${ECHO_T}$ac_cv_exeext" >&6
1949 rm -f conftest.$ac_ext
1950 EXEEXT=$ac_cv_exeext
1952 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1953 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1954 if test "${ac_cv_objext+set}" = set; then
1955 echo $ECHO_N "(cached) $ECHO_C" >&6
1957 cat >conftest.$ac_ext <<_ACEOF
1958 #line $LINENO "configure"
1961 cat confdefs.h >>conftest.$ac_ext
1962 cat >>conftest.$ac_ext <<_ACEOF
1963 /* end confdefs.h. */
1973 rm -f conftest.o conftest.obj
1974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1975 (eval $ac_compile) 2>&5
1977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1978 (exit $ac_status); }; then
1979 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1981 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1982 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1987 echo "$as_me: failed program was:" >&5
1988 sed 's/^/| /' conftest.$ac_ext >&5
1990 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1991 See \`config.log' for more details." >&5
1992 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1993 See \`config.log' for more details." >&2;}
1994 { (exit 1); exit 1; }; }
1997 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1999 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2000 echo "${ECHO_T}$ac_cv_objext" >&6
2001 OBJEXT=$ac_cv_objext
2003 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2004 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2005 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2006 echo $ECHO_N "(cached) $ECHO_C" >&6
2008 cat >conftest.$ac_ext <<_ACEOF
2009 #line $LINENO "configure"
2012 cat confdefs.h >>conftest.$ac_ext
2013 cat >>conftest.$ac_ext <<_ACEOF
2014 /* end confdefs.h. */
2027 rm -f conftest.$ac_objext
2028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2029 (eval $ac_compile) 2>&5
2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032 (exit $ac_status); } &&
2033 { ac_try='test -s conftest.$ac_objext'
2034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2038 (exit $ac_status); }; }; then
2041 echo "$as_me: failed program was:" >&5
2042 sed 's/^/| /' conftest.$ac_ext >&5
2046 rm -f conftest.$ac_objext conftest.$ac_ext
2047 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2050 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2051 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2052 GCC=`test $ac_compiler_gnu = yes && echo yes`
2053 ac_test_CFLAGS=${CFLAGS+set}
2054 ac_save_CFLAGS=$CFLAGS
2056 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2057 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2058 if test "${ac_cv_prog_cc_g+set}" = set; then
2059 echo $ECHO_N "(cached) $ECHO_C" >&6
2061 cat >conftest.$ac_ext <<_ACEOF
2062 #line $LINENO "configure"
2065 cat confdefs.h >>conftest.$ac_ext
2066 cat >>conftest.$ac_ext <<_ACEOF
2067 /* end confdefs.h. */
2077 rm -f conftest.$ac_objext
2078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2079 (eval $ac_compile) 2>&5
2081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2082 (exit $ac_status); } &&
2083 { ac_try='test -s conftest.$ac_objext'
2084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2088 (exit $ac_status); }; }; then
2091 echo "$as_me: failed program was:" >&5
2092 sed 's/^/| /' conftest.$ac_ext >&5
2096 rm -f conftest.$ac_objext conftest.$ac_ext
2098 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2099 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2100 if test "$ac_test_CFLAGS" = set; then
2101 CFLAGS=$ac_save_CFLAGS
2102 elif test $ac_cv_prog_cc_g = yes; then
2103 if test "$GCC" = yes; then
2109 if test "$GCC" = yes; then
2115 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2116 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2117 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2118 echo $ECHO_N "(cached) $ECHO_C" >&6
2120 ac_cv_prog_cc_stdc=no
2122 cat >conftest.$ac_ext <<_ACEOF
2123 #line $LINENO "configure"
2126 cat confdefs.h >>conftest.$ac_ext
2127 cat >>conftest.$ac_ext <<_ACEOF
2128 /* end confdefs.h. */
2131 #include <sys/types.h>
2132 #include <sys/stat.h>
2133 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2134 struct buf { int x; };
2135 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2136 static char *e (p, i)
2142 static char *f (char * (*g) (char **, int), char **p, ...)
2147 s = g (p, va_arg (v,int));
2151 int test (int i, double x);
2152 struct s1 {int (*f) (int a);};
2153 struct s2 {int (*f) (double a);};
2154 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2160 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2165 # Don't try gcc -ansi; that turns off useful extensions and
2166 # breaks some systems' header files.
2167 # AIX -qlanglvl=ansi
2168 # Ultrix and OSF/1 -std1
2169 # HP-UX 10.20 and later -Ae
2170 # HP-UX older versions -Aa -D_HPUX_SOURCE
2171 # SVR4 -Xc -D__EXTENSIONS__
2172 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2174 CC="$ac_save_CC $ac_arg"
2175 rm -f conftest.$ac_objext
2176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2177 (eval $ac_compile) 2>&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); } &&
2181 { ac_try='test -s conftest.$ac_objext'
2182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186 (exit $ac_status); }; }; then
2187 ac_cv_prog_cc_stdc=$ac_arg
2190 echo "$as_me: failed program was:" >&5
2191 sed 's/^/| /' conftest.$ac_ext >&5
2194 rm -f conftest.$ac_objext
2196 rm -f conftest.$ac_ext conftest.$ac_objext
2201 case "x$ac_cv_prog_cc_stdc" in
2203 echo "$as_me:$LINENO: result: none needed" >&5
2204 echo "${ECHO_T}none needed" >&6 ;;
2206 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2207 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2208 CC="$CC $ac_cv_prog_cc_stdc" ;;
2211 # Some people use a C++ compiler to compile C. Since we use `exit',
2212 # in C++ we need to declare it. In case someone uses the same compiler
2213 # for both compiling C and C++ we need to have the C++ compiler decide
2214 # the declaration of exit, since it's the most demanding environment.
2215 cat >conftest.$ac_ext <<_ACEOF
2220 rm -f conftest.$ac_objext
2221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2222 (eval $ac_compile) 2>&5
2224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2225 (exit $ac_status); } &&
2226 { ac_try='test -s conftest.$ac_objext'
2227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2231 (exit $ac_status); }; }; then
2232 for ac_declaration in \
2234 '#include <stdlib.h>' \
2235 'extern "C" void std::exit (int) throw (); using std::exit;' \
2236 'extern "C" void std::exit (int); using std::exit;' \
2237 'extern "C" void exit (int) throw ();' \
2238 'extern "C" void exit (int);' \
2241 cat >conftest.$ac_ext <<_ACEOF
2242 #line $LINENO "configure"
2245 cat confdefs.h >>conftest.$ac_ext
2246 cat >>conftest.$ac_ext <<_ACEOF
2247 /* end confdefs.h. */
2258 rm -f conftest.$ac_objext
2259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2260 (eval $ac_compile) 2>&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); } &&
2264 { ac_try='test -s conftest.$ac_objext'
2265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269 (exit $ac_status); }; }; then
2272 echo "$as_me: failed program was:" >&5
2273 sed 's/^/| /' conftest.$ac_ext >&5
2277 rm -f conftest.$ac_objext conftest.$ac_ext
2278 cat >conftest.$ac_ext <<_ACEOF
2279 #line $LINENO "configure"
2282 cat confdefs.h >>conftest.$ac_ext
2283 cat >>conftest.$ac_ext <<_ACEOF
2284 /* end confdefs.h. */
2294 rm -f conftest.$ac_objext
2295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2296 (eval $ac_compile) 2>&5
2298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2299 (exit $ac_status); } &&
2300 { ac_try='test -s conftest.$ac_objext'
2301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); }; }; then
2308 echo "$as_me: failed program was:" >&5
2309 sed 's/^/| /' conftest.$ac_ext >&5
2312 rm -f conftest.$ac_objext conftest.$ac_ext
2315 if test -n "$ac_declaration"; then
2316 echo '#ifdef __cplusplus' >>confdefs.h
2317 echo $ac_declaration >>confdefs.h
2318 echo '#endif' >>confdefs.h
2322 echo "$as_me: failed program was:" >&5
2323 sed 's/^/| /' conftest.$ac_ext >&5
2326 rm -f conftest.$ac_objext conftest.$ac_ext
2328 ac_cpp='$CPP $CPPFLAGS'
2329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2334 ac_cpp='$CPP $CPPFLAGS'
2335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2338 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2339 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2340 # On Suns, sometimes $CPP names a directory.
2341 if test -n "$CPP" && test -d "$CPP"; then
2344 if test -z "$CPP"; then
2345 if test "${ac_cv_prog_CPP+set}" = set; then
2346 echo $ECHO_N "(cached) $ECHO_C" >&6
2348 # Double quotes because CPP needs to be expanded
2349 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2352 for ac_c_preproc_warn_flag in '' yes
2354 # Use a header file that comes with gcc, so configuring glibc
2355 # with a fresh cross-compiler works.
2356 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2357 # <limits.h> exists even on freestanding compilers.
2358 # On the NeXT, cc -E runs the code through the compiler's parser,
2359 # not just through cpp. "Syntax error" is here to catch this case.
2360 cat >conftest.$ac_ext <<_ACEOF
2361 #line $LINENO "configure"
2364 cat confdefs.h >>conftest.$ac_ext
2365 cat >>conftest.$ac_ext <<_ACEOF
2366 /* end confdefs.h. */
2368 # include <limits.h>
2370 # include <assert.h>
2374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2375 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2377 grep -v '^ *+' conftest.er1 >conftest.err
2379 cat conftest.err >&5
2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381 (exit $ac_status); } >/dev/null; then
2382 if test -s conftest.err; then
2383 ac_cpp_err=$ac_c_preproc_warn_flag
2390 if test -z "$ac_cpp_err"; then
2393 echo "$as_me: failed program was:" >&5
2394 sed 's/^/| /' conftest.$ac_ext >&5
2396 # Broken: fails on valid input.
2399 rm -f conftest.err conftest.$ac_ext
2401 # OK, works on sane cases. Now check whether non-existent headers
2402 # can be detected and how.
2403 cat >conftest.$ac_ext <<_ACEOF
2404 #line $LINENO "configure"
2407 cat confdefs.h >>conftest.$ac_ext
2408 cat >>conftest.$ac_ext <<_ACEOF
2409 /* end confdefs.h. */
2410 #include <ac_nonexistent.h>
2412 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2413 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2415 grep -v '^ *+' conftest.er1 >conftest.err
2417 cat conftest.err >&5
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); } >/dev/null; then
2420 if test -s conftest.err; then
2421 ac_cpp_err=$ac_c_preproc_warn_flag
2428 if test -z "$ac_cpp_err"; then
2429 # Broken: success on invalid input.
2432 echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.$ac_ext >&5
2435 # Passes both tests.
2439 rm -f conftest.err conftest.$ac_ext
2442 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2443 rm -f conftest.err conftest.$ac_ext
2444 if $ac_preproc_ok; then
2456 echo "$as_me:$LINENO: result: $CPP" >&5
2457 echo "${ECHO_T}$CPP" >&6
2459 for ac_c_preproc_warn_flag in '' yes
2461 # Use a header file that comes with gcc, so configuring glibc
2462 # with a fresh cross-compiler works.
2463 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2464 # <limits.h> exists even on freestanding compilers.
2465 # On the NeXT, cc -E runs the code through the compiler's parser,
2466 # not just through cpp. "Syntax error" is here to catch this case.
2467 cat >conftest.$ac_ext <<_ACEOF
2468 #line $LINENO "configure"
2471 cat confdefs.h >>conftest.$ac_ext
2472 cat >>conftest.$ac_ext <<_ACEOF
2473 /* end confdefs.h. */
2475 # include <limits.h>
2477 # include <assert.h>
2481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2482 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2484 grep -v '^ *+' conftest.er1 >conftest.err
2486 cat conftest.err >&5
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); } >/dev/null; then
2489 if test -s conftest.err; then
2490 ac_cpp_err=$ac_c_preproc_warn_flag
2497 if test -z "$ac_cpp_err"; then
2500 echo "$as_me: failed program was:" >&5
2501 sed 's/^/| /' conftest.$ac_ext >&5
2503 # Broken: fails on valid input.
2506 rm -f conftest.err conftest.$ac_ext
2508 # OK, works on sane cases. Now check whether non-existent headers
2509 # can be detected and how.
2510 cat >conftest.$ac_ext <<_ACEOF
2511 #line $LINENO "configure"
2514 cat confdefs.h >>conftest.$ac_ext
2515 cat >>conftest.$ac_ext <<_ACEOF
2516 /* end confdefs.h. */
2517 #include <ac_nonexistent.h>
2519 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2520 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2522 grep -v '^ *+' conftest.er1 >conftest.err
2524 cat conftest.err >&5
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526 (exit $ac_status); } >/dev/null; then
2527 if test -s conftest.err; then
2528 ac_cpp_err=$ac_c_preproc_warn_flag
2535 if test -z "$ac_cpp_err"; then
2536 # Broken: success on invalid input.
2539 echo "$as_me: failed program was:" >&5
2540 sed 's/^/| /' conftest.$ac_ext >&5
2542 # Passes both tests.
2546 rm -f conftest.err conftest.$ac_ext
2549 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2550 rm -f conftest.err conftest.$ac_ext
2551 if $ac_preproc_ok; then
2554 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2555 See \`config.log' for more details." >&5
2556 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2557 See \`config.log' for more details." >&2;}
2558 { (exit 1); exit 1; }; }
2562 ac_cpp='$CPP $CPPFLAGS'
2563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2568 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2569 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2570 if test "${wine_cv_toolsdir+set}" = set; then
2571 echo $ECHO_N "(cached) $ECHO_C" >&6
2573 if test -z "$with_wine_tools"; then
2574 if test "$cross_compiling" = "yes"; then
2575 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2576 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2577 { (exit 1); exit 1; }; }
2579 wine_cv_toolsdir="\$(TOPOBJDIR)"
2581 elif test -d "$with_wine_tools/tools/winebuild"; then
2582 case $with_wine_tools in
2583 /*) wine_cv_toolsdir="$with_wine_tools" ;;
2584 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
2587 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2588 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2589 { (exit 1); exit 1; }; }
2592 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2593 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2594 TOOLSDIR=$wine_cv_toolsdir
2599 echo "$as_me:$LINENO: checking for X" >&5
2600 echo $ECHO_N "checking for X... $ECHO_C" >&6
2603 # Check whether --with-x or --without-x was given.
2604 if test "${with_x+set}" = set; then
2608 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2609 if test "x$with_x" = xno; then
2610 # The user explicitly disabled X.
2613 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
2614 # Both variables are already set.
2617 if test "${ac_cv_have_x+set}" = set; then
2618 echo $ECHO_N "(cached) $ECHO_C" >&6
2620 # One or both of the vars are not set, and there is no cached value.
2621 ac_x_includes=no ac_x_libraries=no
2623 if mkdir conftest.dir; then
2625 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2626 cat >Imakefile <<'_ACEOF'
2628 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2630 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
2631 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2632 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2633 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2634 for ac_extension in a so sl; do
2635 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
2636 test -f $ac_im_libdir/libX11.$ac_extension; then
2637 ac_im_usrlibdir=$ac_im_libdir; break
2640 # Screen out bogus values from the imake configuration. They are
2641 # bogus both because they are the default anyway, and because
2642 # using them would break gcc on systems where it needs fixed includes.
2643 case $ac_im_incroot in
2645 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
2647 case $ac_im_usrlibdir in
2649 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
2656 # Standard set of common directories for X headers.
2657 # Check X11 before X11Rn because it is often a symlink to the current release.
2669 /usr/local/X11/include
2670 /usr/local/X11R6/include
2671 /usr/local/X11R5/include
2672 /usr/local/X11R4/include
2674 /usr/local/include/X11
2675 /usr/local/include/X11R6
2676 /usr/local/include/X11R5
2677 /usr/local/include/X11R4
2681 /usr/XFree86/include/X11
2685 /usr/unsupported/include
2687 /usr/local/x11r5/include
2688 /usr/lpp/Xamples/include
2690 /usr/openwin/include
2691 /usr/openwin/share/include'
2693 if test "$ac_x_includes" = no; then
2694 # Guess where to find include files, by looking for Intrinsic.h.
2695 # First, try using that file with no special directory specified.
2696 cat >conftest.$ac_ext <<_ACEOF
2697 #line $LINENO "configure"
2700 cat confdefs.h >>conftest.$ac_ext
2701 cat >>conftest.$ac_ext <<_ACEOF
2702 /* end confdefs.h. */
2703 #include <X11/Intrinsic.h>
2705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2706 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2708 grep -v '^ *+' conftest.er1 >conftest.err
2710 cat conftest.err >&5
2711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712 (exit $ac_status); } >/dev/null; then
2713 if test -s conftest.err; then
2714 ac_cpp_err=$ac_c_preproc_warn_flag
2721 if test -z "$ac_cpp_err"; then
2722 # We can compile using X headers with no special include directory.
2725 echo "$as_me: failed program was:" >&5
2726 sed 's/^/| /' conftest.$ac_ext >&5
2728 for ac_dir in $ac_x_header_dirs; do
2729 if test -r "$ac_dir/X11/Intrinsic.h"; then
2730 ac_x_includes=$ac_dir
2735 rm -f conftest.err conftest.$ac_ext
2736 fi # $ac_x_includes = no
2738 if test "$ac_x_libraries" = no; then
2739 # Check for the libraries.
2740 # See if we find them without any special options.
2741 # Don't add to $LIBS permanently.
2744 cat >conftest.$ac_ext <<_ACEOF
2745 #line $LINENO "configure"
2748 cat confdefs.h >>conftest.$ac_ext
2749 cat >>conftest.$ac_ext <<_ACEOF
2750 /* end confdefs.h. */
2751 #include <X11/Intrinsic.h>
2760 rm -f conftest.$ac_objext conftest$ac_exeext
2761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2762 (eval $ac_link) 2>&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); } &&
2766 { ac_try='test -s conftest$ac_exeext'
2767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }; }; then
2773 # We can link X programs with no special library path.
2776 echo "$as_me: failed program was:" >&5
2777 sed 's/^/| /' conftest.$ac_ext >&5
2780 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2782 # Don't even attempt the hair of trying to link an X program!
2783 for ac_extension in a so sl; do
2784 if test -r $ac_dir/libXt.$ac_extension; then
2785 ac_x_libraries=$ac_dir
2791 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2792 fi # $ac_x_libraries = no
2794 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
2795 # Didn't find X anywhere. Cache the known absence of X.
2796 ac_cv_have_x="have_x=no"
2798 # Record where we found X for the cache.
2799 ac_cv_have_x="have_x=yes \
2800 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2805 eval "$ac_cv_have_x"
2808 if test "$have_x" != yes; then
2809 echo "$as_me:$LINENO: result: $have_x" >&5
2810 echo "${ECHO_T}$have_x" >&6
2813 # If each of the values was on the command line, it overrides each guess.
2814 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
2815 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
2816 # Update the cache value to reflect the command line values.
2817 ac_cv_have_x="have_x=yes \
2818 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2819 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2820 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2823 if test "$no_x" = yes; then
2824 # Not all programs may use this symbol, but it does not hurt to define it.
2826 cat >>confdefs.h <<\_ACEOF
2827 #define X_DISPLAY_MISSING 1
2830 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
2832 if test -n "$x_includes"; then
2833 X_CFLAGS="$X_CFLAGS -I$x_includes"
2836 # It would also be nice to do this for all -L options, not just this one.
2837 if test -n "$x_libraries"; then
2838 X_LIBS="$X_LIBS -L$x_libraries"
2839 # For Solaris; some versions of Sun CC require a space after -R and
2840 # others require no space. Words are not sufficient . . . .
2841 case `(uname -sr) 2>/dev/null` in
2843 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2844 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2845 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
2846 cat >conftest.$ac_ext <<_ACEOF
2847 #line $LINENO "configure"
2850 cat confdefs.h >>conftest.$ac_ext
2851 cat >>conftest.$ac_ext <<_ACEOF
2852 /* end confdefs.h. */
2862 rm -f conftest.$ac_objext conftest$ac_exeext
2863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2864 (eval $ac_link) 2>&5
2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); } &&
2868 { ac_try='test -s conftest$ac_exeext'
2869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); }; }; then
2876 echo "$as_me: failed program was:" >&5
2877 sed 's/^/| /' conftest.$ac_ext >&5
2881 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2882 if test $ac_R_nospace = yes; then
2883 echo "$as_me:$LINENO: result: no" >&5
2884 echo "${ECHO_T}no" >&6
2885 X_LIBS="$X_LIBS -R$x_libraries"
2887 LIBS="$ac_xsave_LIBS -R $x_libraries"
2888 cat >conftest.$ac_ext <<_ACEOF
2889 #line $LINENO "configure"
2892 cat confdefs.h >>conftest.$ac_ext
2893 cat >>conftest.$ac_ext <<_ACEOF
2894 /* end confdefs.h. */
2904 rm -f conftest.$ac_objext conftest$ac_exeext
2905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2906 (eval $ac_link) 2>&5
2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); } &&
2910 { ac_try='test -s conftest$ac_exeext'
2911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); }; }; then
2918 echo "$as_me: failed program was:" >&5
2919 sed 's/^/| /' conftest.$ac_ext >&5
2923 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2924 if test $ac_R_space = yes; then
2925 echo "$as_me:$LINENO: result: yes" >&5
2926 echo "${ECHO_T}yes" >&6
2927 X_LIBS="$X_LIBS -R $x_libraries"
2929 echo "$as_me:$LINENO: result: neither works" >&5
2930 echo "${ECHO_T}neither works" >&6
2937 # Check for system-dependent libraries X programs must link with.
2938 # Do this before checking for the system-independent R6 libraries
2939 # (-lICE), since we may need -lsocket or whatever for X linking.
2941 if test "$ISC" = yes; then
2942 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
2944 # Martyn Johnson says this is needed for Ultrix, if the X
2945 # libraries were built with DECnet support. And Karl Berry says
2946 # the Alpha needs dnet_stub (dnet does not exist).
2947 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
2948 cat >conftest.$ac_ext <<_ACEOF
2949 #line $LINENO "configure"
2952 cat confdefs.h >>conftest.$ac_ext
2953 cat >>conftest.$ac_ext <<_ACEOF
2954 /* end confdefs.h. */
2956 /* Override any gcc2 internal prototype to avoid an error. */
2960 /* We use char because int might match the return type of a gcc2
2961 builtin and then its argument prototype would still apply. */
2962 char XOpenDisplay ();
2971 rm -f conftest.$ac_objext conftest$ac_exeext
2972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2973 (eval $ac_link) 2>&5
2975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976 (exit $ac_status); } &&
2977 { ac_try='test -s conftest$ac_exeext'
2978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982 (exit $ac_status); }; }; then
2985 echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2988 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
2989 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
2990 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
2991 echo $ECHO_N "(cached) $ECHO_C" >&6
2993 ac_check_lib_save_LIBS=$LIBS
2995 cat >conftest.$ac_ext <<_ACEOF
2996 #line $LINENO "configure"
2999 cat confdefs.h >>conftest.$ac_ext
3000 cat >>conftest.$ac_ext <<_ACEOF
3001 /* end confdefs.h. */
3003 /* Override any gcc2 internal prototype to avoid an error. */
3007 /* We use char because int might match the return type of a gcc2
3008 builtin and then its argument prototype would still apply. */
3018 rm -f conftest.$ac_objext conftest$ac_exeext
3019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3020 (eval $ac_link) 2>&5
3022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023 (exit $ac_status); } &&
3024 { ac_try='test -s conftest$ac_exeext'
3025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029 (exit $ac_status); }; }; then
3030 ac_cv_lib_dnet_dnet_ntoa=yes
3032 echo "$as_me: failed program was:" >&5
3033 sed 's/^/| /' conftest.$ac_ext >&5
3035 ac_cv_lib_dnet_dnet_ntoa=no
3037 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3038 LIBS=$ac_check_lib_save_LIBS
3040 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3041 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3042 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3043 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
3046 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
3047 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3048 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3049 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3050 echo $ECHO_N "(cached) $ECHO_C" >&6
3052 ac_check_lib_save_LIBS=$LIBS
3053 LIBS="-ldnet_stub $LIBS"
3054 cat >conftest.$ac_ext <<_ACEOF
3055 #line $LINENO "configure"
3058 cat confdefs.h >>conftest.$ac_ext
3059 cat >>conftest.$ac_ext <<_ACEOF
3060 /* end confdefs.h. */
3062 /* Override any gcc2 internal prototype to avoid an error. */
3066 /* We use char because int might match the return type of a gcc2
3067 builtin and then its argument prototype would still apply. */
3077 rm -f conftest.$ac_objext conftest$ac_exeext
3078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3079 (eval $ac_link) 2>&5
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); } &&
3083 { ac_try='test -s conftest$ac_exeext'
3084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); }; }; then
3089 ac_cv_lib_dnet_stub_dnet_ntoa=yes
3091 echo "$as_me: failed program was:" >&5
3092 sed 's/^/| /' conftest.$ac_ext >&5
3094 ac_cv_lib_dnet_stub_dnet_ntoa=no
3096 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3097 LIBS=$ac_check_lib_save_LIBS
3099 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3100 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3101 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3102 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
3107 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3108 LIBS="$ac_xsave_LIBS"
3110 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3111 # to get the SysV transport functions.
3112 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3114 # The nsl library prevents programs from opening the X display
3115 # on Irix 5.2, according to T.E. Dickey.
3116 # The functions gethostbyname, getservbyname, and inet_addr are
3117 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3118 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3119 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3120 if test "${ac_cv_func_gethostbyname+set}" = set; then
3121 echo $ECHO_N "(cached) $ECHO_C" >&6
3123 cat >conftest.$ac_ext <<_ACEOF
3124 #line $LINENO "configure"
3127 cat confdefs.h >>conftest.$ac_ext
3128 cat >>conftest.$ac_ext <<_ACEOF
3129 /* end confdefs.h. */
3130 /* System header to define __stub macros and hopefully few prototypes,
3131 which can conflict with char gethostbyname (); below.
3132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3133 <limits.h> exists even on freestanding compilers. */
3135 # include <limits.h>
3137 # include <assert.h>
3139 /* Override any gcc2 internal prototype to avoid an error. */
3144 /* We use char because int might match the return type of a gcc2
3145 builtin and then its argument prototype would still apply. */
3146 char gethostbyname ();
3147 /* The GNU C library defines this for functions which it implements
3148 to always fail with ENOSYS. Some functions are actually named
3149 something starting with __ and the normal name is an alias. */
3150 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3153 char (*f) () = gethostbyname;
3162 return f != gethostbyname;
3167 rm -f conftest.$ac_objext conftest$ac_exeext
3168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3169 (eval $ac_link) 2>&5
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); } &&
3173 { ac_try='test -s conftest$ac_exeext'
3174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); }; }; then
3179 ac_cv_func_gethostbyname=yes
3181 echo "$as_me: failed program was:" >&5
3182 sed 's/^/| /' conftest.$ac_ext >&5
3184 ac_cv_func_gethostbyname=no
3186 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3188 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3189 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3191 if test $ac_cv_func_gethostbyname = no; then
3192 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3193 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3194 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3195 echo $ECHO_N "(cached) $ECHO_C" >&6
3197 ac_check_lib_save_LIBS=$LIBS
3199 cat >conftest.$ac_ext <<_ACEOF
3200 #line $LINENO "configure"
3203 cat confdefs.h >>conftest.$ac_ext
3204 cat >>conftest.$ac_ext <<_ACEOF
3205 /* end confdefs.h. */
3207 /* Override any gcc2 internal prototype to avoid an error. */
3211 /* We use char because int might match the return type of a gcc2
3212 builtin and then its argument prototype would still apply. */
3213 char gethostbyname ();
3222 rm -f conftest.$ac_objext conftest$ac_exeext
3223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3224 (eval $ac_link) 2>&5
3226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 (exit $ac_status); } &&
3228 { ac_try='test -s conftest$ac_exeext'
3229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 (exit $ac_status); }; }; then
3234 ac_cv_lib_nsl_gethostbyname=yes
3236 echo "$as_me: failed program was:" >&5
3237 sed 's/^/| /' conftest.$ac_ext >&5
3239 ac_cv_lib_nsl_gethostbyname=no
3241 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3242 LIBS=$ac_check_lib_save_LIBS
3244 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3245 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3246 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3247 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
3250 if test $ac_cv_lib_nsl_gethostbyname = no; then
3251 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3252 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3253 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3254 echo $ECHO_N "(cached) $ECHO_C" >&6
3256 ac_check_lib_save_LIBS=$LIBS
3258 cat >conftest.$ac_ext <<_ACEOF
3259 #line $LINENO "configure"
3262 cat confdefs.h >>conftest.$ac_ext
3263 cat >>conftest.$ac_ext <<_ACEOF
3264 /* end confdefs.h. */
3266 /* Override any gcc2 internal prototype to avoid an error. */
3270 /* We use char because int might match the return type of a gcc2
3271 builtin and then its argument prototype would still apply. */
3272 char gethostbyname ();
3281 rm -f conftest.$ac_objext conftest$ac_exeext
3282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3283 (eval $ac_link) 2>&5
3285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286 (exit $ac_status); } &&
3287 { ac_try='test -s conftest$ac_exeext'
3288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292 (exit $ac_status); }; }; then
3293 ac_cv_lib_bsd_gethostbyname=yes
3295 echo "$as_me: failed program was:" >&5
3296 sed 's/^/| /' conftest.$ac_ext >&5
3298 ac_cv_lib_bsd_gethostbyname=no
3300 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3301 LIBS=$ac_check_lib_save_LIBS
3303 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3304 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3305 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3306 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
3312 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3313 # socket/setsockopt and other routines are undefined under SCO ODT
3314 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3315 # on later versions), says Simon Leinen: it contains gethostby*
3316 # variants that don't use the name server (or something). -lsocket
3317 # must be given before -lnsl if both are needed. We assume that
3318 # if connect needs -lnsl, so does gethostbyname.
3319 echo "$as_me:$LINENO: checking for connect" >&5
3320 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3321 if test "${ac_cv_func_connect+set}" = set; then
3322 echo $ECHO_N "(cached) $ECHO_C" >&6
3324 cat >conftest.$ac_ext <<_ACEOF
3325 #line $LINENO "configure"
3328 cat confdefs.h >>conftest.$ac_ext
3329 cat >>conftest.$ac_ext <<_ACEOF
3330 /* end confdefs.h. */
3331 /* System header to define __stub macros and hopefully few prototypes,
3332 which can conflict with char connect (); below.
3333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3334 <limits.h> exists even on freestanding compilers. */
3336 # include <limits.h>
3338 # include <assert.h>
3340 /* Override any gcc2 internal prototype to avoid an error. */
3345 /* We use char because int might match the return type of a gcc2
3346 builtin and then its argument prototype would still apply. */
3348 /* The GNU C library defines this for functions which it implements
3349 to always fail with ENOSYS. Some functions are actually named
3350 something starting with __ and the normal name is an alias. */
3351 #if defined (__stub_connect) || defined (__stub___connect)
3354 char (*f) () = connect;
3363 return f != connect;
3368 rm -f conftest.$ac_objext conftest$ac_exeext
3369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3370 (eval $ac_link) 2>&5
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); } &&
3374 { ac_try='test -s conftest$ac_exeext'
3375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3379 (exit $ac_status); }; }; then
3380 ac_cv_func_connect=yes
3382 echo "$as_me: failed program was:" >&5
3383 sed 's/^/| /' conftest.$ac_ext >&5
3385 ac_cv_func_connect=no
3387 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3389 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3390 echo "${ECHO_T}$ac_cv_func_connect" >&6
3392 if test $ac_cv_func_connect = no; then
3393 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3394 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3395 if test "${ac_cv_lib_socket_connect+set}" = set; then
3396 echo $ECHO_N "(cached) $ECHO_C" >&6
3398 ac_check_lib_save_LIBS=$LIBS
3399 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
3400 cat >conftest.$ac_ext <<_ACEOF
3401 #line $LINENO "configure"
3404 cat confdefs.h >>conftest.$ac_ext
3405 cat >>conftest.$ac_ext <<_ACEOF
3406 /* end confdefs.h. */
3408 /* Override any gcc2 internal prototype to avoid an error. */
3412 /* We use char because int might match the return type of a gcc2
3413 builtin and then its argument prototype would still apply. */
3423 rm -f conftest.$ac_objext conftest$ac_exeext
3424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3425 (eval $ac_link) 2>&5
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); } &&
3429 { ac_try='test -s conftest$ac_exeext'
3430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); }; }; then
3435 ac_cv_lib_socket_connect=yes
3437 echo "$as_me: failed program was:" >&5
3438 sed 's/^/| /' conftest.$ac_ext >&5
3440 ac_cv_lib_socket_connect=no
3442 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3443 LIBS=$ac_check_lib_save_LIBS
3445 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3446 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3447 if test $ac_cv_lib_socket_connect = yes; then
3448 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
3453 # Guillermo Gomez says -lposix is necessary on A/UX.
3454 echo "$as_me:$LINENO: checking for remove" >&5
3455 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3456 if test "${ac_cv_func_remove+set}" = set; then
3457 echo $ECHO_N "(cached) $ECHO_C" >&6
3459 cat >conftest.$ac_ext <<_ACEOF
3460 #line $LINENO "configure"
3463 cat confdefs.h >>conftest.$ac_ext
3464 cat >>conftest.$ac_ext <<_ACEOF
3465 /* end confdefs.h. */
3466 /* System header to define __stub macros and hopefully few prototypes,
3467 which can conflict with char remove (); below.
3468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3469 <limits.h> exists even on freestanding compilers. */
3471 # include <limits.h>
3473 # include <assert.h>
3475 /* Override any gcc2 internal prototype to avoid an error. */
3480 /* We use char because int might match the return type of a gcc2
3481 builtin and then its argument prototype would still apply. */
3483 /* The GNU C library defines this for functions which it implements
3484 to always fail with ENOSYS. Some functions are actually named
3485 something starting with __ and the normal name is an alias. */
3486 #if defined (__stub_remove) || defined (__stub___remove)
3489 char (*f) () = remove;
3503 rm -f conftest.$ac_objext conftest$ac_exeext
3504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3505 (eval $ac_link) 2>&5
3507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3508 (exit $ac_status); } &&
3509 { ac_try='test -s conftest$ac_exeext'
3510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514 (exit $ac_status); }; }; then
3515 ac_cv_func_remove=yes
3517 echo "$as_me: failed program was:" >&5
3518 sed 's/^/| /' conftest.$ac_ext >&5
3520 ac_cv_func_remove=no
3522 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3524 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3525 echo "${ECHO_T}$ac_cv_func_remove" >&6
3527 if test $ac_cv_func_remove = no; then
3528 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3529 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3530 if test "${ac_cv_lib_posix_remove+set}" = set; then
3531 echo $ECHO_N "(cached) $ECHO_C" >&6
3533 ac_check_lib_save_LIBS=$LIBS
3534 LIBS="-lposix $LIBS"
3535 cat >conftest.$ac_ext <<_ACEOF
3536 #line $LINENO "configure"
3539 cat confdefs.h >>conftest.$ac_ext
3540 cat >>conftest.$ac_ext <<_ACEOF
3541 /* end confdefs.h. */
3543 /* Override any gcc2 internal prototype to avoid an error. */
3547 /* We use char because int might match the return type of a gcc2
3548 builtin and then its argument prototype would still apply. */
3558 rm -f conftest.$ac_objext conftest$ac_exeext
3559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3560 (eval $ac_link) 2>&5
3562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3563 (exit $ac_status); } &&
3564 { ac_try='test -s conftest$ac_exeext'
3565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569 (exit $ac_status); }; }; then
3570 ac_cv_lib_posix_remove=yes
3572 echo "$as_me: failed program was:" >&5
3573 sed 's/^/| /' conftest.$ac_ext >&5
3575 ac_cv_lib_posix_remove=no
3577 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3578 LIBS=$ac_check_lib_save_LIBS
3580 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3581 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3582 if test $ac_cv_lib_posix_remove = yes; then
3583 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
3588 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3589 echo "$as_me:$LINENO: checking for shmat" >&5
3590 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3591 if test "${ac_cv_func_shmat+set}" = set; then
3592 echo $ECHO_N "(cached) $ECHO_C" >&6
3594 cat >conftest.$ac_ext <<_ACEOF
3595 #line $LINENO "configure"
3598 cat confdefs.h >>conftest.$ac_ext
3599 cat >>conftest.$ac_ext <<_ACEOF
3600 /* end confdefs.h. */
3601 /* System header to define __stub macros and hopefully few prototypes,
3602 which can conflict with char shmat (); below.
3603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3604 <limits.h> exists even on freestanding compilers. */
3606 # include <limits.h>
3608 # include <assert.h>
3610 /* Override any gcc2 internal prototype to avoid an error. */
3615 /* We use char because int might match the return type of a gcc2
3616 builtin and then its argument prototype would still apply. */
3618 /* The GNU C library defines this for functions which it implements
3619 to always fail with ENOSYS. Some functions are actually named
3620 something starting with __ and the normal name is an alias. */
3621 #if defined (__stub_shmat) || defined (__stub___shmat)
3624 char (*f) () = shmat;
3638 rm -f conftest.$ac_objext conftest$ac_exeext
3639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3640 (eval $ac_link) 2>&5
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); } &&
3644 { ac_try='test -s conftest$ac_exeext'
3645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); }; }; then
3650 ac_cv_func_shmat=yes
3652 echo "$as_me: failed program was:" >&5
3653 sed 's/^/| /' conftest.$ac_ext >&5
3657 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3659 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3660 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3662 if test $ac_cv_func_shmat = no; then
3663 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3664 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3665 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3666 echo $ECHO_N "(cached) $ECHO_C" >&6
3668 ac_check_lib_save_LIBS=$LIBS
3670 cat >conftest.$ac_ext <<_ACEOF
3671 #line $LINENO "configure"
3674 cat confdefs.h >>conftest.$ac_ext
3675 cat >>conftest.$ac_ext <<_ACEOF
3676 /* end confdefs.h. */
3678 /* Override any gcc2 internal prototype to avoid an error. */
3682 /* We use char because int might match the return type of a gcc2
3683 builtin and then its argument prototype would still apply. */
3693 rm -f conftest.$ac_objext conftest$ac_exeext
3694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3695 (eval $ac_link) 2>&5
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); } &&
3699 { ac_try='test -s conftest$ac_exeext'
3700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704 (exit $ac_status); }; }; then
3705 ac_cv_lib_ipc_shmat=yes
3707 echo "$as_me: failed program was:" >&5
3708 sed 's/^/| /' conftest.$ac_ext >&5
3710 ac_cv_lib_ipc_shmat=no
3712 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3713 LIBS=$ac_check_lib_save_LIBS
3715 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3716 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3717 if test $ac_cv_lib_ipc_shmat = yes; then
3718 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
3724 # Check for libraries that X11R6 Xt/Xaw programs need.
3725 ac_save_LDFLAGS=$LDFLAGS
3726 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
3727 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3728 # check for ICE first), but we must link in the order -lSM -lICE or
3729 # we get undefined symbols. So assume we have SM if we have ICE.
3730 # These have to be linked with before -lX11, unlike the other
3731 # libraries we check for below, so use a different variable.
3732 # John Interrante, Karl Berry
3733 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
3734 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3735 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3736 echo $ECHO_N "(cached) $ECHO_C" >&6
3738 ac_check_lib_save_LIBS=$LIBS
3739 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
3740 cat >conftest.$ac_ext <<_ACEOF
3741 #line $LINENO "configure"
3744 cat confdefs.h >>conftest.$ac_ext
3745 cat >>conftest.$ac_ext <<_ACEOF
3746 /* end confdefs.h. */
3748 /* Override any gcc2 internal prototype to avoid an error. */
3752 /* We use char because int might match the return type of a gcc2
3753 builtin and then its argument prototype would still apply. */
3754 char IceConnectionNumber ();
3758 IceConnectionNumber ();
3763 rm -f conftest.$ac_objext conftest$ac_exeext
3764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3765 (eval $ac_link) 2>&5
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); } &&
3769 { ac_try='test -s conftest$ac_exeext'
3770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774 (exit $ac_status); }; }; then
3775 ac_cv_lib_ICE_IceConnectionNumber=yes
3777 echo "$as_me: failed program was:" >&5
3778 sed 's/^/| /' conftest.$ac_ext >&5
3780 ac_cv_lib_ICE_IceConnectionNumber=no
3782 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3783 LIBS=$ac_check_lib_save_LIBS
3785 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
3786 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
3787 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
3788 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
3791 LDFLAGS=$ac_save_LDFLAGS
3795 for ac_prog in 'bison -y' byacc
3797 # Extract the first word of "$ac_prog", so it can be a program name with args.
3798 set dummy $ac_prog; ac_word=$2
3799 echo "$as_me:$LINENO: checking for $ac_word" >&5
3800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3801 if test "${ac_cv_prog_YACC+set}" = set; then
3802 echo $ECHO_N "(cached) $ECHO_C" >&6
3804 if test -n "$YACC"; then
3805 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3811 test -z "$as_dir" && as_dir=.
3812 for ac_exec_ext in '' $ac_executable_extensions; do
3813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3814 ac_cv_prog_YACC="$ac_prog"
3815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3823 YACC=$ac_cv_prog_YACC
3824 if test -n "$YACC"; then
3825 echo "$as_me:$LINENO: result: $YACC" >&5
3826 echo "${ECHO_T}$YACC" >&6
3828 echo "$as_me:$LINENO: result: no" >&5
3829 echo "${ECHO_T}no" >&6
3832 test -n "$YACC" && break
3834 test -n "$YACC" || YACC="yacc"
3836 for ac_prog in flex lex
3838 # Extract the first word of "$ac_prog", so it can be a program name with args.
3839 set dummy $ac_prog; ac_word=$2
3840 echo "$as_me:$LINENO: checking for $ac_word" >&5
3841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3842 if test "${ac_cv_prog_LEX+set}" = set; then
3843 echo $ECHO_N "(cached) $ECHO_C" >&6
3845 if test -n "$LEX"; then
3846 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3852 test -z "$as_dir" && as_dir=.
3853 for ac_exec_ext in '' $ac_executable_extensions; do
3854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3855 ac_cv_prog_LEX="$ac_prog"
3856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3865 if test -n "$LEX"; then
3866 echo "$as_me:$LINENO: result: $LEX" >&5
3867 echo "${ECHO_T}$LEX" >&6
3869 echo "$as_me:$LINENO: result: no" >&5
3870 echo "${ECHO_T}no" >&6
3873 test -n "$LEX" && break
3875 test -n "$LEX" || LEX=":"
3877 if test -z "$LEXLIB"
3879 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3880 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3881 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3882 echo $ECHO_N "(cached) $ECHO_C" >&6
3884 ac_check_lib_save_LIBS=$LIBS
3886 cat >conftest.$ac_ext <<_ACEOF
3887 #line $LINENO "configure"
3890 cat confdefs.h >>conftest.$ac_ext
3891 cat >>conftest.$ac_ext <<_ACEOF
3892 /* end confdefs.h. */
3894 /* Override any gcc2 internal prototype to avoid an error. */
3898 /* We use char because int might match the return type of a gcc2
3899 builtin and then its argument prototype would still apply. */
3909 rm -f conftest.$ac_objext conftest$ac_exeext
3910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3911 (eval $ac_link) 2>&5
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); } &&
3915 { ac_try='test -s conftest$ac_exeext'
3916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); }; }; then
3921 ac_cv_lib_fl_yywrap=yes
3923 echo "$as_me: failed program was:" >&5
3924 sed 's/^/| /' conftest.$ac_ext >&5
3926 ac_cv_lib_fl_yywrap=no
3928 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3929 LIBS=$ac_check_lib_save_LIBS
3931 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3932 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3933 if test $ac_cv_lib_fl_yywrap = yes; then
3936 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3937 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3938 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3939 echo $ECHO_N "(cached) $ECHO_C" >&6
3941 ac_check_lib_save_LIBS=$LIBS
3943 cat >conftest.$ac_ext <<_ACEOF
3944 #line $LINENO "configure"
3947 cat confdefs.h >>conftest.$ac_ext
3948 cat >>conftest.$ac_ext <<_ACEOF
3949 /* end confdefs.h. */
3951 /* Override any gcc2 internal prototype to avoid an error. */
3955 /* We use char because int might match the return type of a gcc2
3956 builtin and then its argument prototype would still apply. */
3966 rm -f conftest.$ac_objext conftest$ac_exeext
3967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3968 (eval $ac_link) 2>&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); } &&
3972 { ac_try='test -s conftest$ac_exeext'
3973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977 (exit $ac_status); }; }; then
3978 ac_cv_lib_l_yywrap=yes
3980 echo "$as_me: failed program was:" >&5
3981 sed 's/^/| /' conftest.$ac_ext >&5
3983 ac_cv_lib_l_yywrap=no
3985 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3986 LIBS=$ac_check_lib_save_LIBS
3988 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3989 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3990 if test $ac_cv_lib_l_yywrap = yes; then
3998 if test "x$LEX" != "x:"; then
3999 echo "$as_me:$LINENO: checking lex output file root" >&5
4000 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4001 if test "${ac_cv_prog_lex_root+set}" = set; then
4002 echo $ECHO_N "(cached) $ECHO_C" >&6
4004 # The minimal lex program is just a single line: %%. But some broken lexes
4005 # (Solaris, I think it was) want two %% lines, so accommodate them.
4006 cat >conftest.l <<_ACEOF
4010 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4011 (eval $LEX conftest.l) 2>&5
4013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4014 (exit $ac_status); }
4015 if test -f lex.yy.c; then
4016 ac_cv_prog_lex_root=lex.yy
4017 elif test -f lexyy.c; then
4018 ac_cv_prog_lex_root=lexyy
4020 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4021 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4022 { (exit 1); exit 1; }; }
4025 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4026 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4028 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4030 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4031 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4032 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4033 echo $ECHO_N "(cached) $ECHO_C" >&6
4035 # POSIX says lex can declare yytext either as a pointer or an array; the
4036 # default is implementation-dependent. Figure out which it is, since
4037 # not all implementations provide the %pointer and %array declarations.
4038 ac_cv_prog_lex_yytext_pointer=no
4039 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4041 LIBS="$LIBS $LEXLIB"
4042 cat >conftest.$ac_ext <<_ACEOF
4043 `cat $LEX_OUTPUT_ROOT.c`
4045 rm -f conftest.$ac_objext conftest$ac_exeext
4046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4047 (eval $ac_link) 2>&5
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); } &&
4051 { ac_try='test -s conftest$ac_exeext'
4052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056 (exit $ac_status); }; }; then
4057 ac_cv_prog_lex_yytext_pointer=yes
4059 echo "$as_me: failed program was:" >&5
4060 sed 's/^/| /' conftest.$ac_ext >&5
4063 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4065 rm -f "${LEX_OUTPUT_ROOT}.c"
4068 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4069 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4070 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4072 cat >>confdefs.h <<\_ACEOF
4073 #define YYTEXT_POINTER 1
4080 for ac_prog in $YACC bison yacc
4082 # Extract the first word of "$ac_prog", so it can be a program name with args.
4083 set dummy $ac_prog; ac_word=$2
4084 echo "$as_me:$LINENO: checking for $ac_word" >&5
4085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4086 if test "${ac_cv_prog_XYACC+set}" = set; then
4087 echo $ECHO_N "(cached) $ECHO_C" >&6
4089 if test -n "$XYACC"; then
4090 ac_cv_prog_XYACC="$XYACC" # Let the user override the test.
4092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4096 test -z "$as_dir" && as_dir=.
4097 for ac_exec_ext in '' $ac_executable_extensions; do
4098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4099 ac_cv_prog_XYACC="$ac_prog"
4100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4108 XYACC=$ac_cv_prog_XYACC
4109 if test -n "$XYACC"; then
4110 echo "$as_me:$LINENO: result: $XYACC" >&5
4111 echo "${ECHO_T}$XYACC" >&6
4113 echo "$as_me:$LINENO: result: no" >&5
4114 echo "${ECHO_T}no" >&6
4117 test -n "$XYACC" && break
4119 test -n "$XYACC" || XYACC="none"
4121 if test "$XYACC" = "none"
4123 { { echo "$as_me:$LINENO: error: no suitable bison/yacc found. Please install the 'bison' package." >&5
4124 echo "$as_me: error: no suitable bison/yacc found. Please install the 'bison' package." >&2;}
4125 { (exit 1); exit 1; }; }
4127 for ac_prog in $LEX flex lex
4129 # Extract the first word of "$ac_prog", so it can be a program name with args.
4130 set dummy $ac_prog; ac_word=$2
4131 echo "$as_me:$LINENO: checking for $ac_word" >&5
4132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4133 if test "${ac_cv_prog_XLEX+set}" = set; then
4134 echo $ECHO_N "(cached) $ECHO_C" >&6
4136 if test -n "$XLEX"; then
4137 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
4139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4143 test -z "$as_dir" && as_dir=.
4144 for ac_exec_ext in '' $ac_executable_extensions; do
4145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4146 ac_cv_prog_XLEX="$ac_prog"
4147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4155 XLEX=$ac_cv_prog_XLEX
4156 if test -n "$XLEX"; then
4157 echo "$as_me:$LINENO: result: $XLEX" >&5
4158 echo "${ECHO_T}$XLEX" >&6
4160 echo "$as_me:$LINENO: result: no" >&5
4161 echo "${ECHO_T}no" >&6
4164 test -n "$XLEX" && break
4166 test -n "$XLEX" || XLEX="none"
4168 if test "$XLEX" = "none"
4170 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4171 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4172 { (exit 1); exit 1; }; }
4175 if test -n "$ac_tool_prefix"; then
4176 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4177 set dummy ${ac_tool_prefix}as; ac_word=$2
4178 echo "$as_me:$LINENO: checking for $ac_word" >&5
4179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4180 if test "${ac_cv_prog_AS+set}" = set; then
4181 echo $ECHO_N "(cached) $ECHO_C" >&6
4183 if test -n "$AS"; then
4184 ac_cv_prog_AS="$AS" # Let the user override the test.
4186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4190 test -z "$as_dir" && as_dir=.
4191 for ac_exec_ext in '' $ac_executable_extensions; do
4192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4193 ac_cv_prog_AS="${ac_tool_prefix}as"
4194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4203 if test -n "$AS"; then
4204 echo "$as_me:$LINENO: result: $AS" >&5
4205 echo "${ECHO_T}$AS" >&6
4207 echo "$as_me:$LINENO: result: no" >&5
4208 echo "${ECHO_T}no" >&6
4212 if test -z "$ac_cv_prog_AS"; then
4214 # Extract the first word of "as", so it can be a program name with args.
4215 set dummy as; ac_word=$2
4216 echo "$as_me:$LINENO: checking for $ac_word" >&5
4217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4218 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4219 echo $ECHO_N "(cached) $ECHO_C" >&6
4221 if test -n "$ac_ct_AS"; then
4222 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4228 test -z "$as_dir" && as_dir=.
4229 for ac_exec_ext in '' $ac_executable_extensions; do
4230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4231 ac_cv_prog_ac_ct_AS="as"
4232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4238 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="as"
4241 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4242 if test -n "$ac_ct_AS"; then
4243 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4244 echo "${ECHO_T}$ac_ct_AS" >&6
4246 echo "$as_me:$LINENO: result: no" >&5
4247 echo "${ECHO_T}no" >&6
4255 if test -n "$ac_tool_prefix"; then
4256 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4257 set dummy ${ac_tool_prefix}ld; ac_word=$2
4258 echo "$as_me:$LINENO: checking for $ac_word" >&5
4259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4260 if test "${ac_cv_prog_LD+set}" = set; then
4261 echo $ECHO_N "(cached) $ECHO_C" >&6
4263 if test -n "$LD"; then
4264 ac_cv_prog_LD="$LD" # Let the user override the test.
4266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4270 test -z "$as_dir" && as_dir=.
4271 for ac_exec_ext in '' $ac_executable_extensions; do
4272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4273 ac_cv_prog_LD="${ac_tool_prefix}ld"
4274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4283 if test -n "$LD"; then
4284 echo "$as_me:$LINENO: result: $LD" >&5
4285 echo "${ECHO_T}$LD" >&6
4287 echo "$as_me:$LINENO: result: no" >&5
4288 echo "${ECHO_T}no" >&6
4292 if test -z "$ac_cv_prog_LD"; then
4294 # Extract the first word of "ld", so it can be a program name with args.
4295 set dummy ld; ac_word=$2
4296 echo "$as_me:$LINENO: checking for $ac_word" >&5
4297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4298 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4299 echo $ECHO_N "(cached) $ECHO_C" >&6
4301 if test -n "$ac_ct_LD"; then
4302 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4308 test -z "$as_dir" && as_dir=.
4309 for ac_exec_ext in '' $ac_executable_extensions; do
4310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4311 ac_cv_prog_ac_ct_LD="ld"
4312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4318 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
4321 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4322 if test -n "$ac_ct_LD"; then
4323 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4324 echo "${ECHO_T}$ac_ct_LD" >&6
4326 echo "$as_me:$LINENO: result: no" >&5
4327 echo "${ECHO_T}no" >&6
4335 if test -n "$ac_tool_prefix"; then
4336 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4337 set dummy ${ac_tool_prefix}ar; ac_word=$2
4338 echo "$as_me:$LINENO: checking for $ac_word" >&5
4339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4340 if test "${ac_cv_prog_AR+set}" = set; then
4341 echo $ECHO_N "(cached) $ECHO_C" >&6
4343 if test -n "$AR"; then
4344 ac_cv_prog_AR="$AR" # Let the user override the test.
4346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4350 test -z "$as_dir" && as_dir=.
4351 for ac_exec_ext in '' $ac_executable_extensions; do
4352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4353 ac_cv_prog_AR="${ac_tool_prefix}ar"
4354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4363 if test -n "$AR"; then
4364 echo "$as_me:$LINENO: result: $AR" >&5
4365 echo "${ECHO_T}$AR" >&6
4367 echo "$as_me:$LINENO: result: no" >&5
4368 echo "${ECHO_T}no" >&6
4372 if test -z "$ac_cv_prog_AR"; then
4374 # Extract the first word of "ar", so it can be a program name with args.
4375 set dummy ar; ac_word=$2
4376 echo "$as_me:$LINENO: checking for $ac_word" >&5
4377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4378 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4379 echo $ECHO_N "(cached) $ECHO_C" >&6
4381 if test -n "$ac_ct_AR"; then
4382 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4388 test -z "$as_dir" && as_dir=.
4389 for ac_exec_ext in '' $ac_executable_extensions; do
4390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4391 ac_cv_prog_ac_ct_AR="ar"
4392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4398 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
4401 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4402 if test -n "$ac_ct_AR"; then
4403 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4404 echo "${ECHO_T}$ac_ct_AR" >&6
4406 echo "$as_me:$LINENO: result: no" >&5
4407 echo "${ECHO_T}no" >&6
4415 if test -n "$ac_tool_prefix"; then
4416 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4417 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4418 echo "$as_me:$LINENO: checking for $ac_word" >&5
4419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4420 if test "${ac_cv_prog_RANLIB+set}" = set; then
4421 echo $ECHO_N "(cached) $ECHO_C" >&6
4423 if test -n "$RANLIB"; then
4424 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4430 test -z "$as_dir" && as_dir=.
4431 for ac_exec_ext in '' $ac_executable_extensions; do
4432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4433 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4442 RANLIB=$ac_cv_prog_RANLIB
4443 if test -n "$RANLIB"; then
4444 echo "$as_me:$LINENO: result: $RANLIB" >&5
4445 echo "${ECHO_T}$RANLIB" >&6
4447 echo "$as_me:$LINENO: result: no" >&5
4448 echo "${ECHO_T}no" >&6
4452 if test -z "$ac_cv_prog_RANLIB"; then
4453 ac_ct_RANLIB=$RANLIB
4454 # Extract the first word of "ranlib", so it can be a program name with args.
4455 set dummy ranlib; ac_word=$2
4456 echo "$as_me:$LINENO: checking for $ac_word" >&5
4457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4458 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4459 echo $ECHO_N "(cached) $ECHO_C" >&6
4461 if test -n "$ac_ct_RANLIB"; then
4462 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4468 test -z "$as_dir" && as_dir=.
4469 for ac_exec_ext in '' $ac_executable_extensions; do
4470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4471 ac_cv_prog_ac_ct_RANLIB="ranlib"
4472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4478 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4481 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4482 if test -n "$ac_ct_RANLIB"; then
4483 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4484 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4486 echo "$as_me:$LINENO: result: no" >&5
4487 echo "${ECHO_T}no" >&6
4490 RANLIB=$ac_ct_RANLIB
4492 RANLIB="$ac_cv_prog_RANLIB"
4495 if test -n "$ac_tool_prefix"; then
4496 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4497 set dummy ${ac_tool_prefix}strip; ac_word=$2
4498 echo "$as_me:$LINENO: checking for $ac_word" >&5
4499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4500 if test "${ac_cv_prog_STRIP+set}" = set; then
4501 echo $ECHO_N "(cached) $ECHO_C" >&6
4503 if test -n "$STRIP"; then
4504 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4510 test -z "$as_dir" && as_dir=.
4511 for ac_exec_ext in '' $ac_executable_extensions; do
4512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4513 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4522 STRIP=$ac_cv_prog_STRIP
4523 if test -n "$STRIP"; then
4524 echo "$as_me:$LINENO: result: $STRIP" >&5
4525 echo "${ECHO_T}$STRIP" >&6
4527 echo "$as_me:$LINENO: result: no" >&5
4528 echo "${ECHO_T}no" >&6
4532 if test -z "$ac_cv_prog_STRIP"; then
4534 # Extract the first word of "strip", so it can be a program name with args.
4535 set dummy strip; ac_word=$2
4536 echo "$as_me:$LINENO: checking for $ac_word" >&5
4537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4538 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4539 echo $ECHO_N "(cached) $ECHO_C" >&6
4541 if test -n "$ac_ct_STRIP"; then
4542 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4548 test -z "$as_dir" && as_dir=.
4549 for ac_exec_ext in '' $ac_executable_extensions; do
4550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4551 ac_cv_prog_ac_ct_STRIP="strip"
4552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4558 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="strip"
4561 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4562 if test -n "$ac_ct_STRIP"; then
4563 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4564 echo "${ECHO_T}$ac_ct_STRIP" >&6
4566 echo "$as_me:$LINENO: result: no" >&5
4567 echo "${ECHO_T}no" >&6
4572 STRIP="$ac_cv_prog_STRIP"
4575 if test -n "$ac_tool_prefix"; then
4576 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4577 set dummy ${ac_tool_prefix}windres; ac_word=$2
4578 echo "$as_me:$LINENO: checking for $ac_word" >&5
4579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4580 if test "${ac_cv_prog_WINDRES+set}" = set; then
4581 echo $ECHO_N "(cached) $ECHO_C" >&6
4583 if test -n "$WINDRES"; then
4584 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
4586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4590 test -z "$as_dir" && as_dir=.
4591 for ac_exec_ext in '' $ac_executable_extensions; do
4592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4593 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
4594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4602 WINDRES=$ac_cv_prog_WINDRES
4603 if test -n "$WINDRES"; then
4604 echo "$as_me:$LINENO: result: $WINDRES" >&5
4605 echo "${ECHO_T}$WINDRES" >&6
4607 echo "$as_me:$LINENO: result: no" >&5
4608 echo "${ECHO_T}no" >&6
4612 if test -z "$ac_cv_prog_WINDRES"; then
4613 ac_ct_WINDRES=$WINDRES
4614 # Extract the first word of "windres", so it can be a program name with args.
4615 set dummy windres; ac_word=$2
4616 echo "$as_me:$LINENO: checking for $ac_word" >&5
4617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4618 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4619 echo $ECHO_N "(cached) $ECHO_C" >&6
4621 if test -n "$ac_ct_WINDRES"; then
4622 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
4624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4628 test -z "$as_dir" && as_dir=.
4629 for ac_exec_ext in '' $ac_executable_extensions; do
4630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4631 ac_cv_prog_ac_ct_WINDRES="windres"
4632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4638 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES="false"
4641 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
4642 if test -n "$ac_ct_WINDRES"; then
4643 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4644 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4646 echo "$as_me:$LINENO: result: no" >&5
4647 echo "${ECHO_T}no" >&6
4650 WINDRES=$ac_ct_WINDRES
4652 WINDRES="$ac_cv_prog_WINDRES"
4655 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4656 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4658 if test "$LN_S" = "ln -s"; then
4659 echo "$as_me:$LINENO: result: yes" >&5
4660 echo "${ECHO_T}yes" >&6
4662 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4663 echo "${ECHO_T}no, using $LN_S" >&6
4666 echo "$as_me:$LINENO: checking whether ln works" >&5
4667 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
4668 rm -f conf$$ conf$$.file
4670 if ln conf$$.file conf$$ 2>/dev/null; then
4673 echo "$as_me:$LINENO: result: yes" >&5
4674 echo "${ECHO_T}yes" >&6
4678 echo "$as_me:$LINENO: result: no, using $LN" >&5
4679 echo "${ECHO_T}no, using $LN" >&6
4681 rm -f conf$$ conf$$.file
4682 # Extract the first word of "c2man", so it can be a program name with args.
4683 set dummy c2man; ac_word=$2
4684 echo "$as_me:$LINENO: checking for $ac_word" >&5
4685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4686 if test "${ac_cv_prog_C2MAN+set}" = set; then
4687 echo $ECHO_N "(cached) $ECHO_C" >&6
4689 if test -n "$C2MAN"; then
4690 ac_cv_prog_C2MAN="$C2MAN" # Let the user override the test.
4692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4696 test -z "$as_dir" && as_dir=.
4697 for ac_exec_ext in '' $ac_executable_extensions; do
4698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4699 ac_cv_prog_C2MAN="c2man"
4700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4706 test -z "$ac_cv_prog_C2MAN" && ac_cv_prog_C2MAN="\$(TOPSRCDIR)/tools/c2man.pl"
4709 C2MAN=$ac_cv_prog_C2MAN
4710 if test -n "$C2MAN"; then
4711 echo "$as_me:$LINENO: result: $C2MAN" >&5
4712 echo "${ECHO_T}$C2MAN" >&6
4714 echo "$as_me:$LINENO: result: no" >&5
4715 echo "${ECHO_T}no" >&6
4718 # Extract the first word of "ldconfig", so it can be a program name with args.
4719 set dummy ldconfig; ac_word=$2
4720 echo "$as_me:$LINENO: checking for $ac_word" >&5
4721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4722 if test "${ac_cv_path_LDCONFIG+set}" = set; then
4723 echo $ECHO_N "(cached) $ECHO_C" >&6
4727 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4731 for as_dir in /sbin /usr/sbin $PATH
4734 test -z "$as_dir" && as_dir=.
4735 for ac_exec_ext in '' $ac_executable_extensions; do
4736 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4737 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4744 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4748 LDCONFIG=$ac_cv_path_LDCONFIG
4750 if test -n "$LDCONFIG"; then
4751 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
4752 echo "${ECHO_T}$LDCONFIG" >&6
4754 echo "$as_me:$LINENO: result: no" >&5
4755 echo "${ECHO_T}no" >&6
4758 # Find a good install program. We prefer a C program (faster),
4759 # so one script is as good as another. But avoid the broken or
4760 # incompatible versions:
4761 # SysV /etc/install, /usr/sbin/install
4762 # SunOS /usr/etc/install
4763 # IRIX /sbin/install
4765 # AmigaOS /C/install, which installs bootblocks on floppy discs
4766 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4767 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4768 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4769 # ./install, which can be erroneously created by make from ./install.sh.
4770 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4771 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4772 if test -z "$INSTALL"; then
4773 if test "${ac_cv_path_install+set}" = set; then
4774 echo $ECHO_N "(cached) $ECHO_C" >&6
4776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4780 test -z "$as_dir" && as_dir=.
4781 # Account for people who put trailing slashes in PATH elements.
4783 ./ | .// | /cC/* | \
4784 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4787 # OSF1 and SCO ODT 3.0 have their own names for install.
4788 # Don't use installbsd from OSF since it installs stuff as root
4790 for ac_prog in ginstall scoinst install; do
4791 for ac_exec_ext in '' $ac_executable_extensions; do
4792 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4793 if test $ac_prog = install &&
4794 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4795 # AIX install. It has an incompatible calling convention.
4797 elif test $ac_prog = install &&
4798 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4799 # program-specific install script used by HP pwplus--don't use.
4802 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4814 if test "${ac_cv_path_install+set}" = set; then
4815 INSTALL=$ac_cv_path_install
4817 # As a last resort, use the slow shell script. We don't cache a
4818 # path for INSTALL within a source directory, because that will
4819 # break other packages using the cache if that directory is
4820 # removed, or if the path is relative.
4821 INSTALL=$ac_install_sh
4824 echo "$as_me:$LINENO: result: $INSTALL" >&5
4825 echo "${ECHO_T}$INSTALL" >&6
4827 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4828 # It thinks the first close brace ends the variable substitution.
4829 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4831 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4833 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4836 [\\/$]* | ?:[\\/]* ) ;;
4837 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
4840 for ac_prog in lclint lint
4842 # Extract the first word of "$ac_prog", so it can be a program name with args.
4843 set dummy $ac_prog; ac_word=$2
4844 echo "$as_me:$LINENO: checking for $ac_word" >&5
4845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4846 if test "${ac_cv_prog_LINT+set}" = set; then
4847 echo $ECHO_N "(cached) $ECHO_C" >&6
4849 if test -n "$LINT"; then
4850 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4856 test -z "$as_dir" && as_dir=.
4857 for ac_exec_ext in '' $ac_executable_extensions; do
4858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4859 ac_cv_prog_LINT="$ac_prog"
4860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4868 LINT=$ac_cv_prog_LINT
4869 if test -n "$LINT"; then
4870 echo "$as_me:$LINENO: result: $LINT" >&5
4871 echo "${ECHO_T}$LINT" >&6
4873 echo "$as_me:$LINENO: result: no" >&5
4874 echo "${ECHO_T}no" >&6
4877 test -n "$LINT" && break
4880 if test "$LINT" = "lint"
4882 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4887 for ac_prog in docbook2html db2html
4889 # Extract the first word of "$ac_prog", so it can be a program name with args.
4890 set dummy $ac_prog; ac_word=$2
4891 echo "$as_me:$LINENO: checking for $ac_word" >&5
4892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4893 if test "${ac_cv_prog_DB2HTML+set}" = set; then
4894 echo $ECHO_N "(cached) $ECHO_C" >&6
4896 if test -n "$DB2HTML"; then
4897 ac_cv_prog_DB2HTML="$DB2HTML" # Let the user override the test.
4899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4903 test -z "$as_dir" && as_dir=.
4904 for ac_exec_ext in '' $ac_executable_extensions; do
4905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4906 ac_cv_prog_DB2HTML="$ac_prog"
4907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4915 DB2HTML=$ac_cv_prog_DB2HTML
4916 if test -n "$DB2HTML"; then
4917 echo "$as_me:$LINENO: result: $DB2HTML" >&5
4918 echo "${ECHO_T}$DB2HTML" >&6
4920 echo "$as_me:$LINENO: result: no" >&5
4921 echo "${ECHO_T}no" >&6
4924 test -n "$DB2HTML" && break
4926 test -n "$DB2HTML" || DB2HTML="false"
4930 for ac_prog in docbook2pdf db2pdf
4932 # Extract the first word of "$ac_prog", so it can be a program name with args.
4933 set dummy $ac_prog; ac_word=$2
4934 echo "$as_me:$LINENO: checking for $ac_word" >&5
4935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4936 if test "${ac_cv_prog_DB2PDF+set}" = set; then
4937 echo $ECHO_N "(cached) $ECHO_C" >&6
4939 if test -n "$DB2PDF"; then
4940 ac_cv_prog_DB2PDF="$DB2PDF" # Let the user override the test.
4942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4946 test -z "$as_dir" && as_dir=.
4947 for ac_exec_ext in '' $ac_executable_extensions; do
4948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4949 ac_cv_prog_DB2PDF="$ac_prog"
4950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4958 DB2PDF=$ac_cv_prog_DB2PDF
4959 if test -n "$DB2PDF"; then
4960 echo "$as_me:$LINENO: result: $DB2PDF" >&5
4961 echo "${ECHO_T}$DB2PDF" >&6
4963 echo "$as_me:$LINENO: result: no" >&5
4964 echo "${ECHO_T}no" >&6
4967 test -n "$DB2PDF" && break
4969 test -n "$DB2PDF" || DB2PDF="false"
4973 for ac_prog in docbook2ps db2ps
4975 # Extract the first word of "$ac_prog", so it can be a program name with args.
4976 set dummy $ac_prog; ac_word=$2
4977 echo "$as_me:$LINENO: checking for $ac_word" >&5
4978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4979 if test "${ac_cv_prog_DB2PS+set}" = set; then
4980 echo $ECHO_N "(cached) $ECHO_C" >&6
4982 if test -n "$DB2PS"; then
4983 ac_cv_prog_DB2PS="$DB2PS" # Let the user override the test.
4985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4989 test -z "$as_dir" && as_dir=.
4990 for ac_exec_ext in '' $ac_executable_extensions; do
4991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4992 ac_cv_prog_DB2PS="$ac_prog"
4993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5001 DB2PS=$ac_cv_prog_DB2PS
5002 if test -n "$DB2PS"; then
5003 echo "$as_me:$LINENO: result: $DB2PS" >&5
5004 echo "${ECHO_T}$DB2PS" >&6
5006 echo "$as_me:$LINENO: result: no" >&5
5007 echo "${ECHO_T}no" >&6
5010 test -n "$DB2PS" && break
5012 test -n "$DB2PS" || DB2PS="false"
5018 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
5019 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
5020 if test "${ac_cv_lib_m_sqrt+set}" = set; then
5021 echo $ECHO_N "(cached) $ECHO_C" >&6
5023 ac_check_lib_save_LIBS=$LIBS
5025 cat >conftest.$ac_ext <<_ACEOF
5026 #line $LINENO "configure"
5029 cat confdefs.h >>conftest.$ac_ext
5030 cat >>conftest.$ac_ext <<_ACEOF
5031 /* end confdefs.h. */
5033 /* Override any gcc2 internal prototype to avoid an error. */
5037 /* We use char because int might match the return type of a gcc2
5038 builtin and then its argument prototype would still apply. */
5048 rm -f conftest.$ac_objext conftest$ac_exeext
5049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5050 (eval $ac_link) 2>&5
5052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5053 (exit $ac_status); } &&
5054 { ac_try='test -s conftest$ac_exeext'
5055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); }; }; then
5060 ac_cv_lib_m_sqrt=yes
5062 echo "$as_me: failed program was:" >&5
5063 sed 's/^/| /' conftest.$ac_ext >&5
5067 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5068 LIBS=$ac_check_lib_save_LIBS
5070 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
5071 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
5072 if test $ac_cv_lib_m_sqrt = yes; then
5073 cat >>confdefs.h <<_ACEOF
5082 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5083 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5084 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5085 echo $ECHO_N "(cached) $ECHO_C" >&6
5087 ac_check_lib_save_LIBS=$LIBS
5089 cat >conftest.$ac_ext <<_ACEOF
5090 #line $LINENO "configure"
5093 cat confdefs.h >>conftest.$ac_ext
5094 cat >>conftest.$ac_ext <<_ACEOF
5095 /* end confdefs.h. */
5097 /* Override any gcc2 internal prototype to avoid an error. */
5101 /* We use char because int might match the return type of a gcc2
5102 builtin and then its argument prototype would still apply. */
5103 char i386_set_ldt ();
5112 rm -f conftest.$ac_objext conftest$ac_exeext
5113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5114 (eval $ac_link) 2>&5
5116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5117 (exit $ac_status); } &&
5118 { ac_try='test -s conftest$ac_exeext'
5119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123 (exit $ac_status); }; }; then
5124 ac_cv_lib_i386_i386_set_ldt=yes
5126 echo "$as_me: failed program was:" >&5
5127 sed 's/^/| /' conftest.$ac_ext >&5
5129 ac_cv_lib_i386_i386_set_ldt=no
5131 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5132 LIBS=$ac_check_lib_save_LIBS
5134 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5135 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5136 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5137 cat >>confdefs.h <<_ACEOF
5138 #define HAVE_LIBI386 1
5146 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5147 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5148 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6
5151 ac_check_lib_save_LIBS=$LIBS
5152 LIBS="-lossaudio $LIBS"
5153 cat >conftest.$ac_ext <<_ACEOF
5154 #line $LINENO "configure"
5157 cat confdefs.h >>conftest.$ac_ext
5158 cat >>conftest.$ac_ext <<_ACEOF
5159 /* end confdefs.h. */
5161 /* Override any gcc2 internal prototype to avoid an error. */
5165 /* We use char because int might match the return type of a gcc2
5166 builtin and then its argument prototype would still apply. */
5176 rm -f conftest.$ac_objext conftest$ac_exeext
5177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5178 (eval $ac_link) 2>&5
5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181 (exit $ac_status); } &&
5182 { ac_try='test -s conftest$ac_exeext'
5183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5187 (exit $ac_status); }; }; then
5188 ac_cv_lib_ossaudio__oss_ioctl=yes
5190 echo "$as_me: failed program was:" >&5
5191 sed 's/^/| /' conftest.$ac_ext >&5
5193 ac_cv_lib_ossaudio__oss_ioctl=no
5195 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5196 LIBS=$ac_check_lib_save_LIBS
5198 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5199 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5200 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5201 cat >>confdefs.h <<_ACEOF
5202 #define HAVE_LIBOSSAUDIO 1
5205 LIBS="-lossaudio $LIBS"
5210 for ac_func in iswalnum
5212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5213 echo "$as_me:$LINENO: checking for $ac_func" >&5
5214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5215 if eval "test \"\${$as_ac_var+set}\" = set"; then
5216 echo $ECHO_N "(cached) $ECHO_C" >&6
5218 cat >conftest.$ac_ext <<_ACEOF
5219 #line $LINENO "configure"
5222 cat confdefs.h >>conftest.$ac_ext
5223 cat >>conftest.$ac_ext <<_ACEOF
5224 /* end confdefs.h. */
5225 /* System header to define __stub macros and hopefully few prototypes,
5226 which can conflict with char $ac_func (); below.
5227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5228 <limits.h> exists even on freestanding compilers. */
5230 # include <limits.h>
5232 # include <assert.h>
5234 /* Override any gcc2 internal prototype to avoid an error. */
5239 /* We use char because int might match the return type of a gcc2
5240 builtin and then its argument prototype would still apply. */
5242 /* The GNU C library defines this for functions which it implements
5243 to always fail with ENOSYS. Some functions are actually named
5244 something starting with __ and the normal name is an alias. */
5245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5248 char (*f) () = $ac_func;
5257 return f != $ac_func;
5262 rm -f conftest.$ac_objext conftest$ac_exeext
5263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5264 (eval $ac_link) 2>&5
5266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267 (exit $ac_status); } &&
5268 { ac_try='test -s conftest$ac_exeext'
5269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273 (exit $ac_status); }; }; then
5274 eval "$as_ac_var=yes"
5276 echo "$as_me: failed program was:" >&5
5277 sed 's/^/| /' conftest.$ac_ext >&5
5279 eval "$as_ac_var=no"
5281 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5285 if test `eval echo '${'$as_ac_var'}'` = yes; then
5286 cat >>confdefs.h <<_ACEOF
5287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5292 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
5293 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
5294 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
5295 echo $ECHO_N "(cached) $ECHO_C" >&6
5297 ac_check_lib_save_LIBS=$LIBS
5299 cat >conftest.$ac_ext <<_ACEOF
5300 #line $LINENO "configure"
5303 cat confdefs.h >>conftest.$ac_ext
5304 cat >>conftest.$ac_ext <<_ACEOF
5305 /* end confdefs.h. */
5307 /* Override any gcc2 internal prototype to avoid an error. */
5311 /* We use char because int might match the return type of a gcc2
5312 builtin and then its argument prototype would still apply. */
5322 rm -f conftest.$ac_objext conftest$ac_exeext
5323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5324 (eval $ac_link) 2>&5
5326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5327 (exit $ac_status); } &&
5328 { ac_try='test -s conftest$ac_exeext'
5329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5333 (exit $ac_status); }; }; then
5334 ac_cv_lib_w_iswalnum=yes
5336 echo "$as_me: failed program was:" >&5
5337 sed 's/^/| /' conftest.$ac_ext >&5
5339 ac_cv_lib_w_iswalnum=no
5341 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5342 LIBS=$ac_check_lib_save_LIBS
5344 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
5345 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
5346 if test $ac_cv_lib_w_iswalnum = yes; then
5347 cat >>confdefs.h <<_ACEOF
5359 for ac_func in gethostbyname
5361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5362 echo "$as_me:$LINENO: checking for $ac_func" >&5
5363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5364 if eval "test \"\${$as_ac_var+set}\" = set"; then
5365 echo $ECHO_N "(cached) $ECHO_C" >&6
5367 cat >conftest.$ac_ext <<_ACEOF
5368 #line $LINENO "configure"
5371 cat confdefs.h >>conftest.$ac_ext
5372 cat >>conftest.$ac_ext <<_ACEOF
5373 /* end confdefs.h. */
5374 /* System header to define __stub macros and hopefully few prototypes,
5375 which can conflict with char $ac_func (); below.
5376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5377 <limits.h> exists even on freestanding compilers. */
5379 # include <limits.h>
5381 # include <assert.h>
5383 /* Override any gcc2 internal prototype to avoid an error. */
5388 /* We use char because int might match the return type of a gcc2
5389 builtin and then its argument prototype would still apply. */
5391 /* The GNU C library defines this for functions which it implements
5392 to always fail with ENOSYS. Some functions are actually named
5393 something starting with __ and the normal name is an alias. */
5394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5397 char (*f) () = $ac_func;
5406 return f != $ac_func;
5411 rm -f conftest.$ac_objext conftest$ac_exeext
5412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5413 (eval $ac_link) 2>&5
5415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416 (exit $ac_status); } &&
5417 { ac_try='test -s conftest$ac_exeext'
5418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422 (exit $ac_status); }; }; then
5423 eval "$as_ac_var=yes"
5425 echo "$as_me: failed program was:" >&5
5426 sed 's/^/| /' conftest.$ac_ext >&5
5428 eval "$as_ac_var=no"
5430 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5434 if test `eval echo '${'$as_ac_var'}'` = yes; then
5435 cat >>confdefs.h <<_ACEOF
5436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5441 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5442 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5443 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5444 echo $ECHO_N "(cached) $ECHO_C" >&6
5446 ac_check_lib_save_LIBS=$LIBS
5448 cat >conftest.$ac_ext <<_ACEOF
5449 #line $LINENO "configure"
5452 cat confdefs.h >>conftest.$ac_ext
5453 cat >>conftest.$ac_ext <<_ACEOF
5454 /* end confdefs.h. */
5456 /* Override any gcc2 internal prototype to avoid an error. */
5460 /* We use char because int might match the return type of a gcc2
5461 builtin and then its argument prototype would still apply. */
5462 char gethostbyname ();
5471 rm -f conftest.$ac_objext conftest$ac_exeext
5472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5473 (eval $ac_link) 2>&5
5475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5476 (exit $ac_status); } &&
5477 { ac_try='test -s conftest$ac_exeext'
5478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5482 (exit $ac_status); }; }; then
5483 ac_cv_lib_nsl_gethostbyname=yes
5485 echo "$as_me: failed program was:" >&5
5486 sed 's/^/| /' conftest.$ac_ext >&5
5488 ac_cv_lib_nsl_gethostbyname=no
5490 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5491 LIBS=$ac_check_lib_save_LIBS
5493 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5494 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5495 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5496 cat >>confdefs.h <<_ACEOF
5497 #define HAVE_LIBNSL 1
5508 for ac_func in connect
5510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5511 echo "$as_me:$LINENO: checking for $ac_func" >&5
5512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5513 if eval "test \"\${$as_ac_var+set}\" = set"; then
5514 echo $ECHO_N "(cached) $ECHO_C" >&6
5516 cat >conftest.$ac_ext <<_ACEOF
5517 #line $LINENO "configure"
5520 cat confdefs.h >>conftest.$ac_ext
5521 cat >>conftest.$ac_ext <<_ACEOF
5522 /* end confdefs.h. */
5523 /* System header to define __stub macros and hopefully few prototypes,
5524 which can conflict with char $ac_func (); below.
5525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5526 <limits.h> exists even on freestanding compilers. */
5528 # include <limits.h>
5530 # include <assert.h>
5532 /* Override any gcc2 internal prototype to avoid an error. */
5537 /* We use char because int might match the return type of a gcc2
5538 builtin and then its argument prototype would still apply. */
5540 /* The GNU C library defines this for functions which it implements
5541 to always fail with ENOSYS. Some functions are actually named
5542 something starting with __ and the normal name is an alias. */
5543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5546 char (*f) () = $ac_func;
5555 return f != $ac_func;
5560 rm -f conftest.$ac_objext conftest$ac_exeext
5561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5562 (eval $ac_link) 2>&5
5564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5565 (exit $ac_status); } &&
5566 { ac_try='test -s conftest$ac_exeext'
5567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5571 (exit $ac_status); }; }; then
5572 eval "$as_ac_var=yes"
5574 echo "$as_me: failed program was:" >&5
5575 sed 's/^/| /' conftest.$ac_ext >&5
5577 eval "$as_ac_var=no"
5579 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5583 if test `eval echo '${'$as_ac_var'}'` = yes; then
5584 cat >>confdefs.h <<_ACEOF
5585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5590 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5591 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
5592 if test "${ac_cv_lib_socket_connect+set}" = set; then
5593 echo $ECHO_N "(cached) $ECHO_C" >&6
5595 ac_check_lib_save_LIBS=$LIBS
5596 LIBS="-lsocket $LIBS"
5597 cat >conftest.$ac_ext <<_ACEOF
5598 #line $LINENO "configure"
5601 cat confdefs.h >>conftest.$ac_ext
5602 cat >>conftest.$ac_ext <<_ACEOF
5603 /* end confdefs.h. */
5605 /* Override any gcc2 internal prototype to avoid an error. */
5609 /* We use char because int might match the return type of a gcc2
5610 builtin and then its argument prototype would still apply. */
5620 rm -f conftest.$ac_objext conftest$ac_exeext
5621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5622 (eval $ac_link) 2>&5
5624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5625 (exit $ac_status); } &&
5626 { ac_try='test -s conftest$ac_exeext'
5627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5631 (exit $ac_status); }; }; then
5632 ac_cv_lib_socket_connect=yes
5634 echo "$as_me: failed program was:" >&5
5635 sed 's/^/| /' conftest.$ac_ext >&5
5637 ac_cv_lib_socket_connect=no
5639 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5640 LIBS=$ac_check_lib_save_LIBS
5642 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5643 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
5644 if test $ac_cv_lib_socket_connect = yes; then
5645 cat >>confdefs.h <<_ACEOF
5646 #define HAVE_LIBSOCKET 1
5649 LIBS="-lsocket $LIBS"
5657 for ac_func in inet_aton
5659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5660 echo "$as_me:$LINENO: checking for $ac_func" >&5
5661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5662 if eval "test \"\${$as_ac_var+set}\" = set"; then
5663 echo $ECHO_N "(cached) $ECHO_C" >&6
5665 cat >conftest.$ac_ext <<_ACEOF
5666 #line $LINENO "configure"
5669 cat confdefs.h >>conftest.$ac_ext
5670 cat >>conftest.$ac_ext <<_ACEOF
5671 /* end confdefs.h. */
5672 /* System header to define __stub macros and hopefully few prototypes,
5673 which can conflict with char $ac_func (); below.
5674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5675 <limits.h> exists even on freestanding compilers. */
5677 # include <limits.h>
5679 # include <assert.h>
5681 /* Override any gcc2 internal prototype to avoid an error. */
5686 /* We use char because int might match the return type of a gcc2
5687 builtin and then its argument prototype would still apply. */
5689 /* The GNU C library defines this for functions which it implements
5690 to always fail with ENOSYS. Some functions are actually named
5691 something starting with __ and the normal name is an alias. */
5692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5695 char (*f) () = $ac_func;
5704 return f != $ac_func;
5709 rm -f conftest.$ac_objext conftest$ac_exeext
5710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5711 (eval $ac_link) 2>&5
5713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5714 (exit $ac_status); } &&
5715 { ac_try='test -s conftest$ac_exeext'
5716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720 (exit $ac_status); }; }; then
5721 eval "$as_ac_var=yes"
5723 echo "$as_me: failed program was:" >&5
5724 sed 's/^/| /' conftest.$ac_ext >&5
5726 eval "$as_ac_var=no"
5728 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5732 if test `eval echo '${'$as_ac_var'}'` = yes; then
5733 cat >>confdefs.h <<_ACEOF
5734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5739 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
5740 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
5741 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
5742 echo $ECHO_N "(cached) $ECHO_C" >&6
5744 ac_check_lib_save_LIBS=$LIBS
5745 LIBS="-lresolv $LIBS"
5746 cat >conftest.$ac_ext <<_ACEOF
5747 #line $LINENO "configure"
5750 cat confdefs.h >>conftest.$ac_ext
5751 cat >>conftest.$ac_ext <<_ACEOF
5752 /* end confdefs.h. */
5754 /* Override any gcc2 internal prototype to avoid an error. */
5758 /* We use char because int might match the return type of a gcc2
5759 builtin and then its argument prototype would still apply. */
5769 rm -f conftest.$ac_objext conftest$ac_exeext
5770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5771 (eval $ac_link) 2>&5
5773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774 (exit $ac_status); } &&
5775 { ac_try='test -s conftest$ac_exeext'
5776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5780 (exit $ac_status); }; }; then
5781 ac_cv_lib_resolv_inet_aton=yes
5783 echo "$as_me: failed program was:" >&5
5784 sed 's/^/| /' conftest.$ac_ext >&5
5786 ac_cv_lib_resolv_inet_aton=no
5788 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5789 LIBS=$ac_check_lib_save_LIBS
5791 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
5792 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
5793 if test $ac_cv_lib_resolv_inet_aton = yes; then
5794 cat >>confdefs.h <<_ACEOF
5795 #define HAVE_LIBRESOLV 1
5798 LIBS="-lresolv $LIBS"
5806 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
5807 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
5808 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
5809 echo $ECHO_N "(cached) $ECHO_C" >&6
5811 ac_check_lib_save_LIBS=$LIBS
5813 cat >conftest.$ac_ext <<_ACEOF
5814 #line $LINENO "configure"
5817 cat confdefs.h >>conftest.$ac_ext
5818 cat >>conftest.$ac_ext <<_ACEOF
5819 /* end confdefs.h. */
5821 /* Override any gcc2 internal prototype to avoid an error. */
5825 /* We use char because int might match the return type of a gcc2
5826 builtin and then its argument prototype would still apply. */
5827 char _xpg4_setrunelocale ();
5831 _xpg4_setrunelocale ();
5836 rm -f conftest.$ac_objext conftest$ac_exeext
5837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5838 (eval $ac_link) 2>&5
5840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841 (exit $ac_status); } &&
5842 { ac_try='test -s conftest$ac_exeext'
5843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5847 (exit $ac_status); }; }; then
5848 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
5850 echo "$as_me: failed program was:" >&5
5851 sed 's/^/| /' conftest.$ac_ext >&5
5853 ac_cv_lib_xpg4__xpg4_setrunelocale=no
5855 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5856 LIBS=$ac_check_lib_save_LIBS
5858 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
5859 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
5860 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
5861 cat >>confdefs.h <<_ACEOF
5862 #define HAVE_LIBXPG4 1
5870 echo "$as_me:$LINENO: checking for mmap in -lmmap" >&5
5871 echo $ECHO_N "checking for mmap in -lmmap... $ECHO_C" >&6
5872 if test "${ac_cv_lib_mmap_mmap+set}" = set; then
5873 echo $ECHO_N "(cached) $ECHO_C" >&6
5875 ac_check_lib_save_LIBS=$LIBS
5877 cat >conftest.$ac_ext <<_ACEOF
5878 #line $LINENO "configure"
5881 cat confdefs.h >>conftest.$ac_ext
5882 cat >>conftest.$ac_ext <<_ACEOF
5883 /* end confdefs.h. */
5885 /* Override any gcc2 internal prototype to avoid an error. */
5889 /* We use char because int might match the return type of a gcc2
5890 builtin and then its argument prototype would still apply. */
5900 rm -f conftest.$ac_objext conftest$ac_exeext
5901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5902 (eval $ac_link) 2>&5
5904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905 (exit $ac_status); } &&
5906 { ac_try='test -s conftest$ac_exeext'
5907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5911 (exit $ac_status); }; }; then
5912 ac_cv_lib_mmap_mmap=yes
5914 echo "$as_me: failed program was:" >&5
5915 sed 's/^/| /' conftest.$ac_ext >&5
5917 ac_cv_lib_mmap_mmap=no
5919 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5920 LIBS=$ac_check_lib_save_LIBS
5922 echo "$as_me:$LINENO: result: $ac_cv_lib_mmap_mmap" >&5
5923 echo "${ECHO_T}$ac_cv_lib_mmap_mmap" >&6
5924 if test $ac_cv_lib_mmap_mmap = yes; then
5925 cat >>confdefs.h <<_ACEOF
5926 #define HAVE_LIBMMAP 1
5936 echo "$as_me:$LINENO: checking for egrep" >&5
5937 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5938 if test "${ac_cv_prog_egrep+set}" = set; then
5939 echo $ECHO_N "(cached) $ECHO_C" >&6
5941 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5942 then ac_cv_prog_egrep='grep -E'
5943 else ac_cv_prog_egrep='egrep'
5946 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5947 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5948 EGREP=$ac_cv_prog_egrep
5951 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5952 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5953 if test "${ac_cv_header_stdc+set}" = set; then
5954 echo $ECHO_N "(cached) $ECHO_C" >&6
5956 cat >conftest.$ac_ext <<_ACEOF
5957 #line $LINENO "configure"
5960 cat confdefs.h >>conftest.$ac_ext
5961 cat >>conftest.$ac_ext <<_ACEOF
5962 /* end confdefs.h. */
5976 rm -f conftest.$ac_objext
5977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5978 (eval $ac_compile) 2>&5
5980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5981 (exit $ac_status); } &&
5982 { ac_try='test -s conftest.$ac_objext'
5983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5987 (exit $ac_status); }; }; then
5988 ac_cv_header_stdc=yes
5990 echo "$as_me: failed program was:" >&5
5991 sed 's/^/| /' conftest.$ac_ext >&5
5993 ac_cv_header_stdc=no
5995 rm -f conftest.$ac_objext conftest.$ac_ext
5997 if test $ac_cv_header_stdc = yes; then
5998 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5999 cat >conftest.$ac_ext <<_ACEOF
6000 #line $LINENO "configure"
6003 cat confdefs.h >>conftest.$ac_ext
6004 cat >>conftest.$ac_ext <<_ACEOF
6005 /* end confdefs.h. */
6009 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6010 $EGREP "memchr" >/dev/null 2>&1; then
6013 ac_cv_header_stdc=no
6019 if test $ac_cv_header_stdc = yes; then
6020 # ISC 2.0.2 stdlib.h does not declare free, 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 "free" >/dev/null 2>&1; then
6035 ac_cv_header_stdc=no
6041 if test $ac_cv_header_stdc = yes; then
6042 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6043 if test "$cross_compiling" = yes; then
6046 cat >conftest.$ac_ext <<_ACEOF
6047 #line $LINENO "configure"
6050 cat confdefs.h >>conftest.$ac_ext
6051 cat >>conftest.$ac_ext <<_ACEOF
6052 /* end confdefs.h. */
6054 #if ((' ' & 0x0FF) == 0x020)
6055 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6056 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6058 # define ISLOWER(c) \
6059 (('a' <= (c) && (c) <= 'i') \
6060 || ('j' <= (c) && (c) <= 'r') \
6061 || ('s' <= (c) && (c) <= 'z'))
6062 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6065 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6070 for (i = 0; i < 256; i++)
6071 if (XOR (islower (i), ISLOWER (i))
6072 || toupper (i) != TOUPPER (i))
6077 rm -f conftest$ac_exeext
6078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6079 (eval $ac_link) 2>&5
6081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6082 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); }; }; then
6090 echo "$as_me: program exited with status $ac_status" >&5
6091 echo "$as_me: failed program was:" >&5
6092 sed 's/^/| /' conftest.$ac_ext >&5
6095 ac_cv_header_stdc=no
6097 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6101 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6102 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6103 if test $ac_cv_header_stdc = yes; then
6105 cat >>confdefs.h <<\_ACEOF
6106 #define STDC_HEADERS 1
6111 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6121 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6122 inttypes.h stdint.h unistd.h
6124 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6125 echo "$as_me:$LINENO: checking for $ac_header" >&5
6126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6128 echo $ECHO_N "(cached) $ECHO_C" >&6
6130 cat >conftest.$ac_ext <<_ACEOF
6131 #line $LINENO "configure"
6134 cat confdefs.h >>conftest.$ac_ext
6135 cat >>conftest.$ac_ext <<_ACEOF
6136 /* end confdefs.h. */
6137 $ac_includes_default
6139 #include <$ac_header>
6141 rm -f conftest.$ac_objext
6142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6143 (eval $ac_compile) 2>&5
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); } &&
6147 { ac_try='test -s conftest.$ac_objext'
6148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); }; }; then
6153 eval "$as_ac_Header=yes"
6155 echo "$as_me: failed program was:" >&5
6156 sed 's/^/| /' conftest.$ac_ext >&5
6158 eval "$as_ac_Header=no"
6160 rm -f conftest.$ac_objext conftest.$ac_ext
6162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6164 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6165 cat >>confdefs.h <<_ACEOF
6166 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6175 for ac_header in jpeglib.h
6177 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6179 echo "$as_me:$LINENO: checking for $ac_header" >&5
6180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6182 echo $ECHO_N "(cached) $ECHO_C" >&6
6184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6187 # Is the header compilable?
6188 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6189 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6190 cat >conftest.$ac_ext <<_ACEOF
6191 #line $LINENO "configure"
6194 cat confdefs.h >>conftest.$ac_ext
6195 cat >>conftest.$ac_ext <<_ACEOF
6196 /* end confdefs.h. */
6197 $ac_includes_default
6198 #include <$ac_header>
6200 rm -f conftest.$ac_objext
6201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6202 (eval $ac_compile) 2>&5
6204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6205 (exit $ac_status); } &&
6206 { ac_try='test -s conftest.$ac_objext'
6207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6211 (exit $ac_status); }; }; then
6212 ac_header_compiler=yes
6214 echo "$as_me: failed program was:" >&5
6215 sed 's/^/| /' conftest.$ac_ext >&5
6217 ac_header_compiler=no
6219 rm -f conftest.$ac_objext conftest.$ac_ext
6220 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6221 echo "${ECHO_T}$ac_header_compiler" >&6
6223 # Is the header present?
6224 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6225 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6226 cat >conftest.$ac_ext <<_ACEOF
6227 #line $LINENO "configure"
6230 cat confdefs.h >>conftest.$ac_ext
6231 cat >>conftest.$ac_ext <<_ACEOF
6232 /* end confdefs.h. */
6233 #include <$ac_header>
6235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6236 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6238 grep -v '^ *+' conftest.er1 >conftest.err
6240 cat conftest.err >&5
6241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242 (exit $ac_status); } >/dev/null; then
6243 if test -s conftest.err; then
6244 ac_cpp_err=$ac_c_preproc_warn_flag
6251 if test -z "$ac_cpp_err"; then
6252 ac_header_preproc=yes
6254 echo "$as_me: failed program was:" >&5
6255 sed 's/^/| /' conftest.$ac_ext >&5
6257 ac_header_preproc=no
6259 rm -f conftest.err conftest.$ac_ext
6260 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6261 echo "${ECHO_T}$ac_header_preproc" >&6
6263 # So? What about this header?
6264 case $ac_header_compiler:$ac_header_preproc in
6266 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6267 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6268 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6269 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6272 ## ------------------------------------ ##
6273 ## Report this to bug-autoconf@gnu.org. ##
6274 ## ------------------------------------ ##
6277 sed "s/^/$as_me: WARNING: /" >&2
6280 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6281 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6282 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6283 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6285 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6288 ## ------------------------------------ ##
6289 ## Report this to bug-autoconf@gnu.org. ##
6290 ## ------------------------------------ ##
6293 sed "s/^/$as_me: WARNING: /" >&2
6296 echo "$as_me:$LINENO: checking for $ac_header" >&5
6297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6299 echo $ECHO_N "(cached) $ECHO_C" >&6
6301 eval "$as_ac_Header=$ac_header_preproc"
6303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6304 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6307 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6308 cat >>confdefs.h <<_ACEOF
6309 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6311 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
6312 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
6313 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
6314 echo $ECHO_N "(cached) $ECHO_C" >&6
6316 ac_check_lib_save_LIBS=$LIBS
6318 cat >conftest.$ac_ext <<_ACEOF
6319 #line $LINENO "configure"
6322 cat confdefs.h >>conftest.$ac_ext
6323 cat >>conftest.$ac_ext <<_ACEOF
6324 /* end confdefs.h. */
6326 /* Override any gcc2 internal prototype to avoid an error. */
6330 /* We use char because int might match the return type of a gcc2
6331 builtin and then its argument prototype would still apply. */
6332 char jpeg_start_decompress ();
6336 jpeg_start_decompress ();
6341 rm -f conftest.$ac_objext conftest$ac_exeext
6342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6343 (eval $ac_link) 2>&5
6345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346 (exit $ac_status); } &&
6347 { ac_try='test -s conftest$ac_exeext'
6348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6352 (exit $ac_status); }; }; then
6353 ac_cv_lib_jpeg_jpeg_start_decompress=yes
6355 echo "$as_me: failed program was:" >&5
6356 sed 's/^/| /' conftest.$ac_ext >&5
6358 ac_cv_lib_jpeg_jpeg_start_decompress=no
6360 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6361 LIBS=$ac_check_lib_save_LIBS
6363 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
6364 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
6365 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
6367 cat >>confdefs.h <<\_ACEOF
6368 #define HAVE_LIBJPEG 1
6384 for ac_header in gif_lib.h
6386 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6388 echo "$as_me:$LINENO: checking for $ac_header" >&5
6389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6391 echo $ECHO_N "(cached) $ECHO_C" >&6
6393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6396 # Is the header compilable?
6397 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6398 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6399 cat >conftest.$ac_ext <<_ACEOF
6400 #line $LINENO "configure"
6403 cat confdefs.h >>conftest.$ac_ext
6404 cat >>conftest.$ac_ext <<_ACEOF
6405 /* end confdefs.h. */
6406 $ac_includes_default
6407 #include <$ac_header>
6409 rm -f conftest.$ac_objext
6410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6411 (eval $ac_compile) 2>&5
6413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6414 (exit $ac_status); } &&
6415 { ac_try='test -s conftest.$ac_objext'
6416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6420 (exit $ac_status); }; }; then
6421 ac_header_compiler=yes
6423 echo "$as_me: failed program was:" >&5
6424 sed 's/^/| /' conftest.$ac_ext >&5
6426 ac_header_compiler=no
6428 rm -f conftest.$ac_objext conftest.$ac_ext
6429 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6430 echo "${ECHO_T}$ac_header_compiler" >&6
6432 # Is the header present?
6433 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6434 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6435 cat >conftest.$ac_ext <<_ACEOF
6436 #line $LINENO "configure"
6439 cat confdefs.h >>conftest.$ac_ext
6440 cat >>conftest.$ac_ext <<_ACEOF
6441 /* end confdefs.h. */
6442 #include <$ac_header>
6444 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6445 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6447 grep -v '^ *+' conftest.er1 >conftest.err
6449 cat conftest.err >&5
6450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6451 (exit $ac_status); } >/dev/null; then
6452 if test -s conftest.err; then
6453 ac_cpp_err=$ac_c_preproc_warn_flag
6460 if test -z "$ac_cpp_err"; then
6461 ac_header_preproc=yes
6463 echo "$as_me: failed program was:" >&5
6464 sed 's/^/| /' conftest.$ac_ext >&5
6466 ac_header_preproc=no
6468 rm -f conftest.err conftest.$ac_ext
6469 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6470 echo "${ECHO_T}$ac_header_preproc" >&6
6472 # So? What about this header?
6473 case $ac_header_compiler:$ac_header_preproc in
6475 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6476 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6477 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6478 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6481 ## ------------------------------------ ##
6482 ## Report this to bug-autoconf@gnu.org. ##
6483 ## ------------------------------------ ##
6486 sed "s/^/$as_me: WARNING: /" >&2
6489 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6490 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6491 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6492 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6494 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6497 ## ------------------------------------ ##
6498 ## Report this to bug-autoconf@gnu.org. ##
6499 ## ------------------------------------ ##
6502 sed "s/^/$as_me: WARNING: /" >&2
6505 echo "$as_me:$LINENO: checking for $ac_header" >&5
6506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6508 echo $ECHO_N "(cached) $ECHO_C" >&6
6510 eval "$as_ac_Header=$ac_header_preproc"
6512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6513 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6516 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6517 cat >>confdefs.h <<_ACEOF
6518 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6520 echo "$as_me:$LINENO: checking for DGifOpen in -lungif" >&5
6521 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
6522 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
6523 echo $ECHO_N "(cached) $ECHO_C" >&6
6525 ac_check_lib_save_LIBS=$LIBS
6526 LIBS="-lungif $LIBS"
6527 cat >conftest.$ac_ext <<_ACEOF
6528 #line $LINENO "configure"
6531 cat confdefs.h >>conftest.$ac_ext
6532 cat >>conftest.$ac_ext <<_ACEOF
6533 /* end confdefs.h. */
6535 /* Override any gcc2 internal prototype to avoid an error. */
6539 /* We use char because int might match the return type of a gcc2
6540 builtin and then its argument prototype would still apply. */
6550 rm -f conftest.$ac_objext conftest$ac_exeext
6551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6552 (eval $ac_link) 2>&5
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); } &&
6556 { ac_try='test -s conftest$ac_exeext'
6557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561 (exit $ac_status); }; }; then
6562 ac_cv_lib_ungif_DGifOpen=yes
6564 echo "$as_me: failed program was:" >&5
6565 sed 's/^/| /' conftest.$ac_ext >&5
6567 ac_cv_lib_ungif_DGifOpen=no
6569 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6570 LIBS=$ac_check_lib_save_LIBS
6572 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_DGifOpen" >&5
6573 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
6574 if test $ac_cv_lib_ungif_DGifOpen = yes; then
6576 cat >>confdefs.h <<\_ACEOF
6577 #define HAVE_LIBGIF 1
6582 echo "$as_me:$LINENO: checking for DGifOpen in -lgif" >&5
6583 echo $ECHO_N "checking for DGifOpen in -lgif... $ECHO_C" >&6
6584 if test "${ac_cv_lib_gif_DGifOpen+set}" = set; then
6585 echo $ECHO_N "(cached) $ECHO_C" >&6
6587 ac_check_lib_save_LIBS=$LIBS
6589 cat >conftest.$ac_ext <<_ACEOF
6590 #line $LINENO "configure"
6593 cat confdefs.h >>conftest.$ac_ext
6594 cat >>conftest.$ac_ext <<_ACEOF
6595 /* end confdefs.h. */
6597 /* Override any gcc2 internal prototype to avoid an error. */
6601 /* We use char because int might match the return type of a gcc2
6602 builtin and then its argument prototype would still apply. */
6612 rm -f conftest.$ac_objext conftest$ac_exeext
6613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6614 (eval $ac_link) 2>&5
6616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6617 (exit $ac_status); } &&
6618 { ac_try='test -s conftest$ac_exeext'
6619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623 (exit $ac_status); }; }; then
6624 ac_cv_lib_gif_DGifOpen=yes
6626 echo "$as_me: failed program was:" >&5
6627 sed 's/^/| /' conftest.$ac_ext >&5
6629 ac_cv_lib_gif_DGifOpen=no
6631 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6632 LIBS=$ac_check_lib_save_LIBS
6634 echo "$as_me:$LINENO: result: $ac_cv_lib_gif_DGifOpen" >&5
6635 echo "${ECHO_T}$ac_cv_lib_gif_DGifOpen" >&6
6636 if test $ac_cv_lib_gif_DGifOpen = yes; then
6637 cat >>confdefs.h <<\_ACEOF
6638 #define HAVE_LIBGIF 1
6661 if test "$have_x" = "yes"
6664 ac_save_CPPFLAGS="$CPPFLAGS"
6665 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
6668 for ac_header in X11/Xlib.h
6670 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6672 echo "$as_me:$LINENO: checking for $ac_header" >&5
6673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6675 echo $ECHO_N "(cached) $ECHO_C" >&6
6677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6678 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6680 # Is the header compilable?
6681 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6682 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6683 cat >conftest.$ac_ext <<_ACEOF
6684 #line $LINENO "configure"
6687 cat confdefs.h >>conftest.$ac_ext
6688 cat >>conftest.$ac_ext <<_ACEOF
6689 /* end confdefs.h. */
6690 $ac_includes_default
6691 #include <$ac_header>
6693 rm -f conftest.$ac_objext
6694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6695 (eval $ac_compile) 2>&5
6697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698 (exit $ac_status); } &&
6699 { ac_try='test -s conftest.$ac_objext'
6700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704 (exit $ac_status); }; }; then
6705 ac_header_compiler=yes
6707 echo "$as_me: failed program was:" >&5
6708 sed 's/^/| /' conftest.$ac_ext >&5
6710 ac_header_compiler=no
6712 rm -f conftest.$ac_objext conftest.$ac_ext
6713 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6714 echo "${ECHO_T}$ac_header_compiler" >&6
6716 # Is the header present?
6717 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6718 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6719 cat >conftest.$ac_ext <<_ACEOF
6720 #line $LINENO "configure"
6723 cat confdefs.h >>conftest.$ac_ext
6724 cat >>conftest.$ac_ext <<_ACEOF
6725 /* end confdefs.h. */
6726 #include <$ac_header>
6728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6729 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6731 grep -v '^ *+' conftest.er1 >conftest.err
6733 cat conftest.err >&5
6734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6735 (exit $ac_status); } >/dev/null; then
6736 if test -s conftest.err; then
6737 ac_cpp_err=$ac_c_preproc_warn_flag
6744 if test -z "$ac_cpp_err"; then
6745 ac_header_preproc=yes
6747 echo "$as_me: failed program was:" >&5
6748 sed 's/^/| /' conftest.$ac_ext >&5
6750 ac_header_preproc=no
6752 rm -f conftest.err conftest.$ac_ext
6753 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6754 echo "${ECHO_T}$ac_header_preproc" >&6
6756 # So? What about this header?
6757 case $ac_header_compiler:$ac_header_preproc in
6759 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6760 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6761 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6762 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6765 ## ------------------------------------ ##
6766 ## Report this to bug-autoconf@gnu.org. ##
6767 ## ------------------------------------ ##
6770 sed "s/^/$as_me: WARNING: /" >&2
6773 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6774 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6775 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6776 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6778 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6781 ## ------------------------------------ ##
6782 ## Report this to bug-autoconf@gnu.org. ##
6783 ## ------------------------------------ ##
6786 sed "s/^/$as_me: WARNING: /" >&2
6789 echo "$as_me:$LINENO: checking for $ac_header" >&5
6790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6792 echo $ECHO_N "(cached) $ECHO_C" >&6
6794 eval "$as_ac_Header=$ac_header_preproc"
6796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6801 cat >>confdefs.h <<_ACEOF
6802 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6806 for ac_header in X11/XKBlib.h
6808 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6809 echo "$as_me:$LINENO: checking for $ac_header" >&5
6810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6812 echo $ECHO_N "(cached) $ECHO_C" >&6
6814 cat >conftest.$ac_ext <<_ACEOF
6815 #line $LINENO "configure"
6818 cat confdefs.h >>conftest.$ac_ext
6819 cat >>conftest.$ac_ext <<_ACEOF
6820 /* end confdefs.h. */
6821 #include <X11/Xlib.h>
6823 #include <$ac_header>
6825 rm -f conftest.$ac_objext
6826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6827 (eval $ac_compile) 2>&5
6829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6830 (exit $ac_status); } &&
6831 { ac_try='test -s conftest.$ac_objext'
6832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6836 (exit $ac_status); }; }; then
6837 eval "$as_ac_Header=yes"
6839 echo "$as_me: failed program was:" >&5
6840 sed 's/^/| /' conftest.$ac_ext >&5
6842 eval "$as_ac_Header=no"
6844 rm -f conftest.$ac_objext conftest.$ac_ext
6846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6849 cat >>confdefs.h <<_ACEOF
6850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6852 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
6853 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
6854 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
6855 echo $ECHO_N "(cached) $ECHO_C" >&6
6857 ac_check_lib_save_LIBS=$LIBS
6858 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6859 cat >conftest.$ac_ext <<_ACEOF
6860 #line $LINENO "configure"
6863 cat confdefs.h >>conftest.$ac_ext
6864 cat >>conftest.$ac_ext <<_ACEOF
6865 /* end confdefs.h. */
6867 /* Override any gcc2 internal prototype to avoid an error. */
6871 /* We use char because int might match the return type of a gcc2
6872 builtin and then its argument prototype would still apply. */
6873 char XkbQueryExtension ();
6877 XkbQueryExtension ();
6882 rm -f conftest.$ac_objext conftest$ac_exeext
6883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6884 (eval $ac_link) 2>&5
6886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6887 (exit $ac_status); } &&
6888 { ac_try='test -s conftest$ac_exeext'
6889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6893 (exit $ac_status); }; }; then
6894 ac_cv_lib_X11_XkbQueryExtension=yes
6896 echo "$as_me: failed program was:" >&5
6897 sed 's/^/| /' conftest.$ac_ext >&5
6899 ac_cv_lib_X11_XkbQueryExtension=no
6901 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6902 LIBS=$ac_check_lib_save_LIBS
6904 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
6905 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
6906 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
6908 cat >>confdefs.h <<\_ACEOF
6916 { echo "$as_me:$LINENO: WARNING: Xkb extension not found, Wine will be built without it" >&5
6917 echo "$as_me: WARNING: Xkb extension not found, Wine will be built without it" >&2;}
6924 for ac_header in X11/extensions/XShm.h
6926 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6927 echo "$as_me:$LINENO: checking for $ac_header" >&5
6928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6930 echo $ECHO_N "(cached) $ECHO_C" >&6
6932 cat >conftest.$ac_ext <<_ACEOF
6933 #line $LINENO "configure"
6936 cat confdefs.h >>conftest.$ac_ext
6937 cat >>conftest.$ac_ext <<_ACEOF
6938 /* end confdefs.h. */
6939 #include <X11/Xlib.h>
6941 #include <$ac_header>
6943 rm -f conftest.$ac_objext
6944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6945 (eval $ac_compile) 2>&5
6947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6948 (exit $ac_status); } &&
6949 { ac_try='test -s conftest.$ac_objext'
6950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6954 (exit $ac_status); }; }; then
6955 eval "$as_ac_Header=yes"
6957 echo "$as_me: failed program was:" >&5
6958 sed 's/^/| /' conftest.$ac_ext >&5
6960 eval "$as_ac_Header=no"
6962 rm -f conftest.$ac_objext conftest.$ac_ext
6964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6966 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6967 cat >>confdefs.h <<_ACEOF
6968 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6970 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
6971 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
6972 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
6973 echo $ECHO_N "(cached) $ECHO_C" >&6
6975 ac_check_lib_save_LIBS=$LIBS
6976 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6977 cat >conftest.$ac_ext <<_ACEOF
6978 #line $LINENO "configure"
6981 cat confdefs.h >>conftest.$ac_ext
6982 cat >>conftest.$ac_ext <<_ACEOF
6983 /* end confdefs.h. */
6985 /* Override any gcc2 internal prototype to avoid an error. */
6989 /* We use char because int might match the return type of a gcc2
6990 builtin and then its argument prototype would still apply. */
6991 char XShmQueryExtension ();
6995 XShmQueryExtension ();
7000 rm -f conftest.$ac_objext conftest$ac_exeext
7001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7002 (eval $ac_link) 2>&5
7004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7005 (exit $ac_status); } &&
7006 { ac_try='test -s conftest$ac_exeext'
7007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011 (exit $ac_status); }; }; then
7012 ac_cv_lib_Xext_XShmQueryExtension=yes
7014 echo "$as_me: failed program was:" >&5
7015 sed 's/^/| /' conftest.$ac_ext >&5
7017 ac_cv_lib_Xext_XShmQueryExtension=no
7019 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7020 LIBS=$ac_check_lib_save_LIBS
7022 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7023 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7024 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7026 cat >>confdefs.h <<\_ACEOF
7027 #define HAVE_LIBXXSHM 1
7034 { echo "$as_me:$LINENO: WARNING: XShm extension not found, Wine will be built without it" >&5
7035 echo "$as_me: WARNING: XShm extension not found, Wine will be built without it" >&2;}
7042 for ac_header in X11/Xutil.h
7044 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7045 echo "$as_me:$LINENO: checking for $ac_header" >&5
7046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7047 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7048 echo $ECHO_N "(cached) $ECHO_C" >&6
7050 cat >conftest.$ac_ext <<_ACEOF
7051 #line $LINENO "configure"
7054 cat confdefs.h >>conftest.$ac_ext
7055 cat >>conftest.$ac_ext <<_ACEOF
7056 /* end confdefs.h. */
7057 #include <X11/Xlib.h>
7059 #include <$ac_header>
7061 rm -f conftest.$ac_objext
7062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7063 (eval $ac_compile) 2>&5
7065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7066 (exit $ac_status); } &&
7067 { ac_try='test -s conftest.$ac_objext'
7068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); }; }; then
7073 eval "$as_ac_Header=yes"
7075 echo "$as_me: failed program was:" >&5
7076 sed 's/^/| /' conftest.$ac_ext >&5
7078 eval "$as_ac_Header=no"
7080 rm -f conftest.$ac_objext conftest.$ac_ext
7082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7084 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7085 cat >>confdefs.h <<_ACEOF
7086 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7095 for ac_header in X11/extensions/shape.h
7097 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7098 echo "$as_me:$LINENO: checking for $ac_header" >&5
7099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7101 echo $ECHO_N "(cached) $ECHO_C" >&6
7103 cat >conftest.$ac_ext <<_ACEOF
7104 #line $LINENO "configure"
7107 cat confdefs.h >>conftest.$ac_ext
7108 cat >>conftest.$ac_ext <<_ACEOF
7109 /* end confdefs.h. */
7110 #include <X11/Xlib.h>
7111 #ifdef HAVE_X11_XUTIL_H
7112 # include <X11/Xutil.h>
7115 #include <$ac_header>
7117 rm -f conftest.$ac_objext
7118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7119 (eval $ac_compile) 2>&5
7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 (exit $ac_status); } &&
7123 { ac_try='test -s conftest.$ac_objext'
7124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128 (exit $ac_status); }; }; then
7129 eval "$as_ac_Header=yes"
7131 echo "$as_me: failed program was:" >&5
7132 sed 's/^/| /' conftest.$ac_ext >&5
7134 eval "$as_ac_Header=no"
7136 rm -f conftest.$ac_objext conftest.$ac_ext
7138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7139 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7140 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7141 cat >>confdefs.h <<_ACEOF
7142 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7144 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7145 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7146 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7147 echo $ECHO_N "(cached) $ECHO_C" >&6
7149 ac_check_lib_save_LIBS=$LIBS
7150 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7151 cat >conftest.$ac_ext <<_ACEOF
7152 #line $LINENO "configure"
7155 cat confdefs.h >>conftest.$ac_ext
7156 cat >>conftest.$ac_ext <<_ACEOF
7157 /* end confdefs.h. */
7159 /* Override any gcc2 internal prototype to avoid an error. */
7163 /* We use char because int might match the return type of a gcc2
7164 builtin and then its argument prototype would still apply. */
7165 char XShapeQueryExtension ();
7169 XShapeQueryExtension ();
7174 rm -f conftest.$ac_objext conftest$ac_exeext
7175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7176 (eval $ac_link) 2>&5
7178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7179 (exit $ac_status); } &&
7180 { ac_try='test -s conftest$ac_exeext'
7181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185 (exit $ac_status); }; }; then
7186 ac_cv_lib_Xext_XShapeQueryExtension=yes
7188 echo "$as_me: failed program was:" >&5
7189 sed 's/^/| /' conftest.$ac_ext >&5
7191 ac_cv_lib_Xext_XShapeQueryExtension=no
7193 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7194 LIBS=$ac_check_lib_save_LIBS
7196 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7197 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
7198 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7200 cat >>confdefs.h <<\_ACEOF
7201 #define HAVE_LIBXSHAPE 1
7208 { echo "$as_me:$LINENO: WARNING: XShape extension not found, Wine will be built without it" >&5
7209 echo "$as_me: WARNING: XShape extension not found, Wine will be built without it" >&2;}
7216 for ac_header in X11/extensions/xf86dga.h
7218 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7219 echo "$as_me:$LINENO: checking for $ac_header" >&5
7220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7222 echo $ECHO_N "(cached) $ECHO_C" >&6
7224 cat >conftest.$ac_ext <<_ACEOF
7225 #line $LINENO "configure"
7228 cat confdefs.h >>conftest.$ac_ext
7229 cat >>conftest.$ac_ext <<_ACEOF
7230 /* end confdefs.h. */
7231 #include <X11/Xlib.h>
7233 #include <$ac_header>
7235 rm -f conftest.$ac_objext
7236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7237 (eval $ac_compile) 2>&5
7239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7240 (exit $ac_status); } &&
7241 { ac_try='test -s conftest.$ac_objext'
7242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246 (exit $ac_status); }; }; then
7247 eval "$as_ac_Header=yes"
7249 echo "$as_me: failed program was:" >&5
7250 sed 's/^/| /' conftest.$ac_ext >&5
7252 eval "$as_ac_Header=no"
7254 rm -f conftest.$ac_objext conftest.$ac_ext
7256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7257 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7258 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7259 cat >>confdefs.h <<_ACEOF
7260 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7262 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
7263 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7264 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
7265 echo $ECHO_N "(cached) $ECHO_C" >&6
7267 ac_check_lib_save_LIBS=$LIBS
7268 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7270 cat >conftest.$ac_ext <<_ACEOF
7271 #line $LINENO "configure"
7274 cat confdefs.h >>conftest.$ac_ext
7275 cat >>conftest.$ac_ext <<_ACEOF
7276 /* end confdefs.h. */
7278 /* Override any gcc2 internal prototype to avoid an error. */
7282 /* We use char because int might match the return type of a gcc2
7283 builtin and then its argument prototype would still apply. */
7284 char XDGAQueryExtension ();
7288 XDGAQueryExtension ();
7293 rm -f conftest.$ac_objext conftest$ac_exeext
7294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7295 (eval $ac_link) 2>&5
7297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7298 (exit $ac_status); } &&
7299 { ac_try='test -s conftest$ac_exeext'
7300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7304 (exit $ac_status); }; }; then
7305 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
7307 echo "$as_me: failed program was:" >&5
7308 sed 's/^/| /' conftest.$ac_ext >&5
7310 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
7312 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7313 LIBS=$ac_check_lib_save_LIBS
7315 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
7316 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
7317 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
7319 cat >>confdefs.h <<\_ACEOF
7320 #define HAVE_LIBXXF86DGA2 1
7323 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7326 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
7327 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7328 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
7329 echo $ECHO_N "(cached) $ECHO_C" >&6
7331 ac_check_lib_save_LIBS=$LIBS
7332 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7334 cat >conftest.$ac_ext <<_ACEOF
7335 #line $LINENO "configure"
7338 cat confdefs.h >>conftest.$ac_ext
7339 cat >>conftest.$ac_ext <<_ACEOF
7340 /* end confdefs.h. */
7342 /* Override any gcc2 internal prototype to avoid an error. */
7346 /* We use char because int might match the return type of a gcc2
7347 builtin and then its argument prototype would still apply. */
7348 char XF86DGAQueryExtension ();
7352 XF86DGAQueryExtension ();
7357 rm -f conftest.$ac_objext conftest$ac_exeext
7358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7359 (eval $ac_link) 2>&5
7361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362 (exit $ac_status); } &&
7363 { ac_try='test -s conftest$ac_exeext'
7364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7368 (exit $ac_status); }; }; then
7369 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=yes
7371 echo "$as_me: failed program was:" >&5
7372 sed 's/^/| /' conftest.$ac_ext >&5
7374 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no
7376 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7377 LIBS=$ac_check_lib_save_LIBS
7379 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
7380 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
7381 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
7383 cat >>confdefs.h <<\_ACEOF
7384 #define HAVE_LIBXXF86DGA 1
7387 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7396 { echo "$as_me:$LINENO: WARNING: DGA extension not found, Wine will be built without it" >&5
7397 echo "$as_me: WARNING: DGA extension not found, Wine will be built without it" >&2;}
7404 for ac_header in X11/extensions/xf86vmode.h
7406 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7407 echo "$as_me:$LINENO: checking for $ac_header" >&5
7408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7410 echo $ECHO_N "(cached) $ECHO_C" >&6
7412 cat >conftest.$ac_ext <<_ACEOF
7413 #line $LINENO "configure"
7416 cat confdefs.h >>conftest.$ac_ext
7417 cat >>conftest.$ac_ext <<_ACEOF
7418 /* end confdefs.h. */
7419 #include <X11/Xlib.h>
7421 #include <$ac_header>
7423 rm -f conftest.$ac_objext
7424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7425 (eval $ac_compile) 2>&5
7427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7428 (exit $ac_status); } &&
7429 { ac_try='test -s conftest.$ac_objext'
7430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7434 (exit $ac_status); }; }; then
7435 eval "$as_ac_Header=yes"
7437 echo "$as_me: failed program was:" >&5
7438 sed 's/^/| /' conftest.$ac_ext >&5
7440 eval "$as_ac_Header=no"
7442 rm -f conftest.$ac_objext conftest.$ac_ext
7444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7445 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7446 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7447 cat >>confdefs.h <<_ACEOF
7448 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7450 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7451 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7452 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7453 echo $ECHO_N "(cached) $ECHO_C" >&6
7455 ac_check_lib_save_LIBS=$LIBS
7456 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7458 cat >conftest.$ac_ext <<_ACEOF
7459 #line $LINENO "configure"
7462 cat confdefs.h >>conftest.$ac_ext
7463 cat >>conftest.$ac_ext <<_ACEOF
7464 /* end confdefs.h. */
7466 /* Override any gcc2 internal prototype to avoid an error. */
7470 /* We use char because int might match the return type of a gcc2
7471 builtin and then its argument prototype would still apply. */
7472 char XF86VidModeQueryExtension ();
7476 XF86VidModeQueryExtension ();
7481 rm -f conftest.$ac_objext conftest$ac_exeext
7482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7483 (eval $ac_link) 2>&5
7485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486 (exit $ac_status); } &&
7487 { ac_try='test -s conftest$ac_exeext'
7488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7492 (exit $ac_status); }; }; then
7493 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
7495 echo "$as_me: failed program was:" >&5
7496 sed 's/^/| /' conftest.$ac_ext >&5
7498 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
7500 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7501 LIBS=$ac_check_lib_save_LIBS
7503 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7504 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7505 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
7507 cat >>confdefs.h <<\_ACEOF
7508 #define HAVE_LIBXXF86VM 1
7511 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
7517 { echo "$as_me:$LINENO: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&5
7518 echo "$as_me: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&2;}
7525 for ac_header in X11/extensions/Xvlib.h
7527 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7528 echo "$as_me:$LINENO: checking for $ac_header" >&5
7529 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7531 echo $ECHO_N "(cached) $ECHO_C" >&6
7533 cat >conftest.$ac_ext <<_ACEOF
7534 #line $LINENO "configure"
7537 cat confdefs.h >>conftest.$ac_ext
7538 cat >>conftest.$ac_ext <<_ACEOF
7539 /* end confdefs.h. */
7540 #include <X11/Xlib.h>
7542 #include <$ac_header>
7544 rm -f conftest.$ac_objext
7545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7546 (eval $ac_compile) 2>&5
7548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7549 (exit $ac_status); } &&
7550 { ac_try='test -s conftest.$ac_objext'
7551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7555 (exit $ac_status); }; }; then
7556 eval "$as_ac_Header=yes"
7558 echo "$as_me: failed program was:" >&5
7559 sed 's/^/| /' conftest.$ac_ext >&5
7561 eval "$as_ac_Header=no"
7563 rm -f conftest.$ac_objext conftest.$ac_ext
7565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7568 cat >>confdefs.h <<_ACEOF
7569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7571 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
7572 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
7573 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
7574 echo $ECHO_N "(cached) $ECHO_C" >&6
7576 ac_check_lib_save_LIBS=$LIBS
7577 LIBS="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7579 cat >conftest.$ac_ext <<_ACEOF
7580 #line $LINENO "configure"
7583 cat confdefs.h >>conftest.$ac_ext
7584 cat >>conftest.$ac_ext <<_ACEOF
7585 /* end confdefs.h. */
7587 /* Override any gcc2 internal prototype to avoid an error. */
7591 /* We use char because int might match the return type of a gcc2
7592 builtin and then its argument prototype would still apply. */
7593 char XvShmCreateImage ();
7597 XvShmCreateImage ();
7602 rm -f conftest.$ac_objext conftest$ac_exeext
7603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7604 (eval $ac_link) 2>&5
7606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7607 (exit $ac_status); } &&
7608 { ac_try='test -s conftest$ac_exeext'
7609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7613 (exit $ac_status); }; }; then
7614 ac_cv_lib_Xv_XvShmCreateImage=yes
7616 echo "$as_me: failed program was:" >&5
7617 sed 's/^/| /' conftest.$ac_ext >&5
7619 ac_cv_lib_Xv_XvShmCreateImage=no
7621 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7622 LIBS=$ac_check_lib_save_LIBS
7624 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
7625 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
7626 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
7628 cat >>confdefs.h <<\_ACEOF
7629 #define HAVE_XVIDEO 1
7632 X_PRE_LIBS="$X_PRE_LIBS -lXv"
7638 { echo "$as_me:$LINENO: WARNING: XVideo extension not found, Wine will be built without it" >&5
7639 echo "$as_me: WARNING: XVideo extension not found, Wine will be built without it" >&2;}
7646 for ac_header in X11/extensions/Xrender.h
7648 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7649 echo "$as_me:$LINENO: checking for $ac_header" >&5
7650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7652 echo $ECHO_N "(cached) $ECHO_C" >&6
7654 cat >conftest.$ac_ext <<_ACEOF
7655 #line $LINENO "configure"
7658 cat confdefs.h >>conftest.$ac_ext
7659 cat >>conftest.$ac_ext <<_ACEOF
7660 /* end confdefs.h. */
7661 #include <X11/Xlib.h>
7663 #include <$ac_header>
7665 rm -f conftest.$ac_objext
7666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7667 (eval $ac_compile) 2>&5
7669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670 (exit $ac_status); } &&
7671 { ac_try='test -s conftest.$ac_objext'
7672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7676 (exit $ac_status); }; }; then
7677 eval "$as_ac_Header=yes"
7679 echo "$as_me: failed program was:" >&5
7680 sed 's/^/| /' conftest.$ac_ext >&5
7682 eval "$as_ac_Header=no"
7684 rm -f conftest.$ac_objext conftest.$ac_ext
7686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7687 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7688 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7689 cat >>confdefs.h <<_ACEOF
7690 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7703 if test "x$with_opengl" != "xno"
7705 if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
7707 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
7708 This prevents linking to OpenGL. Delete the file and restart configure." >&5
7709 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
7710 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
7711 { (exit 1); exit 1; }; }
7716 for ac_header in GL/gl.h GL/glx.h
7718 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7720 echo "$as_me:$LINENO: checking for $ac_header" >&5
7721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7723 echo $ECHO_N "(cached) $ECHO_C" >&6
7725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7726 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7728 # Is the header compilable?
7729 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7730 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7731 cat >conftest.$ac_ext <<_ACEOF
7732 #line $LINENO "configure"
7735 cat confdefs.h >>conftest.$ac_ext
7736 cat >>conftest.$ac_ext <<_ACEOF
7737 /* end confdefs.h. */
7738 $ac_includes_default
7739 #include <$ac_header>
7741 rm -f conftest.$ac_objext
7742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7743 (eval $ac_compile) 2>&5
7745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746 (exit $ac_status); } &&
7747 { ac_try='test -s conftest.$ac_objext'
7748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752 (exit $ac_status); }; }; then
7753 ac_header_compiler=yes
7755 echo "$as_me: failed program was:" >&5
7756 sed 's/^/| /' conftest.$ac_ext >&5
7758 ac_header_compiler=no
7760 rm -f conftest.$ac_objext conftest.$ac_ext
7761 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7762 echo "${ECHO_T}$ac_header_compiler" >&6
7764 # Is the header present?
7765 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7766 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7767 cat >conftest.$ac_ext <<_ACEOF
7768 #line $LINENO "configure"
7771 cat confdefs.h >>conftest.$ac_ext
7772 cat >>conftest.$ac_ext <<_ACEOF
7773 /* end confdefs.h. */
7774 #include <$ac_header>
7776 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7777 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7779 grep -v '^ *+' conftest.er1 >conftest.err
7781 cat conftest.err >&5
7782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7783 (exit $ac_status); } >/dev/null; then
7784 if test -s conftest.err; then
7785 ac_cpp_err=$ac_c_preproc_warn_flag
7792 if test -z "$ac_cpp_err"; then
7793 ac_header_preproc=yes
7795 echo "$as_me: failed program was:" >&5
7796 sed 's/^/| /' conftest.$ac_ext >&5
7798 ac_header_preproc=no
7800 rm -f conftest.err conftest.$ac_ext
7801 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7802 echo "${ECHO_T}$ac_header_preproc" >&6
7804 # So? What about this header?
7805 case $ac_header_compiler:$ac_header_preproc in
7807 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7808 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7809 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7810 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7813 ## ------------------------------------ ##
7814 ## Report this to bug-autoconf@gnu.org. ##
7815 ## ------------------------------------ ##
7818 sed "s/^/$as_me: WARNING: /" >&2
7821 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7822 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7823 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7824 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7826 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7829 ## ------------------------------------ ##
7830 ## Report this to bug-autoconf@gnu.org. ##
7831 ## ------------------------------------ ##
7834 sed "s/^/$as_me: WARNING: /" >&2
7837 echo "$as_me:$LINENO: checking for $ac_header" >&5
7838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7840 echo $ECHO_N "(cached) $ECHO_C" >&6
7842 eval "$as_ac_Header=$ac_header_preproc"
7844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7845 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7849 cat >>confdefs.h <<_ACEOF
7850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7857 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
7860 for ac_header in GL/glext.h
7862 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7863 echo "$as_me:$LINENO: checking for $ac_header" >&5
7864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7866 echo $ECHO_N "(cached) $ECHO_C" >&6
7868 cat >conftest.$ac_ext <<_ACEOF
7869 #line $LINENO "configure"
7872 cat confdefs.h >>conftest.$ac_ext
7873 cat >>conftest.$ac_ext <<_ACEOF
7874 /* end confdefs.h. */
7877 #include <$ac_header>
7879 rm -f conftest.$ac_objext
7880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7881 (eval $ac_compile) 2>&5
7883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7884 (exit $ac_status); } &&
7885 { ac_try='test -s conftest.$ac_objext'
7886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7890 (exit $ac_status); }; }; then
7891 eval "$as_ac_Header=yes"
7893 echo "$as_me: failed program was:" >&5
7894 sed 's/^/| /' conftest.$ac_ext >&5
7896 eval "$as_ac_Header=no"
7898 rm -f conftest.$ac_objext conftest.$ac_ext
7900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7901 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7902 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7903 cat >>confdefs.h <<_ACEOF
7904 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7911 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
7912 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
7913 if test "${wine_cv_opengl_version_OK+set}" = set; then
7914 echo $ECHO_N "(cached) $ECHO_C" >&6
7916 cat >conftest.$ac_ext <<_ACEOF
7917 #line $LINENO "configure"
7920 cat confdefs.h >>conftest.$ac_ext
7921 cat >>conftest.$ac_ext <<_ACEOF
7922 /* end confdefs.h. */
7927 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
7932 rm -f conftest.$ac_objext
7933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7934 (eval $ac_compile) 2>&5
7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937 (exit $ac_status); } &&
7938 { ac_try='test -s conftest.$ac_objext'
7939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7943 (exit $ac_status); }; }; then
7944 wine_cv_opengl_version_OK="yes"
7946 echo "$as_me: failed program was:" >&5
7947 sed 's/^/| /' conftest.$ac_ext >&5
7949 wine_cv_opengl_version_OK="no"
7952 rm -f conftest.$ac_objext conftest.$ac_ext
7955 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
7956 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
7958 if test "$wine_cv_opengl_version_OK" = "yes"
7960 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
7961 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
7962 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
7963 echo $ECHO_N "(cached) $ECHO_C" >&6
7965 ac_check_lib_save_LIBS=$LIBS
7966 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7967 cat >conftest.$ac_ext <<_ACEOF
7968 #line $LINENO "configure"
7971 cat confdefs.h >>conftest.$ac_ext
7972 cat >>conftest.$ac_ext <<_ACEOF
7973 /* end confdefs.h. */
7975 /* Override any gcc2 internal prototype to avoid an error. */
7979 /* We use char because int might match the return type of a gcc2
7980 builtin and then its argument prototype would still apply. */
7981 char glXCreateContext ();
7985 glXCreateContext ();
7990 rm -f conftest.$ac_objext conftest$ac_exeext
7991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7992 (eval $ac_link) 2>&5
7994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7995 (exit $ac_status); } &&
7996 { ac_try='test -s conftest$ac_exeext'
7997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8001 (exit $ac_status); }; }; then
8002 ac_cv_lib_GL_glXCreateContext=yes
8004 echo "$as_me: failed program was:" >&5
8005 sed 's/^/| /' conftest.$ac_ext >&5
8007 ac_cv_lib_GL_glXCreateContext=no
8009 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8010 LIBS=$ac_check_lib_save_LIBS
8012 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8013 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8014 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8020 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8022 OPENGLFILES='$(OPENGLFILES)'
8024 cat >>confdefs.h <<\_ACEOF
8025 #define HAVE_OPENGL 1
8029 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
8030 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
8031 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
8032 echo $ECHO_N "(cached) $ECHO_C" >&6
8034 ac_check_lib_save_LIBS=$LIBS
8035 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8036 cat >conftest.$ac_ext <<_ACEOF
8037 #line $LINENO "configure"
8040 cat confdefs.h >>conftest.$ac_ext
8041 cat >>conftest.$ac_ext <<_ACEOF
8042 /* end confdefs.h. */
8044 /* Override any gcc2 internal prototype to avoid an error. */
8048 /* We use char because int might match the return type of a gcc2
8049 builtin and then its argument prototype would still apply. */
8050 char glXGetProcAddressARB ();
8054 glXGetProcAddressARB ();
8059 rm -f conftest.$ac_objext conftest$ac_exeext
8060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8061 (eval $ac_link) 2>&5
8063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064 (exit $ac_status); } &&
8065 { ac_try='test -s conftest$ac_exeext'
8066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8070 (exit $ac_status); }; }; then
8071 ac_cv_lib_GL_glXGetProcAddressARB=yes
8073 echo "$as_me: failed program was:" >&5
8074 sed 's/^/| /' conftest.$ac_ext >&5
8076 ac_cv_lib_GL_glXGetProcAddressARB=no
8078 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8079 LIBS=$ac_check_lib_save_LIBS
8081 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
8082 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
8083 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
8085 cat >>confdefs.h <<\_ACEOF
8086 #define HAVE_GLX_GETPROCADDRESS 1
8092 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
8094 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
8095 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
8096 if test "${wine_cv_extension_prototypes+set}" = set; then
8097 echo $ECHO_N "(cached) $ECHO_C" >&6
8099 cat >conftest.$ac_ext <<_ACEOF
8100 #line $LINENO "configure"
8103 cat confdefs.h >>conftest.$ac_ext
8104 cat >>conftest.$ac_ext <<_ACEOF
8105 /* end confdefs.h. */
8107 #ifdef HAVE_GL_GLEXT_H
8108 # include <GL/glext.h>
8114 PFNGLCOLORTABLEEXTPROC test_proc;
8119 rm -f conftest.$ac_objext
8120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8121 (eval $ac_compile) 2>&5
8123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8124 (exit $ac_status); } &&
8125 { ac_try='test -s conftest.$ac_objext'
8126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8130 (exit $ac_status); }; }; then
8131 wine_cv_extension_prototypes="yes"
8133 echo "$as_me: failed program was:" >&5
8134 sed 's/^/| /' conftest.$ac_ext >&5
8136 wine_cv_extension_prototypes="no"
8139 rm -f conftest.$ac_objext conftest.$ac_ext
8142 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
8143 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
8144 if test "$wine_cv_extension_prototypes" = "yes"
8147 cat >>confdefs.h <<\_ACEOF
8148 #define HAVE_GLEXT_PROTOTYPES 1
8155 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8156 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8157 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8158 echo $ECHO_N "(cached) $ECHO_C" >&6
8160 ac_check_lib_save_LIBS=$LIBS
8161 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8163 cat >conftest.$ac_ext <<_ACEOF
8164 #line $LINENO "configure"
8167 cat confdefs.h >>conftest.$ac_ext
8168 cat >>conftest.$ac_ext <<_ACEOF
8169 /* end confdefs.h. */
8171 /* Override any gcc2 internal prototype to avoid an error. */
8175 /* We use char because int might match the return type of a gcc2
8176 builtin and then its argument prototype would still apply. */
8186 rm -f conftest.$ac_objext conftest$ac_exeext
8187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8188 (eval $ac_link) 2>&5
8190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8191 (exit $ac_status); } &&
8192 { ac_try='test -s conftest$ac_exeext'
8193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197 (exit $ac_status); }; }; then
8198 ac_cv_lib_GLU_gluLookAt=yes
8200 echo "$as_me: failed program was:" >&5
8201 sed 's/^/| /' conftest.$ac_ext >&5
8203 ac_cv_lib_GLU_gluLookAt=no
8205 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8206 LIBS=$ac_check_lib_save_LIBS
8208 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8209 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8210 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8211 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8212 GLU32FILES='$(GLU32FILES)'
8223 for ac_header in audio/audiolib.h
8225 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8227 echo "$as_me:$LINENO: checking for $ac_header" >&5
8228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8230 echo $ECHO_N "(cached) $ECHO_C" >&6
8232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8233 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8235 # Is the header compilable?
8236 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8237 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8238 cat >conftest.$ac_ext <<_ACEOF
8239 #line $LINENO "configure"
8242 cat confdefs.h >>conftest.$ac_ext
8243 cat >>conftest.$ac_ext <<_ACEOF
8244 /* end confdefs.h. */
8245 $ac_includes_default
8246 #include <$ac_header>
8248 rm -f conftest.$ac_objext
8249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8250 (eval $ac_compile) 2>&5
8252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253 (exit $ac_status); } &&
8254 { ac_try='test -s conftest.$ac_objext'
8255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259 (exit $ac_status); }; }; then
8260 ac_header_compiler=yes
8262 echo "$as_me: failed program was:" >&5
8263 sed 's/^/| /' conftest.$ac_ext >&5
8265 ac_header_compiler=no
8267 rm -f conftest.$ac_objext conftest.$ac_ext
8268 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8269 echo "${ECHO_T}$ac_header_compiler" >&6
8271 # Is the header present?
8272 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8273 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8274 cat >conftest.$ac_ext <<_ACEOF
8275 #line $LINENO "configure"
8278 cat confdefs.h >>conftest.$ac_ext
8279 cat >>conftest.$ac_ext <<_ACEOF
8280 /* end confdefs.h. */
8281 #include <$ac_header>
8283 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8284 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8286 grep -v '^ *+' conftest.er1 >conftest.err
8288 cat conftest.err >&5
8289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8290 (exit $ac_status); } >/dev/null; then
8291 if test -s conftest.err; then
8292 ac_cpp_err=$ac_c_preproc_warn_flag
8299 if test -z "$ac_cpp_err"; then
8300 ac_header_preproc=yes
8302 echo "$as_me: failed program was:" >&5
8303 sed 's/^/| /' conftest.$ac_ext >&5
8305 ac_header_preproc=no
8307 rm -f conftest.err conftest.$ac_ext
8308 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8309 echo "${ECHO_T}$ac_header_preproc" >&6
8311 # So? What about this header?
8312 case $ac_header_compiler:$ac_header_preproc in
8314 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8315 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8317 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8320 ## ------------------------------------ ##
8321 ## Report this to bug-autoconf@gnu.org. ##
8322 ## ------------------------------------ ##
8325 sed "s/^/$as_me: WARNING: /" >&2
8328 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8329 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8330 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8331 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8333 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8336 ## ------------------------------------ ##
8337 ## Report this to bug-autoconf@gnu.org. ##
8338 ## ------------------------------------ ##
8341 sed "s/^/$as_me: WARNING: /" >&2
8344 echo "$as_me:$LINENO: checking for $ac_header" >&5
8345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8347 echo $ECHO_N "(cached) $ECHO_C" >&6
8349 eval "$as_ac_Header=$ac_header_preproc"
8351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8352 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8355 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8356 cat >>confdefs.h <<_ACEOF
8357 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8360 for ac_header in audio/soundlib.h
8362 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8363 echo "$as_me:$LINENO: checking for $ac_header" >&5
8364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8366 echo $ECHO_N "(cached) $ECHO_C" >&6
8368 cat >conftest.$ac_ext <<_ACEOF
8369 #line $LINENO "configure"
8372 cat confdefs.h >>conftest.$ac_ext
8373 cat >>conftest.$ac_ext <<_ACEOF
8374 /* end confdefs.h. */
8375 #include <audio/audiolib.h>
8377 #include <$ac_header>
8379 rm -f conftest.$ac_objext
8380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8381 (eval $ac_compile) 2>&5
8383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8384 (exit $ac_status); } &&
8385 { ac_try='test -s conftest.$ac_objext'
8386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8390 (exit $ac_status); }; }; then
8391 eval "$as_ac_Header=yes"
8393 echo "$as_me: failed program was:" >&5
8394 sed 's/^/| /' conftest.$ac_ext >&5
8396 eval "$as_ac_Header=no"
8398 rm -f conftest.$ac_objext conftest.$ac_ext
8400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8401 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8402 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8403 cat >>confdefs.h <<_ACEOF
8404 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8411 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8412 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8413 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8414 echo $ECHO_N "(cached) $ECHO_C" >&6
8416 ac_check_lib_save_LIBS=$LIBS
8417 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8418 cat >conftest.$ac_ext <<_ACEOF
8419 #line $LINENO "configure"
8422 cat confdefs.h >>conftest.$ac_ext
8423 cat >>conftest.$ac_ext <<_ACEOF
8424 /* end confdefs.h. */
8426 /* Override any gcc2 internal prototype to avoid an error. */
8430 /* We use char because int might match the return type of a gcc2
8431 builtin and then its argument prototype would still apply. */
8432 char AuCreateFlow ();
8441 rm -f conftest.$ac_objext conftest$ac_exeext
8442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8443 (eval $ac_link) 2>&5
8445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8446 (exit $ac_status); } &&
8447 { ac_try='test -s conftest$ac_exeext'
8448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 (exit $ac_status); }; }; then
8453 ac_cv_lib_audio_AuCreateFlow=yes
8455 echo "$as_me: failed program was:" >&5
8456 sed 's/^/| /' conftest.$ac_ext >&5
8458 ac_cv_lib_audio_AuCreateFlow=no
8460 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8461 LIBS=$ac_check_lib_save_LIBS
8463 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8464 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8465 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8467 cat >>confdefs.h <<\_ACEOF
8471 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8479 CPPFLAGS="$ac_save_CPPFLAGS"
8488 if test "x$with_curses" != "xno"
8491 for ac_header in ncurses.h
8493 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8495 echo "$as_me:$LINENO: checking for $ac_header" >&5
8496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8498 echo $ECHO_N "(cached) $ECHO_C" >&6
8500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8503 # Is the header compilable?
8504 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8505 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8506 cat >conftest.$ac_ext <<_ACEOF
8507 #line $LINENO "configure"
8510 cat confdefs.h >>conftest.$ac_ext
8511 cat >>conftest.$ac_ext <<_ACEOF
8512 /* end confdefs.h. */
8513 $ac_includes_default
8514 #include <$ac_header>
8516 rm -f conftest.$ac_objext
8517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8518 (eval $ac_compile) 2>&5
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521 (exit $ac_status); } &&
8522 { ac_try='test -s conftest.$ac_objext'
8523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); }; }; then
8528 ac_header_compiler=yes
8530 echo "$as_me: failed program was:" >&5
8531 sed 's/^/| /' conftest.$ac_ext >&5
8533 ac_header_compiler=no
8535 rm -f conftest.$ac_objext conftest.$ac_ext
8536 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8537 echo "${ECHO_T}$ac_header_compiler" >&6
8539 # Is the header present?
8540 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8541 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8542 cat >conftest.$ac_ext <<_ACEOF
8543 #line $LINENO "configure"
8546 cat confdefs.h >>conftest.$ac_ext
8547 cat >>conftest.$ac_ext <<_ACEOF
8548 /* end confdefs.h. */
8549 #include <$ac_header>
8551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8552 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8554 grep -v '^ *+' conftest.er1 >conftest.err
8556 cat conftest.err >&5
8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); } >/dev/null; then
8559 if test -s conftest.err; then
8560 ac_cpp_err=$ac_c_preproc_warn_flag
8567 if test -z "$ac_cpp_err"; then
8568 ac_header_preproc=yes
8570 echo "$as_me: failed program was:" >&5
8571 sed 's/^/| /' conftest.$ac_ext >&5
8573 ac_header_preproc=no
8575 rm -f conftest.err conftest.$ac_ext
8576 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8577 echo "${ECHO_T}$ac_header_preproc" >&6
8579 # So? What about this header?
8580 case $ac_header_compiler:$ac_header_preproc in
8582 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8583 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8585 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8588 ## ------------------------------------ ##
8589 ## Report this to bug-autoconf@gnu.org. ##
8590 ## ------------------------------------ ##
8593 sed "s/^/$as_me: WARNING: /" >&2
8596 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8597 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8598 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8599 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8604 ## ------------------------------------ ##
8605 ## Report this to bug-autoconf@gnu.org. ##
8606 ## ------------------------------------ ##
8609 sed "s/^/$as_me: WARNING: /" >&2
8612 echo "$as_me:$LINENO: checking for $ac_header" >&5
8613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8615 echo $ECHO_N "(cached) $ECHO_C" >&6
8617 eval "$as_ac_Header=$ac_header_preproc"
8619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8624 cat >>confdefs.h <<_ACEOF
8625 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8627 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
8628 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
8629 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
8630 echo $ECHO_N "(cached) $ECHO_C" >&6
8632 ac_check_lib_save_LIBS=$LIBS
8633 LIBS="-lncurses $LIBS"
8634 cat >conftest.$ac_ext <<_ACEOF
8635 #line $LINENO "configure"
8638 cat confdefs.h >>conftest.$ac_ext
8639 cat >>conftest.$ac_ext <<_ACEOF
8640 /* end confdefs.h. */
8642 /* Override any gcc2 internal prototype to avoid an error. */
8646 /* We use char because int might match the return type of a gcc2
8647 builtin and then its argument prototype would still apply. */
8657 rm -f conftest.$ac_objext conftest$ac_exeext
8658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8659 (eval $ac_link) 2>&5
8661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8662 (exit $ac_status); } &&
8663 { ac_try='test -s conftest$ac_exeext'
8664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); }; }; then
8669 ac_cv_lib_ncurses_waddch=yes
8671 echo "$as_me: failed program was:" >&5
8672 sed 's/^/| /' conftest.$ac_ext >&5
8674 ac_cv_lib_ncurses_waddch=no
8676 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8677 LIBS=$ac_check_lib_save_LIBS
8679 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
8680 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
8681 if test $ac_cv_lib_ncurses_waddch = yes; then
8683 cat >>confdefs.h <<\_ACEOF
8684 #define HAVE_LIBNCURSES 1
8687 CURSESLIBS="-lncurses"
8690 for ac_header in curses.h
8692 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8694 echo "$as_me:$LINENO: checking for $ac_header" >&5
8695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8697 echo $ECHO_N "(cached) $ECHO_C" >&6
8699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8702 # Is the header compilable?
8703 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8704 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8705 cat >conftest.$ac_ext <<_ACEOF
8706 #line $LINENO "configure"
8709 cat confdefs.h >>conftest.$ac_ext
8710 cat >>conftest.$ac_ext <<_ACEOF
8711 /* end confdefs.h. */
8712 $ac_includes_default
8713 #include <$ac_header>
8715 rm -f conftest.$ac_objext
8716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8717 (eval $ac_compile) 2>&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); } &&
8721 { ac_try='test -s conftest.$ac_objext'
8722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); }; }; then
8727 ac_header_compiler=yes
8729 echo "$as_me: failed program was:" >&5
8730 sed 's/^/| /' conftest.$ac_ext >&5
8732 ac_header_compiler=no
8734 rm -f conftest.$ac_objext conftest.$ac_ext
8735 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8736 echo "${ECHO_T}$ac_header_compiler" >&6
8738 # Is the header present?
8739 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8740 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8741 cat >conftest.$ac_ext <<_ACEOF
8742 #line $LINENO "configure"
8745 cat confdefs.h >>conftest.$ac_ext
8746 cat >>conftest.$ac_ext <<_ACEOF
8747 /* end confdefs.h. */
8748 #include <$ac_header>
8750 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8751 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8753 grep -v '^ *+' conftest.er1 >conftest.err
8755 cat conftest.err >&5
8756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8757 (exit $ac_status); } >/dev/null; then
8758 if test -s conftest.err; then
8759 ac_cpp_err=$ac_c_preproc_warn_flag
8766 if test -z "$ac_cpp_err"; then
8767 ac_header_preproc=yes
8769 echo "$as_me: failed program was:" >&5
8770 sed 's/^/| /' conftest.$ac_ext >&5
8772 ac_header_preproc=no
8774 rm -f conftest.err conftest.$ac_ext
8775 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8776 echo "${ECHO_T}$ac_header_preproc" >&6
8778 # So? What about this header?
8779 case $ac_header_compiler:$ac_header_preproc in
8781 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8782 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8783 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8784 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8787 ## ------------------------------------ ##
8788 ## Report this to bug-autoconf@gnu.org. ##
8789 ## ------------------------------------ ##
8792 sed "s/^/$as_me: WARNING: /" >&2
8795 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8796 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8797 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8798 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8803 ## ------------------------------------ ##
8804 ## Report this to bug-autoconf@gnu.org. ##
8805 ## ------------------------------------ ##
8808 sed "s/^/$as_me: WARNING: /" >&2
8811 echo "$as_me:$LINENO: checking for $ac_header" >&5
8812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8814 echo $ECHO_N "(cached) $ECHO_C" >&6
8816 eval "$as_ac_Header=$ac_header_preproc"
8818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8822 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8823 cat >>confdefs.h <<_ACEOF
8824 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8826 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
8827 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
8828 if test "${ac_cv_lib_curses_waddch+set}" = set; then
8829 echo $ECHO_N "(cached) $ECHO_C" >&6
8831 ac_check_lib_save_LIBS=$LIBS
8832 LIBS="-lcurses $LIBS"
8833 cat >conftest.$ac_ext <<_ACEOF
8834 #line $LINENO "configure"
8837 cat confdefs.h >>conftest.$ac_ext
8838 cat >>conftest.$ac_ext <<_ACEOF
8839 /* end confdefs.h. */
8841 /* Override any gcc2 internal prototype to avoid an error. */
8845 /* We use char because int might match the return type of a gcc2
8846 builtin and then its argument prototype would still apply. */
8856 rm -f conftest.$ac_objext conftest$ac_exeext
8857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8858 (eval $ac_link) 2>&5
8860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8861 (exit $ac_status); } &&
8862 { ac_try='test -s conftest$ac_exeext'
8863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8867 (exit $ac_status); }; }; then
8868 ac_cv_lib_curses_waddch=yes
8870 echo "$as_me: failed program was:" >&5
8871 sed 's/^/| /' conftest.$ac_ext >&5
8873 ac_cv_lib_curses_waddch=no
8875 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8876 LIBS=$ac_check_lib_save_LIBS
8878 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
8879 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
8880 if test $ac_cv_lib_curses_waddch = yes; then
8882 cat >>confdefs.h <<\_ACEOF
8883 #define HAVE_LIBCURSES 1
8886 CURSESLIBS="-lcurses"
8900 LIBS="$CURSESLIBS $LIBS"
8903 for ac_func in getbkgd resizeterm
8905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8906 echo "$as_me:$LINENO: checking for $ac_func" >&5
8907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8908 if eval "test \"\${$as_ac_var+set}\" = set"; then
8909 echo $ECHO_N "(cached) $ECHO_C" >&6
8911 cat >conftest.$ac_ext <<_ACEOF
8912 #line $LINENO "configure"
8915 cat confdefs.h >>conftest.$ac_ext
8916 cat >>conftest.$ac_ext <<_ACEOF
8917 /* end confdefs.h. */
8918 /* System header to define __stub macros and hopefully few prototypes,
8919 which can conflict with char $ac_func (); below.
8920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8921 <limits.h> exists even on freestanding compilers. */
8923 # include <limits.h>
8925 # include <assert.h>
8927 /* Override any gcc2 internal prototype to avoid an error. */
8932 /* We use char because int might match the return type of a gcc2
8933 builtin and then its argument prototype would still apply. */
8935 /* The GNU C library defines this for functions which it implements
8936 to always fail with ENOSYS. Some functions are actually named
8937 something starting with __ and the normal name is an alias. */
8938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8941 char (*f) () = $ac_func;
8950 return f != $ac_func;
8955 rm -f conftest.$ac_objext conftest$ac_exeext
8956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8957 (eval $ac_link) 2>&5
8959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8960 (exit $ac_status); } &&
8961 { ac_try='test -s conftest$ac_exeext'
8962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8966 (exit $ac_status); }; }; then
8967 eval "$as_ac_var=yes"
8969 echo "$as_me: failed program was:" >&5
8970 sed 's/^/| /' conftest.$ac_ext >&5
8972 eval "$as_ac_var=no"
8974 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8978 if test `eval echo '${'$as_ac_var'}'` = yes; then
8979 cat >>confdefs.h <<_ACEOF
8980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8990 # Extract the first word of "sane-config", so it can be a program name with args.
8991 set dummy sane-config; ac_word=$2
8992 echo "$as_me:$LINENO: checking for $ac_word" >&5
8993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8994 if test "${ac_cv_prog_sane_devel+set}" = set; then
8995 echo $ECHO_N "(cached) $ECHO_C" >&6
8997 if test -n "$sane_devel"; then
8998 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9004 test -z "$as_dir" && as_dir=.
9005 for ac_exec_ext in '' $ac_executable_extensions; do
9006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9007 ac_cv_prog_sane_devel="sane-config"
9008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9014 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9017 sane_devel=$ac_cv_prog_sane_devel
9018 if test -n "$sane_devel"; then
9019 echo "$as_me:$LINENO: result: $sane_devel" >&5
9020 echo "${ECHO_T}$sane_devel" >&6
9022 echo "$as_me:$LINENO: result: no" >&5
9023 echo "${ECHO_T}no" >&6
9026 if test "$sane_devel" = "no"
9031 SANELIBS="`$sane_devel --libs`"
9032 SANEINCL="`$sane_devel --cflags`"
9033 ac_save_CPPFLAGS="$CPPFLAGS"
9034 ac_save_LIBS="$LIBS"
9035 CPPFLAGS="$CPPFLAGS $SANEINCL"
9036 LIBS="$LIBS $SANELIBS"
9037 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9038 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9039 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9040 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9041 echo $ECHO_N "(cached) $ECHO_C" >&6
9043 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9044 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9046 # Is the header compilable?
9047 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9048 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9049 cat >conftest.$ac_ext <<_ACEOF
9050 #line $LINENO "configure"
9053 cat confdefs.h >>conftest.$ac_ext
9054 cat >>conftest.$ac_ext <<_ACEOF
9055 /* end confdefs.h. */
9056 $ac_includes_default
9057 #include <sane/sane.h>
9059 rm -f conftest.$ac_objext
9060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9061 (eval $ac_compile) 2>&5
9063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064 (exit $ac_status); } &&
9065 { ac_try='test -s conftest.$ac_objext'
9066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070 (exit $ac_status); }; }; then
9071 ac_header_compiler=yes
9073 echo "$as_me: failed program was:" >&5
9074 sed 's/^/| /' conftest.$ac_ext >&5
9076 ac_header_compiler=no
9078 rm -f conftest.$ac_objext conftest.$ac_ext
9079 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9080 echo "${ECHO_T}$ac_header_compiler" >&6
9082 # Is the header present?
9083 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9084 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9085 cat >conftest.$ac_ext <<_ACEOF
9086 #line $LINENO "configure"
9089 cat confdefs.h >>conftest.$ac_ext
9090 cat >>conftest.$ac_ext <<_ACEOF
9091 /* end confdefs.h. */
9092 #include <sane/sane.h>
9094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9095 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9097 grep -v '^ *+' conftest.er1 >conftest.err
9099 cat conftest.err >&5
9100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9101 (exit $ac_status); } >/dev/null; then
9102 if test -s conftest.err; then
9103 ac_cpp_err=$ac_c_preproc_warn_flag
9110 if test -z "$ac_cpp_err"; then
9111 ac_header_preproc=yes
9113 echo "$as_me: failed program was:" >&5
9114 sed 's/^/| /' conftest.$ac_ext >&5
9116 ac_header_preproc=no
9118 rm -f conftest.err conftest.$ac_ext
9119 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9120 echo "${ECHO_T}$ac_header_preproc" >&6
9122 # So? What about this header?
9123 case $ac_header_compiler:$ac_header_preproc in
9125 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9126 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9127 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9128 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9131 ## ------------------------------------ ##
9132 ## Report this to bug-autoconf@gnu.org. ##
9133 ## ------------------------------------ ##
9136 sed "s/^/$as_me: WARNING: /" >&2
9139 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9140 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9141 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9142 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9143 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9144 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9147 ## ------------------------------------ ##
9148 ## Report this to bug-autoconf@gnu.org. ##
9149 ## ------------------------------------ ##
9152 sed "s/^/$as_me: WARNING: /" >&2
9155 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9156 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9157 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9158 echo $ECHO_N "(cached) $ECHO_C" >&6
9160 ac_cv_header_sane_sane_h=$ac_header_preproc
9162 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9163 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9166 if test $ac_cv_header_sane_sane_h = yes; then
9167 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9168 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9169 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9170 echo $ECHO_N "(cached) $ECHO_C" >&6
9172 ac_check_lib_save_LIBS=$LIBS
9174 cat >conftest.$ac_ext <<_ACEOF
9175 #line $LINENO "configure"
9178 cat confdefs.h >>conftest.$ac_ext
9179 cat >>conftest.$ac_ext <<_ACEOF
9180 /* end confdefs.h. */
9182 /* Override any gcc2 internal prototype to avoid an error. */
9186 /* We use char because int might match the return type of a gcc2
9187 builtin and then its argument prototype would still apply. */
9197 rm -f conftest.$ac_objext conftest$ac_exeext
9198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9199 (eval $ac_link) 2>&5
9201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9202 (exit $ac_status); } &&
9203 { ac_try='test -s conftest$ac_exeext'
9204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9208 (exit $ac_status); }; }; then
9209 ac_cv_lib_sane_sane_open=yes
9211 echo "$as_me: failed program was:" >&5
9212 sed 's/^/| /' conftest.$ac_ext >&5
9214 ac_cv_lib_sane_sane_open=no
9216 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9217 LIBS=$ac_check_lib_save_LIBS
9219 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9220 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9221 if test $ac_cv_lib_sane_sane_open = yes; then
9223 cat >>confdefs.h <<\_ACEOF
9238 LIBS="$ac_save_LIBS"
9239 CPPFLAGS="$ac_save_CPPFLAGS"
9244 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
9245 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
9246 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
9247 echo $ECHO_N "(cached) $ECHO_C" >&6
9249 ac_check_lib_save_LIBS=$LIBS
9250 LIBS="-lfreetype $X_LIBS $LIBS"
9251 cat >conftest.$ac_ext <<_ACEOF
9252 #line $LINENO "configure"
9255 cat confdefs.h >>conftest.$ac_ext
9256 cat >>conftest.$ac_ext <<_ACEOF
9257 /* end confdefs.h. */
9259 /* Override any gcc2 internal prototype to avoid an error. */
9263 /* We use char because int might match the return type of a gcc2
9264 builtin and then its argument prototype would still apply. */
9265 char FT_Init_FreeType ();
9269 FT_Init_FreeType ();
9274 rm -f conftest.$ac_objext conftest$ac_exeext
9275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9276 (eval $ac_link) 2>&5
9278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9279 (exit $ac_status); } &&
9280 { ac_try='test -s conftest$ac_exeext'
9281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9285 (exit $ac_status); }; }; then
9286 ac_cv_lib_freetype_FT_Init_FreeType=yes
9288 echo "$as_me: failed program was:" >&5
9289 sed 's/^/| /' conftest.$ac_ext >&5
9291 ac_cv_lib_freetype_FT_Init_FreeType=no
9293 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9294 LIBS=$ac_check_lib_save_LIBS
9296 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
9297 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
9298 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
9304 if test "$ft_lib" = "no"
9307 wine_cv_msg_freetype=no
9309 # Extract the first word of "freetype-config", so it can be a program name with args.
9310 set dummy freetype-config; ac_word=$2
9311 echo "$as_me:$LINENO: checking for $ac_word" >&5
9312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9313 if test "${ac_cv_prog_ft_devel+set}" = set; then
9314 echo $ECHO_N "(cached) $ECHO_C" >&6
9316 if test -n "$ft_devel"; then
9317 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
9319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9323 test -z "$as_dir" && as_dir=.
9324 for ac_exec_ext in '' $ac_executable_extensions; do
9325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9326 ac_cv_prog_ft_devel="freetype-config"
9327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9333 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
9336 ft_devel=$ac_cv_prog_ft_devel
9337 if test -n "$ft_devel"; then
9338 echo "$as_me:$LINENO: result: $ft_devel" >&5
9339 echo "${ECHO_T}$ft_devel" >&6
9341 echo "$as_me:$LINENO: result: no" >&5
9342 echo "${ECHO_T}no" >&6
9345 if test "$ft_devel" = "no"
9347 # Extract the first word of "freetype2-config", so it can be a program name with args.
9348 set dummy freetype2-config; ac_word=$2
9349 echo "$as_me:$LINENO: checking for $ac_word" >&5
9350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9351 if test "${ac_cv_prog_ft_devel2+set}" = set; then
9352 echo $ECHO_N "(cached) $ECHO_C" >&6
9354 if test -n "$ft_devel2"; then
9355 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
9357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9361 test -z "$as_dir" && as_dir=.
9362 for ac_exec_ext in '' $ac_executable_extensions; do
9363 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9364 ac_cv_prog_ft_devel2="freetype2-config"
9365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9371 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
9374 ft_devel2=$ac_cv_prog_ft_devel2
9375 if test -n "$ft_devel2"; then
9376 echo "$as_me:$LINENO: result: $ft_devel2" >&5
9377 echo "${ECHO_T}$ft_devel2" >&6
9379 echo "$as_me:$LINENO: result: no" >&5
9380 echo "${ECHO_T}no" >&6
9383 if test "$ft_devel2" = "freetype2-config"
9388 if test "$ft_devel" = "no"
9391 wine_cv_msg_freetype=yes
9393 FREETYPEINCL=`$ft_devel --cflags`
9394 ac_save_CPPFLAGS="$CPPFLAGS"
9395 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
9404 for ac_header in freetype/freetype.h \
9405 freetype/ftglyph.h \
9406 freetype/tttables.h \
9407 freetype/ftnames.h \
9408 freetype/ftsnames.h \
9409 freetype/ttnameid.h \
9410 freetype/ftoutln.h \
9411 freetype/internal/sfnt.h
9413 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9415 echo "$as_me:$LINENO: checking for $ac_header" >&5
9416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9418 echo $ECHO_N "(cached) $ECHO_C" >&6
9420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9423 # Is the header compilable?
9424 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9425 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9426 cat >conftest.$ac_ext <<_ACEOF
9427 #line $LINENO "configure"
9430 cat confdefs.h >>conftest.$ac_ext
9431 cat >>conftest.$ac_ext <<_ACEOF
9432 /* end confdefs.h. */
9433 $ac_includes_default
9434 #include <$ac_header>
9436 rm -f conftest.$ac_objext
9437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9438 (eval $ac_compile) 2>&5
9440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9441 (exit $ac_status); } &&
9442 { ac_try='test -s conftest.$ac_objext'
9443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9447 (exit $ac_status); }; }; then
9448 ac_header_compiler=yes
9450 echo "$as_me: failed program was:" >&5
9451 sed 's/^/| /' conftest.$ac_ext >&5
9453 ac_header_compiler=no
9455 rm -f conftest.$ac_objext conftest.$ac_ext
9456 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9457 echo "${ECHO_T}$ac_header_compiler" >&6
9459 # Is the header present?
9460 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9461 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9462 cat >conftest.$ac_ext <<_ACEOF
9463 #line $LINENO "configure"
9466 cat confdefs.h >>conftest.$ac_ext
9467 cat >>conftest.$ac_ext <<_ACEOF
9468 /* end confdefs.h. */
9469 #include <$ac_header>
9471 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9472 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9474 grep -v '^ *+' conftest.er1 >conftest.err
9476 cat conftest.err >&5
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); } >/dev/null; then
9479 if test -s conftest.err; then
9480 ac_cpp_err=$ac_c_preproc_warn_flag
9487 if test -z "$ac_cpp_err"; then
9488 ac_header_preproc=yes
9490 echo "$as_me: failed program was:" >&5
9491 sed 's/^/| /' conftest.$ac_ext >&5
9493 ac_header_preproc=no
9495 rm -f conftest.err conftest.$ac_ext
9496 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9497 echo "${ECHO_T}$ac_header_preproc" >&6
9499 # So? What about this header?
9500 case $ac_header_compiler:$ac_header_preproc in
9502 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9503 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9504 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9505 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9508 ## ------------------------------------ ##
9509 ## Report this to bug-autoconf@gnu.org. ##
9510 ## ------------------------------------ ##
9513 sed "s/^/$as_me: WARNING: /" >&2
9516 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9517 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9518 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9519 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9520 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9521 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9524 ## ------------------------------------ ##
9525 ## Report this to bug-autoconf@gnu.org. ##
9526 ## ------------------------------------ ##
9529 sed "s/^/$as_me: WARNING: /" >&2
9532 echo "$as_me:$LINENO: checking for $ac_header" >&5
9533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9535 echo $ECHO_N "(cached) $ECHO_C" >&6
9537 eval "$as_ac_Header=$ac_header_preproc"
9539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9544 cat >>confdefs.h <<_ACEOF
9545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9552 cat >conftest.$ac_ext <<_ACEOF
9553 #line $LINENO "configure"
9556 cat confdefs.h >>conftest.$ac_ext
9557 cat >>conftest.$ac_ext <<_ACEOF
9558 /* end confdefs.h. */
9559 #include <ft2build.h>
9560 #include <freetype/fttrigon.h>
9562 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9563 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9565 grep -v '^ *+' conftest.er1 >conftest.err
9567 cat conftest.err >&5
9568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9569 (exit $ac_status); } >/dev/null; then
9570 if test -s conftest.err; then
9571 ac_cpp_err=$ac_c_preproc_warn_flag
9578 if test -z "$ac_cpp_err"; then
9580 cat >>confdefs.h <<\_ACEOF
9581 #define HAVE_FREETYPE_FTTRIGON_H 1
9584 wine_cv_fttrigon=yes
9586 echo "$as_me: failed program was:" >&5
9587 sed 's/^/| /' conftest.$ac_ext >&5
9591 rm -f conftest.err conftest.$ac_ext
9592 CPPFLAGS="$ac_save_CPPFLAGS"
9593 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
9596 cat >>confdefs.h <<\_ACEOF
9597 #define HAVE_FREETYPE 1
9600 wine_cv_msg_freetype=no
9603 wine_cv_msg_freetype=yes
9609 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
9610 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
9611 if test "${ac_cv_c_ppdev+set}" = set; then
9612 echo $ECHO_N "(cached) $ECHO_C" >&6
9614 cat >conftest.$ac_ext <<_ACEOF
9615 #line $LINENO "configure"
9618 cat confdefs.h >>conftest.$ac_ext
9619 cat >>conftest.$ac_ext <<_ACEOF
9620 /* end confdefs.h. */
9621 #include <linux/ppdev.h>
9630 rm -f conftest.$ac_objext
9631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9632 (eval $ac_compile) 2>&5
9634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9635 (exit $ac_status); } &&
9636 { ac_try='test -s conftest.$ac_objext'
9637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9641 (exit $ac_status); }; }; then
9644 echo "$as_me: failed program was:" >&5
9645 sed 's/^/| /' conftest.$ac_ext >&5
9649 rm -f conftest.$ac_objext conftest.$ac_ext
9652 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
9653 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
9654 if test "$ac_cv_c_ppdev" = "yes"
9657 cat >>confdefs.h <<\_ACEOF
9658 #define HAVE_PPDEV 1
9663 echo "$as_me:$LINENO: checking for va_copy" >&5
9664 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
9665 if test "${ac_cv_c_va_copy+set}" = set; then
9666 echo $ECHO_N "(cached) $ECHO_C" >&6
9668 cat >conftest.$ac_ext <<_ACEOF
9669 #line $LINENO "configure"
9672 cat confdefs.h >>conftest.$ac_ext
9673 cat >>conftest.$ac_ext <<_ACEOF
9674 /* end confdefs.h. */
9686 rm -f conftest.$ac_objext conftest$ac_exeext
9687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9688 (eval $ac_link) 2>&5
9690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9691 (exit $ac_status); } &&
9692 { ac_try='test -s conftest$ac_exeext'
9693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9697 (exit $ac_status); }; }; then
9698 ac_cv_c_va_copy="yes"
9700 echo "$as_me: failed program was:" >&5
9701 sed 's/^/| /' conftest.$ac_ext >&5
9703 ac_cv_c_va_copy="no"
9705 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9708 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
9709 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
9710 if test "$ac_cv_c_va_copy" = "yes"
9713 cat >>confdefs.h <<\_ACEOF
9714 #define HAVE_VA_COPY 1
9718 echo "$as_me:$LINENO: checking for __va_copy" >&5
9719 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
9720 if test "${ac_cv_c___va_copy+set}" = set; then
9721 echo $ECHO_N "(cached) $ECHO_C" >&6
9723 cat >conftest.$ac_ext <<_ACEOF
9724 #line $LINENO "configure"
9727 cat confdefs.h >>conftest.$ac_ext
9728 cat >>conftest.$ac_ext <<_ACEOF
9729 /* end confdefs.h. */
9741 rm -f conftest.$ac_objext conftest$ac_exeext
9742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9743 (eval $ac_link) 2>&5
9745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9746 (exit $ac_status); } &&
9747 { ac_try='test -s conftest$ac_exeext'
9748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9752 (exit $ac_status); }; }; then
9753 ac_cv_c___va_copy="yes"
9755 echo "$as_me: failed program was:" >&5
9756 sed 's/^/| /' conftest.$ac_ext >&5
9758 ac_cv_c___va_copy="no"
9760 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9763 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
9764 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
9765 if test "$ac_cv_c___va_copy" = "yes"
9768 cat >>confdefs.h <<\_ACEOF
9769 #define HAVE___VA_COPY 1
9777 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
9779 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9781 echo "$as_me:$LINENO: checking for $ac_header" >&5
9782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9784 echo $ECHO_N "(cached) $ECHO_C" >&6
9786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9789 # Is the header compilable?
9790 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9791 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9792 cat >conftest.$ac_ext <<_ACEOF
9793 #line $LINENO "configure"
9796 cat confdefs.h >>conftest.$ac_ext
9797 cat >>conftest.$ac_ext <<_ACEOF
9798 /* end confdefs.h. */
9799 $ac_includes_default
9800 #include <$ac_header>
9802 rm -f conftest.$ac_objext
9803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9804 (eval $ac_compile) 2>&5
9806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9807 (exit $ac_status); } &&
9808 { ac_try='test -s conftest.$ac_objext'
9809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9813 (exit $ac_status); }; }; then
9814 ac_header_compiler=yes
9816 echo "$as_me: failed program was:" >&5
9817 sed 's/^/| /' conftest.$ac_ext >&5
9819 ac_header_compiler=no
9821 rm -f conftest.$ac_objext conftest.$ac_ext
9822 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9823 echo "${ECHO_T}$ac_header_compiler" >&6
9825 # Is the header present?
9826 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9827 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9828 cat >conftest.$ac_ext <<_ACEOF
9829 #line $LINENO "configure"
9832 cat confdefs.h >>conftest.$ac_ext
9833 cat >>conftest.$ac_ext <<_ACEOF
9834 /* end confdefs.h. */
9835 #include <$ac_header>
9837 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9838 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9840 grep -v '^ *+' conftest.er1 >conftest.err
9842 cat conftest.err >&5
9843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9844 (exit $ac_status); } >/dev/null; then
9845 if test -s conftest.err; then
9846 ac_cpp_err=$ac_c_preproc_warn_flag
9853 if test -z "$ac_cpp_err"; then
9854 ac_header_preproc=yes
9856 echo "$as_me: failed program was:" >&5
9857 sed 's/^/| /' conftest.$ac_ext >&5
9859 ac_header_preproc=no
9861 rm -f conftest.err conftest.$ac_ext
9862 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9863 echo "${ECHO_T}$ac_header_preproc" >&6
9865 # So? What about this header?
9866 case $ac_header_compiler:$ac_header_preproc in
9868 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9869 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9870 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9871 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9874 ## ------------------------------------ ##
9875 ## Report this to bug-autoconf@gnu.org. ##
9876 ## ------------------------------------ ##
9879 sed "s/^/$as_me: WARNING: /" >&2
9882 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9883 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9884 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9885 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9886 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9887 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9890 ## ------------------------------------ ##
9891 ## Report this to bug-autoconf@gnu.org. ##
9892 ## ------------------------------------ ##
9895 sed "s/^/$as_me: WARNING: /" >&2
9898 echo "$as_me:$LINENO: checking for $ac_header" >&5
9899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9901 echo $ECHO_N "(cached) $ECHO_C" >&6
9903 eval "$as_ac_Header=$ac_header_preproc"
9905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9906 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9909 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9910 cat >>confdefs.h <<_ACEOF
9911 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9919 echo "$as_me:$LINENO: checking for Open Sound System" >&5
9920 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
9921 if test "${ac_cv_c_opensoundsystem+set}" = set; then
9922 echo $ECHO_N "(cached) $ECHO_C" >&6
9924 cat >conftest.$ac_ext <<_ACEOF
9925 #line $LINENO "configure"
9928 cat confdefs.h >>conftest.$ac_ext
9929 cat >>conftest.$ac_ext <<_ACEOF
9930 /* end confdefs.h. */
9932 #if defined(HAVE_SYS_SOUNDCARD_H)
9933 #include <sys/soundcard.h>
9934 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
9935 #include <machine/soundcard.h>
9936 #elif defined(HAVE_SOUNDCARD_H)
9937 #include <soundcard.h>
9945 /* check for one of the Open Sound System specific SNDCTL_ defines */
9946 #if !defined(SNDCTL_DSP_STEREO)
9947 #error No open sound system
9954 rm -f conftest.$ac_objext
9955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9956 (eval $ac_compile) 2>&5
9958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9959 (exit $ac_status); } &&
9960 { ac_try='test -s conftest.$ac_objext'
9961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); }; }; then
9966 ac_cv_c_opensoundsystem="yes"
9968 echo "$as_me: failed program was:" >&5
9969 sed 's/^/| /' conftest.$ac_ext >&5
9971 ac_cv_c_opensoundsystem="no"
9973 rm -f conftest.$ac_objext conftest.$ac_ext
9975 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
9976 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
9978 if test "$ac_cv_c_opensoundsystem" = "yes"
9981 cat >>confdefs.h <<\_ACEOF
9987 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
9988 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
9989 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
9990 echo $ECHO_N "(cached) $ECHO_C" >&6
9992 cat >conftest.$ac_ext <<_ACEOF
9993 #line $LINENO "configure"
9996 cat confdefs.h >>conftest.$ac_ext
9997 cat >>conftest.$ac_ext <<_ACEOF
9998 /* end confdefs.h. */
10000 #if defined(HAVE_SYS_SOUNDCARD_H)
10001 #include <sys/soundcard.h>
10002 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10003 #include <machine/soundcard.h>
10004 #elif defined(HAVE_SOUNDCARD_H)
10005 #include <soundcard.h>
10013 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
10014 #if !defined(SNDCTL_SEQ_SYNC)
10015 #error No open sound system MIDI interface
10022 rm -f conftest.$ac_objext
10023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10024 (eval $ac_compile) 2>&5
10026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10027 (exit $ac_status); } &&
10028 { ac_try='test -s conftest.$ac_objext'
10029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10030 (eval $ac_try) 2>&5
10032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10033 (exit $ac_status); }; }; then
10034 ac_cv_c_opensoundsystem_midi="yes"
10036 echo "$as_me: failed program was:" >&5
10037 sed 's/^/| /' conftest.$ac_ext >&5
10039 ac_cv_c_opensoundsystem_midi="no"
10041 rm -f conftest.$ac_objext conftest.$ac_ext
10043 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
10044 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
10046 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
10049 cat >>confdefs.h <<\_ACEOF
10050 #define HAVE_OSS_MIDI 1
10055 # Extract the first word of "artsc-config", so it can be a program name with args.
10056 set dummy artsc-config; ac_word=$2
10057 echo "$as_me:$LINENO: checking for $ac_word" >&5
10058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10059 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
10060 echo $ECHO_N "(cached) $ECHO_C" >&6
10062 case $ARTSCCONFIG in
10064 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
10067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10068 for as_dir in $PATH
10071 test -z "$as_dir" && as_dir=.
10072 for ac_exec_ext in '' $ac_executable_extensions; do
10073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10074 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
10075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10084 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
10086 if test -n "$ARTSCCONFIG"; then
10087 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
10088 echo "${ECHO_T}$ARTSCCONFIG" >&6
10090 echo "$as_me:$LINENO: result: no" >&5
10091 echo "${ECHO_T}no" >&6
10094 echo "$as_me:$LINENO: checking for aRts Sound server" >&5
10095 echo $ECHO_N "checking for aRts Sound server... $ECHO_C" >&6
10096 if test "${ac_cv_c_artsserver+set}" = set; then
10097 echo $ECHO_N "(cached) $ECHO_C" >&6
10099 if test x$ARTSCCONFIG = x -o x$ARTSCCONFIG = x'"$ARTSCCONFIG"';
10101 ac_cv_c_artsserver=no
10103 ARTSC_CFLAGS=`$ARTSCCONFIG --cflags`
10104 ARTSC_LIBS=`$ARTSCCONFIG --libs`
10105 ac_cv_c_artsserver=no
10106 save_CFLAGS="$CFLAGS"
10107 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
10108 cat >conftest.$ac_ext <<_ACEOF
10109 #line $LINENO "configure"
10112 cat confdefs.h >>conftest.$ac_ext
10113 cat >>conftest.$ac_ext <<_ACEOF
10114 /* end confdefs.h. */
10122 arts_stream_t stream;
10128 rm -f conftest.$ac_objext
10129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10130 (eval $ac_compile) 2>&5
10132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); } &&
10134 { ac_try='test -s conftest.$ac_objext'
10135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10136 (eval $ac_try) 2>&5
10138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10139 (exit $ac_status); }; }; then
10141 ac_cv_c_artsserver=yes
10144 echo "$as_me: failed program was:" >&5
10145 sed 's/^/| /' conftest.$ac_ext >&5
10148 rm -f conftest.$ac_objext conftest.$ac_ext
10149 CFLAGS="$save_CFLAGS"
10152 echo "$as_me:$LINENO: result: $ac_cv_c_artsserver" >&5
10153 echo "${ECHO_T}$ac_cv_c_artsserver" >&6
10155 if test "$ac_cv_c_artsserver" = "yes"
10157 ARTSLIBS=$ARTSC_LIBS
10159 ARTSINCL=$ARTSC_CFLAGS
10163 cat >>confdefs.h <<\_ACEOF
10164 #define HAVE_ARTS 1
10173 for ac_header in alsa/asoundlib.h sys/asoundlib.h
10175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10177 echo "$as_me:$LINENO: checking for $ac_header" >&5
10178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10180 echo $ECHO_N "(cached) $ECHO_C" >&6
10182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10185 # Is the header compilable?
10186 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10187 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10188 cat >conftest.$ac_ext <<_ACEOF
10189 #line $LINENO "configure"
10192 cat confdefs.h >>conftest.$ac_ext
10193 cat >>conftest.$ac_ext <<_ACEOF
10194 /* end confdefs.h. */
10195 $ac_includes_default
10196 #include <$ac_header>
10198 rm -f conftest.$ac_objext
10199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10200 (eval $ac_compile) 2>&5
10202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10203 (exit $ac_status); } &&
10204 { ac_try='test -s conftest.$ac_objext'
10205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10206 (eval $ac_try) 2>&5
10208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10209 (exit $ac_status); }; }; then
10210 ac_header_compiler=yes
10212 echo "$as_me: failed program was:" >&5
10213 sed 's/^/| /' conftest.$ac_ext >&5
10215 ac_header_compiler=no
10217 rm -f conftest.$ac_objext conftest.$ac_ext
10218 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10219 echo "${ECHO_T}$ac_header_compiler" >&6
10221 # Is the header present?
10222 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10223 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10224 cat >conftest.$ac_ext <<_ACEOF
10225 #line $LINENO "configure"
10228 cat confdefs.h >>conftest.$ac_ext
10229 cat >>conftest.$ac_ext <<_ACEOF
10230 /* end confdefs.h. */
10231 #include <$ac_header>
10233 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10234 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10236 grep -v '^ *+' conftest.er1 >conftest.err
10238 cat conftest.err >&5
10239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10240 (exit $ac_status); } >/dev/null; then
10241 if test -s conftest.err; then
10242 ac_cpp_err=$ac_c_preproc_warn_flag
10249 if test -z "$ac_cpp_err"; then
10250 ac_header_preproc=yes
10252 echo "$as_me: failed program was:" >&5
10253 sed 's/^/| /' conftest.$ac_ext >&5
10255 ac_header_preproc=no
10257 rm -f conftest.err conftest.$ac_ext
10258 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10259 echo "${ECHO_T}$ac_header_preproc" >&6
10261 # So? What about this header?
10262 case $ac_header_compiler:$ac_header_preproc in
10264 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10265 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10267 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10270 ## ------------------------------------ ##
10271 ## Report this to bug-autoconf@gnu.org. ##
10272 ## ------------------------------------ ##
10275 sed "s/^/$as_me: WARNING: /" >&2
10278 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10279 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10280 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10281 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10282 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10283 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10286 ## ------------------------------------ ##
10287 ## Report this to bug-autoconf@gnu.org. ##
10288 ## ------------------------------------ ##
10291 sed "s/^/$as_me: WARNING: /" >&2
10294 echo "$as_me:$LINENO: checking for $ac_header" >&5
10295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10297 echo $ECHO_N "(cached) $ECHO_C" >&6
10299 eval "$as_ac_Header=$ac_header_preproc"
10301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10302 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10305 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10306 cat >>confdefs.h <<_ACEOF
10307 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10314 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10316 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
10317 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
10318 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
10319 echo $ECHO_N "(cached) $ECHO_C" >&6
10321 ac_check_lib_save_LIBS=$LIBS
10322 LIBS="-lasound $LIBS"
10323 cat >conftest.$ac_ext <<_ACEOF
10324 #line $LINENO "configure"
10327 cat confdefs.h >>conftest.$ac_ext
10328 cat >>conftest.$ac_ext <<_ACEOF
10329 /* end confdefs.h. */
10331 /* Override any gcc2 internal prototype to avoid an error. */
10335 /* We use char because int might match the return type of a gcc2
10336 builtin and then its argument prototype would still apply. */
10337 char snd_pcm_open ();
10346 rm -f conftest.$ac_objext conftest$ac_exeext
10347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10348 (eval $ac_link) 2>&5
10350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10351 (exit $ac_status); } &&
10352 { ac_try='test -s conftest$ac_exeext'
10353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10354 (eval $ac_try) 2>&5
10356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10357 (exit $ac_status); }; }; then
10358 ac_cv_lib_asound_snd_pcm_open=yes
10360 echo "$as_me: failed program was:" >&5
10361 sed 's/^/| /' conftest.$ac_ext >&5
10363 ac_cv_lib_asound_snd_pcm_open=no
10365 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10366 LIBS=$ac_check_lib_save_LIBS
10368 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
10369 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
10370 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
10372 cat >>confdefs.h <<\_ACEOF
10373 #define HAVE_ALSA 1
10376 ALSALIBS="-lasound"
10385 for ac_header in libaudioio.h
10387 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10389 echo "$as_me:$LINENO: checking for $ac_header" >&5
10390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10392 echo $ECHO_N "(cached) $ECHO_C" >&6
10394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10397 # Is the header compilable?
10398 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10399 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10400 cat >conftest.$ac_ext <<_ACEOF
10401 #line $LINENO "configure"
10404 cat confdefs.h >>conftest.$ac_ext
10405 cat >>conftest.$ac_ext <<_ACEOF
10406 /* end confdefs.h. */
10407 $ac_includes_default
10408 #include <$ac_header>
10410 rm -f conftest.$ac_objext
10411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10412 (eval $ac_compile) 2>&5
10414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415 (exit $ac_status); } &&
10416 { ac_try='test -s conftest.$ac_objext'
10417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10418 (eval $ac_try) 2>&5
10420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10421 (exit $ac_status); }; }; then
10422 ac_header_compiler=yes
10424 echo "$as_me: failed program was:" >&5
10425 sed 's/^/| /' conftest.$ac_ext >&5
10427 ac_header_compiler=no
10429 rm -f conftest.$ac_objext conftest.$ac_ext
10430 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10431 echo "${ECHO_T}$ac_header_compiler" >&6
10433 # Is the header present?
10434 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10435 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10436 cat >conftest.$ac_ext <<_ACEOF
10437 #line $LINENO "configure"
10440 cat confdefs.h >>conftest.$ac_ext
10441 cat >>conftest.$ac_ext <<_ACEOF
10442 /* end confdefs.h. */
10443 #include <$ac_header>
10445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10446 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10448 grep -v '^ *+' conftest.er1 >conftest.err
10450 cat conftest.err >&5
10451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452 (exit $ac_status); } >/dev/null; then
10453 if test -s conftest.err; then
10454 ac_cpp_err=$ac_c_preproc_warn_flag
10461 if test -z "$ac_cpp_err"; then
10462 ac_header_preproc=yes
10464 echo "$as_me: failed program was:" >&5
10465 sed 's/^/| /' conftest.$ac_ext >&5
10467 ac_header_preproc=no
10469 rm -f conftest.err conftest.$ac_ext
10470 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10471 echo "${ECHO_T}$ac_header_preproc" >&6
10473 # So? What about this header?
10474 case $ac_header_compiler:$ac_header_preproc in
10476 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10477 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10479 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10482 ## ------------------------------------ ##
10483 ## Report this to bug-autoconf@gnu.org. ##
10484 ## ------------------------------------ ##
10487 sed "s/^/$as_me: WARNING: /" >&2
10490 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10491 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10492 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10493 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10495 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10498 ## ------------------------------------ ##
10499 ## Report this to bug-autoconf@gnu.org. ##
10500 ## ------------------------------------ ##
10503 sed "s/^/$as_me: WARNING: /" >&2
10506 echo "$as_me:$LINENO: checking for $ac_header" >&5
10507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10509 echo $ECHO_N "(cached) $ECHO_C" >&6
10511 eval "$as_ac_Header=$ac_header_preproc"
10513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10517 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10518 cat >>confdefs.h <<_ACEOF
10519 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10521 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
10522 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
10523 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
10524 echo $ECHO_N "(cached) $ECHO_C" >&6
10526 ac_check_lib_save_LIBS=$LIBS
10527 LIBS="-laudioio $LIBS"
10528 cat >conftest.$ac_ext <<_ACEOF
10529 #line $LINENO "configure"
10532 cat confdefs.h >>conftest.$ac_ext
10533 cat >>conftest.$ac_ext <<_ACEOF
10534 /* end confdefs.h. */
10536 /* Override any gcc2 internal prototype to avoid an error. */
10540 /* We use char because int might match the return type of a gcc2
10541 builtin and then its argument prototype would still apply. */
10542 char AudioIOGetVersion ();
10546 AudioIOGetVersion ();
10551 rm -f conftest.$ac_objext conftest$ac_exeext
10552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10553 (eval $ac_link) 2>&5
10555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10556 (exit $ac_status); } &&
10557 { ac_try='test -s conftest$ac_exeext'
10558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10559 (eval $ac_try) 2>&5
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); }; }; then
10563 ac_cv_lib_audioio_AudioIOGetVersion=yes
10565 echo "$as_me: failed program was:" >&5
10566 sed 's/^/| /' conftest.$ac_ext >&5
10568 ac_cv_lib_audioio_AudioIOGetVersion=no
10570 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10571 LIBS=$ac_check_lib_save_LIBS
10573 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
10574 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
10575 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
10576 AUDIOIOLIBS="-laudioio"
10578 cat >>confdefs.h <<\_ACEOF
10579 #define HAVE_LIBAUDIOIO 1
10590 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
10591 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
10592 if test "${ac_cv_mmap64_works+set}" = set; then
10593 echo $ECHO_N "(cached) $ECHO_C" >&6
10595 if test "$cross_compiling" = yes; then
10596 ac_cv_mmap64_works="no"
10598 cat >conftest.$ac_ext <<_ACEOF
10599 #line $LINENO "configure"
10602 cat confdefs.h >>conftest.$ac_ext
10603 cat >>conftest.$ac_ext <<_ACEOF
10604 /* end confdefs.h. */
10606 #define _FILE_OFFSET_BITS 64
10608 #include <unistd.h>
10610 #include <sys/mman.h>
10613 int main(int argc,char **argv) {
10614 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
10615 if (fd == -1) exit(1);
10617 unlink("conftest.map");
10619 write(fd,"test",4);
10621 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
10627 fprintf(stderr,"success!\n");
10633 rm -f conftest$ac_exeext
10634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10635 (eval $ac_link) 2>&5
10637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10638 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10640 (eval $ac_try) 2>&5
10642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10643 (exit $ac_status); }; }; then
10644 ac_cv_mmap64_works="yes"
10646 echo "$as_me: program exited with status $ac_status" >&5
10647 echo "$as_me: failed program was:" >&5
10648 sed 's/^/| /' conftest.$ac_ext >&5
10650 ( exit $ac_status )
10651 ac_cv_mmap64_works="no"
10653 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10656 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
10657 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
10659 if test "$ac_cv_mmap64_works" = "yes"
10662 cat >>confdefs.h <<\_ACEOF
10663 #define _FILE_OFFSET_BITS 64
10669 if test "x${GCC}" = "xyes"
10671 CFLAGS="$CFLAGS -Wall"
10673 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
10674 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
10675 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
10676 echo $ECHO_N "(cached) $ECHO_C" >&6
10678 if test "$cross_compiling" = yes; then
10679 ac_cv_c_gcc_strength_bug="yes"
10681 cat >conftest.$ac_ext <<_ACEOF
10682 #line $LINENO "configure"
10685 cat confdefs.h >>conftest.$ac_ext
10686 cat >>conftest.$ac_ext <<_ACEOF
10687 /* end confdefs.h. */
10689 int L[4] = {0,1,2,3};
10691 static int Array[3];
10692 unsigned int B = 3;
10694 for(i=0; i<B; i++) Array[i] = i - 3;
10695 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
10698 exit( Array[1] != -2 || L[2] != 3);
10701 rm -f conftest$ac_exeext
10702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10703 (eval $ac_link) 2>&5
10705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10706 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10708 (eval $ac_try) 2>&5
10710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10711 (exit $ac_status); }; }; then
10712 ac_cv_c_gcc_strength_bug="no"
10714 echo "$as_me: program exited with status $ac_status" >&5
10715 echo "$as_me: failed program was:" >&5
10716 sed 's/^/| /' conftest.$ac_ext >&5
10718 ( exit $ac_status )
10719 ac_cv_c_gcc_strength_bug="yes"
10721 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10724 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
10725 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
10726 if test "$ac_cv_c_gcc_strength_bug" = "yes"
10728 CFLAGS="$CFLAGS -fno-strength-reduce"
10731 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
10732 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
10733 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
10734 echo $ECHO_N "(cached) $ECHO_C" >&6
10736 ac_wine_try_cflags_saved=$CFLAGS
10737 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
10738 cat >conftest.$ac_ext <<_ACEOF
10739 #line $LINENO "configure"
10742 cat confdefs.h >>conftest.$ac_ext
10743 cat >>conftest.$ac_ext <<_ACEOF
10744 /* end confdefs.h. */
10754 rm -f conftest.$ac_objext conftest$ac_exeext
10755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10756 (eval $ac_link) 2>&5
10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759 (exit $ac_status); } &&
10760 { ac_try='test -s conftest$ac_exeext'
10761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10762 (eval $ac_try) 2>&5
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); }; }; then
10766 ac_cv_c_gcc_stack_boundary="yes"
10768 echo "$as_me: failed program was:" >&5
10769 sed 's/^/| /' conftest.$ac_ext >&5
10771 ac_cv_c_gcc_stack_boundary="no"
10773 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10774 CFLAGS=$ac_wine_try_cflags_saved
10776 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
10777 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
10778 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
10780 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
10783 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
10784 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
10785 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
10786 echo $ECHO_N "(cached) $ECHO_C" >&6
10788 ac_wine_try_cflags_saved=$CFLAGS
10789 CFLAGS="$CFLAGS -gstabs+"
10790 cat >conftest.$ac_ext <<_ACEOF
10791 #line $LINENO "configure"
10794 cat confdefs.h >>conftest.$ac_ext
10795 cat >>conftest.$ac_ext <<_ACEOF
10796 /* end confdefs.h. */
10806 rm -f conftest.$ac_objext conftest$ac_exeext
10807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10808 (eval $ac_link) 2>&5
10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811 (exit $ac_status); } &&
10812 { ac_try='test -s conftest$ac_exeext'
10813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10814 (eval $ac_try) 2>&5
10816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10817 (exit $ac_status); }; }; then
10818 ac_cv_c_gcc_gstabs="yes"
10820 echo "$as_me: failed program was:" >&5
10821 sed 's/^/| /' conftest.$ac_ext >&5
10823 ac_cv_c_gcc_gstabs="no"
10825 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10826 CFLAGS=$ac_wine_try_cflags_saved
10828 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
10829 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
10830 if test "$ac_cv_c_gcc_gstabs" = "yes"
10832 CFLAGS="$CFLAGS -gstabs+"
10835 saved_CFLAGS="$CFLAGS"
10836 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
10837 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
10838 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
10839 if test "${ac_cv_c_string_h_warnings+set}" = set; then
10840 echo $ECHO_N "(cached) $ECHO_C" >&6
10842 cat >conftest.$ac_ext <<_ACEOF
10843 #line $LINENO "configure"
10846 cat confdefs.h >>conftest.$ac_ext
10847 cat >>conftest.$ac_ext <<_ACEOF
10848 /* end confdefs.h. */
10849 #include <string.h>
10858 rm -f conftest.$ac_objext
10859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10860 (eval $ac_compile) 2>&5
10862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10863 (exit $ac_status); } &&
10864 { ac_try='test -s conftest.$ac_objext'
10865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10866 (eval $ac_try) 2>&5
10868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10869 (exit $ac_status); }; }; then
10870 ac_cv_c_string_h_warnings=no
10872 echo "$as_me: failed program was:" >&5
10873 sed 's/^/| /' conftest.$ac_ext >&5
10875 ac_cv_c_string_h_warnings=yes
10877 rm -f conftest.$ac_objext conftest.$ac_ext
10879 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
10880 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
10881 CFLAGS="$saved_CFLAGS"
10882 if test "$ac_cv_c_string_h_warnings" = "no"
10884 CFLAGS="$CFLAGS -Wpointer-arith"
10889 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
10890 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
10891 if test "${ac_cv_asm_func_def+set}" = set; then
10892 echo $ECHO_N "(cached) $ECHO_C" >&6
10894 cat >conftest.$ac_ext <<_ACEOF
10895 #line $LINENO "configure"
10898 cat confdefs.h >>conftest.$ac_ext
10899 cat >>conftest.$ac_ext <<_ACEOF
10900 /* end confdefs.h. */
10901 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"); }
10911 rm -f conftest.$ac_objext conftest$ac_exeext
10912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10913 (eval $ac_link) 2>&5
10915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10916 (exit $ac_status); } &&
10917 { ac_try='test -s conftest$ac_exeext'
10918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10919 (eval $ac_try) 2>&5
10921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10922 (exit $ac_status); }; }; then
10923 ac_cv_asm_func_def=".def"
10925 echo "$as_me: failed program was:" >&5
10926 sed 's/^/| /' conftest.$ac_ext >&5
10928 cat >conftest.$ac_ext <<_ACEOF
10929 #line $LINENO "configure"
10932 cat confdefs.h >>conftest.$ac_ext
10933 cat >>conftest.$ac_ext <<_ACEOF
10934 /* end confdefs.h. */
10935 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
10945 rm -f conftest.$ac_objext conftest$ac_exeext
10946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10947 (eval $ac_link) 2>&5
10949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10950 (exit $ac_status); } &&
10951 { ac_try='test -s conftest$ac_exeext'
10952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10953 (eval $ac_try) 2>&5
10955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10956 (exit $ac_status); }; }; then
10957 ac_cv_asm_func_def=".type @function"
10959 echo "$as_me: failed program was:" >&5
10960 sed 's/^/| /' conftest.$ac_ext >&5
10962 cat >conftest.$ac_ext <<_ACEOF
10963 #line $LINENO "configure"
10966 cat confdefs.h >>conftest.$ac_ext
10967 cat >>conftest.$ac_ext <<_ACEOF
10968 /* end confdefs.h. */
10969 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
10979 rm -f conftest.$ac_objext conftest$ac_exeext
10980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10981 (eval $ac_link) 2>&5
10983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10984 (exit $ac_status); } &&
10985 { ac_try='test -s conftest$ac_exeext'
10986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10987 (eval $ac_try) 2>&5
10989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10990 (exit $ac_status); }; }; then
10991 ac_cv_asm_func_def=".type 2"
10993 echo "$as_me: failed program was:" >&5
10994 sed 's/^/| /' conftest.$ac_ext >&5
10996 ac_cv_asm_func_def="unknown"
10998 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11000 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11002 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11004 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
11005 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
11009 case "$ac_cv_asm_func_def" in
11011 cat >>confdefs.h <<\_ACEOF
11012 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
11016 cat >>confdefs.h <<\_ACEOF
11017 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
11021 cat >>confdefs.h <<\_ACEOF
11022 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
11026 cat >>confdefs.h <<\_ACEOF
11027 #define __ASM_FUNC(name) ""
11033 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
11034 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
11035 if test "${ac_cv_c_extern_prefix+set}" = set; then
11036 echo $ECHO_N "(cached) $ECHO_C" >&6
11038 cat >conftest.$ac_ext <<_ACEOF
11039 #line $LINENO "configure"
11042 cat confdefs.h >>conftest.$ac_ext
11043 cat >>conftest.$ac_ext <<_ACEOF
11044 /* end confdefs.h. */
11045 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
11046 extern int ac_test;
11050 if (ac_test) return 1
11055 rm -f conftest.$ac_objext conftest$ac_exeext
11056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11057 (eval $ac_link) 2>&5
11059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060 (exit $ac_status); } &&
11061 { ac_try='test -s conftest$ac_exeext'
11062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11063 (eval $ac_try) 2>&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); }; }; then
11067 ac_cv_c_extern_prefix="yes"
11069 echo "$as_me: failed program was:" >&5
11070 sed 's/^/| /' conftest.$ac_ext >&5
11072 ac_cv_c_extern_prefix="no"
11074 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11076 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
11077 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
11081 if test "$ac_cv_c_extern_prefix" = "yes"
11083 cat >>confdefs.h <<\_ACEOF
11084 #define __ASM_NAME(name) "_" name
11088 cat >>confdefs.h <<\_ACEOF
11089 #define __ASM_NAME(name) name
11095 echo "$as_me:$LINENO: checking whether assembler accepts .string" >&5
11096 echo $ECHO_N "checking whether assembler accepts .string... $ECHO_C" >&6
11097 if test "${ac_cv_c_asm_string+set}" = set; then
11098 echo $ECHO_N "(cached) $ECHO_C" >&6
11100 cat >conftest.$ac_ext <<_ACEOF
11101 #line $LINENO "configure"
11104 cat confdefs.h >>conftest.$ac_ext
11105 cat >>conftest.$ac_ext <<_ACEOF
11106 /* end confdefs.h. */
11107 void ac_asm(void) { asm(".data\n\t.string \"test\"\n\t.text"); }
11117 rm -f conftest.$ac_objext conftest$ac_exeext
11118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11119 (eval $ac_link) 2>&5
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); } &&
11123 { ac_try='test -s conftest$ac_exeext'
11124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11125 (eval $ac_try) 2>&5
11127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128 (exit $ac_status); }; }; then
11129 ac_cv_c_asm_string="yes"
11131 echo "$as_me: failed program was:" >&5
11132 sed 's/^/| /' conftest.$ac_ext >&5
11134 ac_cv_c_asm_string="no"
11136 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11138 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
11139 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
11140 if test "$ac_cv_c_asm_string" = "yes"
11143 cat >>confdefs.h <<\_ACEOF
11144 #define __ASM_STRING ".string"
11148 echo "$as_me:$LINENO: checking whether assembler accepts .asciz" >&5
11149 echo $ECHO_N "checking whether assembler accepts .asciz... $ECHO_C" >&6
11150 if test "${ac_cv_c_asm_asciz+set}" = set; then
11151 echo $ECHO_N "(cached) $ECHO_C" >&6
11153 cat >conftest.$ac_ext <<_ACEOF
11154 #line $LINENO "configure"
11157 cat confdefs.h >>conftest.$ac_ext
11158 cat >>conftest.$ac_ext <<_ACEOF
11159 /* end confdefs.h. */
11160 void ac_asm(void) { asm(".data\n\t.asciz \"test\"\n\t.text"); }
11170 rm -f conftest.$ac_objext conftest$ac_exeext
11171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11172 (eval $ac_link) 2>&5
11174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175 (exit $ac_status); } &&
11176 { ac_try='test -s conftest$ac_exeext'
11177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11178 (eval $ac_try) 2>&5
11180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11181 (exit $ac_status); }; }; then
11182 ac_cv_c_asm_asciz="yes"
11184 echo "$as_me: failed program was:" >&5
11185 sed 's/^/| /' conftest.$ac_ext >&5
11187 ac_cv_c_asm_asciz="no"
11189 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11191 echo "$as_me:$LINENO: result: $ac_cv_c_asm_asciz" >&5
11192 echo "${ECHO_T}$ac_cv_c_asm_asciz" >&6
11193 if test "$ac_cv_c_asm_asciz" = "yes"
11195 cat >>confdefs.h <<\_ACEOF
11196 #define __ASM_STRING ".asciz"
11200 cat >>confdefs.h <<\_ACEOF
11201 #define __ASM_STRING ".ascii"
11208 echo "$as_me:$LINENO: checking whether assembler accepts .short" >&5
11209 echo $ECHO_N "checking whether assembler accepts .short... $ECHO_C" >&6
11210 if test "${ac_cv_c_asm_short+set}" = set; then
11211 echo $ECHO_N "(cached) $ECHO_C" >&6
11213 cat >conftest.$ac_ext <<_ACEOF
11214 #line $LINENO "configure"
11217 cat confdefs.h >>conftest.$ac_ext
11218 cat >>conftest.$ac_ext <<_ACEOF
11219 /* end confdefs.h. */
11220 void ac_asm(void) { asm(".data\n\t.short 1\n\t.text"); }
11230 rm -f conftest.$ac_objext conftest$ac_exeext
11231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11232 (eval $ac_link) 2>&5
11234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235 (exit $ac_status); } &&
11236 { ac_try='test -s conftest$ac_exeext'
11237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11238 (eval $ac_try) 2>&5
11240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241 (exit $ac_status); }; }; then
11242 ac_cv_c_asm_short="yes"
11244 echo "$as_me: failed program was:" >&5
11245 sed 's/^/| /' conftest.$ac_ext >&5
11247 ac_cv_c_asm_short="no"
11249 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11251 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
11252 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
11253 if test "$ac_cv_c_asm_short" = "yes"
11256 cat >>confdefs.h <<\_ACEOF
11257 #define __ASM_SHORT ".short"
11261 cat >>confdefs.h <<\_ACEOF
11262 #define __ASM_SHORT ".half"
11285 if test -n "$ac_tool_prefix"; then
11286 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
11287 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
11288 echo "$as_me:$LINENO: checking for $ac_word" >&5
11289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11290 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
11291 echo $ECHO_N "(cached) $ECHO_C" >&6
11293 if test -n "$DLLTOOL"; then
11294 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11297 for as_dir in $PATH
11300 test -z "$as_dir" && as_dir=.
11301 for ac_exec_ext in '' $ac_executable_extensions; do
11302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11303 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
11304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11312 DLLTOOL=$ac_cv_prog_DLLTOOL
11313 if test -n "$DLLTOOL"; then
11314 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
11315 echo "${ECHO_T}$DLLTOOL" >&6
11317 echo "$as_me:$LINENO: result: no" >&5
11318 echo "${ECHO_T}no" >&6
11322 if test -z "$ac_cv_prog_DLLTOOL"; then
11323 ac_ct_DLLTOOL=$DLLTOOL
11324 # Extract the first word of "dlltool", so it can be a program name with args.
11325 set dummy dlltool; ac_word=$2
11326 echo "$as_me:$LINENO: checking for $ac_word" >&5
11327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11328 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
11329 echo $ECHO_N "(cached) $ECHO_C" >&6
11331 if test -n "$ac_ct_DLLTOOL"; then
11332 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
11334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11335 for as_dir in $PATH
11338 test -z "$as_dir" && as_dir=.
11339 for ac_exec_ext in '' $ac_executable_extensions; do
11340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11341 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
11342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11348 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
11351 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
11352 if test -n "$ac_ct_DLLTOOL"; then
11353 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
11354 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
11356 echo "$as_me:$LINENO: result: no" >&5
11357 echo "${ECHO_T}no" >&6
11360 DLLTOOL=$ac_ct_DLLTOOL
11362 DLLTOOL="$ac_cv_prog_DLLTOOL"
11365 if test -n "$ac_tool_prefix"; then
11366 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
11367 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
11368 echo "$as_me:$LINENO: checking for $ac_word" >&5
11369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11370 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
11371 echo $ECHO_N "(cached) $ECHO_C" >&6
11373 if test -n "$DLLWRAP"; then
11374 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
11376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11377 for as_dir in $PATH
11380 test -z "$as_dir" && as_dir=.
11381 for ac_exec_ext in '' $ac_executable_extensions; do
11382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11383 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
11384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11392 DLLWRAP=$ac_cv_prog_DLLWRAP
11393 if test -n "$DLLWRAP"; then
11394 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
11395 echo "${ECHO_T}$DLLWRAP" >&6
11397 echo "$as_me:$LINENO: result: no" >&5
11398 echo "${ECHO_T}no" >&6
11402 if test -z "$ac_cv_prog_DLLWRAP"; then
11403 ac_ct_DLLWRAP=$DLLWRAP
11404 # Extract the first word of "dllwrap", so it can be a program name with args.
11405 set dummy dllwrap; ac_word=$2
11406 echo "$as_me:$LINENO: checking for $ac_word" >&5
11407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11408 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
11409 echo $ECHO_N "(cached) $ECHO_C" >&6
11411 if test -n "$ac_ct_DLLWRAP"; then
11412 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
11414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11415 for as_dir in $PATH
11418 test -z "$as_dir" && as_dir=.
11419 for ac_exec_ext in '' $ac_executable_extensions; do
11420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11421 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
11422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11428 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
11431 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
11432 if test -n "$ac_ct_DLLWRAP"; then
11433 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
11434 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
11436 echo "$as_me:$LINENO: result: no" >&5
11437 echo "${ECHO_T}no" >&6
11440 DLLWRAP=$ac_ct_DLLWRAP
11442 DLLWRAP="$ac_cv_prog_DLLWRAP"
11445 if test "$DLLWRAP" = "false"; then
11454 for ac_header in dlfcn.h
11456 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11458 echo "$as_me:$LINENO: checking for $ac_header" >&5
11459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11461 echo $ECHO_N "(cached) $ECHO_C" >&6
11463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11464 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11466 # Is the header compilable?
11467 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11468 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11469 cat >conftest.$ac_ext <<_ACEOF
11470 #line $LINENO "configure"
11473 cat confdefs.h >>conftest.$ac_ext
11474 cat >>conftest.$ac_ext <<_ACEOF
11475 /* end confdefs.h. */
11476 $ac_includes_default
11477 #include <$ac_header>
11479 rm -f conftest.$ac_objext
11480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11481 (eval $ac_compile) 2>&5
11483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11484 (exit $ac_status); } &&
11485 { ac_try='test -s conftest.$ac_objext'
11486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11487 (eval $ac_try) 2>&5
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); }; }; then
11491 ac_header_compiler=yes
11493 echo "$as_me: failed program was:" >&5
11494 sed 's/^/| /' conftest.$ac_ext >&5
11496 ac_header_compiler=no
11498 rm -f conftest.$ac_objext conftest.$ac_ext
11499 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11500 echo "${ECHO_T}$ac_header_compiler" >&6
11502 # Is the header present?
11503 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11504 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11505 cat >conftest.$ac_ext <<_ACEOF
11506 #line $LINENO "configure"
11509 cat confdefs.h >>conftest.$ac_ext
11510 cat >>conftest.$ac_ext <<_ACEOF
11511 /* end confdefs.h. */
11512 #include <$ac_header>
11514 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11515 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11517 grep -v '^ *+' conftest.er1 >conftest.err
11519 cat conftest.err >&5
11520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 (exit $ac_status); } >/dev/null; then
11522 if test -s conftest.err; then
11523 ac_cpp_err=$ac_c_preproc_warn_flag
11530 if test -z "$ac_cpp_err"; then
11531 ac_header_preproc=yes
11533 echo "$as_me: failed program was:" >&5
11534 sed 's/^/| /' conftest.$ac_ext >&5
11536 ac_header_preproc=no
11538 rm -f conftest.err conftest.$ac_ext
11539 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11540 echo "${ECHO_T}$ac_header_preproc" >&6
11542 # So? What about this header?
11543 case $ac_header_compiler:$ac_header_preproc in
11545 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11546 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11547 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11548 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11551 ## ------------------------------------ ##
11552 ## Report this to bug-autoconf@gnu.org. ##
11553 ## ------------------------------------ ##
11556 sed "s/^/$as_me: WARNING: /" >&2
11559 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11560 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11561 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11562 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11564 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11567 ## ------------------------------------ ##
11568 ## Report this to bug-autoconf@gnu.org. ##
11569 ## ------------------------------------ ##
11572 sed "s/^/$as_me: WARNING: /" >&2
11575 echo "$as_me:$LINENO: checking for $ac_header" >&5
11576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11578 echo $ECHO_N "(cached) $ECHO_C" >&6
11580 eval "$as_ac_Header=$ac_header_preproc"
11582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11586 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11587 cat >>confdefs.h <<_ACEOF
11588 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11591 for ac_func in dlopen
11593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11594 echo "$as_me:$LINENO: checking for $ac_func" >&5
11595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11596 if eval "test \"\${$as_ac_var+set}\" = set"; then
11597 echo $ECHO_N "(cached) $ECHO_C" >&6
11599 cat >conftest.$ac_ext <<_ACEOF
11600 #line $LINENO "configure"
11603 cat confdefs.h >>conftest.$ac_ext
11604 cat >>conftest.$ac_ext <<_ACEOF
11605 /* end confdefs.h. */
11606 /* System header to define __stub macros and hopefully few prototypes,
11607 which can conflict with char $ac_func (); below.
11608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11609 <limits.h> exists even on freestanding compilers. */
11611 # include <limits.h>
11613 # include <assert.h>
11615 /* Override any gcc2 internal prototype to avoid an error. */
11620 /* We use char because int might match the return type of a gcc2
11621 builtin and then its argument prototype would still apply. */
11623 /* The GNU C library defines this for functions which it implements
11624 to always fail with ENOSYS. Some functions are actually named
11625 something starting with __ and the normal name is an alias. */
11626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11629 char (*f) () = $ac_func;
11638 return f != $ac_func;
11643 rm -f conftest.$ac_objext conftest$ac_exeext
11644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11645 (eval $ac_link) 2>&5
11647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11648 (exit $ac_status); } &&
11649 { ac_try='test -s conftest$ac_exeext'
11650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11651 (eval $ac_try) 2>&5
11653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11654 (exit $ac_status); }; }; then
11655 eval "$as_ac_var=yes"
11657 echo "$as_me: failed program was:" >&5
11658 sed 's/^/| /' conftest.$ac_ext >&5
11660 eval "$as_ac_var=no"
11662 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11666 if test `eval echo '${'$as_ac_var'}'` = yes; then
11667 cat >>confdefs.h <<_ACEOF
11668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11672 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11673 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11674 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11675 echo $ECHO_N "(cached) $ECHO_C" >&6
11677 ac_check_lib_save_LIBS=$LIBS
11679 cat >conftest.$ac_ext <<_ACEOF
11680 #line $LINENO "configure"
11683 cat confdefs.h >>conftest.$ac_ext
11684 cat >>conftest.$ac_ext <<_ACEOF
11685 /* end confdefs.h. */
11687 /* Override any gcc2 internal prototype to avoid an error. */
11691 /* We use char because int might match the return type of a gcc2
11692 builtin and then its argument prototype would still apply. */
11702 rm -f conftest.$ac_objext conftest$ac_exeext
11703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11704 (eval $ac_link) 2>&5
11706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11707 (exit $ac_status); } &&
11708 { ac_try='test -s conftest$ac_exeext'
11709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11710 (eval $ac_try) 2>&5
11712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11713 (exit $ac_status); }; }; then
11714 ac_cv_lib_dl_dlopen=yes
11716 echo "$as_me: failed program was:" >&5
11717 sed 's/^/| /' conftest.$ac_ext >&5
11719 ac_cv_lib_dl_dlopen=no
11721 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11722 LIBS=$ac_check_lib_save_LIBS
11724 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11725 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11726 if test $ac_cv_lib_dl_dlopen = yes; then
11728 cat >>confdefs.h <<\_ACEOF
11729 #define HAVE_DLOPEN 1
11747 if test "$LIBEXT" = "so"
11751 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
11752 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
11753 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
11754 echo $ECHO_N "(cached) $ECHO_C" >&6
11756 ac_wine_try_cflags_saved=$CFLAGS
11757 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
11758 cat >conftest.$ac_ext <<_ACEOF
11759 #line $LINENO "configure"
11762 cat confdefs.h >>conftest.$ac_ext
11763 cat >>conftest.$ac_ext <<_ACEOF
11764 /* end confdefs.h. */
11774 rm -f conftest.$ac_objext conftest$ac_exeext
11775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11776 (eval $ac_link) 2>&5
11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); } &&
11780 { ac_try='test -s conftest$ac_exeext'
11781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11782 (eval $ac_try) 2>&5
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); }; }; then
11786 ac_cv_c_dll_gnuelf="yes"
11788 echo "$as_me: failed program was:" >&5
11789 sed 's/^/| /' conftest.$ac_ext >&5
11791 ac_cv_c_dll_gnuelf="no"
11793 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11794 CFLAGS=$ac_wine_try_cflags_saved
11796 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
11797 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
11798 if test "$ac_cv_c_dll_gnuelf" = "yes"
11800 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
11801 LDDLLFLAGS="-Wl,-Bsymbolic"
11802 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
11803 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
11804 if test "${ac_cv_c_dll_zdefs+set}" = set; then
11805 echo $ECHO_N "(cached) $ECHO_C" >&6
11807 ac_wine_try_cflags_saved=$CFLAGS
11808 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
11809 cat >conftest.$ac_ext <<_ACEOF
11810 #line $LINENO "configure"
11813 cat confdefs.h >>conftest.$ac_ext
11814 cat >>conftest.$ac_ext <<_ACEOF
11815 /* end confdefs.h. */
11825 rm -f conftest.$ac_objext conftest$ac_exeext
11826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11827 (eval $ac_link) 2>&5
11829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11830 (exit $ac_status); } &&
11831 { ac_try='test -s conftest$ac_exeext'
11832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11833 (eval $ac_try) 2>&5
11835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836 (exit $ac_status); }; }; then
11837 ac_cv_c_dll_zdefs="yes"
11839 echo "$as_me: failed program was:" >&5
11840 sed 's/^/| /' conftest.$ac_ext >&5
11842 ac_cv_c_dll_zdefs="no"
11844 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11845 CFLAGS=$ac_wine_try_cflags_saved
11847 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
11848 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
11849 if test "$ac_cv_c_dll_zdefs" = "yes"
11851 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
11853 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x3c000000" >&5
11854 echo $ECHO_N "checking whether we can relocate the executable to 0x3c000000... $ECHO_C" >&6
11855 if test "${ac_cv_ld_reloc_exec+set}" = set; then
11856 echo $ECHO_N "(cached) $ECHO_C" >&6
11858 saved_CFLAGS="$CFLAGS"
11859 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x3c000100"
11860 if test "$cross_compiling" = yes; then
11861 ac_cv_ld_reloc_exec="no"
11863 cat >conftest.$ac_ext <<_ACEOF
11864 #line $LINENO "configure"
11867 cat confdefs.h >>conftest.$ac_ext
11868 cat >>conftest.$ac_ext <<_ACEOF
11869 /* end confdefs.h. */
11870 #include <unistd.h>
11871 int main() { return (sbrk(32*1024*1024) == (void *)-1); }
11873 rm -f conftest$ac_exeext
11874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11875 (eval $ac_link) 2>&5
11877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11878 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11880 (eval $ac_try) 2>&5
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); }; }; then
11884 ac_cv_ld_reloc_exec="yes"
11886 echo "$as_me: program exited with status $ac_status" >&5
11887 echo "$as_me: failed program was:" >&5
11888 sed 's/^/| /' conftest.$ac_ext >&5
11890 ( exit $ac_status )
11891 ac_cv_ld_reloc_exec="no"
11893 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11895 CFLAGS="$saved_CFLAGS"
11897 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
11898 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
11899 if test "$ac_cv_ld_reloc_exec" = "yes"
11901 LDEXECFLAGS="-Wl,--section-start,.interp=0x3c000100"
11905 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
11906 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
11907 if test "${ac_cv_c_dll_unixware+set}" = set; then
11908 echo $ECHO_N "(cached) $ECHO_C" >&6
11910 ac_wine_try_cflags_saved=$CFLAGS
11911 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
11912 cat >conftest.$ac_ext <<_ACEOF
11913 #line $LINENO "configure"
11916 cat confdefs.h >>conftest.$ac_ext
11917 cat >>conftest.$ac_ext <<_ACEOF
11918 /* end confdefs.h. */
11928 rm -f conftest.$ac_objext conftest$ac_exeext
11929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11930 (eval $ac_link) 2>&5
11932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11933 (exit $ac_status); } &&
11934 { ac_try='test -s conftest$ac_exeext'
11935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11936 (eval $ac_try) 2>&5
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); }; }; then
11940 ac_cv_c_dll_unixware="yes"
11942 echo "$as_me: failed program was:" >&5
11943 sed 's/^/| /' conftest.$ac_ext >&5
11945 ac_cv_c_dll_unixware="no"
11947 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11948 CFLAGS=$ac_wine_try_cflags_saved
11950 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
11951 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
11952 if test "$ac_cv_c_dll_unixware" = "yes"
11954 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
11955 LDDLLFLAGS="-Wl,-B,symbolic"
11962 if test "$cross_compiling" = "no"
11964 for ac_prog in i586-mingw32msvc-gcc
11966 # Extract the first word of "$ac_prog", so it can be a program name with args.
11967 set dummy $ac_prog; ac_word=$2
11968 echo "$as_me:$LINENO: checking for $ac_word" >&5
11969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11970 if test "${ac_cv_prog_CROSSCC+set}" = set; then
11971 echo $ECHO_N "(cached) $ECHO_C" >&6
11973 if test -n "$CROSSCC"; then
11974 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
11976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11977 for as_dir in $PATH
11980 test -z "$as_dir" && as_dir=.
11981 for ac_exec_ext in '' $ac_executable_extensions; do
11982 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11983 ac_cv_prog_CROSSCC="$ac_prog"
11984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11992 CROSSCC=$ac_cv_prog_CROSSCC
11993 if test -n "$CROSSCC"; then
11994 echo "$as_me:$LINENO: result: $CROSSCC" >&5
11995 echo "${ECHO_T}$CROSSCC" >&6
11997 echo "$as_me:$LINENO: result: no" >&5
11998 echo "${ECHO_T}no" >&6
12001 test -n "$CROSSCC" && break
12003 test -n "$CROSSCC" || CROSSCC="false"
12005 for ac_prog in i586-mingw32msvc-dlltool
12007 # Extract the first word of "$ac_prog", so it can be a program name with args.
12008 set dummy $ac_prog; ac_word=$2
12009 echo "$as_me:$LINENO: checking for $ac_word" >&5
12010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12011 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12012 echo $ECHO_N "(cached) $ECHO_C" >&6
12014 if test -n "$DLLTOOL"; then
12015 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
12017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12018 for as_dir in $PATH
12021 test -z "$as_dir" && as_dir=.
12022 for ac_exec_ext in '' $ac_executable_extensions; do
12023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12024 ac_cv_prog_DLLTOOL="$ac_prog"
12025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12033 DLLTOOL=$ac_cv_prog_DLLTOOL
12034 if test -n "$DLLTOOL"; then
12035 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12036 echo "${ECHO_T}$DLLTOOL" >&6
12038 echo "$as_me:$LINENO: result: no" >&5
12039 echo "${ECHO_T}no" >&6
12042 test -n "$DLLTOOL" && break
12044 test -n "$DLLTOOL" || DLLTOOL="false"
12046 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
12051 if test "$LIBEXT" = "a"; then
12052 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
12053 It is currently not possible to build Wine without shared library
12054 (.so) support to allow transparent switch between .so and .dll files.
12055 If you are using Linux, you will need a newer binutils.
12057 echo "$as_me: error: could not find a way to build shared libraries.
12058 It is currently not possible to build Wine without shared library
12059 (.so) support to allow transparent switch between .so and .dll files.
12060 If you are using Linux, you will need a newer binutils.
12062 { (exit 1); exit 1; }; }
12067 LDPATH="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
12070 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
12078 CRTLIBS="-lmsvcrt" ;;
12082 if test "$LIBEXT" = "so"
12084 # Extract the first word of "ldd", so it can be a program name with args.
12085 set dummy ldd; ac_word=$2
12086 echo "$as_me:$LINENO: checking for $ac_word" >&5
12087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12088 if test "${ac_cv_path_LDD+set}" = set; then
12089 echo $ECHO_N "(cached) $ECHO_C" >&6
12093 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
12096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12097 as_dummy="/sbin:/usr/sbin:$PATH"
12098 for as_dir in $as_dummy
12101 test -z "$as_dir" && as_dir=.
12102 for ac_exec_ext in '' $ac_executable_extensions; do
12103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12104 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
12105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12111 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
12115 LDD=$ac_cv_path_LDD
12117 if test -n "$LDD"; then
12118 echo "$as_me:$LINENO: result: $LDD" >&5
12119 echo "${ECHO_T}$LDD" >&6
12121 echo "$as_me:$LINENO: result: no" >&5
12122 echo "${ECHO_T}no" >&6
12126 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
12127 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
12128 if test "${ac_cv_lib_soname_X11+set}" = set; then
12129 echo $ECHO_N "(cached) $ECHO_C" >&6
12131 ac_get_soname_save_LIBS=$LIBS
12132 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
12133 cat >conftest.$ac_ext <<_ACEOF
12134 #line $LINENO "configure"
12137 cat confdefs.h >>conftest.$ac_ext
12138 cat >>conftest.$ac_ext <<_ACEOF
12139 /* end confdefs.h. */
12141 /* Override any gcc2 internal prototype to avoid an error. */
12145 /* We use char because int might match the return type of a gcc2
12146 builtin and then its argument prototype would still apply. */
12147 char XCreateWindow ();
12156 rm -f conftest.$ac_objext conftest$ac_exeext
12157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12158 (eval $ac_link) 2>&5
12160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12161 (exit $ac_status); } &&
12162 { ac_try='test -s conftest$ac_exeext'
12163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12164 (eval $ac_try) 2>&5
12166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12167 (exit $ac_status); }; }; then
12168 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12169 if test "x$ac_cv_lib_soname_X11" = "x"
12171 ac_cv_lib_soname_X11="libX11.so"
12174 echo "$as_me: failed program was:" >&5
12175 sed 's/^/| /' conftest.$ac_ext >&5
12177 ac_cv_lib_soname_X11="libX11.so"
12179 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12180 LIBS=$ac_get_soname_save_LIBS
12182 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
12183 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
12184 if test "x$ac_cv_lib_soname_X11" != xNONE
12186 cat >>confdefs.h <<_ACEOF
12187 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
12191 echo "$as_me:$LINENO: checking for -lXext soname" >&5
12192 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
12193 if test "${ac_cv_lib_soname_Xext+set}" = set; then
12194 echo $ECHO_N "(cached) $ECHO_C" >&6
12196 ac_get_soname_save_LIBS=$LIBS
12197 LIBS="-lXext $X_LIBS -lX11 $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 XextCreateExtension ();
12216 XextCreateExtension ();
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_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12234 if test "x$ac_cv_lib_soname_Xext" = "x"
12236 ac_cv_lib_soname_Xext="libXext.so"
12239 echo "$as_me: failed program was:" >&5
12240 sed 's/^/| /' conftest.$ac_ext >&5
12242 ac_cv_lib_soname_Xext="libXext.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_Xext" >&5
12248 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
12249 if test "x$ac_cv_lib_soname_Xext" != xNONE
12251 cat >>confdefs.h <<_ACEOF
12252 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
12256 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
12257 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
12258 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
12259 echo $ECHO_N "(cached) $ECHO_C" >&6
12261 ac_get_soname_save_LIBS=$LIBS
12262 LIBS="-lXrender $X_LIBS -lXext -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 XRenderQueryExtension ();
12281 XRenderQueryExtension ();
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_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12299 if test "x$ac_cv_lib_soname_Xrender" = "x"
12301 ac_cv_lib_soname_Xrender="libXrender.so"
12304 echo "$as_me: failed program was:" >&5
12305 sed 's/^/| /' conftest.$ac_ext >&5
12307 ac_cv_lib_soname_Xrender="libXrender.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_Xrender" >&5
12313 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
12314 if test "x$ac_cv_lib_soname_Xrender" != xNONE
12316 cat >>confdefs.h <<_ACEOF
12317 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12321 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
12322 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
12323 if test "${ac_cv_lib_soname_freetype+set}" = set; then
12324 echo $ECHO_N "(cached) $ECHO_C" >&6
12326 ac_get_soname_save_LIBS=$LIBS
12327 LIBS="-lfreetype $X_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 FT_Init_FreeType ();
12346 FT_Init_FreeType ();
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_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12364 if test "x$ac_cv_lib_soname_freetype" = "x"
12366 ac_cv_lib_soname_freetype="libfreetype.so"
12369 echo "$as_me: failed program was:" >&5
12370 sed 's/^/| /' conftest.$ac_ext >&5
12372 ac_cv_lib_soname_freetype="libfreetype.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_freetype" >&5
12378 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
12379 if test "x$ac_cv_lib_soname_freetype" != xNONE
12381 cat >>confdefs.h <<_ACEOF
12382 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12386 echo "$as_me:$LINENO: checking for -lGL soname" >&5
12387 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
12388 if test "${ac_cv_lib_soname_GL+set}" = set; then
12389 echo $ECHO_N "(cached) $ECHO_C" >&6
12391 ac_get_soname_save_LIBS=$LIBS
12392 LIBS="-lGL $X_LIBS $X_EXTRA_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 glXQueryExtension ();
12411 glXQueryExtension ();
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_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12429 if test "x$ac_cv_lib_soname_GL" = "x"
12431 ac_cv_lib_soname_GL="libGL.so"
12434 echo "$as_me: failed program was:" >&5
12435 sed 's/^/| /' conftest.$ac_ext >&5
12437 ac_cv_lib_soname_GL="libGL.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_GL" >&5
12443 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
12444 if test "x$ac_cv_lib_soname_GL" != xNONE
12446 cat >>confdefs.h <<_ACEOF
12447 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12451 echo "$as_me:$LINENO: checking for -lcups soname" >&5
12452 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
12453 if test "${ac_cv_lib_soname_cups+set}" = set; then
12454 echo $ECHO_N "(cached) $ECHO_C" >&6
12456 ac_get_soname_save_LIBS=$LIBS
12457 LIBS="-lcups $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 cupsGetDefault ();
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_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12494 if test "x$ac_cv_lib_soname_cups" = "x"
12496 ac_cv_lib_soname_cups="libcups.so"
12499 echo "$as_me: failed program was:" >&5
12500 sed 's/^/| /' conftest.$ac_ext >&5
12502 ac_cv_lib_soname_cups="libcups.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_cups" >&5
12508 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
12509 if test "x$ac_cv_lib_soname_cups" != xNONE
12511 cat >>confdefs.h <<_ACEOF
12512 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12516 echo "$as_me:$LINENO: checking for -ljack soname" >&5
12517 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
12518 if test "${ac_cv_lib_soname_jack+set}" = set; then
12519 echo $ECHO_N "(cached) $ECHO_C" >&6
12521 ac_get_soname_save_LIBS=$LIBS
12522 LIBS="-ljack $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 jack_client_new ();
12541 jack_client_new ();
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_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12559 if test "x$ac_cv_lib_soname_jack" = "x"
12561 ac_cv_lib_soname_jack="libjack.so"
12564 echo "$as_me: failed program was:" >&5
12565 sed 's/^/| /' conftest.$ac_ext >&5
12567 ac_cv_lib_soname_jack="libjack.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_jack" >&5
12573 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
12574 if test "x$ac_cv_lib_soname_jack" != xNONE
12576 cat >>confdefs.h <<_ACEOF
12577 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
12584 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12585 # for constant arguments. Useless!
12586 echo "$as_me:$LINENO: checking for working alloca.h" >&5
12587 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
12588 if test "${ac_cv_working_alloca_h+set}" = set; then
12589 echo $ECHO_N "(cached) $ECHO_C" >&6
12591 cat >conftest.$ac_ext <<_ACEOF
12592 #line $LINENO "configure"
12595 cat confdefs.h >>conftest.$ac_ext
12596 cat >>conftest.$ac_ext <<_ACEOF
12597 /* end confdefs.h. */
12598 #include <alloca.h>
12602 char *p = (char *) alloca (2 * sizeof (int));
12607 rm -f conftest.$ac_objext conftest$ac_exeext
12608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12609 (eval $ac_link) 2>&5
12611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12612 (exit $ac_status); } &&
12613 { ac_try='test -s conftest$ac_exeext'
12614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12615 (eval $ac_try) 2>&5
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); }; }; then
12619 ac_cv_working_alloca_h=yes
12621 echo "$as_me: failed program was:" >&5
12622 sed 's/^/| /' conftest.$ac_ext >&5
12624 ac_cv_working_alloca_h=no
12626 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12628 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
12629 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
12630 if test $ac_cv_working_alloca_h = yes; then
12632 cat >>confdefs.h <<\_ACEOF
12633 #define HAVE_ALLOCA_H 1
12638 echo "$as_me:$LINENO: checking for alloca" >&5
12639 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
12640 if test "${ac_cv_func_alloca_works+set}" = set; then
12641 echo $ECHO_N "(cached) $ECHO_C" >&6
12643 cat >conftest.$ac_ext <<_ACEOF
12644 #line $LINENO "configure"
12647 cat confdefs.h >>conftest.$ac_ext
12648 cat >>conftest.$ac_ext <<_ACEOF
12649 /* end confdefs.h. */
12651 # define alloca __builtin_alloca
12654 # include <malloc.h>
12655 # define alloca _alloca
12658 # include <alloca.h>
12663 # ifndef alloca /* predefined by HP cc +Olibcalls */
12674 char *p = (char *) alloca (1);
12679 rm -f conftest.$ac_objext conftest$ac_exeext
12680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12681 (eval $ac_link) 2>&5
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); } &&
12685 { ac_try='test -s conftest$ac_exeext'
12686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12687 (eval $ac_try) 2>&5
12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690 (exit $ac_status); }; }; then
12691 ac_cv_func_alloca_works=yes
12693 echo "$as_me: failed program was:" >&5
12694 sed 's/^/| /' conftest.$ac_ext >&5
12696 ac_cv_func_alloca_works=no
12698 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12700 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
12701 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
12703 if test $ac_cv_func_alloca_works = yes; then
12705 cat >>confdefs.h <<\_ACEOF
12706 #define HAVE_ALLOCA 1
12710 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
12711 # that cause trouble. Some versions do not even contain alloca or
12712 # contain a buggy version. If you still want to use their alloca,
12713 # use ar to extract alloca.o from them instead of compiling alloca.c.
12715 ALLOCA=alloca.$ac_objext
12717 cat >>confdefs.h <<\_ACEOF
12722 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
12723 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
12724 if test "${ac_cv_os_cray+set}" = set; then
12725 echo $ECHO_N "(cached) $ECHO_C" >&6
12727 cat >conftest.$ac_ext <<_ACEOF
12728 #line $LINENO "configure"
12731 cat confdefs.h >>conftest.$ac_ext
12732 cat >>conftest.$ac_ext <<_ACEOF
12733 /* end confdefs.h. */
12734 #if defined(CRAY) && ! defined(CRAY2)
12741 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12742 $EGREP "webecray" >/dev/null 2>&1; then
12750 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
12751 echo "${ECHO_T}$ac_cv_os_cray" >&6
12752 if test $ac_cv_os_cray = yes; then
12753 for ac_func in _getb67 GETB67 getb67; do
12754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12755 echo "$as_me:$LINENO: checking for $ac_func" >&5
12756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12757 if eval "test \"\${$as_ac_var+set}\" = set"; then
12758 echo $ECHO_N "(cached) $ECHO_C" >&6
12760 cat >conftest.$ac_ext <<_ACEOF
12761 #line $LINENO "configure"
12764 cat confdefs.h >>conftest.$ac_ext
12765 cat >>conftest.$ac_ext <<_ACEOF
12766 /* end confdefs.h. */
12767 /* System header to define __stub macros and hopefully few prototypes,
12768 which can conflict with char $ac_func (); below.
12769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12770 <limits.h> exists even on freestanding compilers. */
12772 # include <limits.h>
12774 # include <assert.h>
12776 /* Override any gcc2 internal prototype to avoid an error. */
12781 /* We use char because int might match the return type of a gcc2
12782 builtin and then its argument prototype would still apply. */
12784 /* The GNU C library defines this for functions which it implements
12785 to always fail with ENOSYS. Some functions are actually named
12786 something starting with __ and the normal name is an alias. */
12787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12790 char (*f) () = $ac_func;
12799 return f != $ac_func;
12804 rm -f conftest.$ac_objext conftest$ac_exeext
12805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12806 (eval $ac_link) 2>&5
12808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12809 (exit $ac_status); } &&
12810 { ac_try='test -s conftest$ac_exeext'
12811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12812 (eval $ac_try) 2>&5
12814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12815 (exit $ac_status); }; }; then
12816 eval "$as_ac_var=yes"
12818 echo "$as_me: failed program was:" >&5
12819 sed 's/^/| /' conftest.$ac_ext >&5
12821 eval "$as_ac_var=no"
12823 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12827 if test `eval echo '${'$as_ac_var'}'` = yes; then
12829 cat >>confdefs.h <<_ACEOF
12830 #define CRAY_STACKSEG_END $ac_func
12839 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
12840 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
12841 if test "${ac_cv_c_stack_direction+set}" = set; then
12842 echo $ECHO_N "(cached) $ECHO_C" >&6
12844 if test "$cross_compiling" = yes; then
12845 ac_cv_c_stack_direction=0
12847 cat >conftest.$ac_ext <<_ACEOF
12848 #line $LINENO "configure"
12851 cat confdefs.h >>conftest.$ac_ext
12852 cat >>conftest.$ac_ext <<_ACEOF
12853 /* end confdefs.h. */
12855 find_stack_direction ()
12857 static char *addr = 0;
12862 return find_stack_direction ();
12865 return (&dummy > addr) ? 1 : -1;
12871 exit (find_stack_direction () < 0);
12874 rm -f conftest$ac_exeext
12875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12876 (eval $ac_link) 2>&5
12878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12879 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12881 (eval $ac_try) 2>&5
12883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12884 (exit $ac_status); }; }; then
12885 ac_cv_c_stack_direction=1
12887 echo "$as_me: program exited with status $ac_status" >&5
12888 echo "$as_me: failed program was:" >&5
12889 sed 's/^/| /' conftest.$ac_ext >&5
12891 ( exit $ac_status )
12892 ac_cv_c_stack_direction=-1
12894 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12897 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
12898 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
12900 cat >>confdefs.h <<_ACEOF
12901 #define STACK_DIRECTION $ac_cv_c_stack_direction
12995 pthread_getspecific \
12996 pthread_key_create \
12997 pthread_mutex_lock \
12998 pthread_mutex_unlock \
12999 pthread_setspecific \
13020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13021 echo "$as_me:$LINENO: checking for $ac_func" >&5
13022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13023 if eval "test \"\${$as_ac_var+set}\" = set"; then
13024 echo $ECHO_N "(cached) $ECHO_C" >&6
13026 cat >conftest.$ac_ext <<_ACEOF
13027 #line $LINENO "configure"
13030 cat confdefs.h >>conftest.$ac_ext
13031 cat >>conftest.$ac_ext <<_ACEOF
13032 /* end confdefs.h. */
13033 /* System header to define __stub macros and hopefully few prototypes,
13034 which can conflict with char $ac_func (); below.
13035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13036 <limits.h> exists even on freestanding compilers. */
13038 # include <limits.h>
13040 # include <assert.h>
13042 /* Override any gcc2 internal prototype to avoid an error. */
13047 /* We use char because int might match the return type of a gcc2
13048 builtin and then its argument prototype would still apply. */
13050 /* The GNU C library defines this for functions which it implements
13051 to always fail with ENOSYS. Some functions are actually named
13052 something starting with __ and the normal name is an alias. */
13053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13056 char (*f) () = $ac_func;
13065 return f != $ac_func;
13070 rm -f conftest.$ac_objext conftest$ac_exeext
13071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13072 (eval $ac_link) 2>&5
13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); } &&
13076 { ac_try='test -s conftest$ac_exeext'
13077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13078 (eval $ac_try) 2>&5
13080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13081 (exit $ac_status); }; }; then
13082 eval "$as_ac_var=yes"
13084 echo "$as_me: failed program was:" >&5
13085 sed 's/^/| /' conftest.$ac_ext >&5
13087 eval "$as_ac_var=no"
13089 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13093 if test `eval echo '${'$as_ac_var'}'` = yes; then
13094 cat >>confdefs.h <<_ACEOF
13095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13198 netinet/in_systm.h \
13245 valgrind/memcheck.h
13248 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13250 echo "$as_me:$LINENO: checking for $ac_header" >&5
13251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13253 echo $ECHO_N "(cached) $ECHO_C" >&6
13255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13258 # Is the header compilable?
13259 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13260 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13261 cat >conftest.$ac_ext <<_ACEOF
13262 #line $LINENO "configure"
13265 cat confdefs.h >>conftest.$ac_ext
13266 cat >>conftest.$ac_ext <<_ACEOF
13267 /* end confdefs.h. */
13268 $ac_includes_default
13269 #include <$ac_header>
13271 rm -f conftest.$ac_objext
13272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13273 (eval $ac_compile) 2>&5
13275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13276 (exit $ac_status); } &&
13277 { ac_try='test -s conftest.$ac_objext'
13278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13279 (eval $ac_try) 2>&5
13281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13282 (exit $ac_status); }; }; then
13283 ac_header_compiler=yes
13285 echo "$as_me: failed program was:" >&5
13286 sed 's/^/| /' conftest.$ac_ext >&5
13288 ac_header_compiler=no
13290 rm -f conftest.$ac_objext conftest.$ac_ext
13291 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13292 echo "${ECHO_T}$ac_header_compiler" >&6
13294 # Is the header present?
13295 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13296 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13297 cat >conftest.$ac_ext <<_ACEOF
13298 #line $LINENO "configure"
13301 cat confdefs.h >>conftest.$ac_ext
13302 cat >>conftest.$ac_ext <<_ACEOF
13303 /* end confdefs.h. */
13304 #include <$ac_header>
13306 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13307 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13309 grep -v '^ *+' conftest.er1 >conftest.err
13311 cat conftest.err >&5
13312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13313 (exit $ac_status); } >/dev/null; then
13314 if test -s conftest.err; then
13315 ac_cpp_err=$ac_c_preproc_warn_flag
13322 if test -z "$ac_cpp_err"; then
13323 ac_header_preproc=yes
13325 echo "$as_me: failed program was:" >&5
13326 sed 's/^/| /' conftest.$ac_ext >&5
13328 ac_header_preproc=no
13330 rm -f conftest.err conftest.$ac_ext
13331 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13332 echo "${ECHO_T}$ac_header_preproc" >&6
13334 # So? What about this header?
13335 case $ac_header_compiler:$ac_header_preproc in
13337 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13338 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13339 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13340 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13343 ## ------------------------------------ ##
13344 ## Report this to bug-autoconf@gnu.org. ##
13345 ## ------------------------------------ ##
13348 sed "s/^/$as_me: WARNING: /" >&2
13351 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13352 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13353 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13354 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13356 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13359 ## ------------------------------------ ##
13360 ## Report this to bug-autoconf@gnu.org. ##
13361 ## ------------------------------------ ##
13364 sed "s/^/$as_me: WARNING: /" >&2
13367 echo "$as_me:$LINENO: checking for $ac_header" >&5
13368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13370 echo $ECHO_N "(cached) $ECHO_C" >&6
13372 eval "$as_ac_Header=$ac_header_preproc"
13374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13378 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13379 cat >>confdefs.h <<_ACEOF
13380 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13387 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
13388 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
13389 if test "${ac_cv_header_stat_broken+set}" = set; then
13390 echo $ECHO_N "(cached) $ECHO_C" >&6
13392 cat >conftest.$ac_ext <<_ACEOF
13393 #line $LINENO "configure"
13396 cat confdefs.h >>conftest.$ac_ext
13397 cat >>conftest.$ac_ext <<_ACEOF
13398 /* end confdefs.h. */
13399 #include <sys/types.h>
13400 #include <sys/stat.h>
13402 #if defined(S_ISBLK) && defined(S_IFDIR)
13403 # if S_ISBLK (S_IFDIR)
13408 #if defined(S_ISBLK) && defined(S_IFCHR)
13409 # if S_ISBLK (S_IFCHR)
13414 #if defined(S_ISLNK) && defined(S_IFREG)
13415 # if S_ISLNK (S_IFREG)
13420 #if defined(S_ISSOCK) && defined(S_IFREG)
13421 # if S_ISSOCK (S_IFREG)
13427 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13428 $EGREP "You lose" >/dev/null 2>&1; then
13429 ac_cv_header_stat_broken=yes
13431 ac_cv_header_stat_broken=no
13436 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
13437 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
13438 if test $ac_cv_header_stat_broken = yes; then
13440 cat >>confdefs.h <<\_ACEOF
13441 #define STAT_MACROS_BROKEN 1
13450 for ac_header in sys/mount.h sys/user.h
13452 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13453 echo "$as_me:$LINENO: checking for $ac_header" >&5
13454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13456 echo $ECHO_N "(cached) $ECHO_C" >&6
13458 cat >conftest.$ac_ext <<_ACEOF
13459 #line $LINENO "configure"
13462 cat confdefs.h >>conftest.$ac_ext
13463 cat >>conftest.$ac_ext <<_ACEOF
13464 /* end confdefs.h. */
13465 #include <sys/types.h>
13466 #if HAVE_SYS_PARAM_H
13467 # include <sys/param.h>
13470 #include <$ac_header>
13472 rm -f conftest.$ac_objext
13473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13474 (eval $ac_compile) 2>&5
13476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13477 (exit $ac_status); } &&
13478 { ac_try='test -s conftest.$ac_objext'
13479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13480 (eval $ac_try) 2>&5
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); }; }; then
13484 eval "$as_ac_Header=yes"
13486 echo "$as_me: failed program was:" >&5
13487 sed 's/^/| /' conftest.$ac_ext >&5
13489 eval "$as_ac_Header=no"
13491 rm -f conftest.$ac_objext conftest.$ac_ext
13493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13495 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13496 cat >>confdefs.h <<_ACEOF
13497 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13506 for ac_header in net/if.h
13508 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13509 echo "$as_me:$LINENO: checking for $ac_header" >&5
13510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13512 echo $ECHO_N "(cached) $ECHO_C" >&6
13514 cat >conftest.$ac_ext <<_ACEOF
13515 #line $LINENO "configure"
13518 cat confdefs.h >>conftest.$ac_ext
13519 cat >>conftest.$ac_ext <<_ACEOF
13520 /* end confdefs.h. */
13521 #include <sys/types.h>
13522 #if HAVE_SYS_SOCKET_H
13523 # include <sys/socket.h>
13526 #include <$ac_header>
13528 rm -f conftest.$ac_objext
13529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13530 (eval $ac_compile) 2>&5
13532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13533 (exit $ac_status); } &&
13534 { ac_try='test -s conftest.$ac_objext'
13535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13536 (eval $ac_try) 2>&5
13538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13539 (exit $ac_status); }; }; then
13540 eval "$as_ac_Header=yes"
13542 echo "$as_me: failed program was:" >&5
13543 sed 's/^/| /' conftest.$ac_ext >&5
13545 eval "$as_ac_Header=no"
13547 rm -f conftest.$ac_objext conftest.$ac_ext
13549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13550 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13552 cat >>confdefs.h <<_ACEOF
13553 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13562 for ac_header in netinet/ip.h
13564 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13565 echo "$as_me:$LINENO: checking for $ac_header" >&5
13566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13568 echo $ECHO_N "(cached) $ECHO_C" >&6
13570 cat >conftest.$ac_ext <<_ACEOF
13571 #line $LINENO "configure"
13574 cat confdefs.h >>conftest.$ac_ext
13575 cat >>conftest.$ac_ext <<_ACEOF
13576 /* end confdefs.h. */
13577 #include <sys/types.h>
13578 #if HAVE_SYS_SOCKET_H
13579 # include <sys/socket.h>
13581 #if HAVE_NETINET_IN_SYSTM_H
13582 # include <netinet/in_systm.h>
13585 #include <$ac_header>
13587 rm -f conftest.$ac_objext
13588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13589 (eval $ac_compile) 2>&5
13591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13592 (exit $ac_status); } &&
13593 { ac_try='test -s conftest.$ac_objext'
13594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13595 (eval $ac_try) 2>&5
13597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13598 (exit $ac_status); }; }; then
13599 eval "$as_ac_Header=yes"
13601 echo "$as_me: failed program was:" >&5
13602 sed 's/^/| /' conftest.$ac_ext >&5
13604 eval "$as_ac_Header=no"
13606 rm -f conftest.$ac_objext conftest.$ac_ext
13608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13610 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13611 cat >>confdefs.h <<_ACEOF
13612 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13621 for ac_header in resolv.h
13623 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13624 echo "$as_me:$LINENO: checking for $ac_header" >&5
13625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13627 echo $ECHO_N "(cached) $ECHO_C" >&6
13629 cat >conftest.$ac_ext <<_ACEOF
13630 #line $LINENO "configure"
13633 cat confdefs.h >>conftest.$ac_ext
13634 cat >>conftest.$ac_ext <<_ACEOF
13635 /* end confdefs.h. */
13636 #include <sys/types.h>
13637 #if HAVE_SYS_SOCKET_H
13638 # include <sys/socket.h>
13641 #include <$ac_header>
13643 rm -f conftest.$ac_objext
13644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13645 (eval $ac_compile) 2>&5
13647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13648 (exit $ac_status); } &&
13649 { ac_try='test -s conftest.$ac_objext'
13650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13651 (eval $ac_try) 2>&5
13653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13654 (exit $ac_status); }; }; then
13655 eval "$as_ac_Header=yes"
13657 echo "$as_me: failed program was:" >&5
13658 sed 's/^/| /' conftest.$ac_ext >&5
13660 eval "$as_ac_Header=no"
13662 rm -f conftest.$ac_objext conftest.$ac_ext
13664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13667 cat >>confdefs.h <<_ACEOF
13668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13677 for ac_header in ucontext.h
13679 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13680 echo "$as_me:$LINENO: checking for $ac_header" >&5
13681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13683 echo $ECHO_N "(cached) $ECHO_C" >&6
13685 cat >conftest.$ac_ext <<_ACEOF
13686 #line $LINENO "configure"
13689 cat confdefs.h >>conftest.$ac_ext
13690 cat >>conftest.$ac_ext <<_ACEOF
13691 /* end confdefs.h. */
13692 #include <signal.h>
13694 #include <$ac_header>
13696 rm -f conftest.$ac_objext
13697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13698 (eval $ac_compile) 2>&5
13700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13701 (exit $ac_status); } &&
13702 { ac_try='test -s conftest.$ac_objext'
13703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13704 (eval $ac_try) 2>&5
13706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13707 (exit $ac_status); }; }; then
13708 eval "$as_ac_Header=yes"
13710 echo "$as_me: failed program was:" >&5
13711 sed 's/^/| /' conftest.$ac_ext >&5
13713 eval "$as_ac_Header=no"
13715 rm -f conftest.$ac_objext conftest.$ac_ext
13717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13720 cat >>confdefs.h <<_ACEOF
13721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13730 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
13731 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
13732 if test "${ac_cv_c_ipx_gnu+set}" = set; then
13733 echo $ECHO_N "(cached) $ECHO_C" >&6
13735 cat >conftest.$ac_ext <<_ACEOF
13736 #line $LINENO "configure"
13739 cat confdefs.h >>conftest.$ac_ext
13740 cat >>conftest.$ac_ext <<_ACEOF
13741 /* end confdefs.h. */
13742 #include <sys/types.h>
13743 #ifdef HAVE_SYS_SOCKET_H
13744 # include <sys/socket.h>
13746 #include <netipx/ipx.h>
13750 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
13755 rm -f conftest.$ac_objext
13756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13757 (eval $ac_compile) 2>&5
13759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13760 (exit $ac_status); } &&
13761 { ac_try='test -s conftest.$ac_objext'
13762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13763 (eval $ac_try) 2>&5
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); }; }; then
13767 ac_cv_c_ipx_gnu="yes"
13769 echo "$as_me: failed program was:" >&5
13770 sed 's/^/| /' conftest.$ac_ext >&5
13772 ac_cv_c_ipx_gnu="no"
13774 rm -f conftest.$ac_objext conftest.$ac_ext
13777 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
13778 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
13779 if test "$ac_cv_c_ipx_gnu" = "yes"
13782 cat >>confdefs.h <<\_ACEOF
13783 #define HAVE_IPX_GNU 1
13788 if test "$ac_cv_c_ipx_gnu" = "no"
13790 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
13791 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
13792 if test "${ac_cv_c_ipx_linux+set}" = set; then
13793 echo $ECHO_N "(cached) $ECHO_C" >&6
13795 cat >conftest.$ac_ext <<_ACEOF
13796 #line $LINENO "configure"
13799 cat confdefs.h >>conftest.$ac_ext
13800 cat >>conftest.$ac_ext <<_ACEOF
13801 /* end confdefs.h. */
13802 #include <sys/types.h>
13803 #ifdef HAVE_SYS_SOCKET_H
13804 # include <sys/socket.h>
13806 #include <asm/types.h>
13807 #include <linux/ipx.h>
13811 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
13816 rm -f conftest.$ac_objext
13817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13818 (eval $ac_compile) 2>&5
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); } &&
13822 { ac_try='test -s conftest.$ac_objext'
13823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13824 (eval $ac_try) 2>&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); }; }; then
13828 ac_cv_c_ipx_linux="yes"
13830 echo "$as_me: failed program was:" >&5
13831 sed 's/^/| /' conftest.$ac_ext >&5
13833 ac_cv_c_ipx_linux="no"
13835 rm -f conftest.$ac_objext conftest.$ac_ext
13838 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
13839 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
13840 if test "$ac_cv_c_ipx_linux" = "yes"
13843 cat >>confdefs.h <<\_ACEOF
13844 #define HAVE_IPX_LINUX 1
13851 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13852 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13853 if test "${ac_cv_c_const+set}" = set; then
13854 echo $ECHO_N "(cached) $ECHO_C" >&6
13856 cat >conftest.$ac_ext <<_ACEOF
13857 #line $LINENO "configure"
13860 cat confdefs.h >>conftest.$ac_ext
13861 cat >>conftest.$ac_ext <<_ACEOF
13862 /* end confdefs.h. */
13867 /* FIXME: Include the comments suggested by Paul. */
13868 #ifndef __cplusplus
13869 /* Ultrix mips cc rejects this. */
13870 typedef int charset[2];
13872 /* SunOS 4.1.1 cc rejects this. */
13873 char const *const *ccp;
13875 /* NEC SVR4.0.2 mips cc rejects this. */
13876 struct point {int x, y;};
13877 static struct point const zero = {0,0};
13878 /* AIX XL C 1.02.0.0 rejects this.
13879 It does not let you subtract one const X* pointer from another in
13880 an arm of an if-expression whose if-part is not a constant
13882 const char *g = "string";
13883 ccp = &g + (g ? g-g : 0);
13884 /* HPUX 7.0 cc rejects these. */
13887 ccp = (char const *const *) p;
13888 { /* SCO 3.2v4 cc rejects this. */
13890 char const *s = 0 ? (char *) 0 : (char const *) 0;
13894 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13895 int x[] = {25, 17};
13896 const int *foo = &x[0];
13899 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13900 typedef const int *iptr;
13904 { /* AIX XL C 1.02.0.0 rejects this saying
13905 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13906 struct s { int j; const int *ap[3]; };
13907 struct s *b; b->j = 5;
13909 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13910 const int foo = 10;
13918 rm -f conftest.$ac_objext
13919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13920 (eval $ac_compile) 2>&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); } &&
13924 { ac_try='test -s conftest.$ac_objext'
13925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13926 (eval $ac_try) 2>&5
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 (exit $ac_status); }; }; then
13932 echo "$as_me: failed program was:" >&5
13933 sed 's/^/| /' conftest.$ac_ext >&5
13937 rm -f conftest.$ac_objext conftest.$ac_ext
13939 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13940 echo "${ECHO_T}$ac_cv_c_const" >&6
13941 if test $ac_cv_c_const = no; then
13943 cat >>confdefs.h <<\_ACEOF
13949 echo "$as_me:$LINENO: checking for inline" >&5
13950 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13951 if test "${ac_cv_c_inline+set}" = set; then
13952 echo $ECHO_N "(cached) $ECHO_C" >&6
13955 for ac_kw in inline __inline__ __inline; do
13956 cat >conftest.$ac_ext <<_ACEOF
13957 #line $LINENO "configure"
13960 cat confdefs.h >>conftest.$ac_ext
13961 cat >>conftest.$ac_ext <<_ACEOF
13962 /* end confdefs.h. */
13963 #ifndef __cplusplus
13965 static $ac_kw foo_t static_foo () {return 0; }
13966 $ac_kw foo_t foo () {return 0; }
13970 rm -f conftest.$ac_objext
13971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13972 (eval $ac_compile) 2>&5
13974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13975 (exit $ac_status); } &&
13976 { ac_try='test -s conftest.$ac_objext'
13977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13978 (eval $ac_try) 2>&5
13980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13981 (exit $ac_status); }; }; then
13982 ac_cv_c_inline=$ac_kw; break
13984 echo "$as_me: failed program was:" >&5
13985 sed 's/^/| /' conftest.$ac_ext >&5
13988 rm -f conftest.$ac_objext conftest.$ac_ext
13992 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13993 echo "${ECHO_T}$ac_cv_c_inline" >&6
13994 case $ac_cv_c_inline in
13997 cat >>confdefs.h <<\_ACEOF
14001 *) cat >>confdefs.h <<_ACEOF
14002 #define inline $ac_cv_c_inline
14007 echo "$as_me:$LINENO: checking for mode_t" >&5
14008 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
14009 if test "${ac_cv_type_mode_t+set}" = set; then
14010 echo $ECHO_N "(cached) $ECHO_C" >&6
14012 cat >conftest.$ac_ext <<_ACEOF
14013 #line $LINENO "configure"
14016 cat confdefs.h >>conftest.$ac_ext
14017 cat >>conftest.$ac_ext <<_ACEOF
14018 /* end confdefs.h. */
14019 $ac_includes_default
14025 if (sizeof (mode_t))
14031 rm -f conftest.$ac_objext
14032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14033 (eval $ac_compile) 2>&5
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); } &&
14037 { ac_try='test -s conftest.$ac_objext'
14038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14039 (eval $ac_try) 2>&5
14041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14042 (exit $ac_status); }; }; then
14043 ac_cv_type_mode_t=yes
14045 echo "$as_me: failed program was:" >&5
14046 sed 's/^/| /' conftest.$ac_ext >&5
14048 ac_cv_type_mode_t=no
14050 rm -f conftest.$ac_objext conftest.$ac_ext
14052 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
14053 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
14054 if test $ac_cv_type_mode_t = yes; then
14056 cat >>confdefs.h <<_ACEOF
14057 #define HAVE_MODE_T 1
14062 echo "$as_me:$LINENO: checking for off_t" >&5
14063 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
14064 if test "${ac_cv_type_off_t+set}" = set; then
14065 echo $ECHO_N "(cached) $ECHO_C" >&6
14067 cat >conftest.$ac_ext <<_ACEOF
14068 #line $LINENO "configure"
14071 cat confdefs.h >>conftest.$ac_ext
14072 cat >>conftest.$ac_ext <<_ACEOF
14073 /* end confdefs.h. */
14074 $ac_includes_default
14080 if (sizeof (off_t))
14086 rm -f conftest.$ac_objext
14087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14088 (eval $ac_compile) 2>&5
14090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14091 (exit $ac_status); } &&
14092 { ac_try='test -s conftest.$ac_objext'
14093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14094 (eval $ac_try) 2>&5
14096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14097 (exit $ac_status); }; }; then
14098 ac_cv_type_off_t=yes
14100 echo "$as_me: failed program was:" >&5
14101 sed 's/^/| /' conftest.$ac_ext >&5
14103 ac_cv_type_off_t=no
14105 rm -f conftest.$ac_objext conftest.$ac_ext
14107 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
14108 echo "${ECHO_T}$ac_cv_type_off_t" >&6
14109 if test $ac_cv_type_off_t = yes; then
14111 cat >>confdefs.h <<_ACEOF
14112 #define HAVE_OFF_T 1
14117 echo "$as_me:$LINENO: checking for pid_t" >&5
14118 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
14119 if test "${ac_cv_type_pid_t+set}" = set; then
14120 echo $ECHO_N "(cached) $ECHO_C" >&6
14122 cat >conftest.$ac_ext <<_ACEOF
14123 #line $LINENO "configure"
14126 cat confdefs.h >>conftest.$ac_ext
14127 cat >>conftest.$ac_ext <<_ACEOF
14128 /* end confdefs.h. */
14129 $ac_includes_default
14135 if (sizeof (pid_t))
14141 rm -f conftest.$ac_objext
14142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14143 (eval $ac_compile) 2>&5
14145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14146 (exit $ac_status); } &&
14147 { ac_try='test -s conftest.$ac_objext'
14148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14149 (eval $ac_try) 2>&5
14151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152 (exit $ac_status); }; }; then
14153 ac_cv_type_pid_t=yes
14155 echo "$as_me: failed program was:" >&5
14156 sed 's/^/| /' conftest.$ac_ext >&5
14158 ac_cv_type_pid_t=no
14160 rm -f conftest.$ac_objext conftest.$ac_ext
14162 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
14163 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
14164 if test $ac_cv_type_pid_t = yes; then
14166 cat >>confdefs.h <<_ACEOF
14167 #define HAVE_PID_T 1
14172 echo "$as_me:$LINENO: checking for size_t" >&5
14173 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
14174 if test "${ac_cv_type_size_t+set}" = set; then
14175 echo $ECHO_N "(cached) $ECHO_C" >&6
14177 cat >conftest.$ac_ext <<_ACEOF
14178 #line $LINENO "configure"
14181 cat confdefs.h >>conftest.$ac_ext
14182 cat >>conftest.$ac_ext <<_ACEOF
14183 /* end confdefs.h. */
14184 $ac_includes_default
14190 if (sizeof (size_t))
14196 rm -f conftest.$ac_objext
14197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14198 (eval $ac_compile) 2>&5
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); } &&
14202 { ac_try='test -s conftest.$ac_objext'
14203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14204 (eval $ac_try) 2>&5
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); }; }; then
14208 ac_cv_type_size_t=yes
14210 echo "$as_me: failed program was:" >&5
14211 sed 's/^/| /' conftest.$ac_ext >&5
14213 ac_cv_type_size_t=no
14215 rm -f conftest.$ac_objext conftest.$ac_ext
14217 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
14218 echo "${ECHO_T}$ac_cv_type_size_t" >&6
14219 if test $ac_cv_type_size_t = yes; then
14221 cat >>confdefs.h <<_ACEOF
14222 #define HAVE_SIZE_T 1
14227 echo "$as_me:$LINENO: checking for ssize_t" >&5
14228 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
14229 if test "${ac_cv_type_ssize_t+set}" = set; then
14230 echo $ECHO_N "(cached) $ECHO_C" >&6
14232 cat >conftest.$ac_ext <<_ACEOF
14233 #line $LINENO "configure"
14236 cat confdefs.h >>conftest.$ac_ext
14237 cat >>conftest.$ac_ext <<_ACEOF
14238 /* end confdefs.h. */
14239 $ac_includes_default
14245 if (sizeof (ssize_t))
14251 rm -f conftest.$ac_objext
14252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14253 (eval $ac_compile) 2>&5
14255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14256 (exit $ac_status); } &&
14257 { ac_try='test -s conftest.$ac_objext'
14258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14259 (eval $ac_try) 2>&5
14261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14262 (exit $ac_status); }; }; then
14263 ac_cv_type_ssize_t=yes
14265 echo "$as_me: failed program was:" >&5
14266 sed 's/^/| /' conftest.$ac_ext >&5
14268 ac_cv_type_ssize_t=no
14270 rm -f conftest.$ac_objext conftest.$ac_ext
14272 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
14273 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
14274 if test $ac_cv_type_ssize_t = yes; then
14276 cat >>confdefs.h <<_ACEOF
14277 #define HAVE_SSIZE_T 1
14283 echo "$as_me:$LINENO: checking for long long" >&5
14284 echo $ECHO_N "checking for long long... $ECHO_C" >&6
14285 if test "${ac_cv_type_long_long+set}" = set; then
14286 echo $ECHO_N "(cached) $ECHO_C" >&6
14288 cat >conftest.$ac_ext <<_ACEOF
14289 #line $LINENO "configure"
14292 cat confdefs.h >>conftest.$ac_ext
14293 cat >>conftest.$ac_ext <<_ACEOF
14294 /* end confdefs.h. */
14295 $ac_includes_default
14299 if ((long long *) 0)
14301 if (sizeof (long long))
14307 rm -f conftest.$ac_objext
14308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14309 (eval $ac_compile) 2>&5
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); } &&
14313 { ac_try='test -s conftest.$ac_objext'
14314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14315 (eval $ac_try) 2>&5
14317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14318 (exit $ac_status); }; }; then
14319 ac_cv_type_long_long=yes
14321 echo "$as_me: failed program was:" >&5
14322 sed 's/^/| /' conftest.$ac_ext >&5
14324 ac_cv_type_long_long=no
14326 rm -f conftest.$ac_objext conftest.$ac_ext
14328 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
14329 echo "${ECHO_T}$ac_cv_type_long_long" >&6
14331 echo "$as_me:$LINENO: checking size of long long" >&5
14332 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
14333 if test "${ac_cv_sizeof_long_long+set}" = set; then
14334 echo $ECHO_N "(cached) $ECHO_C" >&6
14336 if test "$ac_cv_type_long_long" = yes; then
14337 # The cast to unsigned long works around a bug in the HP C Compiler
14338 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14339 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14340 # This bug is HP SR number 8606223364.
14341 if test "$cross_compiling" = yes; then
14342 # Depending upon the size, compute the lo and hi bounds.
14343 cat >conftest.$ac_ext <<_ACEOF
14344 #line $LINENO "configure"
14347 cat confdefs.h >>conftest.$ac_ext
14348 cat >>conftest.$ac_ext <<_ACEOF
14349 /* end confdefs.h. */
14350 $ac_includes_default
14354 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
14361 rm -f conftest.$ac_objext
14362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14363 (eval $ac_compile) 2>&5
14365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366 (exit $ac_status); } &&
14367 { ac_try='test -s conftest.$ac_objext'
14368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14369 (eval $ac_try) 2>&5
14371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372 (exit $ac_status); }; }; then
14375 cat >conftest.$ac_ext <<_ACEOF
14376 #line $LINENO "configure"
14379 cat confdefs.h >>conftest.$ac_ext
14380 cat >>conftest.$ac_ext <<_ACEOF
14381 /* end confdefs.h. */
14382 $ac_includes_default
14386 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
14393 rm -f conftest.$ac_objext
14394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14395 (eval $ac_compile) 2>&5
14397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); } &&
14399 { ac_try='test -s conftest.$ac_objext'
14400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14401 (eval $ac_try) 2>&5
14403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14404 (exit $ac_status); }; }; then
14405 ac_hi=$ac_mid; break
14407 echo "$as_me: failed program was:" >&5
14408 sed 's/^/| /' conftest.$ac_ext >&5
14410 ac_lo=`expr $ac_mid + 1`
14411 if test $ac_lo -le $ac_mid; then
14415 ac_mid=`expr 2 '*' $ac_mid + 1`
14417 rm -f conftest.$ac_objext conftest.$ac_ext
14420 echo "$as_me: failed program was:" >&5
14421 sed 's/^/| /' conftest.$ac_ext >&5
14423 cat >conftest.$ac_ext <<_ACEOF
14424 #line $LINENO "configure"
14427 cat confdefs.h >>conftest.$ac_ext
14428 cat >>conftest.$ac_ext <<_ACEOF
14429 /* end confdefs.h. */
14430 $ac_includes_default
14434 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
14441 rm -f conftest.$ac_objext
14442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14443 (eval $ac_compile) 2>&5
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); } &&
14447 { ac_try='test -s conftest.$ac_objext'
14448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14449 (eval $ac_try) 2>&5
14451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14452 (exit $ac_status); }; }; then
14455 cat >conftest.$ac_ext <<_ACEOF
14456 #line $LINENO "configure"
14459 cat confdefs.h >>conftest.$ac_ext
14460 cat >>conftest.$ac_ext <<_ACEOF
14461 /* end confdefs.h. */
14462 $ac_includes_default
14466 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
14473 rm -f conftest.$ac_objext
14474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14475 (eval $ac_compile) 2>&5
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); } &&
14479 { ac_try='test -s conftest.$ac_objext'
14480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14481 (eval $ac_try) 2>&5
14483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14484 (exit $ac_status); }; }; then
14485 ac_lo=$ac_mid; break
14487 echo "$as_me: failed program was:" >&5
14488 sed 's/^/| /' conftest.$ac_ext >&5
14490 ac_hi=`expr '(' $ac_mid ')' - 1`
14491 if test $ac_mid -le $ac_hi; then
14495 ac_mid=`expr 2 '*' $ac_mid`
14497 rm -f conftest.$ac_objext conftest.$ac_ext
14500 echo "$as_me: failed program was:" >&5
14501 sed 's/^/| /' conftest.$ac_ext >&5
14505 rm -f conftest.$ac_objext conftest.$ac_ext
14507 rm -f conftest.$ac_objext conftest.$ac_ext
14508 # Binary search between lo and hi bounds.
14509 while test "x$ac_lo" != "x$ac_hi"; do
14510 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14511 cat >conftest.$ac_ext <<_ACEOF
14512 #line $LINENO "configure"
14515 cat confdefs.h >>conftest.$ac_ext
14516 cat >>conftest.$ac_ext <<_ACEOF
14517 /* end confdefs.h. */
14518 $ac_includes_default
14522 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
14529 rm -f conftest.$ac_objext
14530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14531 (eval $ac_compile) 2>&5
14533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14534 (exit $ac_status); } &&
14535 { ac_try='test -s conftest.$ac_objext'
14536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14537 (eval $ac_try) 2>&5
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); }; }; then
14543 echo "$as_me: failed program was:" >&5
14544 sed 's/^/| /' conftest.$ac_ext >&5
14546 ac_lo=`expr '(' $ac_mid ')' + 1`
14548 rm -f conftest.$ac_objext conftest.$ac_ext
14551 ?*) ac_cv_sizeof_long_long=$ac_lo;;
14552 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
14553 See \`config.log' for more details." >&5
14554 echo "$as_me: error: cannot compute sizeof (long long), 77
14555 See \`config.log' for more details." >&2;}
14556 { (exit 1); exit 1; }; } ;;
14559 if test "$cross_compiling" = yes; then
14560 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14561 See \`config.log' for more details." >&5
14562 echo "$as_me: error: cannot run test program while cross compiling
14563 See \`config.log' for more details." >&2;}
14564 { (exit 1); exit 1; }; }
14566 cat >conftest.$ac_ext <<_ACEOF
14567 #line $LINENO "configure"
14570 cat confdefs.h >>conftest.$ac_ext
14571 cat >>conftest.$ac_ext <<_ACEOF
14572 /* end confdefs.h. */
14573 $ac_includes_default
14574 long longval () { return (long) (sizeof (long long)); }
14575 unsigned long ulongval () { return (long) (sizeof (long long)); }
14577 #include <stdlib.h>
14582 FILE *f = fopen ("conftest.val", "w");
14585 if (((long) (sizeof (long long))) < 0)
14587 long i = longval ();
14588 if (i != ((long) (sizeof (long long))))
14590 fprintf (f, "%ld\n", i);
14594 unsigned long i = ulongval ();
14595 if (i != ((long) (sizeof (long long))))
14597 fprintf (f, "%lu\n", i);
14599 exit (ferror (f) || fclose (f) != 0);
14605 rm -f conftest$ac_exeext
14606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14607 (eval $ac_link) 2>&5
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14612 (eval $ac_try) 2>&5
14614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14615 (exit $ac_status); }; }; then
14616 ac_cv_sizeof_long_long=`cat conftest.val`
14618 echo "$as_me: program exited with status $ac_status" >&5
14619 echo "$as_me: failed program was:" >&5
14620 sed 's/^/| /' conftest.$ac_ext >&5
14622 ( exit $ac_status )
14623 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
14624 See \`config.log' for more details." >&5
14625 echo "$as_me: error: cannot compute sizeof (long long), 77
14626 See \`config.log' for more details." >&2;}
14627 { (exit 1); exit 1; }; }
14629 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14634 ac_cv_sizeof_long_long=0
14637 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
14638 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
14639 cat >>confdefs.h <<_ACEOF
14640 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14645 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
14646 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
14647 if test "${wine_cv_linux_input_h+set}" = set; then
14648 echo $ECHO_N "(cached) $ECHO_C" >&6
14650 cat >conftest.$ac_ext <<_ACEOF
14651 #line $LINENO "configure"
14654 cat confdefs.h >>conftest.$ac_ext
14655 cat >>conftest.$ac_ext <<_ACEOF
14656 /* end confdefs.h. */
14658 #include <linux/input.h>
14664 int foo = EVIOCGBIT(EV_ABS,42);
14665 int bar = BTN_PINKIE;
14672 rm -f conftest.$ac_objext
14673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14674 (eval $ac_compile) 2>&5
14676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677 (exit $ac_status); } &&
14678 { ac_try='test -s conftest.$ac_objext'
14679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14680 (eval $ac_try) 2>&5
14682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14683 (exit $ac_status); }; }; then
14684 wine_cv_linux_input_h=yes
14686 echo "$as_me: failed program was:" >&5
14687 sed 's/^/| /' conftest.$ac_ext >&5
14689 wine_cv_linux_input_h=no
14691 rm -f conftest.$ac_objext conftest.$ac_ext
14694 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
14695 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
14696 if test "$wine_cv_linux_input_h" = "yes"
14699 cat >>confdefs.h <<\_ACEOF
14700 #define HAVE_CORRECT_LINUXINPUT_H 1
14706 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14707 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
14708 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
14709 echo $ECHO_N "(cached) $ECHO_C" >&6
14711 cat >conftest.$ac_ext <<_ACEOF
14712 #line $LINENO "configure"
14715 cat confdefs.h >>conftest.$ac_ext
14716 cat >>conftest.$ac_ext <<_ACEOF
14717 /* end confdefs.h. */
14727 struct hostent *result;
14734 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14735 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14741 rm -f conftest.$ac_objext
14742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14743 (eval $ac_compile) 2>&5
14745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 (exit $ac_status); } &&
14747 { ac_try='test -s conftest.$ac_objext'
14748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14749 (eval $ac_try) 2>&5
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); }; }; then
14753 wine_cv_linux_gethostbyname_r_6=yes
14755 echo "$as_me: failed program was:" >&5
14756 sed 's/^/| /' conftest.$ac_ext >&5
14758 wine_cv_linux_gethostbyname_r_6=no
14761 rm -f conftest.$ac_objext conftest.$ac_ext
14764 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
14765 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
14766 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14769 cat >>confdefs.h <<\_ACEOF
14770 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
14775 if test "$ac_cv_header_linux_joystick_h" = "yes"
14777 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14778 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
14779 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
14780 echo $ECHO_N "(cached) $ECHO_C" >&6
14782 cat >conftest.$ac_ext <<_ACEOF
14783 #line $LINENO "configure"
14786 cat confdefs.h >>conftest.$ac_ext
14787 cat >>conftest.$ac_ext <<_ACEOF
14788 /* end confdefs.h. */
14790 #include <sys/ioctl.h>
14791 #include <linux/joystick.h>
14793 struct js_event blub;
14794 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14795 #error "no 2.2 header"
14806 rm -f conftest.$ac_objext
14807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14808 (eval $ac_compile) 2>&5
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); } &&
14812 { ac_try='test -s conftest.$ac_objext'
14813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14814 (eval $ac_try) 2>&5
14816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14817 (exit $ac_status); }; }; then
14818 wine_cv_linux_joystick_22_api=yes
14820 echo "$as_me: failed program was:" >&5
14821 sed 's/^/| /' conftest.$ac_ext >&5
14823 wine_cv_linux_joystick_22_api=no
14825 rm -f conftest.$ac_objext conftest.$ac_ext
14828 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
14829 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
14830 if test "$wine_cv_linux_joystick_22_api" = "yes"
14833 cat >>confdefs.h <<\_ACEOF
14834 #define HAVE_LINUX_22_JOYSTICK_API 1
14841 if test "$ac_cv_header_sys_vfs_h" = "yes"
14843 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
14844 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
14845 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
14846 echo $ECHO_N "(cached) $ECHO_C" >&6
14848 cat >conftest.$ac_ext <<_ACEOF
14849 #line $LINENO "configure"
14852 cat confdefs.h >>conftest.$ac_ext
14853 cat >>conftest.$ac_ext <<_ACEOF
14854 /* end confdefs.h. */
14856 #include <sys/types.h>
14857 #ifdef HAVE_SYS_PARAM_H
14858 # include <sys/param.h>
14860 #include <sys/vfs.h>
14866 struct statfs stfs;
14868 memset(&stfs,0,sizeof(stfs));
14874 rm -f conftest.$ac_objext
14875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14876 (eval $ac_compile) 2>&5
14878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); } &&
14880 { ac_try='test -s conftest.$ac_objext'
14881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14882 (eval $ac_try) 2>&5
14884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14885 (exit $ac_status); }; }; then
14886 wine_cv_sys_vfs_has_statfs=yes
14888 echo "$as_me: failed program was:" >&5
14889 sed 's/^/| /' conftest.$ac_ext >&5
14891 wine_cv_sys_vfs_has_statfs=no
14894 rm -f conftest.$ac_objext conftest.$ac_ext
14897 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
14898 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
14899 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
14902 cat >>confdefs.h <<\_ACEOF
14903 #define STATFS_DEFINED_BY_SYS_VFS 1
14909 if test "$ac_cv_header_sys_statfs_h" = "yes"
14911 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
14912 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
14913 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
14914 echo $ECHO_N "(cached) $ECHO_C" >&6
14916 cat >conftest.$ac_ext <<_ACEOF
14917 #line $LINENO "configure"
14920 cat confdefs.h >>conftest.$ac_ext
14921 cat >>conftest.$ac_ext <<_ACEOF
14922 /* end confdefs.h. */
14924 #include <sys/types.h>
14925 #ifdef HAVE_SYS_PARAM_H
14926 # include <sys/param.h>
14928 #include <sys/statfs.h>
14934 struct statfs stfs;
14940 rm -f conftest.$ac_objext
14941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14942 (eval $ac_compile) 2>&5
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); } &&
14946 { ac_try='test -s conftest.$ac_objext'
14947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14948 (eval $ac_try) 2>&5
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); }; }; then
14952 wine_cv_sys_statfs_has_statfs=yes
14954 echo "$as_me: failed program was:" >&5
14955 sed 's/^/| /' conftest.$ac_ext >&5
14957 wine_cv_sys_statfs_has_statfs=no
14960 rm -f conftest.$ac_objext conftest.$ac_ext
14963 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
14964 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
14965 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
14968 cat >>confdefs.h <<\_ACEOF
14969 #define STATFS_DEFINED_BY_SYS_STATFS 1
14975 if test "$ac_cv_header_sys_mount_h" = "yes"
14977 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
14978 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
14979 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
14980 echo $ECHO_N "(cached) $ECHO_C" >&6
14982 cat >conftest.$ac_ext <<_ACEOF
14983 #line $LINENO "configure"
14986 cat confdefs.h >>conftest.$ac_ext
14987 cat >>conftest.$ac_ext <<_ACEOF
14988 /* end confdefs.h. */
14990 #include <sys/types.h>
14991 #ifdef HAVE_SYS_PARAM_H
14992 # include <sys/param.h>
14994 #include <sys/mount.h>
15000 struct statfs stfs;
15006 rm -f conftest.$ac_objext
15007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15008 (eval $ac_compile) 2>&5
15010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15011 (exit $ac_status); } &&
15012 { ac_try='test -s conftest.$ac_objext'
15013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15014 (eval $ac_try) 2>&5
15016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15017 (exit $ac_status); }; }; then
15018 wine_cv_sys_mount_has_statfs=yes
15020 echo "$as_me: failed program was:" >&5
15021 sed 's/^/| /' conftest.$ac_ext >&5
15023 wine_cv_sys_mount_has_statfs=no
15026 rm -f conftest.$ac_objext conftest.$ac_ext
15029 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
15030 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
15031 if test "$wine_cv_sys_mount_has_statfs" = "yes"
15034 cat >>confdefs.h <<\_ACEOF
15035 #define STATFS_DEFINED_BY_SYS_MOUNT 1
15042 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
15043 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
15044 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
15045 echo $ECHO_N "(cached) $ECHO_C" >&6
15047 cat >conftest.$ac_ext <<_ACEOF
15048 #line $LINENO "configure"
15051 cat confdefs.h >>conftest.$ac_ext
15052 cat >>conftest.$ac_ext <<_ACEOF
15053 /* end confdefs.h. */
15054 #include <sys/types.h>
15055 #ifdef HAVE_SYS_PARAM_H
15056 # include <sys/param.h>
15058 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
15059 # include <sys/mount.h>
15061 # ifdef STATFS_DEFINED_BY_SYS_VFS
15062 # include <sys/vfs.h>
15064 # ifdef STATFS_DEFINED_BY_SYS_STATFS
15065 # include <sys/statfs.h>
15073 static struct statfs ac_aggr;
15074 if (ac_aggr.f_bfree)
15080 rm -f conftest.$ac_objext
15081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15082 (eval $ac_compile) 2>&5
15084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15085 (exit $ac_status); } &&
15086 { ac_try='test -s conftest.$ac_objext'
15087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15088 (eval $ac_try) 2>&5
15090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15091 (exit $ac_status); }; }; then
15092 ac_cv_member_struct_statfs_f_bfree=yes
15094 echo "$as_me: failed program was:" >&5
15095 sed 's/^/| /' conftest.$ac_ext >&5
15097 cat >conftest.$ac_ext <<_ACEOF
15098 #line $LINENO "configure"
15101 cat confdefs.h >>conftest.$ac_ext
15102 cat >>conftest.$ac_ext <<_ACEOF
15103 /* end confdefs.h. */
15104 #include <sys/types.h>
15105 #ifdef HAVE_SYS_PARAM_H
15106 # include <sys/param.h>
15108 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
15109 # include <sys/mount.h>
15111 # ifdef STATFS_DEFINED_BY_SYS_VFS
15112 # include <sys/vfs.h>
15114 # ifdef STATFS_DEFINED_BY_SYS_STATFS
15115 # include <sys/statfs.h>
15123 static struct statfs ac_aggr;
15124 if (sizeof ac_aggr.f_bfree)
15130 rm -f conftest.$ac_objext
15131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15132 (eval $ac_compile) 2>&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); } &&
15136 { ac_try='test -s conftest.$ac_objext'
15137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15138 (eval $ac_try) 2>&5
15140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141 (exit $ac_status); }; }; then
15142 ac_cv_member_struct_statfs_f_bfree=yes
15144 echo "$as_me: failed program was:" >&5
15145 sed 's/^/| /' conftest.$ac_ext >&5
15147 ac_cv_member_struct_statfs_f_bfree=no
15149 rm -f conftest.$ac_objext conftest.$ac_ext
15151 rm -f conftest.$ac_objext conftest.$ac_ext
15153 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
15154 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
15155 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
15157 cat >>confdefs.h <<_ACEOF
15158 #define HAVE_STRUCT_STATFS_F_BFREE 1
15163 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
15164 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
15165 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
15166 echo $ECHO_N "(cached) $ECHO_C" >&6
15168 cat >conftest.$ac_ext <<_ACEOF
15169 #line $LINENO "configure"
15172 cat confdefs.h >>conftest.$ac_ext
15173 cat >>conftest.$ac_ext <<_ACEOF
15174 /* end confdefs.h. */
15175 #include <sys/types.h>
15176 #ifdef HAVE_SYS_PARAM_H
15177 # include <sys/param.h>
15179 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
15180 # include <sys/mount.h>
15182 # ifdef STATFS_DEFINED_BY_SYS_VFS
15183 # include <sys/vfs.h>
15185 # ifdef STATFS_DEFINED_BY_SYS_STATFS
15186 # include <sys/statfs.h>
15194 static struct statfs ac_aggr;
15195 if (ac_aggr.f_bavail)
15201 rm -f conftest.$ac_objext
15202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15203 (eval $ac_compile) 2>&5
15205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15206 (exit $ac_status); } &&
15207 { ac_try='test -s conftest.$ac_objext'
15208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15209 (eval $ac_try) 2>&5
15211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15212 (exit $ac_status); }; }; then
15213 ac_cv_member_struct_statfs_f_bavail=yes
15215 echo "$as_me: failed program was:" >&5
15216 sed 's/^/| /' conftest.$ac_ext >&5
15218 cat >conftest.$ac_ext <<_ACEOF
15219 #line $LINENO "configure"
15222 cat confdefs.h >>conftest.$ac_ext
15223 cat >>conftest.$ac_ext <<_ACEOF
15224 /* end confdefs.h. */
15225 #include <sys/types.h>
15226 #ifdef HAVE_SYS_PARAM_H
15227 # include <sys/param.h>
15229 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
15230 # include <sys/mount.h>
15232 # ifdef STATFS_DEFINED_BY_SYS_VFS
15233 # include <sys/vfs.h>
15235 # ifdef STATFS_DEFINED_BY_SYS_STATFS
15236 # include <sys/statfs.h>
15244 static struct statfs ac_aggr;
15245 if (sizeof ac_aggr.f_bavail)
15251 rm -f conftest.$ac_objext
15252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15253 (eval $ac_compile) 2>&5
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); } &&
15257 { ac_try='test -s conftest.$ac_objext'
15258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15259 (eval $ac_try) 2>&5
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); }; }; then
15263 ac_cv_member_struct_statfs_f_bavail=yes
15265 echo "$as_me: failed program was:" >&5
15266 sed 's/^/| /' conftest.$ac_ext >&5
15268 ac_cv_member_struct_statfs_f_bavail=no
15270 rm -f conftest.$ac_objext conftest.$ac_ext
15272 rm -f conftest.$ac_objext conftest.$ac_ext
15274 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
15275 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
15276 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
15278 cat >>confdefs.h <<_ACEOF
15279 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15286 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
15287 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
15288 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
15289 echo $ECHO_N "(cached) $ECHO_C" >&6
15291 cat >conftest.$ac_ext <<_ACEOF
15292 #line $LINENO "configure"
15295 cat confdefs.h >>conftest.$ac_ext
15296 cat >>conftest.$ac_ext <<_ACEOF
15297 /* end confdefs.h. */
15298 #include <sys/types.h>
15299 #ifdef HAVE_SYS_SOCKET_H
15300 # include <sys/socket.h>
15302 #ifdef HAVE_SYS_UN_H
15303 # include <sys/un.h>
15309 static struct msghdr ac_aggr;
15310 if (ac_aggr.msg_accrights)
15316 rm -f conftest.$ac_objext
15317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15318 (eval $ac_compile) 2>&5
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); } &&
15322 { ac_try='test -s conftest.$ac_objext'
15323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15324 (eval $ac_try) 2>&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); }; }; then
15328 ac_cv_member_struct_msghdr_msg_accrights=yes
15330 echo "$as_me: failed program was:" >&5
15331 sed 's/^/| /' conftest.$ac_ext >&5
15333 cat >conftest.$ac_ext <<_ACEOF
15334 #line $LINENO "configure"
15337 cat confdefs.h >>conftest.$ac_ext
15338 cat >>conftest.$ac_ext <<_ACEOF
15339 /* end confdefs.h. */
15340 #include <sys/types.h>
15341 #ifdef HAVE_SYS_SOCKET_H
15342 # include <sys/socket.h>
15344 #ifdef HAVE_SYS_UN_H
15345 # include <sys/un.h>
15351 static struct msghdr ac_aggr;
15352 if (sizeof ac_aggr.msg_accrights)
15358 rm -f conftest.$ac_objext
15359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15360 (eval $ac_compile) 2>&5
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); } &&
15364 { ac_try='test -s conftest.$ac_objext'
15365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15366 (eval $ac_try) 2>&5
15368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15369 (exit $ac_status); }; }; then
15370 ac_cv_member_struct_msghdr_msg_accrights=yes
15372 echo "$as_me: failed program was:" >&5
15373 sed 's/^/| /' conftest.$ac_ext >&5
15375 ac_cv_member_struct_msghdr_msg_accrights=no
15377 rm -f conftest.$ac_objext conftest.$ac_ext
15379 rm -f conftest.$ac_objext conftest.$ac_ext
15381 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
15382 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
15383 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
15385 cat >>confdefs.h <<_ACEOF
15386 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15391 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
15392 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
15393 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
15394 echo $ECHO_N "(cached) $ECHO_C" >&6
15396 cat >conftest.$ac_ext <<_ACEOF
15397 #line $LINENO "configure"
15400 cat confdefs.h >>conftest.$ac_ext
15401 cat >>conftest.$ac_ext <<_ACEOF
15402 /* end confdefs.h. */
15403 #include <sys/types.h>
15404 #ifdef HAVE_SYS_SOCKET_H
15405 # include <sys/socket.h>
15407 #ifdef HAVE_SYS_UN_H
15408 # include <sys/un.h>
15414 static struct sockaddr ac_aggr;
15415 if (ac_aggr.sa_len)
15421 rm -f conftest.$ac_objext
15422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15423 (eval $ac_compile) 2>&5
15425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15426 (exit $ac_status); } &&
15427 { ac_try='test -s conftest.$ac_objext'
15428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15429 (eval $ac_try) 2>&5
15431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15432 (exit $ac_status); }; }; then
15433 ac_cv_member_struct_sockaddr_sa_len=yes
15435 echo "$as_me: failed program was:" >&5
15436 sed 's/^/| /' conftest.$ac_ext >&5
15438 cat >conftest.$ac_ext <<_ACEOF
15439 #line $LINENO "configure"
15442 cat confdefs.h >>conftest.$ac_ext
15443 cat >>conftest.$ac_ext <<_ACEOF
15444 /* end confdefs.h. */
15445 #include <sys/types.h>
15446 #ifdef HAVE_SYS_SOCKET_H
15447 # include <sys/socket.h>
15449 #ifdef HAVE_SYS_UN_H
15450 # include <sys/un.h>
15456 static struct sockaddr ac_aggr;
15457 if (sizeof ac_aggr.sa_len)
15463 rm -f conftest.$ac_objext
15464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15465 (eval $ac_compile) 2>&5
15467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15468 (exit $ac_status); } &&
15469 { ac_try='test -s conftest.$ac_objext'
15470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15471 (eval $ac_try) 2>&5
15473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15474 (exit $ac_status); }; }; then
15475 ac_cv_member_struct_sockaddr_sa_len=yes
15477 echo "$as_me: failed program was:" >&5
15478 sed 's/^/| /' conftest.$ac_ext >&5
15480 ac_cv_member_struct_sockaddr_sa_len=no
15482 rm -f conftest.$ac_objext conftest.$ac_ext
15484 rm -f conftest.$ac_objext conftest.$ac_ext
15486 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
15487 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
15488 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
15490 cat >>confdefs.h <<_ACEOF
15491 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15496 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
15497 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
15498 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
15499 echo $ECHO_N "(cached) $ECHO_C" >&6
15501 cat >conftest.$ac_ext <<_ACEOF
15502 #line $LINENO "configure"
15505 cat confdefs.h >>conftest.$ac_ext
15506 cat >>conftest.$ac_ext <<_ACEOF
15507 /* end confdefs.h. */
15508 #include <sys/types.h>
15509 #ifdef HAVE_SYS_SOCKET_H
15510 # include <sys/socket.h>
15512 #ifdef HAVE_SYS_UN_H
15513 # include <sys/un.h>
15519 static struct sockaddr_un ac_aggr;
15520 if (ac_aggr.sun_len)
15526 rm -f conftest.$ac_objext
15527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15528 (eval $ac_compile) 2>&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); } &&
15532 { ac_try='test -s conftest.$ac_objext'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; }; then
15538 ac_cv_member_struct_sockaddr_un_sun_len=yes
15540 echo "$as_me: failed program was:" >&5
15541 sed 's/^/| /' conftest.$ac_ext >&5
15543 cat >conftest.$ac_ext <<_ACEOF
15544 #line $LINENO "configure"
15547 cat confdefs.h >>conftest.$ac_ext
15548 cat >>conftest.$ac_ext <<_ACEOF
15549 /* end confdefs.h. */
15550 #include <sys/types.h>
15551 #ifdef HAVE_SYS_SOCKET_H
15552 # include <sys/socket.h>
15554 #ifdef HAVE_SYS_UN_H
15555 # include <sys/un.h>
15561 static struct sockaddr_un ac_aggr;
15562 if (sizeof ac_aggr.sun_len)
15568 rm -f conftest.$ac_objext
15569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15570 (eval $ac_compile) 2>&5
15572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15573 (exit $ac_status); } &&
15574 { ac_try='test -s conftest.$ac_objext'
15575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15576 (eval $ac_try) 2>&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); }; }; then
15580 ac_cv_member_struct_sockaddr_un_sun_len=yes
15582 echo "$as_me: failed program was:" >&5
15583 sed 's/^/| /' conftest.$ac_ext >&5
15585 ac_cv_member_struct_sockaddr_un_sun_len=no
15587 rm -f conftest.$ac_objext conftest.$ac_ext
15589 rm -f conftest.$ac_objext conftest.$ac_ext
15591 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
15592 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
15593 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
15595 cat >>confdefs.h <<_ACEOF
15596 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15603 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
15604 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
15605 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
15606 echo $ECHO_N "(cached) $ECHO_C" >&6
15608 cat >conftest.$ac_ext <<_ACEOF
15609 #line $LINENO "configure"
15612 cat confdefs.h >>conftest.$ac_ext
15613 cat >>conftest.$ac_ext <<_ACEOF
15614 /* end confdefs.h. */
15615 #include <signal.h>
15620 static siginfo_t ac_aggr;
15627 rm -f conftest.$ac_objext
15628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15629 (eval $ac_compile) 2>&5
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); } &&
15633 { ac_try='test -s conftest.$ac_objext'
15634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15635 (eval $ac_try) 2>&5
15637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15638 (exit $ac_status); }; }; then
15639 ac_cv_member_siginfo_t_si_fd=yes
15641 echo "$as_me: failed program was:" >&5
15642 sed 's/^/| /' conftest.$ac_ext >&5
15644 cat >conftest.$ac_ext <<_ACEOF
15645 #line $LINENO "configure"
15648 cat confdefs.h >>conftest.$ac_ext
15649 cat >>conftest.$ac_ext <<_ACEOF
15650 /* end confdefs.h. */
15651 #include <signal.h>
15656 static siginfo_t ac_aggr;
15657 if (sizeof ac_aggr.si_fd)
15663 rm -f conftest.$ac_objext
15664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15665 (eval $ac_compile) 2>&5
15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 (exit $ac_status); } &&
15669 { ac_try='test -s conftest.$ac_objext'
15670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15671 (eval $ac_try) 2>&5
15673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15674 (exit $ac_status); }; }; then
15675 ac_cv_member_siginfo_t_si_fd=yes
15677 echo "$as_me: failed program was:" >&5
15678 sed 's/^/| /' conftest.$ac_ext >&5
15680 ac_cv_member_siginfo_t_si_fd=no
15682 rm -f conftest.$ac_objext conftest.$ac_ext
15684 rm -f conftest.$ac_objext conftest.$ac_ext
15686 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
15687 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
15688 if test $ac_cv_member_siginfo_t_si_fd = yes; then
15690 cat >>confdefs.h <<_ACEOF
15691 #define HAVE_SIGINFO_T_SI_FD 1
15700 *i[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
15701 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
15702 if test "${ac_cv_cpp_def___i386__+set}" = set; then
15703 echo $ECHO_N "(cached) $ECHO_C" >&6
15705 cat >conftest.$ac_ext <<_ACEOF
15706 #line $LINENO "configure"
15709 cat confdefs.h >>conftest.$ac_ext
15710 cat >>conftest.$ac_ext <<_ACEOF
15711 /* end confdefs.h. */
15716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15717 $EGREP "yes" >/dev/null 2>&1; then
15718 ac_cv_cpp_def___i386__=yes
15720 ac_cv_cpp_def___i386__=no
15725 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
15726 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
15727 if test $ac_cv_cpp_def___i386__ = yes; then
15728 CFLAGS="$CFLAGS -D__i386__"
15729 LINTFLAGS="$LINTFLAGS -D__i386__"
15732 *alpha*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
15733 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
15734 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
15735 echo $ECHO_N "(cached) $ECHO_C" >&6
15737 cat >conftest.$ac_ext <<_ACEOF
15738 #line $LINENO "configure"
15741 cat confdefs.h >>conftest.$ac_ext
15742 cat >>conftest.$ac_ext <<_ACEOF
15743 /* end confdefs.h. */
15748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15749 $EGREP "yes" >/dev/null 2>&1; then
15750 ac_cv_cpp_def___ALPHA__=yes
15752 ac_cv_cpp_def___ALPHA__=no
15757 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
15758 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
15759 if test $ac_cv_cpp_def___ALPHA__ = yes; then
15760 CFLAGS="$CFLAGS -D__ALPHA__"
15761 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
15764 *sparc*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
15765 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
15766 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
15767 echo $ECHO_N "(cached) $ECHO_C" >&6
15769 cat >conftest.$ac_ext <<_ACEOF
15770 #line $LINENO "configure"
15773 cat confdefs.h >>conftest.$ac_ext
15774 cat >>conftest.$ac_ext <<_ACEOF
15775 /* end confdefs.h. */
15780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15781 $EGREP "yes" >/dev/null 2>&1; then
15782 ac_cv_cpp_def___sparc__=yes
15784 ac_cv_cpp_def___sparc__=no
15789 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
15790 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
15791 if test $ac_cv_cpp_def___sparc__ = yes; then
15792 CFLAGS="$CFLAGS -D__sparc__"
15793 LINTFLAGS="$LINTFLAGS -D__sparc__"
15798 case $host_vendor in
15799 *sun*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
15800 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
15801 if test "${ac_cv_cpp_def___sun__+set}" = set; then
15802 echo $ECHO_N "(cached) $ECHO_C" >&6
15804 cat >conftest.$ac_ext <<_ACEOF
15805 #line $LINENO "configure"
15808 cat confdefs.h >>conftest.$ac_ext
15809 cat >>conftest.$ac_ext <<_ACEOF
15810 /* end confdefs.h. */
15815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15816 $EGREP "yes" >/dev/null 2>&1; then
15817 ac_cv_cpp_def___sun__=yes
15819 ac_cv_cpp_def___sun__=no
15824 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
15825 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
15826 if test $ac_cv_cpp_def___sun__ = yes; then
15827 CFLAGS="$CFLAGS -D__sun__"
15828 LINTFLAGS="$LINTFLAGS -D__sun__"
15837 ac_config_commands="$ac_config_commands controls"
15839 ac_config_commands="$ac_config_commands dlls/ddraw/d3ddevice"
15841 ac_config_commands="$ac_config_commands dlls/ddraw/dclipper"
15843 ac_config_commands="$ac_config_commands dlls/ddraw/ddraw"
15845 ac_config_commands="$ac_config_commands dlls/ddraw/direct3d"
15847 ac_config_commands="$ac_config_commands dlls/ddraw/dpalette"
15849 ac_config_commands="$ac_config_commands dlls/ddraw/dsurface"
15851 ac_config_commands="$ac_config_commands dlls/dinput/joystick"
15853 ac_config_commands="$ac_config_commands dlls/dinput/keyboard"
15855 ac_config_commands="$ac_config_commands dlls/dinput/mouse"
15857 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
15859 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
15861 ac_config_commands="$ac_config_commands dlls/kernel/messages"
15863 ac_config_commands="$ac_config_commands dlls/user/dde"
15865 ac_config_commands="$ac_config_commands dlls/user/resources"
15867 ac_config_commands="$ac_config_commands dlls/wineps/data"
15869 ac_config_commands="$ac_config_commands files"
15871 ac_config_commands="$ac_config_commands graphics"
15873 ac_config_commands="$ac_config_commands graphics/x11drv"
15875 ac_config_commands="$ac_config_commands if1632"
15877 ac_config_commands="$ac_config_commands include/wine"
15879 ac_config_commands="$ac_config_commands loader"
15881 ac_config_commands="$ac_config_commands loader/ne"
15883 ac_config_commands="$ac_config_commands memory"
15885 ac_config_commands="$ac_config_commands misc"
15887 ac_config_commands="$ac_config_commands msdos"
15889 ac_config_commands="$ac_config_commands objects"
15891 ac_config_commands="$ac_config_commands ole"
15893 ac_config_commands="$ac_config_commands programs/regapi/tests"
15895 ac_config_commands="$ac_config_commands programs/regedit/tests"
15897 ac_config_commands="$ac_config_commands relay32"
15899 ac_config_commands="$ac_config_commands scheduler"
15901 ac_config_commands="$ac_config_commands win32"
15903 ac_config_commands="$ac_config_commands windows"
15906 MAKE_RULES=Make.rules
15909 MAKE_DLL_RULES=dlls/Makedll.rules
15912 MAKE_TEST_RULES=dlls/Maketest.rules
15915 MAKE_PROG_RULES=programs/Makeprog.rules
15918 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/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/dmusic/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/icmp/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/mapi32/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msdmo/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvideo/Makefile dlls/msvideo/msrle32/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/Makefile dlls/opengl32/Makefile dlls/psapi/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/rasapi32/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/sti/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/version/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winenas/Makefile dlls/winmm/winejack/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/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 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/winemine/Makefile programs/winepath/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/wmc/Makefile tools/wpp/Makefile tools/wrc/Makefile"
15921 cat >confcache <<\_ACEOF
15922 # This file is a shell script that caches the results of configure
15923 # tests run on this system so they can be shared between configure
15924 # scripts and configure runs, see configure's option --config-cache.
15925 # It is not useful on other systems. If it contains results you don't
15926 # want to keep, you may remove or edit it.
15928 # config.status only pays attention to the cache file if you give it
15929 # the --recheck option to rerun configure.
15931 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15932 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15933 # following values.
15937 # The following way of writing the cache mishandles newlines in values,
15938 # but we know of no workaround that is simple, portable, and efficient.
15939 # So, don't put newlines in cache variables' values.
15940 # Ultrix sh set writes to stderr and can't be redirected directly,
15941 # and sets the high bit in the cache file unless we assign to the vars.
15944 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15946 # `set' does not quote correctly, so add quotes (double-quote
15947 # substitution turns \\\\ into \\, and sed turns \\ into \).
15950 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15953 # `set' quotes correctly as required by POSIX, so do not add quotes.
15955 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
15962 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15964 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15966 if diff $cache_file confcache >/dev/null 2>&1; then :; else
15967 if test -w $cache_file; then
15968 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
15969 cat confcache >$cache_file
15971 echo "not updating unwritable cache $cache_file"
15976 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15977 # Let make expand exec_prefix.
15978 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15980 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15981 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15982 # trailing colons and then remove the whole line if VPATH becomes empty
15983 # (actually we leave an empty line to preserve line numbers).
15984 if test "x$srcdir" = x.; then
15985 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15986 s/:*\$(srcdir):*/:/;
15987 s/:*\${srcdir}:*/:/;
15989 s/^\([^=]*=[ ]*\):*/\1/;
15995 DEFS=-DHAVE_CONFIG_H
15999 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16000 # 1. Remove the extension, and $U if already installed.
16001 ac_i=`echo "$ac_i" |
16002 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
16004 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
16005 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
16007 LIBOBJS=$ac_libobjs
16009 LTLIBOBJS=$ac_ltlibobjs
16013 : ${CONFIG_STATUS=./config.status}
16014 ac_clean_files_save=$ac_clean_files
16015 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16016 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
16017 echo "$as_me: creating $CONFIG_STATUS" >&6;}
16018 cat >$CONFIG_STATUS <<_ACEOF
16020 # Generated by $as_me.
16021 # Run this file to recreate the current configuration.
16022 # Compiler output produced by configure, useful for debugging
16023 # configure, is in config.log if it exists.
16026 ac_cs_recheck=false
16028 SHELL=\${CONFIG_SHELL-$SHELL}
16031 cat >>$CONFIG_STATUS <<\_ACEOF
16032 ## --------------------- ##
16033 ## M4sh Initialization. ##
16034 ## --------------------- ##
16036 # Be Bourne compatible
16037 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16040 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
16041 # is contrary to our usage. Disable this feature.
16042 alias -g '${1+"$@"}'='"$@"'
16043 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
16047 # Support unset when possible.
16048 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
16055 # Work around bugs in pre-3.0 UWIN ksh.
16056 $as_unset ENV MAIL MAILPATH
16063 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
16064 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
16065 LC_TELEPHONE LC_TIME
16067 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
16068 eval $as_var=C; export $as_var
16074 # Required to use basename.
16075 if expr a : '\(a\)' >/dev/null 2>&1; then
16081 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
16082 as_basename=basename
16088 # Name of the executable.
16089 as_me=`$as_basename "$0" ||
16090 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16091 X"$0" : 'X\(//\)$' \| \
16092 X"$0" : 'X\(/\)$' \| \
16093 . : '\(.\)' 2>/dev/null ||
16095 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16096 /^X\/\(\/\/\)$/{ s//\1/; q; }
16097 /^X\/\(\/\).*/{ s//\1/; q; }
16101 # PATH needs CR, and LINENO needs CR and PATH.
16102 # Avoid depending upon Character Ranges.
16103 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16104 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16105 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16106 as_cr_digits='0123456789'
16107 as_cr_alnum=$as_cr_Letters$as_cr_digits
16109 # The user is always right.
16110 if test "${PATH_SEPARATOR+set}" != set; then
16111 echo "#! /bin/sh" >conf$$.sh
16112 echo "exit 0" >>conf$$.sh
16114 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16123 as_lineno_1=$LINENO
16124 as_lineno_2=$LINENO
16125 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
16126 test "x$as_lineno_1" != "x$as_lineno_2" &&
16127 test "x$as_lineno_3" = "x$as_lineno_2" || {
16128 # Find who we are. Look in the path if we contain no path at all
16131 *[\\/]* ) as_myself=$0 ;;
16132 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16133 for as_dir in $PATH
16136 test -z "$as_dir" && as_dir=.
16137 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16142 # We did not find ourselves, most probably we were run as `sh COMMAND'
16143 # in which case we are not to be found in the path.
16144 if test "x$as_myself" = x; then
16147 if test ! -f "$as_myself"; then
16148 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
16149 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
16150 { (exit 1); exit 1; }; }
16152 case $CONFIG_SHELL in
16154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16155 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
16158 test -z "$as_dir" && as_dir=.
16159 for as_base in sh bash ksh sh5; do
16162 if ("$as_dir/$as_base" -c '
16163 as_lineno_1=$LINENO
16164 as_lineno_2=$LINENO
16165 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
16166 test "x$as_lineno_1" != "x$as_lineno_2" &&
16167 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
16168 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
16169 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
16170 CONFIG_SHELL=$as_dir/$as_base
16171 export CONFIG_SHELL
16172 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
16180 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16181 # uniformly replaced by the line number. The first 'sed' inserts a
16182 # line-number line before each line; the second 'sed' does the real
16183 # work. The second script uses 'N' to pair each line-number line
16184 # with the numbered line, and appends trailing '-' during
16185 # substitution so that $LINENO is not a special case at line end.
16186 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16187 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
16188 sed '=' <$as_myself |
16193 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
16196 s,^['$as_cr_digits']*\n,,
16197 ' >$as_me.lineno &&
16198 chmod +x $as_me.lineno ||
16199 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
16200 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
16201 { (exit 1); exit 1; }; }
16203 # Don't try to exec as it changes $[0], causing all sort of problems
16204 # (the dirname of $[0] is not the place where we might find the
16205 # original and so on. Autoconf is especially sensible to this).
16207 # Exit status is that of the last command.
16212 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
16213 *c*,-n*) ECHO_N= ECHO_C='
16215 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
16216 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
16219 if expr a : '\(a\)' >/dev/null 2>&1; then
16225 rm -f conf$$ conf$$.exe conf$$.file
16227 if ln -s conf$$.file conf$$ 2>/dev/null; then
16228 # We could just check for DJGPP; but this test a) works b) is more generic
16229 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
16230 if test -f conf$$.exe; then
16231 # Don't use ln at all; we don't have any links
16236 elif ln conf$$.file conf$$ 2>/dev/null; then
16241 rm -f conf$$ conf$$.exe conf$$.file
16243 if mkdir -p . 2>/dev/null; then
16249 as_executable_p="test -f"
16251 # Sed expression to map a string onto a valid CPP name.
16252 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
16254 # Sed expression to map a string onto a valid variable name.
16255 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
16259 # We need space, tab and new line, in precisely that order.
16269 # Open the log real soon, to keep \$[0] and so on meaningful, and to
16270 # report actual input values of CONFIG_FILES etc. instead of their
16271 # values after options handling. Logging --version etc. is OK.
16275 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16276 ## Running $as_me. ##
16281 This file was extended by Wine $as_me 20030318, which was
16282 generated by GNU Autoconf 2.57. Invocation command line was
16284 CONFIG_FILES = $CONFIG_FILES
16285 CONFIG_HEADERS = $CONFIG_HEADERS
16286 CONFIG_LINKS = $CONFIG_LINKS
16287 CONFIG_COMMANDS = $CONFIG_COMMANDS
16291 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
16295 # Files that config.status was made for.
16296 if test -n "$ac_config_files"; then
16297 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
16300 if test -n "$ac_config_headers"; then
16301 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
16304 if test -n "$ac_config_links"; then
16305 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
16308 if test -n "$ac_config_commands"; then
16309 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
16312 cat >>$CONFIG_STATUS <<\_ACEOF
16315 \`$as_me' instantiates files from templates according to the
16316 current configuration.
16318 Usage: $0 [OPTIONS] [FILE]...
16320 -h, --help print this help, then exit
16321 -V, --version print version number, then exit
16322 -q, --quiet do not print progress messages
16323 -d, --debug don't remove temporary files
16324 --recheck update $as_me by reconfiguring in the same conditions
16325 --file=FILE[:TEMPLATE]
16326 instantiate the configuration file FILE
16327 --header=FILE[:TEMPLATE]
16328 instantiate the configuration header FILE
16330 Configuration files:
16333 Configuration headers:
16336 Configuration commands:
16339 Report bugs to <bug-autoconf@gnu.org>."
16342 cat >>$CONFIG_STATUS <<_ACEOF
16344 Wine config.status 20030318
16345 configured by $0, generated by GNU Autoconf 2.57,
16346 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
16348 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
16349 Free Software Foundation, Inc.
16350 This config.status script is free software; the Free Software Foundation
16351 gives unlimited permission to copy, distribute and modify it."
16356 cat >>$CONFIG_STATUS <<\_ACEOF
16357 # If no file are specified by the user, then we need to provide default
16358 # value. By we need to know if files were specified by the user.
16364 ac_option=`expr "x$1" : 'x\([^=]*\)='`
16365 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
16373 *) # This is not an option, so the user has probably given explicit
16376 ac_need_defaults=false;;
16380 # Handling of the options.
16382 cat >>$CONFIG_STATUS <<\_ACEOF
16383 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16385 --version | --vers* | -V )
16386 echo "$ac_cs_version"; exit 0 ;;
16388 # Conflict between --help and --header
16389 { { echo "$as_me:$LINENO: error: ambiguous option: $1
16390 Try \`$0 --help' for more information." >&5
16391 echo "$as_me: error: ambiguous option: $1
16392 Try \`$0 --help' for more information." >&2;}
16393 { (exit 1); exit 1; }; };;
16394 --help | --hel | -h )
16395 echo "$ac_cs_usage"; exit 0 ;;
16396 --debug | --d* | -d )
16398 --file | --fil | --fi | --f )
16400 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
16401 ac_need_defaults=false;;
16402 --header | --heade | --head | --hea )
16404 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
16405 ac_need_defaults=false;;
16406 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16407 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16410 # This is an error.
16411 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
16412 Try \`$0 --help' for more information." >&5
16413 echo "$as_me: error: unrecognized option: $1
16414 Try \`$0 --help' for more information." >&2;}
16415 { (exit 1); exit 1; }; } ;;
16417 *) ac_config_targets="$ac_config_targets $1" ;;
16423 ac_configure_extra_args=
16425 if $ac_cs_silent; then
16427 ac_configure_extra_args="$ac_configure_extra_args --silent"
16431 cat >>$CONFIG_STATUS <<_ACEOF
16432 if \$ac_cs_recheck; then
16433 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
16434 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16443 cat >>$CONFIG_STATUS <<\_ACEOF
16444 for ac_config_target in $ac_config_targets
16446 case "$ac_config_target" in
16447 # Handling of arguments.
16448 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
16449 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
16450 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
16451 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
16452 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16453 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
16454 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
16455 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
16456 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
16457 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
16458 "dlls/cabinet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
16459 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
16460 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
16461 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
16462 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
16463 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
16464 "dlls/ctl3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
16465 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
16466 "dlls/d3dim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
16467 "dlls/d3dx8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
16468 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
16469 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
16470 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
16471 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
16472 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
16473 "dlls/dmusic/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
16474 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
16475 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
16476 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
16477 "dlls/dsound/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
16478 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
16479 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
16480 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
16481 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
16482 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
16483 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
16484 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
16485 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
16486 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
16487 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
16488 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
16489 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
16490 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
16491 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
16492 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
16493 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
16494 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
16495 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
16496 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
16497 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
16498 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
16499 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
16500 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
16501 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
16502 "dlls/msvideo/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/msrle32/Makefile" ;;
16503 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
16504 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
16505 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
16506 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
16507 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
16508 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
16509 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
16510 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
16511 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
16512 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
16513 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
16514 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
16515 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
16516 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
16517 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
16518 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
16519 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
16520 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
16521 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
16522 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
16523 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
16524 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
16525 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
16526 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
16527 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
16528 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
16529 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
16530 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
16531 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
16532 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
16533 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
16534 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
16535 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
16536 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
16537 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
16538 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
16539 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
16540 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
16541 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
16542 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
16543 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
16544 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
16545 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
16546 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
16547 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
16548 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
16549 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
16550 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
16551 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
16552 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
16553 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
16554 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
16555 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
16556 "dlls/winmm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
16557 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
16558 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
16559 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
16560 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
16561 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
16562 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
16563 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
16564 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
16565 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
16566 "dlls/winsock/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
16567 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
16568 "dlls/winspool/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
16569 "dlls/wintab32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
16570 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
16571 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
16572 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
16573 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
16574 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
16575 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
16576 "libs/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
16577 "libs/port/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
16578 "libs/unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/unicode/Makefile" ;;
16579 "libs/uuid/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/uuid/Makefile" ;;
16580 "libs/wine/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
16581 "miscemu/Makefile" ) CONFIG_FILES="$CONFIG_FILES miscemu/Makefile" ;;
16582 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
16583 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
16584 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
16585 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
16586 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
16587 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
16588 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
16589 "programs/osversioncheck/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/osversioncheck/Makefile" ;;
16590 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
16591 "programs/regapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regapi/Makefile" ;;
16592 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
16593 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
16594 "programs/regtest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regtest/Makefile" ;;
16595 "programs/rpcss/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
16596 "programs/rundll32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
16597 "programs/start/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
16598 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
16599 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
16600 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
16601 "programs/wineboot/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
16602 "programs/winecfg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
16603 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
16604 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
16605 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
16606 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
16607 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
16608 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
16609 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
16610 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
16611 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16612 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
16613 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
16614 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
16615 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
16616 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
16617 "tools/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wpp/Makefile" ;;
16618 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
16619 "controls" ) CONFIG_COMMANDS="$CONFIG_COMMANDS controls" ;;
16620 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
16621 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
16622 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
16623 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
16624 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
16625 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
16626 "dlls/dinput/joystick" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/joystick" ;;
16627 "dlls/dinput/keyboard" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/keyboard" ;;
16628 "dlls/dinput/mouse" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/mouse" ;;
16629 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
16630 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
16631 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
16632 "dlls/user/dde" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/dde" ;;
16633 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
16634 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
16635 "files" ) CONFIG_COMMANDS="$CONFIG_COMMANDS files" ;;
16636 "graphics" ) CONFIG_COMMANDS="$CONFIG_COMMANDS graphics" ;;
16637 "graphics/x11drv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS graphics/x11drv" ;;
16638 "if1632" ) CONFIG_COMMANDS="$CONFIG_COMMANDS if1632" ;;
16639 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
16640 "loader" ) CONFIG_COMMANDS="$CONFIG_COMMANDS loader" ;;
16641 "loader/ne" ) CONFIG_COMMANDS="$CONFIG_COMMANDS loader/ne" ;;
16642 "memory" ) CONFIG_COMMANDS="$CONFIG_COMMANDS memory" ;;
16643 "misc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS misc" ;;
16644 "msdos" ) CONFIG_COMMANDS="$CONFIG_COMMANDS msdos" ;;
16645 "objects" ) CONFIG_COMMANDS="$CONFIG_COMMANDS objects" ;;
16646 "ole" ) CONFIG_COMMANDS="$CONFIG_COMMANDS ole" ;;
16647 "programs/regapi/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regapi/tests" ;;
16648 "programs/regedit/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regedit/tests" ;;
16649 "relay32" ) CONFIG_COMMANDS="$CONFIG_COMMANDS relay32" ;;
16650 "scheduler" ) CONFIG_COMMANDS="$CONFIG_COMMANDS scheduler" ;;
16651 "win32" ) CONFIG_COMMANDS="$CONFIG_COMMANDS win32" ;;
16652 "windows" ) CONFIG_COMMANDS="$CONFIG_COMMANDS windows" ;;
16653 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
16654 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16655 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16656 { (exit 1); exit 1; }; };;
16660 # If the user did not use the arguments to specify the items to instantiate,
16661 # then the envvar interface is used. Set only those that are not.
16662 # We use the long form for the default assignment because of an extremely
16663 # bizarre bug on SunOS 4.1.3.
16664 if $ac_need_defaults; then
16665 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16666 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16667 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16670 # Have a temporary directory for convenience. Make it in the build tree
16671 # simply because there is no reason to put it here, and in addition,
16672 # creating and moving files from /tmp can sometimes cause problems.
16673 # Create a temporary directory, and hook for its removal unless debugging.
16676 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
16677 trap '{ (exit 1); exit 1; }' 1 2 13 15
16680 # Create a (secure) tmp directory for tmp files.
16683 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
16684 test -n "$tmp" && test -d "$tmp"
16687 tmp=./confstat$$-$RANDOM
16688 (umask 077 && mkdir $tmp)
16691 echo "$me: cannot create a temporary directory in ." >&2
16692 { (exit 1); exit 1; }
16697 cat >>$CONFIG_STATUS <<_ACEOF
16700 # CONFIG_FILES section.
16703 # No need to generate the scripts if there are no CONFIG_FILES.
16704 # This happens for instance when ./config.status config.h
16705 if test -n "\$CONFIG_FILES"; then
16706 # Protect against being on the right side of a sed subst in config.status.
16707 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
16708 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
16709 s,@SHELL@,$SHELL,;t t
16710 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
16711 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
16712 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
16713 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
16714 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
16715 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
16716 s,@exec_prefix@,$exec_prefix,;t t
16717 s,@prefix@,$prefix,;t t
16718 s,@program_transform_name@,$program_transform_name,;t t
16719 s,@bindir@,$bindir,;t t
16720 s,@sbindir@,$sbindir,;t t
16721 s,@libexecdir@,$libexecdir,;t t
16722 s,@datadir@,$datadir,;t t
16723 s,@sysconfdir@,$sysconfdir,;t t
16724 s,@sharedstatedir@,$sharedstatedir,;t t
16725 s,@localstatedir@,$localstatedir,;t t
16726 s,@libdir@,$libdir,;t t
16727 s,@includedir@,$includedir,;t t
16728 s,@oldincludedir@,$oldincludedir,;t t
16729 s,@infodir@,$infodir,;t t
16730 s,@mandir@,$mandir,;t t
16731 s,@build_alias@,$build_alias,;t t
16732 s,@host_alias@,$host_alias,;t t
16733 s,@target_alias@,$target_alias,;t t
16734 s,@DEFS@,$DEFS,;t t
16735 s,@ECHO_C@,$ECHO_C,;t t
16736 s,@ECHO_N@,$ECHO_N,;t t
16737 s,@ECHO_T@,$ECHO_T,;t t
16738 s,@LIBS@,$LIBS,;t t
16739 s,@OPTIONS@,$OPTIONS,;t t
16740 s,@WIN16_FILES@,$WIN16_FILES,;t t
16741 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
16742 s,@build@,$build,;t t
16743 s,@build_cpu@,$build_cpu,;t t
16744 s,@build_vendor@,$build_vendor,;t t
16745 s,@build_os@,$build_os,;t t
16746 s,@host@,$host,;t t
16747 s,@host_cpu@,$host_cpu,;t t
16748 s,@host_vendor@,$host_vendor,;t t
16749 s,@host_os@,$host_os,;t t
16750 s,@SET_MAKE@,$SET_MAKE,;t t
16752 s,@CFLAGS@,$CFLAGS,;t t
16753 s,@LDFLAGS@,$LDFLAGS,;t t
16754 s,@CPPFLAGS@,$CPPFLAGS,;t t
16755 s,@ac_ct_CC@,$ac_ct_CC,;t t
16756 s,@EXEEXT@,$EXEEXT,;t t
16757 s,@OBJEXT@,$OBJEXT,;t t
16759 s,@TOOLSDIR@,$TOOLSDIR,;t t
16760 s,@X_CFLAGS@,$X_CFLAGS,;t t
16761 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
16762 s,@X_LIBS@,$X_LIBS,;t t
16763 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
16764 s,@YACC@,$YACC,;t t
16766 s,@LEXLIB@,$LEXLIB,;t t
16767 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
16768 s,@XYACC@,$XYACC,;t t
16769 s,@XLEX@,$XLEX,;t t
16771 s,@ac_ct_AS@,$ac_ct_AS,;t t
16773 s,@ac_ct_LD@,$ac_ct_LD,;t t
16775 s,@ac_ct_AR@,$ac_ct_AR,;t t
16776 s,@RANLIB@,$RANLIB,;t t
16777 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
16778 s,@STRIP@,$STRIP,;t t
16779 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
16780 s,@WINDRES@,$WINDRES,;t t
16781 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
16782 s,@LN_S@,$LN_S,;t t
16784 s,@C2MAN@,$C2MAN,;t t
16785 s,@LDCONFIG@,$LDCONFIG,;t t
16786 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
16787 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
16788 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
16789 s,@LINT@,$LINT,;t t
16790 s,@LINTFLAGS@,$LINTFLAGS,;t t
16791 s,@DB2HTML@,$DB2HTML,;t t
16792 s,@DB2PDF@,$DB2PDF,;t t
16793 s,@DB2PS@,$DB2PS,;t t
16794 s,@JPEGLIB@,$JPEGLIB,;t t
16795 s,@EGREP@,$EGREP,;t t
16796 s,@GIFLIB@,$GIFLIB,;t t
16797 s,@XLIB@,$XLIB,;t t
16798 s,@XFILES@,$XFILES,;t t
16799 s,@OPENGLFILES@,$OPENGLFILES,;t t
16800 s,@GLU32FILES@,$GLU32FILES,;t t
16801 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
16802 s,@NASLIBS@,$NASLIBS,;t t
16803 s,@CURSESLIBS@,$CURSESLIBS,;t t
16804 s,@sane_devel@,$sane_devel,;t t
16805 s,@SANELIBS@,$SANELIBS,;t t
16806 s,@SANEINCL@,$SANEINCL,;t t
16807 s,@ft_devel@,$ft_devel,;t t
16808 s,@ft_devel2@,$ft_devel2,;t t
16809 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
16810 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
16811 s,@ARTSLIBS@,$ARTSLIBS,;t t
16812 s,@ARTSINCL@,$ARTSINCL,;t t
16813 s,@ALSALIBS@,$ALSALIBS,;t t
16814 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
16815 s,@DLLEXT@,$DLLEXT,;t t
16816 s,@DLLFLAGS@,$DLLFLAGS,;t t
16817 s,@DLLIBS@,$DLLIBS,;t t
16818 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
16819 s,@LDSHARED@,$LDSHARED,;t t
16820 s,@LIBEXT@,$LIBEXT,;t t
16821 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
16822 s,@DLLTOOL@,$DLLTOOL,;t t
16823 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
16824 s,@DLLWRAP@,$DLLWRAP,;t t
16825 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
16826 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
16827 s,@CROSSTEST@,$CROSSTEST,;t t
16828 s,@CROSSCC@,$CROSSCC,;t t
16829 s,@LDPATH@,$LDPATH,;t t
16830 s,@CRTLIBS@,$CRTLIBS,;t t
16832 s,@ALLOCA@,$ALLOCA,;t t
16833 s,@LIBOBJS@,$LIBOBJS,;t t
16834 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
16835 /@MAKE_RULES@/r $MAKE_RULES
16836 s,@MAKE_RULES@,,;t t
16837 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
16838 s,@MAKE_DLL_RULES@,,;t t
16839 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
16840 s,@MAKE_TEST_RULES@,,;t t
16841 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
16842 s,@MAKE_PROG_RULES@,,;t t
16847 cat >>$CONFIG_STATUS <<\_ACEOF
16848 # Split the substitutions into bite-sized pieces for seds with
16849 # small command number limits, like on Digital OSF/1 and HP-UX.
16850 ac_max_sed_lines=48
16851 ac_sed_frag=1 # Number of current file.
16852 ac_beg=1 # First line for current file.
16853 ac_end=$ac_max_sed_lines # Line after last line for current file.
16856 while $ac_more_lines; do
16857 if test $ac_beg -gt 1; then
16858 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
16860 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
16862 if test ! -s $tmp/subs.frag; then
16863 ac_more_lines=false
16865 # The purpose of the label and of the branching condition is to
16866 # speed up the sed processing (if there are no `@' at all, there
16867 # is no need to browse any of the substitutions).
16868 # These are the two extra sed commands mentioned above.
16870 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
16871 if test -z "$ac_sed_cmds"; then
16872 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
16874 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
16876 ac_sed_frag=`expr $ac_sed_frag + 1`
16878 ac_end=`expr $ac_end + $ac_max_sed_lines`
16881 if test -z "$ac_sed_cmds"; then
16884 fi # test -n "$CONFIG_FILES"
16887 cat >>$CONFIG_STATUS <<\_ACEOF
16888 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
16889 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16891 - | *:- | *:-:* ) # input from stdin
16893 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16894 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16895 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16896 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16897 * ) ac_file_in=$ac_file.in ;;
16900 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
16901 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
16902 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16903 X"$ac_file" : 'X\(//\)[^/]' \| \
16904 X"$ac_file" : 'X\(//\)$' \| \
16905 X"$ac_file" : 'X\(/\)' \| \
16906 . : '\(.\)' 2>/dev/null ||
16908 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16909 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16910 /^X\(\/\/\)$/{ s//\1/; q; }
16911 /^X\(\/\).*/{ s//\1/; q; }
16913 { if $as_mkdir_p; then
16918 while test ! -d "$as_dir"; do
16919 as_dirs="$as_dir $as_dirs"
16920 as_dir=`(dirname "$as_dir") 2>/dev/null ||
16921 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16922 X"$as_dir" : 'X\(//\)[^/]' \| \
16923 X"$as_dir" : 'X\(//\)$' \| \
16924 X"$as_dir" : 'X\(/\)' \| \
16925 . : '\(.\)' 2>/dev/null ||
16927 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16928 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16929 /^X\(\/\/\)$/{ s//\1/; q; }
16930 /^X\(\/\).*/{ s//\1/; q; }
16933 test ! -n "$as_dirs" || mkdir $as_dirs
16934 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16935 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16936 { (exit 1); exit 1; }; }; }
16940 if test "$ac_dir" != .; then
16941 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16942 # A "../" for each directory in $ac_dir_suffix.
16943 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16945 ac_dir_suffix= ac_top_builddir=
16949 .) # No --srcdir option. We are building in place.
16951 if test -z "$ac_top_builddir"; then
16954 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
16956 [\\/]* | ?:[\\/]* ) # Absolute path.
16957 ac_srcdir=$srcdir$ac_dir_suffix;
16958 ac_top_srcdir=$srcdir ;;
16959 *) # Relative path.
16960 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
16961 ac_top_srcdir=$ac_top_builddir$srcdir ;;
16963 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
16965 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
16966 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
16967 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
16968 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
16972 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16973 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
16976 if test x"$ac_file" != x-; then
16977 { echo "$as_me:$LINENO: creating $ac_file" >&5
16978 echo "$as_me: creating $ac_file" >&6;}
16981 # Let's still pretend it is `configure' which instantiates (i.e., don't
16982 # use $as_me), people would be surprised to read:
16983 # /* config.h. Generated by config.status. */
16984 if test x"$ac_file" = x-; then
16987 configure_input="$ac_file. "
16989 configure_input=$configure_input"Generated from `echo $ac_file_in |
16990 sed 's,.*/,,'` by configure."
16992 # First look for the input files in the build tree, otherwise in the
16994 ac_file_inputs=`IFS=:
16995 for f in $ac_file_in; do
16997 -) echo $tmp/stdin ;;
16999 # Absolute (can't be DOS-style, as IFS=:)
17000 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17001 echo "$as_me: error: cannot find input file: $f" >&2;}
17002 { (exit 1); exit 1; }; }
17005 if test -f "$f"; then
17008 elif test -f "$srcdir/$f"; then
17013 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17014 echo "$as_me: error: cannot find input file: $f" >&2;}
17015 { (exit 1); exit 1; }; }
17018 done` || { (exit 1); exit 1; }
17020 cat >>$CONFIG_STATUS <<_ACEOF
17024 cat >>$CONFIG_STATUS <<\_ACEOF
17026 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17027 s,@configure_input@,$configure_input,;t t
17028 s,@srcdir@,$ac_srcdir,;t t
17029 s,@abs_srcdir@,$ac_abs_srcdir,;t t
17030 s,@top_srcdir@,$ac_top_srcdir,;t t
17031 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
17032 s,@builddir@,$ac_builddir,;t t
17033 s,@abs_builddir@,$ac_abs_builddir,;t t
17034 s,@top_builddir@,$ac_top_builddir,;t t
17035 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
17036 s,@INSTALL@,$ac_INSTALL,;t t
17037 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
17039 if test x"$ac_file" != x-; then
17040 mv $tmp/out $ac_file
17048 cat >>$CONFIG_STATUS <<\_ACEOF
17051 # CONFIG_HEADER section.
17054 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
17055 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17057 # ac_d sets the value in "#define NAME VALUE" lines.
17058 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17059 ac_dB='[ ].*$,\1#\2'
17062 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17063 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17064 ac_uB='$,\1#\2define\3'
17068 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
17069 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17071 - | *:- | *:-:* ) # input from stdin
17073 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
17074 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
17075 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
17076 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
17077 * ) ac_file_in=$ac_file.in ;;
17080 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
17081 echo "$as_me: creating $ac_file" >&6;}
17083 # First look for the input files in the build tree, otherwise in the
17085 ac_file_inputs=`IFS=:
17086 for f in $ac_file_in; do
17088 -) echo $tmp/stdin ;;
17090 # Absolute (can't be DOS-style, as IFS=:)
17091 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17092 echo "$as_me: error: cannot find input file: $f" >&2;}
17093 { (exit 1); exit 1; }; }
17096 if test -f "$f"; then
17099 elif test -f "$srcdir/$f"; then
17104 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17105 echo "$as_me: error: cannot find input file: $f" >&2;}
17106 { (exit 1); exit 1; }; }
17109 done` || { (exit 1); exit 1; }
17110 # Remove the trailing spaces.
17111 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
17115 # Transform confdefs.h into two sed scripts, `conftest.defines' and
17116 # `conftest.undefs', that substitutes the proper values into
17117 # config.h.in to produce config.h. The first handles `#define'
17118 # templates, and the second `#undef' templates.
17119 # And first: Protect against being on the right side of a sed subst in
17120 # config.status. Protect against being in an unquoted here document
17121 # in config.status.
17122 rm -f conftest.defines conftest.undefs
17123 # Using a here document instead of a string reduces the quoting nightmare.
17124 # Putting comments in sed scripts is not portable.
17126 # `end' is used to avoid that the second main sed command (meant for
17127 # 0-ary CPP macros) applies to n-ary macro definitions.
17128 # See the Autoconf documentation for `clear'.
17129 cat >confdef2sed.sed <<\_ACEOF
17134 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
17136 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
17139 # If some macros were called several times there might be several times
17140 # the same #defines, which is useless. Nevertheless, we may not want to
17141 # sort them, since we want the *last* AC-DEFINE to be honored.
17142 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
17143 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
17144 rm -f confdef2sed.sed
17146 # This sed command replaces #undef with comments. This is necessary, for
17147 # example, in the case of _POSIX_SOURCE, which is predefined and required
17148 # on some systems where configure will not decide to define it.
17149 cat >>conftest.undefs <<\_ACEOF
17150 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
17153 # Break up conftest.defines because some shells have a limit on the size
17154 # of here documents, and old seds have small limits too (100 cmds).
17155 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
17156 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
17157 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
17158 echo ' :' >>$CONFIG_STATUS
17159 rm -f conftest.tail
17160 while grep . conftest.defines >/dev/null
17162 # Write a limited-size here document to $tmp/defines.sed.
17163 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
17164 # Speed up: don't consider the non `#define' lines.
17165 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
17166 # Work around the forget-to-reset-the-flag bug.
17167 echo 't clr' >>$CONFIG_STATUS
17168 echo ': clr' >>$CONFIG_STATUS
17169 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
17171 sed -f $tmp/defines.sed $tmp/in >$tmp/out
17173 mv $tmp/out $tmp/in
17175 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
17176 rm -f conftest.defines
17177 mv conftest.tail conftest.defines
17179 rm -f conftest.defines
17180 echo ' fi # grep' >>$CONFIG_STATUS
17181 echo >>$CONFIG_STATUS
17183 # Break up conftest.undefs because some shells have a limit on the size
17184 # of here documents, and old seds have small limits too (100 cmds).
17185 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
17186 rm -f conftest.tail
17187 while grep . conftest.undefs >/dev/null
17189 # Write a limited-size here document to $tmp/undefs.sed.
17190 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
17191 # Speed up: don't consider the non `#undef'
17192 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
17193 # Work around the forget-to-reset-the-flag bug.
17194 echo 't clr' >>$CONFIG_STATUS
17195 echo ': clr' >>$CONFIG_STATUS
17196 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
17198 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
17200 mv $tmp/out $tmp/in
17202 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
17203 rm -f conftest.undefs
17204 mv conftest.tail conftest.undefs
17206 rm -f conftest.undefs
17208 cat >>$CONFIG_STATUS <<\_ACEOF
17209 # Let's still pretend it is `configure' which instantiates (i.e., don't
17210 # use $as_me), people would be surprised to read:
17211 # /* config.h. Generated by config.status. */
17212 if test x"$ac_file" = x-; then
17213 echo "/* Generated by configure. */" >$tmp/config.h
17215 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
17217 cat $tmp/in >>$tmp/config.h
17219 if test x"$ac_file" != x-; then
17220 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
17221 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
17222 echo "$as_me: $ac_file is unchanged" >&6;}
17224 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
17225 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17226 X"$ac_file" : 'X\(//\)[^/]' \| \
17227 X"$ac_file" : 'X\(//\)$' \| \
17228 X"$ac_file" : 'X\(/\)' \| \
17229 . : '\(.\)' 2>/dev/null ||
17231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17232 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17233 /^X\(\/\/\)$/{ s//\1/; q; }
17234 /^X\(\/\).*/{ s//\1/; q; }
17236 { if $as_mkdir_p; then
17241 while test ! -d "$as_dir"; do
17242 as_dirs="$as_dir $as_dirs"
17243 as_dir=`(dirname "$as_dir") 2>/dev/null ||
17244 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17245 X"$as_dir" : 'X\(//\)[^/]' \| \
17246 X"$as_dir" : 'X\(//\)$' \| \
17247 X"$as_dir" : 'X\(/\)' \| \
17248 . : '\(.\)' 2>/dev/null ||
17250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17251 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17252 /^X\(\/\/\)$/{ s//\1/; q; }
17253 /^X\(\/\).*/{ s//\1/; q; }
17256 test ! -n "$as_dirs" || mkdir $as_dirs
17257 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17258 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17259 { (exit 1); exit 1; }; }; }
17262 mv $tmp/config.h $ac_file
17266 rm -f $tmp/config.h
17270 cat >>$CONFIG_STATUS <<\_ACEOF
17273 # CONFIG_COMMANDS section.
17275 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
17276 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
17277 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
17278 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
17279 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17280 X"$ac_dest" : 'X\(//\)[^/]' \| \
17281 X"$ac_dest" : 'X\(//\)$' \| \
17282 X"$ac_dest" : 'X\(/\)' \| \
17283 . : '\(.\)' 2>/dev/null ||
17285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17286 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17287 /^X\(\/\/\)$/{ s//\1/; q; }
17288 /^X\(\/\).*/{ s//\1/; q; }
17292 if test "$ac_dir" != .; then
17293 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17294 # A "../" for each directory in $ac_dir_suffix.
17295 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17297 ac_dir_suffix= ac_top_builddir=
17301 .) # No --srcdir option. We are building in place.
17303 if test -z "$ac_top_builddir"; then
17306 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
17308 [\\/]* | ?:[\\/]* ) # Absolute path.
17309 ac_srcdir=$srcdir$ac_dir_suffix;
17310 ac_top_srcdir=$srcdir ;;
17311 *) # Relative path.
17312 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
17313 ac_top_srcdir=$ac_top_builddir$srcdir ;;
17315 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
17317 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
17318 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
17319 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
17320 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
17323 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
17324 echo "$as_me: executing $ac_dest commands" >&6;}
17326 controls ) test -d "controls" || ({ echo "$as_me:$LINENO: creating controls" >&5
17327 echo "$as_me: creating controls" >&6;} && mkdir "controls") ;;
17328 dlls/ddraw/d3ddevice ) test -d "dlls/ddraw/d3ddevice" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
17329 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir "dlls/ddraw/d3ddevice") ;;
17330 dlls/ddraw/dclipper ) test -d "dlls/ddraw/dclipper" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
17331 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir "dlls/ddraw/dclipper") ;;
17332 dlls/ddraw/ddraw ) test -d "dlls/ddraw/ddraw" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
17333 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir "dlls/ddraw/ddraw") ;;
17334 dlls/ddraw/direct3d ) test -d "dlls/ddraw/direct3d" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
17335 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir "dlls/ddraw/direct3d") ;;
17336 dlls/ddraw/dpalette ) test -d "dlls/ddraw/dpalette" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
17337 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir "dlls/ddraw/dpalette") ;;
17338 dlls/ddraw/dsurface ) test -d "dlls/ddraw/dsurface" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
17339 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir "dlls/ddraw/dsurface") ;;
17340 dlls/dinput/joystick ) test -d "dlls/dinput/joystick" || ({ echo "$as_me:$LINENO: creating dlls/dinput/joystick" >&5
17341 echo "$as_me: creating dlls/dinput/joystick" >&6;} && mkdir "dlls/dinput/joystick") ;;
17342 dlls/dinput/keyboard ) test -d "dlls/dinput/keyboard" || ({ echo "$as_me:$LINENO: creating dlls/dinput/keyboard" >&5
17343 echo "$as_me: creating dlls/dinput/keyboard" >&6;} && mkdir "dlls/dinput/keyboard") ;;
17344 dlls/dinput/mouse ) test -d "dlls/dinput/mouse" || ({ echo "$as_me:$LINENO: creating dlls/dinput/mouse" >&5
17345 echo "$as_me: creating dlls/dinput/mouse" >&6;} && mkdir "dlls/dinput/mouse") ;;
17346 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
17347 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
17348 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
17349 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
17350 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
17351 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
17352 dlls/user/dde ) test -d "dlls/user/dde" || ({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
17353 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir "dlls/user/dde") ;;
17354 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
17355 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
17356 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
17357 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
17358 files ) test -d "files" || ({ echo "$as_me:$LINENO: creating files" >&5
17359 echo "$as_me: creating files" >&6;} && mkdir "files") ;;
17360 graphics ) test -d "graphics" || ({ echo "$as_me:$LINENO: creating graphics" >&5
17361 echo "$as_me: creating graphics" >&6;} && mkdir "graphics") ;;
17362 graphics/x11drv ) test -d "graphics/x11drv" || ({ echo "$as_me:$LINENO: creating graphics/x11drv" >&5
17363 echo "$as_me: creating graphics/x11drv" >&6;} && mkdir "graphics/x11drv") ;;
17364 if1632 ) test -d "if1632" || ({ echo "$as_me:$LINENO: creating if1632" >&5
17365 echo "$as_me: creating if1632" >&6;} && mkdir "if1632") ;;
17366 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
17367 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
17368 loader ) test -d "loader" || ({ echo "$as_me:$LINENO: creating loader" >&5
17369 echo "$as_me: creating loader" >&6;} && mkdir "loader") ;;
17370 loader/ne ) test -d "loader/ne" || ({ echo "$as_me:$LINENO: creating loader/ne" >&5
17371 echo "$as_me: creating loader/ne" >&6;} && mkdir "loader/ne") ;;
17372 memory ) test -d "memory" || ({ echo "$as_me:$LINENO: creating memory" >&5
17373 echo "$as_me: creating memory" >&6;} && mkdir "memory") ;;
17374 misc ) test -d "misc" || ({ echo "$as_me:$LINENO: creating misc" >&5
17375 echo "$as_me: creating misc" >&6;} && mkdir "misc") ;;
17376 msdos ) test -d "msdos" || ({ echo "$as_me:$LINENO: creating msdos" >&5
17377 echo "$as_me: creating msdos" >&6;} && mkdir "msdos") ;;
17378 objects ) test -d "objects" || ({ echo "$as_me:$LINENO: creating objects" >&5
17379 echo "$as_me: creating objects" >&6;} && mkdir "objects") ;;
17380 ole ) test -d "ole" || ({ echo "$as_me:$LINENO: creating ole" >&5
17381 echo "$as_me: creating ole" >&6;} && mkdir "ole") ;;
17382 programs/regapi/tests ) test -d "programs/regapi/tests" || ({ echo "$as_me:$LINENO: creating programs/regapi/tests" >&5
17383 echo "$as_me: creating programs/regapi/tests" >&6;} && mkdir "programs/regapi/tests") ;;
17384 programs/regedit/tests ) test -d "programs/regedit/tests" || ({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
17385 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir "programs/regedit/tests") ;;
17386 relay32 ) test -d "relay32" || ({ echo "$as_me:$LINENO: creating relay32" >&5
17387 echo "$as_me: creating relay32" >&6;} && mkdir "relay32") ;;
17388 scheduler ) test -d "scheduler" || ({ echo "$as_me:$LINENO: creating scheduler" >&5
17389 echo "$as_me: creating scheduler" >&6;} && mkdir "scheduler") ;;
17390 win32 ) test -d "win32" || ({ echo "$as_me:$LINENO: creating win32" >&5
17391 echo "$as_me: creating win32" >&6;} && mkdir "win32") ;;
17392 windows ) test -d "windows" || ({ echo "$as_me:$LINENO: creating windows" >&5
17393 echo "$as_me: creating windows" >&6;} && mkdir "windows") ;;
17398 cat >>$CONFIG_STATUS <<\_ACEOF
17400 { (exit 0); exit 0; }
17402 chmod +x $CONFIG_STATUS
17403 ac_clean_files=$ac_clean_files_save
17406 # configure is writing to config.log, and then calls config.status.
17407 # config.status does its own redirection, appending to config.log.
17408 # Unfortunately, on DOS this fails, as config.log is still kept open
17409 # by configure, so config.status won't be able to write to it; its
17410 # output is simply discarded. So we exec the FD to /dev/null,
17411 # effectively closing config.log, so it can be properly (re)opened and
17412 # appended to by config.status. When coming back to configure, we
17413 # need to make the FD available again.
17414 if test "$no_create" != yes; then
17416 ac_config_status_args=
17417 test "$silent" = yes &&
17418 ac_config_status_args="$ac_config_status_args --quiet"
17420 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17422 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17423 # would make configure fail if this is the last instruction.
17424 $ac_cs_success || { (exit 1); exit 1; }
17428 if test "$have_x" = "no"
17431 echo "*** Warning: X development files not found. Wine will be built without"
17432 echo "*** X support, which currently does not work, and would probably not be"
17433 echo "*** what you want anyway. You will need to install devel packages of"
17434 echo "*** Xlib/Xfree86 at the very least."
17437 if test "$ac_cv_lib_ncurses_resizeterm" = "no" -a "$ac_cv_lib_ncurses_waddch" = "yes"
17440 echo "*** Warning: resizeterm not found in ncurses. Wine will be built without"
17441 echo "*** terminal resize support. Consider upgrading ncurses."
17444 if test "$wine_cv_libc_reentrant" = "no"
17447 echo "*** Warning: non-reentrant libc detected. Wine will be built without"
17448 echo "*** threading support. Consider upgrading libc to a more recent"
17449 echo "*** reentrant version of libc."
17452 if test "$wine_cv_opengl_version_OK" = "no"
17455 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
17456 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
17459 if test "$wine_cv_msg_freetype" = "yes"
17462 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
17463 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
17464 echo "*** freetype-devel package (or its equivalent on your distribution) to"
17465 echo "*** enable Wine to use TrueType fonts."
17469 echo "Configure finished. Do 'make depend && make' to compile Wine."