2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for Wine 20021219.
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='20021219'
270 PACKAGE_STRING='Wine 20021219'
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 XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ft_devel ft_devel2 FREETYPEINCL ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS DLLEXT DLLFLAGS DLLIBS LDDLLFLAGS LDSHARED LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP CROSSTEST CROSSCC LDPATH CRTLIBS LDD ALLOCA LIBOBJS LTLIBOBJS'
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 20021219 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 20021219:";;
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 20021219
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 20021219, 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
6391 if test "$have_x" = "yes"
6394 ac_save_CPPFLAGS="$CPPFLAGS"
6395 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
6398 for ac_header in X11/Xlib.h
6400 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6402 echo "$as_me:$LINENO: checking for $ac_header" >&5
6403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6405 echo $ECHO_N "(cached) $ECHO_C" >&6
6407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6408 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6410 # Is the header compilable?
6411 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6412 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6413 cat >conftest.$ac_ext <<_ACEOF
6414 #line $LINENO "configure"
6417 cat confdefs.h >>conftest.$ac_ext
6418 cat >>conftest.$ac_ext <<_ACEOF
6419 /* end confdefs.h. */
6420 $ac_includes_default
6421 #include <$ac_header>
6423 rm -f conftest.$ac_objext
6424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6425 (eval $ac_compile) 2>&5
6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 (exit $ac_status); } &&
6429 { ac_try='test -s conftest.$ac_objext'
6430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 (exit $ac_status); }; }; then
6435 ac_header_compiler=yes
6437 echo "$as_me: failed program was:" >&5
6438 sed 's/^/| /' conftest.$ac_ext >&5
6440 ac_header_compiler=no
6442 rm -f conftest.$ac_objext conftest.$ac_ext
6443 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6444 echo "${ECHO_T}$ac_header_compiler" >&6
6446 # Is the header present?
6447 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6448 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6449 cat >conftest.$ac_ext <<_ACEOF
6450 #line $LINENO "configure"
6453 cat confdefs.h >>conftest.$ac_ext
6454 cat >>conftest.$ac_ext <<_ACEOF
6455 /* end confdefs.h. */
6456 #include <$ac_header>
6458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6459 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6461 grep -v '^ *+' conftest.er1 >conftest.err
6463 cat conftest.err >&5
6464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465 (exit $ac_status); } >/dev/null; then
6466 if test -s conftest.err; then
6467 ac_cpp_err=$ac_c_preproc_warn_flag
6474 if test -z "$ac_cpp_err"; then
6475 ac_header_preproc=yes
6477 echo "$as_me: failed program was:" >&5
6478 sed 's/^/| /' conftest.$ac_ext >&5
6480 ac_header_preproc=no
6482 rm -f conftest.err conftest.$ac_ext
6483 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6484 echo "${ECHO_T}$ac_header_preproc" >&6
6486 # So? What about this header?
6487 case $ac_header_compiler:$ac_header_preproc in
6489 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6490 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6492 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6495 ## ------------------------------------ ##
6496 ## Report this to bug-autoconf@gnu.org. ##
6497 ## ------------------------------------ ##
6500 sed "s/^/$as_me: WARNING: /" >&2
6503 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6504 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6505 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6506 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6507 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6508 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6511 ## ------------------------------------ ##
6512 ## Report this to bug-autoconf@gnu.org. ##
6513 ## ------------------------------------ ##
6516 sed "s/^/$as_me: WARNING: /" >&2
6519 echo "$as_me:$LINENO: checking for $ac_header" >&5
6520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6522 echo $ECHO_N "(cached) $ECHO_C" >&6
6524 eval "$as_ac_Header=$ac_header_preproc"
6526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6531 cat >>confdefs.h <<_ACEOF
6532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6536 for ac_header in X11/XKBlib.h
6538 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6539 echo "$as_me:$LINENO: checking for $ac_header" >&5
6540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6542 echo $ECHO_N "(cached) $ECHO_C" >&6
6544 cat >conftest.$ac_ext <<_ACEOF
6545 #line $LINENO "configure"
6548 cat confdefs.h >>conftest.$ac_ext
6549 cat >>conftest.$ac_ext <<_ACEOF
6550 /* end confdefs.h. */
6551 #include <X11/Xlib.h>
6553 #include <$ac_header>
6555 rm -f conftest.$ac_objext
6556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6557 (eval $ac_compile) 2>&5
6559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6560 (exit $ac_status); } &&
6561 { ac_try='test -s conftest.$ac_objext'
6562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566 (exit $ac_status); }; }; then
6567 eval "$as_ac_Header=yes"
6569 echo "$as_me: failed program was:" >&5
6570 sed 's/^/| /' conftest.$ac_ext >&5
6572 eval "$as_ac_Header=no"
6574 rm -f conftest.$ac_objext conftest.$ac_ext
6576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6577 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6578 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6579 cat >>confdefs.h <<_ACEOF
6580 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6582 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
6583 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
6584 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
6585 echo $ECHO_N "(cached) $ECHO_C" >&6
6587 ac_check_lib_save_LIBS=$LIBS
6588 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_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. */
6603 char XkbQueryExtension ();
6607 XkbQueryExtension ();
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_X11_XkbQueryExtension=yes
6626 echo "$as_me: failed program was:" >&5
6627 sed 's/^/| /' conftest.$ac_ext >&5
6629 ac_cv_lib_X11_XkbQueryExtension=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_X11_XkbQueryExtension" >&5
6635 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
6636 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
6638 cat >>confdefs.h <<\_ACEOF
6646 { echo "$as_me:$LINENO: WARNING: Xkb extension not found, Wine will be built without it" >&5
6647 echo "$as_me: WARNING: Xkb extension not found, Wine will be built without it" >&2;}
6654 for ac_header in X11/extensions/XShm.h
6656 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6657 echo "$as_me:$LINENO: checking for $ac_header" >&5
6658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6659 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6660 echo $ECHO_N "(cached) $ECHO_C" >&6
6662 cat >conftest.$ac_ext <<_ACEOF
6663 #line $LINENO "configure"
6666 cat confdefs.h >>conftest.$ac_ext
6667 cat >>conftest.$ac_ext <<_ACEOF
6668 /* end confdefs.h. */
6669 #include <X11/Xlib.h>
6671 #include <$ac_header>
6673 rm -f conftest.$ac_objext
6674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6675 (eval $ac_compile) 2>&5
6677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678 (exit $ac_status); } &&
6679 { ac_try='test -s conftest.$ac_objext'
6680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6684 (exit $ac_status); }; }; then
6685 eval "$as_ac_Header=yes"
6687 echo "$as_me: failed program was:" >&5
6688 sed 's/^/| /' conftest.$ac_ext >&5
6690 eval "$as_ac_Header=no"
6692 rm -f conftest.$ac_objext conftest.$ac_ext
6694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6695 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6696 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6697 cat >>confdefs.h <<_ACEOF
6698 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6700 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
6701 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
6702 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
6703 echo $ECHO_N "(cached) $ECHO_C" >&6
6705 ac_check_lib_save_LIBS=$LIBS
6706 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6707 cat >conftest.$ac_ext <<_ACEOF
6708 #line $LINENO "configure"
6711 cat confdefs.h >>conftest.$ac_ext
6712 cat >>conftest.$ac_ext <<_ACEOF
6713 /* end confdefs.h. */
6715 /* Override any gcc2 internal prototype to avoid an error. */
6719 /* We use char because int might match the return type of a gcc2
6720 builtin and then its argument prototype would still apply. */
6721 char XShmQueryExtension ();
6725 XShmQueryExtension ();
6730 rm -f conftest.$ac_objext conftest$ac_exeext
6731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6732 (eval $ac_link) 2>&5
6734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6735 (exit $ac_status); } &&
6736 { ac_try='test -s conftest$ac_exeext'
6737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6741 (exit $ac_status); }; }; then
6742 ac_cv_lib_Xext_XShmQueryExtension=yes
6744 echo "$as_me: failed program was:" >&5
6745 sed 's/^/| /' conftest.$ac_ext >&5
6747 ac_cv_lib_Xext_XShmQueryExtension=no
6749 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6750 LIBS=$ac_check_lib_save_LIBS
6752 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
6753 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
6754 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
6756 cat >>confdefs.h <<\_ACEOF
6757 #define HAVE_LIBXXSHM 1
6764 { echo "$as_me:$LINENO: WARNING: XShm extension not found, Wine will be built without it" >&5
6765 echo "$as_me: WARNING: XShm extension not found, Wine will be built without it" >&2;}
6772 for ac_header in X11/Xutil.h
6774 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6775 echo "$as_me:$LINENO: checking for $ac_header" >&5
6776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6778 echo $ECHO_N "(cached) $ECHO_C" >&6
6780 cat >conftest.$ac_ext <<_ACEOF
6781 #line $LINENO "configure"
6784 cat confdefs.h >>conftest.$ac_ext
6785 cat >>conftest.$ac_ext <<_ACEOF
6786 /* end confdefs.h. */
6787 #include <X11/Xlib.h>
6789 #include <$ac_header>
6791 rm -f conftest.$ac_objext
6792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6793 (eval $ac_compile) 2>&5
6795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6796 (exit $ac_status); } &&
6797 { ac_try='test -s conftest.$ac_objext'
6798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6802 (exit $ac_status); }; }; then
6803 eval "$as_ac_Header=yes"
6805 echo "$as_me: failed program was:" >&5
6806 sed 's/^/| /' conftest.$ac_ext >&5
6808 eval "$as_ac_Header=no"
6810 rm -f conftest.$ac_objext conftest.$ac_ext
6812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6815 cat >>confdefs.h <<_ACEOF
6816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6825 for ac_header in X11/extensions/shape.h
6827 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6828 echo "$as_me:$LINENO: checking for $ac_header" >&5
6829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6831 echo $ECHO_N "(cached) $ECHO_C" >&6
6833 cat >conftest.$ac_ext <<_ACEOF
6834 #line $LINENO "configure"
6837 cat confdefs.h >>conftest.$ac_ext
6838 cat >>conftest.$ac_ext <<_ACEOF
6839 /* end confdefs.h. */
6840 #include <X11/Xlib.h>
6841 #ifdef HAVE_X11_XUTIL_H
6842 # include <X11/Xutil.h>
6845 #include <$ac_header>
6847 rm -f conftest.$ac_objext
6848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6849 (eval $ac_compile) 2>&5
6851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); } &&
6853 { ac_try='test -s conftest.$ac_objext'
6854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6858 (exit $ac_status); }; }; then
6859 eval "$as_ac_Header=yes"
6861 echo "$as_me: failed program was:" >&5
6862 sed 's/^/| /' conftest.$ac_ext >&5
6864 eval "$as_ac_Header=no"
6866 rm -f conftest.$ac_objext conftest.$ac_ext
6868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6870 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6871 cat >>confdefs.h <<_ACEOF
6872 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6874 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
6875 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6876 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6877 echo $ECHO_N "(cached) $ECHO_C" >&6
6879 ac_check_lib_save_LIBS=$LIBS
6880 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6881 cat >conftest.$ac_ext <<_ACEOF
6882 #line $LINENO "configure"
6885 cat confdefs.h >>conftest.$ac_ext
6886 cat >>conftest.$ac_ext <<_ACEOF
6887 /* end confdefs.h. */
6889 /* Override any gcc2 internal prototype to avoid an error. */
6893 /* We use char because int might match the return type of a gcc2
6894 builtin and then its argument prototype would still apply. */
6895 char XShapeQueryExtension ();
6899 XShapeQueryExtension ();
6904 rm -f conftest.$ac_objext conftest$ac_exeext
6905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6906 (eval $ac_link) 2>&5
6908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909 (exit $ac_status); } &&
6910 { ac_try='test -s conftest$ac_exeext'
6911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6915 (exit $ac_status); }; }; then
6916 ac_cv_lib_Xext_XShapeQueryExtension=yes
6918 echo "$as_me: failed program was:" >&5
6919 sed 's/^/| /' conftest.$ac_ext >&5
6921 ac_cv_lib_Xext_XShapeQueryExtension=no
6923 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6924 LIBS=$ac_check_lib_save_LIBS
6926 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6927 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6928 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6930 cat >>confdefs.h <<\_ACEOF
6931 #define HAVE_LIBXSHAPE 1
6938 { echo "$as_me:$LINENO: WARNING: XShape extension not found, Wine will be built without it" >&5
6939 echo "$as_me: WARNING: XShape extension not found, Wine will be built without it" >&2;}
6946 for ac_header in X11/extensions/xf86dga.h
6948 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6949 echo "$as_me:$LINENO: checking for $ac_header" >&5
6950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6952 echo $ECHO_N "(cached) $ECHO_C" >&6
6954 cat >conftest.$ac_ext <<_ACEOF
6955 #line $LINENO "configure"
6958 cat confdefs.h >>conftest.$ac_ext
6959 cat >>conftest.$ac_ext <<_ACEOF
6960 /* end confdefs.h. */
6961 #include <X11/Xlib.h>
6963 #include <$ac_header>
6965 rm -f conftest.$ac_objext
6966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6967 (eval $ac_compile) 2>&5
6969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6970 (exit $ac_status); } &&
6971 { ac_try='test -s conftest.$ac_objext'
6972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6976 (exit $ac_status); }; }; then
6977 eval "$as_ac_Header=yes"
6979 echo "$as_me: failed program was:" >&5
6980 sed 's/^/| /' conftest.$ac_ext >&5
6982 eval "$as_ac_Header=no"
6984 rm -f conftest.$ac_objext conftest.$ac_ext
6986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6988 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6989 cat >>confdefs.h <<_ACEOF
6990 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6992 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
6993 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
6994 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
6995 echo $ECHO_N "(cached) $ECHO_C" >&6
6997 ac_check_lib_save_LIBS=$LIBS
6998 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7000 cat >conftest.$ac_ext <<_ACEOF
7001 #line $LINENO "configure"
7004 cat confdefs.h >>conftest.$ac_ext
7005 cat >>conftest.$ac_ext <<_ACEOF
7006 /* end confdefs.h. */
7008 /* Override any gcc2 internal prototype to avoid an error. */
7012 /* We use char because int might match the return type of a gcc2
7013 builtin and then its argument prototype would still apply. */
7014 char XDGAQueryExtension ();
7018 XDGAQueryExtension ();
7023 rm -f conftest.$ac_objext conftest$ac_exeext
7024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7025 (eval $ac_link) 2>&5
7027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7028 (exit $ac_status); } &&
7029 { ac_try='test -s conftest$ac_exeext'
7030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7034 (exit $ac_status); }; }; then
7035 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
7037 echo "$as_me: failed program was:" >&5
7038 sed 's/^/| /' conftest.$ac_ext >&5
7040 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
7042 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7043 LIBS=$ac_check_lib_save_LIBS
7045 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
7046 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
7047 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
7049 cat >>confdefs.h <<\_ACEOF
7050 #define HAVE_LIBXXF86DGA2 1
7053 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7056 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
7057 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7058 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
7059 echo $ECHO_N "(cached) $ECHO_C" >&6
7061 ac_check_lib_save_LIBS=$LIBS
7062 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7064 cat >conftest.$ac_ext <<_ACEOF
7065 #line $LINENO "configure"
7068 cat confdefs.h >>conftest.$ac_ext
7069 cat >>conftest.$ac_ext <<_ACEOF
7070 /* end confdefs.h. */
7072 /* Override any gcc2 internal prototype to avoid an error. */
7076 /* We use char because int might match the return type of a gcc2
7077 builtin and then its argument prototype would still apply. */
7078 char XF86DGAQueryExtension ();
7082 XF86DGAQueryExtension ();
7087 rm -f conftest.$ac_objext conftest$ac_exeext
7088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7089 (eval $ac_link) 2>&5
7091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7092 (exit $ac_status); } &&
7093 { ac_try='test -s conftest$ac_exeext'
7094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7098 (exit $ac_status); }; }; then
7099 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=yes
7101 echo "$as_me: failed program was:" >&5
7102 sed 's/^/| /' conftest.$ac_ext >&5
7104 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no
7106 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7107 LIBS=$ac_check_lib_save_LIBS
7109 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
7110 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
7111 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
7113 cat >>confdefs.h <<\_ACEOF
7114 #define HAVE_LIBXXF86DGA 1
7117 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7126 { echo "$as_me:$LINENO: WARNING: DGA extension not found, Wine will be built without it" >&5
7127 echo "$as_me: WARNING: DGA extension not found, Wine will be built without it" >&2;}
7134 for ac_header in X11/extensions/xf86vmode.h
7136 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7137 echo "$as_me:$LINENO: checking for $ac_header" >&5
7138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7140 echo $ECHO_N "(cached) $ECHO_C" >&6
7142 cat >conftest.$ac_ext <<_ACEOF
7143 #line $LINENO "configure"
7146 cat confdefs.h >>conftest.$ac_ext
7147 cat >>conftest.$ac_ext <<_ACEOF
7148 /* end confdefs.h. */
7149 #include <X11/Xlib.h>
7151 #include <$ac_header>
7153 rm -f conftest.$ac_objext
7154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7155 (eval $ac_compile) 2>&5
7157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7158 (exit $ac_status); } &&
7159 { ac_try='test -s conftest.$ac_objext'
7160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164 (exit $ac_status); }; }; then
7165 eval "$as_ac_Header=yes"
7167 echo "$as_me: failed program was:" >&5
7168 sed 's/^/| /' conftest.$ac_ext >&5
7170 eval "$as_ac_Header=no"
7172 rm -f conftest.$ac_objext conftest.$ac_ext
7174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7176 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7177 cat >>confdefs.h <<_ACEOF
7178 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7180 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7181 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7182 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7183 echo $ECHO_N "(cached) $ECHO_C" >&6
7185 ac_check_lib_save_LIBS=$LIBS
7186 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7188 cat >conftest.$ac_ext <<_ACEOF
7189 #line $LINENO "configure"
7192 cat confdefs.h >>conftest.$ac_ext
7193 cat >>conftest.$ac_ext <<_ACEOF
7194 /* end confdefs.h. */
7196 /* Override any gcc2 internal prototype to avoid an error. */
7200 /* We use char because int might match the return type of a gcc2
7201 builtin and then its argument prototype would still apply. */
7202 char XF86VidModeQueryExtension ();
7206 XF86VidModeQueryExtension ();
7211 rm -f conftest.$ac_objext conftest$ac_exeext
7212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7213 (eval $ac_link) 2>&5
7215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7216 (exit $ac_status); } &&
7217 { ac_try='test -s conftest$ac_exeext'
7218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222 (exit $ac_status); }; }; then
7223 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
7225 echo "$as_me: failed program was:" >&5
7226 sed 's/^/| /' conftest.$ac_ext >&5
7228 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
7230 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7231 LIBS=$ac_check_lib_save_LIBS
7233 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7234 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7235 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
7237 cat >>confdefs.h <<\_ACEOF
7238 #define HAVE_LIBXXF86VM 1
7241 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
7247 { echo "$as_me:$LINENO: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&5
7248 echo "$as_me: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&2;}
7255 for ac_header in X11/extensions/Xvlib.h
7257 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7258 echo "$as_me:$LINENO: checking for $ac_header" >&5
7259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7261 echo $ECHO_N "(cached) $ECHO_C" >&6
7263 cat >conftest.$ac_ext <<_ACEOF
7264 #line $LINENO "configure"
7267 cat confdefs.h >>conftest.$ac_ext
7268 cat >>conftest.$ac_ext <<_ACEOF
7269 /* end confdefs.h. */
7270 #include <X11/Xlib.h>
7272 #include <$ac_header>
7274 rm -f conftest.$ac_objext
7275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7276 (eval $ac_compile) 2>&5
7278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279 (exit $ac_status); } &&
7280 { ac_try='test -s conftest.$ac_objext'
7281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7285 (exit $ac_status); }; }; then
7286 eval "$as_ac_Header=yes"
7288 echo "$as_me: failed program was:" >&5
7289 sed 's/^/| /' conftest.$ac_ext >&5
7291 eval "$as_ac_Header=no"
7293 rm -f conftest.$ac_objext conftest.$ac_ext
7295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7297 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7298 cat >>confdefs.h <<_ACEOF
7299 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7301 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
7302 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
7303 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
7304 echo $ECHO_N "(cached) $ECHO_C" >&6
7306 ac_check_lib_save_LIBS=$LIBS
7307 LIBS="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7309 cat >conftest.$ac_ext <<_ACEOF
7310 #line $LINENO "configure"
7313 cat confdefs.h >>conftest.$ac_ext
7314 cat >>conftest.$ac_ext <<_ACEOF
7315 /* end confdefs.h. */
7317 /* Override any gcc2 internal prototype to avoid an error. */
7321 /* We use char because int might match the return type of a gcc2
7322 builtin and then its argument prototype would still apply. */
7323 char XvShmCreateImage ();
7327 XvShmCreateImage ();
7332 rm -f conftest.$ac_objext conftest$ac_exeext
7333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7334 (eval $ac_link) 2>&5
7336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7337 (exit $ac_status); } &&
7338 { ac_try='test -s conftest$ac_exeext'
7339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7343 (exit $ac_status); }; }; then
7344 ac_cv_lib_Xv_XvShmCreateImage=yes
7346 echo "$as_me: failed program was:" >&5
7347 sed 's/^/| /' conftest.$ac_ext >&5
7349 ac_cv_lib_Xv_XvShmCreateImage=no
7351 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7352 LIBS=$ac_check_lib_save_LIBS
7354 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
7355 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
7356 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
7358 cat >>confdefs.h <<\_ACEOF
7359 #define HAVE_XVIDEO 1
7362 X_PRE_LIBS="$X_PRE_LIBS -lXv"
7368 { echo "$as_me:$LINENO: WARNING: XVideo extension not found, Wine will be built without it" >&5
7369 echo "$as_me: WARNING: XVideo extension not found, Wine will be built without it" >&2;}
7376 for ac_header in X11/extensions/Xrender.h
7378 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7379 echo "$as_me:$LINENO: checking for $ac_header" >&5
7380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7382 echo $ECHO_N "(cached) $ECHO_C" >&6
7384 cat >conftest.$ac_ext <<_ACEOF
7385 #line $LINENO "configure"
7388 cat confdefs.h >>conftest.$ac_ext
7389 cat >>conftest.$ac_ext <<_ACEOF
7390 /* end confdefs.h. */
7391 #include <X11/Xlib.h>
7393 #include <$ac_header>
7395 rm -f conftest.$ac_objext
7396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7397 (eval $ac_compile) 2>&5
7399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7400 (exit $ac_status); } &&
7401 { ac_try='test -s conftest.$ac_objext'
7402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7406 (exit $ac_status); }; }; then
7407 eval "$as_ac_Header=yes"
7409 echo "$as_me: failed program was:" >&5
7410 sed 's/^/| /' conftest.$ac_ext >&5
7412 eval "$as_ac_Header=no"
7414 rm -f conftest.$ac_objext conftest.$ac_ext
7416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7417 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7418 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7419 cat >>confdefs.h <<_ACEOF
7420 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7433 if test "x$with_opengl" != "xno"
7435 if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
7437 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
7438 This prevents linking to OpenGL. Delete the file and restart configure." >&5
7439 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
7440 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
7441 { (exit 1); exit 1; }; }
7446 for ac_header in GL/gl.h GL/glx.h
7448 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7449 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7450 echo "$as_me:$LINENO: checking for $ac_header" >&5
7451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7453 echo $ECHO_N "(cached) $ECHO_C" >&6
7455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7456 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7458 # Is the header compilable?
7459 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7460 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7461 cat >conftest.$ac_ext <<_ACEOF
7462 #line $LINENO "configure"
7465 cat confdefs.h >>conftest.$ac_ext
7466 cat >>conftest.$ac_ext <<_ACEOF
7467 /* end confdefs.h. */
7468 $ac_includes_default
7469 #include <$ac_header>
7471 rm -f conftest.$ac_objext
7472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7473 (eval $ac_compile) 2>&5
7475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7476 (exit $ac_status); } &&
7477 { ac_try='test -s conftest.$ac_objext'
7478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7482 (exit $ac_status); }; }; then
7483 ac_header_compiler=yes
7485 echo "$as_me: failed program was:" >&5
7486 sed 's/^/| /' conftest.$ac_ext >&5
7488 ac_header_compiler=no
7490 rm -f conftest.$ac_objext conftest.$ac_ext
7491 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7492 echo "${ECHO_T}$ac_header_compiler" >&6
7494 # Is the header present?
7495 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7496 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7497 cat >conftest.$ac_ext <<_ACEOF
7498 #line $LINENO "configure"
7501 cat confdefs.h >>conftest.$ac_ext
7502 cat >>conftest.$ac_ext <<_ACEOF
7503 /* end confdefs.h. */
7504 #include <$ac_header>
7506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7507 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7509 grep -v '^ *+' conftest.er1 >conftest.err
7511 cat conftest.err >&5
7512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7513 (exit $ac_status); } >/dev/null; then
7514 if test -s conftest.err; then
7515 ac_cpp_err=$ac_c_preproc_warn_flag
7522 if test -z "$ac_cpp_err"; then
7523 ac_header_preproc=yes
7525 echo "$as_me: failed program was:" >&5
7526 sed 's/^/| /' conftest.$ac_ext >&5
7528 ac_header_preproc=no
7530 rm -f conftest.err conftest.$ac_ext
7531 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7532 echo "${ECHO_T}$ac_header_preproc" >&6
7534 # So? What about this header?
7535 case $ac_header_compiler:$ac_header_preproc in
7537 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7538 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7540 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7543 ## ------------------------------------ ##
7544 ## Report this to bug-autoconf@gnu.org. ##
7545 ## ------------------------------------ ##
7548 sed "s/^/$as_me: WARNING: /" >&2
7551 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7552 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7553 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7554 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7556 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7559 ## ------------------------------------ ##
7560 ## Report this to bug-autoconf@gnu.org. ##
7561 ## ------------------------------------ ##
7564 sed "s/^/$as_me: WARNING: /" >&2
7567 echo "$as_me:$LINENO: checking for $ac_header" >&5
7568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7570 echo $ECHO_N "(cached) $ECHO_C" >&6
7572 eval "$as_ac_Header=$ac_header_preproc"
7574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7578 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7579 cat >>confdefs.h <<_ACEOF
7580 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7587 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
7590 for ac_header in GL/glext.h
7592 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7593 echo "$as_me:$LINENO: checking for $ac_header" >&5
7594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7596 echo $ECHO_N "(cached) $ECHO_C" >&6
7598 cat >conftest.$ac_ext <<_ACEOF
7599 #line $LINENO "configure"
7602 cat confdefs.h >>conftest.$ac_ext
7603 cat >>conftest.$ac_ext <<_ACEOF
7604 /* end confdefs.h. */
7607 #include <$ac_header>
7609 rm -f conftest.$ac_objext
7610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7611 (eval $ac_compile) 2>&5
7613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7614 (exit $ac_status); } &&
7615 { ac_try='test -s conftest.$ac_objext'
7616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7620 (exit $ac_status); }; }; then
7621 eval "$as_ac_Header=yes"
7623 echo "$as_me: failed program was:" >&5
7624 sed 's/^/| /' conftest.$ac_ext >&5
7626 eval "$as_ac_Header=no"
7628 rm -f conftest.$ac_objext conftest.$ac_ext
7630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7631 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7632 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7633 cat >>confdefs.h <<_ACEOF
7634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7641 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
7642 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
7643 if test "${wine_cv_opengl_version_OK+set}" = set; then
7644 echo $ECHO_N "(cached) $ECHO_C" >&6
7646 cat >conftest.$ac_ext <<_ACEOF
7647 #line $LINENO "configure"
7650 cat confdefs.h >>conftest.$ac_ext
7651 cat >>conftest.$ac_ext <<_ACEOF
7652 /* end confdefs.h. */
7657 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
7662 rm -f conftest.$ac_objext
7663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7664 (eval $ac_compile) 2>&5
7666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7667 (exit $ac_status); } &&
7668 { ac_try='test -s conftest.$ac_objext'
7669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673 (exit $ac_status); }; }; then
7674 wine_cv_opengl_version_OK="yes"
7676 echo "$as_me: failed program was:" >&5
7677 sed 's/^/| /' conftest.$ac_ext >&5
7679 wine_cv_opengl_version_OK="no"
7682 rm -f conftest.$ac_objext conftest.$ac_ext
7685 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
7686 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
7688 if test "$wine_cv_opengl_version_OK" = "yes"
7690 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
7691 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
7692 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
7693 echo $ECHO_N "(cached) $ECHO_C" >&6
7695 ac_check_lib_save_LIBS=$LIBS
7696 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7697 cat >conftest.$ac_ext <<_ACEOF
7698 #line $LINENO "configure"
7701 cat confdefs.h >>conftest.$ac_ext
7702 cat >>conftest.$ac_ext <<_ACEOF
7703 /* end confdefs.h. */
7705 /* Override any gcc2 internal prototype to avoid an error. */
7709 /* We use char because int might match the return type of a gcc2
7710 builtin and then its argument prototype would still apply. */
7711 char glXCreateContext ();
7715 glXCreateContext ();
7720 rm -f conftest.$ac_objext conftest$ac_exeext
7721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7722 (eval $ac_link) 2>&5
7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); } &&
7726 { ac_try='test -s conftest$ac_exeext'
7727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731 (exit $ac_status); }; }; then
7732 ac_cv_lib_GL_glXCreateContext=yes
7734 echo "$as_me: failed program was:" >&5
7735 sed 's/^/| /' conftest.$ac_ext >&5
7737 ac_cv_lib_GL_glXCreateContext=no
7739 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7740 LIBS=$ac_check_lib_save_LIBS
7742 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
7743 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
7744 if test $ac_cv_lib_GL_glXCreateContext = yes; then
7750 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
7752 OPENGLFILES='$(OPENGLFILES)'
7754 cat >>confdefs.h <<\_ACEOF
7755 #define HAVE_OPENGL 1
7759 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
7760 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
7761 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
7762 echo $ECHO_N "(cached) $ECHO_C" >&6
7764 ac_check_lib_save_LIBS=$LIBS
7765 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7766 cat >conftest.$ac_ext <<_ACEOF
7767 #line $LINENO "configure"
7770 cat confdefs.h >>conftest.$ac_ext
7771 cat >>conftest.$ac_ext <<_ACEOF
7772 /* end confdefs.h. */
7774 /* Override any gcc2 internal prototype to avoid an error. */
7778 /* We use char because int might match the return type of a gcc2
7779 builtin and then its argument prototype would still apply. */
7780 char glXGetProcAddressARB ();
7784 glXGetProcAddressARB ();
7789 rm -f conftest.$ac_objext conftest$ac_exeext
7790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7791 (eval $ac_link) 2>&5
7793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7794 (exit $ac_status); } &&
7795 { ac_try='test -s conftest$ac_exeext'
7796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7800 (exit $ac_status); }; }; then
7801 ac_cv_lib_GL_glXGetProcAddressARB=yes
7803 echo "$as_me: failed program was:" >&5
7804 sed 's/^/| /' conftest.$ac_ext >&5
7806 ac_cv_lib_GL_glXGetProcAddressARB=no
7808 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7809 LIBS=$ac_check_lib_save_LIBS
7811 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
7812 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
7813 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
7815 cat >>confdefs.h <<\_ACEOF
7816 #define HAVE_GLX_GETPROCADDRESS 1
7822 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
7824 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
7825 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
7826 if test "${wine_cv_extension_prototypes+set}" = set; then
7827 echo $ECHO_N "(cached) $ECHO_C" >&6
7829 cat >conftest.$ac_ext <<_ACEOF
7830 #line $LINENO "configure"
7833 cat confdefs.h >>conftest.$ac_ext
7834 cat >>conftest.$ac_ext <<_ACEOF
7835 /* end confdefs.h. */
7837 #ifdef HAVE_GL_GLEXT_H
7838 # include <GL/glext.h>
7844 PFNGLCOLORTABLEEXTPROC test_proc;
7849 rm -f conftest.$ac_objext
7850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7851 (eval $ac_compile) 2>&5
7853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7854 (exit $ac_status); } &&
7855 { ac_try='test -s conftest.$ac_objext'
7856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7860 (exit $ac_status); }; }; then
7861 wine_cv_extension_prototypes="yes"
7863 echo "$as_me: failed program was:" >&5
7864 sed 's/^/| /' conftest.$ac_ext >&5
7866 wine_cv_extension_prototypes="no"
7869 rm -f conftest.$ac_objext conftest.$ac_ext
7872 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
7873 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
7874 if test "$wine_cv_extension_prototypes" = "yes"
7877 cat >>confdefs.h <<\_ACEOF
7878 #define HAVE_GLEXT_PROTOTYPES 1
7885 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
7886 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
7887 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
7888 echo $ECHO_N "(cached) $ECHO_C" >&6
7890 ac_check_lib_save_LIBS=$LIBS
7891 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
7893 cat >conftest.$ac_ext <<_ACEOF
7894 #line $LINENO "configure"
7897 cat confdefs.h >>conftest.$ac_ext
7898 cat >>conftest.$ac_ext <<_ACEOF
7899 /* end confdefs.h. */
7901 /* Override any gcc2 internal prototype to avoid an error. */
7905 /* We use char because int might match the return type of a gcc2
7906 builtin and then its argument prototype would still apply. */
7916 rm -f conftest.$ac_objext conftest$ac_exeext
7917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7918 (eval $ac_link) 2>&5
7920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7921 (exit $ac_status); } &&
7922 { ac_try='test -s conftest$ac_exeext'
7923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7927 (exit $ac_status); }; }; then
7928 ac_cv_lib_GLU_gluLookAt=yes
7930 echo "$as_me: failed program was:" >&5
7931 sed 's/^/| /' conftest.$ac_ext >&5
7933 ac_cv_lib_GLU_gluLookAt=no
7935 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7936 LIBS=$ac_check_lib_save_LIBS
7938 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
7939 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
7940 if test $ac_cv_lib_GLU_gluLookAt = yes; then
7941 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
7942 GLU32FILES='$(GLU32FILES)'
7953 for ac_header in audio/audiolib.h
7955 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7957 echo "$as_me:$LINENO: checking for $ac_header" >&5
7958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7960 echo $ECHO_N "(cached) $ECHO_C" >&6
7962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7965 # Is the header compilable?
7966 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7968 cat >conftest.$ac_ext <<_ACEOF
7969 #line $LINENO "configure"
7972 cat confdefs.h >>conftest.$ac_ext
7973 cat >>conftest.$ac_ext <<_ACEOF
7974 /* end confdefs.h. */
7975 $ac_includes_default
7976 #include <$ac_header>
7978 rm -f conftest.$ac_objext
7979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7980 (eval $ac_compile) 2>&5
7982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7983 (exit $ac_status); } &&
7984 { ac_try='test -s conftest.$ac_objext'
7985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7989 (exit $ac_status); }; }; then
7990 ac_header_compiler=yes
7992 echo "$as_me: failed program was:" >&5
7993 sed 's/^/| /' conftest.$ac_ext >&5
7995 ac_header_compiler=no
7997 rm -f conftest.$ac_objext conftest.$ac_ext
7998 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7999 echo "${ECHO_T}$ac_header_compiler" >&6
8001 # Is the header present?
8002 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8003 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8004 cat >conftest.$ac_ext <<_ACEOF
8005 #line $LINENO "configure"
8008 cat confdefs.h >>conftest.$ac_ext
8009 cat >>conftest.$ac_ext <<_ACEOF
8010 /* end confdefs.h. */
8011 #include <$ac_header>
8013 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8014 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8016 grep -v '^ *+' conftest.er1 >conftest.err
8018 cat conftest.err >&5
8019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8020 (exit $ac_status); } >/dev/null; then
8021 if test -s conftest.err; then
8022 ac_cpp_err=$ac_c_preproc_warn_flag
8029 if test -z "$ac_cpp_err"; then
8030 ac_header_preproc=yes
8032 echo "$as_me: failed program was:" >&5
8033 sed 's/^/| /' conftest.$ac_ext >&5
8035 ac_header_preproc=no
8037 rm -f conftest.err conftest.$ac_ext
8038 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8039 echo "${ECHO_T}$ac_header_preproc" >&6
8041 # So? What about this header?
8042 case $ac_header_compiler:$ac_header_preproc in
8044 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8045 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8046 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8047 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8050 ## ------------------------------------ ##
8051 ## Report this to bug-autoconf@gnu.org. ##
8052 ## ------------------------------------ ##
8055 sed "s/^/$as_me: WARNING: /" >&2
8058 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8059 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8060 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8061 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8062 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8063 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8066 ## ------------------------------------ ##
8067 ## Report this to bug-autoconf@gnu.org. ##
8068 ## ------------------------------------ ##
8071 sed "s/^/$as_me: WARNING: /" >&2
8074 echo "$as_me:$LINENO: checking for $ac_header" >&5
8075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8077 echo $ECHO_N "(cached) $ECHO_C" >&6
8079 eval "$as_ac_Header=$ac_header_preproc"
8081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8085 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8086 cat >>confdefs.h <<_ACEOF
8087 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8090 for ac_header in audio/soundlib.h
8092 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8093 echo "$as_me:$LINENO: checking for $ac_header" >&5
8094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8096 echo $ECHO_N "(cached) $ECHO_C" >&6
8098 cat >conftest.$ac_ext <<_ACEOF
8099 #line $LINENO "configure"
8102 cat confdefs.h >>conftest.$ac_ext
8103 cat >>conftest.$ac_ext <<_ACEOF
8104 /* end confdefs.h. */
8105 #include <audio/audiolib.h>
8107 #include <$ac_header>
8109 rm -f conftest.$ac_objext
8110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8111 (eval $ac_compile) 2>&5
8113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8114 (exit $ac_status); } &&
8115 { ac_try='test -s conftest.$ac_objext'
8116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120 (exit $ac_status); }; }; then
8121 eval "$as_ac_Header=yes"
8123 echo "$as_me: failed program was:" >&5
8124 sed 's/^/| /' conftest.$ac_ext >&5
8126 eval "$as_ac_Header=no"
8128 rm -f conftest.$ac_objext conftest.$ac_ext
8130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8132 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8133 cat >>confdefs.h <<_ACEOF
8134 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8141 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8142 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8143 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8144 echo $ECHO_N "(cached) $ECHO_C" >&6
8146 ac_check_lib_save_LIBS=$LIBS
8147 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8148 cat >conftest.$ac_ext <<_ACEOF
8149 #line $LINENO "configure"
8152 cat confdefs.h >>conftest.$ac_ext
8153 cat >>conftest.$ac_ext <<_ACEOF
8154 /* end confdefs.h. */
8156 /* Override any gcc2 internal prototype to avoid an error. */
8160 /* We use char because int might match the return type of a gcc2
8161 builtin and then its argument prototype would still apply. */
8162 char AuCreateFlow ();
8171 rm -f conftest.$ac_objext conftest$ac_exeext
8172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8173 (eval $ac_link) 2>&5
8175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8176 (exit $ac_status); } &&
8177 { ac_try='test -s conftest$ac_exeext'
8178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8182 (exit $ac_status); }; }; then
8183 ac_cv_lib_audio_AuCreateFlow=yes
8185 echo "$as_me: failed program was:" >&5
8186 sed 's/^/| /' conftest.$ac_ext >&5
8188 ac_cv_lib_audio_AuCreateFlow=no
8190 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8191 LIBS=$ac_check_lib_save_LIBS
8193 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8194 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8195 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8197 cat >>confdefs.h <<\_ACEOF
8201 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8209 CPPFLAGS="$ac_save_CPPFLAGS"
8218 if test "x$with_curses" != "xno"
8221 for ac_header in ncurses.h
8223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8225 echo "$as_me:$LINENO: checking for $ac_header" >&5
8226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8227 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8228 echo $ECHO_N "(cached) $ECHO_C" >&6
8230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8233 # Is the header compilable?
8234 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8235 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8236 cat >conftest.$ac_ext <<_ACEOF
8237 #line $LINENO "configure"
8240 cat confdefs.h >>conftest.$ac_ext
8241 cat >>conftest.$ac_ext <<_ACEOF
8242 /* end confdefs.h. */
8243 $ac_includes_default
8244 #include <$ac_header>
8246 rm -f conftest.$ac_objext
8247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8248 (eval $ac_compile) 2>&5
8250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8251 (exit $ac_status); } &&
8252 { ac_try='test -s conftest.$ac_objext'
8253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8257 (exit $ac_status); }; }; then
8258 ac_header_compiler=yes
8260 echo "$as_me: failed program was:" >&5
8261 sed 's/^/| /' conftest.$ac_ext >&5
8263 ac_header_compiler=no
8265 rm -f conftest.$ac_objext conftest.$ac_ext
8266 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8267 echo "${ECHO_T}$ac_header_compiler" >&6
8269 # Is the header present?
8270 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8271 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8272 cat >conftest.$ac_ext <<_ACEOF
8273 #line $LINENO "configure"
8276 cat confdefs.h >>conftest.$ac_ext
8277 cat >>conftest.$ac_ext <<_ACEOF
8278 /* end confdefs.h. */
8279 #include <$ac_header>
8281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8282 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8284 grep -v '^ *+' conftest.er1 >conftest.err
8286 cat conftest.err >&5
8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); } >/dev/null; then
8289 if test -s conftest.err; then
8290 ac_cpp_err=$ac_c_preproc_warn_flag
8297 if test -z "$ac_cpp_err"; then
8298 ac_header_preproc=yes
8300 echo "$as_me: failed program was:" >&5
8301 sed 's/^/| /' conftest.$ac_ext >&5
8303 ac_header_preproc=no
8305 rm -f conftest.err conftest.$ac_ext
8306 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8307 echo "${ECHO_T}$ac_header_preproc" >&6
8309 # So? What about this header?
8310 case $ac_header_compiler:$ac_header_preproc in
8312 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8313 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8314 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8315 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8318 ## ------------------------------------ ##
8319 ## Report this to bug-autoconf@gnu.org. ##
8320 ## ------------------------------------ ##
8323 sed "s/^/$as_me: WARNING: /" >&2
8326 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8327 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8328 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8329 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8330 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8331 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8334 ## ------------------------------------ ##
8335 ## Report this to bug-autoconf@gnu.org. ##
8336 ## ------------------------------------ ##
8339 sed "s/^/$as_me: WARNING: /" >&2
8342 echo "$as_me:$LINENO: checking for $ac_header" >&5
8343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8345 echo $ECHO_N "(cached) $ECHO_C" >&6
8347 eval "$as_ac_Header=$ac_header_preproc"
8349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8354 cat >>confdefs.h <<_ACEOF
8355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8357 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
8358 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
8359 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
8360 echo $ECHO_N "(cached) $ECHO_C" >&6
8362 ac_check_lib_save_LIBS=$LIBS
8363 LIBS="-lncurses $LIBS"
8364 cat >conftest.$ac_ext <<_ACEOF
8365 #line $LINENO "configure"
8368 cat confdefs.h >>conftest.$ac_ext
8369 cat >>conftest.$ac_ext <<_ACEOF
8370 /* end confdefs.h. */
8372 /* Override any gcc2 internal prototype to avoid an error. */
8376 /* We use char because int might match the return type of a gcc2
8377 builtin and then its argument prototype would still apply. */
8387 rm -f conftest.$ac_objext conftest$ac_exeext
8388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8389 (eval $ac_link) 2>&5
8391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8392 (exit $ac_status); } &&
8393 { ac_try='test -s conftest$ac_exeext'
8394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 (exit $ac_status); }; }; then
8399 ac_cv_lib_ncurses_waddch=yes
8401 echo "$as_me: failed program was:" >&5
8402 sed 's/^/| /' conftest.$ac_ext >&5
8404 ac_cv_lib_ncurses_waddch=no
8406 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8407 LIBS=$ac_check_lib_save_LIBS
8409 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
8410 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
8411 if test $ac_cv_lib_ncurses_waddch = yes; then
8413 cat >>confdefs.h <<\_ACEOF
8414 #define HAVE_LIBNCURSES 1
8417 CURSESLIBS="-lncurses"
8420 for ac_header in curses.h
8422 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8424 echo "$as_me:$LINENO: checking for $ac_header" >&5
8425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8427 echo $ECHO_N "(cached) $ECHO_C" >&6
8429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8432 # Is the header compilable?
8433 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8434 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8435 cat >conftest.$ac_ext <<_ACEOF
8436 #line $LINENO "configure"
8439 cat confdefs.h >>conftest.$ac_ext
8440 cat >>conftest.$ac_ext <<_ACEOF
8441 /* end confdefs.h. */
8442 $ac_includes_default
8443 #include <$ac_header>
8445 rm -f conftest.$ac_objext
8446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8447 (eval $ac_compile) 2>&5
8449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8450 (exit $ac_status); } &&
8451 { ac_try='test -s conftest.$ac_objext'
8452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8456 (exit $ac_status); }; }; then
8457 ac_header_compiler=yes
8459 echo "$as_me: failed program was:" >&5
8460 sed 's/^/| /' conftest.$ac_ext >&5
8462 ac_header_compiler=no
8464 rm -f conftest.$ac_objext conftest.$ac_ext
8465 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8466 echo "${ECHO_T}$ac_header_compiler" >&6
8468 # Is the header present?
8469 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8470 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8471 cat >conftest.$ac_ext <<_ACEOF
8472 #line $LINENO "configure"
8475 cat confdefs.h >>conftest.$ac_ext
8476 cat >>conftest.$ac_ext <<_ACEOF
8477 /* end confdefs.h. */
8478 #include <$ac_header>
8480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8481 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8483 grep -v '^ *+' conftest.er1 >conftest.err
8485 cat conftest.err >&5
8486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8487 (exit $ac_status); } >/dev/null; then
8488 if test -s conftest.err; then
8489 ac_cpp_err=$ac_c_preproc_warn_flag
8496 if test -z "$ac_cpp_err"; then
8497 ac_header_preproc=yes
8499 echo "$as_me: failed program was:" >&5
8500 sed 's/^/| /' conftest.$ac_ext >&5
8502 ac_header_preproc=no
8504 rm -f conftest.err conftest.$ac_ext
8505 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8506 echo "${ECHO_T}$ac_header_preproc" >&6
8508 # So? What about this header?
8509 case $ac_header_compiler:$ac_header_preproc in
8511 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8512 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8514 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8517 ## ------------------------------------ ##
8518 ## Report this to bug-autoconf@gnu.org. ##
8519 ## ------------------------------------ ##
8522 sed "s/^/$as_me: WARNING: /" >&2
8525 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8526 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8527 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8528 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8530 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8533 ## ------------------------------------ ##
8534 ## Report this to bug-autoconf@gnu.org. ##
8535 ## ------------------------------------ ##
8538 sed "s/^/$as_me: WARNING: /" >&2
8541 echo "$as_me:$LINENO: checking for $ac_header" >&5
8542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8544 echo $ECHO_N "(cached) $ECHO_C" >&6
8546 eval "$as_ac_Header=$ac_header_preproc"
8548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8552 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8553 cat >>confdefs.h <<_ACEOF
8554 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8556 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
8557 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
8558 if test "${ac_cv_lib_curses_waddch+set}" = set; then
8559 echo $ECHO_N "(cached) $ECHO_C" >&6
8561 ac_check_lib_save_LIBS=$LIBS
8562 LIBS="-lcurses $LIBS"
8563 cat >conftest.$ac_ext <<_ACEOF
8564 #line $LINENO "configure"
8567 cat confdefs.h >>conftest.$ac_ext
8568 cat >>conftest.$ac_ext <<_ACEOF
8569 /* end confdefs.h. */
8571 /* Override any gcc2 internal prototype to avoid an error. */
8575 /* We use char because int might match the return type of a gcc2
8576 builtin and then its argument prototype would still apply. */
8586 rm -f conftest.$ac_objext conftest$ac_exeext
8587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8588 (eval $ac_link) 2>&5
8590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8591 (exit $ac_status); } &&
8592 { ac_try='test -s conftest$ac_exeext'
8593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8597 (exit $ac_status); }; }; then
8598 ac_cv_lib_curses_waddch=yes
8600 echo "$as_me: failed program was:" >&5
8601 sed 's/^/| /' conftest.$ac_ext >&5
8603 ac_cv_lib_curses_waddch=no
8605 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8606 LIBS=$ac_check_lib_save_LIBS
8608 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
8609 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
8610 if test $ac_cv_lib_curses_waddch = yes; then
8612 cat >>confdefs.h <<\_ACEOF
8613 #define HAVE_LIBCURSES 1
8616 CURSESLIBS="-lcurses"
8630 LIBS="$CURSESLIBS $LIBS"
8633 for ac_func in getbkgd resizeterm
8635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8636 echo "$as_me:$LINENO: checking for $ac_func" >&5
8637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8638 if eval "test \"\${$as_ac_var+set}\" = set"; then
8639 echo $ECHO_N "(cached) $ECHO_C" >&6
8641 cat >conftest.$ac_ext <<_ACEOF
8642 #line $LINENO "configure"
8645 cat confdefs.h >>conftest.$ac_ext
8646 cat >>conftest.$ac_ext <<_ACEOF
8647 /* end confdefs.h. */
8648 /* System header to define __stub macros and hopefully few prototypes,
8649 which can conflict with char $ac_func (); below.
8650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8651 <limits.h> exists even on freestanding compilers. */
8653 # include <limits.h>
8655 # include <assert.h>
8657 /* Override any gcc2 internal prototype to avoid an error. */
8662 /* We use char because int might match the return type of a gcc2
8663 builtin and then its argument prototype would still apply. */
8665 /* The GNU C library defines this for functions which it implements
8666 to always fail with ENOSYS. Some functions are actually named
8667 something starting with __ and the normal name is an alias. */
8668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8671 char (*f) () = $ac_func;
8680 return f != $ac_func;
8685 rm -f conftest.$ac_objext conftest$ac_exeext
8686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8687 (eval $ac_link) 2>&5
8689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8690 (exit $ac_status); } &&
8691 { ac_try='test -s conftest$ac_exeext'
8692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8696 (exit $ac_status); }; }; then
8697 eval "$as_ac_var=yes"
8699 echo "$as_me: failed program was:" >&5
8700 sed 's/^/| /' conftest.$ac_ext >&5
8702 eval "$as_ac_var=no"
8704 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8708 if test `eval echo '${'$as_ac_var'}'` = yes; then
8709 cat >>confdefs.h <<_ACEOF
8710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8720 # Extract the first word of "sane-config", so it can be a program name with args.
8721 set dummy sane-config; ac_word=$2
8722 echo "$as_me:$LINENO: checking for $ac_word" >&5
8723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8724 if test "${ac_cv_prog_sane_devel+set}" = set; then
8725 echo $ECHO_N "(cached) $ECHO_C" >&6
8727 if test -n "$sane_devel"; then
8728 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
8730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8734 test -z "$as_dir" && as_dir=.
8735 for ac_exec_ext in '' $ac_executable_extensions; do
8736 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8737 ac_cv_prog_sane_devel="sane-config"
8738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8744 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
8747 sane_devel=$ac_cv_prog_sane_devel
8748 if test -n "$sane_devel"; then
8749 echo "$as_me:$LINENO: result: $sane_devel" >&5
8750 echo "${ECHO_T}$sane_devel" >&6
8752 echo "$as_me:$LINENO: result: no" >&5
8753 echo "${ECHO_T}no" >&6
8756 if test "$sane_devel" = "no"
8761 SANELIBS="`$sane_devel --libs`"
8762 SANEINCL="`$sane_devel --cflags`"
8763 ac_save_CPPFLAGS="$CPPFLAGS"
8764 ac_save_LIBS="$LIBS"
8765 CPPFLAGS="$CPPFLAGS $SANEINCL"
8766 LIBS="$LIBS $SANELIBS"
8767 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8768 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
8769 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
8770 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8771 echo $ECHO_N "(cached) $ECHO_C" >&6
8773 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8774 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8776 # Is the header compilable?
8777 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
8778 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
8779 cat >conftest.$ac_ext <<_ACEOF
8780 #line $LINENO "configure"
8783 cat confdefs.h >>conftest.$ac_ext
8784 cat >>conftest.$ac_ext <<_ACEOF
8785 /* end confdefs.h. */
8786 $ac_includes_default
8787 #include <sane/sane.h>
8789 rm -f conftest.$ac_objext
8790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8791 (eval $ac_compile) 2>&5
8793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8794 (exit $ac_status); } &&
8795 { ac_try='test -s conftest.$ac_objext'
8796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8800 (exit $ac_status); }; }; then
8801 ac_header_compiler=yes
8803 echo "$as_me: failed program was:" >&5
8804 sed 's/^/| /' conftest.$ac_ext >&5
8806 ac_header_compiler=no
8808 rm -f conftest.$ac_objext conftest.$ac_ext
8809 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8810 echo "${ECHO_T}$ac_header_compiler" >&6
8812 # Is the header present?
8813 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
8814 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
8815 cat >conftest.$ac_ext <<_ACEOF
8816 #line $LINENO "configure"
8819 cat confdefs.h >>conftest.$ac_ext
8820 cat >>conftest.$ac_ext <<_ACEOF
8821 /* end confdefs.h. */
8822 #include <sane/sane.h>
8824 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8825 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8827 grep -v '^ *+' conftest.er1 >conftest.err
8829 cat conftest.err >&5
8830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831 (exit $ac_status); } >/dev/null; then
8832 if test -s conftest.err; then
8833 ac_cpp_err=$ac_c_preproc_warn_flag
8840 if test -z "$ac_cpp_err"; then
8841 ac_header_preproc=yes
8843 echo "$as_me: failed program was:" >&5
8844 sed 's/^/| /' conftest.$ac_ext >&5
8846 ac_header_preproc=no
8848 rm -f conftest.err conftest.$ac_ext
8849 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8850 echo "${ECHO_T}$ac_header_preproc" >&6
8852 # So? What about this header?
8853 case $ac_header_compiler:$ac_header_preproc in
8855 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
8856 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8857 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8858 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
8861 ## ------------------------------------ ##
8862 ## Report this to bug-autoconf@gnu.org. ##
8863 ## ------------------------------------ ##
8866 sed "s/^/$as_me: WARNING: /" >&2
8869 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
8870 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
8871 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
8872 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
8873 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8874 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
8877 ## ------------------------------------ ##
8878 ## Report this to bug-autoconf@gnu.org. ##
8879 ## ------------------------------------ ##
8882 sed "s/^/$as_me: WARNING: /" >&2
8885 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
8886 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
8887 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8888 echo $ECHO_N "(cached) $ECHO_C" >&6
8890 ac_cv_header_sane_sane_h=$ac_header_preproc
8892 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8893 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8896 if test $ac_cv_header_sane_sane_h = yes; then
8897 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
8898 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
8899 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
8900 echo $ECHO_N "(cached) $ECHO_C" >&6
8902 ac_check_lib_save_LIBS=$LIBS
8904 cat >conftest.$ac_ext <<_ACEOF
8905 #line $LINENO "configure"
8908 cat confdefs.h >>conftest.$ac_ext
8909 cat >>conftest.$ac_ext <<_ACEOF
8910 /* end confdefs.h. */
8912 /* Override any gcc2 internal prototype to avoid an error. */
8916 /* We use char because int might match the return type of a gcc2
8917 builtin and then its argument prototype would still apply. */
8927 rm -f conftest.$ac_objext conftest$ac_exeext
8928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8929 (eval $ac_link) 2>&5
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 (exit $ac_status); } &&
8933 { ac_try='test -s conftest$ac_exeext'
8934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8938 (exit $ac_status); }; }; then
8939 ac_cv_lib_sane_sane_open=yes
8941 echo "$as_me: failed program was:" >&5
8942 sed 's/^/| /' conftest.$ac_ext >&5
8944 ac_cv_lib_sane_sane_open=no
8946 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8947 LIBS=$ac_check_lib_save_LIBS
8949 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
8950 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
8951 if test $ac_cv_lib_sane_sane_open = yes; then
8953 cat >>confdefs.h <<\_ACEOF
8968 LIBS="$ac_save_LIBS"
8969 CPPFLAGS="$ac_save_CPPFLAGS"
8974 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
8975 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
8976 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
8977 echo $ECHO_N "(cached) $ECHO_C" >&6
8979 ac_check_lib_save_LIBS=$LIBS
8980 LIBS="-lfreetype $X_LIBS $LIBS"
8981 cat >conftest.$ac_ext <<_ACEOF
8982 #line $LINENO "configure"
8985 cat confdefs.h >>conftest.$ac_ext
8986 cat >>conftest.$ac_ext <<_ACEOF
8987 /* end confdefs.h. */
8989 /* Override any gcc2 internal prototype to avoid an error. */
8993 /* We use char because int might match the return type of a gcc2
8994 builtin and then its argument prototype would still apply. */
8995 char FT_Init_FreeType ();
8999 FT_Init_FreeType ();
9004 rm -f conftest.$ac_objext conftest$ac_exeext
9005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9006 (eval $ac_link) 2>&5
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 (exit $ac_status); } &&
9010 { ac_try='test -s conftest$ac_exeext'
9011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9015 (exit $ac_status); }; }; then
9016 ac_cv_lib_freetype_FT_Init_FreeType=yes
9018 echo "$as_me: failed program was:" >&5
9019 sed 's/^/| /' conftest.$ac_ext >&5
9021 ac_cv_lib_freetype_FT_Init_FreeType=no
9023 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9024 LIBS=$ac_check_lib_save_LIBS
9026 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
9027 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
9028 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
9034 if test "$ft_lib" = "no"
9037 wine_cv_msg_freetype=no
9039 # Extract the first word of "freetype-config", so it can be a program name with args.
9040 set dummy freetype-config; ac_word=$2
9041 echo "$as_me:$LINENO: checking for $ac_word" >&5
9042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9043 if test "${ac_cv_prog_ft_devel+set}" = set; then
9044 echo $ECHO_N "(cached) $ECHO_C" >&6
9046 if test -n "$ft_devel"; then
9047 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
9049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9053 test -z "$as_dir" && as_dir=.
9054 for ac_exec_ext in '' $ac_executable_extensions; do
9055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9056 ac_cv_prog_ft_devel="freetype-config"
9057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9063 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
9066 ft_devel=$ac_cv_prog_ft_devel
9067 if test -n "$ft_devel"; then
9068 echo "$as_me:$LINENO: result: $ft_devel" >&5
9069 echo "${ECHO_T}$ft_devel" >&6
9071 echo "$as_me:$LINENO: result: no" >&5
9072 echo "${ECHO_T}no" >&6
9075 if test "$ft_devel" = "no"
9077 # Extract the first word of "freetype2-config", so it can be a program name with args.
9078 set dummy freetype2-config; ac_word=$2
9079 echo "$as_me:$LINENO: checking for $ac_word" >&5
9080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9081 if test "${ac_cv_prog_ft_devel2+set}" = set; then
9082 echo $ECHO_N "(cached) $ECHO_C" >&6
9084 if test -n "$ft_devel2"; then
9085 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
9087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9091 test -z "$as_dir" && as_dir=.
9092 for ac_exec_ext in '' $ac_executable_extensions; do
9093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9094 ac_cv_prog_ft_devel2="freetype2-config"
9095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9101 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
9104 ft_devel2=$ac_cv_prog_ft_devel2
9105 if test -n "$ft_devel2"; then
9106 echo "$as_me:$LINENO: result: $ft_devel2" >&5
9107 echo "${ECHO_T}$ft_devel2" >&6
9109 echo "$as_me:$LINENO: result: no" >&5
9110 echo "${ECHO_T}no" >&6
9113 if test "$ft_devel2" = "freetype2-config"
9118 if test "$ft_devel" = "no"
9121 wine_cv_msg_freetype=yes
9123 FREETYPEINCL=`$ft_devel --cflags`
9124 ac_save_CPPFLAGS="$CPPFLAGS"
9125 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
9134 for ac_header in freetype/freetype.h \
9135 freetype/ftglyph.h \
9136 freetype/tttables.h \
9137 freetype/ftnames.h \
9138 freetype/ftsnames.h \
9139 freetype/ttnameid.h \
9140 freetype/ftoutln.h \
9141 freetype/internal/sfnt.h
9143 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9145 echo "$as_me:$LINENO: checking for $ac_header" >&5
9146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9148 echo $ECHO_N "(cached) $ECHO_C" >&6
9150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9151 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9153 # Is the header compilable?
9154 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9155 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9156 cat >conftest.$ac_ext <<_ACEOF
9157 #line $LINENO "configure"
9160 cat confdefs.h >>conftest.$ac_ext
9161 cat >>conftest.$ac_ext <<_ACEOF
9162 /* end confdefs.h. */
9163 $ac_includes_default
9164 #include <$ac_header>
9166 rm -f conftest.$ac_objext
9167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9168 (eval $ac_compile) 2>&5
9170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9171 (exit $ac_status); } &&
9172 { ac_try='test -s conftest.$ac_objext'
9173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9177 (exit $ac_status); }; }; then
9178 ac_header_compiler=yes
9180 echo "$as_me: failed program was:" >&5
9181 sed 's/^/| /' conftest.$ac_ext >&5
9183 ac_header_compiler=no
9185 rm -f conftest.$ac_objext conftest.$ac_ext
9186 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9187 echo "${ECHO_T}$ac_header_compiler" >&6
9189 # Is the header present?
9190 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9191 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9192 cat >conftest.$ac_ext <<_ACEOF
9193 #line $LINENO "configure"
9196 cat confdefs.h >>conftest.$ac_ext
9197 cat >>conftest.$ac_ext <<_ACEOF
9198 /* end confdefs.h. */
9199 #include <$ac_header>
9201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9202 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9204 grep -v '^ *+' conftest.er1 >conftest.err
9206 cat conftest.err >&5
9207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9208 (exit $ac_status); } >/dev/null; then
9209 if test -s conftest.err; then
9210 ac_cpp_err=$ac_c_preproc_warn_flag
9217 if test -z "$ac_cpp_err"; then
9218 ac_header_preproc=yes
9220 echo "$as_me: failed program was:" >&5
9221 sed 's/^/| /' conftest.$ac_ext >&5
9223 ac_header_preproc=no
9225 rm -f conftest.err conftest.$ac_ext
9226 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9227 echo "${ECHO_T}$ac_header_preproc" >&6
9229 # So? What about this header?
9230 case $ac_header_compiler:$ac_header_preproc in
9232 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9233 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9235 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9238 ## ------------------------------------ ##
9239 ## Report this to bug-autoconf@gnu.org. ##
9240 ## ------------------------------------ ##
9243 sed "s/^/$as_me: WARNING: /" >&2
9246 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9247 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9248 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9249 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9251 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9254 ## ------------------------------------ ##
9255 ## Report this to bug-autoconf@gnu.org. ##
9256 ## ------------------------------------ ##
9259 sed "s/^/$as_me: WARNING: /" >&2
9262 echo "$as_me:$LINENO: checking for $ac_header" >&5
9263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9265 echo $ECHO_N "(cached) $ECHO_C" >&6
9267 eval "$as_ac_Header=$ac_header_preproc"
9269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9270 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9273 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9274 cat >>confdefs.h <<_ACEOF
9275 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9282 cat >conftest.$ac_ext <<_ACEOF
9283 #line $LINENO "configure"
9286 cat confdefs.h >>conftest.$ac_ext
9287 cat >>conftest.$ac_ext <<_ACEOF
9288 /* end confdefs.h. */
9289 #include <ft2build.h>
9290 #include <freetype/fttrigon.h>
9292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9293 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9295 grep -v '^ *+' conftest.er1 >conftest.err
9297 cat conftest.err >&5
9298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299 (exit $ac_status); } >/dev/null; then
9300 if test -s conftest.err; then
9301 ac_cpp_err=$ac_c_preproc_warn_flag
9308 if test -z "$ac_cpp_err"; then
9310 cat >>confdefs.h <<\_ACEOF
9311 #define HAVE_FREETYPE_FTTRIGON_H 1
9314 wine_cv_fttrigon=yes
9316 echo "$as_me: failed program was:" >&5
9317 sed 's/^/| /' conftest.$ac_ext >&5
9321 rm -f conftest.err conftest.$ac_ext
9322 CPPFLAGS="$ac_save_CPPFLAGS"
9323 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
9326 cat >>confdefs.h <<\_ACEOF
9327 #define HAVE_FREETYPE 1
9330 wine_cv_msg_freetype=no
9333 wine_cv_msg_freetype=yes
9339 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
9340 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
9341 if test "${ac_cv_c_ppdev+set}" = set; then
9342 echo $ECHO_N "(cached) $ECHO_C" >&6
9344 cat >conftest.$ac_ext <<_ACEOF
9345 #line $LINENO "configure"
9348 cat confdefs.h >>conftest.$ac_ext
9349 cat >>conftest.$ac_ext <<_ACEOF
9350 /* end confdefs.h. */
9351 #include <linux/ppdev.h>
9360 rm -f conftest.$ac_objext
9361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9362 (eval $ac_compile) 2>&5
9364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9365 (exit $ac_status); } &&
9366 { ac_try='test -s conftest.$ac_objext'
9367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9371 (exit $ac_status); }; }; then
9374 echo "$as_me: failed program was:" >&5
9375 sed 's/^/| /' conftest.$ac_ext >&5
9379 rm -f conftest.$ac_objext conftest.$ac_ext
9382 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
9383 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
9384 if test "$ac_cv_c_ppdev" = "yes"
9387 cat >>confdefs.h <<\_ACEOF
9388 #define HAVE_PPDEV 1
9393 echo "$as_me:$LINENO: checking for va_copy" >&5
9394 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
9395 if test "${ac_cv_c_va_copy+set}" = set; then
9396 echo $ECHO_N "(cached) $ECHO_C" >&6
9398 cat >conftest.$ac_ext <<_ACEOF
9399 #line $LINENO "configure"
9402 cat confdefs.h >>conftest.$ac_ext
9403 cat >>conftest.$ac_ext <<_ACEOF
9404 /* end confdefs.h. */
9416 rm -f conftest.$ac_objext conftest$ac_exeext
9417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9418 (eval $ac_link) 2>&5
9420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9421 (exit $ac_status); } &&
9422 { ac_try='test -s conftest$ac_exeext'
9423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9427 (exit $ac_status); }; }; then
9428 ac_cv_c_va_copy="yes"
9430 echo "$as_me: failed program was:" >&5
9431 sed 's/^/| /' conftest.$ac_ext >&5
9433 ac_cv_c_va_copy="no"
9435 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9438 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
9439 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
9440 if test "$ac_cv_c_va_copy" = "yes"
9443 cat >>confdefs.h <<\_ACEOF
9444 #define HAVE_VA_COPY 1
9448 echo "$as_me:$LINENO: checking for __va_copy" >&5
9449 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
9450 if test "${ac_cv_c___va_copy+set}" = set; then
9451 echo $ECHO_N "(cached) $ECHO_C" >&6
9453 cat >conftest.$ac_ext <<_ACEOF
9454 #line $LINENO "configure"
9457 cat confdefs.h >>conftest.$ac_ext
9458 cat >>conftest.$ac_ext <<_ACEOF
9459 /* end confdefs.h. */
9471 rm -f conftest.$ac_objext conftest$ac_exeext
9472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9473 (eval $ac_link) 2>&5
9475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476 (exit $ac_status); } &&
9477 { ac_try='test -s conftest$ac_exeext'
9478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9482 (exit $ac_status); }; }; then
9483 ac_cv_c___va_copy="yes"
9485 echo "$as_me: failed program was:" >&5
9486 sed 's/^/| /' conftest.$ac_ext >&5
9488 ac_cv_c___va_copy="no"
9490 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9493 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
9494 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
9495 if test "$ac_cv_c___va_copy" = "yes"
9498 cat >>confdefs.h <<\_ACEOF
9499 #define HAVE___VA_COPY 1
9504 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
9505 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
9506 if test "${ac_cv_c_ipx_gnu+set}" = set; then
9507 echo $ECHO_N "(cached) $ECHO_C" >&6
9509 cat >conftest.$ac_ext <<_ACEOF
9510 #line $LINENO "configure"
9513 cat confdefs.h >>conftest.$ac_ext
9514 cat >>conftest.$ac_ext <<_ACEOF
9515 /* end confdefs.h. */
9516 #include <sys/types.h>
9517 #ifdef HAVE_SYS_SOCKET_H
9518 # include <sys/socket.h>
9520 #include <netipx/ipx.h>
9524 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
9529 rm -f conftest.$ac_objext
9530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9531 (eval $ac_compile) 2>&5
9533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9534 (exit $ac_status); } &&
9535 { ac_try='test -s conftest.$ac_objext'
9536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9540 (exit $ac_status); }; }; then
9541 ac_cv_c_ipx_gnu="yes"
9543 echo "$as_me: failed program was:" >&5
9544 sed 's/^/| /' conftest.$ac_ext >&5
9546 ac_cv_c_ipx_gnu="no"
9548 rm -f conftest.$ac_objext conftest.$ac_ext
9551 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
9552 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
9553 if test "$ac_cv_c_ipx_gnu" = "yes"
9556 cat >>confdefs.h <<\_ACEOF
9557 #define HAVE_IPX_GNU 1
9562 if test "$ac_cv_c_ipx_gnu" = "no"
9564 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
9565 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
9566 if test "${ac_cv_c_ipx_linux+set}" = set; then
9567 echo $ECHO_N "(cached) $ECHO_C" >&6
9569 cat >conftest.$ac_ext <<_ACEOF
9570 #line $LINENO "configure"
9573 cat confdefs.h >>conftest.$ac_ext
9574 cat >>conftest.$ac_ext <<_ACEOF
9575 /* end confdefs.h. */
9576 #include <sys/types.h>
9577 #ifdef HAVE_SYS_SOCKET_H
9578 # include <sys/socket.h>
9580 #include <asm/types.h>
9581 #include <linux/ipx.h>
9585 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
9590 rm -f conftest.$ac_objext
9591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9592 (eval $ac_compile) 2>&5
9594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9595 (exit $ac_status); } &&
9596 { ac_try='test -s conftest.$ac_objext'
9597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9601 (exit $ac_status); }; }; then
9602 ac_cv_c_ipx_linux="yes"
9604 echo "$as_me: failed program was:" >&5
9605 sed 's/^/| /' conftest.$ac_ext >&5
9607 ac_cv_c_ipx_linux="no"
9609 rm -f conftest.$ac_objext conftest.$ac_ext
9612 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
9613 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
9614 if test "$ac_cv_c_ipx_linux" = "yes"
9617 cat >>confdefs.h <<\_ACEOF
9618 #define HAVE_IPX_LINUX 1
9627 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
9629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9631 echo "$as_me:$LINENO: checking for $ac_header" >&5
9632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9634 echo $ECHO_N "(cached) $ECHO_C" >&6
9636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9639 # Is the header compilable?
9640 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9641 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9642 cat >conftest.$ac_ext <<_ACEOF
9643 #line $LINENO "configure"
9646 cat confdefs.h >>conftest.$ac_ext
9647 cat >>conftest.$ac_ext <<_ACEOF
9648 /* end confdefs.h. */
9649 $ac_includes_default
9650 #include <$ac_header>
9652 rm -f conftest.$ac_objext
9653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9654 (eval $ac_compile) 2>&5
9656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9657 (exit $ac_status); } &&
9658 { ac_try='test -s conftest.$ac_objext'
9659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9663 (exit $ac_status); }; }; then
9664 ac_header_compiler=yes
9666 echo "$as_me: failed program was:" >&5
9667 sed 's/^/| /' conftest.$ac_ext >&5
9669 ac_header_compiler=no
9671 rm -f conftest.$ac_objext conftest.$ac_ext
9672 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9673 echo "${ECHO_T}$ac_header_compiler" >&6
9675 # Is the header present?
9676 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9677 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9678 cat >conftest.$ac_ext <<_ACEOF
9679 #line $LINENO "configure"
9682 cat confdefs.h >>conftest.$ac_ext
9683 cat >>conftest.$ac_ext <<_ACEOF
9684 /* end confdefs.h. */
9685 #include <$ac_header>
9687 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9688 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9690 grep -v '^ *+' conftest.er1 >conftest.err
9692 cat conftest.err >&5
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694 (exit $ac_status); } >/dev/null; then
9695 if test -s conftest.err; then
9696 ac_cpp_err=$ac_c_preproc_warn_flag
9703 if test -z "$ac_cpp_err"; then
9704 ac_header_preproc=yes
9706 echo "$as_me: failed program was:" >&5
9707 sed 's/^/| /' conftest.$ac_ext >&5
9709 ac_header_preproc=no
9711 rm -f conftest.err conftest.$ac_ext
9712 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9713 echo "${ECHO_T}$ac_header_preproc" >&6
9715 # So? What about this header?
9716 case $ac_header_compiler:$ac_header_preproc in
9718 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9719 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9721 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9724 ## ------------------------------------ ##
9725 ## Report this to bug-autoconf@gnu.org. ##
9726 ## ------------------------------------ ##
9729 sed "s/^/$as_me: WARNING: /" >&2
9732 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9733 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9734 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9735 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9736 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9737 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9740 ## ------------------------------------ ##
9741 ## Report this to bug-autoconf@gnu.org. ##
9742 ## ------------------------------------ ##
9745 sed "s/^/$as_me: WARNING: /" >&2
9748 echo "$as_me:$LINENO: checking for $ac_header" >&5
9749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9751 echo $ECHO_N "(cached) $ECHO_C" >&6
9753 eval "$as_ac_Header=$ac_header_preproc"
9755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9759 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9760 cat >>confdefs.h <<_ACEOF
9761 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9769 echo "$as_me:$LINENO: checking for Open Sound System" >&5
9770 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
9771 if test "${ac_cv_c_opensoundsystem+set}" = set; then
9772 echo $ECHO_N "(cached) $ECHO_C" >&6
9774 cat >conftest.$ac_ext <<_ACEOF
9775 #line $LINENO "configure"
9778 cat confdefs.h >>conftest.$ac_ext
9779 cat >>conftest.$ac_ext <<_ACEOF
9780 /* end confdefs.h. */
9782 #if defined(HAVE_SYS_SOUNDCARD_H)
9783 #include <sys/soundcard.h>
9784 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
9785 #include <machine/soundcard.h>
9786 #elif defined(HAVE_SOUNDCARD_H)
9787 #include <soundcard.h>
9795 /* check for one of the Open Sound System specific SNDCTL_ defines */
9796 #if !defined(SNDCTL_DSP_STEREO)
9797 #error No open sound system
9804 rm -f conftest.$ac_objext
9805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9806 (eval $ac_compile) 2>&5
9808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9809 (exit $ac_status); } &&
9810 { ac_try='test -s conftest.$ac_objext'
9811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9815 (exit $ac_status); }; }; then
9816 ac_cv_c_opensoundsystem="yes"
9818 echo "$as_me: failed program was:" >&5
9819 sed 's/^/| /' conftest.$ac_ext >&5
9821 ac_cv_c_opensoundsystem="no"
9823 rm -f conftest.$ac_objext conftest.$ac_ext
9825 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
9826 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
9828 if test "$ac_cv_c_opensoundsystem" = "yes"
9831 cat >>confdefs.h <<\_ACEOF
9837 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
9838 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
9839 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
9840 echo $ECHO_N "(cached) $ECHO_C" >&6
9842 cat >conftest.$ac_ext <<_ACEOF
9843 #line $LINENO "configure"
9846 cat confdefs.h >>conftest.$ac_ext
9847 cat >>conftest.$ac_ext <<_ACEOF
9848 /* end confdefs.h. */
9850 #if defined(HAVE_SYS_SOUNDCARD_H)
9851 #include <sys/soundcard.h>
9852 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
9853 #include <machine/soundcard.h>
9854 #elif defined(HAVE_SOUNDCARD_H)
9855 #include <soundcard.h>
9863 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
9864 #if !defined(SNDCTL_SEQ_SYNC)
9865 #error No open sound system MIDI interface
9872 rm -f conftest.$ac_objext
9873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9874 (eval $ac_compile) 2>&5
9876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9877 (exit $ac_status); } &&
9878 { ac_try='test -s conftest.$ac_objext'
9879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9883 (exit $ac_status); }; }; then
9884 ac_cv_c_opensoundsystem_midi="yes"
9886 echo "$as_me: failed program was:" >&5
9887 sed 's/^/| /' conftest.$ac_ext >&5
9889 ac_cv_c_opensoundsystem_midi="no"
9891 rm -f conftest.$ac_objext conftest.$ac_ext
9893 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
9894 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
9896 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
9899 cat >>confdefs.h <<\_ACEOF
9900 #define HAVE_OSS_MIDI 1
9905 # Extract the first word of "artsc-config", so it can be a program name with args.
9906 set dummy artsc-config; ac_word=$2
9907 echo "$as_me:$LINENO: checking for $ac_word" >&5
9908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9909 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
9910 echo $ECHO_N "(cached) $ECHO_C" >&6
9912 case $ARTSCCONFIG in
9914 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
9917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9921 test -z "$as_dir" && as_dir=.
9922 for ac_exec_ext in '' $ac_executable_extensions; do
9923 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9924 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
9925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9934 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
9936 if test -n "$ARTSCCONFIG"; then
9937 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
9938 echo "${ECHO_T}$ARTSCCONFIG" >&6
9940 echo "$as_me:$LINENO: result: no" >&5
9941 echo "${ECHO_T}no" >&6
9944 echo "$as_me:$LINENO: checking for aRts Sound server" >&5
9945 echo $ECHO_N "checking for aRts Sound server... $ECHO_C" >&6
9946 if test "${ac_cv_c_artsserver+set}" = set; then
9947 echo $ECHO_N "(cached) $ECHO_C" >&6
9949 if test x$ARTSCCONFIG = x -o x$ARTSCCONFIG = x'"$ARTSCCONFIG"';
9951 ac_cv_c_artsserver=no
9953 ARTSC_CFLAGS=`$ARTSCCONFIG --cflags`
9954 ARTSC_LIBS=`$ARTSCCONFIG --libs`
9955 ac_cv_c_artsserver=no
9956 save_CFLAGS="$CFLAGS"
9957 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
9958 cat >conftest.$ac_ext <<_ACEOF
9959 #line $LINENO "configure"
9962 cat confdefs.h >>conftest.$ac_ext
9963 cat >>conftest.$ac_ext <<_ACEOF
9964 /* end confdefs.h. */
9972 arts_stream_t stream;
9978 rm -f conftest.$ac_objext
9979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9980 (eval $ac_compile) 2>&5
9982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9983 (exit $ac_status); } &&
9984 { ac_try='test -s conftest.$ac_objext'
9985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9989 (exit $ac_status); }; }; then
9991 ac_cv_c_artsserver=yes
9994 echo "$as_me: failed program was:" >&5
9995 sed 's/^/| /' conftest.$ac_ext >&5
9998 rm -f conftest.$ac_objext conftest.$ac_ext
9999 CFLAGS="$save_CFLAGS"
10002 echo "$as_me:$LINENO: result: $ac_cv_c_artsserver" >&5
10003 echo "${ECHO_T}$ac_cv_c_artsserver" >&6
10005 if test "$ac_cv_c_artsserver" = "yes"
10007 ARTSLIBS=$ARTSC_LIBS
10009 ARTSINCL=$ARTSC_CFLAGS
10013 cat >>confdefs.h <<\_ACEOF
10014 #define HAVE_ARTS 1
10023 for ac_header in alsa/asoundlib.h sys/asoundlib.h
10025 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10026 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10027 echo "$as_me:$LINENO: checking for $ac_header" >&5
10028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10030 echo $ECHO_N "(cached) $ECHO_C" >&6
10032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10035 # Is the header compilable?
10036 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10037 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10038 cat >conftest.$ac_ext <<_ACEOF
10039 #line $LINENO "configure"
10042 cat confdefs.h >>conftest.$ac_ext
10043 cat >>conftest.$ac_ext <<_ACEOF
10044 /* end confdefs.h. */
10045 $ac_includes_default
10046 #include <$ac_header>
10048 rm -f conftest.$ac_objext
10049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10050 (eval $ac_compile) 2>&5
10052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10053 (exit $ac_status); } &&
10054 { ac_try='test -s conftest.$ac_objext'
10055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10056 (eval $ac_try) 2>&5
10058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10059 (exit $ac_status); }; }; then
10060 ac_header_compiler=yes
10062 echo "$as_me: failed program was:" >&5
10063 sed 's/^/| /' conftest.$ac_ext >&5
10065 ac_header_compiler=no
10067 rm -f conftest.$ac_objext conftest.$ac_ext
10068 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10069 echo "${ECHO_T}$ac_header_compiler" >&6
10071 # Is the header present?
10072 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10073 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10074 cat >conftest.$ac_ext <<_ACEOF
10075 #line $LINENO "configure"
10078 cat confdefs.h >>conftest.$ac_ext
10079 cat >>conftest.$ac_ext <<_ACEOF
10080 /* end confdefs.h. */
10081 #include <$ac_header>
10083 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10084 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10086 grep -v '^ *+' conftest.er1 >conftest.err
10088 cat conftest.err >&5
10089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10090 (exit $ac_status); } >/dev/null; then
10091 if test -s conftest.err; then
10092 ac_cpp_err=$ac_c_preproc_warn_flag
10099 if test -z "$ac_cpp_err"; then
10100 ac_header_preproc=yes
10102 echo "$as_me: failed program was:" >&5
10103 sed 's/^/| /' conftest.$ac_ext >&5
10105 ac_header_preproc=no
10107 rm -f conftest.err conftest.$ac_ext
10108 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10109 echo "${ECHO_T}$ac_header_preproc" >&6
10111 # So? What about this header?
10112 case $ac_header_compiler:$ac_header_preproc in
10114 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10115 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10116 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10117 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10120 ## ------------------------------------ ##
10121 ## Report this to bug-autoconf@gnu.org. ##
10122 ## ------------------------------------ ##
10125 sed "s/^/$as_me: WARNING: /" >&2
10128 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10129 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10130 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10131 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10132 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10133 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10136 ## ------------------------------------ ##
10137 ## Report this to bug-autoconf@gnu.org. ##
10138 ## ------------------------------------ ##
10141 sed "s/^/$as_me: WARNING: /" >&2
10144 echo "$as_me:$LINENO: checking for $ac_header" >&5
10145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10147 echo $ECHO_N "(cached) $ECHO_C" >&6
10149 eval "$as_ac_Header=$ac_header_preproc"
10151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10156 cat >>confdefs.h <<_ACEOF
10157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10164 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10166 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
10167 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
10168 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
10169 echo $ECHO_N "(cached) $ECHO_C" >&6
10171 ac_check_lib_save_LIBS=$LIBS
10172 LIBS="-lasound $LIBS"
10173 cat >conftest.$ac_ext <<_ACEOF
10174 #line $LINENO "configure"
10177 cat confdefs.h >>conftest.$ac_ext
10178 cat >>conftest.$ac_ext <<_ACEOF
10179 /* end confdefs.h. */
10181 /* Override any gcc2 internal prototype to avoid an error. */
10185 /* We use char because int might match the return type of a gcc2
10186 builtin and then its argument prototype would still apply. */
10187 char snd_pcm_open ();
10196 rm -f conftest.$ac_objext conftest$ac_exeext
10197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10198 (eval $ac_link) 2>&5
10200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); } &&
10202 { ac_try='test -s conftest$ac_exeext'
10203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10204 (eval $ac_try) 2>&5
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); }; }; then
10208 ac_cv_lib_asound_snd_pcm_open=yes
10210 echo "$as_me: failed program was:" >&5
10211 sed 's/^/| /' conftest.$ac_ext >&5
10213 ac_cv_lib_asound_snd_pcm_open=no
10215 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10216 LIBS=$ac_check_lib_save_LIBS
10218 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
10219 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
10220 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
10222 cat >>confdefs.h <<\_ACEOF
10223 #define HAVE_ALSA 1
10226 ALSALIBS="-lasound"
10235 for ac_header in libaudioio.h
10237 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10239 echo "$as_me:$LINENO: checking for $ac_header" >&5
10240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10242 echo $ECHO_N "(cached) $ECHO_C" >&6
10244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10245 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10247 # Is the header compilable?
10248 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10249 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10250 cat >conftest.$ac_ext <<_ACEOF
10251 #line $LINENO "configure"
10254 cat confdefs.h >>conftest.$ac_ext
10255 cat >>conftest.$ac_ext <<_ACEOF
10256 /* end confdefs.h. */
10257 $ac_includes_default
10258 #include <$ac_header>
10260 rm -f conftest.$ac_objext
10261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10262 (eval $ac_compile) 2>&5
10264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265 (exit $ac_status); } &&
10266 { ac_try='test -s conftest.$ac_objext'
10267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10268 (eval $ac_try) 2>&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); }; }; then
10272 ac_header_compiler=yes
10274 echo "$as_me: failed program was:" >&5
10275 sed 's/^/| /' conftest.$ac_ext >&5
10277 ac_header_compiler=no
10279 rm -f conftest.$ac_objext conftest.$ac_ext
10280 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10281 echo "${ECHO_T}$ac_header_compiler" >&6
10283 # Is the header present?
10284 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10285 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10286 cat >conftest.$ac_ext <<_ACEOF
10287 #line $LINENO "configure"
10290 cat confdefs.h >>conftest.$ac_ext
10291 cat >>conftest.$ac_ext <<_ACEOF
10292 /* end confdefs.h. */
10293 #include <$ac_header>
10295 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10296 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10298 grep -v '^ *+' conftest.er1 >conftest.err
10300 cat conftest.err >&5
10301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10302 (exit $ac_status); } >/dev/null; then
10303 if test -s conftest.err; then
10304 ac_cpp_err=$ac_c_preproc_warn_flag
10311 if test -z "$ac_cpp_err"; then
10312 ac_header_preproc=yes
10314 echo "$as_me: failed program was:" >&5
10315 sed 's/^/| /' conftest.$ac_ext >&5
10317 ac_header_preproc=no
10319 rm -f conftest.err conftest.$ac_ext
10320 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10321 echo "${ECHO_T}$ac_header_preproc" >&6
10323 # So? What about this header?
10324 case $ac_header_compiler:$ac_header_preproc in
10326 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10327 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10328 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10329 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10332 ## ------------------------------------ ##
10333 ## Report this to bug-autoconf@gnu.org. ##
10334 ## ------------------------------------ ##
10337 sed "s/^/$as_me: WARNING: /" >&2
10340 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10341 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10342 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10343 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10348 ## ------------------------------------ ##
10349 ## Report this to bug-autoconf@gnu.org. ##
10350 ## ------------------------------------ ##
10353 sed "s/^/$as_me: WARNING: /" >&2
10356 echo "$as_me:$LINENO: checking for $ac_header" >&5
10357 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10359 echo $ECHO_N "(cached) $ECHO_C" >&6
10361 eval "$as_ac_Header=$ac_header_preproc"
10363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10364 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10367 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10368 cat >>confdefs.h <<_ACEOF
10369 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10371 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
10372 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
10373 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
10374 echo $ECHO_N "(cached) $ECHO_C" >&6
10376 ac_check_lib_save_LIBS=$LIBS
10377 LIBS="-laudioio $LIBS"
10378 cat >conftest.$ac_ext <<_ACEOF
10379 #line $LINENO "configure"
10382 cat confdefs.h >>conftest.$ac_ext
10383 cat >>conftest.$ac_ext <<_ACEOF
10384 /* end confdefs.h. */
10386 /* Override any gcc2 internal prototype to avoid an error. */
10390 /* We use char because int might match the return type of a gcc2
10391 builtin and then its argument prototype would still apply. */
10392 char AudioIOGetVersion ();
10396 AudioIOGetVersion ();
10401 rm -f conftest.$ac_objext conftest$ac_exeext
10402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10403 (eval $ac_link) 2>&5
10405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10406 (exit $ac_status); } &&
10407 { ac_try='test -s conftest$ac_exeext'
10408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10409 (eval $ac_try) 2>&5
10411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412 (exit $ac_status); }; }; then
10413 ac_cv_lib_audioio_AudioIOGetVersion=yes
10415 echo "$as_me: failed program was:" >&5
10416 sed 's/^/| /' conftest.$ac_ext >&5
10418 ac_cv_lib_audioio_AudioIOGetVersion=no
10420 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10421 LIBS=$ac_check_lib_save_LIBS
10423 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
10424 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
10425 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
10426 AUDIOIOLIBS="-laudioio"
10428 cat >>confdefs.h <<\_ACEOF
10429 #define HAVE_LIBAUDIOIO 1
10440 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
10441 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
10442 if test "${ac_cv_mmap64_works+set}" = set; then
10443 echo $ECHO_N "(cached) $ECHO_C" >&6
10445 if test "$cross_compiling" = yes; then
10446 ac_cv_mmap64_works="no"
10448 cat >conftest.$ac_ext <<_ACEOF
10449 #line $LINENO "configure"
10452 cat confdefs.h >>conftest.$ac_ext
10453 cat >>conftest.$ac_ext <<_ACEOF
10454 /* end confdefs.h. */
10456 #define _FILE_OFFSET_BITS 64
10458 #include <unistd.h>
10460 #include <sys/mman.h>
10463 int main(int argc,char **argv) {
10464 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
10465 if (fd == -1) exit(1);
10467 unlink("conftest.map");
10469 write(fd,"test",4);
10471 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
10477 fprintf(stderr,"success!\n");
10483 rm -f conftest$ac_exeext
10484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10485 (eval $ac_link) 2>&5
10487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10488 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10490 (eval $ac_try) 2>&5
10492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493 (exit $ac_status); }; }; then
10494 ac_cv_mmap64_works="yes"
10496 echo "$as_me: program exited with status $ac_status" >&5
10497 echo "$as_me: failed program was:" >&5
10498 sed 's/^/| /' conftest.$ac_ext >&5
10500 ( exit $ac_status )
10501 ac_cv_mmap64_works="no"
10503 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10506 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
10507 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
10509 if test "$ac_cv_mmap64_works" = "yes"
10512 cat >>confdefs.h <<\_ACEOF
10513 #define _FILE_OFFSET_BITS 64
10519 if test "x${GCC}" = "xyes"
10521 CFLAGS="$CFLAGS -Wall"
10522 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
10523 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
10524 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
10525 echo $ECHO_N "(cached) $ECHO_C" >&6
10527 if test "$cross_compiling" = yes; then
10528 ac_cv_c_gcc_strength_bug="yes"
10530 cat >conftest.$ac_ext <<_ACEOF
10531 #line $LINENO "configure"
10534 cat confdefs.h >>conftest.$ac_ext
10535 cat >>conftest.$ac_ext <<_ACEOF
10536 /* end confdefs.h. */
10538 int L[4] = {0,1,2,3};
10540 static int Array[3];
10541 unsigned int B = 3;
10543 for(i=0; i<B; i++) Array[i] = i - 3;
10544 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
10547 exit( Array[1] != -2 || L[2] != 3);
10550 rm -f conftest$ac_exeext
10551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10552 (eval $ac_link) 2>&5
10554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10555 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10557 (eval $ac_try) 2>&5
10559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10560 (exit $ac_status); }; }; then
10561 ac_cv_c_gcc_strength_bug="no"
10563 echo "$as_me: program exited with status $ac_status" >&5
10564 echo "$as_me: failed program was:" >&5
10565 sed 's/^/| /' conftest.$ac_ext >&5
10567 ( exit $ac_status )
10568 ac_cv_c_gcc_strength_bug="yes"
10570 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10573 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
10574 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
10575 if test "$ac_cv_c_gcc_strength_bug" = "yes"
10577 CFLAGS="$CFLAGS -fno-strength-reduce"
10580 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
10581 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
10582 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
10583 echo $ECHO_N "(cached) $ECHO_C" >&6
10585 ac_wine_try_cflags_saved=$CFLAGS
10586 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
10587 cat >conftest.$ac_ext <<_ACEOF
10588 #line $LINENO "configure"
10591 cat confdefs.h >>conftest.$ac_ext
10592 cat >>conftest.$ac_ext <<_ACEOF
10593 /* end confdefs.h. */
10603 rm -f conftest.$ac_objext conftest$ac_exeext
10604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10605 (eval $ac_link) 2>&5
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); } &&
10609 { ac_try='test -s conftest$ac_exeext'
10610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10611 (eval $ac_try) 2>&5
10613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10614 (exit $ac_status); }; }; then
10615 ac_cv_c_gcc_stack_boundary="yes"
10617 echo "$as_me: failed program was:" >&5
10618 sed 's/^/| /' conftest.$ac_ext >&5
10620 ac_cv_c_gcc_stack_boundary="no"
10622 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10623 CFLAGS=$ac_wine_try_cflags_saved
10625 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
10626 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
10627 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
10629 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
10632 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
10633 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
10634 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
10635 echo $ECHO_N "(cached) $ECHO_C" >&6
10637 ac_wine_try_cflags_saved=$CFLAGS
10638 CFLAGS="$CFLAGS -gstabs+"
10639 cat >conftest.$ac_ext <<_ACEOF
10640 #line $LINENO "configure"
10643 cat confdefs.h >>conftest.$ac_ext
10644 cat >>conftest.$ac_ext <<_ACEOF
10645 /* end confdefs.h. */
10655 rm -f conftest.$ac_objext conftest$ac_exeext
10656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10657 (eval $ac_link) 2>&5
10659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10660 (exit $ac_status); } &&
10661 { ac_try='test -s conftest$ac_exeext'
10662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10663 (eval $ac_try) 2>&5
10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10666 (exit $ac_status); }; }; then
10667 ac_cv_c_gcc_gstabs="yes"
10669 echo "$as_me: failed program was:" >&5
10670 sed 's/^/| /' conftest.$ac_ext >&5
10672 ac_cv_c_gcc_gstabs="no"
10674 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10675 CFLAGS=$ac_wine_try_cflags_saved
10677 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
10678 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
10679 if test "$ac_cv_c_gcc_gstabs" = "yes"
10681 CFLAGS="$CFLAGS -gstabs+"
10686 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
10687 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
10688 if test "${ac_cv_asm_func_def+set}" = set; then
10689 echo $ECHO_N "(cached) $ECHO_C" >&6
10691 cat >conftest.$ac_ext <<_ACEOF
10692 #line $LINENO "configure"
10695 cat confdefs.h >>conftest.$ac_ext
10696 cat >>conftest.$ac_ext <<_ACEOF
10697 /* end confdefs.h. */
10698 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"); }
10708 rm -f conftest.$ac_objext conftest$ac_exeext
10709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10710 (eval $ac_link) 2>&5
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); } &&
10714 { ac_try='test -s conftest$ac_exeext'
10715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10716 (eval $ac_try) 2>&5
10718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719 (exit $ac_status); }; }; then
10720 ac_cv_asm_func_def=".def"
10722 echo "$as_me: failed program was:" >&5
10723 sed 's/^/| /' conftest.$ac_ext >&5
10725 cat >conftest.$ac_ext <<_ACEOF
10726 #line $LINENO "configure"
10729 cat confdefs.h >>conftest.$ac_ext
10730 cat >>conftest.$ac_ext <<_ACEOF
10731 /* end confdefs.h. */
10732 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
10742 rm -f conftest.$ac_objext conftest$ac_exeext
10743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10744 (eval $ac_link) 2>&5
10746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747 (exit $ac_status); } &&
10748 { ac_try='test -s conftest$ac_exeext'
10749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10750 (eval $ac_try) 2>&5
10752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10753 (exit $ac_status); }; }; then
10754 ac_cv_asm_func_def=".type @function"
10756 echo "$as_me: failed program was:" >&5
10757 sed 's/^/| /' conftest.$ac_ext >&5
10759 cat >conftest.$ac_ext <<_ACEOF
10760 #line $LINENO "configure"
10763 cat confdefs.h >>conftest.$ac_ext
10764 cat >>conftest.$ac_ext <<_ACEOF
10765 /* end confdefs.h. */
10766 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
10776 rm -f conftest.$ac_objext conftest$ac_exeext
10777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10778 (eval $ac_link) 2>&5
10780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10781 (exit $ac_status); } &&
10782 { ac_try='test -s conftest$ac_exeext'
10783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10784 (eval $ac_try) 2>&5
10786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10787 (exit $ac_status); }; }; then
10788 ac_cv_asm_func_def=".type 2"
10790 echo "$as_me: failed program was:" >&5
10791 sed 's/^/| /' conftest.$ac_ext >&5
10793 ac_cv_asm_func_def="unknown"
10795 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10799 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10801 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
10802 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
10806 case "$ac_cv_asm_func_def" in
10808 cat >>confdefs.h <<\_ACEOF
10809 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
10813 cat >>confdefs.h <<\_ACEOF
10814 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
10818 cat >>confdefs.h <<\_ACEOF
10819 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
10823 cat >>confdefs.h <<\_ACEOF
10824 #define __ASM_FUNC(name) ""
10830 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
10831 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
10832 if test "${ac_cv_c_extern_prefix+set}" = set; then
10833 echo $ECHO_N "(cached) $ECHO_C" >&6
10835 cat >conftest.$ac_ext <<_ACEOF
10836 #line $LINENO "configure"
10839 cat confdefs.h >>conftest.$ac_ext
10840 cat >>conftest.$ac_ext <<_ACEOF
10841 /* end confdefs.h. */
10842 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
10843 extern int ac_test;
10847 if (ac_test) return 1
10852 rm -f conftest.$ac_objext conftest$ac_exeext
10853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10854 (eval $ac_link) 2>&5
10856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10857 (exit $ac_status); } &&
10858 { ac_try='test -s conftest$ac_exeext'
10859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10860 (eval $ac_try) 2>&5
10862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10863 (exit $ac_status); }; }; then
10864 ac_cv_c_extern_prefix="yes"
10866 echo "$as_me: failed program was:" >&5
10867 sed 's/^/| /' conftest.$ac_ext >&5
10869 ac_cv_c_extern_prefix="no"
10871 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10873 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
10874 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
10878 if test "$ac_cv_c_extern_prefix" = "yes"
10880 cat >>confdefs.h <<\_ACEOF
10881 #define __ASM_NAME(name) "_" name
10885 cat >>confdefs.h <<\_ACEOF
10886 #define __ASM_NAME(name) name
10892 echo "$as_me:$LINENO: checking whether assembler accepts .string" >&5
10893 echo $ECHO_N "checking whether assembler accepts .string... $ECHO_C" >&6
10894 if test "${ac_cv_c_asm_string+set}" = set; then
10895 echo $ECHO_N "(cached) $ECHO_C" >&6
10897 cat >conftest.$ac_ext <<_ACEOF
10898 #line $LINENO "configure"
10901 cat confdefs.h >>conftest.$ac_ext
10902 cat >>conftest.$ac_ext <<_ACEOF
10903 /* end confdefs.h. */
10904 void ac_asm(void) { asm(".data\n\t.string \"test\"\n\t.text"); }
10914 rm -f conftest.$ac_objext conftest$ac_exeext
10915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10916 (eval $ac_link) 2>&5
10918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10919 (exit $ac_status); } &&
10920 { ac_try='test -s conftest$ac_exeext'
10921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10922 (eval $ac_try) 2>&5
10924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10925 (exit $ac_status); }; }; then
10926 ac_cv_c_asm_string="yes"
10928 echo "$as_me: failed program was:" >&5
10929 sed 's/^/| /' conftest.$ac_ext >&5
10931 ac_cv_c_asm_string="no"
10933 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10935 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
10936 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
10937 if test "$ac_cv_c_asm_string" = "yes"
10940 cat >>confdefs.h <<\_ACEOF
10941 #define HAVE_ASM_STRING 1
10964 if test -n "$ac_tool_prefix"; then
10965 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
10966 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
10967 echo "$as_me:$LINENO: checking for $ac_word" >&5
10968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10969 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
10970 echo $ECHO_N "(cached) $ECHO_C" >&6
10972 if test -n "$DLLTOOL"; then
10973 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
10975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10976 for as_dir in $PATH
10979 test -z "$as_dir" && as_dir=.
10980 for ac_exec_ext in '' $ac_executable_extensions; do
10981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10982 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
10983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10991 DLLTOOL=$ac_cv_prog_DLLTOOL
10992 if test -n "$DLLTOOL"; then
10993 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
10994 echo "${ECHO_T}$DLLTOOL" >&6
10996 echo "$as_me:$LINENO: result: no" >&5
10997 echo "${ECHO_T}no" >&6
11001 if test -z "$ac_cv_prog_DLLTOOL"; then
11002 ac_ct_DLLTOOL=$DLLTOOL
11003 # Extract the first word of "dlltool", so it can be a program name with args.
11004 set dummy dlltool; ac_word=$2
11005 echo "$as_me:$LINENO: checking for $ac_word" >&5
11006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11007 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
11008 echo $ECHO_N "(cached) $ECHO_C" >&6
11010 if test -n "$ac_ct_DLLTOOL"; then
11011 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
11013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11014 for as_dir in $PATH
11017 test -z "$as_dir" && as_dir=.
11018 for ac_exec_ext in '' $ac_executable_extensions; do
11019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11020 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
11021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11027 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
11030 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
11031 if test -n "$ac_ct_DLLTOOL"; then
11032 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
11033 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
11035 echo "$as_me:$LINENO: result: no" >&5
11036 echo "${ECHO_T}no" >&6
11039 DLLTOOL=$ac_ct_DLLTOOL
11041 DLLTOOL="$ac_cv_prog_DLLTOOL"
11044 if test -n "$ac_tool_prefix"; then
11045 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
11046 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
11047 echo "$as_me:$LINENO: checking for $ac_word" >&5
11048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11049 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
11050 echo $ECHO_N "(cached) $ECHO_C" >&6
11052 if test -n "$DLLWRAP"; then
11053 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
11055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11056 for as_dir in $PATH
11059 test -z "$as_dir" && as_dir=.
11060 for ac_exec_ext in '' $ac_executable_extensions; do
11061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11062 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
11063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11071 DLLWRAP=$ac_cv_prog_DLLWRAP
11072 if test -n "$DLLWRAP"; then
11073 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
11074 echo "${ECHO_T}$DLLWRAP" >&6
11076 echo "$as_me:$LINENO: result: no" >&5
11077 echo "${ECHO_T}no" >&6
11081 if test -z "$ac_cv_prog_DLLWRAP"; then
11082 ac_ct_DLLWRAP=$DLLWRAP
11083 # Extract the first word of "dllwrap", so it can be a program name with args.
11084 set dummy dllwrap; ac_word=$2
11085 echo "$as_me:$LINENO: checking for $ac_word" >&5
11086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11087 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
11088 echo $ECHO_N "(cached) $ECHO_C" >&6
11090 if test -n "$ac_ct_DLLWRAP"; then
11091 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
11093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11094 for as_dir in $PATH
11097 test -z "$as_dir" && as_dir=.
11098 for ac_exec_ext in '' $ac_executable_extensions; do
11099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11100 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
11101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11107 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
11110 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
11111 if test -n "$ac_ct_DLLWRAP"; then
11112 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
11113 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
11115 echo "$as_me:$LINENO: result: no" >&5
11116 echo "${ECHO_T}no" >&6
11119 DLLWRAP=$ac_ct_DLLWRAP
11121 DLLWRAP="$ac_cv_prog_DLLWRAP"
11124 if test "$DLLWRAP" = "false"; then
11133 for ac_header in dlfcn.h
11135 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11137 echo "$as_me:$LINENO: checking for $ac_header" >&5
11138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11140 echo $ECHO_N "(cached) $ECHO_C" >&6
11142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11145 # Is the header compilable?
11146 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11147 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11148 cat >conftest.$ac_ext <<_ACEOF
11149 #line $LINENO "configure"
11152 cat confdefs.h >>conftest.$ac_ext
11153 cat >>conftest.$ac_ext <<_ACEOF
11154 /* end confdefs.h. */
11155 $ac_includes_default
11156 #include <$ac_header>
11158 rm -f conftest.$ac_objext
11159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11160 (eval $ac_compile) 2>&5
11162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11163 (exit $ac_status); } &&
11164 { ac_try='test -s conftest.$ac_objext'
11165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11166 (eval $ac_try) 2>&5
11168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169 (exit $ac_status); }; }; then
11170 ac_header_compiler=yes
11172 echo "$as_me: failed program was:" >&5
11173 sed 's/^/| /' conftest.$ac_ext >&5
11175 ac_header_compiler=no
11177 rm -f conftest.$ac_objext conftest.$ac_ext
11178 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11179 echo "${ECHO_T}$ac_header_compiler" >&6
11181 # Is the header present?
11182 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11183 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11184 cat >conftest.$ac_ext <<_ACEOF
11185 #line $LINENO "configure"
11188 cat confdefs.h >>conftest.$ac_ext
11189 cat >>conftest.$ac_ext <<_ACEOF
11190 /* end confdefs.h. */
11191 #include <$ac_header>
11193 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11194 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11196 grep -v '^ *+' conftest.er1 >conftest.err
11198 cat conftest.err >&5
11199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11200 (exit $ac_status); } >/dev/null; then
11201 if test -s conftest.err; then
11202 ac_cpp_err=$ac_c_preproc_warn_flag
11209 if test -z "$ac_cpp_err"; then
11210 ac_header_preproc=yes
11212 echo "$as_me: failed program was:" >&5
11213 sed 's/^/| /' conftest.$ac_ext >&5
11215 ac_header_preproc=no
11217 rm -f conftest.err conftest.$ac_ext
11218 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11219 echo "${ECHO_T}$ac_header_preproc" >&6
11221 # So? What about this header?
11222 case $ac_header_compiler:$ac_header_preproc in
11224 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11225 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11227 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11230 ## ------------------------------------ ##
11231 ## Report this to bug-autoconf@gnu.org. ##
11232 ## ------------------------------------ ##
11235 sed "s/^/$as_me: WARNING: /" >&2
11238 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11239 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11240 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11241 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11243 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11246 ## ------------------------------------ ##
11247 ## Report this to bug-autoconf@gnu.org. ##
11248 ## ------------------------------------ ##
11251 sed "s/^/$as_me: WARNING: /" >&2
11254 echo "$as_me:$LINENO: checking for $ac_header" >&5
11255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11257 echo $ECHO_N "(cached) $ECHO_C" >&6
11259 eval "$as_ac_Header=$ac_header_preproc"
11261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11262 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11265 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11266 cat >>confdefs.h <<_ACEOF
11267 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11270 for ac_func in dlopen
11272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11273 echo "$as_me:$LINENO: checking for $ac_func" >&5
11274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11275 if eval "test \"\${$as_ac_var+set}\" = set"; then
11276 echo $ECHO_N "(cached) $ECHO_C" >&6
11278 cat >conftest.$ac_ext <<_ACEOF
11279 #line $LINENO "configure"
11282 cat confdefs.h >>conftest.$ac_ext
11283 cat >>conftest.$ac_ext <<_ACEOF
11284 /* end confdefs.h. */
11285 /* System header to define __stub macros and hopefully few prototypes,
11286 which can conflict with char $ac_func (); below.
11287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11288 <limits.h> exists even on freestanding compilers. */
11290 # include <limits.h>
11292 # include <assert.h>
11294 /* Override any gcc2 internal prototype to avoid an error. */
11299 /* We use char because int might match the return type of a gcc2
11300 builtin and then its argument prototype would still apply. */
11302 /* The GNU C library defines this for functions which it implements
11303 to always fail with ENOSYS. Some functions are actually named
11304 something starting with __ and the normal name is an alias. */
11305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11308 char (*f) () = $ac_func;
11317 return f != $ac_func;
11322 rm -f conftest.$ac_objext conftest$ac_exeext
11323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11324 (eval $ac_link) 2>&5
11326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11327 (exit $ac_status); } &&
11328 { ac_try='test -s conftest$ac_exeext'
11329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11330 (eval $ac_try) 2>&5
11332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11333 (exit $ac_status); }; }; then
11334 eval "$as_ac_var=yes"
11336 echo "$as_me: failed program was:" >&5
11337 sed 's/^/| /' conftest.$ac_ext >&5
11339 eval "$as_ac_var=no"
11341 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11345 if test `eval echo '${'$as_ac_var'}'` = yes; then
11346 cat >>confdefs.h <<_ACEOF
11347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11351 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11352 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11353 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11354 echo $ECHO_N "(cached) $ECHO_C" >&6
11356 ac_check_lib_save_LIBS=$LIBS
11358 cat >conftest.$ac_ext <<_ACEOF
11359 #line $LINENO "configure"
11362 cat confdefs.h >>conftest.$ac_ext
11363 cat >>conftest.$ac_ext <<_ACEOF
11364 /* end confdefs.h. */
11366 /* Override any gcc2 internal prototype to avoid an error. */
11370 /* We use char because int might match the return type of a gcc2
11371 builtin and then its argument prototype would still apply. */
11381 rm -f conftest.$ac_objext conftest$ac_exeext
11382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11383 (eval $ac_link) 2>&5
11385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11386 (exit $ac_status); } &&
11387 { ac_try='test -s conftest$ac_exeext'
11388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11389 (eval $ac_try) 2>&5
11391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 (exit $ac_status); }; }; then
11393 ac_cv_lib_dl_dlopen=yes
11395 echo "$as_me: failed program was:" >&5
11396 sed 's/^/| /' conftest.$ac_ext >&5
11398 ac_cv_lib_dl_dlopen=no
11400 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11401 LIBS=$ac_check_lib_save_LIBS
11403 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11404 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11405 if test $ac_cv_lib_dl_dlopen = yes; then
11407 cat >>confdefs.h <<\_ACEOF
11408 #define HAVE_DLOPEN 1
11426 if test "$LIBEXT" = "so"
11430 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
11431 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
11432 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
11433 echo $ECHO_N "(cached) $ECHO_C" >&6
11435 ac_wine_try_cflags_saved=$CFLAGS
11436 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
11437 cat >conftest.$ac_ext <<_ACEOF
11438 #line $LINENO "configure"
11441 cat confdefs.h >>conftest.$ac_ext
11442 cat >>conftest.$ac_ext <<_ACEOF
11443 /* end confdefs.h. */
11453 rm -f conftest.$ac_objext conftest$ac_exeext
11454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11455 (eval $ac_link) 2>&5
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); } &&
11459 { ac_try='test -s conftest$ac_exeext'
11460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11461 (eval $ac_try) 2>&5
11463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464 (exit $ac_status); }; }; then
11465 ac_cv_c_dll_gnuelf="yes"
11467 echo "$as_me: failed program was:" >&5
11468 sed 's/^/| /' conftest.$ac_ext >&5
11470 ac_cv_c_dll_gnuelf="no"
11472 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11473 CFLAGS=$ac_wine_try_cflags_saved
11475 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
11476 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
11477 if test "$ac_cv_c_dll_gnuelf" = "yes"
11479 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
11480 LDDLLFLAGS="-Wl,-Bsymbolic"
11481 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
11482 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
11483 if test "${ac_cv_c_dll_zdefs+set}" = set; then
11484 echo $ECHO_N "(cached) $ECHO_C" >&6
11486 ac_wine_try_cflags_saved=$CFLAGS
11487 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
11488 cat >conftest.$ac_ext <<_ACEOF
11489 #line $LINENO "configure"
11492 cat confdefs.h >>conftest.$ac_ext
11493 cat >>conftest.$ac_ext <<_ACEOF
11494 /* end confdefs.h. */
11504 rm -f conftest.$ac_objext conftest$ac_exeext
11505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11506 (eval $ac_link) 2>&5
11508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11509 (exit $ac_status); } &&
11510 { ac_try='test -s conftest$ac_exeext'
11511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11512 (eval $ac_try) 2>&5
11514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11515 (exit $ac_status); }; }; then
11516 ac_cv_c_dll_zdefs="yes"
11518 echo "$as_me: failed program was:" >&5
11519 sed 's/^/| /' conftest.$ac_ext >&5
11521 ac_cv_c_dll_zdefs="no"
11523 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11524 CFLAGS=$ac_wine_try_cflags_saved
11526 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
11527 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
11528 if test "$ac_cv_c_dll_zdefs" = "yes"
11530 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
11533 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
11534 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
11535 if test "${ac_cv_c_dll_unixware+set}" = set; then
11536 echo $ECHO_N "(cached) $ECHO_C" >&6
11538 ac_wine_try_cflags_saved=$CFLAGS
11539 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
11540 cat >conftest.$ac_ext <<_ACEOF
11541 #line $LINENO "configure"
11544 cat confdefs.h >>conftest.$ac_ext
11545 cat >>conftest.$ac_ext <<_ACEOF
11546 /* end confdefs.h. */
11556 rm -f conftest.$ac_objext conftest$ac_exeext
11557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11558 (eval $ac_link) 2>&5
11560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11561 (exit $ac_status); } &&
11562 { ac_try='test -s conftest$ac_exeext'
11563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11564 (eval $ac_try) 2>&5
11566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11567 (exit $ac_status); }; }; then
11568 ac_cv_c_dll_unixware="yes"
11570 echo "$as_me: failed program was:" >&5
11571 sed 's/^/| /' conftest.$ac_ext >&5
11573 ac_cv_c_dll_unixware="no"
11575 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11576 CFLAGS=$ac_wine_try_cflags_saved
11578 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
11579 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
11580 if test "$ac_cv_c_dll_unixware" = "yes"
11582 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
11583 LDDLLFLAGS="-Wl,-B,symbolic"
11590 if test "$cross_compiling" = "no"
11592 for ac_prog in i586-mingw32msvc-gcc
11594 # Extract the first word of "$ac_prog", so it can be a program name with args.
11595 set dummy $ac_prog; ac_word=$2
11596 echo "$as_me:$LINENO: checking for $ac_word" >&5
11597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11598 if test "${ac_cv_prog_CROSSCC+set}" = set; then
11599 echo $ECHO_N "(cached) $ECHO_C" >&6
11601 if test -n "$CROSSCC"; then
11602 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
11604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11605 for as_dir in $PATH
11608 test -z "$as_dir" && as_dir=.
11609 for ac_exec_ext in '' $ac_executable_extensions; do
11610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11611 ac_cv_prog_CROSSCC="$ac_prog"
11612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11620 CROSSCC=$ac_cv_prog_CROSSCC
11621 if test -n "$CROSSCC"; then
11622 echo "$as_me:$LINENO: result: $CROSSCC" >&5
11623 echo "${ECHO_T}$CROSSCC" >&6
11625 echo "$as_me:$LINENO: result: no" >&5
11626 echo "${ECHO_T}no" >&6
11629 test -n "$CROSSCC" && break
11631 test -n "$CROSSCC" || CROSSCC="false"
11633 for ac_prog in i586-mingw32msvc-dlltool
11635 # Extract the first word of "$ac_prog", so it can be a program name with args.
11636 set dummy $ac_prog; ac_word=$2
11637 echo "$as_me:$LINENO: checking for $ac_word" >&5
11638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11639 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
11640 echo $ECHO_N "(cached) $ECHO_C" >&6
11642 if test -n "$DLLTOOL"; then
11643 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11646 for as_dir in $PATH
11649 test -z "$as_dir" && as_dir=.
11650 for ac_exec_ext in '' $ac_executable_extensions; do
11651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11652 ac_cv_prog_DLLTOOL="$ac_prog"
11653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11661 DLLTOOL=$ac_cv_prog_DLLTOOL
11662 if test -n "$DLLTOOL"; then
11663 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
11664 echo "${ECHO_T}$DLLTOOL" >&6
11666 echo "$as_me:$LINENO: result: no" >&5
11667 echo "${ECHO_T}no" >&6
11670 test -n "$DLLTOOL" && break
11672 test -n "$DLLTOOL" || DLLTOOL="false"
11674 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
11679 if test "$LIBEXT" = "a"; then
11680 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
11681 It is currently not possible to build Wine without shared library
11682 (.so) support to allow transparent switch between .so and .dll files.
11683 If you are using Linux, you will need a newer binutils.
11685 echo "$as_me: error: could not find a way to build shared libraries.
11686 It is currently not possible to build Wine without shared library
11687 (.so) support to allow transparent switch between .so and .dll files.
11688 If you are using Linux, you will need a newer binutils.
11690 { (exit 1); exit 1; }; }
11695 LDPATH="PATH=\"\$(TOOLSDIR)/library:\$(TOOLSDIR)/unicode:\$\$PATH\""
11698 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/library:\$(TOOLSDIR)/unicode:\$\$LD_LIBRARY_PATH\""
11706 CRTLIBS="-lmsvcrt" ;;
11710 if test "$LIBEXT" = "so"
11712 # Extract the first word of "ldd", so it can be a program name with args.
11713 set dummy ldd; ac_word=$2
11714 echo "$as_me:$LINENO: checking for $ac_word" >&5
11715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11716 if test "${ac_cv_path_LDD+set}" = set; then
11717 echo $ECHO_N "(cached) $ECHO_C" >&6
11721 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
11724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11725 as_dummy="/sbin:/usr/sbin:$PATH"
11726 for as_dir in $as_dummy
11729 test -z "$as_dir" && as_dir=.
11730 for ac_exec_ext in '' $ac_executable_extensions; do
11731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11732 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
11733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11739 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
11743 LDD=$ac_cv_path_LDD
11745 if test -n "$LDD"; then
11746 echo "$as_me:$LINENO: result: $LDD" >&5
11747 echo "${ECHO_T}$LDD" >&6
11749 echo "$as_me:$LINENO: result: no" >&5
11750 echo "${ECHO_T}no" >&6
11754 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
11755 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
11756 if test "${ac_cv_lib_soname_X11+set}" = set; then
11757 echo $ECHO_N "(cached) $ECHO_C" >&6
11759 ac_get_soname_save_LIBS=$LIBS
11760 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11761 cat >conftest.$ac_ext <<_ACEOF
11762 #line $LINENO "configure"
11765 cat confdefs.h >>conftest.$ac_ext
11766 cat >>conftest.$ac_ext <<_ACEOF
11767 /* end confdefs.h. */
11769 /* Override any gcc2 internal prototype to avoid an error. */
11773 /* We use char because int might match the return type of a gcc2
11774 builtin and then its argument prototype would still apply. */
11775 char XCreateWindow ();
11784 rm -f conftest.$ac_objext conftest$ac_exeext
11785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11786 (eval $ac_link) 2>&5
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); } &&
11790 { ac_try='test -s conftest$ac_exeext'
11791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11792 (eval $ac_try) 2>&5
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795 (exit $ac_status); }; }; then
11796 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
11797 if test "x$ac_cv_lib_soname_X11" = "x"
11799 ac_cv_lib_soname_X11="libX11.so"
11802 echo "$as_me: failed program was:" >&5
11803 sed 's/^/| /' conftest.$ac_ext >&5
11805 ac_cv_lib_soname_X11="libX11.so"
11807 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11808 LIBS=$ac_get_soname_save_LIBS
11810 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
11811 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
11812 if test "x$ac_cv_lib_soname_X11" != xNONE
11814 cat >>confdefs.h <<_ACEOF
11815 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11819 echo "$as_me:$LINENO: checking for -lXext soname" >&5
11820 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
11821 if test "${ac_cv_lib_soname_Xext+set}" = set; then
11822 echo $ECHO_N "(cached) $ECHO_C" >&6
11824 ac_get_soname_save_LIBS=$LIBS
11825 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11826 cat >conftest.$ac_ext <<_ACEOF
11827 #line $LINENO "configure"
11830 cat confdefs.h >>conftest.$ac_ext
11831 cat >>conftest.$ac_ext <<_ACEOF
11832 /* end confdefs.h. */
11834 /* Override any gcc2 internal prototype to avoid an error. */
11838 /* We use char because int might match the return type of a gcc2
11839 builtin and then its argument prototype would still apply. */
11840 char XextCreateExtension ();
11844 XextCreateExtension ();
11849 rm -f conftest.$ac_objext conftest$ac_exeext
11850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11851 (eval $ac_link) 2>&5
11853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11854 (exit $ac_status); } &&
11855 { ac_try='test -s conftest$ac_exeext'
11856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11857 (eval $ac_try) 2>&5
11859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860 (exit $ac_status); }; }; then
11861 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
11862 if test "x$ac_cv_lib_soname_Xext" = "x"
11864 ac_cv_lib_soname_Xext="libXext.so"
11867 echo "$as_me: failed program was:" >&5
11868 sed 's/^/| /' conftest.$ac_ext >&5
11870 ac_cv_lib_soname_Xext="libXext.so"
11872 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11873 LIBS=$ac_get_soname_save_LIBS
11875 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
11876 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
11877 if test "x$ac_cv_lib_soname_Xext" != xNONE
11879 cat >>confdefs.h <<_ACEOF
11880 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11884 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
11885 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
11886 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
11887 echo $ECHO_N "(cached) $ECHO_C" >&6
11889 ac_get_soname_save_LIBS=$LIBS
11890 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11891 cat >conftest.$ac_ext <<_ACEOF
11892 #line $LINENO "configure"
11895 cat confdefs.h >>conftest.$ac_ext
11896 cat >>conftest.$ac_ext <<_ACEOF
11897 /* end confdefs.h. */
11899 /* Override any gcc2 internal prototype to avoid an error. */
11903 /* We use char because int might match the return type of a gcc2
11904 builtin and then its argument prototype would still apply. */
11905 char XRenderQueryExtension ();
11909 XRenderQueryExtension ();
11914 rm -f conftest.$ac_objext conftest$ac_exeext
11915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11916 (eval $ac_link) 2>&5
11918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919 (exit $ac_status); } &&
11920 { ac_try='test -s conftest$ac_exeext'
11921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11922 (eval $ac_try) 2>&5
11924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 (exit $ac_status); }; }; then
11926 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
11927 if test "x$ac_cv_lib_soname_Xrender" = "x"
11929 ac_cv_lib_soname_Xrender="libXrender.so"
11932 echo "$as_me: failed program was:" >&5
11933 sed 's/^/| /' conftest.$ac_ext >&5
11935 ac_cv_lib_soname_Xrender="libXrender.so"
11937 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11938 LIBS=$ac_get_soname_save_LIBS
11940 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
11941 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
11942 if test "x$ac_cv_lib_soname_Xrender" != xNONE
11944 cat >>confdefs.h <<_ACEOF
11945 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11949 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
11950 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
11951 if test "${ac_cv_lib_soname_freetype+set}" = set; then
11952 echo $ECHO_N "(cached) $ECHO_C" >&6
11954 ac_get_soname_save_LIBS=$LIBS
11955 LIBS="-lfreetype $X_LIBS $LIBS"
11956 cat >conftest.$ac_ext <<_ACEOF
11957 #line $LINENO "configure"
11960 cat confdefs.h >>conftest.$ac_ext
11961 cat >>conftest.$ac_ext <<_ACEOF
11962 /* end confdefs.h. */
11964 /* Override any gcc2 internal prototype to avoid an error. */
11968 /* We use char because int might match the return type of a gcc2
11969 builtin and then its argument prototype would still apply. */
11970 char FT_Init_FreeType ();
11974 FT_Init_FreeType ();
11979 rm -f conftest.$ac_objext conftest$ac_exeext
11980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11981 (eval $ac_link) 2>&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); } &&
11985 { ac_try='test -s conftest$ac_exeext'
11986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11987 (eval $ac_try) 2>&5
11989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11990 (exit $ac_status); }; }; then
11991 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
11992 if test "x$ac_cv_lib_soname_freetype" = "x"
11994 ac_cv_lib_soname_freetype="libfreetype.so"
11997 echo "$as_me: failed program was:" >&5
11998 sed 's/^/| /' conftest.$ac_ext >&5
12000 ac_cv_lib_soname_freetype="libfreetype.so"
12002 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12003 LIBS=$ac_get_soname_save_LIBS
12005 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
12006 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
12007 if test "x$ac_cv_lib_soname_freetype" != xNONE
12009 cat >>confdefs.h <<_ACEOF
12010 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12014 echo "$as_me:$LINENO: checking for -lGL soname" >&5
12015 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
12016 if test "${ac_cv_lib_soname_GL+set}" = set; then
12017 echo $ECHO_N "(cached) $ECHO_C" >&6
12019 ac_get_soname_save_LIBS=$LIBS
12020 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
12021 cat >conftest.$ac_ext <<_ACEOF
12022 #line $LINENO "configure"
12025 cat confdefs.h >>conftest.$ac_ext
12026 cat >>conftest.$ac_ext <<_ACEOF
12027 /* end confdefs.h. */
12029 /* Override any gcc2 internal prototype to avoid an error. */
12033 /* We use char because int might match the return type of a gcc2
12034 builtin and then its argument prototype would still apply. */
12035 char glXQueryExtension ();
12039 glXQueryExtension ();
12044 rm -f conftest.$ac_objext conftest$ac_exeext
12045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12046 (eval $ac_link) 2>&5
12048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12049 (exit $ac_status); } &&
12050 { ac_try='test -s conftest$ac_exeext'
12051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12052 (eval $ac_try) 2>&5
12054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 (exit $ac_status); }; }; then
12056 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12057 if test "x$ac_cv_lib_soname_GL" = "x"
12059 ac_cv_lib_soname_GL="libGL.so"
12062 echo "$as_me: failed program was:" >&5
12063 sed 's/^/| /' conftest.$ac_ext >&5
12065 ac_cv_lib_soname_GL="libGL.so"
12067 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12068 LIBS=$ac_get_soname_save_LIBS
12070 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
12071 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
12072 if test "x$ac_cv_lib_soname_GL" != xNONE
12074 cat >>confdefs.h <<_ACEOF
12075 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12079 echo "$as_me:$LINENO: checking for -lcups soname" >&5
12080 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
12081 if test "${ac_cv_lib_soname_cups+set}" = set; then
12082 echo $ECHO_N "(cached) $ECHO_C" >&6
12084 ac_get_soname_save_LIBS=$LIBS
12085 LIBS="-lcups $LIBS"
12086 cat >conftest.$ac_ext <<_ACEOF
12087 #line $LINENO "configure"
12090 cat confdefs.h >>conftest.$ac_ext
12091 cat >>conftest.$ac_ext <<_ACEOF
12092 /* end confdefs.h. */
12094 /* Override any gcc2 internal prototype to avoid an error. */
12098 /* We use char because int might match the return type of a gcc2
12099 builtin and then its argument prototype would still apply. */
12100 char cupsGetDefault ();
12109 rm -f conftest.$ac_objext conftest$ac_exeext
12110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12111 (eval $ac_link) 2>&5
12113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12114 (exit $ac_status); } &&
12115 { ac_try='test -s conftest$ac_exeext'
12116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12117 (eval $ac_try) 2>&5
12119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12120 (exit $ac_status); }; }; then
12121 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12122 if test "x$ac_cv_lib_soname_cups" = "x"
12124 ac_cv_lib_soname_cups="libcups.so"
12127 echo "$as_me: failed program was:" >&5
12128 sed 's/^/| /' conftest.$ac_ext >&5
12130 ac_cv_lib_soname_cups="libcups.so"
12132 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12133 LIBS=$ac_get_soname_save_LIBS
12135 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
12136 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
12137 if test "x$ac_cv_lib_soname_cups" != xNONE
12139 cat >>confdefs.h <<_ACEOF
12140 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12144 echo "$as_me:$LINENO: checking for -ljack soname" >&5
12145 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
12146 if test "${ac_cv_lib_soname_jack+set}" = set; then
12147 echo $ECHO_N "(cached) $ECHO_C" >&6
12149 ac_get_soname_save_LIBS=$LIBS
12150 LIBS="-ljack $LIBS"
12151 cat >conftest.$ac_ext <<_ACEOF
12152 #line $LINENO "configure"
12155 cat confdefs.h >>conftest.$ac_ext
12156 cat >>conftest.$ac_ext <<_ACEOF
12157 /* end confdefs.h. */
12159 /* Override any gcc2 internal prototype to avoid an error. */
12163 /* We use char because int might match the return type of a gcc2
12164 builtin and then its argument prototype would still apply. */
12165 char jack_client_new ();
12169 jack_client_new ();
12174 rm -f conftest.$ac_objext conftest$ac_exeext
12175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12176 (eval $ac_link) 2>&5
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); } &&
12180 { ac_try='test -s conftest$ac_exeext'
12181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12182 (eval $ac_try) 2>&5
12184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185 (exit $ac_status); }; }; then
12186 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
12187 if test "x$ac_cv_lib_soname_jack" = "x"
12189 ac_cv_lib_soname_jack="libjack.so"
12192 echo "$as_me: failed program was:" >&5
12193 sed 's/^/| /' conftest.$ac_ext >&5
12195 ac_cv_lib_soname_jack="libjack.so"
12197 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12198 LIBS=$ac_get_soname_save_LIBS
12200 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
12201 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
12202 if test "x$ac_cv_lib_soname_jack" != xNONE
12204 cat >>confdefs.h <<_ACEOF
12205 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
12212 wine_cv_libc_reentrant=no
12213 echo "$as_me:$LINENO: checking for reentrant libc: __errno_location" >&5
12214 echo $ECHO_N "checking for reentrant libc: __errno_location... $ECHO_C" >&6
12215 if test "${wine_cv_libc_r___errno_location+set}" = set; then
12216 echo $ECHO_N "(cached) $ECHO_C" >&6
12218 if test "$cross_compiling" = yes; then
12219 wine_cv_libc_r___errno_location=yes
12221 cat >conftest.$ac_ext <<_ACEOF
12222 #line $LINENO "configure"
12225 cat confdefs.h >>conftest.$ac_ext
12226 cat >>conftest.$ac_ext <<_ACEOF
12227 /* end confdefs.h. */
12229 int *__errno_location(){return &myerrno;}
12230 main(){close(333); close(333); exit(!myerrno);}
12232 rm -f conftest$ac_exeext
12233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12234 (eval $ac_link) 2>&5
12236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12239 (eval $ac_try) 2>&5
12241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12242 (exit $ac_status); }; }; then
12243 wine_cv_libc_r___errno_location=yes
12245 echo "$as_me: program exited with status $ac_status" >&5
12246 echo "$as_me: failed program was:" >&5
12247 sed 's/^/| /' conftest.$ac_ext >&5
12249 ( exit $ac_status )
12250 wine_cv_libc_r___errno_location=no
12252 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12255 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno_location" >&5
12256 echo "${ECHO_T}$wine_cv_libc_r___errno_location" >&6
12257 if test "$wine_cv_libc_r___errno_location" = "yes"; then
12258 wine_cv_libc_reentrant=__errno_location
12260 echo "$as_me:$LINENO: checking for reentrant libc: __error" >&5
12261 echo $ECHO_N "checking for reentrant libc: __error... $ECHO_C" >&6
12262 if test "${wine_cv_libc_r___error+set}" = set; then
12263 echo $ECHO_N "(cached) $ECHO_C" >&6
12265 if test "$cross_compiling" = yes; then
12266 wine_cv_libc_r___error=yes
12268 cat >conftest.$ac_ext <<_ACEOF
12269 #line $LINENO "configure"
12272 cat confdefs.h >>conftest.$ac_ext
12273 cat >>conftest.$ac_ext <<_ACEOF
12274 /* end confdefs.h. */
12276 int *__error(){return &myerrno;}
12277 main(){close(333); close(333); exit(!myerrno);}
12279 rm -f conftest$ac_exeext
12280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12281 (eval $ac_link) 2>&5
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12286 (eval $ac_try) 2>&5
12288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12289 (exit $ac_status); }; }; then
12290 wine_cv_libc_r___error=yes
12292 echo "$as_me: program exited with status $ac_status" >&5
12293 echo "$as_me: failed program was:" >&5
12294 sed 's/^/| /' conftest.$ac_ext >&5
12296 ( exit $ac_status )
12297 wine_cv_libc_r___error=no
12299 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12302 echo "$as_me:$LINENO: result: $wine_cv_libc_r___error" >&5
12303 echo "${ECHO_T}$wine_cv_libc_r___error" >&6
12304 if test "$wine_cv_libc_r___error" = "yes"; then
12305 wine_cv_libc_reentrant=__error
12307 echo "$as_me:$LINENO: checking for reentrant libc: ___errno" >&5
12308 echo $ECHO_N "checking for reentrant libc: ___errno... $ECHO_C" >&6
12309 if test "${wine_cv_libc_r____errno+set}" = set; then
12310 echo $ECHO_N "(cached) $ECHO_C" >&6
12312 if test "$cross_compiling" = yes; then
12313 wine_cv_libc_r____errno=yes
12315 cat >conftest.$ac_ext <<_ACEOF
12316 #line $LINENO "configure"
12319 cat confdefs.h >>conftest.$ac_ext
12320 cat >>conftest.$ac_ext <<_ACEOF
12321 /* end confdefs.h. */
12323 int *___errno(){return &myerrno;}
12324 main(){close(333); close(333); exit(!myerrno);}
12326 rm -f conftest$ac_exeext
12327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12328 (eval $ac_link) 2>&5
12330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12333 (eval $ac_try) 2>&5
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); }; }; then
12337 wine_cv_libc_r____errno=yes
12339 echo "$as_me: program exited with status $ac_status" >&5
12340 echo "$as_me: failed program was:" >&5
12341 sed 's/^/| /' conftest.$ac_ext >&5
12343 ( exit $ac_status )
12344 wine_cv_libc_r____errno=no
12346 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12349 echo "$as_me:$LINENO: result: $wine_cv_libc_r____errno" >&5
12350 echo "${ECHO_T}$wine_cv_libc_r____errno" >&6
12351 if test "$wine_cv_libc_r____errno" = "yes"; then
12352 wine_cv_libc_reentrant=___errno
12354 echo "$as_me:$LINENO: checking for reentrant libc: __thr_errno" >&5
12355 echo $ECHO_N "checking for reentrant libc: __thr_errno... $ECHO_C" >&6
12356 if test "${wine_cv_libc_r___thr_errno+set}" = set; then
12357 echo $ECHO_N "(cached) $ECHO_C" >&6
12359 if test "$cross_compiling" = yes; then
12360 wine_cv_libc_r___thr_errno=yes
12362 cat >conftest.$ac_ext <<_ACEOF
12363 #line $LINENO "configure"
12366 cat confdefs.h >>conftest.$ac_ext
12367 cat >>conftest.$ac_ext <<_ACEOF
12368 /* end confdefs.h. */
12370 int *__thr_errno(){return &myerrno;}
12371 main(){close(333); close(333); exit(!myerrno);}
12373 rm -f conftest$ac_exeext
12374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12375 (eval $ac_link) 2>&5
12377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12378 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12380 (eval $ac_try) 2>&5
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); }; }; then
12384 wine_cv_libc_r___thr_errno=yes
12386 echo "$as_me: program exited with status $ac_status" >&5
12387 echo "$as_me: failed program was:" >&5
12388 sed 's/^/| /' conftest.$ac_ext >&5
12390 ( exit $ac_status )
12391 wine_cv_libc_r___thr_errno=no
12393 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12396 echo "$as_me:$LINENO: result: $wine_cv_libc_r___thr_errno" >&5
12397 echo "${ECHO_T}$wine_cv_libc_r___thr_errno" >&6
12398 if test "$wine_cv_libc_r___thr_errno" = "yes"; then
12399 wine_cv_libc_reentrant=__thr_errno
12401 echo "$as_me:$LINENO: checking for reentrant libc: __errno" >&5
12402 echo $ECHO_N "checking for reentrant libc: __errno... $ECHO_C" >&6
12403 if test "${wine_cv_libc_r___errno+set}" = set; then
12404 echo $ECHO_N "(cached) $ECHO_C" >&6
12406 if test "$cross_compiling" = yes; then
12407 wine_cv_libc_r___errno=yes
12409 cat >conftest.$ac_ext <<_ACEOF
12410 #line $LINENO "configure"
12413 cat confdefs.h >>conftest.$ac_ext
12414 cat >>conftest.$ac_ext <<_ACEOF
12415 /* end confdefs.h. */
12417 int *__errno(){return &myerrno;}
12418 main(){close(333); close(333); exit(!myerrno);}
12420 rm -f conftest$ac_exeext
12421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12422 (eval $ac_link) 2>&5
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12427 (eval $ac_try) 2>&5
12429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12430 (exit $ac_status); }; }; then
12431 wine_cv_libc_r___errno=yes
12433 echo "$as_me: program exited with status $ac_status" >&5
12434 echo "$as_me: failed program was:" >&5
12435 sed 's/^/| /' conftest.$ac_ext >&5
12437 ( exit $ac_status )
12438 wine_cv_libc_r___errno=no
12440 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12443 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno" >&5
12444 echo "${ECHO_T}$wine_cv_libc_r___errno" >&6
12445 if test "$wine_cv_libc_r___errno" = "yes"; then
12446 wine_cv_libc_reentrant=__errno
12459 if test "$wine_cv_libc_reentrant" != "no"
12462 cat >>confdefs.h <<_ACEOF
12463 #define ERRNO_LOCATION $wine_cv_libc_reentrant
12469 if test "$have_x" = "yes"
12471 echo "$as_me:$LINENO: checking for reentrant X libraries" >&5
12472 echo $ECHO_N "checking for reentrant X libraries... $ECHO_C" >&6
12473 if test "${wine_cv_x_reentrant+set}" = set; then
12474 echo $ECHO_N "(cached) $ECHO_C" >&6
12477 for dir in "$x_libraries" /usr/lib /usr/local/lib /lib; do
12478 if test -r $dir/libX11.so; then
12479 libX11_check="-D $dir/libX11.so"
12482 if test -r $dir/libX11.a; then
12483 libX11_check="$dir/libX11.a"
12487 if test "$libX11_check" != "none"; then
12488 if nm $libX11_check | grep $wine_cv_libc_reentrant >/dev/null 2>&1
12490 wine_cv_x_reentrant=yes
12492 wine_cv_x_reentrant=no
12495 wine_cv_x_reentrant=unknown
12498 echo "$as_me:$LINENO: result: $wine_cv_x_reentrant" >&5
12499 echo "${ECHO_T}$wine_cv_x_reentrant" >&6
12503 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12504 # for constant arguments. Useless!
12505 echo "$as_me:$LINENO: checking for working alloca.h" >&5
12506 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
12507 if test "${ac_cv_working_alloca_h+set}" = set; then
12508 echo $ECHO_N "(cached) $ECHO_C" >&6
12510 cat >conftest.$ac_ext <<_ACEOF
12511 #line $LINENO "configure"
12514 cat confdefs.h >>conftest.$ac_ext
12515 cat >>conftest.$ac_ext <<_ACEOF
12516 /* end confdefs.h. */
12517 #include <alloca.h>
12521 char *p = (char *) alloca (2 * sizeof (int));
12526 rm -f conftest.$ac_objext conftest$ac_exeext
12527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12528 (eval $ac_link) 2>&5
12530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531 (exit $ac_status); } &&
12532 { ac_try='test -s conftest$ac_exeext'
12533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12534 (eval $ac_try) 2>&5
12536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12537 (exit $ac_status); }; }; then
12538 ac_cv_working_alloca_h=yes
12540 echo "$as_me: failed program was:" >&5
12541 sed 's/^/| /' conftest.$ac_ext >&5
12543 ac_cv_working_alloca_h=no
12545 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12547 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
12548 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
12549 if test $ac_cv_working_alloca_h = yes; then
12551 cat >>confdefs.h <<\_ACEOF
12552 #define HAVE_ALLOCA_H 1
12557 echo "$as_me:$LINENO: checking for alloca" >&5
12558 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
12559 if test "${ac_cv_func_alloca_works+set}" = set; then
12560 echo $ECHO_N "(cached) $ECHO_C" >&6
12562 cat >conftest.$ac_ext <<_ACEOF
12563 #line $LINENO "configure"
12566 cat confdefs.h >>conftest.$ac_ext
12567 cat >>conftest.$ac_ext <<_ACEOF
12568 /* end confdefs.h. */
12570 # define alloca __builtin_alloca
12573 # include <malloc.h>
12574 # define alloca _alloca
12577 # include <alloca.h>
12582 # ifndef alloca /* predefined by HP cc +Olibcalls */
12593 char *p = (char *) alloca (1);
12598 rm -f conftest.$ac_objext conftest$ac_exeext
12599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12600 (eval $ac_link) 2>&5
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); } &&
12604 { ac_try='test -s conftest$ac_exeext'
12605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12606 (eval $ac_try) 2>&5
12608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12609 (exit $ac_status); }; }; then
12610 ac_cv_func_alloca_works=yes
12612 echo "$as_me: failed program was:" >&5
12613 sed 's/^/| /' conftest.$ac_ext >&5
12615 ac_cv_func_alloca_works=no
12617 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12619 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
12620 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
12622 if test $ac_cv_func_alloca_works = yes; then
12624 cat >>confdefs.h <<\_ACEOF
12625 #define HAVE_ALLOCA 1
12629 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
12630 # that cause trouble. Some versions do not even contain alloca or
12631 # contain a buggy version. If you still want to use their alloca,
12632 # use ar to extract alloca.o from them instead of compiling alloca.c.
12634 ALLOCA=alloca.$ac_objext
12636 cat >>confdefs.h <<\_ACEOF
12641 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
12642 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
12643 if test "${ac_cv_os_cray+set}" = set; then
12644 echo $ECHO_N "(cached) $ECHO_C" >&6
12646 cat >conftest.$ac_ext <<_ACEOF
12647 #line $LINENO "configure"
12650 cat confdefs.h >>conftest.$ac_ext
12651 cat >>conftest.$ac_ext <<_ACEOF
12652 /* end confdefs.h. */
12653 #if defined(CRAY) && ! defined(CRAY2)
12660 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12661 $EGREP "webecray" >/dev/null 2>&1; then
12669 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
12670 echo "${ECHO_T}$ac_cv_os_cray" >&6
12671 if test $ac_cv_os_cray = yes; then
12672 for ac_func in _getb67 GETB67 getb67; do
12673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12674 echo "$as_me:$LINENO: checking for $ac_func" >&5
12675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12676 if eval "test \"\${$as_ac_var+set}\" = set"; then
12677 echo $ECHO_N "(cached) $ECHO_C" >&6
12679 cat >conftest.$ac_ext <<_ACEOF
12680 #line $LINENO "configure"
12683 cat confdefs.h >>conftest.$ac_ext
12684 cat >>conftest.$ac_ext <<_ACEOF
12685 /* end confdefs.h. */
12686 /* System header to define __stub macros and hopefully few prototypes,
12687 which can conflict with char $ac_func (); below.
12688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12689 <limits.h> exists even on freestanding compilers. */
12691 # include <limits.h>
12693 # include <assert.h>
12695 /* Override any gcc2 internal prototype to avoid an error. */
12700 /* We use char because int might match the return type of a gcc2
12701 builtin and then its argument prototype would still apply. */
12703 /* The GNU C library defines this for functions which it implements
12704 to always fail with ENOSYS. Some functions are actually named
12705 something starting with __ and the normal name is an alias. */
12706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12709 char (*f) () = $ac_func;
12718 return f != $ac_func;
12723 rm -f conftest.$ac_objext conftest$ac_exeext
12724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12725 (eval $ac_link) 2>&5
12727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12728 (exit $ac_status); } &&
12729 { ac_try='test -s conftest$ac_exeext'
12730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12731 (eval $ac_try) 2>&5
12733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12734 (exit $ac_status); }; }; then
12735 eval "$as_ac_var=yes"
12737 echo "$as_me: failed program was:" >&5
12738 sed 's/^/| /' conftest.$ac_ext >&5
12740 eval "$as_ac_var=no"
12742 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12746 if test `eval echo '${'$as_ac_var'}'` = yes; then
12748 cat >>confdefs.h <<_ACEOF
12749 #define CRAY_STACKSEG_END $ac_func
12758 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
12759 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
12760 if test "${ac_cv_c_stack_direction+set}" = set; then
12761 echo $ECHO_N "(cached) $ECHO_C" >&6
12763 if test "$cross_compiling" = yes; then
12764 ac_cv_c_stack_direction=0
12766 cat >conftest.$ac_ext <<_ACEOF
12767 #line $LINENO "configure"
12770 cat confdefs.h >>conftest.$ac_ext
12771 cat >>conftest.$ac_ext <<_ACEOF
12772 /* end confdefs.h. */
12774 find_stack_direction ()
12776 static char *addr = 0;
12781 return find_stack_direction ();
12784 return (&dummy > addr) ? 1 : -1;
12790 exit (find_stack_direction () < 0);
12793 rm -f conftest$ac_exeext
12794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12795 (eval $ac_link) 2>&5
12797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12800 (eval $ac_try) 2>&5
12802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12803 (exit $ac_status); }; }; then
12804 ac_cv_c_stack_direction=1
12806 echo "$as_me: program exited with status $ac_status" >&5
12807 echo "$as_me: failed program was:" >&5
12808 sed 's/^/| /' conftest.$ac_ext >&5
12810 ( exit $ac_status )
12811 ac_cv_c_stack_direction=-1
12813 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12816 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
12817 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
12819 cat >>confdefs.h <<_ACEOF
12820 #define STACK_DIRECTION $ac_cv_c_stack_direction
12915 pthread_getspecific \
12916 pthread_key_create \
12917 pthread_mutex_lock \
12918 pthread_mutex_unlock \
12919 pthread_setspecific \
12939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12940 echo "$as_me:$LINENO: checking for $ac_func" >&5
12941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12942 if eval "test \"\${$as_ac_var+set}\" = set"; then
12943 echo $ECHO_N "(cached) $ECHO_C" >&6
12945 cat >conftest.$ac_ext <<_ACEOF
12946 #line $LINENO "configure"
12949 cat confdefs.h >>conftest.$ac_ext
12950 cat >>conftest.$ac_ext <<_ACEOF
12951 /* end confdefs.h. */
12952 /* System header to define __stub macros and hopefully few prototypes,
12953 which can conflict with char $ac_func (); below.
12954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12955 <limits.h> exists even on freestanding compilers. */
12957 # include <limits.h>
12959 # include <assert.h>
12961 /* Override any gcc2 internal prototype to avoid an error. */
12966 /* We use char because int might match the return type of a gcc2
12967 builtin and then its argument prototype would still apply. */
12969 /* The GNU C library defines this for functions which it implements
12970 to always fail with ENOSYS. Some functions are actually named
12971 something starting with __ and the normal name is an alias. */
12972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12975 char (*f) () = $ac_func;
12984 return f != $ac_func;
12989 rm -f conftest.$ac_objext conftest$ac_exeext
12990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12991 (eval $ac_link) 2>&5
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); } &&
12995 { ac_try='test -s conftest$ac_exeext'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; }; then
13001 eval "$as_ac_var=yes"
13003 echo "$as_me: failed program was:" >&5
13004 sed 's/^/| /' conftest.$ac_ext >&5
13006 eval "$as_ac_var=no"
13008 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13012 if test `eval echo '${'$as_ac_var'}'` = yes; then
13013 cat >>confdefs.h <<_ACEOF
13014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13115 netinet/in_systm.h \
13163 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13165 echo "$as_me:$LINENO: checking for $ac_header" >&5
13166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13168 echo $ECHO_N "(cached) $ECHO_C" >&6
13170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13173 # Is the header compilable?
13174 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13175 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13176 cat >conftest.$ac_ext <<_ACEOF
13177 #line $LINENO "configure"
13180 cat confdefs.h >>conftest.$ac_ext
13181 cat >>conftest.$ac_ext <<_ACEOF
13182 /* end confdefs.h. */
13183 $ac_includes_default
13184 #include <$ac_header>
13186 rm -f conftest.$ac_objext
13187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13188 (eval $ac_compile) 2>&5
13190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13191 (exit $ac_status); } &&
13192 { ac_try='test -s conftest.$ac_objext'
13193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13194 (eval $ac_try) 2>&5
13196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13197 (exit $ac_status); }; }; then
13198 ac_header_compiler=yes
13200 echo "$as_me: failed program was:" >&5
13201 sed 's/^/| /' conftest.$ac_ext >&5
13203 ac_header_compiler=no
13205 rm -f conftest.$ac_objext conftest.$ac_ext
13206 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13207 echo "${ECHO_T}$ac_header_compiler" >&6
13209 # Is the header present?
13210 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13211 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13212 cat >conftest.$ac_ext <<_ACEOF
13213 #line $LINENO "configure"
13216 cat confdefs.h >>conftest.$ac_ext
13217 cat >>conftest.$ac_ext <<_ACEOF
13218 /* end confdefs.h. */
13219 #include <$ac_header>
13221 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13222 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13224 grep -v '^ *+' conftest.er1 >conftest.err
13226 cat conftest.err >&5
13227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13228 (exit $ac_status); } >/dev/null; then
13229 if test -s conftest.err; then
13230 ac_cpp_err=$ac_c_preproc_warn_flag
13237 if test -z "$ac_cpp_err"; then
13238 ac_header_preproc=yes
13240 echo "$as_me: failed program was:" >&5
13241 sed 's/^/| /' conftest.$ac_ext >&5
13243 ac_header_preproc=no
13245 rm -f conftest.err conftest.$ac_ext
13246 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13247 echo "${ECHO_T}$ac_header_preproc" >&6
13249 # So? What about this header?
13250 case $ac_header_compiler:$ac_header_preproc in
13252 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13253 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13254 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13255 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13258 ## ------------------------------------ ##
13259 ## Report this to bug-autoconf@gnu.org. ##
13260 ## ------------------------------------ ##
13263 sed "s/^/$as_me: WARNING: /" >&2
13266 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13267 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13268 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13269 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13274 ## ------------------------------------ ##
13275 ## Report this to bug-autoconf@gnu.org. ##
13276 ## ------------------------------------ ##
13279 sed "s/^/$as_me: WARNING: /" >&2
13282 echo "$as_me:$LINENO: checking for $ac_header" >&5
13283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13285 echo $ECHO_N "(cached) $ECHO_C" >&6
13287 eval "$as_ac_Header=$ac_header_preproc"
13289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13290 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13293 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13294 cat >>confdefs.h <<_ACEOF
13295 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13302 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
13303 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
13304 if test "${ac_cv_header_stat_broken+set}" = set; then
13305 echo $ECHO_N "(cached) $ECHO_C" >&6
13307 cat >conftest.$ac_ext <<_ACEOF
13308 #line $LINENO "configure"
13311 cat confdefs.h >>conftest.$ac_ext
13312 cat >>conftest.$ac_ext <<_ACEOF
13313 /* end confdefs.h. */
13314 #include <sys/types.h>
13315 #include <sys/stat.h>
13317 #if defined(S_ISBLK) && defined(S_IFDIR)
13318 # if S_ISBLK (S_IFDIR)
13323 #if defined(S_ISBLK) && defined(S_IFCHR)
13324 # if S_ISBLK (S_IFCHR)
13329 #if defined(S_ISLNK) && defined(S_IFREG)
13330 # if S_ISLNK (S_IFREG)
13335 #if defined(S_ISSOCK) && defined(S_IFREG)
13336 # if S_ISSOCK (S_IFREG)
13342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13343 $EGREP "You lose" >/dev/null 2>&1; then
13344 ac_cv_header_stat_broken=yes
13346 ac_cv_header_stat_broken=no
13351 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
13352 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
13353 if test $ac_cv_header_stat_broken = yes; then
13355 cat >>confdefs.h <<\_ACEOF
13356 #define STAT_MACROS_BROKEN 1
13365 for ac_header in sys/mount.h sys/user.h
13367 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13368 echo "$as_me:$LINENO: checking for $ac_header" >&5
13369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13371 echo $ECHO_N "(cached) $ECHO_C" >&6
13373 cat >conftest.$ac_ext <<_ACEOF
13374 #line $LINENO "configure"
13377 cat confdefs.h >>conftest.$ac_ext
13378 cat >>conftest.$ac_ext <<_ACEOF
13379 /* end confdefs.h. */
13380 #include <sys/types.h>
13381 #if HAVE_SYS_PARAM_H
13382 # include <sys/param.h>
13385 #include <$ac_header>
13387 rm -f conftest.$ac_objext
13388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13389 (eval $ac_compile) 2>&5
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); } &&
13393 { ac_try='test -s conftest.$ac_objext'
13394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13395 (eval $ac_try) 2>&5
13397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398 (exit $ac_status); }; }; then
13399 eval "$as_ac_Header=yes"
13401 echo "$as_me: failed program was:" >&5
13402 sed 's/^/| /' conftest.$ac_ext >&5
13404 eval "$as_ac_Header=no"
13406 rm -f conftest.$ac_objext conftest.$ac_ext
13408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13409 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13410 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13411 cat >>confdefs.h <<_ACEOF
13412 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13421 for ac_header in net/if.h
13423 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13424 echo "$as_me:$LINENO: checking for $ac_header" >&5
13425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13427 echo $ECHO_N "(cached) $ECHO_C" >&6
13429 cat >conftest.$ac_ext <<_ACEOF
13430 #line $LINENO "configure"
13433 cat confdefs.h >>conftest.$ac_ext
13434 cat >>conftest.$ac_ext <<_ACEOF
13435 /* end confdefs.h. */
13436 #include <sys/types.h>
13437 #if HAVE_SYS_SOCKET_H
13438 # include <sys/socket.h>
13441 #include <$ac_header>
13443 rm -f conftest.$ac_objext
13444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13445 (eval $ac_compile) 2>&5
13447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448 (exit $ac_status); } &&
13449 { ac_try='test -s conftest.$ac_objext'
13450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13451 (eval $ac_try) 2>&5
13453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13454 (exit $ac_status); }; }; then
13455 eval "$as_ac_Header=yes"
13457 echo "$as_me: failed program was:" >&5
13458 sed 's/^/| /' conftest.$ac_ext >&5
13460 eval "$as_ac_Header=no"
13462 rm -f conftest.$ac_objext conftest.$ac_ext
13464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13465 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13466 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13467 cat >>confdefs.h <<_ACEOF
13468 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13477 for ac_header in netinet/ip.h
13479 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13480 echo "$as_me:$LINENO: checking for $ac_header" >&5
13481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13482 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13483 echo $ECHO_N "(cached) $ECHO_C" >&6
13485 cat >conftest.$ac_ext <<_ACEOF
13486 #line $LINENO "configure"
13489 cat confdefs.h >>conftest.$ac_ext
13490 cat >>conftest.$ac_ext <<_ACEOF
13491 /* end confdefs.h. */
13492 #include <sys/types.h>
13493 #if HAVE_SYS_SOCKET_H
13494 # include <sys/socket.h>
13496 #if HAVE_NETINET_IN_SYSTM_H
13497 # include <netinet/in_systm.h>
13500 #include <$ac_header>
13502 rm -f conftest.$ac_objext
13503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13504 (eval $ac_compile) 2>&5
13506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13507 (exit $ac_status); } &&
13508 { ac_try='test -s conftest.$ac_objext'
13509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13510 (eval $ac_try) 2>&5
13512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13513 (exit $ac_status); }; }; then
13514 eval "$as_ac_Header=yes"
13516 echo "$as_me: failed program was:" >&5
13517 sed 's/^/| /' conftest.$ac_ext >&5
13519 eval "$as_ac_Header=no"
13521 rm -f conftest.$ac_objext conftest.$ac_ext
13523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13524 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13525 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13526 cat >>confdefs.h <<_ACEOF
13527 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13536 for ac_header in resolv.h
13538 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13539 echo "$as_me:$LINENO: checking for $ac_header" >&5
13540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13542 echo $ECHO_N "(cached) $ECHO_C" >&6
13544 cat >conftest.$ac_ext <<_ACEOF
13545 #line $LINENO "configure"
13548 cat confdefs.h >>conftest.$ac_ext
13549 cat >>conftest.$ac_ext <<_ACEOF
13550 /* end confdefs.h. */
13551 #include <sys/types.h>
13552 #if HAVE_SYS_SOCKET_H
13553 # include <sys/socket.h>
13556 #include <$ac_header>
13558 rm -f conftest.$ac_objext
13559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13560 (eval $ac_compile) 2>&5
13562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13563 (exit $ac_status); } &&
13564 { ac_try='test -s conftest.$ac_objext'
13565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13566 (eval $ac_try) 2>&5
13568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13569 (exit $ac_status); }; }; then
13570 eval "$as_ac_Header=yes"
13572 echo "$as_me: failed program was:" >&5
13573 sed 's/^/| /' conftest.$ac_ext >&5
13575 eval "$as_ac_Header=no"
13577 rm -f conftest.$ac_objext conftest.$ac_ext
13579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13580 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13582 cat >>confdefs.h <<_ACEOF
13583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13592 for ac_header in ucontext.h
13594 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13595 echo "$as_me:$LINENO: checking for $ac_header" >&5
13596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13598 echo $ECHO_N "(cached) $ECHO_C" >&6
13600 cat >conftest.$ac_ext <<_ACEOF
13601 #line $LINENO "configure"
13604 cat confdefs.h >>conftest.$ac_ext
13605 cat >>conftest.$ac_ext <<_ACEOF
13606 /* end confdefs.h. */
13607 #include <signal.h>
13609 #include <$ac_header>
13611 rm -f conftest.$ac_objext
13612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13613 (eval $ac_compile) 2>&5
13615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13616 (exit $ac_status); } &&
13617 { ac_try='test -s conftest.$ac_objext'
13618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13619 (eval $ac_try) 2>&5
13621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622 (exit $ac_status); }; }; then
13623 eval "$as_ac_Header=yes"
13625 echo "$as_me: failed program was:" >&5
13626 sed 's/^/| /' conftest.$ac_ext >&5
13628 eval "$as_ac_Header=no"
13630 rm -f conftest.$ac_objext conftest.$ac_ext
13632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13633 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13635 cat >>confdefs.h <<_ACEOF
13636 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13645 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13646 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13647 if test "${ac_cv_c_const+set}" = set; then
13648 echo $ECHO_N "(cached) $ECHO_C" >&6
13650 cat >conftest.$ac_ext <<_ACEOF
13651 #line $LINENO "configure"
13654 cat confdefs.h >>conftest.$ac_ext
13655 cat >>conftest.$ac_ext <<_ACEOF
13656 /* end confdefs.h. */
13661 /* FIXME: Include the comments suggested by Paul. */
13662 #ifndef __cplusplus
13663 /* Ultrix mips cc rejects this. */
13664 typedef int charset[2];
13666 /* SunOS 4.1.1 cc rejects this. */
13667 char const *const *ccp;
13669 /* NEC SVR4.0.2 mips cc rejects this. */
13670 struct point {int x, y;};
13671 static struct point const zero = {0,0};
13672 /* AIX XL C 1.02.0.0 rejects this.
13673 It does not let you subtract one const X* pointer from another in
13674 an arm of an if-expression whose if-part is not a constant
13676 const char *g = "string";
13677 ccp = &g + (g ? g-g : 0);
13678 /* HPUX 7.0 cc rejects these. */
13681 ccp = (char const *const *) p;
13682 { /* SCO 3.2v4 cc rejects this. */
13684 char const *s = 0 ? (char *) 0 : (char const *) 0;
13688 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13689 int x[] = {25, 17};
13690 const int *foo = &x[0];
13693 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13694 typedef const int *iptr;
13698 { /* AIX XL C 1.02.0.0 rejects this saying
13699 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13700 struct s { int j; const int *ap[3]; };
13701 struct s *b; b->j = 5;
13703 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13704 const int foo = 10;
13712 rm -f conftest.$ac_objext
13713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13714 (eval $ac_compile) 2>&5
13716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); } &&
13718 { ac_try='test -s conftest.$ac_objext'
13719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13720 (eval $ac_try) 2>&5
13722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 (exit $ac_status); }; }; then
13726 echo "$as_me: failed program was:" >&5
13727 sed 's/^/| /' conftest.$ac_ext >&5
13731 rm -f conftest.$ac_objext conftest.$ac_ext
13733 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13734 echo "${ECHO_T}$ac_cv_c_const" >&6
13735 if test $ac_cv_c_const = no; then
13737 cat >>confdefs.h <<\_ACEOF
13743 echo "$as_me:$LINENO: checking for inline" >&5
13744 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13745 if test "${ac_cv_c_inline+set}" = set; then
13746 echo $ECHO_N "(cached) $ECHO_C" >&6
13749 for ac_kw in inline __inline__ __inline; do
13750 cat >conftest.$ac_ext <<_ACEOF
13751 #line $LINENO "configure"
13754 cat confdefs.h >>conftest.$ac_ext
13755 cat >>conftest.$ac_ext <<_ACEOF
13756 /* end confdefs.h. */
13757 #ifndef __cplusplus
13759 static $ac_kw foo_t static_foo () {return 0; }
13760 $ac_kw foo_t foo () {return 0; }
13764 rm -f conftest.$ac_objext
13765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13766 (eval $ac_compile) 2>&5
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769 (exit $ac_status); } &&
13770 { ac_try='test -s conftest.$ac_objext'
13771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13772 (eval $ac_try) 2>&5
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); }; }; then
13776 ac_cv_c_inline=$ac_kw; break
13778 echo "$as_me: failed program was:" >&5
13779 sed 's/^/| /' conftest.$ac_ext >&5
13782 rm -f conftest.$ac_objext conftest.$ac_ext
13786 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13787 echo "${ECHO_T}$ac_cv_c_inline" >&6
13788 case $ac_cv_c_inline in
13791 cat >>confdefs.h <<\_ACEOF
13795 *) cat >>confdefs.h <<_ACEOF
13796 #define inline $ac_cv_c_inline
13801 echo "$as_me:$LINENO: checking for mode_t" >&5
13802 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
13803 if test "${ac_cv_type_mode_t+set}" = set; then
13804 echo $ECHO_N "(cached) $ECHO_C" >&6
13806 cat >conftest.$ac_ext <<_ACEOF
13807 #line $LINENO "configure"
13810 cat confdefs.h >>conftest.$ac_ext
13811 cat >>conftest.$ac_ext <<_ACEOF
13812 /* end confdefs.h. */
13813 $ac_includes_default
13819 if (sizeof (mode_t))
13825 rm -f conftest.$ac_objext
13826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13827 (eval $ac_compile) 2>&5
13829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13830 (exit $ac_status); } &&
13831 { ac_try='test -s conftest.$ac_objext'
13832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13833 (eval $ac_try) 2>&5
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); }; }; then
13837 ac_cv_type_mode_t=yes
13839 echo "$as_me: failed program was:" >&5
13840 sed 's/^/| /' conftest.$ac_ext >&5
13842 ac_cv_type_mode_t=no
13844 rm -f conftest.$ac_objext conftest.$ac_ext
13846 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
13847 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
13848 if test $ac_cv_type_mode_t = yes; then
13850 cat >>confdefs.h <<_ACEOF
13851 #define HAVE_MODE_T 1
13856 echo "$as_me:$LINENO: checking for off_t" >&5
13857 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
13858 if test "${ac_cv_type_off_t+set}" = set; then
13859 echo $ECHO_N "(cached) $ECHO_C" >&6
13861 cat >conftest.$ac_ext <<_ACEOF
13862 #line $LINENO "configure"
13865 cat confdefs.h >>conftest.$ac_ext
13866 cat >>conftest.$ac_ext <<_ACEOF
13867 /* end confdefs.h. */
13868 $ac_includes_default
13874 if (sizeof (off_t))
13880 rm -f conftest.$ac_objext
13881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13882 (eval $ac_compile) 2>&5
13884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13885 (exit $ac_status); } &&
13886 { ac_try='test -s conftest.$ac_objext'
13887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13888 (eval $ac_try) 2>&5
13890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13891 (exit $ac_status); }; }; then
13892 ac_cv_type_off_t=yes
13894 echo "$as_me: failed program was:" >&5
13895 sed 's/^/| /' conftest.$ac_ext >&5
13897 ac_cv_type_off_t=no
13899 rm -f conftest.$ac_objext conftest.$ac_ext
13901 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13902 echo "${ECHO_T}$ac_cv_type_off_t" >&6
13903 if test $ac_cv_type_off_t = yes; then
13905 cat >>confdefs.h <<_ACEOF
13906 #define HAVE_OFF_T 1
13911 echo "$as_me:$LINENO: checking for pid_t" >&5
13912 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
13913 if test "${ac_cv_type_pid_t+set}" = set; then
13914 echo $ECHO_N "(cached) $ECHO_C" >&6
13916 cat >conftest.$ac_ext <<_ACEOF
13917 #line $LINENO "configure"
13920 cat confdefs.h >>conftest.$ac_ext
13921 cat >>conftest.$ac_ext <<_ACEOF
13922 /* end confdefs.h. */
13923 $ac_includes_default
13929 if (sizeof (pid_t))
13935 rm -f conftest.$ac_objext
13936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13937 (eval $ac_compile) 2>&5
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); } &&
13941 { ac_try='test -s conftest.$ac_objext'
13942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13943 (eval $ac_try) 2>&5
13945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13946 (exit $ac_status); }; }; then
13947 ac_cv_type_pid_t=yes
13949 echo "$as_me: failed program was:" >&5
13950 sed 's/^/| /' conftest.$ac_ext >&5
13952 ac_cv_type_pid_t=no
13954 rm -f conftest.$ac_objext conftest.$ac_ext
13956 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
13957 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
13958 if test $ac_cv_type_pid_t = yes; then
13960 cat >>confdefs.h <<_ACEOF
13961 #define HAVE_PID_T 1
13966 echo "$as_me:$LINENO: checking for size_t" >&5
13967 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
13968 if test "${ac_cv_type_size_t+set}" = set; then
13969 echo $ECHO_N "(cached) $ECHO_C" >&6
13971 cat >conftest.$ac_ext <<_ACEOF
13972 #line $LINENO "configure"
13975 cat confdefs.h >>conftest.$ac_ext
13976 cat >>conftest.$ac_ext <<_ACEOF
13977 /* end confdefs.h. */
13978 $ac_includes_default
13984 if (sizeof (size_t))
13990 rm -f conftest.$ac_objext
13991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13992 (eval $ac_compile) 2>&5
13994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13995 (exit $ac_status); } &&
13996 { ac_try='test -s conftest.$ac_objext'
13997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13998 (eval $ac_try) 2>&5
14000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14001 (exit $ac_status); }; }; then
14002 ac_cv_type_size_t=yes
14004 echo "$as_me: failed program was:" >&5
14005 sed 's/^/| /' conftest.$ac_ext >&5
14007 ac_cv_type_size_t=no
14009 rm -f conftest.$ac_objext conftest.$ac_ext
14011 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
14012 echo "${ECHO_T}$ac_cv_type_size_t" >&6
14013 if test $ac_cv_type_size_t = yes; then
14015 cat >>confdefs.h <<_ACEOF
14016 #define HAVE_SIZE_T 1
14021 echo "$as_me:$LINENO: checking for ssize_t" >&5
14022 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
14023 if test "${ac_cv_type_ssize_t+set}" = set; then
14024 echo $ECHO_N "(cached) $ECHO_C" >&6
14026 cat >conftest.$ac_ext <<_ACEOF
14027 #line $LINENO "configure"
14030 cat confdefs.h >>conftest.$ac_ext
14031 cat >>conftest.$ac_ext <<_ACEOF
14032 /* end confdefs.h. */
14033 $ac_includes_default
14039 if (sizeof (ssize_t))
14045 rm -f conftest.$ac_objext
14046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14047 (eval $ac_compile) 2>&5
14049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 (exit $ac_status); } &&
14051 { ac_try='test -s conftest.$ac_objext'
14052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14053 (eval $ac_try) 2>&5
14055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14056 (exit $ac_status); }; }; then
14057 ac_cv_type_ssize_t=yes
14059 echo "$as_me: failed program was:" >&5
14060 sed 's/^/| /' conftest.$ac_ext >&5
14062 ac_cv_type_ssize_t=no
14064 rm -f conftest.$ac_objext conftest.$ac_ext
14066 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
14067 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
14068 if test $ac_cv_type_ssize_t = yes; then
14070 cat >>confdefs.h <<_ACEOF
14071 #define HAVE_SSIZE_T 1
14077 echo "$as_me:$LINENO: checking for long long" >&5
14078 echo $ECHO_N "checking for long long... $ECHO_C" >&6
14079 if test "${ac_cv_type_long_long+set}" = set; then
14080 echo $ECHO_N "(cached) $ECHO_C" >&6
14082 cat >conftest.$ac_ext <<_ACEOF
14083 #line $LINENO "configure"
14086 cat confdefs.h >>conftest.$ac_ext
14087 cat >>conftest.$ac_ext <<_ACEOF
14088 /* end confdefs.h. */
14089 $ac_includes_default
14093 if ((long long *) 0)
14095 if (sizeof (long long))
14101 rm -f conftest.$ac_objext
14102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14103 (eval $ac_compile) 2>&5
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); } &&
14107 { ac_try='test -s conftest.$ac_objext'
14108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14109 (eval $ac_try) 2>&5
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); }; }; then
14113 ac_cv_type_long_long=yes
14115 echo "$as_me: failed program was:" >&5
14116 sed 's/^/| /' conftest.$ac_ext >&5
14118 ac_cv_type_long_long=no
14120 rm -f conftest.$ac_objext conftest.$ac_ext
14122 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
14123 echo "${ECHO_T}$ac_cv_type_long_long" >&6
14125 echo "$as_me:$LINENO: checking size of long long" >&5
14126 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
14127 if test "${ac_cv_sizeof_long_long+set}" = set; then
14128 echo $ECHO_N "(cached) $ECHO_C" >&6
14130 if test "$ac_cv_type_long_long" = yes; then
14131 # The cast to unsigned long works around a bug in the HP C Compiler
14132 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14133 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14134 # This bug is HP SR number 8606223364.
14135 if test "$cross_compiling" = yes; then
14136 # Depending upon the size, compute the lo and hi bounds.
14137 cat >conftest.$ac_ext <<_ACEOF
14138 #line $LINENO "configure"
14141 cat confdefs.h >>conftest.$ac_ext
14142 cat >>conftest.$ac_ext <<_ACEOF
14143 /* end confdefs.h. */
14144 $ac_includes_default
14148 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
14155 rm -f conftest.$ac_objext
14156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14157 (eval $ac_compile) 2>&5
14159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 (exit $ac_status); } &&
14161 { ac_try='test -s conftest.$ac_objext'
14162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14163 (eval $ac_try) 2>&5
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); }; }; then
14169 cat >conftest.$ac_ext <<_ACEOF
14170 #line $LINENO "configure"
14173 cat confdefs.h >>conftest.$ac_ext
14174 cat >>conftest.$ac_ext <<_ACEOF
14175 /* end confdefs.h. */
14176 $ac_includes_default
14180 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
14187 rm -f conftest.$ac_objext
14188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14189 (eval $ac_compile) 2>&5
14191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14192 (exit $ac_status); } &&
14193 { ac_try='test -s conftest.$ac_objext'
14194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14195 (eval $ac_try) 2>&5
14197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14198 (exit $ac_status); }; }; then
14199 ac_hi=$ac_mid; break
14201 echo "$as_me: failed program was:" >&5
14202 sed 's/^/| /' conftest.$ac_ext >&5
14204 ac_lo=`expr $ac_mid + 1`
14205 if test $ac_lo -le $ac_mid; then
14209 ac_mid=`expr 2 '*' $ac_mid + 1`
14211 rm -f conftest.$ac_objext conftest.$ac_ext
14214 echo "$as_me: failed program was:" >&5
14215 sed 's/^/| /' conftest.$ac_ext >&5
14217 cat >conftest.$ac_ext <<_ACEOF
14218 #line $LINENO "configure"
14221 cat confdefs.h >>conftest.$ac_ext
14222 cat >>conftest.$ac_ext <<_ACEOF
14223 /* end confdefs.h. */
14224 $ac_includes_default
14228 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
14235 rm -f conftest.$ac_objext
14236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14237 (eval $ac_compile) 2>&5
14239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240 (exit $ac_status); } &&
14241 { ac_try='test -s conftest.$ac_objext'
14242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14243 (eval $ac_try) 2>&5
14245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14246 (exit $ac_status); }; }; then
14249 cat >conftest.$ac_ext <<_ACEOF
14250 #line $LINENO "configure"
14253 cat confdefs.h >>conftest.$ac_ext
14254 cat >>conftest.$ac_ext <<_ACEOF
14255 /* end confdefs.h. */
14256 $ac_includes_default
14260 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
14267 rm -f conftest.$ac_objext
14268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14269 (eval $ac_compile) 2>&5
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); } &&
14273 { ac_try='test -s conftest.$ac_objext'
14274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14275 (eval $ac_try) 2>&5
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); }; }; then
14279 ac_lo=$ac_mid; break
14281 echo "$as_me: failed program was:" >&5
14282 sed 's/^/| /' conftest.$ac_ext >&5
14284 ac_hi=`expr '(' $ac_mid ')' - 1`
14285 if test $ac_mid -le $ac_hi; then
14289 ac_mid=`expr 2 '*' $ac_mid`
14291 rm -f conftest.$ac_objext conftest.$ac_ext
14294 echo "$as_me: failed program was:" >&5
14295 sed 's/^/| /' conftest.$ac_ext >&5
14299 rm -f conftest.$ac_objext conftest.$ac_ext
14301 rm -f conftest.$ac_objext conftest.$ac_ext
14302 # Binary search between lo and hi bounds.
14303 while test "x$ac_lo" != "x$ac_hi"; do
14304 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14305 cat >conftest.$ac_ext <<_ACEOF
14306 #line $LINENO "configure"
14309 cat confdefs.h >>conftest.$ac_ext
14310 cat >>conftest.$ac_ext <<_ACEOF
14311 /* end confdefs.h. */
14312 $ac_includes_default
14316 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
14323 rm -f conftest.$ac_objext
14324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14325 (eval $ac_compile) 2>&5
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); } &&
14329 { ac_try='test -s conftest.$ac_objext'
14330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14331 (eval $ac_try) 2>&5
14333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14334 (exit $ac_status); }; }; then
14337 echo "$as_me: failed program was:" >&5
14338 sed 's/^/| /' conftest.$ac_ext >&5
14340 ac_lo=`expr '(' $ac_mid ')' + 1`
14342 rm -f conftest.$ac_objext conftest.$ac_ext
14345 ?*) ac_cv_sizeof_long_long=$ac_lo;;
14346 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
14347 See \`config.log' for more details." >&5
14348 echo "$as_me: error: cannot compute sizeof (long long), 77
14349 See \`config.log' for more details." >&2;}
14350 { (exit 1); exit 1; }; } ;;
14353 if test "$cross_compiling" = yes; then
14354 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14355 See \`config.log' for more details." >&5
14356 echo "$as_me: error: cannot run test program while cross compiling
14357 See \`config.log' for more details." >&2;}
14358 { (exit 1); exit 1; }; }
14360 cat >conftest.$ac_ext <<_ACEOF
14361 #line $LINENO "configure"
14364 cat confdefs.h >>conftest.$ac_ext
14365 cat >>conftest.$ac_ext <<_ACEOF
14366 /* end confdefs.h. */
14367 $ac_includes_default
14368 long longval () { return (long) (sizeof (long long)); }
14369 unsigned long ulongval () { return (long) (sizeof (long long)); }
14371 #include <stdlib.h>
14376 FILE *f = fopen ("conftest.val", "w");
14379 if (((long) (sizeof (long long))) < 0)
14381 long i = longval ();
14382 if (i != ((long) (sizeof (long long))))
14384 fprintf (f, "%ld\n", i);
14388 unsigned long i = ulongval ();
14389 if (i != ((long) (sizeof (long long))))
14391 fprintf (f, "%lu\n", i);
14393 exit (ferror (f) || fclose (f) != 0);
14399 rm -f conftest$ac_exeext
14400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14401 (eval $ac_link) 2>&5
14403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14404 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14406 (eval $ac_try) 2>&5
14408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 (exit $ac_status); }; }; then
14410 ac_cv_sizeof_long_long=`cat conftest.val`
14412 echo "$as_me: program exited with status $ac_status" >&5
14413 echo "$as_me: failed program was:" >&5
14414 sed 's/^/| /' conftest.$ac_ext >&5
14416 ( exit $ac_status )
14417 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
14418 See \`config.log' for more details." >&5
14419 echo "$as_me: error: cannot compute sizeof (long long), 77
14420 See \`config.log' for more details." >&2;}
14421 { (exit 1); exit 1; }; }
14423 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14428 ac_cv_sizeof_long_long=0
14431 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
14432 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
14433 cat >>confdefs.h <<_ACEOF
14434 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14439 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
14440 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
14441 if test "${wine_cv_linux_input_h+set}" = set; then
14442 echo $ECHO_N "(cached) $ECHO_C" >&6
14444 cat >conftest.$ac_ext <<_ACEOF
14445 #line $LINENO "configure"
14448 cat confdefs.h >>conftest.$ac_ext
14449 cat >>conftest.$ac_ext <<_ACEOF
14450 /* end confdefs.h. */
14452 #include <linux/input.h>
14458 int foo = EVIOCGBIT(EV_ABS,42);
14459 int bar = BTN_PINKIE;
14466 rm -f conftest.$ac_objext
14467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14468 (eval $ac_compile) 2>&5
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); } &&
14472 { ac_try='test -s conftest.$ac_objext'
14473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14474 (eval $ac_try) 2>&5
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); }; }; then
14478 wine_cv_linux_input_h=yes
14480 echo "$as_me: failed program was:" >&5
14481 sed 's/^/| /' conftest.$ac_ext >&5
14483 wine_cv_linux_input_h=no
14485 rm -f conftest.$ac_objext conftest.$ac_ext
14488 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
14489 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
14490 if test "$wine_cv_linux_input_h" = "yes"
14493 cat >>confdefs.h <<\_ACEOF
14494 #define HAVE_CORRECT_LINUXINPUT_H 1
14500 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14501 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
14502 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
14503 echo $ECHO_N "(cached) $ECHO_C" >&6
14505 cat >conftest.$ac_ext <<_ACEOF
14506 #line $LINENO "configure"
14509 cat confdefs.h >>conftest.$ac_ext
14510 cat >>conftest.$ac_ext <<_ACEOF
14511 /* end confdefs.h. */
14521 struct hostent *result;
14528 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14529 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14535 rm -f conftest.$ac_objext
14536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14537 (eval $ac_compile) 2>&5
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); } &&
14541 { ac_try='test -s conftest.$ac_objext'
14542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14543 (eval $ac_try) 2>&5
14545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14546 (exit $ac_status); }; }; then
14547 wine_cv_linux_gethostbyname_r_6=yes
14549 echo "$as_me: failed program was:" >&5
14550 sed 's/^/| /' conftest.$ac_ext >&5
14552 wine_cv_linux_gethostbyname_r_6=no
14555 rm -f conftest.$ac_objext conftest.$ac_ext
14558 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
14559 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
14560 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14563 cat >>confdefs.h <<\_ACEOF
14564 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
14569 if test "$ac_cv_header_linux_joystick_h" = "yes"
14571 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14572 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
14573 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
14574 echo $ECHO_N "(cached) $ECHO_C" >&6
14576 cat >conftest.$ac_ext <<_ACEOF
14577 #line $LINENO "configure"
14580 cat confdefs.h >>conftest.$ac_ext
14581 cat >>conftest.$ac_ext <<_ACEOF
14582 /* end confdefs.h. */
14584 #include <sys/ioctl.h>
14585 #include <linux/joystick.h>
14587 struct js_event blub;
14588 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14589 #error "no 2.2 header"
14600 rm -f conftest.$ac_objext
14601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14602 (eval $ac_compile) 2>&5
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14605 (exit $ac_status); } &&
14606 { ac_try='test -s conftest.$ac_objext'
14607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14608 (eval $ac_try) 2>&5
14610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14611 (exit $ac_status); }; }; then
14612 wine_cv_linux_joystick_22_api=yes
14614 echo "$as_me: failed program was:" >&5
14615 sed 's/^/| /' conftest.$ac_ext >&5
14617 wine_cv_linux_joystick_22_api=no
14619 rm -f conftest.$ac_objext conftest.$ac_ext
14622 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
14623 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
14624 if test "$wine_cv_linux_joystick_22_api" = "yes"
14627 cat >>confdefs.h <<\_ACEOF
14628 #define HAVE_LINUX_22_JOYSTICK_API 1
14635 if test "$ac_cv_header_sys_vfs_h" = "yes"
14637 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
14638 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
14639 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
14640 echo $ECHO_N "(cached) $ECHO_C" >&6
14642 cat >conftest.$ac_ext <<_ACEOF
14643 #line $LINENO "configure"
14646 cat confdefs.h >>conftest.$ac_ext
14647 cat >>conftest.$ac_ext <<_ACEOF
14648 /* end confdefs.h. */
14650 #include <sys/types.h>
14651 #ifdef HAVE_SYS_PARAM_H
14652 # include <sys/param.h>
14654 #include <sys/vfs.h>
14660 struct statfs stfs;
14662 memset(&stfs,0,sizeof(stfs));
14668 rm -f conftest.$ac_objext
14669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14670 (eval $ac_compile) 2>&5
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); } &&
14674 { ac_try='test -s conftest.$ac_objext'
14675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14676 (eval $ac_try) 2>&5
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); }; }; then
14680 wine_cv_sys_vfs_has_statfs=yes
14682 echo "$as_me: failed program was:" >&5
14683 sed 's/^/| /' conftest.$ac_ext >&5
14685 wine_cv_sys_vfs_has_statfs=no
14688 rm -f conftest.$ac_objext conftest.$ac_ext
14691 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
14692 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
14693 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
14696 cat >>confdefs.h <<\_ACEOF
14697 #define STATFS_DEFINED_BY_SYS_VFS 1
14703 if test "$ac_cv_header_sys_statfs_h" = "yes"
14705 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
14706 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
14707 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
14708 echo $ECHO_N "(cached) $ECHO_C" >&6
14710 cat >conftest.$ac_ext <<_ACEOF
14711 #line $LINENO "configure"
14714 cat confdefs.h >>conftest.$ac_ext
14715 cat >>conftest.$ac_ext <<_ACEOF
14716 /* end confdefs.h. */
14718 #include <sys/types.h>
14719 #ifdef HAVE_SYS_PARAM_H
14720 # include <sys/param.h>
14722 #include <sys/statfs.h>
14728 struct statfs stfs;
14734 rm -f conftest.$ac_objext
14735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14736 (eval $ac_compile) 2>&5
14738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14739 (exit $ac_status); } &&
14740 { ac_try='test -s conftest.$ac_objext'
14741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14742 (eval $ac_try) 2>&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); }; }; then
14746 wine_cv_sys_statfs_has_statfs=yes
14748 echo "$as_me: failed program was:" >&5
14749 sed 's/^/| /' conftest.$ac_ext >&5
14751 wine_cv_sys_statfs_has_statfs=no
14754 rm -f conftest.$ac_objext conftest.$ac_ext
14757 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
14758 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
14759 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
14762 cat >>confdefs.h <<\_ACEOF
14763 #define STATFS_DEFINED_BY_SYS_STATFS 1
14769 if test "$ac_cv_header_sys_mount_h" = "yes"
14771 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
14772 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
14773 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
14774 echo $ECHO_N "(cached) $ECHO_C" >&6
14776 cat >conftest.$ac_ext <<_ACEOF
14777 #line $LINENO "configure"
14780 cat confdefs.h >>conftest.$ac_ext
14781 cat >>conftest.$ac_ext <<_ACEOF
14782 /* end confdefs.h. */
14784 #include <sys/types.h>
14785 #ifdef HAVE_SYS_PARAM_H
14786 # include <sys/param.h>
14788 #include <sys/mount.h>
14794 struct statfs stfs;
14800 rm -f conftest.$ac_objext
14801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14802 (eval $ac_compile) 2>&5
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); } &&
14806 { ac_try='test -s conftest.$ac_objext'
14807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14808 (eval $ac_try) 2>&5
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); }; }; then
14812 wine_cv_sys_mount_has_statfs=yes
14814 echo "$as_me: failed program was:" >&5
14815 sed 's/^/| /' conftest.$ac_ext >&5
14817 wine_cv_sys_mount_has_statfs=no
14820 rm -f conftest.$ac_objext conftest.$ac_ext
14823 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
14824 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
14825 if test "$wine_cv_sys_mount_has_statfs" = "yes"
14828 cat >>confdefs.h <<\_ACEOF
14829 #define STATFS_DEFINED_BY_SYS_MOUNT 1
14836 echo "$as_me:$LINENO: checking for f_bfree in struct statfs" >&5
14837 echo $ECHO_N "checking for f_bfree in struct statfs... $ECHO_C" >&6
14838 if test "${ac_cv_c_statfs_f_bfree+set}" = set; then
14839 echo $ECHO_N "(cached) $ECHO_C" >&6
14841 cat >conftest.$ac_ext <<_ACEOF
14842 #line $LINENO "configure"
14845 cat confdefs.h >>conftest.$ac_ext
14846 cat >>conftest.$ac_ext <<_ACEOF
14847 /* end confdefs.h. */
14848 #include <sys/types.h>
14849 #ifdef HAVE_SYS_PARAM_H
14850 # include <sys/param.h>
14852 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
14853 # include <sys/mount.h>
14855 # ifdef STATFS_DEFINED_BY_SYS_VFS
14856 # include <sys/vfs.h>
14858 # ifdef STATFS_DEFINED_BY_SYS_STATFS
14859 # include <sys/statfs.h>
14866 struct statfs s; s.f_bfree = 0
14871 rm -f conftest.$ac_objext
14872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14873 (eval $ac_compile) 2>&5
14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14876 (exit $ac_status); } &&
14877 { ac_try='test -s conftest.$ac_objext'
14878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14879 (eval $ac_try) 2>&5
14881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14882 (exit $ac_status); }; }; then
14883 ac_cv_c_statfs_f_bfree="yes"
14885 echo "$as_me: failed program was:" >&5
14886 sed 's/^/| /' conftest.$ac_ext >&5
14888 ac_cv_c_statfs_f_bfree="no"
14890 rm -f conftest.$ac_objext conftest.$ac_ext
14892 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bfree" >&5
14893 echo "${ECHO_T}$ac_cv_c_statfs_f_bfree" >&6
14894 if test "x$ac_cv_c_statfs_f_bfree" = "xyes"; then
14896 cat >>confdefs.h <<\_ACEOF
14897 #define STATFS_HAS_BFREE 1
14904 echo "$as_me:$LINENO: checking for f_bavail in struct statfs" >&5
14905 echo $ECHO_N "checking for f_bavail in struct statfs... $ECHO_C" >&6
14906 if test "${ac_cv_c_statfs_f_bavail+set}" = set; then
14907 echo $ECHO_N "(cached) $ECHO_C" >&6
14909 cat >conftest.$ac_ext <<_ACEOF
14910 #line $LINENO "configure"
14913 cat confdefs.h >>conftest.$ac_ext
14914 cat >>conftest.$ac_ext <<_ACEOF
14915 /* end confdefs.h. */
14916 #include <sys/types.h>
14917 #ifdef HAVE_SYS_PARAM_H
14918 # include <sys/param.h>
14920 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
14921 # include <sys/mount.h>
14923 # ifdef STATFS_DEFINED_BY_SYS_VFS
14924 # include <sys/vfs.h>
14926 # ifdef STATFS_DEFINED_BY_SYS_STATFS
14927 # include <sys/statfs.h>
14934 struct statfs s; s.f_bavail = 0
14939 rm -f conftest.$ac_objext
14940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14941 (eval $ac_compile) 2>&5
14943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944 (exit $ac_status); } &&
14945 { ac_try='test -s conftest.$ac_objext'
14946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14947 (eval $ac_try) 2>&5
14949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14950 (exit $ac_status); }; }; then
14951 ac_cv_c_statfs_f_bavail="yes"
14953 echo "$as_me: failed program was:" >&5
14954 sed 's/^/| /' conftest.$ac_ext >&5
14956 ac_cv_c_statfs_f_bavail="no"
14958 rm -f conftest.$ac_objext conftest.$ac_ext
14960 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bavail" >&5
14961 echo "${ECHO_T}$ac_cv_c_statfs_f_bavail" >&6
14962 if test "x$ac_cv_c_statfs_f_bavail" = "xyes"; then
14964 cat >>confdefs.h <<\_ACEOF
14965 #define STATFS_HAS_BAVAIL 1
14972 echo "$as_me:$LINENO: checking for msg_accrights in struct msghdr" >&5
14973 echo $ECHO_N "checking for msg_accrights in struct msghdr... $ECHO_C" >&6
14974 if test "${ac_cv_c_msghdr_msg_accrights+set}" = set; then
14975 echo $ECHO_N "(cached) $ECHO_C" >&6
14977 cat >conftest.$ac_ext <<_ACEOF
14978 #line $LINENO "configure"
14981 cat confdefs.h >>conftest.$ac_ext
14982 cat >>conftest.$ac_ext <<_ACEOF
14983 /* end confdefs.h. */
14984 #include <sys/types.h>
14985 #ifdef HAVE_SYS_SOCKET_H
14986 # include <sys/socket.h>
14991 struct msghdr s; s.msg_accrights = 0
14996 rm -f conftest.$ac_objext
14997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14998 (eval $ac_compile) 2>&5
15000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001 (exit $ac_status); } &&
15002 { ac_try='test -s conftest.$ac_objext'
15003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15004 (eval $ac_try) 2>&5
15006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007 (exit $ac_status); }; }; then
15008 ac_cv_c_msghdr_msg_accrights="yes"
15010 echo "$as_me: failed program was:" >&5
15011 sed 's/^/| /' conftest.$ac_ext >&5
15013 ac_cv_c_msghdr_msg_accrights="no"
15015 rm -f conftest.$ac_objext conftest.$ac_ext
15017 echo "$as_me:$LINENO: result: $ac_cv_c_msghdr_msg_accrights" >&5
15018 echo "${ECHO_T}$ac_cv_c_msghdr_msg_accrights" >&6
15019 if test "x$ac_cv_c_msghdr_msg_accrights" = "xyes"; then
15021 cat >>confdefs.h <<\_ACEOF
15022 #define HAVE_MSGHDR_ACCRIGHTS 1
15029 echo "$as_me:$LINENO: checking for sa_len in struct sockaddr" >&5
15030 echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
15031 if test "${ac_cv_c_sockaddr_sa_len+set}" = set; then
15032 echo $ECHO_N "(cached) $ECHO_C" >&6
15034 cat >conftest.$ac_ext <<_ACEOF
15035 #line $LINENO "configure"
15038 cat confdefs.h >>conftest.$ac_ext
15039 cat >>conftest.$ac_ext <<_ACEOF
15040 /* end confdefs.h. */
15041 #include <sys/types.h>
15042 #ifdef HAVE_SYS_SOCKET_H
15043 # include <sys/socket.h>
15048 struct sockaddr s; s.sa_len = 0
15053 rm -f conftest.$ac_objext
15054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15055 (eval $ac_compile) 2>&5
15057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058 (exit $ac_status); } &&
15059 { ac_try='test -s conftest.$ac_objext'
15060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15061 (eval $ac_try) 2>&5
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); }; }; then
15065 ac_cv_c_sockaddr_sa_len="yes"
15067 echo "$as_me: failed program was:" >&5
15068 sed 's/^/| /' conftest.$ac_ext >&5
15070 ac_cv_c_sockaddr_sa_len="no"
15072 rm -f conftest.$ac_objext conftest.$ac_ext
15074 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_sa_len" >&5
15075 echo "${ECHO_T}$ac_cv_c_sockaddr_sa_len" >&6
15076 if test "x$ac_cv_c_sockaddr_sa_len" = "xyes"; then
15078 cat >>confdefs.h <<\_ACEOF
15079 #define HAVE_SOCKADDR_SA_LEN 1
15086 echo "$as_me:$LINENO: checking for sun_len in struct sockaddr_un" >&5
15087 echo $ECHO_N "checking for sun_len in struct sockaddr_un... $ECHO_C" >&6
15088 if test "${ac_cv_c_sockaddr_un_sun_len+set}" = set; then
15089 echo $ECHO_N "(cached) $ECHO_C" >&6
15091 cat >conftest.$ac_ext <<_ACEOF
15092 #line $LINENO "configure"
15095 cat confdefs.h >>conftest.$ac_ext
15096 cat >>conftest.$ac_ext <<_ACEOF
15097 /* end confdefs.h. */
15098 #include <sys/types.h>
15099 #ifdef HAVE_SYS_SOCKET_H
15100 # include <sys/socket.h>
15102 #ifdef HAVE_SYS_UN_H
15103 # include <sys/un.h>
15108 struct sockaddr_un s; s.sun_len = 0
15113 rm -f conftest.$ac_objext
15114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15115 (eval $ac_compile) 2>&5
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118 (exit $ac_status); } &&
15119 { ac_try='test -s conftest.$ac_objext'
15120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15121 (eval $ac_try) 2>&5
15123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124 (exit $ac_status); }; }; then
15125 ac_cv_c_sockaddr_un_sun_len="yes"
15127 echo "$as_me: failed program was:" >&5
15128 sed 's/^/| /' conftest.$ac_ext >&5
15130 ac_cv_c_sockaddr_un_sun_len="no"
15132 rm -f conftest.$ac_objext conftest.$ac_ext
15134 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_un_sun_len" >&5
15135 echo "${ECHO_T}$ac_cv_c_sockaddr_un_sun_len" >&6
15136 if test "x$ac_cv_c_sockaddr_un_sun_len" = "xyes"; then
15138 cat >>confdefs.h <<\_ACEOF
15139 #define HAVE_SOCKADDR_SUN_LEN 1
15148 *i[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
15149 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
15150 if test "${ac_cv_cpp_def___i386__+set}" = set; then
15151 echo $ECHO_N "(cached) $ECHO_C" >&6
15153 cat >conftest.$ac_ext <<_ACEOF
15154 #line $LINENO "configure"
15157 cat confdefs.h >>conftest.$ac_ext
15158 cat >>conftest.$ac_ext <<_ACEOF
15159 /* end confdefs.h. */
15164 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15165 $EGREP "yes" >/dev/null 2>&1; then
15166 ac_cv_cpp_def___i386__=yes
15168 ac_cv_cpp_def___i386__=no
15173 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
15174 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
15175 if test $ac_cv_cpp_def___i386__ = yes; then
15176 CFLAGS="$CFLAGS -D__i386__"
15177 LINTFLAGS="$LINTFLAGS -D__i386__"
15180 *alpha*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
15181 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
15182 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
15183 echo $ECHO_N "(cached) $ECHO_C" >&6
15185 cat >conftest.$ac_ext <<_ACEOF
15186 #line $LINENO "configure"
15189 cat confdefs.h >>conftest.$ac_ext
15190 cat >>conftest.$ac_ext <<_ACEOF
15191 /* end confdefs.h. */
15196 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15197 $EGREP "yes" >/dev/null 2>&1; then
15198 ac_cv_cpp_def___ALPHA__=yes
15200 ac_cv_cpp_def___ALPHA__=no
15205 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
15206 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
15207 if test $ac_cv_cpp_def___ALPHA__ = yes; then
15208 CFLAGS="$CFLAGS -D__ALPHA__"
15209 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
15212 *sparc*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
15213 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
15214 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
15215 echo $ECHO_N "(cached) $ECHO_C" >&6
15217 cat >conftest.$ac_ext <<_ACEOF
15218 #line $LINENO "configure"
15221 cat confdefs.h >>conftest.$ac_ext
15222 cat >>conftest.$ac_ext <<_ACEOF
15223 /* end confdefs.h. */
15228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15229 $EGREP "yes" >/dev/null 2>&1; then
15230 ac_cv_cpp_def___sparc__=yes
15232 ac_cv_cpp_def___sparc__=no
15237 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
15238 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
15239 if test $ac_cv_cpp_def___sparc__ = yes; then
15240 CFLAGS="$CFLAGS -D__sparc__"
15241 LINTFLAGS="$LINTFLAGS -D__sparc__"
15246 case $host_vendor in
15247 *sun*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
15248 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
15249 if test "${ac_cv_cpp_def___sun__+set}" = set; then
15250 echo $ECHO_N "(cached) $ECHO_C" >&6
15252 cat >conftest.$ac_ext <<_ACEOF
15253 #line $LINENO "configure"
15256 cat confdefs.h >>conftest.$ac_ext
15257 cat >>conftest.$ac_ext <<_ACEOF
15258 /* end confdefs.h. */
15263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15264 $EGREP "yes" >/dev/null 2>&1; then
15265 ac_cv_cpp_def___sun__=yes
15267 ac_cv_cpp_def___sun__=no
15272 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
15273 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
15274 if test $ac_cv_cpp_def___sun__ = yes; then
15275 CFLAGS="$CFLAGS -D__sun__"
15276 LINTFLAGS="$LINTFLAGS -D__sun__"
15285 ac_config_commands="$ac_config_commands controls"
15287 ac_config_commands="$ac_config_commands dlls/ddraw/d3ddevice"
15289 ac_config_commands="$ac_config_commands dlls/ddraw/dclipper"
15291 ac_config_commands="$ac_config_commands dlls/ddraw/ddraw"
15293 ac_config_commands="$ac_config_commands dlls/ddraw/direct3d"
15295 ac_config_commands="$ac_config_commands dlls/ddraw/dpalette"
15297 ac_config_commands="$ac_config_commands dlls/ddraw/dsurface"
15299 ac_config_commands="$ac_config_commands dlls/dinput/joystick"
15301 ac_config_commands="$ac_config_commands dlls/dinput/keyboard"
15303 ac_config_commands="$ac_config_commands dlls/dinput/mouse"
15305 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
15307 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
15309 ac_config_commands="$ac_config_commands dlls/gdi/win16drv"
15311 ac_config_commands="$ac_config_commands dlls/kernel/messages"
15313 ac_config_commands="$ac_config_commands dlls/user/dde"
15315 ac_config_commands="$ac_config_commands dlls/user/resources"
15317 ac_config_commands="$ac_config_commands dlls/wineps/data"
15319 ac_config_commands="$ac_config_commands files"
15321 ac_config_commands="$ac_config_commands graphics"
15323 ac_config_commands="$ac_config_commands graphics/x11drv"
15325 ac_config_commands="$ac_config_commands if1632"
15327 ac_config_commands="$ac_config_commands include/wine"
15329 ac_config_commands="$ac_config_commands loader"
15331 ac_config_commands="$ac_config_commands loader/ne"
15333 ac_config_commands="$ac_config_commands memory"
15335 ac_config_commands="$ac_config_commands misc"
15337 ac_config_commands="$ac_config_commands msdos"
15339 ac_config_commands="$ac_config_commands objects"
15341 ac_config_commands="$ac_config_commands programs/regapi/tests"
15343 ac_config_commands="$ac_config_commands programs/regedit/tests"
15345 ac_config_commands="$ac_config_commands relay32"
15347 ac_config_commands="$ac_config_commands scheduler"
15349 ac_config_commands="$ac_config_commands win32"
15351 ac_config_commands="$ac_config_commands windows"
15354 MAKE_RULES=Make.rules
15357 MAKE_DLL_RULES=dlls/Makedll.rules
15360 MAKE_TEST_RULES=dlls/Maketest.rules
15363 MAKE_PROG_RULES=programs/Makeprog.rules
15366 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/d3dx8/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/icmp/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/mapi32/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msdmo/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvideo/Makefile dlls/msvideo/msrle32/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/Makefile dlls/opengl32/Makefile dlls/psapi/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/rasapi32/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/sti/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/version/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winenas/Makefile dlls/winmm/winejack/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile include/Makefile library/Makefile miscemu/Makefile ole/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/notepad/Makefile programs/osversioncheck/Makefile programs/progman/Makefile programs/regapi/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/regtest/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/wmc/Makefile tools/wpp/Makefile tools/wrc/Makefile unicode/Makefile"
15369 cat >confcache <<\_ACEOF
15370 # This file is a shell script that caches the results of configure
15371 # tests run on this system so they can be shared between configure
15372 # scripts and configure runs, see configure's option --config-cache.
15373 # It is not useful on other systems. If it contains results you don't
15374 # want to keep, you may remove or edit it.
15376 # config.status only pays attention to the cache file if you give it
15377 # the --recheck option to rerun configure.
15379 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15380 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15381 # following values.
15385 # The following way of writing the cache mishandles newlines in values,
15386 # but we know of no workaround that is simple, portable, and efficient.
15387 # So, don't put newlines in cache variables' values.
15388 # Ultrix sh set writes to stderr and can't be redirected directly,
15389 # and sets the high bit in the cache file unless we assign to the vars.
15392 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15394 # `set' does not quote correctly, so add quotes (double-quote
15395 # substitution turns \\\\ into \\, and sed turns \\ into \).
15398 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15401 # `set' quotes correctly as required by POSIX, so do not add quotes.
15403 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
15410 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15412 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15414 if diff $cache_file confcache >/dev/null 2>&1; then :; else
15415 if test -w $cache_file; then
15416 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
15417 cat confcache >$cache_file
15419 echo "not updating unwritable cache $cache_file"
15424 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15425 # Let make expand exec_prefix.
15426 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15428 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15429 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15430 # trailing colons and then remove the whole line if VPATH becomes empty
15431 # (actually we leave an empty line to preserve line numbers).
15432 if test "x$srcdir" = x.; then
15433 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15434 s/:*\$(srcdir):*/:/;
15435 s/:*\${srcdir}:*/:/;
15437 s/^\([^=]*=[ ]*\):*/\1/;
15443 DEFS=-DHAVE_CONFIG_H
15447 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15448 # 1. Remove the extension, and $U if already installed.
15449 ac_i=`echo "$ac_i" |
15450 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
15452 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
15453 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
15455 LIBOBJS=$ac_libobjs
15457 LTLIBOBJS=$ac_ltlibobjs
15461 : ${CONFIG_STATUS=./config.status}
15462 ac_clean_files_save=$ac_clean_files
15463 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15464 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15465 echo "$as_me: creating $CONFIG_STATUS" >&6;}
15466 cat >$CONFIG_STATUS <<_ACEOF
15468 # Generated by $as_me.
15469 # Run this file to recreate the current configuration.
15470 # Compiler output produced by configure, useful for debugging
15471 # configure, is in config.log if it exists.
15474 ac_cs_recheck=false
15476 SHELL=\${CONFIG_SHELL-$SHELL}
15479 cat >>$CONFIG_STATUS <<\_ACEOF
15480 ## --------------------- ##
15481 ## M4sh Initialization. ##
15482 ## --------------------- ##
15484 # Be Bourne compatible
15485 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15488 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15489 # is contrary to our usage. Disable this feature.
15490 alias -g '${1+"$@"}'='"$@"'
15491 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
15495 # Support unset when possible.
15496 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
15503 # Work around bugs in pre-3.0 UWIN ksh.
15504 $as_unset ENV MAIL MAILPATH
15511 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
15512 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
15513 LC_TELEPHONE LC_TIME
15515 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
15516 eval $as_var=C; export $as_var
15522 # Required to use basename.
15523 if expr a : '\(a\)' >/dev/null 2>&1; then
15529 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
15530 as_basename=basename
15536 # Name of the executable.
15537 as_me=`$as_basename "$0" ||
15538 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15539 X"$0" : 'X\(//\)$' \| \
15540 X"$0" : 'X\(/\)$' \| \
15541 . : '\(.\)' 2>/dev/null ||
15543 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15544 /^X\/\(\/\/\)$/{ s//\1/; q; }
15545 /^X\/\(\/\).*/{ s//\1/; q; }
15549 # PATH needs CR, and LINENO needs CR and PATH.
15550 # Avoid depending upon Character Ranges.
15551 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15552 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15553 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15554 as_cr_digits='0123456789'
15555 as_cr_alnum=$as_cr_Letters$as_cr_digits
15557 # The user is always right.
15558 if test "${PATH_SEPARATOR+set}" != set; then
15559 echo "#! /bin/sh" >conf$$.sh
15560 echo "exit 0" >>conf$$.sh
15562 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15571 as_lineno_1=$LINENO
15572 as_lineno_2=$LINENO
15573 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15574 test "x$as_lineno_1" != "x$as_lineno_2" &&
15575 test "x$as_lineno_3" = "x$as_lineno_2" || {
15576 # Find who we are. Look in the path if we contain no path at all
15579 *[\\/]* ) as_myself=$0 ;;
15580 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15581 for as_dir in $PATH
15584 test -z "$as_dir" && as_dir=.
15585 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15590 # We did not find ourselves, most probably we were run as `sh COMMAND'
15591 # in which case we are not to be found in the path.
15592 if test "x$as_myself" = x; then
15595 if test ! -f "$as_myself"; then
15596 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
15597 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
15598 { (exit 1); exit 1; }; }
15600 case $CONFIG_SHELL in
15602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15603 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
15606 test -z "$as_dir" && as_dir=.
15607 for as_base in sh bash ksh sh5; do
15610 if ("$as_dir/$as_base" -c '
15611 as_lineno_1=$LINENO
15612 as_lineno_2=$LINENO
15613 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15614 test "x$as_lineno_1" != "x$as_lineno_2" &&
15615 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
15616 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
15617 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
15618 CONFIG_SHELL=$as_dir/$as_base
15619 export CONFIG_SHELL
15620 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15628 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15629 # uniformly replaced by the line number. The first 'sed' inserts a
15630 # line-number line before each line; the second 'sed' does the real
15631 # work. The second script uses 'N' to pair each line-number line
15632 # with the numbered line, and appends trailing '-' during
15633 # substitution so that $LINENO is not a special case at line end.
15634 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15635 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
15636 sed '=' <$as_myself |
15641 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15644 s,^['$as_cr_digits']*\n,,
15645 ' >$as_me.lineno &&
15646 chmod +x $as_me.lineno ||
15647 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
15648 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
15649 { (exit 1); exit 1; }; }
15651 # Don't try to exec as it changes $[0], causing all sort of problems
15652 # (the dirname of $[0] is not the place where we might find the
15653 # original and so on. Autoconf is especially sensible to this).
15655 # Exit status is that of the last command.
15660 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
15661 *c*,-n*) ECHO_N= ECHO_C='
15663 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
15664 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
15667 if expr a : '\(a\)' >/dev/null 2>&1; then
15673 rm -f conf$$ conf$$.exe conf$$.file
15675 if ln -s conf$$.file conf$$ 2>/dev/null; then
15676 # We could just check for DJGPP; but this test a) works b) is more generic
15677 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
15678 if test -f conf$$.exe; then
15679 # Don't use ln at all; we don't have any links
15684 elif ln conf$$.file conf$$ 2>/dev/null; then
15689 rm -f conf$$ conf$$.exe conf$$.file
15691 if mkdir -p . 2>/dev/null; then
15697 as_executable_p="test -f"
15699 # Sed expression to map a string onto a valid CPP name.
15700 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
15702 # Sed expression to map a string onto a valid variable name.
15703 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
15707 # We need space, tab and new line, in precisely that order.
15717 # Open the log real soon, to keep \$[0] and so on meaningful, and to
15718 # report actual input values of CONFIG_FILES etc. instead of their
15719 # values after options handling. Logging --version etc. is OK.
15723 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15724 ## Running $as_me. ##
15729 This file was extended by Wine $as_me 20021219, which was
15730 generated by GNU Autoconf 2.57. Invocation command line was
15732 CONFIG_FILES = $CONFIG_FILES
15733 CONFIG_HEADERS = $CONFIG_HEADERS
15734 CONFIG_LINKS = $CONFIG_LINKS
15735 CONFIG_COMMANDS = $CONFIG_COMMANDS
15739 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
15743 # Files that config.status was made for.
15744 if test -n "$ac_config_files"; then
15745 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
15748 if test -n "$ac_config_headers"; then
15749 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
15752 if test -n "$ac_config_links"; then
15753 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
15756 if test -n "$ac_config_commands"; then
15757 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
15760 cat >>$CONFIG_STATUS <<\_ACEOF
15763 \`$as_me' instantiates files from templates according to the
15764 current configuration.
15766 Usage: $0 [OPTIONS] [FILE]...
15768 -h, --help print this help, then exit
15769 -V, --version print version number, then exit
15770 -q, --quiet do not print progress messages
15771 -d, --debug don't remove temporary files
15772 --recheck update $as_me by reconfiguring in the same conditions
15773 --file=FILE[:TEMPLATE]
15774 instantiate the configuration file FILE
15775 --header=FILE[:TEMPLATE]
15776 instantiate the configuration header FILE
15778 Configuration files:
15781 Configuration headers:
15784 Configuration commands:
15787 Report bugs to <bug-autoconf@gnu.org>."
15790 cat >>$CONFIG_STATUS <<_ACEOF
15792 Wine config.status 20021219
15793 configured by $0, generated by GNU Autoconf 2.57,
15794 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15796 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
15797 Free Software Foundation, Inc.
15798 This config.status script is free software; the Free Software Foundation
15799 gives unlimited permission to copy, distribute and modify it."
15804 cat >>$CONFIG_STATUS <<\_ACEOF
15805 # If no file are specified by the user, then we need to provide default
15806 # value. By we need to know if files were specified by the user.
15812 ac_option=`expr "x$1" : 'x\([^=]*\)='`
15813 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
15821 *) # This is not an option, so the user has probably given explicit
15824 ac_need_defaults=false;;
15828 # Handling of the options.
15830 cat >>$CONFIG_STATUS <<\_ACEOF
15831 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15833 --version | --vers* | -V )
15834 echo "$ac_cs_version"; exit 0 ;;
15836 # Conflict between --help and --header
15837 { { echo "$as_me:$LINENO: error: ambiguous option: $1
15838 Try \`$0 --help' for more information." >&5
15839 echo "$as_me: error: ambiguous option: $1
15840 Try \`$0 --help' for more information." >&2;}
15841 { (exit 1); exit 1; }; };;
15842 --help | --hel | -h )
15843 echo "$ac_cs_usage"; exit 0 ;;
15844 --debug | --d* | -d )
15846 --file | --fil | --fi | --f )
15848 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
15849 ac_need_defaults=false;;
15850 --header | --heade | --head | --hea )
15852 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
15853 ac_need_defaults=false;;
15854 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15855 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15858 # This is an error.
15859 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15860 Try \`$0 --help' for more information." >&5
15861 echo "$as_me: error: unrecognized option: $1
15862 Try \`$0 --help' for more information." >&2;}
15863 { (exit 1); exit 1; }; } ;;
15865 *) ac_config_targets="$ac_config_targets $1" ;;
15871 ac_configure_extra_args=
15873 if $ac_cs_silent; then
15875 ac_configure_extra_args="$ac_configure_extra_args --silent"
15879 cat >>$CONFIG_STATUS <<_ACEOF
15880 if \$ac_cs_recheck; then
15881 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15882 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15891 cat >>$CONFIG_STATUS <<\_ACEOF
15892 for ac_config_target in $ac_config_targets
15894 case "$ac_config_target" in
15895 # Handling of arguments.
15896 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
15897 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
15898 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
15899 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
15900 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15901 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
15902 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
15903 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
15904 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
15905 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
15906 "dlls/cabinet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
15907 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
15908 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
15909 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
15910 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
15911 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
15912 "dlls/ctl3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
15913 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
15914 "dlls/d3dx8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
15915 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
15916 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
15917 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
15918 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
15919 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
15920 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
15921 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
15922 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
15923 "dlls/dsound/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
15924 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
15925 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
15926 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
15927 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
15928 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
15929 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
15930 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
15931 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
15932 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
15933 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
15934 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
15935 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
15936 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
15937 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
15938 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
15939 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
15940 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
15941 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
15942 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
15943 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
15944 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
15945 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
15946 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
15947 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
15948 "dlls/msvideo/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/msrle32/Makefile" ;;
15949 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
15950 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
15951 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
15952 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
15953 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
15954 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
15955 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
15956 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
15957 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
15958 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
15959 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
15960 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
15961 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
15962 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
15963 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
15964 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
15965 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
15966 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
15967 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
15968 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
15969 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
15970 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
15971 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
15972 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
15973 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
15974 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
15975 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
15976 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
15977 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
15978 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
15979 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
15980 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
15981 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
15982 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
15983 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
15984 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
15985 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
15986 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
15987 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
15988 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
15989 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
15990 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
15991 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
15992 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
15993 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
15994 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
15995 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
15996 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
15997 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
15998 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
15999 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
16000 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
16001 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
16002 "dlls/winmm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
16003 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
16004 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
16005 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
16006 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
16007 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
16008 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
16009 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
16010 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
16011 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
16012 "dlls/winsock/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
16013 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
16014 "dlls/wintab32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
16015 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
16016 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
16017 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
16018 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
16019 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
16020 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
16021 "library/Makefile" ) CONFIG_FILES="$CONFIG_FILES library/Makefile" ;;
16022 "miscemu/Makefile" ) CONFIG_FILES="$CONFIG_FILES miscemu/Makefile" ;;
16023 "ole/Makefile" ) CONFIG_FILES="$CONFIG_FILES ole/Makefile" ;;
16024 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
16025 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
16026 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
16027 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
16028 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
16029 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
16030 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
16031 "programs/osversioncheck/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/osversioncheck/Makefile" ;;
16032 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
16033 "programs/regapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regapi/Makefile" ;;
16034 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
16035 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
16036 "programs/regtest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regtest/Makefile" ;;
16037 "programs/rpcss/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
16038 "programs/rundll32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
16039 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
16040 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
16041 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
16042 "programs/wineboot/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
16043 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
16044 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
16045 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
16046 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
16047 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
16048 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
16049 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
16050 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
16051 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16052 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
16053 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
16054 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
16055 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
16056 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
16057 "tools/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wpp/Makefile" ;;
16058 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
16059 "unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES unicode/Makefile" ;;
16060 "controls" ) CONFIG_COMMANDS="$CONFIG_COMMANDS controls" ;;
16061 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
16062 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
16063 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
16064 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
16065 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
16066 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
16067 "dlls/dinput/joystick" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/joystick" ;;
16068 "dlls/dinput/keyboard" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/keyboard" ;;
16069 "dlls/dinput/mouse" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/dinput/mouse" ;;
16070 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
16071 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
16072 "dlls/gdi/win16drv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/win16drv" ;;
16073 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
16074 "dlls/user/dde" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/dde" ;;
16075 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
16076 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
16077 "files" ) CONFIG_COMMANDS="$CONFIG_COMMANDS files" ;;
16078 "graphics" ) CONFIG_COMMANDS="$CONFIG_COMMANDS graphics" ;;
16079 "graphics/x11drv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS graphics/x11drv" ;;
16080 "if1632" ) CONFIG_COMMANDS="$CONFIG_COMMANDS if1632" ;;
16081 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
16082 "loader" ) CONFIG_COMMANDS="$CONFIG_COMMANDS loader" ;;
16083 "loader/ne" ) CONFIG_COMMANDS="$CONFIG_COMMANDS loader/ne" ;;
16084 "memory" ) CONFIG_COMMANDS="$CONFIG_COMMANDS memory" ;;
16085 "misc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS misc" ;;
16086 "msdos" ) CONFIG_COMMANDS="$CONFIG_COMMANDS msdos" ;;
16087 "objects" ) CONFIG_COMMANDS="$CONFIG_COMMANDS objects" ;;
16088 "programs/regapi/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regapi/tests" ;;
16089 "programs/regedit/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regedit/tests" ;;
16090 "relay32" ) CONFIG_COMMANDS="$CONFIG_COMMANDS relay32" ;;
16091 "scheduler" ) CONFIG_COMMANDS="$CONFIG_COMMANDS scheduler" ;;
16092 "win32" ) CONFIG_COMMANDS="$CONFIG_COMMANDS win32" ;;
16093 "windows" ) CONFIG_COMMANDS="$CONFIG_COMMANDS windows" ;;
16094 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
16095 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16096 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16097 { (exit 1); exit 1; }; };;
16101 # If the user did not use the arguments to specify the items to instantiate,
16102 # then the envvar interface is used. Set only those that are not.
16103 # We use the long form for the default assignment because of an extremely
16104 # bizarre bug on SunOS 4.1.3.
16105 if $ac_need_defaults; then
16106 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16107 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16108 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16111 # Have a temporary directory for convenience. Make it in the build tree
16112 # simply because there is no reason to put it here, and in addition,
16113 # creating and moving files from /tmp can sometimes cause problems.
16114 # Create a temporary directory, and hook for its removal unless debugging.
16117 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
16118 trap '{ (exit 1); exit 1; }' 1 2 13 15
16121 # Create a (secure) tmp directory for tmp files.
16124 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
16125 test -n "$tmp" && test -d "$tmp"
16128 tmp=./confstat$$-$RANDOM
16129 (umask 077 && mkdir $tmp)
16132 echo "$me: cannot create a temporary directory in ." >&2
16133 { (exit 1); exit 1; }
16138 cat >>$CONFIG_STATUS <<_ACEOF
16141 # CONFIG_FILES section.
16144 # No need to generate the scripts if there are no CONFIG_FILES.
16145 # This happens for instance when ./config.status config.h
16146 if test -n "\$CONFIG_FILES"; then
16147 # Protect against being on the right side of a sed subst in config.status.
16148 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
16149 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
16150 s,@SHELL@,$SHELL,;t t
16151 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
16152 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
16153 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
16154 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
16155 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
16156 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
16157 s,@exec_prefix@,$exec_prefix,;t t
16158 s,@prefix@,$prefix,;t t
16159 s,@program_transform_name@,$program_transform_name,;t t
16160 s,@bindir@,$bindir,;t t
16161 s,@sbindir@,$sbindir,;t t
16162 s,@libexecdir@,$libexecdir,;t t
16163 s,@datadir@,$datadir,;t t
16164 s,@sysconfdir@,$sysconfdir,;t t
16165 s,@sharedstatedir@,$sharedstatedir,;t t
16166 s,@localstatedir@,$localstatedir,;t t
16167 s,@libdir@,$libdir,;t t
16168 s,@includedir@,$includedir,;t t
16169 s,@oldincludedir@,$oldincludedir,;t t
16170 s,@infodir@,$infodir,;t t
16171 s,@mandir@,$mandir,;t t
16172 s,@build_alias@,$build_alias,;t t
16173 s,@host_alias@,$host_alias,;t t
16174 s,@target_alias@,$target_alias,;t t
16175 s,@DEFS@,$DEFS,;t t
16176 s,@ECHO_C@,$ECHO_C,;t t
16177 s,@ECHO_N@,$ECHO_N,;t t
16178 s,@ECHO_T@,$ECHO_T,;t t
16179 s,@LIBS@,$LIBS,;t t
16180 s,@OPTIONS@,$OPTIONS,;t t
16181 s,@WIN16_FILES@,$WIN16_FILES,;t t
16182 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
16183 s,@build@,$build,;t t
16184 s,@build_cpu@,$build_cpu,;t t
16185 s,@build_vendor@,$build_vendor,;t t
16186 s,@build_os@,$build_os,;t t
16187 s,@host@,$host,;t t
16188 s,@host_cpu@,$host_cpu,;t t
16189 s,@host_vendor@,$host_vendor,;t t
16190 s,@host_os@,$host_os,;t t
16191 s,@SET_MAKE@,$SET_MAKE,;t t
16193 s,@CFLAGS@,$CFLAGS,;t t
16194 s,@LDFLAGS@,$LDFLAGS,;t t
16195 s,@CPPFLAGS@,$CPPFLAGS,;t t
16196 s,@ac_ct_CC@,$ac_ct_CC,;t t
16197 s,@EXEEXT@,$EXEEXT,;t t
16198 s,@OBJEXT@,$OBJEXT,;t t
16200 s,@TOOLSDIR@,$TOOLSDIR,;t t
16201 s,@X_CFLAGS@,$X_CFLAGS,;t t
16202 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
16203 s,@X_LIBS@,$X_LIBS,;t t
16204 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
16205 s,@YACC@,$YACC,;t t
16207 s,@LEXLIB@,$LEXLIB,;t t
16208 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
16209 s,@XYACC@,$XYACC,;t t
16210 s,@XLEX@,$XLEX,;t t
16212 s,@ac_ct_AS@,$ac_ct_AS,;t t
16214 s,@ac_ct_LD@,$ac_ct_LD,;t t
16216 s,@ac_ct_AR@,$ac_ct_AR,;t t
16217 s,@RANLIB@,$RANLIB,;t t
16218 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
16219 s,@STRIP@,$STRIP,;t t
16220 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
16221 s,@WINDRES@,$WINDRES,;t t
16222 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
16223 s,@LN_S@,$LN_S,;t t
16225 s,@C2MAN@,$C2MAN,;t t
16226 s,@LDCONFIG@,$LDCONFIG,;t t
16227 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
16228 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
16229 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
16230 s,@LINT@,$LINT,;t t
16231 s,@LINTFLAGS@,$LINTFLAGS,;t t
16232 s,@DB2HTML@,$DB2HTML,;t t
16233 s,@DB2PDF@,$DB2PDF,;t t
16234 s,@DB2PS@,$DB2PS,;t t
16235 s,@JPEGLIB@,$JPEGLIB,;t t
16236 s,@EGREP@,$EGREP,;t t
16237 s,@XLIB@,$XLIB,;t t
16238 s,@XFILES@,$XFILES,;t t
16239 s,@OPENGLFILES@,$OPENGLFILES,;t t
16240 s,@GLU32FILES@,$GLU32FILES,;t t
16241 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
16242 s,@NASLIBS@,$NASLIBS,;t t
16243 s,@CURSESLIBS@,$CURSESLIBS,;t t
16244 s,@sane_devel@,$sane_devel,;t t
16245 s,@SANELIBS@,$SANELIBS,;t t
16246 s,@SANEINCL@,$SANEINCL,;t t
16247 s,@ft_devel@,$ft_devel,;t t
16248 s,@ft_devel2@,$ft_devel2,;t t
16249 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
16250 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
16251 s,@ARTSLIBS@,$ARTSLIBS,;t t
16252 s,@ARTSINCL@,$ARTSINCL,;t t
16253 s,@ALSALIBS@,$ALSALIBS,;t t
16254 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
16255 s,@DLLEXT@,$DLLEXT,;t t
16256 s,@DLLFLAGS@,$DLLFLAGS,;t t
16257 s,@DLLIBS@,$DLLIBS,;t t
16258 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
16259 s,@LDSHARED@,$LDSHARED,;t t
16260 s,@LIBEXT@,$LIBEXT,;t t
16261 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
16262 s,@DLLTOOL@,$DLLTOOL,;t t
16263 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
16264 s,@DLLWRAP@,$DLLWRAP,;t t
16265 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
16266 s,@CROSSTEST@,$CROSSTEST,;t t
16267 s,@CROSSCC@,$CROSSCC,;t t
16268 s,@LDPATH@,$LDPATH,;t t
16269 s,@CRTLIBS@,$CRTLIBS,;t t
16271 s,@ALLOCA@,$ALLOCA,;t t
16272 s,@LIBOBJS@,$LIBOBJS,;t t
16273 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
16274 /@MAKE_RULES@/r $MAKE_RULES
16275 s,@MAKE_RULES@,,;t t
16276 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
16277 s,@MAKE_DLL_RULES@,,;t t
16278 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
16279 s,@MAKE_TEST_RULES@,,;t t
16280 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
16281 s,@MAKE_PROG_RULES@,,;t t
16286 cat >>$CONFIG_STATUS <<\_ACEOF
16287 # Split the substitutions into bite-sized pieces for seds with
16288 # small command number limits, like on Digital OSF/1 and HP-UX.
16289 ac_max_sed_lines=48
16290 ac_sed_frag=1 # Number of current file.
16291 ac_beg=1 # First line for current file.
16292 ac_end=$ac_max_sed_lines # Line after last line for current file.
16295 while $ac_more_lines; do
16296 if test $ac_beg -gt 1; then
16297 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
16299 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
16301 if test ! -s $tmp/subs.frag; then
16302 ac_more_lines=false
16304 # The purpose of the label and of the branching condition is to
16305 # speed up the sed processing (if there are no `@' at all, there
16306 # is no need to browse any of the substitutions).
16307 # These are the two extra sed commands mentioned above.
16309 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
16310 if test -z "$ac_sed_cmds"; then
16311 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
16313 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
16315 ac_sed_frag=`expr $ac_sed_frag + 1`
16317 ac_end=`expr $ac_end + $ac_max_sed_lines`
16320 if test -z "$ac_sed_cmds"; then
16323 fi # test -n "$CONFIG_FILES"
16326 cat >>$CONFIG_STATUS <<\_ACEOF
16327 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
16328 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16330 - | *:- | *:-:* ) # input from stdin
16332 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16333 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16334 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16335 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16336 * ) ac_file_in=$ac_file.in ;;
16339 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
16340 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
16341 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16342 X"$ac_file" : 'X\(//\)[^/]' \| \
16343 X"$ac_file" : 'X\(//\)$' \| \
16344 X"$ac_file" : 'X\(/\)' \| \
16345 . : '\(.\)' 2>/dev/null ||
16347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16348 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16349 /^X\(\/\/\)$/{ s//\1/; q; }
16350 /^X\(\/\).*/{ s//\1/; q; }
16352 { if $as_mkdir_p; then
16357 while test ! -d "$as_dir"; do
16358 as_dirs="$as_dir $as_dirs"
16359 as_dir=`(dirname "$as_dir") 2>/dev/null ||
16360 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16361 X"$as_dir" : 'X\(//\)[^/]' \| \
16362 X"$as_dir" : 'X\(//\)$' \| \
16363 X"$as_dir" : 'X\(/\)' \| \
16364 . : '\(.\)' 2>/dev/null ||
16366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16367 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16368 /^X\(\/\/\)$/{ s//\1/; q; }
16369 /^X\(\/\).*/{ s//\1/; q; }
16372 test ! -n "$as_dirs" || mkdir $as_dirs
16373 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16374 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16375 { (exit 1); exit 1; }; }; }
16379 if test "$ac_dir" != .; then
16380 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16381 # A "../" for each directory in $ac_dir_suffix.
16382 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16384 ac_dir_suffix= ac_top_builddir=
16388 .) # No --srcdir option. We are building in place.
16390 if test -z "$ac_top_builddir"; then
16393 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
16395 [\\/]* | ?:[\\/]* ) # Absolute path.
16396 ac_srcdir=$srcdir$ac_dir_suffix;
16397 ac_top_srcdir=$srcdir ;;
16398 *) # Relative path.
16399 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
16400 ac_top_srcdir=$ac_top_builddir$srcdir ;;
16402 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
16404 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
16405 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
16406 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
16407 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
16411 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16412 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
16415 if test x"$ac_file" != x-; then
16416 { echo "$as_me:$LINENO: creating $ac_file" >&5
16417 echo "$as_me: creating $ac_file" >&6;}
16420 # Let's still pretend it is `configure' which instantiates (i.e., don't
16421 # use $as_me), people would be surprised to read:
16422 # /* config.h. Generated by config.status. */
16423 if test x"$ac_file" = x-; then
16426 configure_input="$ac_file. "
16428 configure_input=$configure_input"Generated from `echo $ac_file_in |
16429 sed 's,.*/,,'` by configure."
16431 # First look for the input files in the build tree, otherwise in the
16433 ac_file_inputs=`IFS=:
16434 for f in $ac_file_in; do
16436 -) echo $tmp/stdin ;;
16438 # Absolute (can't be DOS-style, as IFS=:)
16439 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16440 echo "$as_me: error: cannot find input file: $f" >&2;}
16441 { (exit 1); exit 1; }; }
16444 if test -f "$f"; then
16447 elif test -f "$srcdir/$f"; then
16452 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16453 echo "$as_me: error: cannot find input file: $f" >&2;}
16454 { (exit 1); exit 1; }; }
16457 done` || { (exit 1); exit 1; }
16459 cat >>$CONFIG_STATUS <<_ACEOF
16463 cat >>$CONFIG_STATUS <<\_ACEOF
16465 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16466 s,@configure_input@,$configure_input,;t t
16467 s,@srcdir@,$ac_srcdir,;t t
16468 s,@abs_srcdir@,$ac_abs_srcdir,;t t
16469 s,@top_srcdir@,$ac_top_srcdir,;t t
16470 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
16471 s,@builddir@,$ac_builddir,;t t
16472 s,@abs_builddir@,$ac_abs_builddir,;t t
16473 s,@top_builddir@,$ac_top_builddir,;t t
16474 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
16475 s,@INSTALL@,$ac_INSTALL,;t t
16476 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
16478 if test x"$ac_file" != x-; then
16479 mv $tmp/out $ac_file
16487 cat >>$CONFIG_STATUS <<\_ACEOF
16490 # CONFIG_HEADER section.
16493 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16494 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16496 # ac_d sets the value in "#define NAME VALUE" lines.
16497 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16498 ac_dB='[ ].*$,\1#\2'
16501 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16502 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16503 ac_uB='$,\1#\2define\3'
16507 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
16508 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16510 - | *:- | *:-:* ) # input from stdin
16512 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16513 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16514 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16515 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16516 * ) ac_file_in=$ac_file.in ;;
16519 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
16520 echo "$as_me: creating $ac_file" >&6;}
16522 # First look for the input files in the build tree, otherwise in the
16524 ac_file_inputs=`IFS=:
16525 for f in $ac_file_in; do
16527 -) echo $tmp/stdin ;;
16529 # Absolute (can't be DOS-style, as IFS=:)
16530 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16531 echo "$as_me: error: cannot find input file: $f" >&2;}
16532 { (exit 1); exit 1; }; }
16535 if test -f "$f"; then
16538 elif test -f "$srcdir/$f"; then
16543 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16544 echo "$as_me: error: cannot find input file: $f" >&2;}
16545 { (exit 1); exit 1; }; }
16548 done` || { (exit 1); exit 1; }
16549 # Remove the trailing spaces.
16550 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
16554 # Transform confdefs.h into two sed scripts, `conftest.defines' and
16555 # `conftest.undefs', that substitutes the proper values into
16556 # config.h.in to produce config.h. The first handles `#define'
16557 # templates, and the second `#undef' templates.
16558 # And first: Protect against being on the right side of a sed subst in
16559 # config.status. Protect against being in an unquoted here document
16560 # in config.status.
16561 rm -f conftest.defines conftest.undefs
16562 # Using a here document instead of a string reduces the quoting nightmare.
16563 # Putting comments in sed scripts is not portable.
16565 # `end' is used to avoid that the second main sed command (meant for
16566 # 0-ary CPP macros) applies to n-ary macro definitions.
16567 # See the Autoconf documentation for `clear'.
16568 cat >confdef2sed.sed <<\_ACEOF
16573 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
16575 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
16578 # If some macros were called several times there might be several times
16579 # the same #defines, which is useless. Nevertheless, we may not want to
16580 # sort them, since we want the *last* AC-DEFINE to be honored.
16581 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
16582 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
16583 rm -f confdef2sed.sed
16585 # This sed command replaces #undef with comments. This is necessary, for
16586 # example, in the case of _POSIX_SOURCE, which is predefined and required
16587 # on some systems where configure will not decide to define it.
16588 cat >>conftest.undefs <<\_ACEOF
16589 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
16592 # Break up conftest.defines because some shells have a limit on the size
16593 # of here documents, and old seds have small limits too (100 cmds).
16594 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
16595 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
16596 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
16597 echo ' :' >>$CONFIG_STATUS
16598 rm -f conftest.tail
16599 while grep . conftest.defines >/dev/null
16601 # Write a limited-size here document to $tmp/defines.sed.
16602 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
16603 # Speed up: don't consider the non `#define' lines.
16604 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
16605 # Work around the forget-to-reset-the-flag bug.
16606 echo 't clr' >>$CONFIG_STATUS
16607 echo ': clr' >>$CONFIG_STATUS
16608 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
16610 sed -f $tmp/defines.sed $tmp/in >$tmp/out
16612 mv $tmp/out $tmp/in
16614 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
16615 rm -f conftest.defines
16616 mv conftest.tail conftest.defines
16618 rm -f conftest.defines
16619 echo ' fi # grep' >>$CONFIG_STATUS
16620 echo >>$CONFIG_STATUS
16622 # Break up conftest.undefs because some shells have a limit on the size
16623 # of here documents, and old seds have small limits too (100 cmds).
16624 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
16625 rm -f conftest.tail
16626 while grep . conftest.undefs >/dev/null
16628 # Write a limited-size here document to $tmp/undefs.sed.
16629 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
16630 # Speed up: don't consider the non `#undef'
16631 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
16632 # Work around the forget-to-reset-the-flag bug.
16633 echo 't clr' >>$CONFIG_STATUS
16634 echo ': clr' >>$CONFIG_STATUS
16635 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
16637 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
16639 mv $tmp/out $tmp/in
16641 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
16642 rm -f conftest.undefs
16643 mv conftest.tail conftest.undefs
16645 rm -f conftest.undefs
16647 cat >>$CONFIG_STATUS <<\_ACEOF
16648 # Let's still pretend it is `configure' which instantiates (i.e., don't
16649 # use $as_me), people would be surprised to read:
16650 # /* config.h. Generated by config.status. */
16651 if test x"$ac_file" = x-; then
16652 echo "/* Generated by configure. */" >$tmp/config.h
16654 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
16656 cat $tmp/in >>$tmp/config.h
16658 if test x"$ac_file" != x-; then
16659 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
16660 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16661 echo "$as_me: $ac_file is unchanged" >&6;}
16663 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
16664 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16665 X"$ac_file" : 'X\(//\)[^/]' \| \
16666 X"$ac_file" : 'X\(//\)$' \| \
16667 X"$ac_file" : 'X\(/\)' \| \
16668 . : '\(.\)' 2>/dev/null ||
16670 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16671 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16672 /^X\(\/\/\)$/{ s//\1/; q; }
16673 /^X\(\/\).*/{ s//\1/; q; }
16675 { if $as_mkdir_p; then
16680 while test ! -d "$as_dir"; do
16681 as_dirs="$as_dir $as_dirs"
16682 as_dir=`(dirname "$as_dir") 2>/dev/null ||
16683 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16684 X"$as_dir" : 'X\(//\)[^/]' \| \
16685 X"$as_dir" : 'X\(//\)$' \| \
16686 X"$as_dir" : 'X\(/\)' \| \
16687 . : '\(.\)' 2>/dev/null ||
16689 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16690 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16691 /^X\(\/\/\)$/{ s//\1/; q; }
16692 /^X\(\/\).*/{ s//\1/; q; }
16695 test ! -n "$as_dirs" || mkdir $as_dirs
16696 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16697 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16698 { (exit 1); exit 1; }; }; }
16701 mv $tmp/config.h $ac_file
16705 rm -f $tmp/config.h
16709 cat >>$CONFIG_STATUS <<\_ACEOF
16712 # CONFIG_COMMANDS section.
16714 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
16715 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
16716 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
16717 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
16718 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16719 X"$ac_dest" : 'X\(//\)[^/]' \| \
16720 X"$ac_dest" : 'X\(//\)$' \| \
16721 X"$ac_dest" : 'X\(/\)' \| \
16722 . : '\(.\)' 2>/dev/null ||
16724 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16725 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16726 /^X\(\/\/\)$/{ s//\1/; q; }
16727 /^X\(\/\).*/{ s//\1/; q; }
16731 if test "$ac_dir" != .; then
16732 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16733 # A "../" for each directory in $ac_dir_suffix.
16734 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16736 ac_dir_suffix= ac_top_builddir=
16740 .) # No --srcdir option. We are building in place.
16742 if test -z "$ac_top_builddir"; then
16745 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
16747 [\\/]* | ?:[\\/]* ) # Absolute path.
16748 ac_srcdir=$srcdir$ac_dir_suffix;
16749 ac_top_srcdir=$srcdir ;;
16750 *) # Relative path.
16751 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
16752 ac_top_srcdir=$ac_top_builddir$srcdir ;;
16754 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
16756 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
16757 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
16758 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
16759 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
16762 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
16763 echo "$as_me: executing $ac_dest commands" >&6;}
16765 controls ) test -d "controls" || ({ echo "$as_me:$LINENO: creating controls" >&5
16766 echo "$as_me: creating controls" >&6;} && mkdir "controls") ;;
16767 dlls/ddraw/d3ddevice ) test -d "dlls/ddraw/d3ddevice" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
16768 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir "dlls/ddraw/d3ddevice") ;;
16769 dlls/ddraw/dclipper ) test -d "dlls/ddraw/dclipper" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
16770 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir "dlls/ddraw/dclipper") ;;
16771 dlls/ddraw/ddraw ) test -d "dlls/ddraw/ddraw" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
16772 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir "dlls/ddraw/ddraw") ;;
16773 dlls/ddraw/direct3d ) test -d "dlls/ddraw/direct3d" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
16774 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir "dlls/ddraw/direct3d") ;;
16775 dlls/ddraw/dpalette ) test -d "dlls/ddraw/dpalette" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
16776 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir "dlls/ddraw/dpalette") ;;
16777 dlls/ddraw/dsurface ) test -d "dlls/ddraw/dsurface" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
16778 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir "dlls/ddraw/dsurface") ;;
16779 dlls/dinput/joystick ) test -d "dlls/dinput/joystick" || ({ echo "$as_me:$LINENO: creating dlls/dinput/joystick" >&5
16780 echo "$as_me: creating dlls/dinput/joystick" >&6;} && mkdir "dlls/dinput/joystick") ;;
16781 dlls/dinput/keyboard ) test -d "dlls/dinput/keyboard" || ({ echo "$as_me:$LINENO: creating dlls/dinput/keyboard" >&5
16782 echo "$as_me: creating dlls/dinput/keyboard" >&6;} && mkdir "dlls/dinput/keyboard") ;;
16783 dlls/dinput/mouse ) test -d "dlls/dinput/mouse" || ({ echo "$as_me:$LINENO: creating dlls/dinput/mouse" >&5
16784 echo "$as_me: creating dlls/dinput/mouse" >&6;} && mkdir "dlls/dinput/mouse") ;;
16785 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
16786 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
16787 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
16788 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
16789 dlls/gdi/win16drv ) test -d "dlls/gdi/win16drv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/win16drv" >&5
16790 echo "$as_me: creating dlls/gdi/win16drv" >&6;} && mkdir "dlls/gdi/win16drv") ;;
16791 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
16792 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
16793 dlls/user/dde ) test -d "dlls/user/dde" || ({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
16794 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir "dlls/user/dde") ;;
16795 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
16796 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
16797 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
16798 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
16799 files ) test -d "files" || ({ echo "$as_me:$LINENO: creating files" >&5
16800 echo "$as_me: creating files" >&6;} && mkdir "files") ;;
16801 graphics ) test -d "graphics" || ({ echo "$as_me:$LINENO: creating graphics" >&5
16802 echo "$as_me: creating graphics" >&6;} && mkdir "graphics") ;;
16803 graphics/x11drv ) test -d "graphics/x11drv" || ({ echo "$as_me:$LINENO: creating graphics/x11drv" >&5
16804 echo "$as_me: creating graphics/x11drv" >&6;} && mkdir "graphics/x11drv") ;;
16805 if1632 ) test -d "if1632" || ({ echo "$as_me:$LINENO: creating if1632" >&5
16806 echo "$as_me: creating if1632" >&6;} && mkdir "if1632") ;;
16807 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
16808 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
16809 loader ) test -d "loader" || ({ echo "$as_me:$LINENO: creating loader" >&5
16810 echo "$as_me: creating loader" >&6;} && mkdir "loader") ;;
16811 loader/ne ) test -d "loader/ne" || ({ echo "$as_me:$LINENO: creating loader/ne" >&5
16812 echo "$as_me: creating loader/ne" >&6;} && mkdir "loader/ne") ;;
16813 memory ) test -d "memory" || ({ echo "$as_me:$LINENO: creating memory" >&5
16814 echo "$as_me: creating memory" >&6;} && mkdir "memory") ;;
16815 misc ) test -d "misc" || ({ echo "$as_me:$LINENO: creating misc" >&5
16816 echo "$as_me: creating misc" >&6;} && mkdir "misc") ;;
16817 msdos ) test -d "msdos" || ({ echo "$as_me:$LINENO: creating msdos" >&5
16818 echo "$as_me: creating msdos" >&6;} && mkdir "msdos") ;;
16819 objects ) test -d "objects" || ({ echo "$as_me:$LINENO: creating objects" >&5
16820 echo "$as_me: creating objects" >&6;} && mkdir "objects") ;;
16821 programs/regapi/tests ) test -d "programs/regapi/tests" || ({ echo "$as_me:$LINENO: creating programs/regapi/tests" >&5
16822 echo "$as_me: creating programs/regapi/tests" >&6;} && mkdir "programs/regapi/tests") ;;
16823 programs/regedit/tests ) test -d "programs/regedit/tests" || ({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
16824 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir "programs/regedit/tests") ;;
16825 relay32 ) test -d "relay32" || ({ echo "$as_me:$LINENO: creating relay32" >&5
16826 echo "$as_me: creating relay32" >&6;} && mkdir "relay32") ;;
16827 scheduler ) test -d "scheduler" || ({ echo "$as_me:$LINENO: creating scheduler" >&5
16828 echo "$as_me: creating scheduler" >&6;} && mkdir "scheduler") ;;
16829 win32 ) test -d "win32" || ({ echo "$as_me:$LINENO: creating win32" >&5
16830 echo "$as_me: creating win32" >&6;} && mkdir "win32") ;;
16831 windows ) test -d "windows" || ({ echo "$as_me:$LINENO: creating windows" >&5
16832 echo "$as_me: creating windows" >&6;} && mkdir "windows") ;;
16837 cat >>$CONFIG_STATUS <<\_ACEOF
16839 { (exit 0); exit 0; }
16841 chmod +x $CONFIG_STATUS
16842 ac_clean_files=$ac_clean_files_save
16845 # configure is writing to config.log, and then calls config.status.
16846 # config.status does its own redirection, appending to config.log.
16847 # Unfortunately, on DOS this fails, as config.log is still kept open
16848 # by configure, so config.status won't be able to write to it; its
16849 # output is simply discarded. So we exec the FD to /dev/null,
16850 # effectively closing config.log, so it can be properly (re)opened and
16851 # appended to by config.status. When coming back to configure, we
16852 # need to make the FD available again.
16853 if test "$no_create" != yes; then
16855 ac_config_status_args=
16856 test "$silent" = yes &&
16857 ac_config_status_args="$ac_config_status_args --quiet"
16859 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16861 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16862 # would make configure fail if this is the last instruction.
16863 $ac_cs_success || { (exit 1); exit 1; }
16867 if test "$have_x" = "no"
16870 echo "*** Warning: X development files not found. Wine will be built without"
16871 echo "*** X support, which currently does not work, and would probably not be"
16872 echo "*** what you want anyway. You will need to install devel packages of"
16873 echo "*** Xlib/Xfree86 at the very least."
16876 if test "$ac_cv_lib_ncurses_resizeterm" = "no" -a "$ac_cv_lib_ncurses_waddch" = "yes"
16879 echo "*** Warning: resizeterm not found in ncurses. Wine will be built without"
16880 echo "*** terminal resize support. Consider upgrading ncurses."
16883 if test "$wine_cv_libc_reentrant" = "no"
16886 echo "*** Warning: non-reentrant libc detected. Wine will be built without"
16887 echo "*** threading support. Consider upgrading libc to a more recent"
16888 echo "*** reentrant version of libc."
16891 if test "$have_x" = "yes" -a "$wine_cv_x_reentrant" != "yes"
16894 echo "*** Warning: non-reentrant X11 library detected. Multi-threaded"
16895 echo "*** applications won't work properly. You should upgrade your X11 library."
16898 if test "$wine_cv_opengl_version_OK" = "no"
16901 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
16902 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
16905 if test "$wine_cv_msg_freetype" = "yes"
16908 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
16909 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
16910 echo "*** freetype-devel package (or its equivalent on your distribution) to"
16911 echo "*** enable Wine to use TrueType fonts."
16915 echo "Configure finished. Do 'make depend && make' to compile Wine."