2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20050419.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
223 test -d ./-p && rmdir ./-p
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
262 SHELL=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
271 PACKAGE_TARNAME='wine'
272 PACKAGE_VERSION='20050419'
273 PACKAGE_STRING='Wine 20050419'
274 PACKAGE_BUGREPORT='wine-devel@winehq.org'
276 ac_unique_file="server/atom.c"
277 # Factoring default headers for most tests.
278 ac_includes_default="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS WIN16_FILES WIN16_INSTALL DLLDEFS 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 CXX CXXFLAGS ac_ct_CXX CPPBIN ac_ct_CPPBIN TOOLSDIR CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LEX LEXLIB LEX_OUTPUT_ROOT XLEX BISON 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 EGREP LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS FONTFORGE LIBPTHREAD XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS ft_devel ft_devel2 FREETYPELIBS FREETYPEINCL FONTSSUBDIRS ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS EXTRACFLAGS DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLLFLAGS LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS LDLIBWINEFLAGS COREFOUNDATIONLIB IOKITLIB CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS SOCKETLIBS WINE_BINARIES MAIN_BINARY LDD ALLOCA LIBOBJS LTLIBOBJS'
315 ac_subst_files='MAKE_RULES MAKE_DLL_RULES MAKE_TEST_RULES MAKE_LIB_RULES MAKE_PROG_RULES'
317 # Initialize some variables set by options.
319 ac_init_version=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name=s,x,x,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir='${exec_prefix}/bin'
343 sbindir='${exec_prefix}/sbin'
344 libexecdir='${exec_prefix}/libexec'
345 datadir='${prefix}/share'
346 sysconfdir='${prefix}/etc'
347 sharedstatedir='${prefix}/com'
348 localstatedir='${prefix}/var'
349 libdir='${exec_prefix}/lib'
350 includedir='${prefix}/include'
351 oldincludedir='/usr/include'
352 infodir='${prefix}/info'
353 mandir='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 -build | --build | --buil | --bui | --bu)
377 ac_prev=build_alias ;;
378 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379 build_alias=$ac_optarg ;;
381 -cache-file | --cache-file | --cache-fil | --cache-fi \
382 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383 ac_prev=cache_file ;;
384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386 cache_file=$ac_optarg ;;
389 cache_file=config.cache ;;
391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 datadir=$ac_optarg ;;
397 -disable-* | --disable-*)
398 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* | --enable-*)
407 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421 | --exec | --exe | --ex)
422 ac_prev=exec_prefix ;;
423 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425 | --exec=* | --exe=* | --ex=*)
426 exec_prefix=$ac_optarg ;;
428 -gas | --gas | --ga | --g)
429 # Obsolete; use --with-gas.
432 -help | --help | --hel | --he | -h)
434 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435 ac_init_help=recursive ;;
436 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437 ac_init_help=short ;;
439 -host | --host | --hos | --ho)
440 ac_prev=host_alias ;;
441 -host=* | --host=* | --hos=* | --ho=*)
442 host_alias=$ac_optarg ;;
444 -includedir | --includedir | --includedi | --included | --include \
445 | --includ | --inclu | --incl | --inc)
446 ac_prev=includedir ;;
447 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448 | --includ=* | --inclu=* | --incl=* | --inc=*)
449 includedir=$ac_optarg ;;
451 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454 infodir=$ac_optarg ;;
456 -libdir | --libdir | --libdi | --libd)
458 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462 | --libexe | --libex | --libe)
463 ac_prev=libexecdir ;;
464 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465 | --libexe=* | --libex=* | --libe=*)
466 libexecdir=$ac_optarg ;;
468 -localstatedir | --localstatedir | --localstatedi | --localstated \
469 | --localstate | --localstat | --localsta | --localst \
470 | --locals | --local | --loca | --loc | --lo)
471 ac_prev=localstatedir ;;
472 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475 localstatedir=$ac_optarg ;;
477 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
483 # Obsolete; use --without-fp.
486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 | --no-cr | --no-c | -n)
490 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496 | --oldin | --oldi | --old | --ol | --o)
497 ac_prev=oldincludedir ;;
498 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501 oldincludedir=$ac_optarg ;;
503 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 -program-prefix | --program-prefix | --program-prefi | --program-pref \
509 | --program-pre | --program-pr | --program-p)
510 ac_prev=program_prefix ;;
511 -program-prefix=* | --program-prefix=* | --program-prefi=* \
512 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513 program_prefix=$ac_optarg ;;
515 -program-suffix | --program-suffix | --program-suffi | --program-suff \
516 | --program-suf | --program-su | --program-s)
517 ac_prev=program_suffix ;;
518 -program-suffix=* | --program-suffix=* | --program-suffi=* \
519 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520 program_suffix=$ac_optarg ;;
522 -program-transform-name | --program-transform-name \
523 | --program-transform-nam | --program-transform-na \
524 | --program-transform-n | --program-transform- \
525 | --program-transform | --program-transfor \
526 | --program-transfo | --program-transf \
527 | --program-trans | --program-tran \
528 | --progr-tra | --program-tr | --program-t)
529 ac_prev=program_transform_name ;;
530 -program-transform-name=* | --program-transform-name=* \
531 | --program-transform-nam=* | --program-transform-na=* \
532 | --program-transform-n=* | --program-transform-=* \
533 | --program-transform=* | --program-transfor=* \
534 | --program-transfo=* | --program-transf=* \
535 | --program-trans=* | --program-tran=* \
536 | --progr-tra=* | --program-tr=* | --program-t=*)
537 program_transform_name=$ac_optarg ;;
539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540 | -silent | --silent | --silen | --sile | --sil)
543 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 sbindir=$ac_optarg ;;
549 -sharedstatedir | --sharedstatedir | --sharedstatedi \
550 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551 | --sharedst | --shareds | --shared | --share | --shar \
553 ac_prev=sharedstatedir ;;
554 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 sharedstatedir=$ac_optarg ;;
560 -site | --site | --sit)
562 -site=* | --site=* | --sit=*)
565 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571 | --syscon | --sysco | --sysc | --sys | --sy)
572 ac_prev=sysconfdir ;;
573 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575 sysconfdir=$ac_optarg ;;
577 -target | --target | --targe | --targ | --tar | --ta | --t)
578 ac_prev=target_alias ;;
579 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580 target_alias=$ac_optarg ;;
582 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 -version | --version | --versio | --versi | --vers | -V)
589 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* | --without-*)
602 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615 | --x-incl | --x-inc | --x-in | --x-i)
616 ac_prev=x_includes ;;
617 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619 x_includes=$ac_optarg ;;
621 -x-libraries | --x-libraries | --x-librarie | --x-librari \
622 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623 ac_prev=x_libraries ;;
624 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626 x_libraries=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var in exec_prefix prefix
663 eval ac_val=$`echo $ac_var`
665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val=$`echo $ac_var`
677 [\\/$]* | ?:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x; then
692 if test "x$build_alias" = x; then
693 cross_compiling=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix=$host_alias-
704 test "$silent" = yes && exec 6>/dev/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set=${build_alias+set}
744 ac_env_build_alias_value=$build_alias
745 ac_cv_env_build_alias_set=${build_alias+set}
746 ac_cv_env_build_alias_value=$build_alias
747 ac_env_host_alias_set=${host_alias+set}
748 ac_env_host_alias_value=$host_alias
749 ac_cv_env_host_alias_set=${host_alias+set}
750 ac_cv_env_host_alias_value=$host_alias
751 ac_env_target_alias_set=${target_alias+set}
752 ac_env_target_alias_value=$target_alias
753 ac_cv_env_target_alias_set=${target_alias+set}
754 ac_cv_env_target_alias_value=$target_alias
755 ac_env_CC_set=${CC+set}
757 ac_cv_env_CC_set=${CC+set}
758 ac_cv_env_CC_value=$CC
759 ac_env_CFLAGS_set=${CFLAGS+set}
760 ac_env_CFLAGS_value=$CFLAGS
761 ac_cv_env_CFLAGS_set=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value=$CFLAGS
763 ac_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_env_LDFLAGS_value=$LDFLAGS
765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value=$LDFLAGS
767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771 ac_env_CXX_set=${CXX+set}
772 ac_env_CXX_value=$CXX
773 ac_cv_env_CXX_set=${CXX+set}
774 ac_cv_env_CXX_value=$CXX
775 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
776 ac_env_CXXFLAGS_value=$CXXFLAGS
777 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
778 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
779 ac_env_CPP_set=${CPP+set}
780 ac_env_CPP_value=$CPP
781 ac_cv_env_CPP_set=${CPP+set}
782 ac_cv_env_CPP_value=$CPP
785 # Report the --help message.
787 if test "$ac_init_help" = "long"; then
788 # Omit some internal or obsolete options to make the list less imposing.
789 # This message is too long to be a string in the A/UX 3.1 sh.
791 \`configure' configures Wine 20050419 to adapt to many kinds of systems.
793 Usage: $0 [OPTION]... [VAR=VALUE]...
795 To assign environment variables (e.g., CC, CFLAGS...), specify them as
796 VAR=VALUE. See below for descriptions of some of the useful variables.
798 Defaults for the options are specified in brackets.
801 -h, --help display this help and exit
802 --help=short display options specific to this package
803 --help=recursive display the short help of all the included packages
804 -V, --version display version information and exit
805 -q, --quiet, --silent do not print \`checking...' messages
806 --cache-file=FILE cache test results in FILE [disabled]
807 -C, --config-cache alias for \`--cache-file=config.cache'
808 -n, --no-create do not create output files
809 --srcdir=DIR find the sources in DIR [configure dir or \`..']
814 Installation directories:
815 --prefix=PREFIX install architecture-independent files in PREFIX
817 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
820 By default, \`make install' will install all the files in
821 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
822 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
823 for instance \`--prefix=\$HOME'.
825 For better control, use the options below.
827 Fine tuning of the installation directories:
828 --bindir=DIR user executables [EPREFIX/bin]
829 --sbindir=DIR system admin executables [EPREFIX/sbin]
830 --libexecdir=DIR program executables [EPREFIX/libexec]
831 --datadir=DIR read-only architecture-independent data [PREFIX/share]
832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
834 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
835 --libdir=DIR object code libraries [EPREFIX/lib]
836 --includedir=DIR C header files [PREFIX/include]
837 --oldincludedir=DIR C header files for non-gcc [/usr/include]
838 --infodir=DIR info documentation [PREFIX/info]
839 --mandir=DIR man documentation [PREFIX/man]
845 --x-includes=DIR X include files are in DIR
846 --x-libraries=DIR X library files are in DIR
849 --build=BUILD configure for building on BUILD [guessed]
850 --host=HOST cross-compile to build programs to run on HOST [BUILD]
854 if test -n "$ac_init_help"; then
855 case $ac_init_help in
856 short | recursive ) echo "Configuration of Wine 20050419:";;
861 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
862 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
863 --disable-win16 do not include Win16 support
864 --disable-debug compile out all debugging messages
865 --disable-trace compile out TRACE messages
866 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
870 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
871 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
872 --without-opengl do not use OpenGL
873 --without-curses do not use curses
874 --with-wine-tools=<dir> use Wine tools from directory <dir>
875 --with-x use the X Window System
877 Some influential environment variables:
878 CC C compiler command
879 CFLAGS C compiler flags
880 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
881 nonstandard directory <lib dir>
882 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
883 headers in a nonstandard directory <include dir>
884 CXX C++ compiler command
885 CXXFLAGS C++ compiler flags
888 Use these variables to override the choices made by `configure' or to help
889 it to find libraries and programs with nonstandard names/locations.
891 Report bugs to <wine-devel@winehq.org>.
895 if test "$ac_init_help" = "recursive"; then
896 # If there are subdirs, report their specific --help.
898 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
899 test -d $ac_dir || continue
902 if test "$ac_dir" != .; then
903 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
904 # A "../" for each directory in $ac_dir_suffix.
905 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
907 ac_dir_suffix= ac_top_builddir=
911 .) # No --srcdir option. We are building in place.
913 if test -z "$ac_top_builddir"; then
916 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
918 [\\/]* | ?:[\\/]* ) # Absolute path.
919 ac_srcdir=$srcdir$ac_dir_suffix;
920 ac_top_srcdir=$srcdir ;;
922 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
923 ac_top_srcdir=$ac_top_builddir$srcdir ;;
926 # Do not use `cd foo && pwd` to compute absolute paths, because
927 # the directories may not exist.
929 .) ac_abs_builddir="$ac_dir";;
932 .) ac_abs_builddir=`pwd`;;
933 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
934 *) ac_abs_builddir=`pwd`/"$ac_dir";;
937 case $ac_abs_builddir in
938 .) ac_abs_top_builddir=${ac_top_builddir}.;;
940 case ${ac_top_builddir}. in
941 .) ac_abs_top_builddir=$ac_abs_builddir;;
942 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
943 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
946 case $ac_abs_builddir in
947 .) ac_abs_srcdir=$ac_srcdir;;
950 .) ac_abs_srcdir=$ac_abs_builddir;;
951 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
952 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
955 case $ac_abs_builddir in
956 .) ac_abs_top_srcdir=$ac_top_srcdir;;
958 case $ac_top_srcdir in
959 .) ac_abs_top_srcdir=$ac_abs_builddir;;
960 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
961 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
966 # Check for guested configure; otherwise get Cygnus style configure.
967 if test -f $ac_srcdir/configure.gnu; then
969 $SHELL $ac_srcdir/configure.gnu --help=recursive
970 elif test -f $ac_srcdir/configure; then
972 $SHELL $ac_srcdir/configure --help=recursive
973 elif test -f $ac_srcdir/configure.ac ||
974 test -f $ac_srcdir/configure.in; then
978 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
984 test -n "$ac_init_help" && exit 0
985 if $ac_init_version; then
987 Wine configure 20050419
988 generated by GNU Autoconf 2.59
990 Copyright (C) 2003 Free Software Foundation, Inc.
991 This configure script is free software; the Free Software Foundation
992 gives unlimited permission to copy, distribute and modify it.
998 This file contains any messages produced by compilers while
999 running configure, to aid debugging if configure makes a mistake.
1001 It was created by Wine $as_me 20050419, which was
1002 generated by GNU Autoconf 2.59. Invocation command line was
1013 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1014 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1015 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1016 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1017 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1019 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1020 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1022 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1023 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1024 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1025 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1026 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1027 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1028 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1036 test -z "$as_dir" && as_dir=.
1037 echo "PATH: $as_dir"
1052 # Keep a trace of the command line.
1053 # Strip out --no-create and --no-recursion so they do not pile up.
1054 # Strip out --silent because we don't want to record it for future runs.
1055 # Also quote any args containing shell meta-characters.
1056 # Make two passes to allow for proper duplicate-argument suppression.
1061 ac_must_keep_next=false
1067 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069 | -silent | --silent | --silen | --sile | --sil)
1071 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1072 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1075 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1077 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1078 if test $ac_must_keep_next = true; then
1079 ac_must_keep_next=false # Got value, back to normal.
1082 *=* | --config-cache | -C | -disable-* | --disable-* \
1083 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1084 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1085 | -with-* | --with-* | -without-* | --without-* | --x)
1086 case "$ac_configure_args0 " in
1087 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1090 -* ) ac_must_keep_next=true ;;
1093 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1094 # Get rid of the leading space.
1100 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1101 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1103 # When interrupted or exit'd, cleanup temporary files, and complete
1104 # config.log. We remove comments because anyway the quotes in there
1105 # would cause problems or look ugly.
1106 # WARNING: Be sure not to use single quotes in there, as some shells,
1107 # such as our DU 5.0 friend, will then `close' the trap.
1108 trap 'exit_status=$?
1109 # Save into config.log some information that might help in debugging.
1114 ## ---------------- ##
1115 ## Cache variables. ##
1116 ## ---------------- ##
1119 # The following way of writing the cache mishandles newlines in values,
1122 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1125 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1130 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1137 ## ----------------- ##
1138 ## Output variables. ##
1139 ## ----------------- ##
1142 for ac_var in $ac_subst_vars
1144 eval ac_val=$`echo $ac_var`
1145 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -n "$ac_subst_files"; then
1156 for ac_var in $ac_subst_files
1158 eval ac_val=$`echo $ac_var`
1159 echo "$ac_var='"'"'$ac_val'"'"'"
1164 if test -s confdefs.h; then
1171 sed "/^$/d" confdefs.h | sort
1174 test "$ac_signal" != 0 &&
1175 echo "$as_me: caught signal $ac_signal"
1176 echo "$as_me: exit $exit_status"
1178 rm -f core *.core &&
1179 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1182 for ac_signal in 1 2 13 15; do
1183 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1187 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1188 rm -rf conftest* confdefs.h
1189 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1192 # Predefined preprocessor variables.
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_NAME "$PACKAGE_NAME"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_STRING "$PACKAGE_STRING"
1214 cat >>confdefs.h <<_ACEOF
1215 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1219 # Let the site file select an alternate cache file if it wants to.
1220 # Prefer explicitly selected file to automatically selected ones.
1221 if test -z "$CONFIG_SITE"; then
1222 if test "x$prefix" != xNONE; then
1223 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1225 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1228 for ac_site_file in $CONFIG_SITE; do
1229 if test -r "$ac_site_file"; then
1230 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1231 echo "$as_me: loading site script $ac_site_file" >&6;}
1232 sed 's/^/| /' "$ac_site_file" >&5
1237 if test -r "$cache_file"; then
1238 # Some versions of bash will fail to source /dev/null (special
1239 # files actually), so we avoid doing that.
1240 if test -f "$cache_file"; then
1241 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1242 echo "$as_me: loading cache $cache_file" >&6;}
1244 [\\/]* | ?:[\\/]* ) . $cache_file;;
1245 *) . ./$cache_file;;
1249 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1250 echo "$as_me: creating cache $cache_file" >&6;}
1254 # Check that the precious variables saved in the cache have kept the same
1256 ac_cache_corrupted=false
1257 for ac_var in `(set) 2>&1 |
1258 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1259 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1260 eval ac_new_set=\$ac_env_${ac_var}_set
1261 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1262 eval ac_new_val="\$ac_env_${ac_var}_value"
1263 case $ac_old_set,$ac_new_set in
1265 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1266 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1267 ac_cache_corrupted=: ;;
1269 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1270 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1271 ac_cache_corrupted=: ;;
1274 if test "x$ac_old_val" != "x$ac_new_val"; then
1275 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1276 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1277 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1278 echo "$as_me: former value: $ac_old_val" >&2;}
1279 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1280 echo "$as_me: current value: $ac_new_val" >&2;}
1281 ac_cache_corrupted=:
1284 # Pass precious variables to config.status.
1285 if test "$ac_new_set" = set; then
1287 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1288 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1289 *) ac_arg=$ac_var=$ac_new_val ;;
1291 case " $ac_configure_args " in
1292 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1293 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1297 if $ac_cache_corrupted; then
1298 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1299 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1300 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1301 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1302 { (exit 1); exit 1; }; }
1306 ac_cpp='$CPP $CPPFLAGS'
1307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1338 ac_config_headers="$ac_config_headers include/config.h"
1341 for ac_dir in tools $srcdir/tools; do
1342 if test -f $ac_dir/install-sh; then
1344 ac_install_sh="$ac_aux_dir/install-sh -c"
1346 elif test -f $ac_dir/install.sh; then
1348 ac_install_sh="$ac_aux_dir/install.sh -c"
1350 elif test -f $ac_dir/shtool; then
1352 ac_install_sh="$ac_aux_dir/shtool install -c"
1356 if test -z "$ac_aux_dir"; then
1357 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1358 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1359 { (exit 1); exit 1; }; }
1361 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1362 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1363 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1367 # Check whether --enable-win16 or --disable-win16 was given.
1368 if test "${enable_win16+set}" = set; then
1369 enableval="$enable_win16"
1372 # Check whether --enable-debug or --disable-debug was given.
1373 if test "${enable_debug+set}" = set; then
1374 enableval="$enable_debug"
1377 # Check whether --enable-trace or --disable-trace was given.
1378 if test "${enable_trace+set}" = set; then
1379 enableval="$enable_trace"
1382 # Check whether --enable-win64 or --disable-win64 was given.
1383 if test "${enable_win64+set}" = set; then
1384 enableval="$enable_win64"
1389 # Check whether --with-opengl or --without-opengl was given.
1390 if test "${with_opengl+set}" = set; then
1391 withval="$with_opengl"
1395 # Check whether --with-curses or --without-curses was given.
1396 if test "${with_curses+set}" = set; then
1397 withval="$with_curses"
1401 # Check whether --with-wine-tools or --without-wine-tools was given.
1402 if test "${with_wine_tools+set}" = set; then
1403 withval="$with_wine_tools"
1407 WIN16_FILES="\$(WIN16_FILES)"
1409 WIN16_INSTALL="\$(WIN16_INSTALL)"
1411 if test "x$enable_win16" = "xno"
1419 if test "x$enable_debug" = "xno"
1421 DLLDEFS="$DLLDEFS -DWINE_NO_DEBUG_MSGS"
1423 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1425 DLLDEFS="$DLLDEFS -DWINE_NO_TRACE_MSGS"
1429 # Make sure we can run config.sub.
1430 $ac_config_sub sun4 >/dev/null 2>&1 ||
1431 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1432 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1433 { (exit 1); exit 1; }; }
1435 echo "$as_me:$LINENO: checking build system type" >&5
1436 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1437 if test "${ac_cv_build+set}" = set; then
1438 echo $ECHO_N "(cached) $ECHO_C" >&6
1440 ac_cv_build_alias=$build_alias
1441 test -z "$ac_cv_build_alias" &&
1442 ac_cv_build_alias=`$ac_config_guess`
1443 test -z "$ac_cv_build_alias" &&
1444 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1445 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1446 { (exit 1); exit 1; }; }
1447 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1448 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1449 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1450 { (exit 1); exit 1; }; }
1453 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1454 echo "${ECHO_T}$ac_cv_build" >&6
1456 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1457 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1458 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1461 echo "$as_me:$LINENO: checking host system type" >&5
1462 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1463 if test "${ac_cv_host+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1466 ac_cv_host_alias=$host_alias
1467 test -z "$ac_cv_host_alias" &&
1468 ac_cv_host_alias=$ac_cv_build_alias
1469 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1470 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1471 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1472 { (exit 1); exit 1; }; }
1475 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1476 echo "${ECHO_T}$ac_cv_host" >&6
1478 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1479 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1480 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1485 if test "x$enable_win64" != "xyes"
1487 test -n "$CC" || CC="gcc -m32"
1488 test -n "$LD" || LD="ld -m elf_i386"
1489 test -n "$AS" || AS="as --32"
1495 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1496 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1497 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1498 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1499 echo $ECHO_N "(cached) $ECHO_C" >&6
1501 cat >conftest.make <<\_ACEOF
1503 @echo 'ac_maketemp="$(MAKE)"'
1505 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1506 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1507 if test -n "$ac_maketemp"; then
1508 eval ac_cv_prog_make_${ac_make}_set=yes
1510 eval ac_cv_prog_make_${ac_make}_set=no
1514 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1515 echo "$as_me:$LINENO: result: yes" >&5
1516 echo "${ECHO_T}yes" >&6
1519 echo "$as_me:$LINENO: result: no" >&5
1520 echo "${ECHO_T}no" >&6
1521 SET_MAKE="MAKE=${MAKE-make}"
1525 ac_cpp='$CPP $CPPFLAGS'
1526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1529 if test -n "$ac_tool_prefix"; then
1530 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1531 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1532 echo "$as_me:$LINENO: checking for $ac_word" >&5
1533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1534 if test "${ac_cv_prog_CC+set}" = set; then
1535 echo $ECHO_N "(cached) $ECHO_C" >&6
1537 if test -n "$CC"; then
1538 ac_cv_prog_CC="$CC" # Let the user override the test.
1540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1544 test -z "$as_dir" && as_dir=.
1545 for ac_exec_ext in '' $ac_executable_extensions; do
1546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1547 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1557 if test -n "$CC"; then
1558 echo "$as_me:$LINENO: result: $CC" >&5
1559 echo "${ECHO_T}$CC" >&6
1561 echo "$as_me:$LINENO: result: no" >&5
1562 echo "${ECHO_T}no" >&6
1566 if test -z "$ac_cv_prog_CC"; then
1568 # Extract the first word of "gcc", so it can be a program name with args.
1569 set dummy gcc; ac_word=$2
1570 echo "$as_me:$LINENO: checking for $ac_word" >&5
1571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1572 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1573 echo $ECHO_N "(cached) $ECHO_C" >&6
1575 if test -n "$ac_ct_CC"; then
1576 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1582 test -z "$as_dir" && as_dir=.
1583 for ac_exec_ext in '' $ac_executable_extensions; do
1584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1585 ac_cv_prog_ac_ct_CC="gcc"
1586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1594 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1595 if test -n "$ac_ct_CC"; then
1596 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1597 echo "${ECHO_T}$ac_ct_CC" >&6
1599 echo "$as_me:$LINENO: result: no" >&5
1600 echo "${ECHO_T}no" >&6
1608 if test -z "$CC"; then
1609 if test -n "$ac_tool_prefix"; then
1610 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1611 set dummy ${ac_tool_prefix}cc; ac_word=$2
1612 echo "$as_me:$LINENO: checking for $ac_word" >&5
1613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1614 if test "${ac_cv_prog_CC+set}" = set; then
1615 echo $ECHO_N "(cached) $ECHO_C" >&6
1617 if test -n "$CC"; then
1618 ac_cv_prog_CC="$CC" # Let the user override the test.
1620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1624 test -z "$as_dir" && as_dir=.
1625 for ac_exec_ext in '' $ac_executable_extensions; do
1626 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1627 ac_cv_prog_CC="${ac_tool_prefix}cc"
1628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1637 if test -n "$CC"; then
1638 echo "$as_me:$LINENO: result: $CC" >&5
1639 echo "${ECHO_T}$CC" >&6
1641 echo "$as_me:$LINENO: result: no" >&5
1642 echo "${ECHO_T}no" >&6
1646 if test -z "$ac_cv_prog_CC"; then
1648 # Extract the first word of "cc", so it can be a program name with args.
1649 set dummy cc; ac_word=$2
1650 echo "$as_me:$LINENO: checking for $ac_word" >&5
1651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1652 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1653 echo $ECHO_N "(cached) $ECHO_C" >&6
1655 if test -n "$ac_ct_CC"; then
1656 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1662 test -z "$as_dir" && as_dir=.
1663 for ac_exec_ext in '' $ac_executable_extensions; do
1664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1665 ac_cv_prog_ac_ct_CC="cc"
1666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1674 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1675 if test -n "$ac_ct_CC"; then
1676 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1677 echo "${ECHO_T}$ac_ct_CC" >&6
1679 echo "$as_me:$LINENO: result: no" >&5
1680 echo "${ECHO_T}no" >&6
1689 if test -z "$CC"; then
1690 # Extract the first word of "cc", so it can be a program name with args.
1691 set dummy cc; ac_word=$2
1692 echo "$as_me:$LINENO: checking for $ac_word" >&5
1693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1694 if test "${ac_cv_prog_CC+set}" = set; then
1695 echo $ECHO_N "(cached) $ECHO_C" >&6
1697 if test -n "$CC"; then
1698 ac_cv_prog_CC="$CC" # Let the user override the test.
1701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1705 test -z "$as_dir" && as_dir=.
1706 for ac_exec_ext in '' $ac_executable_extensions; do
1707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1708 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1709 ac_prog_rejected=yes
1713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1719 if test $ac_prog_rejected = yes; then
1720 # We found a bogon in the path, so make sure we never use it.
1721 set dummy $ac_cv_prog_CC
1723 if test $# != 0; then
1724 # We chose a different compiler from the bogus one.
1725 # However, it has the same basename, so the bogon will be chosen
1726 # first if we set CC to just the basename; use the full file name.
1728 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1734 if test -n "$CC"; then
1735 echo "$as_me:$LINENO: result: $CC" >&5
1736 echo "${ECHO_T}$CC" >&6
1738 echo "$as_me:$LINENO: result: no" >&5
1739 echo "${ECHO_T}no" >&6
1743 if test -z "$CC"; then
1744 if test -n "$ac_tool_prefix"; then
1747 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1748 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1749 echo "$as_me:$LINENO: checking for $ac_word" >&5
1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1751 if test "${ac_cv_prog_CC+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 if test -n "$CC"; then
1755 ac_cv_prog_CC="$CC" # Let the user override the test.
1757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1761 test -z "$as_dir" && as_dir=.
1762 for ac_exec_ext in '' $ac_executable_extensions; do
1763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1764 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1774 if test -n "$CC"; then
1775 echo "$as_me:$LINENO: result: $CC" >&5
1776 echo "${ECHO_T}$CC" >&6
1778 echo "$as_me:$LINENO: result: no" >&5
1779 echo "${ECHO_T}no" >&6
1782 test -n "$CC" && break
1785 if test -z "$CC"; then
1789 # Extract the first word of "$ac_prog", so it can be a program name with args.
1790 set dummy $ac_prog; ac_word=$2
1791 echo "$as_me:$LINENO: checking for $ac_word" >&5
1792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1793 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1794 echo $ECHO_N "(cached) $ECHO_C" >&6
1796 if test -n "$ac_ct_CC"; then
1797 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1803 test -z "$as_dir" && as_dir=.
1804 for ac_exec_ext in '' $ac_executable_extensions; do
1805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1806 ac_cv_prog_ac_ct_CC="$ac_prog"
1807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1815 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1816 if test -n "$ac_ct_CC"; then
1817 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1818 echo "${ECHO_T}$ac_ct_CC" >&6
1820 echo "$as_me:$LINENO: result: no" >&5
1821 echo "${ECHO_T}no" >&6
1824 test -n "$ac_ct_CC" && break
1833 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1834 See \`config.log' for more details." >&5
1835 echo "$as_me: error: no acceptable C compiler found in \$PATH
1836 See \`config.log' for more details." >&2;}
1837 { (exit 1); exit 1; }; }
1839 # Provide some information about the compiler.
1840 echo "$as_me:$LINENO:" \
1841 "checking for C compiler version" >&5
1842 ac_compiler=`set X $ac_compile; echo $2`
1843 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1844 (eval $ac_compiler --version </dev/null >&5) 2>&5
1846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1847 (exit $ac_status); }
1848 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1849 (eval $ac_compiler -v </dev/null >&5) 2>&5
1851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1852 (exit $ac_status); }
1853 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1854 (eval $ac_compiler -V </dev/null >&5) 2>&5
1856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1857 (exit $ac_status); }
1859 cat >conftest.$ac_ext <<_ACEOF
1862 cat confdefs.h >>conftest.$ac_ext
1863 cat >>conftest.$ac_ext <<_ACEOF
1864 /* end confdefs.h. */
1874 ac_clean_files_save=$ac_clean_files
1875 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1876 # Try to create an executable without -o first, disregard a.out.
1877 # It will help us diagnose broken compilers, and finding out an intuition
1879 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1880 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1881 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1882 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1883 (eval $ac_link_default) 2>&5
1885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1886 (exit $ac_status); }; then
1887 # Find the output, starting from the most likely. This scheme is
1888 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1891 # Be careful to initialize this variable, since it used to be cached.
1892 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1894 # b.out is created by i960 compilers.
1895 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1897 test -f "$ac_file" || continue
1899 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1902 # This is the source file.
1905 # We found the default executable, but exeext='' is most
1909 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1910 # FIXME: I believe we export ac_cv_exeext for Libtool,
1911 # but it would be cool to find out if it's true. Does anybody
1912 # maintain Libtool? --akim.
1920 echo "$as_me: failed program was:" >&5
1921 sed 's/^/| /' conftest.$ac_ext >&5
1923 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1924 See \`config.log' for more details." >&5
1925 echo "$as_me: error: C compiler cannot create executables
1926 See \`config.log' for more details." >&2;}
1927 { (exit 77); exit 77; }; }
1930 ac_exeext=$ac_cv_exeext
1931 echo "$as_me:$LINENO: result: $ac_file" >&5
1932 echo "${ECHO_T}$ac_file" >&6
1934 # Check the compiler produces executables we can run. If not, either
1935 # the compiler is broken, or we cross compile.
1936 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1937 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1938 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1939 # If not cross compiling, check that we can run a simple program.
1940 if test "$cross_compiling" != yes; then
1941 if { ac_try='./$ac_file'
1942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1946 (exit $ac_status); }; }; then
1949 if test "$cross_compiling" = maybe; then
1952 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1953 If you meant to cross compile, use \`--host'.
1954 See \`config.log' for more details." >&5
1955 echo "$as_me: error: cannot run C compiled programs.
1956 If you meant to cross compile, use \`--host'.
1957 See \`config.log' for more details." >&2;}
1958 { (exit 1); exit 1; }; }
1962 echo "$as_me:$LINENO: result: yes" >&5
1963 echo "${ECHO_T}yes" >&6
1965 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1966 ac_clean_files=$ac_clean_files_save
1967 # Check the compiler produces executables we can run. If not, either
1968 # the compiler is broken, or we cross compile.
1969 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1970 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1971 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1972 echo "${ECHO_T}$cross_compiling" >&6
1974 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1975 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1977 (eval $ac_link) 2>&5
1979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1980 (exit $ac_status); }; then
1981 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1982 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1983 # work properly (i.e., refer to `conftest.exe'), while it won't with
1985 for ac_file in conftest.exe conftest conftest.*; do
1986 test -f "$ac_file" || continue
1988 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1989 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1996 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1997 See \`config.log' for more details." >&5
1998 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1999 See \`config.log' for more details." >&2;}
2000 { (exit 1); exit 1; }; }
2003 rm -f conftest$ac_cv_exeext
2004 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2005 echo "${ECHO_T}$ac_cv_exeext" >&6
2007 rm -f conftest.$ac_ext
2008 EXEEXT=$ac_cv_exeext
2010 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2011 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2012 if test "${ac_cv_objext+set}" = set; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2015 cat >conftest.$ac_ext <<_ACEOF
2018 cat confdefs.h >>conftest.$ac_ext
2019 cat >>conftest.$ac_ext <<_ACEOF
2020 /* end confdefs.h. */
2030 rm -f conftest.o conftest.obj
2031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2032 (eval $ac_compile) 2>&5
2034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2035 (exit $ac_status); }; then
2036 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2038 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2039 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2044 echo "$as_me: failed program was:" >&5
2045 sed 's/^/| /' conftest.$ac_ext >&5
2047 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2048 See \`config.log' for more details." >&5
2049 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2050 See \`config.log' for more details." >&2;}
2051 { (exit 1); exit 1; }; }
2054 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2056 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2057 echo "${ECHO_T}$ac_cv_objext" >&6
2058 OBJEXT=$ac_cv_objext
2060 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2061 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2062 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2063 echo $ECHO_N "(cached) $ECHO_C" >&6
2065 cat >conftest.$ac_ext <<_ACEOF
2068 cat confdefs.h >>conftest.$ac_ext
2069 cat >>conftest.$ac_ext <<_ACEOF
2070 /* end confdefs.h. */
2083 rm -f conftest.$ac_objext
2084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2085 (eval $ac_compile) 2>conftest.er1
2087 grep -v '^ *+' conftest.er1 >conftest.err
2089 cat conftest.err >&5
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 (exit $ac_status); } &&
2092 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2097 (exit $ac_status); }; } &&
2098 { ac_try='test -s conftest.$ac_objext'
2099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2103 (exit $ac_status); }; }; then
2106 echo "$as_me: failed program was:" >&5
2107 sed 's/^/| /' conftest.$ac_ext >&5
2111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2112 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2115 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2116 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2117 GCC=`test $ac_compiler_gnu = yes && echo yes`
2118 ac_test_CFLAGS=${CFLAGS+set}
2119 ac_save_CFLAGS=$CFLAGS
2121 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2122 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2123 if test "${ac_cv_prog_cc_g+set}" = set; then
2124 echo $ECHO_N "(cached) $ECHO_C" >&6
2126 cat >conftest.$ac_ext <<_ACEOF
2129 cat confdefs.h >>conftest.$ac_ext
2130 cat >>conftest.$ac_ext <<_ACEOF
2131 /* end confdefs.h. */
2141 rm -f conftest.$ac_objext
2142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2143 (eval $ac_compile) 2>conftest.er1
2145 grep -v '^ *+' conftest.er1 >conftest.err
2147 cat conftest.err >&5
2148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2149 (exit $ac_status); } &&
2150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2155 (exit $ac_status); }; } &&
2156 { ac_try='test -s conftest.$ac_objext'
2157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2161 (exit $ac_status); }; }; then
2164 echo "$as_me: failed program was:" >&5
2165 sed 's/^/| /' conftest.$ac_ext >&5
2169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2171 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2172 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2173 if test "$ac_test_CFLAGS" = set; then
2174 CFLAGS=$ac_save_CFLAGS
2175 elif test $ac_cv_prog_cc_g = yes; then
2176 if test "$GCC" = yes; then
2182 if test "$GCC" = yes; then
2188 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2189 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2190 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2191 echo $ECHO_N "(cached) $ECHO_C" >&6
2193 ac_cv_prog_cc_stdc=no
2195 cat >conftest.$ac_ext <<_ACEOF
2198 cat confdefs.h >>conftest.$ac_ext
2199 cat >>conftest.$ac_ext <<_ACEOF
2200 /* end confdefs.h. */
2203 #include <sys/types.h>
2204 #include <sys/stat.h>
2205 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2206 struct buf { int x; };
2207 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2208 static char *e (p, i)
2214 static char *f (char * (*g) (char **, int), char **p, ...)
2219 s = g (p, va_arg (v,int));
2224 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2225 function prototypes and stuff, but not '\xHH' hex character constants.
2226 These don't provoke an error unfortunately, instead are silently treated
2227 as 'x'. The following induces an error, until -std1 is added to get
2228 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2229 array size at least. It's necessary to write '\x00'==0 to get something
2230 that's true only with -std1. */
2231 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2233 int test (int i, double x);
2234 struct s1 {int (*f) (int a);};
2235 struct s2 {int (*f) (double a);};
2236 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2242 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2247 # Don't try gcc -ansi; that turns off useful extensions and
2248 # breaks some systems' header files.
2249 # AIX -qlanglvl=ansi
2250 # Ultrix and OSF/1 -std1
2251 # HP-UX 10.20 and later -Ae
2252 # HP-UX older versions -Aa -D_HPUX_SOURCE
2253 # SVR4 -Xc -D__EXTENSIONS__
2254 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2256 CC="$ac_save_CC $ac_arg"
2257 rm -f conftest.$ac_objext
2258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2259 (eval $ac_compile) 2>conftest.er1
2261 grep -v '^ *+' conftest.er1 >conftest.err
2263 cat conftest.err >&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); } &&
2266 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); }; } &&
2272 { ac_try='test -s conftest.$ac_objext'
2273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2277 (exit $ac_status); }; }; then
2278 ac_cv_prog_cc_stdc=$ac_arg
2281 echo "$as_me: failed program was:" >&5
2282 sed 's/^/| /' conftest.$ac_ext >&5
2285 rm -f conftest.err conftest.$ac_objext
2287 rm -f conftest.$ac_ext conftest.$ac_objext
2292 case "x$ac_cv_prog_cc_stdc" in
2294 echo "$as_me:$LINENO: result: none needed" >&5
2295 echo "${ECHO_T}none needed" >&6 ;;
2297 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2298 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2299 CC="$CC $ac_cv_prog_cc_stdc" ;;
2302 # Some people use a C++ compiler to compile C. Since we use `exit',
2303 # in C++ we need to declare it. In case someone uses the same compiler
2304 # for both compiling C and C++ we need to have the C++ compiler decide
2305 # the declaration of exit, since it's the most demanding environment.
2306 cat >conftest.$ac_ext <<_ACEOF
2311 rm -f conftest.$ac_objext
2312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2313 (eval $ac_compile) 2>conftest.er1
2315 grep -v '^ *+' conftest.er1 >conftest.err
2317 cat conftest.err >&5
2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319 (exit $ac_status); } &&
2320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); }; } &&
2326 { ac_try='test -s conftest.$ac_objext'
2327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }; }; then
2332 for ac_declaration in \
2334 'extern "C" void std::exit (int) throw (); using std::exit;' \
2335 'extern "C" void std::exit (int); using std::exit;' \
2336 'extern "C" void exit (int) throw ();' \
2337 'extern "C" void exit (int);' \
2340 cat >conftest.$ac_ext <<_ACEOF
2343 cat confdefs.h >>conftest.$ac_ext
2344 cat >>conftest.$ac_ext <<_ACEOF
2345 /* end confdefs.h. */
2356 rm -f conftest.$ac_objext
2357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2358 (eval $ac_compile) 2>conftest.er1
2360 grep -v '^ *+' conftest.er1 >conftest.err
2362 cat conftest.err >&5
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); } &&
2365 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); }; } &&
2371 { ac_try='test -s conftest.$ac_objext'
2372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); }; }; then
2379 echo "$as_me: failed program was:" >&5
2380 sed 's/^/| /' conftest.$ac_ext >&5
2384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2385 cat >conftest.$ac_ext <<_ACEOF
2388 cat confdefs.h >>conftest.$ac_ext
2389 cat >>conftest.$ac_ext <<_ACEOF
2390 /* end confdefs.h. */
2400 rm -f conftest.$ac_objext
2401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2402 (eval $ac_compile) 2>conftest.er1
2404 grep -v '^ *+' conftest.er1 >conftest.err
2406 cat conftest.err >&5
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); } &&
2409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); }; } &&
2415 { ac_try='test -s conftest.$ac_objext'
2416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); }; }; then
2423 echo "$as_me: failed program was:" >&5
2424 sed 's/^/| /' conftest.$ac_ext >&5
2427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2430 if test -n "$ac_declaration"; then
2431 echo '#ifdef __cplusplus' >>confdefs.h
2432 echo $ac_declaration >>confdefs.h
2433 echo '#endif' >>confdefs.h
2437 echo "$as_me: failed program was:" >&5
2438 sed 's/^/| /' conftest.$ac_ext >&5
2441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2443 ac_cpp='$CPP $CPPFLAGS'
2444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2449 ac_cpp='$CXXCPP $CPPFLAGS'
2450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2453 if test -n "$ac_tool_prefix"; then
2454 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2456 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2457 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2458 echo "$as_me:$LINENO: checking for $ac_word" >&5
2459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2460 if test "${ac_cv_prog_CXX+set}" = set; then
2461 echo $ECHO_N "(cached) $ECHO_C" >&6
2463 if test -n "$CXX"; then
2464 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2470 test -z "$as_dir" && as_dir=.
2471 for ac_exec_ext in '' $ac_executable_extensions; do
2472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2473 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2483 if test -n "$CXX"; then
2484 echo "$as_me:$LINENO: result: $CXX" >&5
2485 echo "${ECHO_T}$CXX" >&6
2487 echo "$as_me:$LINENO: result: no" >&5
2488 echo "${ECHO_T}no" >&6
2491 test -n "$CXX" && break
2494 if test -z "$CXX"; then
2496 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2498 # Extract the first word of "$ac_prog", so it can be a program name with args.
2499 set dummy $ac_prog; ac_word=$2
2500 echo "$as_me:$LINENO: checking for $ac_word" >&5
2501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2502 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 if test -n "$ac_ct_CXX"; then
2506 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512 test -z "$as_dir" && as_dir=.
2513 for ac_exec_ext in '' $ac_executable_extensions; do
2514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2515 ac_cv_prog_ac_ct_CXX="$ac_prog"
2516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2524 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2525 if test -n "$ac_ct_CXX"; then
2526 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2527 echo "${ECHO_T}$ac_ct_CXX" >&6
2529 echo "$as_me:$LINENO: result: no" >&5
2530 echo "${ECHO_T}no" >&6
2533 test -n "$ac_ct_CXX" && break
2535 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2541 # Provide some information about the compiler.
2542 echo "$as_me:$LINENO:" \
2543 "checking for C++ compiler version" >&5
2544 ac_compiler=`set X $ac_compile; echo $2`
2545 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2546 (eval $ac_compiler --version </dev/null >&5) 2>&5
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); }
2550 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2551 (eval $ac_compiler -v </dev/null >&5) 2>&5
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); }
2555 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2556 (eval $ac_compiler -V </dev/null >&5) 2>&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }
2561 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2562 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2563 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2564 echo $ECHO_N "(cached) $ECHO_C" >&6
2566 cat >conftest.$ac_ext <<_ACEOF
2569 cat confdefs.h >>conftest.$ac_ext
2570 cat >>conftest.$ac_ext <<_ACEOF
2571 /* end confdefs.h. */
2584 rm -f conftest.$ac_objext
2585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2586 (eval $ac_compile) 2>conftest.er1
2588 grep -v '^ *+' conftest.er1 >conftest.err
2590 cat conftest.err >&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); } &&
2593 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); }; } &&
2599 { ac_try='test -s conftest.$ac_objext'
2600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); }; }; then
2607 echo "$as_me: failed program was:" >&5
2608 sed 's/^/| /' conftest.$ac_ext >&5
2612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2613 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2616 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2617 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2618 GXX=`test $ac_compiler_gnu = yes && echo yes`
2619 ac_test_CXXFLAGS=${CXXFLAGS+set}
2620 ac_save_CXXFLAGS=$CXXFLAGS
2622 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2623 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2624 if test "${ac_cv_prog_cxx_g+set}" = set; then
2625 echo $ECHO_N "(cached) $ECHO_C" >&6
2627 cat >conftest.$ac_ext <<_ACEOF
2630 cat confdefs.h >>conftest.$ac_ext
2631 cat >>conftest.$ac_ext <<_ACEOF
2632 /* end confdefs.h. */
2642 rm -f conftest.$ac_objext
2643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2644 (eval $ac_compile) 2>conftest.er1
2646 grep -v '^ *+' conftest.er1 >conftest.err
2648 cat conftest.err >&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); } &&
2651 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); }; } &&
2657 { ac_try='test -s conftest.$ac_objext'
2658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }; }; then
2663 ac_cv_prog_cxx_g=yes
2665 echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.$ac_ext >&5
2670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2672 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2673 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2674 if test "$ac_test_CXXFLAGS" = set; then
2675 CXXFLAGS=$ac_save_CXXFLAGS
2676 elif test $ac_cv_prog_cxx_g = yes; then
2677 if test "$GXX" = yes; then
2683 if test "$GXX" = yes; then
2689 for ac_declaration in \
2691 'extern "C" void std::exit (int) throw (); using std::exit;' \
2692 'extern "C" void std::exit (int); using std::exit;' \
2693 'extern "C" void exit (int) throw ();' \
2694 'extern "C" void exit (int);' \
2697 cat >conftest.$ac_ext <<_ACEOF
2700 cat confdefs.h >>conftest.$ac_ext
2701 cat >>conftest.$ac_ext <<_ACEOF
2702 /* end confdefs.h. */
2713 rm -f conftest.$ac_objext
2714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2715 (eval $ac_compile) 2>conftest.er1
2717 grep -v '^ *+' conftest.er1 >conftest.err
2719 cat conftest.err >&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); } &&
2722 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); }; } &&
2728 { ac_try='test -s conftest.$ac_objext'
2729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; }; then
2736 echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.$ac_ext >&5
2741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2742 cat >conftest.$ac_ext <<_ACEOF
2745 cat confdefs.h >>conftest.$ac_ext
2746 cat >>conftest.$ac_ext <<_ACEOF
2747 /* end confdefs.h. */
2757 rm -f conftest.$ac_objext
2758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2759 (eval $ac_compile) 2>conftest.er1
2761 grep -v '^ *+' conftest.er1 >conftest.err
2763 cat conftest.err >&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); } &&
2766 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }; } &&
2772 { ac_try='test -s conftest.$ac_objext'
2773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }; }; then
2780 echo "$as_me: failed program was:" >&5
2781 sed 's/^/| /' conftest.$ac_ext >&5
2784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2787 if test -n "$ac_declaration"; then
2788 echo '#ifdef __cplusplus' >>confdefs.h
2789 echo $ac_declaration >>confdefs.h
2790 echo '#endif' >>confdefs.h
2794 ac_cpp='$CPP $CPPFLAGS'
2795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2799 if test -n "$ac_tool_prefix"; then
2800 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
2801 set dummy ${ac_tool_prefix}cpp; ac_word=$2
2802 echo "$as_me:$LINENO: checking for $ac_word" >&5
2803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2804 if test "${ac_cv_prog_CPPBIN+set}" = set; then
2805 echo $ECHO_N "(cached) $ECHO_C" >&6
2807 if test -n "$CPPBIN"; then
2808 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
2810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2814 test -z "$as_dir" && as_dir=.
2815 for ac_exec_ext in '' $ac_executable_extensions; do
2816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2817 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
2818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2826 CPPBIN=$ac_cv_prog_CPPBIN
2827 if test -n "$CPPBIN"; then
2828 echo "$as_me:$LINENO: result: $CPPBIN" >&5
2829 echo "${ECHO_T}$CPPBIN" >&6
2831 echo "$as_me:$LINENO: result: no" >&5
2832 echo "${ECHO_T}no" >&6
2836 if test -z "$ac_cv_prog_CPPBIN"; then
2837 ac_ct_CPPBIN=$CPPBIN
2838 # Extract the first word of "cpp", so it can be a program name with args.
2839 set dummy cpp; ac_word=$2
2840 echo "$as_me:$LINENO: checking for $ac_word" >&5
2841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2842 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
2843 echo $ECHO_N "(cached) $ECHO_C" >&6
2845 if test -n "$ac_ct_CPPBIN"; then
2846 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
2848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2852 test -z "$as_dir" && as_dir=.
2853 for ac_exec_ext in '' $ac_executable_extensions; do
2854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2855 ac_cv_prog_ac_ct_CPPBIN="cpp"
2856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2862 test -z "$ac_cv_prog_ac_ct_CPPBIN" && ac_cv_prog_ac_ct_CPPBIN="cpp"
2865 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
2866 if test -n "$ac_ct_CPPBIN"; then
2867 echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
2868 echo "${ECHO_T}$ac_ct_CPPBIN" >&6
2870 echo "$as_me:$LINENO: result: no" >&5
2871 echo "${ECHO_T}no" >&6
2874 CPPBIN=$ac_ct_CPPBIN
2876 CPPBIN="$ac_cv_prog_CPPBIN"
2880 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2881 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2882 if test "${wine_cv_toolsdir+set}" = set; then
2883 echo $ECHO_N "(cached) $ECHO_C" >&6
2885 if test -z "$with_wine_tools"; then
2886 if test "$cross_compiling" = "yes"; then
2887 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2888 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2889 { (exit 1); exit 1; }; }
2891 wine_cv_toolsdir="\$(TOPOBJDIR)"
2893 elif test -d "$with_wine_tools/tools/winebuild"; then
2894 case $with_wine_tools in
2895 /*) wine_cv_toolsdir="$with_wine_tools" ;;
2896 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
2899 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2900 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2901 { (exit 1); exit 1; }; }
2904 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2905 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2906 TOOLSDIR=$wine_cv_toolsdir
2911 ac_cpp='$CPP $CPPFLAGS'
2912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2915 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2916 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2917 # On Suns, sometimes $CPP names a directory.
2918 if test -n "$CPP" && test -d "$CPP"; then
2921 if test -z "$CPP"; then
2922 if test "${ac_cv_prog_CPP+set}" = set; then
2923 echo $ECHO_N "(cached) $ECHO_C" >&6
2925 # Double quotes because CPP needs to be expanded
2926 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2929 for ac_c_preproc_warn_flag in '' yes
2931 # Use a header file that comes with gcc, so configuring glibc
2932 # with a fresh cross-compiler works.
2933 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2934 # <limits.h> exists even on freestanding compilers.
2935 # On the NeXT, cc -E runs the code through the compiler's parser,
2936 # not just through cpp. "Syntax error" is here to catch this case.
2937 cat >conftest.$ac_ext <<_ACEOF
2940 cat confdefs.h >>conftest.$ac_ext
2941 cat >>conftest.$ac_ext <<_ACEOF
2942 /* end confdefs.h. */
2944 # include <limits.h>
2946 # include <assert.h>
2950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2951 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2953 grep -v '^ *+' conftest.er1 >conftest.err
2955 cat conftest.err >&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); } >/dev/null; then
2958 if test -s conftest.err; then
2959 ac_cpp_err=$ac_c_preproc_warn_flag
2960 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2967 if test -z "$ac_cpp_err"; then
2970 echo "$as_me: failed program was:" >&5
2971 sed 's/^/| /' conftest.$ac_ext >&5
2973 # Broken: fails on valid input.
2976 rm -f conftest.err conftest.$ac_ext
2978 # OK, works on sane cases. Now check whether non-existent headers
2979 # can be detected and how.
2980 cat >conftest.$ac_ext <<_ACEOF
2983 cat confdefs.h >>conftest.$ac_ext
2984 cat >>conftest.$ac_ext <<_ACEOF
2985 /* end confdefs.h. */
2986 #include <ac_nonexistent.h>
2988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2989 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2991 grep -v '^ *+' conftest.er1 >conftest.err
2993 cat conftest.err >&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); } >/dev/null; then
2996 if test -s conftest.err; then
2997 ac_cpp_err=$ac_c_preproc_warn_flag
2998 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3005 if test -z "$ac_cpp_err"; then
3006 # Broken: success on invalid input.
3009 echo "$as_me: failed program was:" >&5
3010 sed 's/^/| /' conftest.$ac_ext >&5
3012 # Passes both tests.
3016 rm -f conftest.err conftest.$ac_ext
3019 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3020 rm -f conftest.err conftest.$ac_ext
3021 if $ac_preproc_ok; then
3033 echo "$as_me:$LINENO: result: $CPP" >&5
3034 echo "${ECHO_T}$CPP" >&6
3036 for ac_c_preproc_warn_flag in '' yes
3038 # Use a header file that comes with gcc, so configuring glibc
3039 # with a fresh cross-compiler works.
3040 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3041 # <limits.h> exists even on freestanding compilers.
3042 # On the NeXT, cc -E runs the code through the compiler's parser,
3043 # not just through cpp. "Syntax error" is here to catch this case.
3044 cat >conftest.$ac_ext <<_ACEOF
3047 cat confdefs.h >>conftest.$ac_ext
3048 cat >>conftest.$ac_ext <<_ACEOF
3049 /* end confdefs.h. */
3051 # include <limits.h>
3053 # include <assert.h>
3057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3058 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3060 grep -v '^ *+' conftest.er1 >conftest.err
3062 cat conftest.err >&5
3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); } >/dev/null; then
3065 if test -s conftest.err; then
3066 ac_cpp_err=$ac_c_preproc_warn_flag
3067 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3074 if test -z "$ac_cpp_err"; then
3077 echo "$as_me: failed program was:" >&5
3078 sed 's/^/| /' conftest.$ac_ext >&5
3080 # Broken: fails on valid input.
3083 rm -f conftest.err conftest.$ac_ext
3085 # OK, works on sane cases. Now check whether non-existent headers
3086 # can be detected and how.
3087 cat >conftest.$ac_ext <<_ACEOF
3090 cat confdefs.h >>conftest.$ac_ext
3091 cat >>conftest.$ac_ext <<_ACEOF
3092 /* end confdefs.h. */
3093 #include <ac_nonexistent.h>
3095 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3096 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3098 grep -v '^ *+' conftest.er1 >conftest.err
3100 cat conftest.err >&5
3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 (exit $ac_status); } >/dev/null; then
3103 if test -s conftest.err; then
3104 ac_cpp_err=$ac_c_preproc_warn_flag
3105 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3112 if test -z "$ac_cpp_err"; then
3113 # Broken: success on invalid input.
3116 echo "$as_me: failed program was:" >&5
3117 sed 's/^/| /' conftest.$ac_ext >&5
3119 # Passes both tests.
3123 rm -f conftest.err conftest.$ac_ext
3126 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3127 rm -f conftest.err conftest.$ac_ext
3128 if $ac_preproc_ok; then
3131 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3132 See \`config.log' for more details." >&5
3133 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3134 See \`config.log' for more details." >&2;}
3135 { (exit 1); exit 1; }; }
3139 ac_cpp='$CPP $CPPFLAGS'
3140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3146 if test "x$ac_path_x_has_been_run" != xyes; then
3147 echo "$as_me:$LINENO: checking for X" >&5
3148 echo $ECHO_N "checking for X... $ECHO_C" >&6
3150 ac_path_x_has_been_run=yes
3152 # Check whether --with-x or --without-x was given.
3153 if test "${with_x+set}" = set; then
3157 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3158 if test "x$with_x" = xno; then
3159 # The user explicitly disabled X.
3162 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
3163 # Both variables are already set.
3166 if test "${ac_cv_have_x+set}" = set; then
3167 echo $ECHO_N "(cached) $ECHO_C" >&6
3169 # One or both of the vars are not set, and there is no cached value.
3170 ac_x_includes=no ac_x_libraries=no
3172 if mkdir conftest.dir; then
3174 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3175 cat >Imakefile <<'_ACEOF'
3177 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3179 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
3180 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3181 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3182 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3183 for ac_extension in a so sl; do
3184 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
3185 test -f $ac_im_libdir/libX11.$ac_extension; then
3186 ac_im_usrlibdir=$ac_im_libdir; break
3189 # Screen out bogus values from the imake configuration. They are
3190 # bogus both because they are the default anyway, and because
3191 # using them would break gcc on systems where it needs fixed includes.
3192 case $ac_im_incroot in
3194 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3196 case $ac_im_usrlibdir in
3198 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3205 # Standard set of common directories for X headers.
3206 # Check X11 before X11Rn because it is often a symlink to the current release.
3218 /usr/local/X11/include
3219 /usr/local/X11R6/include
3220 /usr/local/X11R5/include
3221 /usr/local/X11R4/include
3223 /usr/local/include/X11
3224 /usr/local/include/X11R6
3225 /usr/local/include/X11R5
3226 /usr/local/include/X11R4
3230 /usr/XFree86/include/X11
3234 /usr/unsupported/include
3236 /usr/local/x11r5/include
3237 /usr/lpp/Xamples/include
3239 /usr/openwin/include
3240 /usr/openwin/share/include'
3242 if test "$ac_x_includes" = no; then
3243 # Guess where to find include files, by looking for a specified header file.
3244 # First, try using that file with no special directory specified.
3245 cat >conftest.$ac_ext <<_ACEOF
3248 cat confdefs.h >>conftest.$ac_ext
3249 cat >>conftest.$ac_ext <<_ACEOF
3250 /* end confdefs.h. */
3251 #include <X11/Intrinsic.h>
3253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3254 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3256 grep -v '^ *+' conftest.er1 >conftest.err
3258 cat conftest.err >&5
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); } >/dev/null; then
3261 if test -s conftest.err; then
3262 ac_cpp_err=$ac_c_preproc_warn_flag
3263 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3270 if test -z "$ac_cpp_err"; then
3271 # We can compile using X headers with no special include directory.
3274 echo "$as_me: failed program was:" >&5
3275 sed 's/^/| /' conftest.$ac_ext >&5
3277 for ac_dir in $ac_x_header_dirs; do
3278 if test -r "$ac_dir/X11/Intrinsic.h"; then
3279 ac_x_includes=$ac_dir
3284 rm -f conftest.err conftest.$ac_ext
3285 fi # $ac_x_includes = no
3287 if test "$ac_x_libraries" = no; then
3288 # Check for the libraries.
3289 # See if we find them without any special options.
3290 # Don't add to $LIBS permanently.
3293 cat >conftest.$ac_ext <<_ACEOF
3296 cat confdefs.h >>conftest.$ac_ext
3297 cat >>conftest.$ac_ext <<_ACEOF
3298 /* end confdefs.h. */
3299 #include <X11/Intrinsic.h>
3308 rm -f conftest.$ac_objext conftest$ac_exeext
3309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3310 (eval $ac_link) 2>conftest.er1
3312 grep -v '^ *+' conftest.er1 >conftest.err
3314 cat conftest.err >&5
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); } &&
3317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322 (exit $ac_status); }; } &&
3323 { ac_try='test -s conftest$ac_exeext'
3324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); }; }; then
3330 # We can link X programs with no special library path.
3333 echo "$as_me: failed program was:" >&5
3334 sed 's/^/| /' conftest.$ac_ext >&5
3337 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3339 # Don't even attempt the hair of trying to link an X program!
3340 for ac_extension in a so sl; do
3341 if test -r $ac_dir/libXt.$ac_extension; then
3342 ac_x_libraries=$ac_dir
3348 rm -f conftest.err conftest.$ac_objext \
3349 conftest$ac_exeext conftest.$ac_ext
3350 fi # $ac_x_libraries = no
3352 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
3353 # Didn't find X anywhere. Cache the known absence of X.
3354 ac_cv_have_x="have_x=no"
3356 # Record where we found X for the cache.
3357 ac_cv_have_x="have_x=yes \
3358 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3363 eval "$ac_cv_have_x"
3366 if test "$have_x" != yes; then
3367 echo "$as_me:$LINENO: result: $have_x" >&5
3368 echo "${ECHO_T}$have_x" >&6
3371 # If each of the values was on the command line, it overrides each guess.
3372 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3373 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3374 # Update the cache value to reflect the command line values.
3375 ac_cv_have_x="have_x=yes \
3376 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3377 # It might be that x_includes is empty (headers are found in the
3378 # standard search path. Then output the corresponding message
3379 ac_out_x_includes=$x_includes
3380 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
3381 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
3382 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
3386 if test "$no_x" = yes; then
3387 # Not all programs may use this symbol, but it does not hurt to define it.
3389 cat >>confdefs.h <<\_ACEOF
3390 #define X_DISPLAY_MISSING 1
3393 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3395 if test -n "$x_includes"; then
3396 X_CFLAGS="$X_CFLAGS -I$x_includes"
3399 # It would also be nice to do this for all -L options, not just this one.
3400 if test -n "$x_libraries"; then
3401 X_LIBS="$X_LIBS -L$x_libraries"
3402 # For Solaris; some versions of Sun CC require a space after -R and
3403 # others require no space. Words are not sufficient . . . .
3404 case `(uname -sr) 2>/dev/null` in
3406 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3407 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3408 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3409 cat >conftest.$ac_ext <<_ACEOF
3412 cat confdefs.h >>conftest.$ac_ext
3413 cat >>conftest.$ac_ext <<_ACEOF
3414 /* end confdefs.h. */
3424 rm -f conftest.$ac_objext conftest$ac_exeext
3425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3426 (eval $ac_link) 2>conftest.er1
3428 grep -v '^ *+' conftest.er1 >conftest.err
3430 cat conftest.err >&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } &&
3433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438 (exit $ac_status); }; } &&
3439 { ac_try='test -s conftest$ac_exeext'
3440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); }; }; then
3447 echo "$as_me: failed program was:" >&5
3448 sed 's/^/| /' conftest.$ac_ext >&5
3452 rm -f conftest.err conftest.$ac_objext \
3453 conftest$ac_exeext conftest.$ac_ext
3454 if test $ac_R_nospace = yes; then
3455 echo "$as_me:$LINENO: result: no" >&5
3456 echo "${ECHO_T}no" >&6
3457 X_LIBS="$X_LIBS -R$x_libraries"
3459 LIBS="$ac_xsave_LIBS -R $x_libraries"
3460 cat >conftest.$ac_ext <<_ACEOF
3463 cat confdefs.h >>conftest.$ac_ext
3464 cat >>conftest.$ac_ext <<_ACEOF
3465 /* end confdefs.h. */
3475 rm -f conftest.$ac_objext conftest$ac_exeext
3476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3477 (eval $ac_link) 2>conftest.er1
3479 grep -v '^ *+' conftest.er1 >conftest.err
3481 cat conftest.err >&5
3482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483 (exit $ac_status); } &&
3484 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3489 (exit $ac_status); }; } &&
3490 { ac_try='test -s conftest$ac_exeext'
3491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495 (exit $ac_status); }; }; then
3498 echo "$as_me: failed program was:" >&5
3499 sed 's/^/| /' conftest.$ac_ext >&5
3503 rm -f conftest.err conftest.$ac_objext \
3504 conftest$ac_exeext conftest.$ac_ext
3505 if test $ac_R_space = yes; then
3506 echo "$as_me:$LINENO: result: yes" >&5
3507 echo "${ECHO_T}yes" >&6
3508 X_LIBS="$X_LIBS -R $x_libraries"
3510 echo "$as_me:$LINENO: result: neither works" >&5
3511 echo "${ECHO_T}neither works" >&6
3518 # Check for system-dependent libraries X programs must link with.
3519 # Do this before checking for the system-independent R6 libraries
3520 # (-lICE), since we may need -lsocket or whatever for X linking.
3522 if test "$ISC" = yes; then
3523 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
3525 # Martyn Johnson says this is needed for Ultrix, if the X
3526 # libraries were built with DECnet support. And Karl Berry says
3527 # the Alpha needs dnet_stub (dnet does not exist).
3528 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
3529 cat >conftest.$ac_ext <<_ACEOF
3532 cat confdefs.h >>conftest.$ac_ext
3533 cat >>conftest.$ac_ext <<_ACEOF
3534 /* end confdefs.h. */
3536 /* Override any gcc2 internal prototype to avoid an error. */
3540 /* We use char because int might match the return type of a gcc2
3541 builtin and then its argument prototype would still apply. */
3542 char XOpenDisplay ();
3551 rm -f conftest.$ac_objext conftest$ac_exeext
3552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3553 (eval $ac_link) 2>conftest.er1
3555 grep -v '^ *+' conftest.er1 >conftest.err
3557 cat conftest.err >&5
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); } &&
3560 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565 (exit $ac_status); }; } &&
3566 { ac_try='test -s conftest$ac_exeext'
3567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 (exit $ac_status); }; }; then
3574 echo "$as_me: failed program was:" >&5
3575 sed 's/^/| /' conftest.$ac_ext >&5
3577 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3578 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3579 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3580 echo $ECHO_N "(cached) $ECHO_C" >&6
3582 ac_check_lib_save_LIBS=$LIBS
3584 cat >conftest.$ac_ext <<_ACEOF
3587 cat confdefs.h >>conftest.$ac_ext
3588 cat >>conftest.$ac_ext <<_ACEOF
3589 /* end confdefs.h. */
3591 /* Override any gcc2 internal prototype to avoid an error. */
3595 /* We use char because int might match the return type of a gcc2
3596 builtin and then its argument prototype would still apply. */
3606 rm -f conftest.$ac_objext conftest$ac_exeext
3607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3608 (eval $ac_link) 2>conftest.er1
3610 grep -v '^ *+' conftest.er1 >conftest.err
3612 cat conftest.err >&5
3613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3614 (exit $ac_status); } &&
3615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620 (exit $ac_status); }; } &&
3621 { ac_try='test -s conftest$ac_exeext'
3622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626 (exit $ac_status); }; }; then
3627 ac_cv_lib_dnet_dnet_ntoa=yes
3629 echo "$as_me: failed program was:" >&5
3630 sed 's/^/| /' conftest.$ac_ext >&5
3632 ac_cv_lib_dnet_dnet_ntoa=no
3634 rm -f conftest.err conftest.$ac_objext \
3635 conftest$ac_exeext conftest.$ac_ext
3636 LIBS=$ac_check_lib_save_LIBS
3638 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3639 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3640 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3641 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
3644 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
3645 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3646 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3647 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3648 echo $ECHO_N "(cached) $ECHO_C" >&6
3650 ac_check_lib_save_LIBS=$LIBS
3651 LIBS="-ldnet_stub $LIBS"
3652 cat >conftest.$ac_ext <<_ACEOF
3655 cat confdefs.h >>conftest.$ac_ext
3656 cat >>conftest.$ac_ext <<_ACEOF
3657 /* end confdefs.h. */
3659 /* Override any gcc2 internal prototype to avoid an error. */
3663 /* We use char because int might match the return type of a gcc2
3664 builtin and then its argument prototype would still apply. */
3674 rm -f conftest.$ac_objext conftest$ac_exeext
3675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3676 (eval $ac_link) 2>conftest.er1
3678 grep -v '^ *+' conftest.er1 >conftest.err
3680 cat conftest.err >&5
3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682 (exit $ac_status); } &&
3683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688 (exit $ac_status); }; } &&
3689 { ac_try='test -s conftest$ac_exeext'
3690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3694 (exit $ac_status); }; }; then
3695 ac_cv_lib_dnet_stub_dnet_ntoa=yes
3697 echo "$as_me: failed program was:" >&5
3698 sed 's/^/| /' conftest.$ac_ext >&5
3700 ac_cv_lib_dnet_stub_dnet_ntoa=no
3702 rm -f conftest.err conftest.$ac_objext \
3703 conftest$ac_exeext conftest.$ac_ext
3704 LIBS=$ac_check_lib_save_LIBS
3706 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3707 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3708 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3709 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
3714 rm -f conftest.err conftest.$ac_objext \
3715 conftest$ac_exeext conftest.$ac_ext
3716 LIBS="$ac_xsave_LIBS"
3718 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3719 # to get the SysV transport functions.
3720 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3722 # The nsl library prevents programs from opening the X display
3723 # on Irix 5.2, according to T.E. Dickey.
3724 # The functions gethostbyname, getservbyname, and inet_addr are
3725 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3726 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3727 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3728 if test "${ac_cv_func_gethostbyname+set}" = set; then
3729 echo $ECHO_N "(cached) $ECHO_C" >&6
3731 cat >conftest.$ac_ext <<_ACEOF
3734 cat confdefs.h >>conftest.$ac_ext
3735 cat >>conftest.$ac_ext <<_ACEOF
3736 /* end confdefs.h. */
3737 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3739 #define gethostbyname innocuous_gethostbyname
3741 /* System header to define __stub macros and hopefully few prototypes,
3742 which can conflict with char gethostbyname (); below.
3743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3744 <limits.h> exists even on freestanding compilers. */
3747 # include <limits.h>
3749 # include <assert.h>
3752 #undef gethostbyname
3754 /* Override any gcc2 internal prototype to avoid an error. */
3759 /* We use char because int might match the return type of a gcc2
3760 builtin and then its argument prototype would still apply. */
3761 char gethostbyname ();
3762 /* The GNU C library defines this for functions which it implements
3763 to always fail with ENOSYS. Some functions are actually named
3764 something starting with __ and the normal name is an alias. */
3765 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3768 char (*f) () = gethostbyname;
3777 return f != gethostbyname;
3782 rm -f conftest.$ac_objext conftest$ac_exeext
3783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3784 (eval $ac_link) 2>conftest.er1
3786 grep -v '^ *+' conftest.er1 >conftest.err
3788 cat conftest.err >&5
3789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790 (exit $ac_status); } &&
3791 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); }; } &&
3797 { ac_try='test -s conftest$ac_exeext'
3798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); }; }; then
3803 ac_cv_func_gethostbyname=yes
3805 echo "$as_me: failed program was:" >&5
3806 sed 's/^/| /' conftest.$ac_ext >&5
3808 ac_cv_func_gethostbyname=no
3810 rm -f conftest.err conftest.$ac_objext \
3811 conftest$ac_exeext conftest.$ac_ext
3813 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3814 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3816 if test $ac_cv_func_gethostbyname = no; then
3817 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3818 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3819 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3820 echo $ECHO_N "(cached) $ECHO_C" >&6
3822 ac_check_lib_save_LIBS=$LIBS
3824 cat >conftest.$ac_ext <<_ACEOF
3827 cat confdefs.h >>conftest.$ac_ext
3828 cat >>conftest.$ac_ext <<_ACEOF
3829 /* end confdefs.h. */
3831 /* Override any gcc2 internal prototype to avoid an error. */
3835 /* We use char because int might match the return type of a gcc2
3836 builtin and then its argument prototype would still apply. */
3837 char gethostbyname ();
3846 rm -f conftest.$ac_objext conftest$ac_exeext
3847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3848 (eval $ac_link) 2>conftest.er1
3850 grep -v '^ *+' conftest.er1 >conftest.err
3852 cat conftest.err >&5
3853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 (exit $ac_status); } &&
3855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); }; } &&
3861 { ac_try='test -s conftest$ac_exeext'
3862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866 (exit $ac_status); }; }; then
3867 ac_cv_lib_nsl_gethostbyname=yes
3869 echo "$as_me: failed program was:" >&5
3870 sed 's/^/| /' conftest.$ac_ext >&5
3872 ac_cv_lib_nsl_gethostbyname=no
3874 rm -f conftest.err conftest.$ac_objext \
3875 conftest$ac_exeext conftest.$ac_ext
3876 LIBS=$ac_check_lib_save_LIBS
3878 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3879 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3880 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3881 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
3884 if test $ac_cv_lib_nsl_gethostbyname = no; then
3885 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3886 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3887 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3888 echo $ECHO_N "(cached) $ECHO_C" >&6
3890 ac_check_lib_save_LIBS=$LIBS
3892 cat >conftest.$ac_ext <<_ACEOF
3895 cat confdefs.h >>conftest.$ac_ext
3896 cat >>conftest.$ac_ext <<_ACEOF
3897 /* end confdefs.h. */
3899 /* Override any gcc2 internal prototype to avoid an error. */
3903 /* We use char because int might match the return type of a gcc2
3904 builtin and then its argument prototype would still apply. */
3905 char gethostbyname ();
3914 rm -f conftest.$ac_objext conftest$ac_exeext
3915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3916 (eval $ac_link) 2>conftest.er1
3918 grep -v '^ *+' conftest.er1 >conftest.err
3920 cat conftest.err >&5
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); } &&
3923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3928 (exit $ac_status); }; } &&
3929 { ac_try='test -s conftest$ac_exeext'
3930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); }; }; then
3935 ac_cv_lib_bsd_gethostbyname=yes
3937 echo "$as_me: failed program was:" >&5
3938 sed 's/^/| /' conftest.$ac_ext >&5
3940 ac_cv_lib_bsd_gethostbyname=no
3942 rm -f conftest.err conftest.$ac_objext \
3943 conftest$ac_exeext conftest.$ac_ext
3944 LIBS=$ac_check_lib_save_LIBS
3946 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3947 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3948 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3949 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
3955 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3956 # socket/setsockopt and other routines are undefined under SCO ODT
3957 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3958 # on later versions), says Simon Leinen: it contains gethostby*
3959 # variants that don't use the name server (or something). -lsocket
3960 # must be given before -lnsl if both are needed. We assume that
3961 # if connect needs -lnsl, so does gethostbyname.
3962 echo "$as_me:$LINENO: checking for connect" >&5
3963 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3964 if test "${ac_cv_func_connect+set}" = set; then
3965 echo $ECHO_N "(cached) $ECHO_C" >&6
3967 cat >conftest.$ac_ext <<_ACEOF
3970 cat confdefs.h >>conftest.$ac_ext
3971 cat >>conftest.$ac_ext <<_ACEOF
3972 /* end confdefs.h. */
3973 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3975 #define connect innocuous_connect
3977 /* System header to define __stub macros and hopefully few prototypes,
3978 which can conflict with char connect (); below.
3979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3980 <limits.h> exists even on freestanding compilers. */
3983 # include <limits.h>
3985 # include <assert.h>
3990 /* Override any gcc2 internal prototype to avoid an error. */
3995 /* We use char because int might match the return type of a gcc2
3996 builtin and then its argument prototype would still apply. */
3998 /* The GNU C library defines this for functions which it implements
3999 to always fail with ENOSYS. Some functions are actually named
4000 something starting with __ and the normal name is an alias. */
4001 #if defined (__stub_connect) || defined (__stub___connect)
4004 char (*f) () = connect;
4013 return f != connect;
4018 rm -f conftest.$ac_objext conftest$ac_exeext
4019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4020 (eval $ac_link) 2>conftest.er1
4022 grep -v '^ *+' conftest.er1 >conftest.err
4024 cat conftest.err >&5
4025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4026 (exit $ac_status); } &&
4027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); }; } &&
4033 { ac_try='test -s conftest$ac_exeext'
4034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 (exit $ac_status); }; }; then
4039 ac_cv_func_connect=yes
4041 echo "$as_me: failed program was:" >&5
4042 sed 's/^/| /' conftest.$ac_ext >&5
4044 ac_cv_func_connect=no
4046 rm -f conftest.err conftest.$ac_objext \
4047 conftest$ac_exeext conftest.$ac_ext
4049 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4050 echo "${ECHO_T}$ac_cv_func_connect" >&6
4052 if test $ac_cv_func_connect = no; then
4053 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4054 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4055 if test "${ac_cv_lib_socket_connect+set}" = set; then
4056 echo $ECHO_N "(cached) $ECHO_C" >&6
4058 ac_check_lib_save_LIBS=$LIBS
4059 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4060 cat >conftest.$ac_ext <<_ACEOF
4063 cat confdefs.h >>conftest.$ac_ext
4064 cat >>conftest.$ac_ext <<_ACEOF
4065 /* end confdefs.h. */
4067 /* Override any gcc2 internal prototype to avoid an error. */
4071 /* We use char because int might match the return type of a gcc2
4072 builtin and then its argument prototype would still apply. */
4082 rm -f conftest.$ac_objext conftest$ac_exeext
4083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4084 (eval $ac_link) 2>conftest.er1
4086 grep -v '^ *+' conftest.er1 >conftest.err
4088 cat conftest.err >&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); } &&
4091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096 (exit $ac_status); }; } &&
4097 { ac_try='test -s conftest$ac_exeext'
4098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4102 (exit $ac_status); }; }; then
4103 ac_cv_lib_socket_connect=yes
4105 echo "$as_me: failed program was:" >&5
4106 sed 's/^/| /' conftest.$ac_ext >&5
4108 ac_cv_lib_socket_connect=no
4110 rm -f conftest.err conftest.$ac_objext \
4111 conftest$ac_exeext conftest.$ac_ext
4112 LIBS=$ac_check_lib_save_LIBS
4114 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4115 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4116 if test $ac_cv_lib_socket_connect = yes; then
4117 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4122 # Guillermo Gomez says -lposix is necessary on A/UX.
4123 echo "$as_me:$LINENO: checking for remove" >&5
4124 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4125 if test "${ac_cv_func_remove+set}" = set; then
4126 echo $ECHO_N "(cached) $ECHO_C" >&6
4128 cat >conftest.$ac_ext <<_ACEOF
4131 cat confdefs.h >>conftest.$ac_ext
4132 cat >>conftest.$ac_ext <<_ACEOF
4133 /* end confdefs.h. */
4134 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4136 #define remove innocuous_remove
4138 /* System header to define __stub macros and hopefully few prototypes,
4139 which can conflict with char remove (); below.
4140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4141 <limits.h> exists even on freestanding compilers. */
4144 # include <limits.h>
4146 # include <assert.h>
4151 /* Override any gcc2 internal prototype to avoid an error. */
4156 /* We use char because int might match the return type of a gcc2
4157 builtin and then its argument prototype would still apply. */
4159 /* The GNU C library defines this for functions which it implements
4160 to always fail with ENOSYS. Some functions are actually named
4161 something starting with __ and the normal name is an alias. */
4162 #if defined (__stub_remove) || defined (__stub___remove)
4165 char (*f) () = remove;
4179 rm -f conftest.$ac_objext conftest$ac_exeext
4180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4181 (eval $ac_link) 2>conftest.er1
4183 grep -v '^ *+' conftest.er1 >conftest.err
4185 cat conftest.err >&5
4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187 (exit $ac_status); } &&
4188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193 (exit $ac_status); }; } &&
4194 { ac_try='test -s conftest$ac_exeext'
4195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); }; }; then
4200 ac_cv_func_remove=yes
4202 echo "$as_me: failed program was:" >&5
4203 sed 's/^/| /' conftest.$ac_ext >&5
4205 ac_cv_func_remove=no
4207 rm -f conftest.err conftest.$ac_objext \
4208 conftest$ac_exeext conftest.$ac_ext
4210 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4211 echo "${ECHO_T}$ac_cv_func_remove" >&6
4213 if test $ac_cv_func_remove = no; then
4214 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4215 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4216 if test "${ac_cv_lib_posix_remove+set}" = set; then
4217 echo $ECHO_N "(cached) $ECHO_C" >&6
4219 ac_check_lib_save_LIBS=$LIBS
4220 LIBS="-lposix $LIBS"
4221 cat >conftest.$ac_ext <<_ACEOF
4224 cat confdefs.h >>conftest.$ac_ext
4225 cat >>conftest.$ac_ext <<_ACEOF
4226 /* end confdefs.h. */
4228 /* Override any gcc2 internal prototype to avoid an error. */
4232 /* We use char because int might match the return type of a gcc2
4233 builtin and then its argument prototype would still apply. */
4243 rm -f conftest.$ac_objext conftest$ac_exeext
4244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4245 (eval $ac_link) 2>conftest.er1
4247 grep -v '^ *+' conftest.er1 >conftest.err
4249 cat conftest.err >&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); } &&
4252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257 (exit $ac_status); }; } &&
4258 { ac_try='test -s conftest$ac_exeext'
4259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263 (exit $ac_status); }; }; then
4264 ac_cv_lib_posix_remove=yes
4266 echo "$as_me: failed program was:" >&5
4267 sed 's/^/| /' conftest.$ac_ext >&5
4269 ac_cv_lib_posix_remove=no
4271 rm -f conftest.err conftest.$ac_objext \
4272 conftest$ac_exeext conftest.$ac_ext
4273 LIBS=$ac_check_lib_save_LIBS
4275 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4276 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4277 if test $ac_cv_lib_posix_remove = yes; then
4278 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4283 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4284 echo "$as_me:$LINENO: checking for shmat" >&5
4285 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4286 if test "${ac_cv_func_shmat+set}" = set; then
4287 echo $ECHO_N "(cached) $ECHO_C" >&6
4289 cat >conftest.$ac_ext <<_ACEOF
4292 cat confdefs.h >>conftest.$ac_ext
4293 cat >>conftest.$ac_ext <<_ACEOF
4294 /* end confdefs.h. */
4295 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4297 #define shmat innocuous_shmat
4299 /* System header to define __stub macros and hopefully few prototypes,
4300 which can conflict with char shmat (); below.
4301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4302 <limits.h> exists even on freestanding compilers. */
4305 # include <limits.h>
4307 # include <assert.h>
4312 /* Override any gcc2 internal prototype to avoid an error. */
4317 /* We use char because int might match the return type of a gcc2
4318 builtin and then its argument prototype would still apply. */
4320 /* The GNU C library defines this for functions which it implements
4321 to always fail with ENOSYS. Some functions are actually named
4322 something starting with __ and the normal name is an alias. */
4323 #if defined (__stub_shmat) || defined (__stub___shmat)
4326 char (*f) () = shmat;
4340 rm -f conftest.$ac_objext conftest$ac_exeext
4341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4342 (eval $ac_link) 2>conftest.er1
4344 grep -v '^ *+' conftest.er1 >conftest.err
4346 cat conftest.err >&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); } &&
4349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4354 (exit $ac_status); }; } &&
4355 { ac_try='test -s conftest$ac_exeext'
4356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4360 (exit $ac_status); }; }; then
4361 ac_cv_func_shmat=yes
4363 echo "$as_me: failed program was:" >&5
4364 sed 's/^/| /' conftest.$ac_ext >&5
4368 rm -f conftest.err conftest.$ac_objext \
4369 conftest$ac_exeext conftest.$ac_ext
4371 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4372 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4374 if test $ac_cv_func_shmat = no; then
4375 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4376 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4377 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4378 echo $ECHO_N "(cached) $ECHO_C" >&6
4380 ac_check_lib_save_LIBS=$LIBS
4382 cat >conftest.$ac_ext <<_ACEOF
4385 cat confdefs.h >>conftest.$ac_ext
4386 cat >>conftest.$ac_ext <<_ACEOF
4387 /* end confdefs.h. */
4389 /* Override any gcc2 internal prototype to avoid an error. */
4393 /* We use char because int might match the return type of a gcc2
4394 builtin and then its argument prototype would still apply. */
4404 rm -f conftest.$ac_objext conftest$ac_exeext
4405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4406 (eval $ac_link) 2>conftest.er1
4408 grep -v '^ *+' conftest.er1 >conftest.err
4410 cat conftest.err >&5
4411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4412 (exit $ac_status); } &&
4413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4418 (exit $ac_status); }; } &&
4419 { ac_try='test -s conftest$ac_exeext'
4420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 (exit $ac_status); }; }; then
4425 ac_cv_lib_ipc_shmat=yes
4427 echo "$as_me: failed program was:" >&5
4428 sed 's/^/| /' conftest.$ac_ext >&5
4430 ac_cv_lib_ipc_shmat=no
4432 rm -f conftest.err conftest.$ac_objext \
4433 conftest$ac_exeext conftest.$ac_ext
4434 LIBS=$ac_check_lib_save_LIBS
4436 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4437 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4438 if test $ac_cv_lib_ipc_shmat = yes; then
4439 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4445 # Check for libraries that X11R6 Xt/Xaw programs need.
4446 ac_save_LDFLAGS=$LDFLAGS
4447 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4448 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4449 # check for ICE first), but we must link in the order -lSM -lICE or
4450 # we get undefined symbols. So assume we have SM if we have ICE.
4451 # These have to be linked with before -lX11, unlike the other
4452 # libraries we check for below, so use a different variable.
4453 # John Interrante, Karl Berry
4454 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4455 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4456 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4457 echo $ECHO_N "(cached) $ECHO_C" >&6
4459 ac_check_lib_save_LIBS=$LIBS
4460 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4461 cat >conftest.$ac_ext <<_ACEOF
4464 cat confdefs.h >>conftest.$ac_ext
4465 cat >>conftest.$ac_ext <<_ACEOF
4466 /* end confdefs.h. */
4468 /* Override any gcc2 internal prototype to avoid an error. */
4472 /* We use char because int might match the return type of a gcc2
4473 builtin and then its argument prototype would still apply. */
4474 char IceConnectionNumber ();
4478 IceConnectionNumber ();
4483 rm -f conftest.$ac_objext conftest$ac_exeext
4484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4485 (eval $ac_link) 2>conftest.er1
4487 grep -v '^ *+' conftest.er1 >conftest.err
4489 cat conftest.err >&5
4490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4491 (exit $ac_status); } &&
4492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497 (exit $ac_status); }; } &&
4498 { ac_try='test -s conftest$ac_exeext'
4499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503 (exit $ac_status); }; }; then
4504 ac_cv_lib_ICE_IceConnectionNumber=yes
4506 echo "$as_me: failed program was:" >&5
4507 sed 's/^/| /' conftest.$ac_ext >&5
4509 ac_cv_lib_ICE_IceConnectionNumber=no
4511 rm -f conftest.err conftest.$ac_objext \
4512 conftest$ac_exeext conftest.$ac_ext
4513 LIBS=$ac_check_lib_save_LIBS
4515 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4516 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4517 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4518 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4521 LDFLAGS=$ac_save_LDFLAGS
4525 for ac_prog in flex lex
4527 # Extract the first word of "$ac_prog", so it can be a program name with args.
4528 set dummy $ac_prog; ac_word=$2
4529 echo "$as_me:$LINENO: checking for $ac_word" >&5
4530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4531 if test "${ac_cv_prog_LEX+set}" = set; then
4532 echo $ECHO_N "(cached) $ECHO_C" >&6
4534 if test -n "$LEX"; then
4535 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4541 test -z "$as_dir" && as_dir=.
4542 for ac_exec_ext in '' $ac_executable_extensions; do
4543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4544 ac_cv_prog_LEX="$ac_prog"
4545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4554 if test -n "$LEX"; then
4555 echo "$as_me:$LINENO: result: $LEX" >&5
4556 echo "${ECHO_T}$LEX" >&6
4558 echo "$as_me:$LINENO: result: no" >&5
4559 echo "${ECHO_T}no" >&6
4562 test -n "$LEX" && break
4564 test -n "$LEX" || LEX=":"
4566 if test -z "$LEXLIB"
4568 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4569 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4570 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4571 echo $ECHO_N "(cached) $ECHO_C" >&6
4573 ac_check_lib_save_LIBS=$LIBS
4575 cat >conftest.$ac_ext <<_ACEOF
4578 cat confdefs.h >>conftest.$ac_ext
4579 cat >>conftest.$ac_ext <<_ACEOF
4580 /* end confdefs.h. */
4582 /* Override any gcc2 internal prototype to avoid an error. */
4586 /* We use char because int might match the return type of a gcc2
4587 builtin and then its argument prototype would still apply. */
4597 rm -f conftest.$ac_objext conftest$ac_exeext
4598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4599 (eval $ac_link) 2>conftest.er1
4601 grep -v '^ *+' conftest.er1 >conftest.err
4603 cat conftest.err >&5
4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); } &&
4606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); }; } &&
4612 { ac_try='test -s conftest$ac_exeext'
4613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617 (exit $ac_status); }; }; then
4618 ac_cv_lib_fl_yywrap=yes
4620 echo "$as_me: failed program was:" >&5
4621 sed 's/^/| /' conftest.$ac_ext >&5
4623 ac_cv_lib_fl_yywrap=no
4625 rm -f conftest.err conftest.$ac_objext \
4626 conftest$ac_exeext conftest.$ac_ext
4627 LIBS=$ac_check_lib_save_LIBS
4629 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4630 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4631 if test $ac_cv_lib_fl_yywrap = yes; then
4634 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4635 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4636 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4637 echo $ECHO_N "(cached) $ECHO_C" >&6
4639 ac_check_lib_save_LIBS=$LIBS
4641 cat >conftest.$ac_ext <<_ACEOF
4644 cat confdefs.h >>conftest.$ac_ext
4645 cat >>conftest.$ac_ext <<_ACEOF
4646 /* end confdefs.h. */
4648 /* Override any gcc2 internal prototype to avoid an error. */
4652 /* We use char because int might match the return type of a gcc2
4653 builtin and then its argument prototype would still apply. */
4663 rm -f conftest.$ac_objext conftest$ac_exeext
4664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4665 (eval $ac_link) 2>conftest.er1
4667 grep -v '^ *+' conftest.er1 >conftest.err
4669 cat conftest.err >&5
4670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4671 (exit $ac_status); } &&
4672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); }; } &&
4678 { ac_try='test -s conftest$ac_exeext'
4679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); }; }; then
4684 ac_cv_lib_l_yywrap=yes
4686 echo "$as_me: failed program was:" >&5
4687 sed 's/^/| /' conftest.$ac_ext >&5
4689 ac_cv_lib_l_yywrap=no
4691 rm -f conftest.err conftest.$ac_objext \
4692 conftest$ac_exeext conftest.$ac_ext
4693 LIBS=$ac_check_lib_save_LIBS
4695 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4696 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4697 if test $ac_cv_lib_l_yywrap = yes; then
4705 if test "x$LEX" != "x:"; then
4706 echo "$as_me:$LINENO: checking lex output file root" >&5
4707 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4708 if test "${ac_cv_prog_lex_root+set}" = set; then
4709 echo $ECHO_N "(cached) $ECHO_C" >&6
4711 # The minimal lex program is just a single line: %%. But some broken lexes
4712 # (Solaris, I think it was) want two %% lines, so accommodate them.
4713 cat >conftest.l <<_ACEOF
4717 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4718 (eval $LEX conftest.l) 2>&5
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); }
4722 if test -f lex.yy.c; then
4723 ac_cv_prog_lex_root=lex.yy
4724 elif test -f lexyy.c; then
4725 ac_cv_prog_lex_root=lexyy
4727 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4728 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4729 { (exit 1); exit 1; }; }
4732 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4733 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4735 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4737 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4738 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4739 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4740 echo $ECHO_N "(cached) $ECHO_C" >&6
4742 # POSIX says lex can declare yytext either as a pointer or an array; the
4743 # default is implementation-dependent. Figure out which it is, since
4744 # not all implementations provide the %pointer and %array declarations.
4745 ac_cv_prog_lex_yytext_pointer=no
4746 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4748 LIBS="$LIBS $LEXLIB"
4749 cat >conftest.$ac_ext <<_ACEOF
4750 `cat $LEX_OUTPUT_ROOT.c`
4752 rm -f conftest.$ac_objext conftest$ac_exeext
4753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4754 (eval $ac_link) 2>conftest.er1
4756 grep -v '^ *+' conftest.er1 >conftest.err
4758 cat conftest.err >&5
4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); } &&
4761 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); }; } &&
4767 { ac_try='test -s conftest$ac_exeext'
4768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); }; }; then
4773 ac_cv_prog_lex_yytext_pointer=yes
4775 echo "$as_me: failed program was:" >&5
4776 sed 's/^/| /' conftest.$ac_ext >&5
4779 rm -f conftest.err conftest.$ac_objext \
4780 conftest$ac_exeext conftest.$ac_ext
4782 rm -f "${LEX_OUTPUT_ROOT}.c"
4785 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4786 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4787 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4789 cat >>confdefs.h <<\_ACEOF
4790 #define YYTEXT_POINTER 1
4797 for ac_prog in $LEX flex lex
4799 # Extract the first word of "$ac_prog", so it can be a program name with args.
4800 set dummy $ac_prog; ac_word=$2
4801 echo "$as_me:$LINENO: checking for $ac_word" >&5
4802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4803 if test "${ac_cv_prog_XLEX+set}" = set; then
4804 echo $ECHO_N "(cached) $ECHO_C" >&6
4806 if test -n "$XLEX"; then
4807 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
4809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4813 test -z "$as_dir" && as_dir=.
4814 for ac_exec_ext in '' $ac_executable_extensions; do
4815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4816 ac_cv_prog_XLEX="$ac_prog"
4817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4825 XLEX=$ac_cv_prog_XLEX
4826 if test -n "$XLEX"; then
4827 echo "$as_me:$LINENO: result: $XLEX" >&5
4828 echo "${ECHO_T}$XLEX" >&6
4830 echo "$as_me:$LINENO: result: no" >&5
4831 echo "${ECHO_T}no" >&6
4834 test -n "$XLEX" && break
4836 test -n "$XLEX" || XLEX="none"
4838 if test "$XLEX" = "none"
4840 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4841 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4842 { (exit 1); exit 1; }; }
4845 for ac_prog in bison
4847 # Extract the first word of "$ac_prog", so it can be a program name with args.
4848 set dummy $ac_prog; ac_word=$2
4849 echo "$as_me:$LINENO: checking for $ac_word" >&5
4850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4851 if test "${ac_cv_prog_BISON+set}" = set; then
4852 echo $ECHO_N "(cached) $ECHO_C" >&6
4854 if test -n "$BISON"; then
4855 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4861 test -z "$as_dir" && as_dir=.
4862 for ac_exec_ext in '' $ac_executable_extensions; do
4863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4864 ac_cv_prog_BISON="$ac_prog"
4865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4873 BISON=$ac_cv_prog_BISON
4874 if test -n "$BISON"; then
4875 echo "$as_me:$LINENO: result: $BISON" >&5
4876 echo "${ECHO_T}$BISON" >&6
4878 echo "$as_me:$LINENO: result: no" >&5
4879 echo "${ECHO_T}no" >&6
4882 test -n "$BISON" && break
4884 test -n "$BISON" || BISON="none"
4886 if test "$BISON" = "none"
4888 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
4889 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
4890 { (exit 1); exit 1; }; }
4893 if test -n "$ac_tool_prefix"; then
4894 for ac_prog in gas as
4896 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4897 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4898 echo "$as_me:$LINENO: checking for $ac_word" >&5
4899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4900 if test "${ac_cv_prog_AS+set}" = set; then
4901 echo $ECHO_N "(cached) $ECHO_C" >&6
4903 if test -n "$AS"; then
4904 ac_cv_prog_AS="$AS" # Let the user override the test.
4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4910 test -z "$as_dir" && as_dir=.
4911 for ac_exec_ext in '' $ac_executable_extensions; do
4912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4913 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
4914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4923 if test -n "$AS"; then
4924 echo "$as_me:$LINENO: result: $AS" >&5
4925 echo "${ECHO_T}$AS" >&6
4927 echo "$as_me:$LINENO: result: no" >&5
4928 echo "${ECHO_T}no" >&6
4931 test -n "$AS" && break
4934 if test -z "$AS"; then
4936 for ac_prog in gas as
4938 # Extract the first word of "$ac_prog", so it can be a program name with args.
4939 set dummy $ac_prog; ac_word=$2
4940 echo "$as_me:$LINENO: checking for $ac_word" >&5
4941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4942 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4943 echo $ECHO_N "(cached) $ECHO_C" >&6
4945 if test -n "$ac_ct_AS"; then
4946 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4952 test -z "$as_dir" && as_dir=.
4953 for ac_exec_ext in '' $ac_executable_extensions; do
4954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4955 ac_cv_prog_ac_ct_AS="$ac_prog"
4956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4964 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4965 if test -n "$ac_ct_AS"; then
4966 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4967 echo "${ECHO_T}$ac_ct_AS" >&6
4969 echo "$as_me:$LINENO: result: no" >&5
4970 echo "${ECHO_T}no" >&6
4973 test -n "$ac_ct_AS" && break
4975 test -n "$ac_ct_AS" || ac_ct_AS="as"
4980 if test -n "$ac_tool_prefix"; then
4981 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4982 set dummy ${ac_tool_prefix}ld; ac_word=$2
4983 echo "$as_me:$LINENO: checking for $ac_word" >&5
4984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4985 if test "${ac_cv_prog_LD+set}" = set; then
4986 echo $ECHO_N "(cached) $ECHO_C" >&6
4988 if test -n "$LD"; then
4989 ac_cv_prog_LD="$LD" # Let the user override the test.
4991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4995 test -z "$as_dir" && as_dir=.
4996 for ac_exec_ext in '' $ac_executable_extensions; do
4997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4998 ac_cv_prog_LD="${ac_tool_prefix}ld"
4999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5008 if test -n "$LD"; then
5009 echo "$as_me:$LINENO: result: $LD" >&5
5010 echo "${ECHO_T}$LD" >&6
5012 echo "$as_me:$LINENO: result: no" >&5
5013 echo "${ECHO_T}no" >&6
5017 if test -z "$ac_cv_prog_LD"; then
5019 # Extract the first word of "ld", so it can be a program name with args.
5020 set dummy ld; ac_word=$2
5021 echo "$as_me:$LINENO: checking for $ac_word" >&5
5022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5023 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5024 echo $ECHO_N "(cached) $ECHO_C" >&6
5026 if test -n "$ac_ct_LD"; then
5027 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 test -z "$as_dir" && as_dir=.
5034 for ac_exec_ext in '' $ac_executable_extensions; do
5035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5036 ac_cv_prog_ac_ct_LD="ld"
5037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5043 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
5046 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5047 if test -n "$ac_ct_LD"; then
5048 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5049 echo "${ECHO_T}$ac_ct_LD" >&6
5051 echo "$as_me:$LINENO: result: no" >&5
5052 echo "${ECHO_T}no" >&6
5060 if test -n "$ac_tool_prefix"; then
5061 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5062 set dummy ${ac_tool_prefix}ar; ac_word=$2
5063 echo "$as_me:$LINENO: checking for $ac_word" >&5
5064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5065 if test "${ac_cv_prog_AR+set}" = set; then
5066 echo $ECHO_N "(cached) $ECHO_C" >&6
5068 if test -n "$AR"; then
5069 ac_cv_prog_AR="$AR" # Let the user override the test.
5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5075 test -z "$as_dir" && as_dir=.
5076 for ac_exec_ext in '' $ac_executable_extensions; do
5077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5078 ac_cv_prog_AR="${ac_tool_prefix}ar"
5079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5088 if test -n "$AR"; then
5089 echo "$as_me:$LINENO: result: $AR" >&5
5090 echo "${ECHO_T}$AR" >&6
5092 echo "$as_me:$LINENO: result: no" >&5
5093 echo "${ECHO_T}no" >&6
5097 if test -z "$ac_cv_prog_AR"; then
5099 # Extract the first word of "ar", so it can be a program name with args.
5100 set dummy ar; ac_word=$2
5101 echo "$as_me:$LINENO: checking for $ac_word" >&5
5102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5103 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5104 echo $ECHO_N "(cached) $ECHO_C" >&6
5106 if test -n "$ac_ct_AR"; then
5107 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5113 test -z "$as_dir" && as_dir=.
5114 for ac_exec_ext in '' $ac_executable_extensions; do
5115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5116 ac_cv_prog_ac_ct_AR="ar"
5117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5123 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
5126 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5127 if test -n "$ac_ct_AR"; then
5128 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5129 echo "${ECHO_T}$ac_ct_AR" >&6
5131 echo "$as_me:$LINENO: result: no" >&5
5132 echo "${ECHO_T}no" >&6
5140 if test -n "$ac_tool_prefix"; then
5141 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5142 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5143 echo "$as_me:$LINENO: checking for $ac_word" >&5
5144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5145 if test "${ac_cv_prog_RANLIB+set}" = set; then
5146 echo $ECHO_N "(cached) $ECHO_C" >&6
5148 if test -n "$RANLIB"; then
5149 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 test -z "$as_dir" && as_dir=.
5156 for ac_exec_ext in '' $ac_executable_extensions; do
5157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5158 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5167 RANLIB=$ac_cv_prog_RANLIB
5168 if test -n "$RANLIB"; then
5169 echo "$as_me:$LINENO: result: $RANLIB" >&5
5170 echo "${ECHO_T}$RANLIB" >&6
5172 echo "$as_me:$LINENO: result: no" >&5
5173 echo "${ECHO_T}no" >&6
5177 if test -z "$ac_cv_prog_RANLIB"; then
5178 ac_ct_RANLIB=$RANLIB
5179 # Extract the first word of "ranlib", so it can be a program name with args.
5180 set dummy ranlib; ac_word=$2
5181 echo "$as_me:$LINENO: checking for $ac_word" >&5
5182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5183 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5184 echo $ECHO_N "(cached) $ECHO_C" >&6
5186 if test -n "$ac_ct_RANLIB"; then
5187 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5193 test -z "$as_dir" && as_dir=.
5194 for ac_exec_ext in '' $ac_executable_extensions; do
5195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5196 ac_cv_prog_ac_ct_RANLIB="ranlib"
5197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5203 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5206 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5207 if test -n "$ac_ct_RANLIB"; then
5208 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5209 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5211 echo "$as_me:$LINENO: result: no" >&5
5212 echo "${ECHO_T}no" >&6
5215 RANLIB=$ac_ct_RANLIB
5217 RANLIB="$ac_cv_prog_RANLIB"
5220 if test -n "$ac_tool_prefix"; then
5221 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5222 set dummy ${ac_tool_prefix}strip; ac_word=$2
5223 echo "$as_me:$LINENO: checking for $ac_word" >&5
5224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5225 if test "${ac_cv_prog_STRIP+set}" = set; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5228 if test -n "$STRIP"; then
5229 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 test -z "$as_dir" && as_dir=.
5236 for ac_exec_ext in '' $ac_executable_extensions; do
5237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5238 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5247 STRIP=$ac_cv_prog_STRIP
5248 if test -n "$STRIP"; then
5249 echo "$as_me:$LINENO: result: $STRIP" >&5
5250 echo "${ECHO_T}$STRIP" >&6
5252 echo "$as_me:$LINENO: result: no" >&5
5253 echo "${ECHO_T}no" >&6
5257 if test -z "$ac_cv_prog_STRIP"; then
5259 # Extract the first word of "strip", so it can be a program name with args.
5260 set dummy strip; ac_word=$2
5261 echo "$as_me:$LINENO: checking for $ac_word" >&5
5262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5263 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5264 echo $ECHO_N "(cached) $ECHO_C" >&6
5266 if test -n "$ac_ct_STRIP"; then
5267 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5273 test -z "$as_dir" && as_dir=.
5274 for ac_exec_ext in '' $ac_executable_extensions; do
5275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5276 ac_cv_prog_ac_ct_STRIP="strip"
5277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5283 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="strip"
5286 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5287 if test -n "$ac_ct_STRIP"; then
5288 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5289 echo "${ECHO_T}$ac_ct_STRIP" >&6
5291 echo "$as_me:$LINENO: result: no" >&5
5292 echo "${ECHO_T}no" >&6
5297 STRIP="$ac_cv_prog_STRIP"
5300 if test -n "$ac_tool_prefix"; then
5301 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5302 set dummy ${ac_tool_prefix}windres; ac_word=$2
5303 echo "$as_me:$LINENO: checking for $ac_word" >&5
5304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5305 if test "${ac_cv_prog_WINDRES+set}" = set; then
5306 echo $ECHO_N "(cached) $ECHO_C" >&6
5308 if test -n "$WINDRES"; then
5309 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5315 test -z "$as_dir" && as_dir=.
5316 for ac_exec_ext in '' $ac_executable_extensions; do
5317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5318 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5327 WINDRES=$ac_cv_prog_WINDRES
5328 if test -n "$WINDRES"; then
5329 echo "$as_me:$LINENO: result: $WINDRES" >&5
5330 echo "${ECHO_T}$WINDRES" >&6
5332 echo "$as_me:$LINENO: result: no" >&5
5333 echo "${ECHO_T}no" >&6
5337 if test -z "$ac_cv_prog_WINDRES"; then
5338 ac_ct_WINDRES=$WINDRES
5339 # Extract the first word of "windres", so it can be a program name with args.
5340 set dummy windres; ac_word=$2
5341 echo "$as_me:$LINENO: checking for $ac_word" >&5
5342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5343 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5344 echo $ECHO_N "(cached) $ECHO_C" >&6
5346 if test -n "$ac_ct_WINDRES"; then
5347 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5353 test -z "$as_dir" && as_dir=.
5354 for ac_exec_ext in '' $ac_executable_extensions; do
5355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5356 ac_cv_prog_ac_ct_WINDRES="windres"
5357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5363 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES="false"
5366 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5367 if test -n "$ac_ct_WINDRES"; then
5368 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5369 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5371 echo "$as_me:$LINENO: result: no" >&5
5372 echo "${ECHO_T}no" >&6
5375 WINDRES=$ac_ct_WINDRES
5377 WINDRES="$ac_cv_prog_WINDRES"
5380 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5381 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5383 if test "$LN_S" = "ln -s"; then
5384 echo "$as_me:$LINENO: result: yes" >&5
5385 echo "${ECHO_T}yes" >&6
5387 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5388 echo "${ECHO_T}no, using $LN_S" >&6
5391 echo "$as_me:$LINENO: checking whether ln works" >&5
5392 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
5393 rm -f conf$$ conf$$.file
5395 if ln conf$$.file conf$$ 2>/dev/null; then
5398 echo "$as_me:$LINENO: result: yes" >&5
5399 echo "${ECHO_T}yes" >&6
5403 echo "$as_me:$LINENO: result: no, using $LN" >&5
5404 echo "${ECHO_T}no, using $LN" >&6
5406 rm -f conf$$ conf$$.file
5407 echo "$as_me:$LINENO: checking for egrep" >&5
5408 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5409 if test "${ac_cv_prog_egrep+set}" = set; then
5410 echo $ECHO_N "(cached) $ECHO_C" >&6
5412 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5413 then ac_cv_prog_egrep='grep -E'
5414 else ac_cv_prog_egrep='egrep'
5417 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5418 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5419 EGREP=$ac_cv_prog_egrep
5422 # Extract the first word of "ldconfig", so it can be a program name with args.
5423 set dummy ldconfig; ac_word=$2
5424 echo "$as_me:$LINENO: checking for $ac_word" >&5
5425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5426 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5427 echo $ECHO_N "(cached) $ECHO_C" >&6
5431 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5435 for as_dir in /sbin /usr/sbin $PATH
5438 test -z "$as_dir" && as_dir=.
5439 for ac_exec_ext in '' $ac_executable_extensions; do
5440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5441 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5448 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5452 LDCONFIG=$ac_cv_path_LDCONFIG
5454 if test -n "$LDCONFIG"; then
5455 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5456 echo "${ECHO_T}$LDCONFIG" >&6
5458 echo "$as_me:$LINENO: result: no" >&5
5459 echo "${ECHO_T}no" >&6
5462 # Find a good install program. We prefer a C program (faster),
5463 # so one script is as good as another. But avoid the broken or
5464 # incompatible versions:
5465 # SysV /etc/install, /usr/sbin/install
5466 # SunOS /usr/etc/install
5467 # IRIX /sbin/install
5469 # AmigaOS /C/install, which installs bootblocks on floppy discs
5470 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5471 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5472 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5473 # OS/2's system install, which has a completely different semantic
5474 # ./install, which can be erroneously created by make from ./install.sh.
5475 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5476 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5477 if test -z "$INSTALL"; then
5478 if test "${ac_cv_path_install+set}" = set; then
5479 echo $ECHO_N "(cached) $ECHO_C" >&6
5481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 test -z "$as_dir" && as_dir=.
5486 # Account for people who put trailing slashes in PATH elements.
5488 ./ | .// | /cC/* | \
5489 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5490 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5493 # OSF1 and SCO ODT 3.0 have their own names for install.
5494 # Don't use installbsd from OSF since it installs stuff as root
5496 for ac_prog in ginstall scoinst install; do
5497 for ac_exec_ext in '' $ac_executable_extensions; do
5498 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5499 if test $ac_prog = install &&
5500 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5501 # AIX install. It has an incompatible calling convention.
5503 elif test $ac_prog = install &&
5504 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5505 # program-specific install script used by HP pwplus--don't use.
5508 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5520 if test "${ac_cv_path_install+set}" = set; then
5521 INSTALL=$ac_cv_path_install
5523 # As a last resort, use the slow shell script. We don't cache a
5524 # path for INSTALL within a source directory, because that will
5525 # break other packages using the cache if that directory is
5526 # removed, or if the path is relative.
5527 INSTALL=$ac_install_sh
5530 echo "$as_me:$LINENO: result: $INSTALL" >&5
5531 echo "${ECHO_T}$INSTALL" >&6
5533 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5534 # It thinks the first close brace ends the variable substitution.
5535 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5537 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5539 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5542 [\\/$]* | ?:[\\/]* ) ;;
5543 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5546 for ac_prog in lclint lint
5548 # Extract the first word of "$ac_prog", so it can be a program name with args.
5549 set dummy $ac_prog; ac_word=$2
5550 echo "$as_me:$LINENO: checking for $ac_word" >&5
5551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5552 if test "${ac_cv_prog_LINT+set}" = set; then
5553 echo $ECHO_N "(cached) $ECHO_C" >&6
5555 if test -n "$LINT"; then
5556 ac_cv_prog_LINT="$LINT" # Let the user override the test.
5558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562 test -z "$as_dir" && as_dir=.
5563 for ac_exec_ext in '' $ac_executable_extensions; do
5564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5565 ac_cv_prog_LINT="$ac_prog"
5566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5574 LINT=$ac_cv_prog_LINT
5575 if test -n "$LINT"; then
5576 echo "$as_me:$LINENO: result: $LINT" >&5
5577 echo "${ECHO_T}$LINT" >&6
5579 echo "$as_me:$LINENO: result: no" >&5
5580 echo "${ECHO_T}no" >&6
5583 test -n "$LINT" && break
5586 if test "$LINT" = "lint"
5588 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5593 for ac_prog in fontforge
5595 # Extract the first word of "$ac_prog", so it can be a program name with args.
5596 set dummy $ac_prog; ac_word=$2
5597 echo "$as_me:$LINENO: checking for $ac_word" >&5
5598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5599 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
5600 echo $ECHO_N "(cached) $ECHO_C" >&6
5602 if test -n "$FONTFORGE"; then
5603 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5609 test -z "$as_dir" && as_dir=.
5610 for ac_exec_ext in '' $ac_executable_extensions; do
5611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5612 ac_cv_prog_FONTFORGE="$ac_prog"
5613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5621 FONTFORGE=$ac_cv_prog_FONTFORGE
5622 if test -n "$FONTFORGE"; then
5623 echo "$as_me:$LINENO: result: $FONTFORGE" >&5
5624 echo "${ECHO_T}$FONTFORGE" >&6
5626 echo "$as_me:$LINENO: result: no" >&5
5627 echo "${ECHO_T}no" >&6
5630 test -n "$FONTFORGE" && break
5632 test -n "$FONTFORGE" || FONTFORGE="false"
5637 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5638 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5639 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5640 echo $ECHO_N "(cached) $ECHO_C" >&6
5642 ac_check_lib_save_LIBS=$LIBS
5644 cat >conftest.$ac_ext <<_ACEOF
5647 cat confdefs.h >>conftest.$ac_ext
5648 cat >>conftest.$ac_ext <<_ACEOF
5649 /* end confdefs.h. */
5651 /* Override any gcc2 internal prototype to avoid an error. */
5655 /* We use char because int might match the return type of a gcc2
5656 builtin and then its argument prototype would still apply. */
5657 char i386_set_ldt ();
5666 rm -f conftest.$ac_objext conftest$ac_exeext
5667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5668 (eval $ac_link) 2>conftest.er1
5670 grep -v '^ *+' conftest.er1 >conftest.err
5672 cat conftest.err >&5
5673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5674 (exit $ac_status); } &&
5675 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5680 (exit $ac_status); }; } &&
5681 { ac_try='test -s conftest$ac_exeext'
5682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5686 (exit $ac_status); }; }; then
5687 ac_cv_lib_i386_i386_set_ldt=yes
5689 echo "$as_me: failed program was:" >&5
5690 sed 's/^/| /' conftest.$ac_ext >&5
5692 ac_cv_lib_i386_i386_set_ldt=no
5694 rm -f conftest.err conftest.$ac_objext \
5695 conftest$ac_exeext conftest.$ac_ext
5696 LIBS=$ac_check_lib_save_LIBS
5698 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5699 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5700 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5701 cat >>confdefs.h <<_ACEOF
5702 #define HAVE_LIBI386 1
5710 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5711 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5712 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5713 echo $ECHO_N "(cached) $ECHO_C" >&6
5715 ac_check_lib_save_LIBS=$LIBS
5716 LIBS="-lossaudio $LIBS"
5717 cat >conftest.$ac_ext <<_ACEOF
5720 cat confdefs.h >>conftest.$ac_ext
5721 cat >>conftest.$ac_ext <<_ACEOF
5722 /* end confdefs.h. */
5724 /* Override any gcc2 internal prototype to avoid an error. */
5728 /* We use char because int might match the return type of a gcc2
5729 builtin and then its argument prototype would still apply. */
5739 rm -f conftest.$ac_objext conftest$ac_exeext
5740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5741 (eval $ac_link) 2>conftest.er1
5743 grep -v '^ *+' conftest.er1 >conftest.err
5745 cat conftest.err >&5
5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); } &&
5748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5753 (exit $ac_status); }; } &&
5754 { ac_try='test -s conftest$ac_exeext'
5755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759 (exit $ac_status); }; }; then
5760 ac_cv_lib_ossaudio__oss_ioctl=yes
5762 echo "$as_me: failed program was:" >&5
5763 sed 's/^/| /' conftest.$ac_ext >&5
5765 ac_cv_lib_ossaudio__oss_ioctl=no
5767 rm -f conftest.err conftest.$ac_objext \
5768 conftest$ac_exeext conftest.$ac_ext
5769 LIBS=$ac_check_lib_save_LIBS
5771 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5772 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5773 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5774 cat >>confdefs.h <<_ACEOF
5775 #define HAVE_LIBOSSAUDIO 1
5778 LIBS="-lossaudio $LIBS"
5783 for ac_func in iswalnum
5785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5786 echo "$as_me:$LINENO: checking for $ac_func" >&5
5787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5788 if eval "test \"\${$as_ac_var+set}\" = set"; then
5789 echo $ECHO_N "(cached) $ECHO_C" >&6
5791 cat >conftest.$ac_ext <<_ACEOF
5794 cat confdefs.h >>conftest.$ac_ext
5795 cat >>conftest.$ac_ext <<_ACEOF
5796 /* end confdefs.h. */
5797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5799 #define $ac_func innocuous_$ac_func
5801 /* System header to define __stub macros and hopefully few prototypes,
5802 which can conflict with char $ac_func (); below.
5803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5804 <limits.h> exists even on freestanding compilers. */
5807 # include <limits.h>
5809 # include <assert.h>
5814 /* Override any gcc2 internal prototype to avoid an error. */
5819 /* We use char because int might match the return type of a gcc2
5820 builtin and then its argument prototype would still apply. */
5822 /* The GNU C library defines this for functions which it implements
5823 to always fail with ENOSYS. Some functions are actually named
5824 something starting with __ and the normal name is an alias. */
5825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5828 char (*f) () = $ac_func;
5837 return f != $ac_func;
5842 rm -f conftest.$ac_objext conftest$ac_exeext
5843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5844 (eval $ac_link) 2>conftest.er1
5846 grep -v '^ *+' conftest.er1 >conftest.err
5848 cat conftest.err >&5
5849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850 (exit $ac_status); } &&
5851 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856 (exit $ac_status); }; } &&
5857 { ac_try='test -s conftest$ac_exeext'
5858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5862 (exit $ac_status); }; }; then
5863 eval "$as_ac_var=yes"
5865 echo "$as_me: failed program was:" >&5
5866 sed 's/^/| /' conftest.$ac_ext >&5
5868 eval "$as_ac_var=no"
5870 rm -f conftest.err conftest.$ac_objext \
5871 conftest$ac_exeext conftest.$ac_ext
5873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5875 if test `eval echo '${'$as_ac_var'}'` = yes; then
5876 cat >>confdefs.h <<_ACEOF
5877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5882 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
5883 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
5884 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
5885 echo $ECHO_N "(cached) $ECHO_C" >&6
5887 ac_check_lib_save_LIBS=$LIBS
5889 cat >conftest.$ac_ext <<_ACEOF
5892 cat confdefs.h >>conftest.$ac_ext
5893 cat >>conftest.$ac_ext <<_ACEOF
5894 /* end confdefs.h. */
5896 /* Override any gcc2 internal prototype to avoid an error. */
5900 /* We use char because int might match the return type of a gcc2
5901 builtin and then its argument prototype would still apply. */
5911 rm -f conftest.$ac_objext conftest$ac_exeext
5912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5913 (eval $ac_link) 2>conftest.er1
5915 grep -v '^ *+' conftest.er1 >conftest.err
5917 cat conftest.err >&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); } &&
5920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5925 (exit $ac_status); }; } &&
5926 { ac_try='test -s conftest$ac_exeext'
5927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 (exit $ac_status); }; }; then
5932 ac_cv_lib_w_iswalnum=yes
5934 echo "$as_me: failed program was:" >&5
5935 sed 's/^/| /' conftest.$ac_ext >&5
5937 ac_cv_lib_w_iswalnum=no
5939 rm -f conftest.err conftest.$ac_objext \
5940 conftest$ac_exeext conftest.$ac_ext
5941 LIBS=$ac_check_lib_save_LIBS
5943 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
5944 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
5945 if test $ac_cv_lib_w_iswalnum = yes; then
5946 cat >>confdefs.h <<_ACEOF
5958 for ac_func in gethostbyname
5960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5961 echo "$as_me:$LINENO: checking for $ac_func" >&5
5962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5963 if eval "test \"\${$as_ac_var+set}\" = set"; then
5964 echo $ECHO_N "(cached) $ECHO_C" >&6
5966 cat >conftest.$ac_ext <<_ACEOF
5969 cat confdefs.h >>conftest.$ac_ext
5970 cat >>conftest.$ac_ext <<_ACEOF
5971 /* end confdefs.h. */
5972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5974 #define $ac_func innocuous_$ac_func
5976 /* System header to define __stub macros and hopefully few prototypes,
5977 which can conflict with char $ac_func (); below.
5978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5979 <limits.h> exists even on freestanding compilers. */
5982 # include <limits.h>
5984 # include <assert.h>
5989 /* Override any gcc2 internal prototype to avoid an error. */
5994 /* We use char because int might match the return type of a gcc2
5995 builtin and then its argument prototype would still apply. */
5997 /* The GNU C library defines this for functions which it implements
5998 to always fail with ENOSYS. Some functions are actually named
5999 something starting with __ and the normal name is an alias. */
6000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6003 char (*f) () = $ac_func;
6012 return f != $ac_func;
6017 rm -f conftest.$ac_objext conftest$ac_exeext
6018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6019 (eval $ac_link) 2>conftest.er1
6021 grep -v '^ *+' conftest.er1 >conftest.err
6023 cat conftest.err >&5
6024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); } &&
6026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); }; } &&
6032 { ac_try='test -s conftest$ac_exeext'
6033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6037 (exit $ac_status); }; }; then
6038 eval "$as_ac_var=yes"
6040 echo "$as_me: failed program was:" >&5
6041 sed 's/^/| /' conftest.$ac_ext >&5
6043 eval "$as_ac_var=no"
6045 rm -f conftest.err conftest.$ac_objext \
6046 conftest$ac_exeext conftest.$ac_ext
6048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6050 if test `eval echo '${'$as_ac_var'}'` = yes; then
6051 cat >>confdefs.h <<_ACEOF
6052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6057 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6058 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6059 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6060 echo $ECHO_N "(cached) $ECHO_C" >&6
6062 ac_check_lib_save_LIBS=$LIBS
6064 cat >conftest.$ac_ext <<_ACEOF
6067 cat confdefs.h >>conftest.$ac_ext
6068 cat >>conftest.$ac_ext <<_ACEOF
6069 /* end confdefs.h. */
6071 /* Override any gcc2 internal prototype to avoid an error. */
6075 /* We use char because int might match the return type of a gcc2
6076 builtin and then its argument prototype would still apply. */
6077 char gethostbyname ();
6086 rm -f conftest.$ac_objext conftest$ac_exeext
6087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6088 (eval $ac_link) 2>conftest.er1
6090 grep -v '^ *+' conftest.er1 >conftest.err
6092 cat conftest.err >&5
6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); } &&
6095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100 (exit $ac_status); }; } &&
6101 { ac_try='test -s conftest$ac_exeext'
6102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6106 (exit $ac_status); }; }; then
6107 ac_cv_lib_nsl_gethostbyname=yes
6109 echo "$as_me: failed program was:" >&5
6110 sed 's/^/| /' conftest.$ac_ext >&5
6112 ac_cv_lib_nsl_gethostbyname=no
6114 rm -f conftest.err conftest.$ac_objext \
6115 conftest$ac_exeext conftest.$ac_ext
6116 LIBS=$ac_check_lib_save_LIBS
6118 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6119 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6120 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6121 cat >>confdefs.h <<_ACEOF
6122 #define HAVE_LIBNSL 1
6133 for ac_func in connect
6135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6136 echo "$as_me:$LINENO: checking for $ac_func" >&5
6137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6138 if eval "test \"\${$as_ac_var+set}\" = set"; then
6139 echo $ECHO_N "(cached) $ECHO_C" >&6
6141 cat >conftest.$ac_ext <<_ACEOF
6144 cat confdefs.h >>conftest.$ac_ext
6145 cat >>conftest.$ac_ext <<_ACEOF
6146 /* end confdefs.h. */
6147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6149 #define $ac_func innocuous_$ac_func
6151 /* System header to define __stub macros and hopefully few prototypes,
6152 which can conflict with char $ac_func (); below.
6153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6154 <limits.h> exists even on freestanding compilers. */
6157 # include <limits.h>
6159 # include <assert.h>
6164 /* Override any gcc2 internal prototype to avoid an error. */
6169 /* We use char because int might match the return type of a gcc2
6170 builtin and then its argument prototype would still apply. */
6172 /* The GNU C library defines this for functions which it implements
6173 to always fail with ENOSYS. Some functions are actually named
6174 something starting with __ and the normal name is an alias. */
6175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6178 char (*f) () = $ac_func;
6187 return f != $ac_func;
6192 rm -f conftest.$ac_objext conftest$ac_exeext
6193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6194 (eval $ac_link) 2>conftest.er1
6196 grep -v '^ *+' conftest.er1 >conftest.err
6198 cat conftest.err >&5
6199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6200 (exit $ac_status); } &&
6201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6206 (exit $ac_status); }; } &&
6207 { ac_try='test -s conftest$ac_exeext'
6208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6212 (exit $ac_status); }; }; then
6213 eval "$as_ac_var=yes"
6215 echo "$as_me: failed program was:" >&5
6216 sed 's/^/| /' conftest.$ac_ext >&5
6218 eval "$as_ac_var=no"
6220 rm -f conftest.err conftest.$ac_objext \
6221 conftest$ac_exeext conftest.$ac_ext
6223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6225 if test `eval echo '${'$as_ac_var'}'` = yes; then
6226 cat >>confdefs.h <<_ACEOF
6227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6232 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6233 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6234 if test "${ac_cv_lib_socket_connect+set}" = set; then
6235 echo $ECHO_N "(cached) $ECHO_C" >&6
6237 ac_check_lib_save_LIBS=$LIBS
6238 LIBS="-lsocket $LIBS"
6239 cat >conftest.$ac_ext <<_ACEOF
6242 cat confdefs.h >>conftest.$ac_ext
6243 cat >>conftest.$ac_ext <<_ACEOF
6244 /* end confdefs.h. */
6246 /* Override any gcc2 internal prototype to avoid an error. */
6250 /* We use char because int might match the return type of a gcc2
6251 builtin and then its argument prototype would still apply. */
6261 rm -f conftest.$ac_objext conftest$ac_exeext
6262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6263 (eval $ac_link) 2>conftest.er1
6265 grep -v '^ *+' conftest.er1 >conftest.err
6267 cat conftest.err >&5
6268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6269 (exit $ac_status); } &&
6270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6275 (exit $ac_status); }; } &&
6276 { ac_try='test -s conftest$ac_exeext'
6277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6281 (exit $ac_status); }; }; then
6282 ac_cv_lib_socket_connect=yes
6284 echo "$as_me: failed program was:" >&5
6285 sed 's/^/| /' conftest.$ac_ext >&5
6287 ac_cv_lib_socket_connect=no
6289 rm -f conftest.err conftest.$ac_objext \
6290 conftest$ac_exeext conftest.$ac_ext
6291 LIBS=$ac_check_lib_save_LIBS
6293 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6294 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6295 if test $ac_cv_lib_socket_connect = yes; then
6296 cat >>confdefs.h <<_ACEOF
6297 #define HAVE_LIBSOCKET 1
6300 LIBS="-lsocket $LIBS"
6308 for ac_func in inet_aton
6310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6311 echo "$as_me:$LINENO: checking for $ac_func" >&5
6312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6313 if eval "test \"\${$as_ac_var+set}\" = set"; then
6314 echo $ECHO_N "(cached) $ECHO_C" >&6
6316 cat >conftest.$ac_ext <<_ACEOF
6319 cat confdefs.h >>conftest.$ac_ext
6320 cat >>conftest.$ac_ext <<_ACEOF
6321 /* end confdefs.h. */
6322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6324 #define $ac_func innocuous_$ac_func
6326 /* System header to define __stub macros and hopefully few prototypes,
6327 which can conflict with char $ac_func (); below.
6328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6329 <limits.h> exists even on freestanding compilers. */
6332 # include <limits.h>
6334 # include <assert.h>
6339 /* Override any gcc2 internal prototype to avoid an error. */
6344 /* We use char because int might match the return type of a gcc2
6345 builtin and then its argument prototype would still apply. */
6347 /* The GNU C library defines this for functions which it implements
6348 to always fail with ENOSYS. Some functions are actually named
6349 something starting with __ and the normal name is an alias. */
6350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6353 char (*f) () = $ac_func;
6362 return f != $ac_func;
6367 rm -f conftest.$ac_objext conftest$ac_exeext
6368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6369 (eval $ac_link) 2>conftest.er1
6371 grep -v '^ *+' conftest.er1 >conftest.err
6373 cat conftest.err >&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); } &&
6376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6381 (exit $ac_status); }; } &&
6382 { ac_try='test -s conftest$ac_exeext'
6383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6387 (exit $ac_status); }; }; then
6388 eval "$as_ac_var=yes"
6390 echo "$as_me: failed program was:" >&5
6391 sed 's/^/| /' conftest.$ac_ext >&5
6393 eval "$as_ac_var=no"
6395 rm -f conftest.err conftest.$ac_objext \
6396 conftest$ac_exeext conftest.$ac_ext
6398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6400 if test `eval echo '${'$as_ac_var'}'` = yes; then
6401 cat >>confdefs.h <<_ACEOF
6402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6407 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6408 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6409 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6410 echo $ECHO_N "(cached) $ECHO_C" >&6
6412 ac_check_lib_save_LIBS=$LIBS
6413 LIBS="-lresolv $LIBS"
6414 cat >conftest.$ac_ext <<_ACEOF
6417 cat confdefs.h >>conftest.$ac_ext
6418 cat >>conftest.$ac_ext <<_ACEOF
6419 /* end confdefs.h. */
6421 /* Override any gcc2 internal prototype to avoid an error. */
6425 /* We use char because int might match the return type of a gcc2
6426 builtin and then its argument prototype would still apply. */
6436 rm -f conftest.$ac_objext conftest$ac_exeext
6437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6438 (eval $ac_link) 2>conftest.er1
6440 grep -v '^ *+' conftest.er1 >conftest.err
6442 cat conftest.err >&5
6443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6444 (exit $ac_status); } &&
6445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6450 (exit $ac_status); }; } &&
6451 { ac_try='test -s conftest$ac_exeext'
6452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); }; }; then
6457 ac_cv_lib_resolv_inet_aton=yes
6459 echo "$as_me: failed program was:" >&5
6460 sed 's/^/| /' conftest.$ac_ext >&5
6462 ac_cv_lib_resolv_inet_aton=no
6464 rm -f conftest.err conftest.$ac_objext \
6465 conftest$ac_exeext conftest.$ac_ext
6466 LIBS=$ac_check_lib_save_LIBS
6468 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6469 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6470 if test $ac_cv_lib_resolv_inet_aton = yes; then
6471 cat >>confdefs.h <<_ACEOF
6472 #define HAVE_LIBRESOLV 1
6475 LIBS="-lresolv $LIBS"
6483 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6484 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6485 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6486 echo $ECHO_N "(cached) $ECHO_C" >&6
6488 ac_check_lib_save_LIBS=$LIBS
6490 cat >conftest.$ac_ext <<_ACEOF
6493 cat confdefs.h >>conftest.$ac_ext
6494 cat >>conftest.$ac_ext <<_ACEOF
6495 /* end confdefs.h. */
6497 /* Override any gcc2 internal prototype to avoid an error. */
6501 /* We use char because int might match the return type of a gcc2
6502 builtin and then its argument prototype would still apply. */
6503 char _xpg4_setrunelocale ();
6507 _xpg4_setrunelocale ();
6512 rm -f conftest.$ac_objext conftest$ac_exeext
6513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6514 (eval $ac_link) 2>conftest.er1
6516 grep -v '^ *+' conftest.er1 >conftest.err
6518 cat conftest.err >&5
6519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6520 (exit $ac_status); } &&
6521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526 (exit $ac_status); }; } &&
6527 { ac_try='test -s conftest$ac_exeext'
6528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532 (exit $ac_status); }; }; then
6533 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6535 echo "$as_me: failed program was:" >&5
6536 sed 's/^/| /' conftest.$ac_ext >&5
6538 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6540 rm -f conftest.err conftest.$ac_objext \
6541 conftest$ac_exeext conftest.$ac_ext
6542 LIBS=$ac_check_lib_save_LIBS
6544 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6545 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6546 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6547 cat >>confdefs.h <<_ACEOF
6548 #define HAVE_LIBXPG4 1
6556 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6557 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6558 if test "${ac_cv_lib_poll_poll+set}" = set; then
6559 echo $ECHO_N "(cached) $ECHO_C" >&6
6561 ac_check_lib_save_LIBS=$LIBS
6563 cat >conftest.$ac_ext <<_ACEOF
6566 cat confdefs.h >>conftest.$ac_ext
6567 cat >>conftest.$ac_ext <<_ACEOF
6568 /* end confdefs.h. */
6570 /* Override any gcc2 internal prototype to avoid an error. */
6574 /* We use char because int might match the return type of a gcc2
6575 builtin and then its argument prototype would still apply. */
6585 rm -f conftest.$ac_objext conftest$ac_exeext
6586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6587 (eval $ac_link) 2>conftest.er1
6589 grep -v '^ *+' conftest.er1 >conftest.err
6591 cat conftest.err >&5
6592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6593 (exit $ac_status); } &&
6594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6599 (exit $ac_status); }; } &&
6600 { ac_try='test -s conftest$ac_exeext'
6601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6605 (exit $ac_status); }; }; then
6606 ac_cv_lib_poll_poll=yes
6608 echo "$as_me: failed program was:" >&5
6609 sed 's/^/| /' conftest.$ac_ext >&5
6611 ac_cv_lib_poll_poll=no
6613 rm -f conftest.err conftest.$ac_objext \
6614 conftest$ac_exeext conftest.$ac_ext
6615 LIBS=$ac_check_lib_save_LIBS
6617 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6618 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6619 if test $ac_cv_lib_poll_poll = yes; then
6620 cat >>confdefs.h <<_ACEOF
6621 #define HAVE_LIBPOLL 1
6629 echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
6630 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6
6631 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
6632 echo $ECHO_N "(cached) $ECHO_C" >&6
6634 ac_check_lib_save_LIBS=$LIBS
6635 LIBS="-lresolv $LIBS"
6636 cat >conftest.$ac_ext <<_ACEOF
6639 cat confdefs.h >>conftest.$ac_ext
6640 cat >>conftest.$ac_ext <<_ACEOF
6641 /* end confdefs.h. */
6643 /* Override any gcc2 internal prototype to avoid an error. */
6647 /* We use char because int might match the return type of a gcc2
6648 builtin and then its argument prototype would still apply. */
6658 rm -f conftest.$ac_objext conftest$ac_exeext
6659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6660 (eval $ac_link) 2>conftest.er1
6662 grep -v '^ *+' conftest.er1 >conftest.err
6664 cat conftest.err >&5
6665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6666 (exit $ac_status); } &&
6667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6672 (exit $ac_status); }; } &&
6673 { ac_try='test -s conftest$ac_exeext'
6674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678 (exit $ac_status); }; }; then
6679 ac_cv_lib_resolv_res_9_init=yes
6681 echo "$as_me: failed program was:" >&5
6682 sed 's/^/| /' conftest.$ac_ext >&5
6684 ac_cv_lib_resolv_res_9_init=no
6686 rm -f conftest.err conftest.$ac_objext \
6687 conftest$ac_exeext conftest.$ac_ext
6688 LIBS=$ac_check_lib_save_LIBS
6690 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
6691 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6
6692 if test $ac_cv_lib_resolv_res_9_init = yes; then
6693 cat >>confdefs.h <<_ACEOF
6694 #define HAVE_LIBRESOLV 1
6697 LIBS="-lresolv $LIBS"
6701 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6702 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6703 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6704 echo $ECHO_N "(cached) $ECHO_C" >&6
6706 ac_check_lib_save_LIBS=$LIBS
6707 LIBS="-lpthread $LIBS"
6708 cat >conftest.$ac_ext <<_ACEOF
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 pthread_create ();
6730 rm -f conftest.$ac_objext conftest$ac_exeext
6731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6732 (eval $ac_link) 2>conftest.er1
6734 grep -v '^ *+' conftest.er1 >conftest.err
6736 cat conftest.err >&5
6737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6738 (exit $ac_status); } &&
6739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744 (exit $ac_status); }; } &&
6745 { ac_try='test -s conftest$ac_exeext'
6746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6750 (exit $ac_status); }; }; then
6751 ac_cv_lib_pthread_pthread_create=yes
6753 echo "$as_me: failed program was:" >&5
6754 sed 's/^/| /' conftest.$ac_ext >&5
6756 ac_cv_lib_pthread_pthread_create=no
6758 rm -f conftest.err conftest.$ac_objext \
6759 conftest$ac_exeext conftest.$ac_ext
6760 LIBS=$ac_check_lib_save_LIBS
6762 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6763 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6764 if test $ac_cv_lib_pthread_pthread_create = yes; then
6765 LIBPTHREAD="-lpthread"
6781 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6782 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6783 if test "${ac_cv_header_stdc+set}" = set; then
6784 echo $ECHO_N "(cached) $ECHO_C" >&6
6786 cat >conftest.$ac_ext <<_ACEOF
6789 cat confdefs.h >>conftest.$ac_ext
6790 cat >>conftest.$ac_ext <<_ACEOF
6791 /* end confdefs.h. */
6805 rm -f conftest.$ac_objext
6806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6807 (eval $ac_compile) 2>conftest.er1
6809 grep -v '^ *+' conftest.er1 >conftest.err
6811 cat conftest.err >&5
6812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813 (exit $ac_status); } &&
6814 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819 (exit $ac_status); }; } &&
6820 { ac_try='test -s conftest.$ac_objext'
6821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825 (exit $ac_status); }; }; then
6826 ac_cv_header_stdc=yes
6828 echo "$as_me: failed program was:" >&5
6829 sed 's/^/| /' conftest.$ac_ext >&5
6831 ac_cv_header_stdc=no
6833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6835 if test $ac_cv_header_stdc = yes; then
6836 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6837 cat >conftest.$ac_ext <<_ACEOF
6840 cat confdefs.h >>conftest.$ac_ext
6841 cat >>conftest.$ac_ext <<_ACEOF
6842 /* end confdefs.h. */
6846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6847 $EGREP "memchr" >/dev/null 2>&1; then
6850 ac_cv_header_stdc=no
6856 if test $ac_cv_header_stdc = yes; then
6857 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6858 cat >conftest.$ac_ext <<_ACEOF
6861 cat confdefs.h >>conftest.$ac_ext
6862 cat >>conftest.$ac_ext <<_ACEOF
6863 /* end confdefs.h. */
6867 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6868 $EGREP "free" >/dev/null 2>&1; then
6871 ac_cv_header_stdc=no
6877 if test $ac_cv_header_stdc = yes; then
6878 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6879 if test "$cross_compiling" = yes; then
6882 cat >conftest.$ac_ext <<_ACEOF
6885 cat confdefs.h >>conftest.$ac_ext
6886 cat >>conftest.$ac_ext <<_ACEOF
6887 /* end confdefs.h. */
6889 #if ((' ' & 0x0FF) == 0x020)
6890 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6891 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6893 # define ISLOWER(c) \
6894 (('a' <= (c) && (c) <= 'i') \
6895 || ('j' <= (c) && (c) <= 'r') \
6896 || ('s' <= (c) && (c) <= 'z'))
6897 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6900 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6905 for (i = 0; i < 256; i++)
6906 if (XOR (islower (i), ISLOWER (i))
6907 || toupper (i) != TOUPPER (i))
6912 rm -f conftest$ac_exeext
6913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6914 (eval $ac_link) 2>&5
6916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6917 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6922 (exit $ac_status); }; }; then
6925 echo "$as_me: program exited with status $ac_status" >&5
6926 echo "$as_me: failed program was:" >&5
6927 sed 's/^/| /' conftest.$ac_ext >&5
6930 ac_cv_header_stdc=no
6932 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6936 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6937 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6938 if test $ac_cv_header_stdc = yes; then
6940 cat >>confdefs.h <<\_ACEOF
6941 #define STDC_HEADERS 1
6946 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6956 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6957 inttypes.h stdint.h unistd.h
6959 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6960 echo "$as_me:$LINENO: checking for $ac_header" >&5
6961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6963 echo $ECHO_N "(cached) $ECHO_C" >&6
6965 cat >conftest.$ac_ext <<_ACEOF
6968 cat confdefs.h >>conftest.$ac_ext
6969 cat >>conftest.$ac_ext <<_ACEOF
6970 /* end confdefs.h. */
6971 $ac_includes_default
6973 #include <$ac_header>
6975 rm -f conftest.$ac_objext
6976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6977 (eval $ac_compile) 2>conftest.er1
6979 grep -v '^ *+' conftest.er1 >conftest.err
6981 cat conftest.err >&5
6982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6983 (exit $ac_status); } &&
6984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 (exit $ac_status); }; } &&
6990 { ac_try='test -s conftest.$ac_objext'
6991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995 (exit $ac_status); }; }; then
6996 eval "$as_ac_Header=yes"
6998 echo "$as_me: failed program was:" >&5
6999 sed 's/^/| /' conftest.$ac_ext >&5
7001 eval "$as_ac_Header=no"
7003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7008 cat >>confdefs.h <<_ACEOF
7009 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7110 fontconfig/fontconfig.h \
7134 netinet/in_systm.h \
7190 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7192 echo "$as_me:$LINENO: checking for $ac_header" >&5
7193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7195 echo $ECHO_N "(cached) $ECHO_C" >&6
7197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7200 # Is the header compilable?
7201 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7202 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7203 cat >conftest.$ac_ext <<_ACEOF
7206 cat confdefs.h >>conftest.$ac_ext
7207 cat >>conftest.$ac_ext <<_ACEOF
7208 /* end confdefs.h. */
7209 $ac_includes_default
7210 #include <$ac_header>
7212 rm -f conftest.$ac_objext
7213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7214 (eval $ac_compile) 2>conftest.er1
7216 grep -v '^ *+' conftest.er1 >conftest.err
7218 cat conftest.err >&5
7219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7220 (exit $ac_status); } &&
7221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7226 (exit $ac_status); }; } &&
7227 { ac_try='test -s conftest.$ac_objext'
7228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7232 (exit $ac_status); }; }; then
7233 ac_header_compiler=yes
7235 echo "$as_me: failed program was:" >&5
7236 sed 's/^/| /' conftest.$ac_ext >&5
7238 ac_header_compiler=no
7240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7241 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7242 echo "${ECHO_T}$ac_header_compiler" >&6
7244 # Is the header present?
7245 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7246 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7247 cat >conftest.$ac_ext <<_ACEOF
7250 cat confdefs.h >>conftest.$ac_ext
7251 cat >>conftest.$ac_ext <<_ACEOF
7252 /* end confdefs.h. */
7253 #include <$ac_header>
7255 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7256 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7258 grep -v '^ *+' conftest.er1 >conftest.err
7260 cat conftest.err >&5
7261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262 (exit $ac_status); } >/dev/null; then
7263 if test -s conftest.err; then
7264 ac_cpp_err=$ac_c_preproc_warn_flag
7265 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7272 if test -z "$ac_cpp_err"; then
7273 ac_header_preproc=yes
7275 echo "$as_me: failed program was:" >&5
7276 sed 's/^/| /' conftest.$ac_ext >&5
7278 ac_header_preproc=no
7280 rm -f conftest.err conftest.$ac_ext
7281 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7282 echo "${ECHO_T}$ac_header_preproc" >&6
7284 # So? What about this header?
7285 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7287 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7288 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7290 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7291 ac_header_preproc=yes
7294 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7295 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7296 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7297 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7298 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7299 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7300 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7301 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7302 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7303 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7304 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7305 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7308 ## ------------------------------------ ##
7309 ## Report this to wine-devel@winehq.org ##
7310 ## ------------------------------------ ##
7313 sed "s/^/$as_me: WARNING: /" >&2
7316 echo "$as_me:$LINENO: checking for $ac_header" >&5
7317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7319 echo $ECHO_N "(cached) $ECHO_C" >&6
7321 eval "$as_ac_Header=\$ac_header_preproc"
7323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7327 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7328 cat >>confdefs.h <<_ACEOF
7329 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7336 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7337 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
7338 if test "${ac_cv_header_stat_broken+set}" = set; then
7339 echo $ECHO_N "(cached) $ECHO_C" >&6
7341 cat >conftest.$ac_ext <<_ACEOF
7344 cat confdefs.h >>conftest.$ac_ext
7345 cat >>conftest.$ac_ext <<_ACEOF
7346 /* end confdefs.h. */
7347 #include <sys/types.h>
7348 #include <sys/stat.h>
7350 #if defined(S_ISBLK) && defined(S_IFDIR)
7351 # if S_ISBLK (S_IFDIR)
7356 #if defined(S_ISBLK) && defined(S_IFCHR)
7357 # if S_ISBLK (S_IFCHR)
7362 #if defined(S_ISLNK) && defined(S_IFREG)
7363 # if S_ISLNK (S_IFREG)
7368 #if defined(S_ISSOCK) && defined(S_IFREG)
7369 # if S_ISSOCK (S_IFREG)
7375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7376 $EGREP "You lose" >/dev/null 2>&1; then
7377 ac_cv_header_stat_broken=yes
7379 ac_cv_header_stat_broken=no
7384 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7385 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
7386 if test $ac_cv_header_stat_broken = yes; then
7388 cat >>confdefs.h <<\_ACEOF
7389 #define STAT_MACROS_BROKEN 1
7396 if test "$have_x" = "yes"
7399 ac_save_CPPFLAGS="$CPPFLAGS"
7400 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7403 for ac_header in X11/Xlib.h
7405 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7407 echo "$as_me:$LINENO: checking for $ac_header" >&5
7408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7410 echo $ECHO_N "(cached) $ECHO_C" >&6
7412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7415 # Is the header compilable?
7416 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7417 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7418 cat >conftest.$ac_ext <<_ACEOF
7421 cat confdefs.h >>conftest.$ac_ext
7422 cat >>conftest.$ac_ext <<_ACEOF
7423 /* end confdefs.h. */
7424 $ac_includes_default
7425 #include <$ac_header>
7427 rm -f conftest.$ac_objext
7428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7429 (eval $ac_compile) 2>conftest.er1
7431 grep -v '^ *+' conftest.er1 >conftest.err
7433 cat conftest.err >&5
7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435 (exit $ac_status); } &&
7436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7441 (exit $ac_status); }; } &&
7442 { ac_try='test -s conftest.$ac_objext'
7443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); }; }; then
7448 ac_header_compiler=yes
7450 echo "$as_me: failed program was:" >&5
7451 sed 's/^/| /' conftest.$ac_ext >&5
7453 ac_header_compiler=no
7455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7456 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7457 echo "${ECHO_T}$ac_header_compiler" >&6
7459 # Is the header present?
7460 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7461 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7462 cat >conftest.$ac_ext <<_ACEOF
7465 cat confdefs.h >>conftest.$ac_ext
7466 cat >>conftest.$ac_ext <<_ACEOF
7467 /* end confdefs.h. */
7468 #include <$ac_header>
7470 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7471 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7473 grep -v '^ *+' conftest.er1 >conftest.err
7475 cat conftest.err >&5
7476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7477 (exit $ac_status); } >/dev/null; then
7478 if test -s conftest.err; then
7479 ac_cpp_err=$ac_c_preproc_warn_flag
7480 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7487 if test -z "$ac_cpp_err"; then
7488 ac_header_preproc=yes
7490 echo "$as_me: failed program was:" >&5
7491 sed 's/^/| /' conftest.$ac_ext >&5
7493 ac_header_preproc=no
7495 rm -f conftest.err conftest.$ac_ext
7496 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7497 echo "${ECHO_T}$ac_header_preproc" >&6
7499 # So? What about this header?
7500 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7502 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7503 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7504 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7505 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7506 ac_header_preproc=yes
7509 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7510 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7511 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7512 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7513 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7514 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7515 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7516 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7517 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7518 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7519 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7520 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7523 ## ------------------------------------ ##
7524 ## Report this to wine-devel@winehq.org ##
7525 ## ------------------------------------ ##
7528 sed "s/^/$as_me: WARNING: /" >&2
7531 echo "$as_me:$LINENO: checking for $ac_header" >&5
7532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7534 echo $ECHO_N "(cached) $ECHO_C" >&6
7536 eval "$as_ac_Header=\$ac_header_preproc"
7538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7539 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7542 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7543 cat >>confdefs.h <<_ACEOF
7544 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7556 for ac_header in X11/XKBlib.h \
7558 X11/extensions/shape.h \
7559 X11/extensions/XInput.h \
7560 X11/extensions/XShm.h \
7561 X11/extensions/Xrandr.h \
7562 X11/extensions/Xrender.h \
7563 X11/extensions/xf86dga.h \
7564 X11/extensions/xf86vmode.h
7566 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
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 cat >conftest.$ac_ext <<_ACEOF
7575 cat confdefs.h >>conftest.$ac_ext
7576 cat >>conftest.$ac_ext <<_ACEOF
7577 /* end confdefs.h. */
7578 #include <X11/Xlib.h>
7579 #ifdef HAVE_X11_XUTIL_H
7580 # include <X11/Xutil.h>
7583 #include <$ac_header>
7585 rm -f conftest.$ac_objext
7586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7587 (eval $ac_compile) 2>conftest.er1
7589 grep -v '^ *+' conftest.er1 >conftest.err
7591 cat conftest.err >&5
7592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7593 (exit $ac_status); } &&
7594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7599 (exit $ac_status); }; } &&
7600 { ac_try='test -s conftest.$ac_objext'
7601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); }; }; then
7606 eval "$as_ac_Header=yes"
7608 echo "$as_me: failed program was:" >&5
7609 sed 's/^/| /' conftest.$ac_ext >&5
7611 eval "$as_ac_Header=no"
7613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7616 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7617 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7618 cat >>confdefs.h <<_ACEOF
7619 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7627 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7629 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7630 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7631 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7632 echo $ECHO_N "(cached) $ECHO_C" >&6
7634 ac_check_lib_save_LIBS=$LIBS
7635 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7636 cat >conftest.$ac_ext <<_ACEOF
7639 cat confdefs.h >>conftest.$ac_ext
7640 cat >>conftest.$ac_ext <<_ACEOF
7641 /* end confdefs.h. */
7643 /* Override any gcc2 internal prototype to avoid an error. */
7647 /* We use char because int might match the return type of a gcc2
7648 builtin and then its argument prototype would still apply. */
7649 char XkbQueryExtension ();
7653 XkbQueryExtension ();
7658 rm -f conftest.$ac_objext conftest$ac_exeext
7659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7660 (eval $ac_link) 2>conftest.er1
7662 grep -v '^ *+' conftest.er1 >conftest.err
7664 cat conftest.err >&5
7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7666 (exit $ac_status); } &&
7667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7672 (exit $ac_status); }; } &&
7673 { ac_try='test -s conftest$ac_exeext'
7674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7678 (exit $ac_status); }; }; then
7679 ac_cv_lib_X11_XkbQueryExtension=yes
7681 echo "$as_me: failed program was:" >&5
7682 sed 's/^/| /' conftest.$ac_ext >&5
7684 ac_cv_lib_X11_XkbQueryExtension=no
7686 rm -f conftest.err conftest.$ac_objext \
7687 conftest$ac_exeext conftest.$ac_ext
7688 LIBS=$ac_check_lib_save_LIBS
7690 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7691 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7692 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7694 cat >>confdefs.h <<\_ACEOF
7702 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7704 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7705 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7706 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7707 echo $ECHO_N "(cached) $ECHO_C" >&6
7709 ac_check_lib_save_LIBS=$LIBS
7710 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7711 cat >conftest.$ac_ext <<_ACEOF
7714 cat confdefs.h >>conftest.$ac_ext
7715 cat >>conftest.$ac_ext <<_ACEOF
7716 /* end confdefs.h. */
7718 /* Override any gcc2 internal prototype to avoid an error. */
7722 /* We use char because int might match the return type of a gcc2
7723 builtin and then its argument prototype would still apply. */
7724 char XShmQueryExtension ();
7728 XShmQueryExtension ();
7733 rm -f conftest.$ac_objext conftest$ac_exeext
7734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7735 (eval $ac_link) 2>conftest.er1
7737 grep -v '^ *+' conftest.er1 >conftest.err
7739 cat conftest.err >&5
7740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741 (exit $ac_status); } &&
7742 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7747 (exit $ac_status); }; } &&
7748 { ac_try='test -s conftest$ac_exeext'
7749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753 (exit $ac_status); }; }; then
7754 ac_cv_lib_Xext_XShmQueryExtension=yes
7756 echo "$as_me: failed program was:" >&5
7757 sed 's/^/| /' conftest.$ac_ext >&5
7759 ac_cv_lib_Xext_XShmQueryExtension=no
7761 rm -f conftest.err conftest.$ac_objext \
7762 conftest$ac_exeext conftest.$ac_ext
7763 LIBS=$ac_check_lib_save_LIBS
7765 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7766 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7767 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7769 cat >>confdefs.h <<\_ACEOF
7770 #define HAVE_LIBXXSHM 1
7777 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7779 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7780 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7781 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7782 echo $ECHO_N "(cached) $ECHO_C" >&6
7784 ac_check_lib_save_LIBS=$LIBS
7785 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7786 cat >conftest.$ac_ext <<_ACEOF
7789 cat confdefs.h >>conftest.$ac_ext
7790 cat >>conftest.$ac_ext <<_ACEOF
7791 /* end confdefs.h. */
7793 /* Override any gcc2 internal prototype to avoid an error. */
7797 /* We use char because int might match the return type of a gcc2
7798 builtin and then its argument prototype would still apply. */
7799 char XShapeQueryExtension ();
7803 XShapeQueryExtension ();
7808 rm -f conftest.$ac_objext conftest$ac_exeext
7809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7810 (eval $ac_link) 2>conftest.er1
7812 grep -v '^ *+' conftest.er1 >conftest.err
7814 cat conftest.err >&5
7815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7816 (exit $ac_status); } &&
7817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7822 (exit $ac_status); }; } &&
7823 { ac_try='test -s conftest$ac_exeext'
7824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7828 (exit $ac_status); }; }; then
7829 ac_cv_lib_Xext_XShapeQueryExtension=yes
7831 echo "$as_me: failed program was:" >&5
7832 sed 's/^/| /' conftest.$ac_ext >&5
7834 ac_cv_lib_Xext_XShapeQueryExtension=no
7836 rm -f conftest.err conftest.$ac_objext \
7837 conftest$ac_exeext conftest.$ac_ext
7838 LIBS=$ac_check_lib_save_LIBS
7840 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7841 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
7842 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7844 cat >>confdefs.h <<\_ACEOF
7845 #define HAVE_LIBXSHAPE 1
7852 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
7854 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
7855 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7856 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
7857 echo $ECHO_N "(cached) $ECHO_C" >&6
7859 ac_check_lib_save_LIBS=$LIBS
7860 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7861 cat >conftest.$ac_ext <<_ACEOF
7864 cat confdefs.h >>conftest.$ac_ext
7865 cat >>conftest.$ac_ext <<_ACEOF
7866 /* end confdefs.h. */
7868 /* Override any gcc2 internal prototype to avoid an error. */
7872 /* We use char because int might match the return type of a gcc2
7873 builtin and then its argument prototype would still apply. */
7874 char XDGAQueryExtension ();
7878 XDGAQueryExtension ();
7883 rm -f conftest.$ac_objext conftest$ac_exeext
7884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7885 (eval $ac_link) 2>conftest.er1
7887 grep -v '^ *+' conftest.er1 >conftest.err
7889 cat conftest.err >&5
7890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7891 (exit $ac_status); } &&
7892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897 (exit $ac_status); }; } &&
7898 { ac_try='test -s conftest$ac_exeext'
7899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903 (exit $ac_status); }; }; then
7904 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
7906 echo "$as_me: failed program was:" >&5
7907 sed 's/^/| /' conftest.$ac_ext >&5
7909 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
7911 rm -f conftest.err conftest.$ac_objext \
7912 conftest$ac_exeext conftest.$ac_ext
7913 LIBS=$ac_check_lib_save_LIBS
7915 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
7916 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
7917 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
7919 cat >>confdefs.h <<\_ACEOF
7920 #define HAVE_LIBXXF86DGA2 1
7923 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7929 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7931 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7932 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7933 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7934 echo $ECHO_N "(cached) $ECHO_C" >&6
7936 ac_check_lib_save_LIBS=$LIBS
7937 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7938 cat >conftest.$ac_ext <<_ACEOF
7941 cat confdefs.h >>conftest.$ac_ext
7942 cat >>conftest.$ac_ext <<_ACEOF
7943 /* end confdefs.h. */
7945 /* Override any gcc2 internal prototype to avoid an error. */
7949 /* We use char because int might match the return type of a gcc2
7950 builtin and then its argument prototype would still apply. */
7951 char XF86VidModeQueryExtension ();
7955 XF86VidModeQueryExtension ();
7960 rm -f conftest.$ac_objext conftest$ac_exeext
7961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7962 (eval $ac_link) 2>conftest.er1
7964 grep -v '^ *+' conftest.er1 >conftest.err
7966 cat conftest.err >&5
7967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7968 (exit $ac_status); } &&
7969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974 (exit $ac_status); }; } &&
7975 { ac_try='test -s conftest$ac_exeext'
7976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980 (exit $ac_status); }; }; then
7981 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
7983 echo "$as_me: failed program was:" >&5
7984 sed 's/^/| /' conftest.$ac_ext >&5
7986 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
7988 rm -f conftest.err conftest.$ac_objext \
7989 conftest$ac_exeext conftest.$ac_ext
7990 LIBS=$ac_check_lib_save_LIBS
7992 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7993 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7994 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
7996 cat >>confdefs.h <<\_ACEOF
7997 #define HAVE_LIBXXF86VM 1
8000 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8006 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8008 cat >conftest.$ac_ext <<_ACEOF
8011 cat confdefs.h >>conftest.$ac_ext
8012 cat >>conftest.$ac_ext <<_ACEOF
8013 /* end confdefs.h. */
8014 #include <X11/Xlib.h>
8015 #include <X11/extensions/Xrandr.h>
8019 static typeof(XRRSetScreenConfigAndRate) * func;
8024 rm -f conftest.$ac_objext
8025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8026 (eval $ac_compile) 2>conftest.er1
8028 grep -v '^ *+' conftest.er1 >conftest.err
8030 cat conftest.err >&5
8031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8032 (exit $ac_status); } &&
8033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8038 (exit $ac_status); }; } &&
8039 { ac_try='test -s conftest.$ac_objext'
8040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8044 (exit $ac_status); }; }; then
8046 cat >>confdefs.h <<\_ACEOF
8047 #define HAVE_LIBXRANDR 1
8051 echo "$as_me: failed program was:" >&5
8052 sed 's/^/| /' conftest.$ac_ext >&5
8055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8058 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8060 echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8061 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6
8062 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8063 echo $ECHO_N "(cached) $ECHO_C" >&6
8065 ac_check_lib_save_LIBS=$LIBS
8066 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8067 cat >conftest.$ac_ext <<_ACEOF
8070 cat confdefs.h >>conftest.$ac_ext
8071 cat >>conftest.$ac_ext <<_ACEOF
8072 /* end confdefs.h. */
8074 /* Override any gcc2 internal prototype to avoid an error. */
8078 /* We use char because int might match the return type of a gcc2
8079 builtin and then its argument prototype would still apply. */
8080 char XRenderSetPictureTransform ();
8084 XRenderSetPictureTransform ();
8089 rm -f conftest.$ac_objext conftest$ac_exeext
8090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8091 (eval $ac_link) 2>conftest.er1
8093 grep -v '^ *+' conftest.er1 >conftest.err
8095 cat conftest.err >&5
8096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8097 (exit $ac_status); } &&
8098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8103 (exit $ac_status); }; } &&
8104 { ac_try='test -s conftest$ac_exeext'
8105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8109 (exit $ac_status); }; }; then
8110 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8112 echo "$as_me: failed program was:" >&5
8113 sed 's/^/| /' conftest.$ac_ext >&5
8115 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8117 rm -f conftest.err conftest.$ac_objext \
8118 conftest$ac_exeext conftest.$ac_ext
8119 LIBS=$ac_check_lib_save_LIBS
8121 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8122 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6
8123 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8125 cat >>confdefs.h <<\_ACEOF
8126 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8138 if test "x$with_opengl" != "xno"
8140 if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
8142 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8143 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8144 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8145 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8146 { (exit 1); exit 1; }; }
8151 for ac_header in GL/gl.h GL/glx.h
8153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8155 echo "$as_me:$LINENO: checking for $ac_header" >&5
8156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8158 echo $ECHO_N "(cached) $ECHO_C" >&6
8160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8163 # Is the header compilable?
8164 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8165 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8166 cat >conftest.$ac_ext <<_ACEOF
8169 cat confdefs.h >>conftest.$ac_ext
8170 cat >>conftest.$ac_ext <<_ACEOF
8171 /* end confdefs.h. */
8172 $ac_includes_default
8173 #include <$ac_header>
8175 rm -f conftest.$ac_objext
8176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8177 (eval $ac_compile) 2>conftest.er1
8179 grep -v '^ *+' conftest.er1 >conftest.err
8181 cat conftest.err >&5
8182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8183 (exit $ac_status); } &&
8184 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189 (exit $ac_status); }; } &&
8190 { ac_try='test -s conftest.$ac_objext'
8191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195 (exit $ac_status); }; }; then
8196 ac_header_compiler=yes
8198 echo "$as_me: failed program was:" >&5
8199 sed 's/^/| /' conftest.$ac_ext >&5
8201 ac_header_compiler=no
8203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8204 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8205 echo "${ECHO_T}$ac_header_compiler" >&6
8207 # Is the header present?
8208 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8209 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8210 cat >conftest.$ac_ext <<_ACEOF
8213 cat confdefs.h >>conftest.$ac_ext
8214 cat >>conftest.$ac_ext <<_ACEOF
8215 /* end confdefs.h. */
8216 #include <$ac_header>
8218 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8219 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8221 grep -v '^ *+' conftest.er1 >conftest.err
8223 cat conftest.err >&5
8224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 (exit $ac_status); } >/dev/null; then
8226 if test -s conftest.err; then
8227 ac_cpp_err=$ac_c_preproc_warn_flag
8228 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8235 if test -z "$ac_cpp_err"; then
8236 ac_header_preproc=yes
8238 echo "$as_me: failed program was:" >&5
8239 sed 's/^/| /' conftest.$ac_ext >&5
8241 ac_header_preproc=no
8243 rm -f conftest.err conftest.$ac_ext
8244 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8245 echo "${ECHO_T}$ac_header_preproc" >&6
8247 # So? What about this header?
8248 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8250 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8251 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8253 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8254 ac_header_preproc=yes
8257 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8258 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8259 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8260 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8261 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8262 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8263 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8264 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8266 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8267 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8268 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8271 ## ------------------------------------ ##
8272 ## Report this to wine-devel@winehq.org ##
8273 ## ------------------------------------ ##
8276 sed "s/^/$as_me: WARNING: /" >&2
8279 echo "$as_me:$LINENO: checking for $ac_header" >&5
8280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8282 echo $ECHO_N "(cached) $ECHO_C" >&6
8284 eval "$as_ac_Header=\$ac_header_preproc"
8286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8291 cat >>confdefs.h <<_ACEOF
8292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8299 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8302 for ac_header in GL/glext.h
8304 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8305 echo "$as_me:$LINENO: checking for $ac_header" >&5
8306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8308 echo $ECHO_N "(cached) $ECHO_C" >&6
8310 cat >conftest.$ac_ext <<_ACEOF
8313 cat confdefs.h >>conftest.$ac_ext
8314 cat >>conftest.$ac_ext <<_ACEOF
8315 /* end confdefs.h. */
8318 #include <$ac_header>
8320 rm -f conftest.$ac_objext
8321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8322 (eval $ac_compile) 2>conftest.er1
8324 grep -v '^ *+' conftest.er1 >conftest.err
8326 cat conftest.err >&5
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 (exit $ac_status); } &&
8329 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8334 (exit $ac_status); }; } &&
8335 { ac_try='test -s conftest.$ac_objext'
8336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8340 (exit $ac_status); }; }; then
8341 eval "$as_ac_Header=yes"
8343 echo "$as_me: failed program was:" >&5
8344 sed 's/^/| /' conftest.$ac_ext >&5
8346 eval "$as_ac_Header=no"
8348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8352 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8353 cat >>confdefs.h <<_ACEOF
8354 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8361 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8362 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8363 if test "${wine_cv_opengl_version_OK+set}" = set; then
8364 echo $ECHO_N "(cached) $ECHO_C" >&6
8366 cat >conftest.$ac_ext <<_ACEOF
8369 cat confdefs.h >>conftest.$ac_ext
8370 cat >>conftest.$ac_ext <<_ACEOF
8371 /* end confdefs.h. */
8376 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8381 rm -f conftest.$ac_objext
8382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8383 (eval $ac_compile) 2>conftest.er1
8385 grep -v '^ *+' conftest.er1 >conftest.err
8387 cat conftest.err >&5
8388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8389 (exit $ac_status); } &&
8390 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8395 (exit $ac_status); }; } &&
8396 { ac_try='test -s conftest.$ac_objext'
8397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 (exit $ac_status); }; }; then
8402 wine_cv_opengl_version_OK="yes"
8404 echo "$as_me: failed program was:" >&5
8405 sed 's/^/| /' conftest.$ac_ext >&5
8407 wine_cv_opengl_version_OK="no"
8410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8413 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8414 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8416 if test "$wine_cv_opengl_version_OK" = "yes"
8418 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8419 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8420 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8421 echo $ECHO_N "(cached) $ECHO_C" >&6
8423 ac_check_lib_save_LIBS=$LIBS
8424 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8425 cat >conftest.$ac_ext <<_ACEOF
8428 cat confdefs.h >>conftest.$ac_ext
8429 cat >>conftest.$ac_ext <<_ACEOF
8430 /* end confdefs.h. */
8432 /* Override any gcc2 internal prototype to avoid an error. */
8436 /* We use char because int might match the return type of a gcc2
8437 builtin and then its argument prototype would still apply. */
8438 char glXCreateContext ();
8442 glXCreateContext ();
8447 rm -f conftest.$ac_objext conftest$ac_exeext
8448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8449 (eval $ac_link) 2>conftest.er1
8451 grep -v '^ *+' conftest.er1 >conftest.err
8453 cat conftest.err >&5
8454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8455 (exit $ac_status); } &&
8456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8461 (exit $ac_status); }; } &&
8462 { ac_try='test -s conftest$ac_exeext'
8463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8467 (exit $ac_status); }; }; then
8468 ac_cv_lib_GL_glXCreateContext=yes
8470 echo "$as_me: failed program was:" >&5
8471 sed 's/^/| /' conftest.$ac_ext >&5
8473 ac_cv_lib_GL_glXCreateContext=no
8475 rm -f conftest.err conftest.$ac_objext \
8476 conftest$ac_exeext conftest.$ac_ext
8477 LIBS=$ac_check_lib_save_LIBS
8479 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8480 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8481 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8487 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8489 OPENGLFILES='$(OPENGLFILES)'
8491 cat >>confdefs.h <<\_ACEOF
8492 #define HAVE_OPENGL 1
8496 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8497 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8498 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8499 echo $ECHO_N "(cached) $ECHO_C" >&6
8501 ac_check_lib_save_LIBS=$LIBS
8502 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8504 cat >conftest.$ac_ext <<_ACEOF
8507 cat confdefs.h >>conftest.$ac_ext
8508 cat >>conftest.$ac_ext <<_ACEOF
8509 /* end confdefs.h. */
8511 /* Override any gcc2 internal prototype to avoid an error. */
8515 /* We use char because int might match the return type of a gcc2
8516 builtin and then its argument prototype would still apply. */
8526 rm -f conftest.$ac_objext conftest$ac_exeext
8527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8528 (eval $ac_link) 2>conftest.er1
8530 grep -v '^ *+' conftest.er1 >conftest.err
8532 cat conftest.err >&5
8533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8534 (exit $ac_status); } &&
8535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8540 (exit $ac_status); }; } &&
8541 { ac_try='test -s conftest$ac_exeext'
8542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8546 (exit $ac_status); }; }; then
8547 ac_cv_lib_GLU_gluLookAt=yes
8549 echo "$as_me: failed program was:" >&5
8550 sed 's/^/| /' conftest.$ac_ext >&5
8552 ac_cv_lib_GLU_gluLookAt=no
8554 rm -f conftest.err conftest.$ac_objext \
8555 conftest$ac_exeext conftest.$ac_ext
8556 LIBS=$ac_check_lib_save_LIBS
8558 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8559 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8560 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8561 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8562 GLU32FILES='$(GLU32FILES)'
8568 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8569 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8570 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8571 echo $ECHO_N "(cached) $ECHO_C" >&6
8573 ac_check_lib_save_LIBS=$LIBS
8574 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8575 cat >conftest.$ac_ext <<_ACEOF
8578 cat confdefs.h >>conftest.$ac_ext
8579 cat >>conftest.$ac_ext <<_ACEOF
8580 /* end confdefs.h. */
8582 /* Override any gcc2 internal prototype to avoid an error. */
8586 /* We use char because int might match the return type of a gcc2
8587 builtin and then its argument prototype would still apply. */
8588 char glutMainLoop ();
8597 rm -f conftest.$ac_objext conftest$ac_exeext
8598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8599 (eval $ac_link) 2>conftest.er1
8601 grep -v '^ *+' conftest.er1 >conftest.err
8603 cat conftest.err >&5
8604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8605 (exit $ac_status); } &&
8606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8611 (exit $ac_status); }; } &&
8612 { ac_try='test -s conftest$ac_exeext'
8613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 (exit $ac_status); }; }; then
8618 ac_cv_lib_glut_glutMainLoop=yes
8620 echo "$as_me: failed program was:" >&5
8621 sed 's/^/| /' conftest.$ac_ext >&5
8623 ac_cv_lib_glut_glutMainLoop=no
8625 rm -f conftest.err conftest.$ac_objext \
8626 conftest$ac_exeext conftest.$ac_ext
8627 LIBS=$ac_check_lib_save_LIBS
8629 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
8630 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
8631 if test $ac_cv_lib_glut_glutMainLoop = yes; then
8632 GLUT_LIBS="-lglut -lXmu -lXi"
8634 GLUT32FILES='$(GLUT32FILES)'
8644 for ac_header in audio/audiolib.h
8646 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8648 echo "$as_me:$LINENO: checking for $ac_header" >&5
8649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8651 echo $ECHO_N "(cached) $ECHO_C" >&6
8653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8656 # Is the header compilable?
8657 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8658 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8659 cat >conftest.$ac_ext <<_ACEOF
8662 cat confdefs.h >>conftest.$ac_ext
8663 cat >>conftest.$ac_ext <<_ACEOF
8664 /* end confdefs.h. */
8665 $ac_includes_default
8666 #include <$ac_header>
8668 rm -f conftest.$ac_objext
8669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8670 (eval $ac_compile) 2>conftest.er1
8672 grep -v '^ *+' conftest.er1 >conftest.err
8674 cat conftest.err >&5
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); } &&
8677 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682 (exit $ac_status); }; } &&
8683 { ac_try='test -s conftest.$ac_objext'
8684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8688 (exit $ac_status); }; }; then
8689 ac_header_compiler=yes
8691 echo "$as_me: failed program was:" >&5
8692 sed 's/^/| /' conftest.$ac_ext >&5
8694 ac_header_compiler=no
8696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8697 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8698 echo "${ECHO_T}$ac_header_compiler" >&6
8700 # Is the header present?
8701 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8702 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8703 cat >conftest.$ac_ext <<_ACEOF
8706 cat confdefs.h >>conftest.$ac_ext
8707 cat >>conftest.$ac_ext <<_ACEOF
8708 /* end confdefs.h. */
8709 #include <$ac_header>
8711 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8712 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8714 grep -v '^ *+' conftest.er1 >conftest.err
8716 cat conftest.err >&5
8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 (exit $ac_status); } >/dev/null; then
8719 if test -s conftest.err; then
8720 ac_cpp_err=$ac_c_preproc_warn_flag
8721 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8728 if test -z "$ac_cpp_err"; then
8729 ac_header_preproc=yes
8731 echo "$as_me: failed program was:" >&5
8732 sed 's/^/| /' conftest.$ac_ext >&5
8734 ac_header_preproc=no
8736 rm -f conftest.err conftest.$ac_ext
8737 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8738 echo "${ECHO_T}$ac_header_preproc" >&6
8740 # So? What about this header?
8741 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8743 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8744 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8746 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8747 ac_header_preproc=yes
8750 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8751 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8752 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8753 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8754 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8755 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8756 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8757 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8758 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8759 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8760 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8761 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8764 ## ------------------------------------ ##
8765 ## Report this to wine-devel@winehq.org ##
8766 ## ------------------------------------ ##
8769 sed "s/^/$as_me: WARNING: /" >&2
8772 echo "$as_me:$LINENO: checking for $ac_header" >&5
8773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8775 echo $ECHO_N "(cached) $ECHO_C" >&6
8777 eval "$as_ac_Header=\$ac_header_preproc"
8779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8780 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8783 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8784 cat >>confdefs.h <<_ACEOF
8785 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8788 for ac_header in audio/soundlib.h
8790 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8791 echo "$as_me:$LINENO: checking for $ac_header" >&5
8792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8794 echo $ECHO_N "(cached) $ECHO_C" >&6
8796 cat >conftest.$ac_ext <<_ACEOF
8799 cat confdefs.h >>conftest.$ac_ext
8800 cat >>conftest.$ac_ext <<_ACEOF
8801 /* end confdefs.h. */
8802 #include <audio/audiolib.h>
8804 #include <$ac_header>
8806 rm -f conftest.$ac_objext
8807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8808 (eval $ac_compile) 2>conftest.er1
8810 grep -v '^ *+' conftest.er1 >conftest.err
8812 cat conftest.err >&5
8813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814 (exit $ac_status); } &&
8815 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820 (exit $ac_status); }; } &&
8821 { ac_try='test -s conftest.$ac_objext'
8822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826 (exit $ac_status); }; }; then
8827 eval "$as_ac_Header=yes"
8829 echo "$as_me: failed program was:" >&5
8830 sed 's/^/| /' conftest.$ac_ext >&5
8832 eval "$as_ac_Header=no"
8834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8837 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8838 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8839 cat >>confdefs.h <<_ACEOF
8840 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8847 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8848 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8849 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8850 echo $ECHO_N "(cached) $ECHO_C" >&6
8852 ac_check_lib_save_LIBS=$LIBS
8853 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8854 cat >conftest.$ac_ext <<_ACEOF
8857 cat confdefs.h >>conftest.$ac_ext
8858 cat >>conftest.$ac_ext <<_ACEOF
8859 /* end confdefs.h. */
8861 /* Override any gcc2 internal prototype to avoid an error. */
8865 /* We use char because int might match the return type of a gcc2
8866 builtin and then its argument prototype would still apply. */
8867 char AuCreateFlow ();
8876 rm -f conftest.$ac_objext conftest$ac_exeext
8877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8878 (eval $ac_link) 2>conftest.er1
8880 grep -v '^ *+' conftest.er1 >conftest.err
8882 cat conftest.err >&5
8883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8884 (exit $ac_status); } &&
8885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890 (exit $ac_status); }; } &&
8891 { ac_try='test -s conftest$ac_exeext'
8892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8896 (exit $ac_status); }; }; then
8897 ac_cv_lib_audio_AuCreateFlow=yes
8899 echo "$as_me: failed program was:" >&5
8900 sed 's/^/| /' conftest.$ac_ext >&5
8902 ac_cv_lib_audio_AuCreateFlow=no
8904 rm -f conftest.err conftest.$ac_objext \
8905 conftest$ac_exeext conftest.$ac_ext
8906 LIBS=$ac_check_lib_save_LIBS
8908 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8909 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8910 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8912 cat >>confdefs.h <<\_ACEOF
8916 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8924 CPPFLAGS="$ac_save_CPPFLAGS"
8933 if test "x$with_curses" != "xno"
8936 for ac_header in ncurses.h
8938 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8940 echo "$as_me:$LINENO: checking for $ac_header" >&5
8941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8943 echo $ECHO_N "(cached) $ECHO_C" >&6
8945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8948 # Is the header compilable?
8949 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8951 cat >conftest.$ac_ext <<_ACEOF
8954 cat confdefs.h >>conftest.$ac_ext
8955 cat >>conftest.$ac_ext <<_ACEOF
8956 /* end confdefs.h. */
8957 $ac_includes_default
8958 #include <$ac_header>
8960 rm -f conftest.$ac_objext
8961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8962 (eval $ac_compile) 2>conftest.er1
8964 grep -v '^ *+' conftest.er1 >conftest.err
8966 cat conftest.err >&5
8967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968 (exit $ac_status); } &&
8969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); }; } &&
8975 { ac_try='test -s conftest.$ac_objext'
8976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980 (exit $ac_status); }; }; then
8981 ac_header_compiler=yes
8983 echo "$as_me: failed program was:" >&5
8984 sed 's/^/| /' conftest.$ac_ext >&5
8986 ac_header_compiler=no
8988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8990 echo "${ECHO_T}$ac_header_compiler" >&6
8992 # Is the header present?
8993 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8994 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8995 cat >conftest.$ac_ext <<_ACEOF
8998 cat confdefs.h >>conftest.$ac_ext
8999 cat >>conftest.$ac_ext <<_ACEOF
9000 /* end confdefs.h. */
9001 #include <$ac_header>
9003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9006 grep -v '^ *+' conftest.er1 >conftest.err
9008 cat conftest.err >&5
9009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9010 (exit $ac_status); } >/dev/null; then
9011 if test -s conftest.err; then
9012 ac_cpp_err=$ac_c_preproc_warn_flag
9013 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9020 if test -z "$ac_cpp_err"; then
9021 ac_header_preproc=yes
9023 echo "$as_me: failed program was:" >&5
9024 sed 's/^/| /' conftest.$ac_ext >&5
9026 ac_header_preproc=no
9028 rm -f conftest.err conftest.$ac_ext
9029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9030 echo "${ECHO_T}$ac_header_preproc" >&6
9032 # So? What about this header?
9033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9035 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9036 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9038 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9039 ac_header_preproc=yes
9042 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9043 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9044 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9045 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9046 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9047 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9048 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9049 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9052 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9053 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9056 ## ------------------------------------ ##
9057 ## Report this to wine-devel@winehq.org ##
9058 ## ------------------------------------ ##
9061 sed "s/^/$as_me: WARNING: /" >&2
9064 echo "$as_me:$LINENO: checking for $ac_header" >&5
9065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9067 echo $ECHO_N "(cached) $ECHO_C" >&6
9069 eval "$as_ac_Header=\$ac_header_preproc"
9071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9076 cat >>confdefs.h <<_ACEOF
9077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9079 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9080 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9081 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9082 echo $ECHO_N "(cached) $ECHO_C" >&6
9084 ac_check_lib_save_LIBS=$LIBS
9085 LIBS="-lncurses $LIBS"
9086 cat >conftest.$ac_ext <<_ACEOF
9089 cat confdefs.h >>conftest.$ac_ext
9090 cat >>conftest.$ac_ext <<_ACEOF
9091 /* end confdefs.h. */
9093 /* Override any gcc2 internal prototype to avoid an error. */
9097 /* We use char because int might match the return type of a gcc2
9098 builtin and then its argument prototype would still apply. */
9108 rm -f conftest.$ac_objext conftest$ac_exeext
9109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9110 (eval $ac_link) 2>conftest.er1
9112 grep -v '^ *+' conftest.er1 >conftest.err
9114 cat conftest.err >&5
9115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9116 (exit $ac_status); } &&
9117 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9122 (exit $ac_status); }; } &&
9123 { ac_try='test -s conftest$ac_exeext'
9124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9128 (exit $ac_status); }; }; then
9129 ac_cv_lib_ncurses_waddch=yes
9131 echo "$as_me: failed program was:" >&5
9132 sed 's/^/| /' conftest.$ac_ext >&5
9134 ac_cv_lib_ncurses_waddch=no
9136 rm -f conftest.err conftest.$ac_objext \
9137 conftest$ac_exeext conftest.$ac_ext
9138 LIBS=$ac_check_lib_save_LIBS
9140 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9141 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9142 if test $ac_cv_lib_ncurses_waddch = yes; then
9144 cat >>confdefs.h <<\_ACEOF
9145 #define HAVE_LIBNCURSES 1
9148 CURSESLIBS="-lncurses"
9151 for ac_header in curses.h
9153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9155 echo "$as_me:$LINENO: checking for $ac_header" >&5
9156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9158 echo $ECHO_N "(cached) $ECHO_C" >&6
9160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9163 # Is the header compilable?
9164 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9165 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9166 cat >conftest.$ac_ext <<_ACEOF
9169 cat confdefs.h >>conftest.$ac_ext
9170 cat >>conftest.$ac_ext <<_ACEOF
9171 /* end confdefs.h. */
9172 $ac_includes_default
9173 #include <$ac_header>
9175 rm -f conftest.$ac_objext
9176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9177 (eval $ac_compile) 2>conftest.er1
9179 grep -v '^ *+' conftest.er1 >conftest.err
9181 cat conftest.err >&5
9182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9183 (exit $ac_status); } &&
9184 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189 (exit $ac_status); }; } &&
9190 { ac_try='test -s conftest.$ac_objext'
9191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9195 (exit $ac_status); }; }; then
9196 ac_header_compiler=yes
9198 echo "$as_me: failed program was:" >&5
9199 sed 's/^/| /' conftest.$ac_ext >&5
9201 ac_header_compiler=no
9203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9204 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9205 echo "${ECHO_T}$ac_header_compiler" >&6
9207 # Is the header present?
9208 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9209 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9210 cat >conftest.$ac_ext <<_ACEOF
9213 cat confdefs.h >>conftest.$ac_ext
9214 cat >>conftest.$ac_ext <<_ACEOF
9215 /* end confdefs.h. */
9216 #include <$ac_header>
9218 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9219 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9221 grep -v '^ *+' conftest.er1 >conftest.err
9223 cat conftest.err >&5
9224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9225 (exit $ac_status); } >/dev/null; then
9226 if test -s conftest.err; then
9227 ac_cpp_err=$ac_c_preproc_warn_flag
9228 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9235 if test -z "$ac_cpp_err"; then
9236 ac_header_preproc=yes
9238 echo "$as_me: failed program was:" >&5
9239 sed 's/^/| /' conftest.$ac_ext >&5
9241 ac_header_preproc=no
9243 rm -f conftest.err conftest.$ac_ext
9244 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9245 echo "${ECHO_T}$ac_header_preproc" >&6
9247 # So? What about this header?
9248 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9250 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9251 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9253 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9254 ac_header_preproc=yes
9257 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9258 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9259 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9260 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9261 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9262 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9263 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9264 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9266 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9267 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9268 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9271 ## ------------------------------------ ##
9272 ## Report this to wine-devel@winehq.org ##
9273 ## ------------------------------------ ##
9276 sed "s/^/$as_me: WARNING: /" >&2
9279 echo "$as_me:$LINENO: checking for $ac_header" >&5
9280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9282 echo $ECHO_N "(cached) $ECHO_C" >&6
9284 eval "$as_ac_Header=\$ac_header_preproc"
9286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9291 cat >>confdefs.h <<_ACEOF
9292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9294 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9295 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9296 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9297 echo $ECHO_N "(cached) $ECHO_C" >&6
9299 ac_check_lib_save_LIBS=$LIBS
9300 LIBS="-lcurses $LIBS"
9301 cat >conftest.$ac_ext <<_ACEOF
9304 cat confdefs.h >>conftest.$ac_ext
9305 cat >>conftest.$ac_ext <<_ACEOF
9306 /* end confdefs.h. */
9308 /* Override any gcc2 internal prototype to avoid an error. */
9312 /* We use char because int might match the return type of a gcc2
9313 builtin and then its argument prototype would still apply. */
9323 rm -f conftest.$ac_objext conftest$ac_exeext
9324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9325 (eval $ac_link) 2>conftest.er1
9327 grep -v '^ *+' conftest.er1 >conftest.err
9329 cat conftest.err >&5
9330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9331 (exit $ac_status); } &&
9332 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9337 (exit $ac_status); }; } &&
9338 { ac_try='test -s conftest$ac_exeext'
9339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9343 (exit $ac_status); }; }; then
9344 ac_cv_lib_curses_waddch=yes
9346 echo "$as_me: failed program was:" >&5
9347 sed 's/^/| /' conftest.$ac_ext >&5
9349 ac_cv_lib_curses_waddch=no
9351 rm -f conftest.err conftest.$ac_objext \
9352 conftest$ac_exeext conftest.$ac_ext
9353 LIBS=$ac_check_lib_save_LIBS
9355 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9356 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9357 if test $ac_cv_lib_curses_waddch = yes; then
9359 cat >>confdefs.h <<\_ACEOF
9360 #define HAVE_LIBCURSES 1
9363 CURSESLIBS="-lcurses"
9379 # Extract the first word of "sane-config", so it can be a program name with args.
9380 set dummy sane-config; ac_word=$2
9381 echo "$as_me:$LINENO: checking for $ac_word" >&5
9382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9383 if test "${ac_cv_prog_sane_devel+set}" = set; then
9384 echo $ECHO_N "(cached) $ECHO_C" >&6
9386 if test -n "$sane_devel"; then
9387 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9393 test -z "$as_dir" && as_dir=.
9394 for ac_exec_ext in '' $ac_executable_extensions; do
9395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9396 ac_cv_prog_sane_devel="sane-config"
9397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9403 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9406 sane_devel=$ac_cv_prog_sane_devel
9407 if test -n "$sane_devel"; then
9408 echo "$as_me:$LINENO: result: $sane_devel" >&5
9409 echo "${ECHO_T}$sane_devel" >&6
9411 echo "$as_me:$LINENO: result: no" >&5
9412 echo "${ECHO_T}no" >&6
9415 if test "$sane_devel" = "no"
9420 SANELIBS="`$sane_devel --libs`"
9421 SANEINCL="`$sane_devel --cflags`"
9422 ac_save_CPPFLAGS="$CPPFLAGS"
9423 ac_save_LIBS="$LIBS"
9424 CPPFLAGS="$CPPFLAGS $SANEINCL"
9425 LIBS="$LIBS $SANELIBS"
9426 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9427 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9428 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9429 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9430 echo $ECHO_N "(cached) $ECHO_C" >&6
9432 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9433 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9435 # Is the header compilable?
9436 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9437 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9438 cat >conftest.$ac_ext <<_ACEOF
9441 cat confdefs.h >>conftest.$ac_ext
9442 cat >>conftest.$ac_ext <<_ACEOF
9443 /* end confdefs.h. */
9444 $ac_includes_default
9445 #include <sane/sane.h>
9447 rm -f conftest.$ac_objext
9448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9449 (eval $ac_compile) 2>conftest.er1
9451 grep -v '^ *+' conftest.er1 >conftest.err
9453 cat conftest.err >&5
9454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9455 (exit $ac_status); } &&
9456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9461 (exit $ac_status); }; } &&
9462 { ac_try='test -s conftest.$ac_objext'
9463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9467 (exit $ac_status); }; }; then
9468 ac_header_compiler=yes
9470 echo "$as_me: failed program was:" >&5
9471 sed 's/^/| /' conftest.$ac_ext >&5
9473 ac_header_compiler=no
9475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9476 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9477 echo "${ECHO_T}$ac_header_compiler" >&6
9479 # Is the header present?
9480 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9481 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9482 cat >conftest.$ac_ext <<_ACEOF
9485 cat confdefs.h >>conftest.$ac_ext
9486 cat >>conftest.$ac_ext <<_ACEOF
9487 /* end confdefs.h. */
9488 #include <sane/sane.h>
9490 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9491 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9493 grep -v '^ *+' conftest.er1 >conftest.err
9495 cat conftest.err >&5
9496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9497 (exit $ac_status); } >/dev/null; then
9498 if test -s conftest.err; then
9499 ac_cpp_err=$ac_c_preproc_warn_flag
9500 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9507 if test -z "$ac_cpp_err"; then
9508 ac_header_preproc=yes
9510 echo "$as_me: failed program was:" >&5
9511 sed 's/^/| /' conftest.$ac_ext >&5
9513 ac_header_preproc=no
9515 rm -f conftest.err conftest.$ac_ext
9516 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9517 echo "${ECHO_T}$ac_header_preproc" >&6
9519 # So? What about this header?
9520 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9522 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9523 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9524 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9525 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9526 ac_header_preproc=yes
9529 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9530 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9531 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9532 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9533 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9534 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9535 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9536 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9537 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9538 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9539 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9540 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9543 ## ------------------------------------ ##
9544 ## Report this to wine-devel@winehq.org ##
9545 ## ------------------------------------ ##
9548 sed "s/^/$as_me: WARNING: /" >&2
9551 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9552 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9553 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9554 echo $ECHO_N "(cached) $ECHO_C" >&6
9556 ac_cv_header_sane_sane_h=$ac_header_preproc
9558 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9559 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9562 if test $ac_cv_header_sane_sane_h = yes; then
9563 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9564 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9565 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9566 echo $ECHO_N "(cached) $ECHO_C" >&6
9568 ac_check_lib_save_LIBS=$LIBS
9570 cat >conftest.$ac_ext <<_ACEOF
9573 cat confdefs.h >>conftest.$ac_ext
9574 cat >>conftest.$ac_ext <<_ACEOF
9575 /* end confdefs.h. */
9577 /* Override any gcc2 internal prototype to avoid an error. */
9581 /* We use char because int might match the return type of a gcc2
9582 builtin and then its argument prototype would still apply. */
9592 rm -f conftest.$ac_objext conftest$ac_exeext
9593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9594 (eval $ac_link) 2>conftest.er1
9596 grep -v '^ *+' conftest.er1 >conftest.err
9598 cat conftest.err >&5
9599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600 (exit $ac_status); } &&
9601 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9606 (exit $ac_status); }; } &&
9607 { ac_try='test -s conftest$ac_exeext'
9608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9612 (exit $ac_status); }; }; then
9613 ac_cv_lib_sane_sane_open=yes
9615 echo "$as_me: failed program was:" >&5
9616 sed 's/^/| /' conftest.$ac_ext >&5
9618 ac_cv_lib_sane_sane_open=no
9620 rm -f conftest.err conftest.$ac_objext \
9621 conftest$ac_exeext conftest.$ac_ext
9622 LIBS=$ac_check_lib_save_LIBS
9624 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9625 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9626 if test $ac_cv_lib_sane_sane_open = yes; then
9628 cat >>confdefs.h <<\_ACEOF
9643 LIBS="$ac_save_LIBS"
9644 CPPFLAGS="$ac_save_CPPFLAGS"
9650 for ac_header in unicode/ubidi.h
9652 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9654 echo "$as_me:$LINENO: checking for $ac_header" >&5
9655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9657 echo $ECHO_N "(cached) $ECHO_C" >&6
9659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9662 # Is the header compilable?
9663 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9664 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9665 cat >conftest.$ac_ext <<_ACEOF
9668 cat confdefs.h >>conftest.$ac_ext
9669 cat >>conftest.$ac_ext <<_ACEOF
9670 /* end confdefs.h. */
9671 $ac_includes_default
9672 #include <$ac_header>
9674 rm -f conftest.$ac_objext
9675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9676 (eval $ac_compile) 2>conftest.er1
9678 grep -v '^ *+' conftest.er1 >conftest.err
9680 cat conftest.err >&5
9681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682 (exit $ac_status); } &&
9683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9688 (exit $ac_status); }; } &&
9689 { ac_try='test -s conftest.$ac_objext'
9690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694 (exit $ac_status); }; }; then
9695 ac_header_compiler=yes
9697 echo "$as_me: failed program was:" >&5
9698 sed 's/^/| /' conftest.$ac_ext >&5
9700 ac_header_compiler=no
9702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9703 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9704 echo "${ECHO_T}$ac_header_compiler" >&6
9706 # Is the header present?
9707 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9708 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9709 cat >conftest.$ac_ext <<_ACEOF
9712 cat confdefs.h >>conftest.$ac_ext
9713 cat >>conftest.$ac_ext <<_ACEOF
9714 /* end confdefs.h. */
9715 #include <$ac_header>
9717 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9718 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9720 grep -v '^ *+' conftest.er1 >conftest.err
9722 cat conftest.err >&5
9723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9724 (exit $ac_status); } >/dev/null; then
9725 if test -s conftest.err; then
9726 ac_cpp_err=$ac_c_preproc_warn_flag
9727 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9734 if test -z "$ac_cpp_err"; then
9735 ac_header_preproc=yes
9737 echo "$as_me: failed program was:" >&5
9738 sed 's/^/| /' conftest.$ac_ext >&5
9740 ac_header_preproc=no
9742 rm -f conftest.err conftest.$ac_ext
9743 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9744 echo "${ECHO_T}$ac_header_preproc" >&6
9746 # So? What about this header?
9747 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9749 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9750 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9751 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9752 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9753 ac_header_preproc=yes
9756 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9757 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9758 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9759 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9760 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9761 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9762 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9763 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9765 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9766 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9767 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9770 ## ------------------------------------ ##
9771 ## Report this to wine-devel@winehq.org ##
9772 ## ------------------------------------ ##
9775 sed "s/^/$as_me: WARNING: /" >&2
9778 echo "$as_me:$LINENO: checking for $ac_header" >&5
9779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9781 echo $ECHO_N "(cached) $ECHO_C" >&6
9783 eval "$as_ac_Header=\$ac_header_preproc"
9785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9789 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9790 cat >>confdefs.h <<_ACEOF
9791 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9798 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
9801 ICU_LIB_DIR="${ICU_LIB_DIR-/usr/lib}"
9802 ICUUC_LIB="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
9803 ICUDATA_LIB="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
9804 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
9805 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
9806 LIBS="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9807 cat >conftest.$ac_ext <<_ACEOF
9810 cat confdefs.h >>conftest.$ac_ext
9811 cat >>conftest.$ac_ext <<_ACEOF
9812 /* end confdefs.h. */
9813 #include <unicode/ubidi.h>
9822 rm -f conftest.$ac_objext conftest$ac_exeext
9823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9824 (eval $ac_link) 2>conftest.er1
9826 grep -v '^ *+' conftest.er1 >conftest.err
9828 cat conftest.err >&5
9829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9830 (exit $ac_status); } &&
9831 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9836 (exit $ac_status); }; } &&
9837 { ac_try='test -s conftest$ac_exeext'
9838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9842 (exit $ac_status); }; }; then
9844 cat >>confdefs.h <<\_ACEOF
9848 ICULIBS="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9850 echo "$as_me:$LINENO: result: yes" >&5
9851 echo "${ECHO_T}yes" >&6
9853 echo "$as_me: failed program was:" >&5
9854 sed 's/^/| /' conftest.$ac_ext >&5
9856 echo "$as_me:$LINENO: result: no" >&5
9857 echo "${ECHO_T}no" >&6
9859 rm -f conftest.err conftest.$ac_objext \
9860 conftest$ac_exeext conftest.$ac_ext
9864 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
9865 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
9866 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
9867 echo $ECHO_N "(cached) $ECHO_C" >&6
9869 ac_check_lib_save_LIBS=$LIBS
9870 LIBS="-lfreetype $X_LIBS $LIBS"
9871 cat >conftest.$ac_ext <<_ACEOF
9874 cat confdefs.h >>conftest.$ac_ext
9875 cat >>conftest.$ac_ext <<_ACEOF
9876 /* end confdefs.h. */
9878 /* Override any gcc2 internal prototype to avoid an error. */
9882 /* We use char because int might match the return type of a gcc2
9883 builtin and then its argument prototype would still apply. */
9884 char FT_Init_FreeType ();
9888 FT_Init_FreeType ();
9893 rm -f conftest.$ac_objext conftest$ac_exeext
9894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9895 (eval $ac_link) 2>conftest.er1
9897 grep -v '^ *+' conftest.er1 >conftest.err
9899 cat conftest.err >&5
9900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9901 (exit $ac_status); } &&
9902 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9907 (exit $ac_status); }; } &&
9908 { ac_try='test -s conftest$ac_exeext'
9909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9913 (exit $ac_status); }; }; then
9914 ac_cv_lib_freetype_FT_Init_FreeType=yes
9916 echo "$as_me: failed program was:" >&5
9917 sed 's/^/| /' conftest.$ac_ext >&5
9919 ac_cv_lib_freetype_FT_Init_FreeType=no
9921 rm -f conftest.err conftest.$ac_objext \
9922 conftest$ac_exeext conftest.$ac_ext
9923 LIBS=$ac_check_lib_save_LIBS
9925 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
9926 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
9927 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
9933 if test "$ft_lib" = "no"
9937 wine_cv_msg_freetype=no
9939 # Extract the first word of "freetype-config", so it can be a program name with args.
9940 set dummy freetype-config; ac_word=$2
9941 echo "$as_me:$LINENO: checking for $ac_word" >&5
9942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9943 if test "${ac_cv_prog_ft_devel+set}" = set; then
9944 echo $ECHO_N "(cached) $ECHO_C" >&6
9946 if test -n "$ft_devel"; then
9947 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
9949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9953 test -z "$as_dir" && as_dir=.
9954 for ac_exec_ext in '' $ac_executable_extensions; do
9955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9956 ac_cv_prog_ft_devel="freetype-config"
9957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9963 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
9966 ft_devel=$ac_cv_prog_ft_devel
9967 if test -n "$ft_devel"; then
9968 echo "$as_me:$LINENO: result: $ft_devel" >&5
9969 echo "${ECHO_T}$ft_devel" >&6
9971 echo "$as_me:$LINENO: result: no" >&5
9972 echo "${ECHO_T}no" >&6
9975 if test "$ft_devel" = "no"
9977 # Extract the first word of "freetype2-config", so it can be a program name with args.
9978 set dummy freetype2-config; ac_word=$2
9979 echo "$as_me:$LINENO: checking for $ac_word" >&5
9980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9981 if test "${ac_cv_prog_ft_devel2+set}" = set; then
9982 echo $ECHO_N "(cached) $ECHO_C" >&6
9984 if test -n "$ft_devel2"; then
9985 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
9987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9991 test -z "$as_dir" && as_dir=.
9992 for ac_exec_ext in '' $ac_executable_extensions; do
9993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9994 ac_cv_prog_ft_devel2="freetype2-config"
9995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10001 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10004 ft_devel2=$ac_cv_prog_ft_devel2
10005 if test -n "$ft_devel2"; then
10006 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10007 echo "${ECHO_T}$ft_devel2" >&6
10009 echo "$as_me:$LINENO: result: no" >&5
10010 echo "${ECHO_T}no" >&6
10013 if test "$ft_devel2" = "freetype2-config"
10015 ft_devel=$ft_devel2
10018 if test "$ft_devel" = "no"
10022 wine_cv_msg_freetype=yes
10024 FREETYPELIBS=`$ft_devel --libs`
10025 FREETYPEINCL=`$ft_devel --cflags`
10026 ac_save_CPPFLAGS="$CPPFLAGS"
10027 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
10038 for ac_header in ft2build.h \
10039 freetype/freetype.h \
10040 freetype/ftglyph.h \
10041 freetype/tttables.h \
10042 freetype/ftnames.h \
10043 freetype/ftsnames.h \
10044 freetype/ttnameid.h \
10045 freetype/ftoutln.h \
10046 freetype/ftwinfnt.h \
10047 freetype/internal/sfnt.h
10049 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10050 echo "$as_me:$LINENO: checking for $ac_header" >&5
10051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10053 echo $ECHO_N "(cached) $ECHO_C" >&6
10055 cat >conftest.$ac_ext <<_ACEOF
10058 cat confdefs.h >>conftest.$ac_ext
10059 cat >>conftest.$ac_ext <<_ACEOF
10060 /* end confdefs.h. */
10061 #if HAVE_FT2BUILD_H
10062 #include <ft2build.h>
10065 #include <$ac_header>
10067 rm -f conftest.$ac_objext
10068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10069 (eval $ac_compile) 2>conftest.er1
10071 grep -v '^ *+' conftest.er1 >conftest.err
10073 cat conftest.err >&5
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); } &&
10076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10078 (eval $ac_try) 2>&5
10080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10081 (exit $ac_status); }; } &&
10082 { ac_try='test -s conftest.$ac_objext'
10083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10084 (eval $ac_try) 2>&5
10086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10087 (exit $ac_status); }; }; then
10088 eval "$as_ac_Header=yes"
10090 echo "$as_me: failed program was:" >&5
10091 sed 's/^/| /' conftest.$ac_ext >&5
10093 eval "$as_ac_Header=no"
10095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10099 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10100 cat >>confdefs.h <<_ACEOF
10101 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10108 cat >conftest.$ac_ext <<_ACEOF
10111 cat confdefs.h >>conftest.$ac_ext
10112 cat >>conftest.$ac_ext <<_ACEOF
10113 /* end confdefs.h. */
10114 #include <ft2build.h>
10115 #include <freetype/fttrigon.h>
10117 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10118 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10120 grep -v '^ *+' conftest.er1 >conftest.err
10122 cat conftest.err >&5
10123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10124 (exit $ac_status); } >/dev/null; then
10125 if test -s conftest.err; then
10126 ac_cpp_err=$ac_c_preproc_warn_flag
10127 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10134 if test -z "$ac_cpp_err"; then
10136 cat >>confdefs.h <<\_ACEOF
10137 #define HAVE_FREETYPE_FTTRIGON_H 1
10140 wine_cv_fttrigon=yes
10142 echo "$as_me: failed program was:" >&5
10143 sed 's/^/| /' conftest.$ac_ext >&5
10145 wine_cv_fttrigon=no
10147 rm -f conftest.err conftest.$ac_ext
10148 CPPFLAGS="$ac_save_CPPFLAGS"
10149 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10152 cat >>confdefs.h <<\_ACEOF
10153 #define HAVE_FREETYPE 1
10156 wine_cv_msg_freetype=no
10160 wine_cv_msg_freetype=yes
10167 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
10169 FONTSSUBDIRS="fonts"
10173 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10174 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10175 if test "${ac_cv_c_ppdev+set}" = set; then
10176 echo $ECHO_N "(cached) $ECHO_C" >&6
10178 cat >conftest.$ac_ext <<_ACEOF
10181 cat confdefs.h >>conftest.$ac_ext
10182 cat >>conftest.$ac_ext <<_ACEOF
10183 /* end confdefs.h. */
10184 #include <linux/ppdev.h>
10188 ioctl (1,PPCLAIM,0)
10193 rm -f conftest.$ac_objext
10194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10195 (eval $ac_compile) 2>conftest.er1
10197 grep -v '^ *+' conftest.er1 >conftest.err
10199 cat conftest.err >&5
10200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); } &&
10202 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
10208 { ac_try='test -s conftest.$ac_objext'
10209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10210 (eval $ac_try) 2>&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); }; }; then
10214 ac_cv_c_ppdev="yes"
10216 echo "$as_me: failed program was:" >&5
10217 sed 's/^/| /' conftest.$ac_ext >&5
10221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10224 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10225 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10226 if test "$ac_cv_c_ppdev" = "yes"
10229 cat >>confdefs.h <<\_ACEOF
10230 #define HAVE_PPDEV 1
10235 echo "$as_me:$LINENO: checking for va_copy" >&5
10236 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10237 if test "${ac_cv_c_va_copy+set}" = set; then
10238 echo $ECHO_N "(cached) $ECHO_C" >&6
10240 cat >conftest.$ac_ext <<_ACEOF
10243 cat confdefs.h >>conftest.$ac_ext
10244 cat >>conftest.$ac_ext <<_ACEOF
10245 /* end confdefs.h. */
10246 #include <stdarg.h>
10257 rm -f conftest.$ac_objext conftest$ac_exeext
10258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10259 (eval $ac_link) 2>conftest.er1
10261 grep -v '^ *+' conftest.er1 >conftest.err
10263 cat conftest.err >&5
10264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265 (exit $ac_status); } &&
10266 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
10272 { ac_try='test -s conftest$ac_exeext'
10273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10274 (eval $ac_try) 2>&5
10276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10277 (exit $ac_status); }; }; then
10278 ac_cv_c_va_copy="yes"
10280 echo "$as_me: failed program was:" >&5
10281 sed 's/^/| /' conftest.$ac_ext >&5
10283 ac_cv_c_va_copy="no"
10285 rm -f conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10289 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10290 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10291 if test "$ac_cv_c_va_copy" = "yes"
10294 cat >>confdefs.h <<\_ACEOF
10295 #define HAVE_VA_COPY 1
10299 echo "$as_me:$LINENO: checking for __va_copy" >&5
10300 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10301 if test "${ac_cv_c___va_copy+set}" = set; then
10302 echo $ECHO_N "(cached) $ECHO_C" >&6
10304 cat >conftest.$ac_ext <<_ACEOF
10307 cat confdefs.h >>conftest.$ac_ext
10308 cat >>conftest.$ac_ext <<_ACEOF
10309 /* end confdefs.h. */
10310 #include <stdarg.h>
10315 __va_copy(ap1,ap2);
10321 rm -f conftest.$ac_objext conftest$ac_exeext
10322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10323 (eval $ac_link) 2>conftest.er1
10325 grep -v '^ *+' conftest.er1 >conftest.err
10327 cat conftest.err >&5
10328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329 (exit $ac_status); } &&
10330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10332 (eval $ac_try) 2>&5
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); }; } &&
10336 { ac_try='test -s conftest$ac_exeext'
10337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10338 (eval $ac_try) 2>&5
10340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10341 (exit $ac_status); }; }; then
10342 ac_cv_c___va_copy="yes"
10344 echo "$as_me: failed program was:" >&5
10345 sed 's/^/| /' conftest.$ac_ext >&5
10347 ac_cv_c___va_copy="no"
10349 rm -f conftest.err conftest.$ac_objext \
10350 conftest$ac_exeext conftest.$ac_ext
10353 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10354 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10355 if test "$ac_cv_c___va_copy" = "yes"
10358 cat >>confdefs.h <<\_ACEOF
10359 #define HAVE___VA_COPY 1
10364 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10365 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10366 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10367 echo $ECHO_N "(cached) $ECHO_C" >&6
10369 cat >conftest.$ac_ext <<_ACEOF
10372 cat confdefs.h >>conftest.$ac_ext
10373 cat >>conftest.$ac_ext <<_ACEOF
10374 /* end confdefs.h. */
10375 #include <setjmp.h>
10380 sigsetjmp( buf, 1 );
10381 siglongjmp( buf, 1 );
10386 rm -f conftest.$ac_objext conftest$ac_exeext
10387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10388 (eval $ac_link) 2>conftest.er1
10390 grep -v '^ *+' conftest.er1 >conftest.err
10392 cat conftest.err >&5
10393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394 (exit $ac_status); } &&
10395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10397 (eval $ac_try) 2>&5
10399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400 (exit $ac_status); }; } &&
10401 { ac_try='test -s conftest$ac_exeext'
10402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10403 (eval $ac_try) 2>&5
10405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10406 (exit $ac_status); }; }; then
10407 ac_cv_c_sigsetjmp="yes"
10409 echo "$as_me: failed program was:" >&5
10410 sed 's/^/| /' conftest.$ac_ext >&5
10412 ac_cv_c_sigsetjmp="no"
10414 rm -f conftest.err conftest.$ac_objext \
10415 conftest$ac_exeext conftest.$ac_ext
10418 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10419 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10420 if test "$ac_cv_c_sigsetjmp" = "yes"
10423 cat >>confdefs.h <<\_ACEOF
10424 #define HAVE_SIGSETJMP 1
10429 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10430 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10431 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10432 echo $ECHO_N "(cached) $ECHO_C" >&6
10434 cat >conftest.$ac_ext <<_ACEOF
10437 cat confdefs.h >>conftest.$ac_ext
10438 cat >>conftest.$ac_ext <<_ACEOF
10439 /* end confdefs.h. */
10440 #define _GNU_SOURCE
10441 #include <pthread.h>
10446 if ((pthread_rwlock_t *) 0)
10448 if (sizeof (pthread_rwlock_t))
10454 rm -f conftest.$ac_objext
10455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10456 (eval $ac_compile) 2>conftest.er1
10458 grep -v '^ *+' conftest.er1 >conftest.err
10460 cat conftest.err >&5
10461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10462 (exit $ac_status); } &&
10463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10465 (eval $ac_try) 2>&5
10467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10468 (exit $ac_status); }; } &&
10469 { ac_try='test -s conftest.$ac_objext'
10470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10471 (eval $ac_try) 2>&5
10473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10474 (exit $ac_status); }; }; then
10475 ac_cv_type_pthread_rwlock_t=yes
10477 echo "$as_me: failed program was:" >&5
10478 sed 's/^/| /' conftest.$ac_ext >&5
10480 ac_cv_type_pthread_rwlock_t=no
10482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10484 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10485 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10486 if test $ac_cv_type_pthread_rwlock_t = yes; then
10488 cat >>confdefs.h <<_ACEOF
10489 #define HAVE_PTHREAD_RWLOCK_T 1
10494 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
10495 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
10496 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
10497 echo $ECHO_N "(cached) $ECHO_C" >&6
10499 cat >conftest.$ac_ext <<_ACEOF
10502 cat confdefs.h >>conftest.$ac_ext
10503 cat >>conftest.$ac_ext <<_ACEOF
10504 /* end confdefs.h. */
10505 #define _GNU_SOURCE
10506 #include <pthread.h>
10511 if ((pthread_rwlockattr_t *) 0)
10513 if (sizeof (pthread_rwlockattr_t))
10519 rm -f conftest.$ac_objext
10520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10521 (eval $ac_compile) 2>conftest.er1
10523 grep -v '^ *+' conftest.er1 >conftest.err
10525 cat conftest.err >&5
10526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10527 (exit $ac_status); } &&
10528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10530 (eval $ac_try) 2>&5
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); }; } &&
10534 { ac_try='test -s conftest.$ac_objext'
10535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10536 (eval $ac_try) 2>&5
10538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10539 (exit $ac_status); }; }; then
10540 ac_cv_type_pthread_rwlockattr_t=yes
10542 echo "$as_me: failed program was:" >&5
10543 sed 's/^/| /' conftest.$ac_ext >&5
10545 ac_cv_type_pthread_rwlockattr_t=no
10547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10549 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
10550 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
10551 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
10553 cat >>confdefs.h <<_ACEOF
10554 #define HAVE_PTHREAD_RWLOCKATTR_T 1
10561 ac_save_LIBS="$LIBS"
10562 LIBS="$LIBS $LIBPTHREAD"
10567 pthread_getattr_np \
10568 pthread_get_stackaddr_np \
10569 pthread_get_stacksize_np \
10572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10573 echo "$as_me:$LINENO: checking for $ac_func" >&5
10574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10575 if eval "test \"\${$as_ac_var+set}\" = set"; then
10576 echo $ECHO_N "(cached) $ECHO_C" >&6
10578 cat >conftest.$ac_ext <<_ACEOF
10581 cat confdefs.h >>conftest.$ac_ext
10582 cat >>conftest.$ac_ext <<_ACEOF
10583 /* end confdefs.h. */
10584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10586 #define $ac_func innocuous_$ac_func
10588 /* System header to define __stub macros and hopefully few prototypes,
10589 which can conflict with char $ac_func (); below.
10590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10591 <limits.h> exists even on freestanding compilers. */
10594 # include <limits.h>
10596 # include <assert.h>
10601 /* Override any gcc2 internal prototype to avoid an error. */
10606 /* We use char because int might match the return type of a gcc2
10607 builtin and then its argument prototype would still apply. */
10609 /* The GNU C library defines this for functions which it implements
10610 to always fail with ENOSYS. Some functions are actually named
10611 something starting with __ and the normal name is an alias. */
10612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10615 char (*f) () = $ac_func;
10624 return f != $ac_func;
10629 rm -f conftest.$ac_objext conftest$ac_exeext
10630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10631 (eval $ac_link) 2>conftest.er1
10633 grep -v '^ *+' conftest.er1 >conftest.err
10635 cat conftest.err >&5
10636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10637 (exit $ac_status); } &&
10638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10640 (eval $ac_try) 2>&5
10642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10643 (exit $ac_status); }; } &&
10644 { ac_try='test -s conftest$ac_exeext'
10645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10646 (eval $ac_try) 2>&5
10648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10649 (exit $ac_status); }; }; then
10650 eval "$as_ac_var=yes"
10652 echo "$as_me: failed program was:" >&5
10653 sed 's/^/| /' conftest.$ac_ext >&5
10655 eval "$as_ac_var=no"
10657 rm -f conftest.err conftest.$ac_objext \
10658 conftest$ac_exeext conftest.$ac_ext
10660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10662 if test `eval echo '${'$as_ac_var'}'` = yes; then
10663 cat >>confdefs.h <<_ACEOF
10664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10670 LIBS="$ac_save_LIBS"
10675 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
10677 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10679 echo "$as_me:$LINENO: checking for $ac_header" >&5
10680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10681 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10682 echo $ECHO_N "(cached) $ECHO_C" >&6
10684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10685 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10687 # Is the header compilable?
10688 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10689 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10690 cat >conftest.$ac_ext <<_ACEOF
10693 cat confdefs.h >>conftest.$ac_ext
10694 cat >>conftest.$ac_ext <<_ACEOF
10695 /* end confdefs.h. */
10696 $ac_includes_default
10697 #include <$ac_header>
10699 rm -f conftest.$ac_objext
10700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10701 (eval $ac_compile) 2>conftest.er1
10703 grep -v '^ *+' conftest.er1 >conftest.err
10705 cat conftest.err >&5
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); } &&
10708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10710 (eval $ac_try) 2>&5
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); }; } &&
10714 { ac_try='test -s conftest.$ac_objext'
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_header_compiler=yes
10722 echo "$as_me: failed program was:" >&5
10723 sed 's/^/| /' conftest.$ac_ext >&5
10725 ac_header_compiler=no
10727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10728 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10729 echo "${ECHO_T}$ac_header_compiler" >&6
10731 # Is the header present?
10732 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10733 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10734 cat >conftest.$ac_ext <<_ACEOF
10737 cat confdefs.h >>conftest.$ac_ext
10738 cat >>conftest.$ac_ext <<_ACEOF
10739 /* end confdefs.h. */
10740 #include <$ac_header>
10742 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10743 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10745 grep -v '^ *+' conftest.er1 >conftest.err
10747 cat conftest.err >&5
10748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10749 (exit $ac_status); } >/dev/null; then
10750 if test -s conftest.err; then
10751 ac_cpp_err=$ac_c_preproc_warn_flag
10752 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10759 if test -z "$ac_cpp_err"; then
10760 ac_header_preproc=yes
10762 echo "$as_me: failed program was:" >&5
10763 sed 's/^/| /' conftest.$ac_ext >&5
10765 ac_header_preproc=no
10767 rm -f conftest.err conftest.$ac_ext
10768 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10769 echo "${ECHO_T}$ac_header_preproc" >&6
10771 # So? What about this header?
10772 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10774 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10775 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10776 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10777 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10778 ac_header_preproc=yes
10781 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10782 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10783 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10784 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10785 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10786 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10787 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10788 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10789 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10790 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10791 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10792 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10795 ## ------------------------------------ ##
10796 ## Report this to wine-devel@winehq.org ##
10797 ## ------------------------------------ ##
10800 sed "s/^/$as_me: WARNING: /" >&2
10803 echo "$as_me:$LINENO: checking for $ac_header" >&5
10804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10806 echo $ECHO_N "(cached) $ECHO_C" >&6
10808 eval "$as_ac_Header=\$ac_header_preproc"
10810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10811 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10815 cat >>confdefs.h <<_ACEOF
10816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10824 echo "$as_me:$LINENO: checking for Open Sound System" >&5
10825 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
10826 if test "${ac_cv_c_opensoundsystem+set}" = set; then
10827 echo $ECHO_N "(cached) $ECHO_C" >&6
10829 cat >conftest.$ac_ext <<_ACEOF
10832 cat confdefs.h >>conftest.$ac_ext
10833 cat >>conftest.$ac_ext <<_ACEOF
10834 /* end confdefs.h. */
10836 #if defined(HAVE_SYS_SOUNDCARD_H)
10837 #include <sys/soundcard.h>
10838 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10839 #include <machine/soundcard.h>
10840 #elif defined(HAVE_SOUNDCARD_H)
10841 #include <soundcard.h>
10849 /* check for one of the Open Sound System specific SNDCTL_ defines */
10850 #if !defined(SNDCTL_DSP_STEREO)
10851 #error No open sound system
10858 rm -f conftest.$ac_objext
10859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10860 (eval $ac_compile) 2>conftest.er1
10862 grep -v '^ *+' conftest.er1 >conftest.err
10864 cat conftest.err >&5
10865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10866 (exit $ac_status); } &&
10867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10869 (eval $ac_try) 2>&5
10871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10872 (exit $ac_status); }; } &&
10873 { ac_try='test -s conftest.$ac_objext'
10874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10875 (eval $ac_try) 2>&5
10877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10878 (exit $ac_status); }; }; then
10879 ac_cv_c_opensoundsystem="yes"
10881 echo "$as_me: failed program was:" >&5
10882 sed 's/^/| /' conftest.$ac_ext >&5
10884 ac_cv_c_opensoundsystem="no"
10886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10888 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
10889 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
10891 if test "$ac_cv_c_opensoundsystem" = "yes"
10894 cat >>confdefs.h <<\_ACEOF
10900 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
10901 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
10902 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
10903 echo $ECHO_N "(cached) $ECHO_C" >&6
10905 cat >conftest.$ac_ext <<_ACEOF
10908 cat confdefs.h >>conftest.$ac_ext
10909 cat >>conftest.$ac_ext <<_ACEOF
10910 /* end confdefs.h. */
10912 #if defined(HAVE_SYS_SOUNDCARD_H)
10913 #include <sys/soundcard.h>
10914 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10915 #include <machine/soundcard.h>
10916 #elif defined(HAVE_SOUNDCARD_H)
10917 #include <soundcard.h>
10925 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
10926 #if !defined(SNDCTL_SEQ_SYNC)
10927 #error No open sound system MIDI interface
10934 rm -f conftest.$ac_objext
10935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10936 (eval $ac_compile) 2>conftest.er1
10938 grep -v '^ *+' conftest.er1 >conftest.err
10940 cat conftest.err >&5
10941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10942 (exit $ac_status); } &&
10943 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10945 (eval $ac_try) 2>&5
10947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948 (exit $ac_status); }; } &&
10949 { ac_try='test -s conftest.$ac_objext'
10950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10951 (eval $ac_try) 2>&5
10953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 (exit $ac_status); }; }; then
10955 ac_cv_c_opensoundsystem_midi="yes"
10957 echo "$as_me: failed program was:" >&5
10958 sed 's/^/| /' conftest.$ac_ext >&5
10960 ac_cv_c_opensoundsystem_midi="no"
10962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10964 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
10965 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
10967 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
10970 cat >>confdefs.h <<\_ACEOF
10971 #define HAVE_OSS_MIDI 1
10976 # Extract the first word of "artsc-config", so it can be a program name with args.
10977 set dummy artsc-config; ac_word=$2
10978 echo "$as_me:$LINENO: checking for $ac_word" >&5
10979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10980 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
10981 echo $ECHO_N "(cached) $ECHO_C" >&6
10983 case $ARTSCCONFIG in
10985 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
10988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10989 for as_dir in $PATH
10992 test -z "$as_dir" && as_dir=.
10993 for ac_exec_ext in '' $ac_executable_extensions; do
10994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10995 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
10996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11005 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
11007 if test -n "$ARTSCCONFIG"; then
11008 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11009 echo "${ECHO_T}$ARTSCCONFIG" >&6
11011 echo "$as_me:$LINENO: result: no" >&5
11012 echo "${ECHO_T}no" >&6
11015 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
11018 for i in `$ARTSCCONFIG --cflags`
11021 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
11024 ARTSC_LIBS=`$ARTSCCONFIG --libs`
11025 save_CFLAGS="$CFLAGS"
11026 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
11027 echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
11028 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6
11029 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
11030 echo $ECHO_N "(cached) $ECHO_C" >&6
11032 ac_check_lib_save_LIBS=$LIBS
11033 LIBS="-lartsc $LIBS"
11034 cat >conftest.$ac_ext <<_ACEOF
11037 cat confdefs.h >>conftest.$ac_ext
11038 cat >>conftest.$ac_ext <<_ACEOF
11039 /* end confdefs.h. */
11041 /* Override any gcc2 internal prototype to avoid an error. */
11045 /* We use char because int might match the return type of a gcc2
11046 builtin and then its argument prototype would still apply. */
11056 rm -f conftest.$ac_objext conftest$ac_exeext
11057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11058 (eval $ac_link) 2>conftest.er1
11060 grep -v '^ *+' conftest.er1 >conftest.err
11062 cat conftest.err >&5
11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); } &&
11065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11067 (eval $ac_try) 2>&5
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); }; } &&
11071 { ac_try='test -s conftest$ac_exeext'
11072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11073 (eval $ac_try) 2>&5
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); }; }; then
11077 ac_cv_lib_artsc_arts_init=yes
11079 echo "$as_me: failed program was:" >&5
11080 sed 's/^/| /' conftest.$ac_ext >&5
11082 ac_cv_lib_artsc_arts_init=no
11084 rm -f conftest.err conftest.$ac_objext \
11085 conftest$ac_exeext conftest.$ac_ext
11086 LIBS=$ac_check_lib_save_LIBS
11088 echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
11089 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6
11090 if test $ac_cv_lib_artsc_arts_init = yes; then
11091 cat >conftest.$ac_ext <<_ACEOF
11094 cat confdefs.h >>conftest.$ac_ext
11095 cat >>conftest.$ac_ext <<_ACEOF
11096 /* end confdefs.h. */
11101 arts_stream_t stream;
11106 rm -f conftest.$ac_objext
11107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11108 (eval $ac_compile) 2>conftest.er1
11110 grep -v '^ *+' conftest.er1 >conftest.err
11112 cat conftest.err >&5
11113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11114 (exit $ac_status); } &&
11115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11117 (eval $ac_try) 2>&5
11119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120 (exit $ac_status); }; } &&
11121 { ac_try='test -s conftest.$ac_objext'
11122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11123 (eval $ac_try) 2>&5
11125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11126 (exit $ac_status); }; }; then
11127 ARTSLIBS=$ARTSC_LIBS
11129 ARTSINCL=$ARTSC_CFLAGS
11132 cat >>confdefs.h <<\_ACEOF
11133 #define HAVE_ARTS 1
11137 echo "$as_me: failed program was:" >&5
11138 sed 's/^/| /' conftest.$ac_ext >&5
11141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11144 CFLAGS="$save_CFLAGS"
11151 for ac_header in alsa/asoundlib.h sys/asoundlib.h
11153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11155 echo "$as_me:$LINENO: checking for $ac_header" >&5
11156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11158 echo $ECHO_N "(cached) $ECHO_C" >&6
11160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11163 # Is the header compilable?
11164 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11165 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11166 cat >conftest.$ac_ext <<_ACEOF
11169 cat confdefs.h >>conftest.$ac_ext
11170 cat >>conftest.$ac_ext <<_ACEOF
11171 /* end confdefs.h. */
11172 $ac_includes_default
11173 #include <$ac_header>
11175 rm -f conftest.$ac_objext
11176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11177 (eval $ac_compile) 2>conftest.er1
11179 grep -v '^ *+' conftest.er1 >conftest.err
11181 cat conftest.err >&5
11182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11183 (exit $ac_status); } &&
11184 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11186 (eval $ac_try) 2>&5
11188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11189 (exit $ac_status); }; } &&
11190 { ac_try='test -s conftest.$ac_objext'
11191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11192 (eval $ac_try) 2>&5
11194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11195 (exit $ac_status); }; }; then
11196 ac_header_compiler=yes
11198 echo "$as_me: failed program was:" >&5
11199 sed 's/^/| /' conftest.$ac_ext >&5
11201 ac_header_compiler=no
11203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11204 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11205 echo "${ECHO_T}$ac_header_compiler" >&6
11207 # Is the header present?
11208 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11209 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11210 cat >conftest.$ac_ext <<_ACEOF
11213 cat confdefs.h >>conftest.$ac_ext
11214 cat >>conftest.$ac_ext <<_ACEOF
11215 /* end confdefs.h. */
11216 #include <$ac_header>
11218 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11219 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11221 grep -v '^ *+' conftest.er1 >conftest.err
11223 cat conftest.err >&5
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); } >/dev/null; then
11226 if test -s conftest.err; then
11227 ac_cpp_err=$ac_c_preproc_warn_flag
11228 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11235 if test -z "$ac_cpp_err"; then
11236 ac_header_preproc=yes
11238 echo "$as_me: failed program was:" >&5
11239 sed 's/^/| /' conftest.$ac_ext >&5
11241 ac_header_preproc=no
11243 rm -f conftest.err conftest.$ac_ext
11244 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11245 echo "${ECHO_T}$ac_header_preproc" >&6
11247 # So? What about this header?
11248 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11250 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11251 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11253 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11254 ac_header_preproc=yes
11257 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11258 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11259 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11260 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11261 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11262 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11263 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11264 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11266 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11267 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11268 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11271 ## ------------------------------------ ##
11272 ## Report this to wine-devel@winehq.org ##
11273 ## ------------------------------------ ##
11276 sed "s/^/$as_me: WARNING: /" >&2
11279 echo "$as_me:$LINENO: checking for $ac_header" >&5
11280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11282 echo $ECHO_N "(cached) $ECHO_C" >&6
11284 eval "$as_ac_Header=\$ac_header_preproc"
11286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11291 cat >>confdefs.h <<_ACEOF
11292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11299 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11301 echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
11302 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6
11303 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
11304 echo $ECHO_N "(cached) $ECHO_C" >&6
11306 ac_check_lib_save_LIBS=$LIBS
11307 LIBS="-lasound $LIBS"
11308 cat >conftest.$ac_ext <<_ACEOF
11311 cat confdefs.h >>conftest.$ac_ext
11312 cat >>conftest.$ac_ext <<_ACEOF
11313 /* end confdefs.h. */
11315 /* Override any gcc2 internal prototype to avoid an error. */
11319 /* We use char because int might match the return type of a gcc2
11320 builtin and then its argument prototype would still apply. */
11321 char snd_pcm_hw_params_get_access ();
11325 snd_pcm_hw_params_get_access ();
11330 rm -f conftest.$ac_objext conftest$ac_exeext
11331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11332 (eval $ac_link) 2>conftest.er1
11334 grep -v '^ *+' conftest.er1 >conftest.err
11336 cat conftest.err >&5
11337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11338 (exit $ac_status); } &&
11339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11341 (eval $ac_try) 2>&5
11343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11344 (exit $ac_status); }; } &&
11345 { ac_try='test -s conftest$ac_exeext'
11346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11347 (eval $ac_try) 2>&5
11349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11350 (exit $ac_status); }; }; then
11351 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
11353 echo "$as_me: failed program was:" >&5
11354 sed 's/^/| /' conftest.$ac_ext >&5
11356 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
11358 rm -f conftest.err conftest.$ac_objext \
11359 conftest$ac_exeext conftest.$ac_ext
11360 LIBS=$ac_check_lib_save_LIBS
11362 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
11363 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6
11364 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
11365 cat >conftest.$ac_ext <<_ACEOF
11368 cat confdefs.h >>conftest.$ac_ext
11369 cat >>conftest.$ac_ext <<_ACEOF
11370 /* end confdefs.h. */
11371 #ifdef HAVE_ALSA_ASOUNDLIB_H
11372 #include <alsa/asoundlib.h>
11373 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11374 #include <sys/asoundlib.h>
11379 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
11384 rm -f conftest.$ac_objext
11385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11386 (eval $ac_compile) 2>conftest.er1
11388 grep -v '^ *+' conftest.er1 >conftest.err
11390 cat conftest.err >&5
11391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 (exit $ac_status); } &&
11393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11395 (eval $ac_try) 2>&5
11397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 (exit $ac_status); }; } &&
11399 { ac_try='test -s conftest.$ac_objext'
11400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11401 (eval $ac_try) 2>&5
11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404 (exit $ac_status); }; }; then
11406 cat >>confdefs.h <<\_ACEOF
11407 #define HAVE_ALSA 1
11410 ALSALIBS="-lasound"
11412 echo "$as_me: failed program was:" >&5
11413 sed 's/^/| /' conftest.$ac_ext >&5
11416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11425 for ac_header in libaudioio.h
11427 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11429 echo "$as_me:$LINENO: checking for $ac_header" >&5
11430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11432 echo $ECHO_N "(cached) $ECHO_C" >&6
11434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11437 # Is the header compilable?
11438 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11439 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11440 cat >conftest.$ac_ext <<_ACEOF
11443 cat confdefs.h >>conftest.$ac_ext
11444 cat >>conftest.$ac_ext <<_ACEOF
11445 /* end confdefs.h. */
11446 $ac_includes_default
11447 #include <$ac_header>
11449 rm -f conftest.$ac_objext
11450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11451 (eval $ac_compile) 2>conftest.er1
11453 grep -v '^ *+' conftest.er1 >conftest.err
11455 cat conftest.err >&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); } &&
11458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11460 (eval $ac_try) 2>&5
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }; } &&
11464 { ac_try='test -s conftest.$ac_objext'
11465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11466 (eval $ac_try) 2>&5
11468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11469 (exit $ac_status); }; }; then
11470 ac_header_compiler=yes
11472 echo "$as_me: failed program was:" >&5
11473 sed 's/^/| /' conftest.$ac_ext >&5
11475 ac_header_compiler=no
11477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11478 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11479 echo "${ECHO_T}$ac_header_compiler" >&6
11481 # Is the header present?
11482 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11483 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11484 cat >conftest.$ac_ext <<_ACEOF
11487 cat confdefs.h >>conftest.$ac_ext
11488 cat >>conftest.$ac_ext <<_ACEOF
11489 /* end confdefs.h. */
11490 #include <$ac_header>
11492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11493 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11495 grep -v '^ *+' conftest.er1 >conftest.err
11497 cat conftest.err >&5
11498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11499 (exit $ac_status); } >/dev/null; then
11500 if test -s conftest.err; then
11501 ac_cpp_err=$ac_c_preproc_warn_flag
11502 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11509 if test -z "$ac_cpp_err"; then
11510 ac_header_preproc=yes
11512 echo "$as_me: failed program was:" >&5
11513 sed 's/^/| /' conftest.$ac_ext >&5
11515 ac_header_preproc=no
11517 rm -f conftest.err conftest.$ac_ext
11518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11519 echo "${ECHO_T}$ac_header_preproc" >&6
11521 # So? What about this header?
11522 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11524 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11525 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11527 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11528 ac_header_preproc=yes
11531 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11532 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11533 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11534 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11535 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11536 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11537 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11538 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11540 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11541 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11542 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11545 ## ------------------------------------ ##
11546 ## Report this to wine-devel@winehq.org ##
11547 ## ------------------------------------ ##
11550 sed "s/^/$as_me: WARNING: /" >&2
11553 echo "$as_me:$LINENO: checking for $ac_header" >&5
11554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11556 echo $ECHO_N "(cached) $ECHO_C" >&6
11558 eval "$as_ac_Header=\$ac_header_preproc"
11560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11565 cat >>confdefs.h <<_ACEOF
11566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11568 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
11569 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
11570 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
11571 echo $ECHO_N "(cached) $ECHO_C" >&6
11573 ac_check_lib_save_LIBS=$LIBS
11574 LIBS="-laudioio $LIBS"
11575 cat >conftest.$ac_ext <<_ACEOF
11578 cat confdefs.h >>conftest.$ac_ext
11579 cat >>conftest.$ac_ext <<_ACEOF
11580 /* end confdefs.h. */
11582 /* Override any gcc2 internal prototype to avoid an error. */
11586 /* We use char because int might match the return type of a gcc2
11587 builtin and then its argument prototype would still apply. */
11588 char AudioIOGetVersion ();
11592 AudioIOGetVersion ();
11597 rm -f conftest.$ac_objext conftest$ac_exeext
11598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11599 (eval $ac_link) 2>conftest.er1
11601 grep -v '^ *+' conftest.er1 >conftest.err
11603 cat conftest.err >&5
11604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); } &&
11606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11608 (eval $ac_try) 2>&5
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); }; } &&
11612 { ac_try='test -s conftest$ac_exeext'
11613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11614 (eval $ac_try) 2>&5
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); }; }; then
11618 ac_cv_lib_audioio_AudioIOGetVersion=yes
11620 echo "$as_me: failed program was:" >&5
11621 sed 's/^/| /' conftest.$ac_ext >&5
11623 ac_cv_lib_audioio_AudioIOGetVersion=no
11625 rm -f conftest.err conftest.$ac_objext \
11626 conftest$ac_exeext conftest.$ac_ext
11627 LIBS=$ac_check_lib_save_LIBS
11629 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
11630 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
11631 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
11632 AUDIOIOLIBS="-laudioio"
11634 cat >>confdefs.h <<\_ACEOF
11635 #define HAVE_LIBAUDIOIO 1
11647 for ac_header in capi20.h
11649 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11651 echo "$as_me:$LINENO: checking for $ac_header" >&5
11652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11654 echo $ECHO_N "(cached) $ECHO_C" >&6
11656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11659 # Is the header compilable?
11660 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11661 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11662 cat >conftest.$ac_ext <<_ACEOF
11665 cat confdefs.h >>conftest.$ac_ext
11666 cat >>conftest.$ac_ext <<_ACEOF
11667 /* end confdefs.h. */
11668 $ac_includes_default
11669 #include <$ac_header>
11671 rm -f conftest.$ac_objext
11672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11673 (eval $ac_compile) 2>conftest.er1
11675 grep -v '^ *+' conftest.er1 >conftest.err
11677 cat conftest.err >&5
11678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11679 (exit $ac_status); } &&
11680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11682 (eval $ac_try) 2>&5
11684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11685 (exit $ac_status); }; } &&
11686 { ac_try='test -s conftest.$ac_objext'
11687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11688 (eval $ac_try) 2>&5
11690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11691 (exit $ac_status); }; }; then
11692 ac_header_compiler=yes
11694 echo "$as_me: failed program was:" >&5
11695 sed 's/^/| /' conftest.$ac_ext >&5
11697 ac_header_compiler=no
11699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11700 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11701 echo "${ECHO_T}$ac_header_compiler" >&6
11703 # Is the header present?
11704 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11705 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11706 cat >conftest.$ac_ext <<_ACEOF
11709 cat confdefs.h >>conftest.$ac_ext
11710 cat >>conftest.$ac_ext <<_ACEOF
11711 /* end confdefs.h. */
11712 #include <$ac_header>
11714 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11715 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11717 grep -v '^ *+' conftest.er1 >conftest.err
11719 cat conftest.err >&5
11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721 (exit $ac_status); } >/dev/null; then
11722 if test -s conftest.err; then
11723 ac_cpp_err=$ac_c_preproc_warn_flag
11724 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11731 if test -z "$ac_cpp_err"; then
11732 ac_header_preproc=yes
11734 echo "$as_me: failed program was:" >&5
11735 sed 's/^/| /' conftest.$ac_ext >&5
11737 ac_header_preproc=no
11739 rm -f conftest.err conftest.$ac_ext
11740 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11741 echo "${ECHO_T}$ac_header_preproc" >&6
11743 # So? What about this header?
11744 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11746 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11747 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11749 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11750 ac_header_preproc=yes
11753 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11754 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11755 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11756 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11757 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11758 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11759 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11760 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11761 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11762 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11763 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11764 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11767 ## ------------------------------------ ##
11768 ## Report this to wine-devel@winehq.org ##
11769 ## ------------------------------------ ##
11772 sed "s/^/$as_me: WARNING: /" >&2
11775 echo "$as_me:$LINENO: checking for $ac_header" >&5
11776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11778 echo $ECHO_N "(cached) $ECHO_C" >&6
11780 eval "$as_ac_Header=\$ac_header_preproc"
11782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11783 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11786 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11787 cat >>confdefs.h <<_ACEOF
11788 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11792 for ac_header in linux/capi.h
11794 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11796 echo "$as_me:$LINENO: checking for $ac_header" >&5
11797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11799 echo $ECHO_N "(cached) $ECHO_C" >&6
11801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11804 # Is the header compilable?
11805 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11806 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11807 cat >conftest.$ac_ext <<_ACEOF
11810 cat confdefs.h >>conftest.$ac_ext
11811 cat >>conftest.$ac_ext <<_ACEOF
11812 /* end confdefs.h. */
11813 $ac_includes_default
11814 #include <$ac_header>
11816 rm -f conftest.$ac_objext
11817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11818 (eval $ac_compile) 2>conftest.er1
11820 grep -v '^ *+' conftest.er1 >conftest.err
11822 cat conftest.err >&5
11823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 (exit $ac_status); } &&
11825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11827 (eval $ac_try) 2>&5
11829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11830 (exit $ac_status); }; } &&
11831 { ac_try='test -s conftest.$ac_objext'
11832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11833 (eval $ac_try) 2>&5
11835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836 (exit $ac_status); }; }; then
11837 ac_header_compiler=yes
11839 echo "$as_me: failed program was:" >&5
11840 sed 's/^/| /' conftest.$ac_ext >&5
11842 ac_header_compiler=no
11844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11845 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11846 echo "${ECHO_T}$ac_header_compiler" >&6
11848 # Is the header present?
11849 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11850 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11851 cat >conftest.$ac_ext <<_ACEOF
11854 cat confdefs.h >>conftest.$ac_ext
11855 cat >>conftest.$ac_ext <<_ACEOF
11856 /* end confdefs.h. */
11857 #include <$ac_header>
11859 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11860 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11862 grep -v '^ *+' conftest.er1 >conftest.err
11864 cat conftest.err >&5
11865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11866 (exit $ac_status); } >/dev/null; then
11867 if test -s conftest.err; then
11868 ac_cpp_err=$ac_c_preproc_warn_flag
11869 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11876 if test -z "$ac_cpp_err"; then
11877 ac_header_preproc=yes
11879 echo "$as_me: failed program was:" >&5
11880 sed 's/^/| /' conftest.$ac_ext >&5
11882 ac_header_preproc=no
11884 rm -f conftest.err conftest.$ac_ext
11885 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11886 echo "${ECHO_T}$ac_header_preproc" >&6
11888 # So? What about this header?
11889 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11891 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11892 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11894 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11895 ac_header_preproc=yes
11898 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11899 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11900 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11901 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11902 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11903 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11904 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11905 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11906 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11907 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11908 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11909 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11912 ## ------------------------------------ ##
11913 ## Report this to wine-devel@winehq.org ##
11914 ## ------------------------------------ ##
11917 sed "s/^/$as_me: WARNING: /" >&2
11920 echo "$as_me:$LINENO: checking for $ac_header" >&5
11921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11923 echo $ECHO_N "(cached) $ECHO_C" >&6
11925 eval "$as_ac_Header=\$ac_header_preproc"
11927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11928 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11931 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11932 cat >>confdefs.h <<_ACEOF
11933 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11936 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
11937 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
11938 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
11939 echo $ECHO_N "(cached) $ECHO_C" >&6
11941 ac_check_lib_save_LIBS=$LIBS
11942 LIBS="-lcapi20 $LIBS"
11943 cat >conftest.$ac_ext <<_ACEOF
11946 cat confdefs.h >>conftest.$ac_ext
11947 cat >>conftest.$ac_ext <<_ACEOF
11948 /* end confdefs.h. */
11950 /* Override any gcc2 internal prototype to avoid an error. */
11954 /* We use char because int might match the return type of a gcc2
11955 builtin and then its argument prototype would still apply. */
11956 char capi20_register ();
11960 capi20_register ();
11965 rm -f conftest.$ac_objext conftest$ac_exeext
11966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11967 (eval $ac_link) 2>conftest.er1
11969 grep -v '^ *+' conftest.er1 >conftest.err
11971 cat conftest.err >&5
11972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973 (exit $ac_status); } &&
11974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11976 (eval $ac_try) 2>&5
11978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); }; } &&
11980 { ac_try='test -s conftest$ac_exeext'
11981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11982 (eval $ac_try) 2>&5
11984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985 (exit $ac_status); }; }; then
11986 ac_cv_lib_capi20_capi20_register=yes
11988 echo "$as_me: failed program was:" >&5
11989 sed 's/^/| /' conftest.$ac_ext >&5
11991 ac_cv_lib_capi20_capi20_register=no
11993 rm -f conftest.err conftest.$ac_objext \
11994 conftest$ac_exeext conftest.$ac_ext
11995 LIBS=$ac_check_lib_save_LIBS
11997 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
11998 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
11999 if test $ac_cv_lib_capi20_capi20_register = yes; then
12002 cat >>confdefs.h <<\_ACEOF
12003 #define HAVE_CAPI4LINUX 1
12021 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
12022 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
12023 if test "${ac_cv_mmap64_works+set}" = set; then
12024 echo $ECHO_N "(cached) $ECHO_C" >&6
12026 if test "$cross_compiling" = yes; then
12027 ac_cv_mmap64_works="no"
12029 cat >conftest.$ac_ext <<_ACEOF
12032 cat confdefs.h >>conftest.$ac_ext
12033 cat >>conftest.$ac_ext <<_ACEOF
12034 /* end confdefs.h. */
12036 #define _FILE_OFFSET_BITS 64
12038 #include <unistd.h>
12040 #include <sys/mman.h>
12043 int main(int argc,char **argv) {
12044 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
12045 if (fd == -1) exit(1);
12047 unlink("conftest.map");
12049 write(fd,"test",4);
12051 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
12057 fprintf(stderr,"success!\n");
12063 rm -f conftest$ac_exeext
12064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12065 (eval $ac_link) 2>&5
12067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12070 (eval $ac_try) 2>&5
12072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); }; }; then
12074 ac_cv_mmap64_works="yes"
12076 echo "$as_me: program exited with status $ac_status" >&5
12077 echo "$as_me: failed program was:" >&5
12078 sed 's/^/| /' conftest.$ac_ext >&5
12080 ( exit $ac_status )
12081 ac_cv_mmap64_works="no"
12083 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12086 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12087 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12089 if test "$ac_cv_mmap64_works" = "yes"
12092 cat >>confdefs.h <<\_ACEOF
12093 #define _FILE_OFFSET_BITS 64
12101 if test "x${GCC}" = "xyes"
12103 EXTRACFLAGS="-Wall -pipe"
12105 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12106 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12107 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12108 echo $ECHO_N "(cached) $ECHO_C" >&6
12110 if test "$cross_compiling" = yes; then
12111 ac_cv_c_gcc_strength_bug="yes"
12113 cat >conftest.$ac_ext <<_ACEOF
12116 cat confdefs.h >>conftest.$ac_ext
12117 cat >>conftest.$ac_ext <<_ACEOF
12118 /* end confdefs.h. */
12120 int L[4] = {0,1,2,3};
12122 static int Array[3];
12123 unsigned int B = 3;
12125 for(i=0; i<B; i++) Array[i] = i - 3;
12126 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12129 exit( Array[1] != -2 || L[2] != 3);
12132 rm -f conftest$ac_exeext
12133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12134 (eval $ac_link) 2>&5
12136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12139 (eval $ac_try) 2>&5
12141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142 (exit $ac_status); }; }; then
12143 ac_cv_c_gcc_strength_bug="no"
12145 echo "$as_me: program exited with status $ac_status" >&5
12146 echo "$as_me: failed program was:" >&5
12147 sed 's/^/| /' conftest.$ac_ext >&5
12149 ( exit $ac_status )
12150 ac_cv_c_gcc_strength_bug="yes"
12152 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12155 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12156 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12157 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12159 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12162 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12163 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12164 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12165 echo $ECHO_N "(cached) $ECHO_C" >&6
12167 ac_wine_try_cflags_saved=$CFLAGS
12168 CFLAGS="$CFLAGS -fshort-wchar"
12169 cat >conftest.$ac_ext <<_ACEOF
12172 cat confdefs.h >>conftest.$ac_ext
12173 cat >>conftest.$ac_ext <<_ACEOF
12174 /* end confdefs.h. */
12184 rm -f conftest.$ac_objext conftest$ac_exeext
12185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12186 (eval $ac_link) 2>conftest.er1
12188 grep -v '^ *+' conftest.er1 >conftest.err
12190 cat conftest.err >&5
12191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192 (exit $ac_status); } &&
12193 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12195 (eval $ac_try) 2>&5
12197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198 (exit $ac_status); }; } &&
12199 { ac_try='test -s conftest$ac_exeext'
12200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12201 (eval $ac_try) 2>&5
12203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12204 (exit $ac_status); }; }; then
12205 ac_cv_c_gcc_fshort_wchar="yes"
12207 echo "$as_me: failed program was:" >&5
12208 sed 's/^/| /' conftest.$ac_ext >&5
12210 ac_cv_c_gcc_fshort_wchar="no"
12212 rm -f conftest.err conftest.$ac_objext \
12213 conftest$ac_exeext conftest.$ac_ext
12214 CFLAGS=$ac_wine_try_cflags_saved
12216 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12217 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12218 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12221 cat >>confdefs.h <<\_ACEOF
12222 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12227 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12228 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12229 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12230 echo $ECHO_N "(cached) $ECHO_C" >&6
12232 ac_wine_try_cflags_saved=$CFLAGS
12233 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
12234 cat >conftest.$ac_ext <<_ACEOF
12237 cat confdefs.h >>conftest.$ac_ext
12238 cat >>conftest.$ac_ext <<_ACEOF
12239 /* end confdefs.h. */
12249 rm -f conftest.$ac_objext conftest$ac_exeext
12250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12251 (eval $ac_link) 2>conftest.er1
12253 grep -v '^ *+' conftest.er1 >conftest.err
12255 cat conftest.err >&5
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); } &&
12258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12260 (eval $ac_try) 2>&5
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); }; } &&
12264 { ac_try='test -s conftest$ac_exeext'
12265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12266 (eval $ac_try) 2>&5
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); }; }; then
12270 ac_cv_c_gcc_stack_boundary="yes"
12272 echo "$as_me: failed program was:" >&5
12273 sed 's/^/| /' conftest.$ac_ext >&5
12275 ac_cv_c_gcc_stack_boundary="no"
12277 rm -f conftest.err conftest.$ac_objext \
12278 conftest$ac_exeext conftest.$ac_ext
12279 CFLAGS=$ac_wine_try_cflags_saved
12281 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12282 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12283 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12285 EXTRACFLAGS="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12288 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12289 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12290 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12291 echo $ECHO_N "(cached) $ECHO_C" >&6
12293 ac_wine_try_cflags_saved=$CFLAGS
12294 CFLAGS="$CFLAGS -fno-strict-aliasing"
12295 cat >conftest.$ac_ext <<_ACEOF
12298 cat confdefs.h >>conftest.$ac_ext
12299 cat >>conftest.$ac_ext <<_ACEOF
12300 /* end confdefs.h. */
12310 rm -f conftest.$ac_objext conftest$ac_exeext
12311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12312 (eval $ac_link) 2>conftest.er1
12314 grep -v '^ *+' conftest.er1 >conftest.err
12316 cat conftest.err >&5
12317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318 (exit $ac_status); } &&
12319 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12321 (eval $ac_try) 2>&5
12323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12324 (exit $ac_status); }; } &&
12325 { ac_try='test -s conftest$ac_exeext'
12326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12327 (eval $ac_try) 2>&5
12329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12330 (exit $ac_status); }; }; then
12331 ac_cv_c_gcc_no_strict_aliasing="yes"
12333 echo "$as_me: failed program was:" >&5
12334 sed 's/^/| /' conftest.$ac_ext >&5
12336 ac_cv_c_gcc_no_strict_aliasing="no"
12338 rm -f conftest.err conftest.$ac_objext \
12339 conftest$ac_exeext conftest.$ac_ext
12340 CFLAGS=$ac_wine_try_cflags_saved
12342 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12343 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12344 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12346 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12349 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12350 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12351 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12352 echo $ECHO_N "(cached) $ECHO_C" >&6
12354 ac_wine_try_cflags_saved=$CFLAGS
12355 CFLAGS="$CFLAGS -gstabs+"
12356 cat >conftest.$ac_ext <<_ACEOF
12359 cat confdefs.h >>conftest.$ac_ext
12360 cat >>conftest.$ac_ext <<_ACEOF
12361 /* end confdefs.h. */
12371 rm -f conftest.$ac_objext conftest$ac_exeext
12372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12373 (eval $ac_link) 2>conftest.er1
12375 grep -v '^ *+' conftest.er1 >conftest.err
12377 cat conftest.err >&5
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); } &&
12380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12382 (eval $ac_try) 2>&5
12384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385 (exit $ac_status); }; } &&
12386 { ac_try='test -s conftest$ac_exeext'
12387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12388 (eval $ac_try) 2>&5
12390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 (exit $ac_status); }; }; then
12392 ac_cv_c_gcc_gstabs="yes"
12394 echo "$as_me: failed program was:" >&5
12395 sed 's/^/| /' conftest.$ac_ext >&5
12397 ac_cv_c_gcc_gstabs="no"
12399 rm -f conftest.err conftest.$ac_objext \
12400 conftest$ac_exeext conftest.$ac_ext
12401 CFLAGS=$ac_wine_try_cflags_saved
12403 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12404 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12405 if test "$ac_cv_c_gcc_gstabs" = "yes"
12407 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
12410 saved_CFLAGS="$CFLAGS"
12411 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12412 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12413 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12414 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12415 echo $ECHO_N "(cached) $ECHO_C" >&6
12417 cat >conftest.$ac_ext <<_ACEOF
12420 cat confdefs.h >>conftest.$ac_ext
12421 cat >>conftest.$ac_ext <<_ACEOF
12422 /* end confdefs.h. */
12423 #include <string.h>
12432 rm -f conftest.$ac_objext
12433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12434 (eval $ac_compile) 2>conftest.er1
12436 grep -v '^ *+' conftest.er1 >conftest.err
12438 cat conftest.err >&5
12439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440 (exit $ac_status); } &&
12441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12443 (eval $ac_try) 2>&5
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); }; } &&
12447 { ac_try='test -s conftest.$ac_objext'
12448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12449 (eval $ac_try) 2>&5
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); }; }; then
12453 ac_cv_c_string_h_warnings=no
12455 echo "$as_me: failed program was:" >&5
12456 sed 's/^/| /' conftest.$ac_ext >&5
12458 ac_cv_c_string_h_warnings=yes
12460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12462 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12463 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12464 CFLAGS="$saved_CFLAGS"
12465 if test "$ac_cv_c_string_h_warnings" = "no"
12467 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12472 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12473 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12474 if test "${ac_cv_asm_func_def+set}" = set; then
12475 echo $ECHO_N "(cached) $ECHO_C" >&6
12477 cat >conftest.$ac_ext <<_ACEOF
12480 cat confdefs.h >>conftest.$ac_ext
12481 cat >>conftest.$ac_ext <<_ACEOF
12482 /* end confdefs.h. */
12483 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"); }
12493 rm -f conftest.$ac_objext conftest$ac_exeext
12494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12495 (eval $ac_link) 2>conftest.er1
12497 grep -v '^ *+' conftest.er1 >conftest.err
12499 cat conftest.err >&5
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); } &&
12502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12504 (eval $ac_try) 2>&5
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); }; } &&
12508 { ac_try='test -s conftest$ac_exeext'
12509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12510 (eval $ac_try) 2>&5
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); }; }; then
12514 ac_cv_asm_func_def=".def"
12516 echo "$as_me: failed program was:" >&5
12517 sed 's/^/| /' conftest.$ac_ext >&5
12519 cat >conftest.$ac_ext <<_ACEOF
12522 cat confdefs.h >>conftest.$ac_ext
12523 cat >>conftest.$ac_ext <<_ACEOF
12524 /* end confdefs.h. */
12525 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12535 rm -f conftest.$ac_objext conftest$ac_exeext
12536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12537 (eval $ac_link) 2>conftest.er1
12539 grep -v '^ *+' conftest.er1 >conftest.err
12541 cat conftest.err >&5
12542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543 (exit $ac_status); } &&
12544 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12546 (eval $ac_try) 2>&5
12548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549 (exit $ac_status); }; } &&
12550 { ac_try='test -s conftest$ac_exeext'
12551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12552 (eval $ac_try) 2>&5
12554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555 (exit $ac_status); }; }; then
12556 ac_cv_asm_func_def=".type @function"
12558 echo "$as_me: failed program was:" >&5
12559 sed 's/^/| /' conftest.$ac_ext >&5
12561 cat >conftest.$ac_ext <<_ACEOF
12564 cat confdefs.h >>conftest.$ac_ext
12565 cat >>conftest.$ac_ext <<_ACEOF
12566 /* end confdefs.h. */
12567 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12577 rm -f conftest.$ac_objext conftest$ac_exeext
12578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12579 (eval $ac_link) 2>conftest.er1
12581 grep -v '^ *+' conftest.er1 >conftest.err
12583 cat conftest.err >&5
12584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585 (exit $ac_status); } &&
12586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12588 (eval $ac_try) 2>&5
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); }; } &&
12592 { ac_try='test -s conftest$ac_exeext'
12593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12594 (eval $ac_try) 2>&5
12596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12597 (exit $ac_status); }; }; then
12598 ac_cv_asm_func_def=".type 2"
12600 echo "$as_me: failed program was:" >&5
12601 sed 's/^/| /' conftest.$ac_ext >&5
12603 ac_cv_asm_func_def="unknown"
12605 rm -f conftest.err conftest.$ac_objext \
12606 conftest$ac_exeext conftest.$ac_ext
12608 rm -f conftest.err conftest.$ac_objext \
12609 conftest$ac_exeext conftest.$ac_ext
12611 rm -f conftest.err conftest.$ac_objext \
12612 conftest$ac_exeext conftest.$ac_ext
12614 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12615 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
12619 case "$ac_cv_asm_func_def" in
12621 cat >>confdefs.h <<\_ACEOF
12622 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12626 cat >>confdefs.h <<\_ACEOF
12627 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12631 cat >>confdefs.h <<\_ACEOF
12632 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12636 cat >>confdefs.h <<\_ACEOF
12637 #define __ASM_FUNC(name) ""
12643 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12644 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
12645 if test "${ac_cv_c_extern_prefix+set}" = set; then
12646 echo $ECHO_N "(cached) $ECHO_C" >&6
12648 cat >conftest.$ac_ext <<_ACEOF
12651 cat confdefs.h >>conftest.$ac_ext
12652 cat >>conftest.$ac_ext <<_ACEOF
12653 /* end confdefs.h. */
12654 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12655 extern int ac_test;
12659 if (ac_test) return 1
12664 rm -f conftest.$ac_objext conftest$ac_exeext
12665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12666 (eval $ac_link) 2>conftest.er1
12668 grep -v '^ *+' conftest.er1 >conftest.err
12670 cat conftest.err >&5
12671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); } &&
12673 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12675 (eval $ac_try) 2>&5
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); }; } &&
12679 { ac_try='test -s conftest$ac_exeext'
12680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12681 (eval $ac_try) 2>&5
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); }; }; then
12685 ac_cv_c_extern_prefix="yes"
12687 echo "$as_me: failed program was:" >&5
12688 sed 's/^/| /' conftest.$ac_ext >&5
12690 ac_cv_c_extern_prefix="no"
12692 rm -f conftest.err conftest.$ac_objext \
12693 conftest$ac_exeext conftest.$ac_ext
12695 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12696 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
12700 if test "$ac_cv_c_extern_prefix" = "yes"
12702 cat >>confdefs.h <<\_ACEOF
12703 #define __ASM_NAME(name) "_" name
12707 cat >>confdefs.h <<\_ACEOF
12708 #define __ASM_NAME(name) name
12714 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
12715 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
12716 if test "${ac_cv_c_asm_string+set}" = set; then
12717 echo $ECHO_N "(cached) $ECHO_C" >&6
12719 cat >conftest.$ac_ext <<_ACEOF
12722 cat confdefs.h >>conftest.$ac_ext
12723 cat >>conftest.$ac_ext <<_ACEOF
12724 /* end confdefs.h. */
12725 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
12735 rm -f conftest.$ac_objext conftest$ac_exeext
12736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12737 (eval $ac_link) 2>conftest.er1
12739 grep -v '^ *+' conftest.er1 >conftest.err
12741 cat conftest.err >&5
12742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743 (exit $ac_status); } &&
12744 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12746 (eval $ac_try) 2>&5
12748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12749 (exit $ac_status); }; } &&
12750 { ac_try='test -s conftest$ac_exeext'
12751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12752 (eval $ac_try) 2>&5
12754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12755 (exit $ac_status); }; }; then
12756 ac_cv_c_asm_string=".string"
12758 echo "$as_me: failed program was:" >&5
12759 sed 's/^/| /' conftest.$ac_ext >&5
12761 cat >conftest.$ac_ext <<_ACEOF
12764 cat confdefs.h >>conftest.$ac_ext
12765 cat >>conftest.$ac_ext <<_ACEOF
12766 /* end confdefs.h. */
12767 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
12777 rm -f conftest.$ac_objext conftest$ac_exeext
12778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12779 (eval $ac_link) 2>conftest.er1
12781 grep -v '^ *+' conftest.er1 >conftest.err
12783 cat conftest.err >&5
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); } &&
12786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12788 (eval $ac_try) 2>&5
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); }; } &&
12792 { ac_try='test -s conftest$ac_exeext'
12793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12794 (eval $ac_try) 2>&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); }; }; then
12798 ac_cv_c_asm_string=".asciz"
12800 echo "$as_me: failed program was:" >&5
12801 sed 's/^/| /' conftest.$ac_ext >&5
12803 cat >conftest.$ac_ext <<_ACEOF
12806 cat confdefs.h >>conftest.$ac_ext
12807 cat >>conftest.$ac_ext <<_ACEOF
12808 /* end confdefs.h. */
12809 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
12819 rm -f conftest.$ac_objext conftest$ac_exeext
12820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12821 (eval $ac_link) 2>conftest.er1
12823 grep -v '^ *+' conftest.er1 >conftest.err
12825 cat conftest.err >&5
12826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827 (exit $ac_status); } &&
12828 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12830 (eval $ac_try) 2>&5
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); }; } &&
12834 { ac_try='test -s conftest$ac_exeext'
12835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12836 (eval $ac_try) 2>&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); }; }; then
12840 ac_cv_c_asm_string=".ascii"
12842 echo "$as_me: failed program was:" >&5
12843 sed 's/^/| /' conftest.$ac_ext >&5
12845 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
12846 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
12847 { (exit 1); exit 1; }; }
12849 rm -f conftest.err conftest.$ac_objext \
12850 conftest$ac_exeext conftest.$ac_ext
12852 rm -f conftest.err conftest.$ac_objext \
12853 conftest$ac_exeext conftest.$ac_ext
12855 rm -f conftest.err conftest.$ac_objext \
12856 conftest$ac_exeext conftest.$ac_ext
12858 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
12859 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
12862 cat >>confdefs.h <<_ACEOF
12863 #define __ASM_STRING "$ac_cv_c_asm_string"
12868 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
12869 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
12870 if test "${ac_cv_c_asm_short+set}" = set; then
12871 echo $ECHO_N "(cached) $ECHO_C" >&6
12873 cat >conftest.$ac_ext <<_ACEOF
12876 cat confdefs.h >>conftest.$ac_ext
12877 cat >>conftest.$ac_ext <<_ACEOF
12878 /* end confdefs.h. */
12879 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
12889 rm -f conftest.$ac_objext conftest$ac_exeext
12890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12891 (eval $ac_link) 2>conftest.er1
12893 grep -v '^ *+' conftest.er1 >conftest.err
12895 cat conftest.err >&5
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); } &&
12898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12900 (eval $ac_try) 2>&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); }; } &&
12904 { ac_try='test -s conftest$ac_exeext'
12905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12906 (eval $ac_try) 2>&5
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); }; }; then
12910 ac_cv_c_asm_short=".short"
12912 echo "$as_me: failed program was:" >&5
12913 sed 's/^/| /' conftest.$ac_ext >&5
12915 cat >conftest.$ac_ext <<_ACEOF
12918 cat confdefs.h >>conftest.$ac_ext
12919 cat >>conftest.$ac_ext <<_ACEOF
12920 /* end confdefs.h. */
12921 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
12931 rm -f conftest.$ac_objext conftest$ac_exeext
12932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12933 (eval $ac_link) 2>conftest.er1
12935 grep -v '^ *+' conftest.er1 >conftest.err
12937 cat conftest.err >&5
12938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939 (exit $ac_status); } &&
12940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12942 (eval $ac_try) 2>&5
12944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12945 (exit $ac_status); }; } &&
12946 { ac_try='test -s conftest$ac_exeext'
12947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12948 (eval $ac_try) 2>&5
12950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951 (exit $ac_status); }; }; then
12952 ac_cv_c_asm_short=".half"
12954 echo "$as_me: failed program was:" >&5
12955 sed 's/^/| /' conftest.$ac_ext >&5
12957 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
12958 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
12959 { (exit 1); exit 1; }; }
12961 rm -f conftest.err conftest.$ac_objext \
12962 conftest$ac_exeext conftest.$ac_ext
12964 rm -f conftest.err conftest.$ac_objext \
12965 conftest$ac_exeext conftest.$ac_ext
12967 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
12968 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
12971 cat >>confdefs.h <<_ACEOF
12972 #define __ASM_SHORT "$ac_cv_c_asm_short"
12977 echo "$as_me:$LINENO: checking for .size in assembler" >&5
12978 echo $ECHO_N "checking for .size in assembler... $ECHO_C" >&6
12979 if test "${ac_cv_c_asm_size+set}" = set; then
12980 echo $ECHO_N "(cached) $ECHO_C" >&6
12982 cat >conftest.$ac_ext <<_ACEOF
12985 cat confdefs.h >>conftest.$ac_ext
12986 cat >>conftest.$ac_ext <<_ACEOF
12987 /* end confdefs.h. */
12988 void ac_asm(void) { asm(".globl _ac_test\n.size _ac_test, . - _ac_test"); }
12998 rm -f conftest.$ac_objext conftest$ac_exeext
12999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13000 (eval $ac_link) 2>conftest.er1
13002 grep -v '^ *+' conftest.er1 >conftest.err
13004 cat conftest.err >&5
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); } &&
13007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13009 (eval $ac_try) 2>&5
13011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13012 (exit $ac_status); }; } &&
13013 { ac_try='test -s conftest$ac_exeext'
13014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13015 (eval $ac_try) 2>&5
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); }; }; then
13019 ac_cv_c_asm_size="yes"
13021 echo "$as_me: failed program was:" >&5
13022 sed 's/^/| /' conftest.$ac_ext >&5
13024 ac_cv_c_asm_size="no"
13026 rm -f conftest.err conftest.$ac_objext \
13027 conftest$ac_exeext conftest.$ac_ext
13029 echo "$as_me:$LINENO: result: $ac_cv_c_asm_size" >&5
13030 echo "${ECHO_T}$ac_cv_c_asm_size" >&6
13032 if test "$ac_cv_c_asm_size" = "yes"
13035 cat >>confdefs.h <<\_ACEOF
13036 #define HAVE_ASM_DOT_SIZE 1
13044 DLLFLAGS="-D_REENTRANT"
13059 if test -n "$ac_tool_prefix"; then
13060 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13061 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
13062 echo "$as_me:$LINENO: checking for $ac_word" >&5
13063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13064 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13065 echo $ECHO_N "(cached) $ECHO_C" >&6
13067 if test -n "$DLLTOOL"; then
13068 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13071 for as_dir in $PATH
13074 test -z "$as_dir" && as_dir=.
13075 for ac_exec_ext in '' $ac_executable_extensions; do
13076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13077 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13086 DLLTOOL=$ac_cv_prog_DLLTOOL
13087 if test -n "$DLLTOOL"; then
13088 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13089 echo "${ECHO_T}$DLLTOOL" >&6
13091 echo "$as_me:$LINENO: result: no" >&5
13092 echo "${ECHO_T}no" >&6
13096 if test -z "$ac_cv_prog_DLLTOOL"; then
13097 ac_ct_DLLTOOL=$DLLTOOL
13098 # Extract the first word of "dlltool", so it can be a program name with args.
13099 set dummy dlltool; ac_word=$2
13100 echo "$as_me:$LINENO: checking for $ac_word" >&5
13101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13102 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13103 echo $ECHO_N "(cached) $ECHO_C" >&6
13105 if test -n "$ac_ct_DLLTOOL"; then
13106 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13109 for as_dir in $PATH
13112 test -z "$as_dir" && as_dir=.
13113 for ac_exec_ext in '' $ac_executable_extensions; do
13114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13115 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13122 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
13125 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13126 if test -n "$ac_ct_DLLTOOL"; then
13127 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13128 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13130 echo "$as_me:$LINENO: result: no" >&5
13131 echo "${ECHO_T}no" >&6
13134 DLLTOOL=$ac_ct_DLLTOOL
13136 DLLTOOL="$ac_cv_prog_DLLTOOL"
13139 if test -n "$ac_tool_prefix"; then
13140 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13141 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13142 echo "$as_me:$LINENO: checking for $ac_word" >&5
13143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13144 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13145 echo $ECHO_N "(cached) $ECHO_C" >&6
13147 if test -n "$DLLWRAP"; then
13148 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13151 for as_dir in $PATH
13154 test -z "$as_dir" && as_dir=.
13155 for ac_exec_ext in '' $ac_executable_extensions; do
13156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13157 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13166 DLLWRAP=$ac_cv_prog_DLLWRAP
13167 if test -n "$DLLWRAP"; then
13168 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13169 echo "${ECHO_T}$DLLWRAP" >&6
13171 echo "$as_me:$LINENO: result: no" >&5
13172 echo "${ECHO_T}no" >&6
13176 if test -z "$ac_cv_prog_DLLWRAP"; then
13177 ac_ct_DLLWRAP=$DLLWRAP
13178 # Extract the first word of "dllwrap", so it can be a program name with args.
13179 set dummy dllwrap; ac_word=$2
13180 echo "$as_me:$LINENO: checking for $ac_word" >&5
13181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13182 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13183 echo $ECHO_N "(cached) $ECHO_C" >&6
13185 if test -n "$ac_ct_DLLWRAP"; then
13186 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13189 for as_dir in $PATH
13192 test -z "$as_dir" && as_dir=.
13193 for ac_exec_ext in '' $ac_executable_extensions; do
13194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13195 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13202 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
13205 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13206 if test -n "$ac_ct_DLLWRAP"; then
13207 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13208 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13210 echo "$as_me:$LINENO: result: no" >&5
13211 echo "${ECHO_T}no" >&6
13214 DLLWRAP=$ac_ct_DLLWRAP
13216 DLLWRAP="$ac_cv_prog_DLLWRAP"
13219 if test "$DLLWRAP" = "false"; then
13230 for ac_header in dlfcn.h
13232 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13234 echo "$as_me:$LINENO: checking for $ac_header" >&5
13235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13237 echo $ECHO_N "(cached) $ECHO_C" >&6
13239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13242 # Is the header compilable?
13243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13245 cat >conftest.$ac_ext <<_ACEOF
13248 cat confdefs.h >>conftest.$ac_ext
13249 cat >>conftest.$ac_ext <<_ACEOF
13250 /* end confdefs.h. */
13251 $ac_includes_default
13252 #include <$ac_header>
13254 rm -f conftest.$ac_objext
13255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13256 (eval $ac_compile) 2>conftest.er1
13258 grep -v '^ *+' conftest.er1 >conftest.err
13260 cat conftest.err >&5
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); } &&
13263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13265 (eval $ac_try) 2>&5
13267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13268 (exit $ac_status); }; } &&
13269 { ac_try='test -s conftest.$ac_objext'
13270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13271 (eval $ac_try) 2>&5
13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 (exit $ac_status); }; }; then
13275 ac_header_compiler=yes
13277 echo "$as_me: failed program was:" >&5
13278 sed 's/^/| /' conftest.$ac_ext >&5
13280 ac_header_compiler=no
13282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13283 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13284 echo "${ECHO_T}$ac_header_compiler" >&6
13286 # Is the header present?
13287 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13288 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13289 cat >conftest.$ac_ext <<_ACEOF
13292 cat confdefs.h >>conftest.$ac_ext
13293 cat >>conftest.$ac_ext <<_ACEOF
13294 /* end confdefs.h. */
13295 #include <$ac_header>
13297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13298 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13300 grep -v '^ *+' conftest.er1 >conftest.err
13302 cat conftest.err >&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); } >/dev/null; then
13305 if test -s conftest.err; then
13306 ac_cpp_err=$ac_c_preproc_warn_flag
13307 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13314 if test -z "$ac_cpp_err"; then
13315 ac_header_preproc=yes
13317 echo "$as_me: failed program was:" >&5
13318 sed 's/^/| /' conftest.$ac_ext >&5
13320 ac_header_preproc=no
13322 rm -f conftest.err conftest.$ac_ext
13323 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13324 echo "${ECHO_T}$ac_header_preproc" >&6
13326 # So? What about this header?
13327 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13329 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13330 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13332 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13333 ac_header_preproc=yes
13336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13337 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13339 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13340 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13341 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13342 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13343 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13346 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13347 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13350 ## ------------------------------------ ##
13351 ## Report this to wine-devel@winehq.org ##
13352 ## ------------------------------------ ##
13355 sed "s/^/$as_me: WARNING: /" >&2
13358 echo "$as_me:$LINENO: checking for $ac_header" >&5
13359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13361 echo $ECHO_N "(cached) $ECHO_C" >&6
13363 eval "$as_ac_Header=\$ac_header_preproc"
13365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13370 cat >>confdefs.h <<_ACEOF
13371 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13374 for ac_func in dlopen
13376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13377 echo "$as_me:$LINENO: checking for $ac_func" >&5
13378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13379 if eval "test \"\${$as_ac_var+set}\" = set"; then
13380 echo $ECHO_N "(cached) $ECHO_C" >&6
13382 cat >conftest.$ac_ext <<_ACEOF
13385 cat confdefs.h >>conftest.$ac_ext
13386 cat >>conftest.$ac_ext <<_ACEOF
13387 /* end confdefs.h. */
13388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13390 #define $ac_func innocuous_$ac_func
13392 /* System header to define __stub macros and hopefully few prototypes,
13393 which can conflict with char $ac_func (); below.
13394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13395 <limits.h> exists even on freestanding compilers. */
13398 # include <limits.h>
13400 # include <assert.h>
13405 /* Override any gcc2 internal prototype to avoid an error. */
13410 /* We use char because int might match the return type of a gcc2
13411 builtin and then its argument prototype would still apply. */
13413 /* The GNU C library defines this for functions which it implements
13414 to always fail with ENOSYS. Some functions are actually named
13415 something starting with __ and the normal name is an alias. */
13416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13419 char (*f) () = $ac_func;
13428 return f != $ac_func;
13433 rm -f conftest.$ac_objext conftest$ac_exeext
13434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13435 (eval $ac_link) 2>conftest.er1
13437 grep -v '^ *+' conftest.er1 >conftest.err
13439 cat conftest.err >&5
13440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13441 (exit $ac_status); } &&
13442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13444 (eval $ac_try) 2>&5
13446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13447 (exit $ac_status); }; } &&
13448 { ac_try='test -s conftest$ac_exeext'
13449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13450 (eval $ac_try) 2>&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); }; }; then
13454 eval "$as_ac_var=yes"
13456 echo "$as_me: failed program was:" >&5
13457 sed 's/^/| /' conftest.$ac_ext >&5
13459 eval "$as_ac_var=no"
13461 rm -f conftest.err conftest.$ac_objext \
13462 conftest$ac_exeext conftest.$ac_ext
13464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13466 if test `eval echo '${'$as_ac_var'}'` = yes; then
13467 cat >>confdefs.h <<_ACEOF
13468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13472 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13473 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13474 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13475 echo $ECHO_N "(cached) $ECHO_C" >&6
13477 ac_check_lib_save_LIBS=$LIBS
13479 cat >conftest.$ac_ext <<_ACEOF
13482 cat confdefs.h >>conftest.$ac_ext
13483 cat >>conftest.$ac_ext <<_ACEOF
13484 /* end confdefs.h. */
13486 /* Override any gcc2 internal prototype to avoid an error. */
13490 /* We use char because int might match the return type of a gcc2
13491 builtin and then its argument prototype would still apply. */
13501 rm -f conftest.$ac_objext conftest$ac_exeext
13502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13503 (eval $ac_link) 2>conftest.er1
13505 grep -v '^ *+' conftest.er1 >conftest.err
13507 cat conftest.err >&5
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); } &&
13510 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13512 (eval $ac_try) 2>&5
13514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13515 (exit $ac_status); }; } &&
13516 { ac_try='test -s conftest$ac_exeext'
13517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13518 (eval $ac_try) 2>&5
13520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13521 (exit $ac_status); }; }; then
13522 ac_cv_lib_dl_dlopen=yes
13524 echo "$as_me: failed program was:" >&5
13525 sed 's/^/| /' conftest.$ac_ext >&5
13527 ac_cv_lib_dl_dlopen=no
13529 rm -f conftest.err conftest.$ac_objext \
13530 conftest$ac_exeext conftest.$ac_ext
13531 LIBS=$ac_check_lib_save_LIBS
13533 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13534 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13535 if test $ac_cv_lib_dl_dlopen = yes; then
13537 cat >>confdefs.h <<\_ACEOF
13538 #define HAVE_DLOPEN 1
13556 if test "$LIBEXT" = "so"
13558 DLLFLAGS="$DLLFLAGS -fPIC"
13560 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13561 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13562 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13563 echo $ECHO_N "(cached) $ECHO_C" >&6
13565 ac_wine_try_cflags_saved=$CFLAGS
13566 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13567 cat >conftest.$ac_ext <<_ACEOF
13570 rm -f conftest.$ac_objext conftest$ac_exeext
13571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13572 (eval $ac_link) 2>conftest.er1
13574 grep -v '^ *+' conftest.er1 >conftest.err
13576 cat conftest.err >&5
13577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13578 (exit $ac_status); } &&
13579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13581 (eval $ac_try) 2>&5
13583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13584 (exit $ac_status); }; } &&
13585 { ac_try='test -s conftest$ac_exeext'
13586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13587 (eval $ac_try) 2>&5
13589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13590 (exit $ac_status); }; }; then
13591 ac_cv_c_dll_gnuelf="yes"
13593 echo "$as_me: failed program was:" >&5
13594 sed 's/^/| /' conftest.$ac_ext >&5
13596 ac_cv_c_dll_gnuelf="no"
13598 rm -f conftest.err conftest.$ac_objext \
13599 conftest$ac_exeext conftest.$ac_ext
13600 CFLAGS=$ac_wine_try_cflags_saved
13602 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13603 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
13604 if test "$ac_cv_c_dll_gnuelf" = "yes"
13606 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13607 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13608 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
13609 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
13610 if test "${ac_cv_c_dll_zdefs+set}" = set; then
13611 echo $ECHO_N "(cached) $ECHO_C" >&6
13613 ac_wine_try_cflags_saved=$CFLAGS
13614 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13615 cat >conftest.$ac_ext <<_ACEOF
13618 cat confdefs.h >>conftest.$ac_ext
13619 cat >>conftest.$ac_ext <<_ACEOF
13620 /* end confdefs.h. */
13630 rm -f conftest.$ac_objext conftest$ac_exeext
13631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13632 (eval $ac_link) 2>conftest.er1
13634 grep -v '^ *+' conftest.er1 >conftest.err
13636 cat conftest.err >&5
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 (exit $ac_status); } &&
13639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13641 (eval $ac_try) 2>&5
13643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13644 (exit $ac_status); }; } &&
13645 { ac_try='test -s conftest$ac_exeext'
13646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13647 (eval $ac_try) 2>&5
13649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13650 (exit $ac_status); }; }; then
13651 ac_cv_c_dll_zdefs="yes"
13653 echo "$as_me: failed program was:" >&5
13654 sed 's/^/| /' conftest.$ac_ext >&5
13656 ac_cv_c_dll_zdefs="no"
13658 rm -f conftest.err conftest.$ac_objext \
13659 conftest$ac_exeext conftest.$ac_ext
13660 CFLAGS=$ac_wine_try_cflags_saved
13662 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
13663 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
13664 if test "$ac_cv_c_dll_zdefs" = "yes"
13666 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13669 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
13670 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
13671 if test "${ac_cv_c_dll_init_fini+set}" = set; then
13672 echo $ECHO_N "(cached) $ECHO_C" >&6
13674 ac_wine_try_cflags_saved=$CFLAGS
13675 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13676 cat >conftest.$ac_ext <<_ACEOF
13679 cat confdefs.h >>conftest.$ac_ext
13680 cat >>conftest.$ac_ext <<_ACEOF
13681 /* end confdefs.h. */
13691 rm -f conftest.$ac_objext conftest$ac_exeext
13692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13693 (eval $ac_link) 2>conftest.er1
13695 grep -v '^ *+' conftest.er1 >conftest.err
13697 cat conftest.err >&5
13698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); } &&
13700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13702 (eval $ac_try) 2>&5
13704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13705 (exit $ac_status); }; } &&
13706 { ac_try='test -s conftest$ac_exeext'
13707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13708 (eval $ac_try) 2>&5
13710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13711 (exit $ac_status); }; }; then
13712 ac_cv_c_dll_init_fini="yes"
13714 echo "$as_me: failed program was:" >&5
13715 sed 's/^/| /' conftest.$ac_ext >&5
13717 ac_cv_c_dll_init_fini="no"
13719 rm -f conftest.err conftest.$ac_objext \
13720 conftest$ac_exeext conftest.$ac_ext
13721 CFLAGS=$ac_wine_try_cflags_saved
13723 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
13724 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
13725 if test "$ac_cv_c_dll_init_fini" = "yes"
13727 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13730 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
13731 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
13732 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
13733 echo $ECHO_N "(cached) $ECHO_C" >&6
13735 echo '{ global: *; };' >conftest.map
13736 ac_wine_try_cflags_saved=$CFLAGS
13737 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13738 cat >conftest.$ac_ext <<_ACEOF
13741 cat confdefs.h >>conftest.$ac_ext
13742 cat >>conftest.$ac_ext <<_ACEOF
13743 /* end confdefs.h. */
13753 rm -f conftest.$ac_objext conftest$ac_exeext
13754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13755 (eval $ac_link) 2>conftest.er1
13757 grep -v '^ *+' conftest.er1 >conftest.err
13759 cat conftest.err >&5
13760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13761 (exit $ac_status); } &&
13762 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13764 (eval $ac_try) 2>&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); }; } &&
13768 { ac_try='test -s conftest$ac_exeext'
13769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13770 (eval $ac_try) 2>&5
13772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13773 (exit $ac_status); }; }; then
13774 ac_cv_c_ld_version_scripts="yes"
13776 echo "$as_me: failed program was:" >&5
13777 sed 's/^/| /' conftest.$ac_ext >&5
13779 ac_cv_c_ld_version_scripts="no"
13781 rm -f conftest.err conftest.$ac_objext \
13782 conftest$ac_exeext conftest.$ac_ext
13783 CFLAGS=$ac_wine_try_cflags_saved
13786 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
13787 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
13788 if test "$ac_cv_c_ld_version_scripts" = "yes"
13790 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13793 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
13794 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
13795 if test "${ac_cv_c_export_dynamic+set}" = set; then
13796 echo $ECHO_N "(cached) $ECHO_C" >&6
13798 ac_wine_try_cflags_saved=$CFLAGS
13799 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13800 cat >conftest.$ac_ext <<_ACEOF
13803 cat confdefs.h >>conftest.$ac_ext
13804 cat >>conftest.$ac_ext <<_ACEOF
13805 /* end confdefs.h. */
13815 rm -f conftest.$ac_objext conftest$ac_exeext
13816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13817 (eval $ac_link) 2>conftest.er1
13819 grep -v '^ *+' conftest.er1 >conftest.err
13821 cat conftest.err >&5
13822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823 (exit $ac_status); } &&
13824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13826 (eval $ac_try) 2>&5
13828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13829 (exit $ac_status); }; } &&
13830 { ac_try='test -s conftest$ac_exeext'
13831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13832 (eval $ac_try) 2>&5
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 (exit $ac_status); }; }; then
13836 ac_cv_c_export_dynamic="yes"
13838 echo "$as_me: failed program was:" >&5
13839 sed 's/^/| /' conftest.$ac_ext >&5
13841 ac_cv_c_export_dynamic="no"
13843 rm -f conftest.err conftest.$ac_objext \
13844 conftest$ac_exeext conftest.$ac_ext
13845 CFLAGS=$ac_wine_try_cflags_saved
13847 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
13848 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
13849 if test "$ac_cv_c_export_dynamic" = "yes"
13851 LDEXECFLAGS="-Wl,--export-dynamic"
13857 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x77f00000" >&5
13858 echo $ECHO_N "checking whether we can relocate the executable to 0x77f00000... $ECHO_C" >&6
13859 if test "${ac_cv_ld_reloc_exec+set}" = set; then
13860 echo $ECHO_N "(cached) $ECHO_C" >&6
13862 ac_wine_try_cflags_saved=$CFLAGS
13863 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x77f00400"
13864 cat >conftest.$ac_ext <<_ACEOF
13867 cat confdefs.h >>conftest.$ac_ext
13868 cat >>conftest.$ac_ext <<_ACEOF
13869 /* end confdefs.h. */
13879 rm -f conftest.$ac_objext conftest$ac_exeext
13880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13881 (eval $ac_link) 2>conftest.er1
13883 grep -v '^ *+' conftest.er1 >conftest.err
13885 cat conftest.err >&5
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); } &&
13888 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13890 (eval $ac_try) 2>&5
13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893 (exit $ac_status); }; } &&
13894 { ac_try='test -s conftest$ac_exeext'
13895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13896 (eval $ac_try) 2>&5
13898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13899 (exit $ac_status); }; }; then
13900 ac_cv_ld_reloc_exec="yes"
13902 echo "$as_me: failed program was:" >&5
13903 sed 's/^/| /' conftest.$ac_ext >&5
13905 ac_cv_ld_reloc_exec="no"
13907 rm -f conftest.err conftest.$ac_objext \
13908 conftest$ac_exeext conftest.$ac_ext
13909 CFLAGS=$ac_wine_try_cflags_saved
13911 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
13912 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
13913 if test "$ac_cv_ld_reloc_exec" = "yes"
13915 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x77f00400"
13921 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13922 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
13923 if test "${ac_cv_c_dll_unixware+set}" = set; then
13924 echo $ECHO_N "(cached) $ECHO_C" >&6
13926 ac_wine_try_cflags_saved=$CFLAGS
13927 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13928 cat >conftest.$ac_ext <<_ACEOF
13931 rm -f conftest.$ac_objext conftest$ac_exeext
13932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13933 (eval $ac_link) 2>conftest.er1
13935 grep -v '^ *+' conftest.er1 >conftest.err
13937 cat conftest.err >&5
13938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13939 (exit $ac_status); } &&
13940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13942 (eval $ac_try) 2>&5
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 (exit $ac_status); }; } &&
13946 { ac_try='test -s conftest$ac_exeext'
13947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13948 (eval $ac_try) 2>&5
13950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 (exit $ac_status); }; }; then
13952 ac_cv_c_dll_unixware="yes"
13954 echo "$as_me: failed program was:" >&5
13955 sed 's/^/| /' conftest.$ac_ext >&5
13957 ac_cv_c_dll_unixware="no"
13959 rm -f conftest.err conftest.$ac_objext \
13960 conftest$ac_exeext conftest.$ac_ext
13961 CFLAGS=$ac_wine_try_cflags_saved
13963 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13964 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
13965 if test "$ac_cv_c_dll_unixware" = "yes"
13967 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13968 LDDLLFLAGS="-Wl,-G,-B,symbolic"
13971 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
13972 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
13973 if test "${ac_cv_c_dll_macho+set}" = set; then
13974 echo $ECHO_N "(cached) $ECHO_C" >&6
13976 ac_wine_try_cflags_saved=$CFLAGS
13977 CFLAGS="$CFLAGS -bundle"
13978 cat >conftest.$ac_ext <<_ACEOF
13981 rm -f conftest.$ac_objext conftest$ac_exeext
13982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13983 (eval $ac_link) 2>conftest.er1
13985 grep -v '^ *+' conftest.er1 >conftest.err
13987 cat conftest.err >&5
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); } &&
13990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13992 (eval $ac_try) 2>&5
13994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13995 (exit $ac_status); }; } &&
13996 { ac_try='test -s conftest$ac_exeext'
13997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13998 (eval $ac_try) 2>&5
14000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14001 (exit $ac_status); }; }; then
14002 ac_cv_c_dll_macho="yes"
14004 echo "$as_me: failed program was:" >&5
14005 sed 's/^/| /' conftest.$ac_ext >&5
14007 ac_cv_c_dll_macho="no"
14009 rm -f conftest.err conftest.$ac_objext \
14010 conftest$ac_exeext conftest.$ac_ext
14011 CFLAGS=$ac_wine_try_cflags_saved
14013 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
14014 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
14015 if test "$ac_cv_c_dll_macho" = "yes"
14018 LDDLLFLAGS="-bundle -flat_namespace -undefined suppress -read_only_relocs warning"
14019 LDSHARED="\$(CC) -dynamiclib"
14020 CFLAGS="$CFLAGS -ffixed-r13 -no-cpp-precomp"
14021 STRIP="$STRIP -u -r"
14022 LDEXECFLAGS="-seg1addr 0x120000"
14024 LDLIBWINEFLAGS="-seg1addr 0x140000"
14026 COREFOUNDATIONLIB="-framework CoreFoundation"
14028 IOKITLIB="-framework IOKit"
14030 IOKITLIB="$IOKITLIB $COREFOUNDATIONLIB"
14032 echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
14033 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6
14034 if test "${ac_cv_c_dll_hpux+set}" = set; then
14035 echo $ECHO_N "(cached) $ECHO_C" >&6
14037 ac_wine_try_cflags_saved=$CFLAGS
14038 CFLAGS="$CFLAGS -shared"
14039 cat >conftest.$ac_ext <<_ACEOF
14042 rm -f conftest.$ac_objext conftest$ac_exeext
14043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14044 (eval $ac_link) 2>conftest.er1
14046 grep -v '^ *+' conftest.er1 >conftest.err
14048 cat conftest.err >&5
14049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 (exit $ac_status); } &&
14051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
14057 { ac_try='test -s conftest$ac_exeext'
14058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14059 (eval $ac_try) 2>&5
14061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14062 (exit $ac_status); }; }; then
14063 ac_cv_c_dll_hpux="yes"
14065 echo "$as_me: failed program was:" >&5
14066 sed 's/^/| /' conftest.$ac_ext >&5
14068 ac_cv_c_dll_hpux="no"
14070 rm -f conftest.err conftest.$ac_objext \
14071 conftest$ac_exeext conftest.$ac_ext
14072 CFLAGS=$ac_wine_try_cflags_saved
14074 echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
14075 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6
14076 if test "$ac_cv_c_dll_hpux" = "yes"
14080 LDDLLFLAGS="-shared -fPIC"
14081 LDSHARED="\$(CC) -shared"
14090 if test "$cross_compiling" = "no"
14092 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
14094 # Extract the first word of "$ac_prog", so it can be a program name with args.
14095 set dummy $ac_prog; ac_word=$2
14096 echo "$as_me:$LINENO: checking for $ac_word" >&5
14097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14098 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14099 echo $ECHO_N "(cached) $ECHO_C" >&6
14101 if test -n "$CROSSCC"; then
14102 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
14104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14105 for as_dir in $PATH
14108 test -z "$as_dir" && as_dir=.
14109 for ac_exec_ext in '' $ac_executable_extensions; do
14110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14111 ac_cv_prog_CROSSCC="$ac_prog"
14112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14120 CROSSCC=$ac_cv_prog_CROSSCC
14121 if test -n "$CROSSCC"; then
14122 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14123 echo "${ECHO_T}$CROSSCC" >&6
14125 echo "$as_me:$LINENO: result: no" >&5
14126 echo "${ECHO_T}no" >&6
14129 test -n "$CROSSCC" && break
14131 test -n "$CROSSCC" || CROSSCC="false"
14133 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14135 # Extract the first word of "$ac_prog", so it can be a program name with args.
14136 set dummy $ac_prog; ac_word=$2
14137 echo "$as_me:$LINENO: checking for $ac_word" >&5
14138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14139 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14140 echo $ECHO_N "(cached) $ECHO_C" >&6
14142 if test -n "$DLLTOOL"; then
14143 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14146 for as_dir in $PATH
14149 test -z "$as_dir" && as_dir=.
14150 for ac_exec_ext in '' $ac_executable_extensions; do
14151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14152 ac_cv_prog_DLLTOOL="$ac_prog"
14153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14161 DLLTOOL=$ac_cv_prog_DLLTOOL
14162 if test -n "$DLLTOOL"; then
14163 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14164 echo "${ECHO_T}$DLLTOOL" >&6
14166 echo "$as_me:$LINENO: result: no" >&5
14167 echo "${ECHO_T}no" >&6
14170 test -n "$DLLTOOL" && break
14172 test -n "$DLLTOOL" || DLLTOOL="false"
14174 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
14176 # Extract the first word of "$ac_prog", so it can be a program name with args.
14177 set dummy $ac_prog; ac_word=$2
14178 echo "$as_me:$LINENO: checking for $ac_word" >&5
14179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14180 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14181 echo $ECHO_N "(cached) $ECHO_C" >&6
14183 if test -n "$CROSSWINDRES"; then
14184 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14187 for as_dir in $PATH
14190 test -z "$as_dir" && as_dir=.
14191 for ac_exec_ext in '' $ac_executable_extensions; do
14192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14193 ac_cv_prog_CROSSWINDRES="$ac_prog"
14194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14202 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14203 if test -n "$CROSSWINDRES"; then
14204 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14205 echo "${ECHO_T}$CROSSWINDRES" >&6
14207 echo "$as_me:$LINENO: result: no" >&5
14208 echo "${ECHO_T}no" >&6
14211 test -n "$CROSSWINDRES" && break
14213 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14215 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14220 if test "$LIBEXT" = "a"; then
14221 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14222 It is currently not possible to build Wine without shared library
14223 (.so) support to allow transparent switch between .so and .dll files.
14224 If you are using Linux, you will need a newer binutils.
14226 echo "$as_me: error: could not find a way to build shared libraries.
14227 It is currently not possible to build Wine without shared library
14228 (.so) support to allow transparent switch between .so and .dll files.
14229 If you are using Linux, you will need a newer binutils.
14231 { (exit 1); exit 1; }; }
14236 LDPATH="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14239 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14242 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14250 SOCKETLIBS="-lws2_32"
14258 *i[3456789]86*) WINE_BINARIES="wine-glibc wine-kthread wine-pthread wine-preloader"
14260 *) WINE_BINARIES="wine-glibc wine-kthread wine-pthread"
14263 MAIN_BINARY="wine-glibc"
14267 WINE_BINARIES="wine-pthread"
14269 MAIN_BINARY="wine-pthread"
14273 WINE_BINARIES="wine-kthread"
14275 MAIN_BINARY="wine-kthread"
14281 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14283 # Extract the first word of "ldd", so it can be a program name with args.
14284 set dummy ldd; ac_word=$2
14285 echo "$as_me:$LINENO: checking for $ac_word" >&5
14286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14287 if test "${ac_cv_path_LDD+set}" = set; then
14288 echo $ECHO_N "(cached) $ECHO_C" >&6
14292 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14296 as_dummy="/sbin:/usr/sbin:$PATH"
14297 for as_dir in $as_dummy
14300 test -z "$as_dir" && as_dir=.
14301 for ac_exec_ext in '' $ac_executable_extensions; do
14302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14303 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14310 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14314 LDD=$ac_cv_path_LDD
14316 if test -n "$LDD"; then
14317 echo "$as_me:$LINENO: result: $LDD" >&5
14318 echo "${ECHO_T}$LDD" >&6
14320 echo "$as_me:$LINENO: result: no" >&5
14321 echo "${ECHO_T}no" >&6
14325 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14326 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14327 if test "${ac_cv_lib_soname_X11+set}" = set; then
14328 echo $ECHO_N "(cached) $ECHO_C" >&6
14330 ac_get_soname_save_LIBS=$LIBS
14331 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14332 cat >conftest.$ac_ext <<_ACEOF
14335 cat confdefs.h >>conftest.$ac_ext
14336 cat >>conftest.$ac_ext <<_ACEOF
14337 /* end confdefs.h. */
14339 /* Override any gcc2 internal prototype to avoid an error. */
14343 /* We use char because int might match the return type of a gcc2
14344 builtin and then its argument prototype would still apply. */
14345 char XCreateWindow ();
14354 rm -f conftest.$ac_objext conftest$ac_exeext
14355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14356 (eval $ac_link) 2>conftest.er1
14358 grep -v '^ *+' conftest.er1 >conftest.err
14360 cat conftest.err >&5
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); } &&
14363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14365 (eval $ac_try) 2>&5
14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); }; } &&
14369 { ac_try='test -s conftest$ac_exeext'
14370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14371 (eval $ac_try) 2>&5
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); }; }; then
14375 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"`
14376 if test "x$ac_cv_lib_soname_X11" = "x"
14378 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14381 echo "$as_me: failed program was:" >&5
14382 sed 's/^/| /' conftest.$ac_ext >&5
14384 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14386 rm -f conftest.err conftest.$ac_objext \
14387 conftest$ac_exeext conftest.$ac_ext
14388 LIBS=$ac_get_soname_save_LIBS
14390 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14391 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14392 if test "x$ac_cv_lib_soname_X11" != xNONE
14394 cat >>confdefs.h <<_ACEOF
14395 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14399 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14400 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14401 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14402 echo $ECHO_N "(cached) $ECHO_C" >&6
14404 ac_get_soname_save_LIBS=$LIBS
14405 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14406 cat >conftest.$ac_ext <<_ACEOF
14409 cat confdefs.h >>conftest.$ac_ext
14410 cat >>conftest.$ac_ext <<_ACEOF
14411 /* end confdefs.h. */
14413 /* Override any gcc2 internal prototype to avoid an error. */
14417 /* We use char because int might match the return type of a gcc2
14418 builtin and then its argument prototype would still apply. */
14419 char XextCreateExtension ();
14423 XextCreateExtension ();
14428 rm -f conftest.$ac_objext conftest$ac_exeext
14429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14430 (eval $ac_link) 2>conftest.er1
14432 grep -v '^ *+' conftest.er1 >conftest.err
14434 cat conftest.err >&5
14435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14436 (exit $ac_status); } &&
14437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14439 (eval $ac_try) 2>&5
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); }; } &&
14443 { ac_try='test -s conftest$ac_exeext'
14444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14445 (eval $ac_try) 2>&5
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); }; }; then
14449 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"`
14450 if test "x$ac_cv_lib_soname_Xext" = "x"
14452 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14455 echo "$as_me: failed program was:" >&5
14456 sed 's/^/| /' conftest.$ac_ext >&5
14458 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14460 rm -f conftest.err conftest.$ac_objext \
14461 conftest$ac_exeext conftest.$ac_ext
14462 LIBS=$ac_get_soname_save_LIBS
14464 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14465 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14466 if test "x$ac_cv_lib_soname_Xext" != xNONE
14468 cat >>confdefs.h <<_ACEOF
14469 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14473 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14474 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14475 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14476 echo $ECHO_N "(cached) $ECHO_C" >&6
14478 ac_get_soname_save_LIBS=$LIBS
14479 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14480 cat >conftest.$ac_ext <<_ACEOF
14483 cat confdefs.h >>conftest.$ac_ext
14484 cat >>conftest.$ac_ext <<_ACEOF
14485 /* end confdefs.h. */
14487 /* Override any gcc2 internal prototype to avoid an error. */
14491 /* We use char because int might match the return type of a gcc2
14492 builtin and then its argument prototype would still apply. */
14493 char XOpenDevice ();
14502 rm -f conftest.$ac_objext conftest$ac_exeext
14503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14504 (eval $ac_link) 2>conftest.er1
14506 grep -v '^ *+' conftest.er1 >conftest.err
14508 cat conftest.err >&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); } &&
14511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14513 (eval $ac_try) 2>&5
14515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516 (exit $ac_status); }; } &&
14517 { ac_try='test -s conftest$ac_exeext'
14518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14519 (eval $ac_try) 2>&5
14521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14522 (exit $ac_status); }; }; then
14523 ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"`
14524 if test "x$ac_cv_lib_soname_Xi" = "x"
14526 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14529 echo "$as_me: failed program was:" >&5
14530 sed 's/^/| /' conftest.$ac_ext >&5
14532 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14534 rm -f conftest.err conftest.$ac_objext \
14535 conftest$ac_exeext conftest.$ac_ext
14536 LIBS=$ac_get_soname_save_LIBS
14538 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14539 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14540 if test "x$ac_cv_lib_soname_Xi" != xNONE
14542 cat >>confdefs.h <<_ACEOF
14543 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14547 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14548 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14549 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14550 echo $ECHO_N "(cached) $ECHO_C" >&6
14552 ac_get_soname_save_LIBS=$LIBS
14553 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14554 cat >conftest.$ac_ext <<_ACEOF
14557 cat confdefs.h >>conftest.$ac_ext
14558 cat >>conftest.$ac_ext <<_ACEOF
14559 /* end confdefs.h. */
14561 /* Override any gcc2 internal prototype to avoid an error. */
14565 /* We use char because int might match the return type of a gcc2
14566 builtin and then its argument prototype would still apply. */
14567 char XRenderQueryExtension ();
14571 XRenderQueryExtension ();
14576 rm -f conftest.$ac_objext conftest$ac_exeext
14577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14578 (eval $ac_link) 2>conftest.er1
14580 grep -v '^ *+' conftest.er1 >conftest.err
14582 cat conftest.err >&5
14583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584 (exit $ac_status); } &&
14585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14587 (eval $ac_try) 2>&5
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); }; } &&
14591 { ac_try='test -s conftest$ac_exeext'
14592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14593 (eval $ac_try) 2>&5
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); }; }; then
14597 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"`
14598 if test "x$ac_cv_lib_soname_Xrender" = "x"
14600 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14603 echo "$as_me: failed program was:" >&5
14604 sed 's/^/| /' conftest.$ac_ext >&5
14606 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14608 rm -f conftest.err conftest.$ac_objext \
14609 conftest$ac_exeext conftest.$ac_ext
14610 LIBS=$ac_get_soname_save_LIBS
14612 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14613 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14614 if test "x$ac_cv_lib_soname_Xrender" != xNONE
14616 cat >>confdefs.h <<_ACEOF
14617 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14621 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14622 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
14623 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14624 echo $ECHO_N "(cached) $ECHO_C" >&6
14626 ac_get_soname_save_LIBS=$LIBS
14627 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14628 cat >conftest.$ac_ext <<_ACEOF
14631 cat confdefs.h >>conftest.$ac_ext
14632 cat >>conftest.$ac_ext <<_ACEOF
14633 /* end confdefs.h. */
14635 /* Override any gcc2 internal prototype to avoid an error. */
14639 /* We use char because int might match the return type of a gcc2
14640 builtin and then its argument prototype would still apply. */
14641 char XRRQueryExtension ();
14645 XRRQueryExtension ();
14650 rm -f conftest.$ac_objext conftest$ac_exeext
14651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14652 (eval $ac_link) 2>conftest.er1
14654 grep -v '^ *+' conftest.er1 >conftest.err
14656 cat conftest.err >&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); } &&
14659 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14661 (eval $ac_try) 2>&5
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); }; } &&
14665 { ac_try='test -s conftest$ac_exeext'
14666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14667 (eval $ac_try) 2>&5
14669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670 (exit $ac_status); }; }; then
14671 ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"`
14672 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14674 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14677 echo "$as_me: failed program was:" >&5
14678 sed 's/^/| /' conftest.$ac_ext >&5
14680 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14682 rm -f conftest.err conftest.$ac_objext \
14683 conftest$ac_exeext conftest.$ac_ext
14684 LIBS=$ac_get_soname_save_LIBS
14686 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14687 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
14688 if test "x$ac_cv_lib_soname_Xrandr" != xNONE
14690 cat >>confdefs.h <<_ACEOF
14691 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14695 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14696 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14697 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14698 echo $ECHO_N "(cached) $ECHO_C" >&6
14700 ac_get_soname_save_LIBS=$LIBS
14701 LIBS="-lfreetype $X_LIBS $LIBS"
14702 cat >conftest.$ac_ext <<_ACEOF
14705 cat confdefs.h >>conftest.$ac_ext
14706 cat >>conftest.$ac_ext <<_ACEOF
14707 /* end confdefs.h. */
14709 /* Override any gcc2 internal prototype to avoid an error. */
14713 /* We use char because int might match the return type of a gcc2
14714 builtin and then its argument prototype would still apply. */
14715 char FT_Init_FreeType ();
14719 FT_Init_FreeType ();
14724 rm -f conftest.$ac_objext conftest$ac_exeext
14725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14726 (eval $ac_link) 2>conftest.er1
14728 grep -v '^ *+' conftest.er1 >conftest.err
14730 cat conftest.err >&5
14731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 (exit $ac_status); } &&
14733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14735 (eval $ac_try) 2>&5
14737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 (exit $ac_status); }; } &&
14739 { ac_try='test -s conftest$ac_exeext'
14740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14741 (eval $ac_try) 2>&5
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); }; }; then
14745 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"`
14746 if test "x$ac_cv_lib_soname_freetype" = "x"
14748 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14751 echo "$as_me: failed program was:" >&5
14752 sed 's/^/| /' conftest.$ac_ext >&5
14754 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14756 rm -f conftest.err conftest.$ac_objext \
14757 conftest$ac_exeext conftest.$ac_ext
14758 LIBS=$ac_get_soname_save_LIBS
14760 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14761 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
14762 if test "x$ac_cv_lib_soname_freetype" != xNONE
14764 cat >>confdefs.h <<_ACEOF
14765 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14769 echo "$as_me:$LINENO: checking for -lGL soname" >&5
14770 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
14771 if test "${ac_cv_lib_soname_GL+set}" = set; then
14772 echo $ECHO_N "(cached) $ECHO_C" >&6
14774 ac_get_soname_save_LIBS=$LIBS
14775 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14776 cat >conftest.$ac_ext <<_ACEOF
14779 cat confdefs.h >>conftest.$ac_ext
14780 cat >>conftest.$ac_ext <<_ACEOF
14781 /* end confdefs.h. */
14783 /* Override any gcc2 internal prototype to avoid an error. */
14787 /* We use char because int might match the return type of a gcc2
14788 builtin and then its argument prototype would still apply. */
14789 char glXQueryExtension ();
14793 glXQueryExtension ();
14798 rm -f conftest.$ac_objext conftest$ac_exeext
14799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14800 (eval $ac_link) 2>conftest.er1
14802 grep -v '^ *+' conftest.er1 >conftest.err
14804 cat conftest.err >&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } &&
14807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; } &&
14813 { ac_try='test -s conftest$ac_exeext'
14814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14815 (eval $ac_try) 2>&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); }; }; then
14819 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"`
14820 if test "x$ac_cv_lib_soname_GL" = "x"
14822 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14825 echo "$as_me: failed program was:" >&5
14826 sed 's/^/| /' conftest.$ac_ext >&5
14828 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14830 rm -f conftest.err conftest.$ac_objext \
14831 conftest$ac_exeext conftest.$ac_ext
14832 LIBS=$ac_get_soname_save_LIBS
14834 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14835 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
14836 if test "x$ac_cv_lib_soname_GL" != xNONE
14838 cat >>confdefs.h <<_ACEOF
14839 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14843 echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14844 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6
14845 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14846 echo $ECHO_N "(cached) $ECHO_C" >&6
14848 ac_get_soname_save_LIBS=$LIBS
14849 LIBS="-ltxc_dxtn $LIBS"
14850 cat >conftest.$ac_ext <<_ACEOF
14853 cat confdefs.h >>conftest.$ac_ext
14854 cat >>conftest.$ac_ext <<_ACEOF
14855 /* end confdefs.h. */
14857 /* Override any gcc2 internal prototype to avoid an error. */
14861 /* We use char because int might match the return type of a gcc2
14862 builtin and then its argument prototype would still apply. */
14863 char fetch_2d_texel_rgba_dxt1 ();
14867 fetch_2d_texel_rgba_dxt1 ();
14872 rm -f conftest.$ac_objext conftest$ac_exeext
14873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14874 (eval $ac_link) 2>conftest.er1
14876 grep -v '^ *+' conftest.er1 >conftest.err
14878 cat conftest.err >&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); } &&
14881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14883 (eval $ac_try) 2>&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); }; } &&
14887 { ac_try='test -s conftest$ac_exeext'
14888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14889 (eval $ac_try) 2>&5
14891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892 (exit $ac_status); }; }; then
14893 ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"`
14894 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
14896 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14899 echo "$as_me: failed program was:" >&5
14900 sed 's/^/| /' conftest.$ac_ext >&5
14902 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14904 rm -f conftest.err conftest.$ac_objext \
14905 conftest$ac_exeext conftest.$ac_ext
14906 LIBS=$ac_get_soname_save_LIBS
14908 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
14909 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6
14910 if test "x$ac_cv_lib_soname_txc_dxtn" != xNONE
14912 cat >>confdefs.h <<_ACEOF
14913 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
14917 echo "$as_me:$LINENO: checking for -lcups soname" >&5
14918 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
14919 if test "${ac_cv_lib_soname_cups+set}" = set; then
14920 echo $ECHO_N "(cached) $ECHO_C" >&6
14922 ac_get_soname_save_LIBS=$LIBS
14923 LIBS="-lcups $LIBS"
14924 cat >conftest.$ac_ext <<_ACEOF
14927 cat confdefs.h >>conftest.$ac_ext
14928 cat >>conftest.$ac_ext <<_ACEOF
14929 /* end confdefs.h. */
14931 /* Override any gcc2 internal prototype to avoid an error. */
14935 /* We use char because int might match the return type of a gcc2
14936 builtin and then its argument prototype would still apply. */
14937 char cupsGetDefault ();
14946 rm -f conftest.$ac_objext conftest$ac_exeext
14947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14948 (eval $ac_link) 2>conftest.er1
14950 grep -v '^ *+' conftest.er1 >conftest.err
14952 cat conftest.err >&5
14953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14954 (exit $ac_status); } &&
14955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14957 (eval $ac_try) 2>&5
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); }; } &&
14961 { ac_try='test -s conftest$ac_exeext'
14962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14963 (eval $ac_try) 2>&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); }; }; then
14967 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"`
14968 if test "x$ac_cv_lib_soname_cups" = "x"
14970 ac_cv_lib_soname_cups="libcups.$LIBEXT"
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.$ac_ext >&5
14976 ac_cv_lib_soname_cups="libcups.$LIBEXT"
14978 rm -f conftest.err conftest.$ac_objext \
14979 conftest$ac_exeext conftest.$ac_ext
14980 LIBS=$ac_get_soname_save_LIBS
14982 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14983 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
14984 if test "x$ac_cv_lib_soname_cups" != xNONE
14986 cat >>confdefs.h <<_ACEOF
14987 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14991 echo "$as_me:$LINENO: checking for -ljack soname" >&5
14992 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
14993 if test "${ac_cv_lib_soname_jack+set}" = set; then
14994 echo $ECHO_N "(cached) $ECHO_C" >&6
14996 ac_get_soname_save_LIBS=$LIBS
14997 LIBS="-ljack $LIBS"
14998 cat >conftest.$ac_ext <<_ACEOF
15001 cat confdefs.h >>conftest.$ac_ext
15002 cat >>conftest.$ac_ext <<_ACEOF
15003 /* end confdefs.h. */
15005 /* Override any gcc2 internal prototype to avoid an error. */
15009 /* We use char because int might match the return type of a gcc2
15010 builtin and then its argument prototype would still apply. */
15011 char jack_client_new ();
15015 jack_client_new ();
15020 rm -f conftest.$ac_objext conftest$ac_exeext
15021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15022 (eval $ac_link) 2>conftest.er1
15024 grep -v '^ *+' conftest.er1 >conftest.err
15026 cat conftest.err >&5
15027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028 (exit $ac_status); } &&
15029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15031 (eval $ac_try) 2>&5
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); }; } &&
15035 { ac_try='test -s conftest$ac_exeext'
15036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15037 (eval $ac_try) 2>&5
15039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); }; }; then
15041 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"`
15042 if test "x$ac_cv_lib_soname_jack" = "x"
15044 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15047 echo "$as_me: failed program was:" >&5
15048 sed 's/^/| /' conftest.$ac_ext >&5
15050 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15052 rm -f conftest.err conftest.$ac_objext \
15053 conftest$ac_exeext conftest.$ac_ext
15054 LIBS=$ac_get_soname_save_LIBS
15056 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15057 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15058 if test "x$ac_cv_lib_soname_jack" != xNONE
15060 cat >>confdefs.h <<_ACEOF
15061 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15065 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15066 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15067 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15068 echo $ECHO_N "(cached) $ECHO_C" >&6
15070 ac_get_soname_save_LIBS=$LIBS
15071 LIBS="-lfontconfig $LIBS"
15072 cat >conftest.$ac_ext <<_ACEOF
15075 cat confdefs.h >>conftest.$ac_ext
15076 cat >>conftest.$ac_ext <<_ACEOF
15077 /* end confdefs.h. */
15079 /* Override any gcc2 internal prototype to avoid an error. */
15083 /* We use char because int might match the return type of a gcc2
15084 builtin and then its argument prototype would still apply. */
15094 rm -f conftest.$ac_objext conftest$ac_exeext
15095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15096 (eval $ac_link) 2>conftest.er1
15098 grep -v '^ *+' conftest.er1 >conftest.err
15100 cat conftest.err >&5
15101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15102 (exit $ac_status); } &&
15103 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15105 (eval $ac_try) 2>&5
15107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15108 (exit $ac_status); }; } &&
15109 { ac_try='test -s conftest$ac_exeext'
15110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15111 (eval $ac_try) 2>&5
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); }; }; then
15115 ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"`
15116 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15118 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15121 echo "$as_me: failed program was:" >&5
15122 sed 's/^/| /' conftest.$ac_ext >&5
15124 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15126 rm -f conftest.err conftest.$ac_objext \
15127 conftest$ac_exeext conftest.$ac_ext
15128 LIBS=$ac_get_soname_save_LIBS
15130 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15131 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15132 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
15134 cat >>confdefs.h <<_ACEOF
15135 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15139 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15140 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15141 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15142 echo $ECHO_N "(cached) $ECHO_C" >&6
15144 ac_get_soname_save_LIBS=$LIBS
15146 cat >conftest.$ac_ext <<_ACEOF
15149 cat confdefs.h >>conftest.$ac_ext
15150 cat >>conftest.$ac_ext <<_ACEOF
15151 /* end confdefs.h. */
15153 /* Override any gcc2 internal prototype to avoid an error. */
15157 /* We use char because int might match the return type of a gcc2
15158 builtin and then its argument prototype would still apply. */
15159 char SSL_library_init ();
15163 SSL_library_init ();
15168 rm -f conftest.$ac_objext conftest$ac_exeext
15169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15170 (eval $ac_link) 2>conftest.er1
15172 grep -v '^ *+' conftest.er1 >conftest.err
15174 cat conftest.err >&5
15175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15176 (exit $ac_status); } &&
15177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15179 (eval $ac_try) 2>&5
15181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15182 (exit $ac_status); }; } &&
15183 { ac_try='test -s conftest$ac_exeext'
15184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15185 (eval $ac_try) 2>&5
15187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15188 (exit $ac_status); }; }; then
15189 ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"`
15190 if test "x$ac_cv_lib_soname_ssl" = "x"
15192 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15195 echo "$as_me: failed program was:" >&5
15196 sed 's/^/| /' conftest.$ac_ext >&5
15198 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15200 rm -f conftest.err conftest.$ac_objext \
15201 conftest$ac_exeext conftest.$ac_ext
15202 LIBS=$ac_get_soname_save_LIBS
15204 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15205 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15206 if test "x$ac_cv_lib_soname_ssl" != xNONE
15208 cat >>confdefs.h <<_ACEOF
15209 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15213 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15214 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15215 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15216 echo $ECHO_N "(cached) $ECHO_C" >&6
15218 ac_get_soname_save_LIBS=$LIBS
15219 LIBS="-lcrypto $LIBS"
15220 cat >conftest.$ac_ext <<_ACEOF
15223 cat confdefs.h >>conftest.$ac_ext
15224 cat >>conftest.$ac_ext <<_ACEOF
15225 /* end confdefs.h. */
15227 /* Override any gcc2 internal prototype to avoid an error. */
15231 /* We use char because int might match the return type of a gcc2
15232 builtin and then its argument prototype would still apply. */
15233 char BIO_new_socket ();
15242 rm -f conftest.$ac_objext conftest$ac_exeext
15243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15244 (eval $ac_link) 2>conftest.er1
15246 grep -v '^ *+' conftest.er1 >conftest.err
15248 cat conftest.err >&5
15249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15250 (exit $ac_status); } &&
15251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15253 (eval $ac_try) 2>&5
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); }; } &&
15257 { ac_try='test -s conftest$ac_exeext'
15258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15259 (eval $ac_try) 2>&5
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); }; }; then
15263 ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"`
15264 if test "x$ac_cv_lib_soname_crypto" = "x"
15266 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15269 echo "$as_me: failed program was:" >&5
15270 sed 's/^/| /' conftest.$ac_ext >&5
15272 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15274 rm -f conftest.err conftest.$ac_objext \
15275 conftest$ac_exeext conftest.$ac_ext
15276 LIBS=$ac_get_soname_save_LIBS
15278 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15279 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15280 if test "x$ac_cv_lib_soname_crypto" != xNONE
15282 cat >>confdefs.h <<_ACEOF
15283 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15287 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15288 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15289 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15290 echo $ECHO_N "(cached) $ECHO_C" >&6
15292 ac_get_soname_save_LIBS=$LIBS
15293 LIBS="-lncurses $LIBS"
15294 cat >conftest.$ac_ext <<_ACEOF
15297 cat confdefs.h >>conftest.$ac_ext
15298 cat >>conftest.$ac_ext <<_ACEOF
15299 /* end confdefs.h. */
15301 /* Override any gcc2 internal prototype to avoid an error. */
15305 /* We use char because int might match the return type of a gcc2
15306 builtin and then its argument prototype would still apply. */
15316 rm -f conftest.$ac_objext conftest$ac_exeext
15317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15318 (eval $ac_link) 2>conftest.er1
15320 grep -v '^ *+' conftest.er1 >conftest.err
15322 cat conftest.err >&5
15323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324 (exit $ac_status); } &&
15325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15327 (eval $ac_try) 2>&5
15329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); }; } &&
15331 { ac_try='test -s conftest$ac_exeext'
15332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15333 (eval $ac_try) 2>&5
15335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15336 (exit $ac_status); }; }; then
15337 ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"`
15338 if test "x$ac_cv_lib_soname_ncurses" = "x"
15340 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15343 echo "$as_me: failed program was:" >&5
15344 sed 's/^/| /' conftest.$ac_ext >&5
15346 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15348 rm -f conftest.err conftest.$ac_objext \
15349 conftest$ac_exeext conftest.$ac_ext
15350 LIBS=$ac_get_soname_save_LIBS
15352 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15353 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15354 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15356 cat >>confdefs.h <<_ACEOF
15357 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15361 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15362 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15363 if test "${ac_cv_lib_soname_curses+set}" = set; then
15364 echo $ECHO_N "(cached) $ECHO_C" >&6
15366 ac_get_soname_save_LIBS=$LIBS
15367 LIBS="-lcurses $LIBS"
15368 cat >conftest.$ac_ext <<_ACEOF
15371 cat confdefs.h >>conftest.$ac_ext
15372 cat >>conftest.$ac_ext <<_ACEOF
15373 /* end confdefs.h. */
15375 /* Override any gcc2 internal prototype to avoid an error. */
15379 /* We use char because int might match the return type of a gcc2
15380 builtin and then its argument prototype would still apply. */
15390 rm -f conftest.$ac_objext conftest$ac_exeext
15391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15392 (eval $ac_link) 2>conftest.er1
15394 grep -v '^ *+' conftest.er1 >conftest.err
15396 cat conftest.err >&5
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); } &&
15399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15401 (eval $ac_try) 2>&5
15403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15404 (exit $ac_status); }; } &&
15405 { ac_try='test -s conftest$ac_exeext'
15406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15407 (eval $ac_try) 2>&5
15409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15410 (exit $ac_status); }; }; then
15411 ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"`
15412 if test "x$ac_cv_lib_soname_curses" = "x"
15414 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15417 echo "$as_me: failed program was:" >&5
15418 sed 's/^/| /' conftest.$ac_ext >&5
15420 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15422 rm -f conftest.err conftest.$ac_objext \
15423 conftest$ac_exeext conftest.$ac_ext
15424 LIBS=$ac_get_soname_save_LIBS
15426 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15427 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15428 if test "x$ac_cv_lib_soname_curses" != xNONE
15430 cat >>confdefs.h <<_ACEOF
15431 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15435 echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15436 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6
15437 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15438 echo $ECHO_N "(cached) $ECHO_C" >&6
15440 ac_get_soname_save_LIBS=$LIBS
15441 LIBS="-ljpeg $LIBS"
15442 cat >conftest.$ac_ext <<_ACEOF
15445 cat confdefs.h >>conftest.$ac_ext
15446 cat >>conftest.$ac_ext <<_ACEOF
15447 /* end confdefs.h. */
15449 /* Override any gcc2 internal prototype to avoid an error. */
15453 /* We use char because int might match the return type of a gcc2
15454 builtin and then its argument prototype would still apply. */
15455 char jpeg_start_decompress ();
15459 jpeg_start_decompress ();
15464 rm -f conftest.$ac_objext conftest$ac_exeext
15465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15466 (eval $ac_link) 2>conftest.er1
15468 grep -v '^ *+' conftest.er1 >conftest.err
15470 cat conftest.err >&5
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); } &&
15473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15475 (eval $ac_try) 2>&5
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); }; } &&
15479 { ac_try='test -s conftest$ac_exeext'
15480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15481 (eval $ac_try) 2>&5
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); }; }; then
15485 ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"`
15486 if test "x$ac_cv_lib_soname_jpeg" = "x"
15488 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15491 echo "$as_me: failed program was:" >&5
15492 sed 's/^/| /' conftest.$ac_ext >&5
15494 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15496 rm -f conftest.err conftest.$ac_objext \
15497 conftest$ac_exeext conftest.$ac_ext
15498 LIBS=$ac_get_soname_save_LIBS
15500 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15501 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6
15502 if test "x$ac_cv_lib_soname_jpeg" != xNONE
15504 cat >>confdefs.h <<_ACEOF
15505 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15509 echo "$as_me:$LINENO: checking for -lungif soname" >&5
15510 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6
15511 if test "${ac_cv_lib_soname_ungif+set}" = set; then
15512 echo $ECHO_N "(cached) $ECHO_C" >&6
15514 ac_get_soname_save_LIBS=$LIBS
15515 LIBS="-lungif $LIBS"
15516 cat >conftest.$ac_ext <<_ACEOF
15519 cat confdefs.h >>conftest.$ac_ext
15520 cat >>conftest.$ac_ext <<_ACEOF
15521 /* end confdefs.h. */
15523 /* Override any gcc2 internal prototype to avoid an error. */
15527 /* We use char because int might match the return type of a gcc2
15528 builtin and then its argument prototype would still apply. */
15538 rm -f conftest.$ac_objext conftest$ac_exeext
15539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15540 (eval $ac_link) 2>conftest.er1
15542 grep -v '^ *+' conftest.er1 >conftest.err
15544 cat conftest.err >&5
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); } &&
15547 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15549 (eval $ac_try) 2>&5
15551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552 (exit $ac_status); }; } &&
15553 { ac_try='test -s conftest$ac_exeext'
15554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15555 (eval $ac_try) 2>&5
15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15558 (exit $ac_status); }; }; then
15559 ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"`
15560 if test "x$ac_cv_lib_soname_ungif" = "x"
15562 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
15565 echo "$as_me: failed program was:" >&5
15566 sed 's/^/| /' conftest.$ac_ext >&5
15568 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
15570 rm -f conftest.err conftest.$ac_objext \
15571 conftest$ac_exeext conftest.$ac_ext
15572 LIBS=$ac_get_soname_save_LIBS
15574 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
15575 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6
15576 if test "x$ac_cv_lib_soname_ungif" != xNONE
15578 cat >>confdefs.h <<_ACEOF
15579 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
15583 echo "$as_me:$LINENO: checking for -lgif soname" >&5
15584 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6
15585 if test "${ac_cv_lib_soname_gif+set}" = set; then
15586 echo $ECHO_N "(cached) $ECHO_C" >&6
15588 ac_get_soname_save_LIBS=$LIBS
15590 cat >conftest.$ac_ext <<_ACEOF
15593 cat confdefs.h >>conftest.$ac_ext
15594 cat >>conftest.$ac_ext <<_ACEOF
15595 /* end confdefs.h. */
15597 /* Override any gcc2 internal prototype to avoid an error. */
15601 /* We use char because int might match the return type of a gcc2
15602 builtin and then its argument prototype would still apply. */
15612 rm -f conftest.$ac_objext conftest$ac_exeext
15613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15614 (eval $ac_link) 2>conftest.er1
15616 grep -v '^ *+' conftest.er1 >conftest.err
15618 cat conftest.err >&5
15619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15620 (exit $ac_status); } &&
15621 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15623 (eval $ac_try) 2>&5
15625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15626 (exit $ac_status); }; } &&
15627 { ac_try='test -s conftest$ac_exeext'
15628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15629 (eval $ac_try) 2>&5
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); }; }; then
15633 ac_cv_lib_soname_gif=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"`
15634 if test "x$ac_cv_lib_soname_gif" = "x"
15636 ac_cv_lib_soname_gif="libgif.$LIBEXT"
15639 echo "$as_me: failed program was:" >&5
15640 sed 's/^/| /' conftest.$ac_ext >&5
15642 ac_cv_lib_soname_gif="libgif.$LIBEXT"
15644 rm -f conftest.err conftest.$ac_objext \
15645 conftest$ac_exeext conftest.$ac_ext
15646 LIBS=$ac_get_soname_save_LIBS
15648 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
15649 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6
15650 if test "x$ac_cv_lib_soname_gif" != xNONE
15652 cat >>confdefs.h <<_ACEOF
15653 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
15657 echo "$as_me:$LINENO: checking for -llcms soname" >&5
15658 echo $ECHO_N "checking for -llcms soname... $ECHO_C" >&6
15659 if test "${ac_cv_lib_soname_lcms+set}" = set; then
15660 echo $ECHO_N "(cached) $ECHO_C" >&6
15662 ac_get_soname_save_LIBS=$LIBS
15663 LIBS="-llcms $LIBS"
15664 cat >conftest.$ac_ext <<_ACEOF
15667 cat confdefs.h >>conftest.$ac_ext
15668 cat >>conftest.$ac_ext <<_ACEOF
15669 /* end confdefs.h. */
15671 /* Override any gcc2 internal prototype to avoid an error. */
15675 /* We use char because int might match the return type of a gcc2
15676 builtin and then its argument prototype would still apply. */
15677 char cmsOpenProfileFromFile ();
15681 cmsOpenProfileFromFile ();
15686 rm -f conftest.$ac_objext conftest$ac_exeext
15687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15688 (eval $ac_link) 2>conftest.er1
15690 grep -v '^ *+' conftest.er1 >conftest.err
15692 cat conftest.err >&5
15693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15694 (exit $ac_status); } &&
15695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15697 (eval $ac_try) 2>&5
15699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700 (exit $ac_status); }; } &&
15701 { ac_try='test -s conftest$ac_exeext'
15702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15703 (eval $ac_try) 2>&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); }; }; then
15707 ac_cv_lib_soname_lcms=`$ac_cv_path_LDD conftest$ac_exeext | grep liblcms\\.$LIBEXT | sed "s/^.*\(liblcms\.$LIBEXT[^ ]*\).*$/\1/"`
15708 if test "x$ac_cv_lib_soname_lcms" = "x"
15710 ac_cv_lib_soname_lcms="liblcms.$LIBEXT"
15713 echo "$as_me: failed program was:" >&5
15714 sed 's/^/| /' conftest.$ac_ext >&5
15716 ac_cv_lib_soname_lcms="liblcms.$LIBEXT"
15718 rm -f conftest.err conftest.$ac_objext \
15719 conftest$ac_exeext conftest.$ac_ext
15720 LIBS=$ac_get_soname_save_LIBS
15722 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_lcms" >&5
15723 echo "${ECHO_T}$ac_cv_lib_soname_lcms" >&6
15724 if test "x$ac_cv_lib_soname_lcms" != xNONE
15726 cat >>confdefs.h <<_ACEOF
15727 #define SONAME_LIBLCMS "$ac_cv_lib_soname_lcms"
15731 echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15732 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6
15733 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15734 echo $ECHO_N "(cached) $ECHO_C" >&6
15736 ac_get_soname_save_LIBS=$LIBS
15737 LIBS="-lcapi20 $LIBS"
15738 cat >conftest.$ac_ext <<_ACEOF
15741 cat confdefs.h >>conftest.$ac_ext
15742 cat >>conftest.$ac_ext <<_ACEOF
15743 /* end confdefs.h. */
15745 /* Override any gcc2 internal prototype to avoid an error. */
15749 /* We use char because int might match the return type of a gcc2
15750 builtin and then its argument prototype would still apply. */
15751 char capi20_isinstalled ();
15755 capi20_isinstalled ();
15760 rm -f conftest.$ac_objext conftest$ac_exeext
15761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15762 (eval $ac_link) 2>conftest.er1
15764 grep -v '^ *+' conftest.er1 >conftest.err
15766 cat conftest.err >&5
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); } &&
15769 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15771 (eval $ac_try) 2>&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); }; } &&
15775 { ac_try='test -s conftest$ac_exeext'
15776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15777 (eval $ac_try) 2>&5
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); }; }; then
15781 ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.$LIBEXT | sed "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"`
15782 if test "x$ac_cv_lib_soname_capi20" = "x"
15784 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15787 echo "$as_me: failed program was:" >&5
15788 sed 's/^/| /' conftest.$ac_ext >&5
15790 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15792 rm -f conftest.err conftest.$ac_objext \
15793 conftest$ac_exeext conftest.$ac_ext
15794 LIBS=$ac_get_soname_save_LIBS
15796 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15797 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6
15798 if test "x$ac_cv_lib_soname_capi20" != xNONE
15800 cat >>confdefs.h <<_ACEOF
15801 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15808 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15809 # for constant arguments. Useless!
15810 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15811 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15812 if test "${ac_cv_working_alloca_h+set}" = set; then
15813 echo $ECHO_N "(cached) $ECHO_C" >&6
15815 cat >conftest.$ac_ext <<_ACEOF
15818 cat confdefs.h >>conftest.$ac_ext
15819 cat >>conftest.$ac_ext <<_ACEOF
15820 /* end confdefs.h. */
15821 #include <alloca.h>
15825 char *p = (char *) alloca (2 * sizeof (int));
15830 rm -f conftest.$ac_objext conftest$ac_exeext
15831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15832 (eval $ac_link) 2>conftest.er1
15834 grep -v '^ *+' conftest.er1 >conftest.err
15836 cat conftest.err >&5
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); } &&
15839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15841 (eval $ac_try) 2>&5
15843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15844 (exit $ac_status); }; } &&
15845 { ac_try='test -s conftest$ac_exeext'
15846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15847 (eval $ac_try) 2>&5
15849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 (exit $ac_status); }; }; then
15851 ac_cv_working_alloca_h=yes
15853 echo "$as_me: failed program was:" >&5
15854 sed 's/^/| /' conftest.$ac_ext >&5
15856 ac_cv_working_alloca_h=no
15858 rm -f conftest.err conftest.$ac_objext \
15859 conftest$ac_exeext conftest.$ac_ext
15861 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15862 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15863 if test $ac_cv_working_alloca_h = yes; then
15865 cat >>confdefs.h <<\_ACEOF
15866 #define HAVE_ALLOCA_H 1
15871 echo "$as_me:$LINENO: checking for alloca" >&5
15872 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15873 if test "${ac_cv_func_alloca_works+set}" = set; then
15874 echo $ECHO_N "(cached) $ECHO_C" >&6
15876 cat >conftest.$ac_ext <<_ACEOF
15879 cat confdefs.h >>conftest.$ac_ext
15880 cat >>conftest.$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15883 # define alloca __builtin_alloca
15886 # include <malloc.h>
15887 # define alloca _alloca
15890 # include <alloca.h>
15895 # ifndef alloca /* predefined by HP cc +Olibcalls */
15906 char *p = (char *) alloca (1);
15911 rm -f conftest.$ac_objext conftest$ac_exeext
15912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15913 (eval $ac_link) 2>conftest.er1
15915 grep -v '^ *+' conftest.er1 >conftest.err
15917 cat conftest.err >&5
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); } &&
15920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15922 (eval $ac_try) 2>&5
15924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15925 (exit $ac_status); }; } &&
15926 { ac_try='test -s conftest$ac_exeext'
15927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15928 (eval $ac_try) 2>&5
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); }; }; then
15932 ac_cv_func_alloca_works=yes
15934 echo "$as_me: failed program was:" >&5
15935 sed 's/^/| /' conftest.$ac_ext >&5
15937 ac_cv_func_alloca_works=no
15939 rm -f conftest.err conftest.$ac_objext \
15940 conftest$ac_exeext conftest.$ac_ext
15942 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15943 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15945 if test $ac_cv_func_alloca_works = yes; then
15947 cat >>confdefs.h <<\_ACEOF
15948 #define HAVE_ALLOCA 1
15952 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15953 # that cause trouble. Some versions do not even contain alloca or
15954 # contain a buggy version. If you still want to use their alloca,
15955 # use ar to extract alloca.o from them instead of compiling alloca.c.
15957 ALLOCA=alloca.$ac_objext
15959 cat >>confdefs.h <<\_ACEOF
15964 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15965 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15966 if test "${ac_cv_os_cray+set}" = set; then
15967 echo $ECHO_N "(cached) $ECHO_C" >&6
15969 cat >conftest.$ac_ext <<_ACEOF
15972 cat confdefs.h >>conftest.$ac_ext
15973 cat >>conftest.$ac_ext <<_ACEOF
15974 /* end confdefs.h. */
15975 #if defined(CRAY) && ! defined(CRAY2)
15982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15983 $EGREP "webecray" >/dev/null 2>&1; then
15991 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15992 echo "${ECHO_T}$ac_cv_os_cray" >&6
15993 if test $ac_cv_os_cray = yes; then
15994 for ac_func in _getb67 GETB67 getb67; do
15995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15996 echo "$as_me:$LINENO: checking for $ac_func" >&5
15997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15998 if eval "test \"\${$as_ac_var+set}\" = set"; then
15999 echo $ECHO_N "(cached) $ECHO_C" >&6
16001 cat >conftest.$ac_ext <<_ACEOF
16004 cat confdefs.h >>conftest.$ac_ext
16005 cat >>conftest.$ac_ext <<_ACEOF
16006 /* end confdefs.h. */
16007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16009 #define $ac_func innocuous_$ac_func
16011 /* System header to define __stub macros and hopefully few prototypes,
16012 which can conflict with char $ac_func (); below.
16013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16014 <limits.h> exists even on freestanding compilers. */
16017 # include <limits.h>
16019 # include <assert.h>
16024 /* Override any gcc2 internal prototype to avoid an error. */
16029 /* We use char because int might match the return type of a gcc2
16030 builtin and then its argument prototype would still apply. */
16032 /* The GNU C library defines this for functions which it implements
16033 to always fail with ENOSYS. Some functions are actually named
16034 something starting with __ and the normal name is an alias. */
16035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16038 char (*f) () = $ac_func;
16047 return f != $ac_func;
16052 rm -f conftest.$ac_objext conftest$ac_exeext
16053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16054 (eval $ac_link) 2>conftest.er1
16056 grep -v '^ *+' conftest.er1 >conftest.err
16058 cat conftest.err >&5
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); } &&
16061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16063 (eval $ac_try) 2>&5
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); }; } &&
16067 { ac_try='test -s conftest$ac_exeext'
16068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16069 (eval $ac_try) 2>&5
16071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16072 (exit $ac_status); }; }; then
16073 eval "$as_ac_var=yes"
16075 echo "$as_me: failed program was:" >&5
16076 sed 's/^/| /' conftest.$ac_ext >&5
16078 eval "$as_ac_var=no"
16080 rm -f conftest.err conftest.$ac_objext \
16081 conftest$ac_exeext conftest.$ac_ext
16083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16085 if test `eval echo '${'$as_ac_var'}'` = yes; then
16087 cat >>confdefs.h <<_ACEOF
16088 #define CRAY_STACKSEG_END $ac_func
16097 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16098 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
16099 if test "${ac_cv_c_stack_direction+set}" = set; then
16100 echo $ECHO_N "(cached) $ECHO_C" >&6
16102 if test "$cross_compiling" = yes; then
16103 ac_cv_c_stack_direction=0
16105 cat >conftest.$ac_ext <<_ACEOF
16108 cat confdefs.h >>conftest.$ac_ext
16109 cat >>conftest.$ac_ext <<_ACEOF
16110 /* end confdefs.h. */
16112 find_stack_direction ()
16114 static char *addr = 0;
16119 return find_stack_direction ();
16122 return (&dummy > addr) ? 1 : -1;
16128 exit (find_stack_direction () < 0);
16131 rm -f conftest$ac_exeext
16132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16133 (eval $ac_link) 2>&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16138 (eval $ac_try) 2>&5
16140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16141 (exit $ac_status); }; }; then
16142 ac_cv_c_stack_direction=1
16144 echo "$as_me: program exited with status $ac_status" >&5
16145 echo "$as_me: failed program was:" >&5
16146 sed 's/^/| /' conftest.$ac_ext >&5
16148 ( exit $ac_status )
16149 ac_cv_c_stack_direction=-1
16151 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16154 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16155 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16157 cat >>confdefs.h <<_ACEOF
16158 #define STACK_DIRECTION $ac_cv_c_stack_direction
16287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16288 echo "$as_me:$LINENO: checking for $ac_func" >&5
16289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16290 if eval "test \"\${$as_ac_var+set}\" = set"; then
16291 echo $ECHO_N "(cached) $ECHO_C" >&6
16293 cat >conftest.$ac_ext <<_ACEOF
16296 cat confdefs.h >>conftest.$ac_ext
16297 cat >>conftest.$ac_ext <<_ACEOF
16298 /* end confdefs.h. */
16299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16301 #define $ac_func innocuous_$ac_func
16303 /* System header to define __stub macros and hopefully few prototypes,
16304 which can conflict with char $ac_func (); below.
16305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16306 <limits.h> exists even on freestanding compilers. */
16309 # include <limits.h>
16311 # include <assert.h>
16316 /* Override any gcc2 internal prototype to avoid an error. */
16321 /* We use char because int might match the return type of a gcc2
16322 builtin and then its argument prototype would still apply. */
16324 /* The GNU C library defines this for functions which it implements
16325 to always fail with ENOSYS. Some functions are actually named
16326 something starting with __ and the normal name is an alias. */
16327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16330 char (*f) () = $ac_func;
16339 return f != $ac_func;
16344 rm -f conftest.$ac_objext conftest$ac_exeext
16345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16346 (eval $ac_link) 2>conftest.er1
16348 grep -v '^ *+' conftest.er1 >conftest.err
16350 cat conftest.err >&5
16351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16352 (exit $ac_status); } &&
16353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16355 (eval $ac_try) 2>&5
16357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16358 (exit $ac_status); }; } &&
16359 { ac_try='test -s conftest$ac_exeext'
16360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16361 (eval $ac_try) 2>&5
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); }; }; then
16365 eval "$as_ac_var=yes"
16367 echo "$as_me: failed program was:" >&5
16368 sed 's/^/| /' conftest.$ac_ext >&5
16370 eval "$as_ac_var=no"
16372 rm -f conftest.err conftest.$ac_objext \
16373 conftest$ac_exeext conftest.$ac_ext
16375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16377 if test `eval echo '${'$as_ac_var'}'` = yes; then
16378 cat >>confdefs.h <<_ACEOF
16379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16389 for ac_header in sys/mount.h sys/user.h
16391 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16392 echo "$as_me:$LINENO: checking for $ac_header" >&5
16393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16395 echo $ECHO_N "(cached) $ECHO_C" >&6
16397 cat >conftest.$ac_ext <<_ACEOF
16400 cat confdefs.h >>conftest.$ac_ext
16401 cat >>conftest.$ac_ext <<_ACEOF
16402 /* end confdefs.h. */
16403 #include <sys/types.h>
16404 #if HAVE_SYS_PARAM_H
16405 # include <sys/param.h>
16408 #include <$ac_header>
16410 rm -f conftest.$ac_objext
16411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16412 (eval $ac_compile) 2>conftest.er1
16414 grep -v '^ *+' conftest.er1 >conftest.err
16416 cat conftest.err >&5
16417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16418 (exit $ac_status); } &&
16419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16421 (eval $ac_try) 2>&5
16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424 (exit $ac_status); }; } &&
16425 { ac_try='test -s conftest.$ac_objext'
16426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16427 (eval $ac_try) 2>&5
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); }; }; then
16431 eval "$as_ac_Header=yes"
16433 echo "$as_me: failed program was:" >&5
16434 sed 's/^/| /' conftest.$ac_ext >&5
16436 eval "$as_ac_Header=no"
16438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16442 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16443 cat >>confdefs.h <<_ACEOF
16444 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16457 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h
16459 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16460 echo "$as_me:$LINENO: checking for $ac_header" >&5
16461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16463 echo $ECHO_N "(cached) $ECHO_C" >&6
16465 cat >conftest.$ac_ext <<_ACEOF
16468 cat confdefs.h >>conftest.$ac_ext
16469 cat >>conftest.$ac_ext <<_ACEOF
16470 /* end confdefs.h. */
16471 #include <sys/types.h>
16472 #if HAVE_SYS_SOCKET_H
16473 # include <sys/socket.h>
16476 #include <$ac_header>
16478 rm -f conftest.$ac_objext
16479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16480 (eval $ac_compile) 2>conftest.er1
16482 grep -v '^ *+' conftest.er1 >conftest.err
16484 cat conftest.err >&5
16485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486 (exit $ac_status); } &&
16487 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16489 (eval $ac_try) 2>&5
16491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16492 (exit $ac_status); }; } &&
16493 { ac_try='test -s conftest.$ac_objext'
16494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16495 (eval $ac_try) 2>&5
16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); }; }; then
16499 eval "$as_ac_Header=yes"
16501 echo "$as_me: failed program was:" >&5
16502 sed 's/^/| /' conftest.$ac_ext >&5
16504 eval "$as_ac_Header=no"
16506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16509 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16510 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16511 cat >>confdefs.h <<_ACEOF
16512 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16521 for ac_header in resolv.h
16523 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16524 echo "$as_me:$LINENO: checking for $ac_header" >&5
16525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16527 echo $ECHO_N "(cached) $ECHO_C" >&6
16529 cat >conftest.$ac_ext <<_ACEOF
16532 cat confdefs.h >>conftest.$ac_ext
16533 cat >>conftest.$ac_ext <<_ACEOF
16534 /* end confdefs.h. */
16535 #include <sys/types.h>
16536 #if HAVE_SYS_SOCKET_H
16537 # include <sys/socket.h>
16539 #if HAVE_NETINET_IN_H
16540 # include <netinet/in.h>
16542 #if HAVE_ARPA_NAMESER_H
16543 # include <arpa/nameser.h>
16546 #include <$ac_header>
16548 rm -f conftest.$ac_objext
16549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16550 (eval $ac_compile) 2>conftest.er1
16552 grep -v '^ *+' conftest.er1 >conftest.err
16554 cat conftest.err >&5
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); } &&
16557 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16559 (eval $ac_try) 2>&5
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); }; } &&
16563 { ac_try='test -s conftest.$ac_objext'
16564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16565 (eval $ac_try) 2>&5
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); }; }; then
16569 eval "$as_ac_Header=yes"
16571 echo "$as_me: failed program was:" >&5
16572 sed 's/^/| /' conftest.$ac_ext >&5
16574 eval "$as_ac_Header=no"
16576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16581 cat >>confdefs.h <<_ACEOF
16582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16591 for ac_header in ucontext.h
16593 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16594 echo "$as_me:$LINENO: checking for $ac_header" >&5
16595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16597 echo $ECHO_N "(cached) $ECHO_C" >&6
16599 cat >conftest.$ac_ext <<_ACEOF
16602 cat confdefs.h >>conftest.$ac_ext
16603 cat >>conftest.$ac_ext <<_ACEOF
16604 /* end confdefs.h. */
16605 #include <signal.h>
16607 #include <$ac_header>
16609 rm -f conftest.$ac_objext
16610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16611 (eval $ac_compile) 2>conftest.er1
16613 grep -v '^ *+' conftest.er1 >conftest.err
16615 cat conftest.err >&5
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); } &&
16618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16620 (eval $ac_try) 2>&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); }; } &&
16624 { ac_try='test -s conftest.$ac_objext'
16625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16626 (eval $ac_try) 2>&5
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); }; }; then
16630 eval "$as_ac_Header=yes"
16632 echo "$as_me: failed program was:" >&5
16633 sed 's/^/| /' conftest.$ac_ext >&5
16635 eval "$as_ac_Header=no"
16637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16642 cat >>confdefs.h <<_ACEOF
16643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16653 for ac_header in linux/videodev.h
16655 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16656 echo "$as_me:$LINENO: checking for $ac_header" >&5
16657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16659 echo $ECHO_N "(cached) $ECHO_C" >&6
16661 cat >conftest.$ac_ext <<_ACEOF
16664 cat confdefs.h >>conftest.$ac_ext
16665 cat >>conftest.$ac_ext <<_ACEOF
16666 /* end confdefs.h. */
16667 #ifdef HAVE_SYS_TIME_H
16668 #include <sys/time.h>
16670 #ifdef HAVE_ASM_TYPES_H
16671 #include <asm/types.h>
16674 #include <$ac_header>
16676 rm -f conftest.$ac_objext
16677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16678 (eval $ac_compile) 2>conftest.er1
16680 grep -v '^ *+' conftest.er1 >conftest.err
16682 cat conftest.err >&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); } &&
16685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16687 (eval $ac_try) 2>&5
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); }; } &&
16691 { ac_try='test -s conftest.$ac_objext'
16692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16693 (eval $ac_try) 2>&5
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); }; }; then
16697 eval "$as_ac_Header=yes"
16699 echo "$as_me: failed program was:" >&5
16700 sed 's/^/| /' conftest.$ac_ext >&5
16702 eval "$as_ac_Header=no"
16704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16707 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16708 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16709 cat >>confdefs.h <<_ACEOF
16710 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16719 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
16720 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
16721 if test "${ac_cv_c_ipx_gnu+set}" = set; then
16722 echo $ECHO_N "(cached) $ECHO_C" >&6
16724 cat >conftest.$ac_ext <<_ACEOF
16727 cat confdefs.h >>conftest.$ac_ext
16728 cat >>conftest.$ac_ext <<_ACEOF
16729 /* end confdefs.h. */
16730 #include <sys/types.h>
16731 #ifdef HAVE_SYS_SOCKET_H
16732 # include <sys/socket.h>
16734 #include <netipx/ipx.h>
16738 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16743 rm -f conftest.$ac_objext
16744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16745 (eval $ac_compile) 2>conftest.er1
16747 grep -v '^ *+' conftest.er1 >conftest.err
16749 cat conftest.err >&5
16750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751 (exit $ac_status); } &&
16752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16754 (eval $ac_try) 2>&5
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); }; } &&
16758 { ac_try='test -s conftest.$ac_objext'
16759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16760 (eval $ac_try) 2>&5
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); }; }; then
16764 ac_cv_c_ipx_gnu="yes"
16766 echo "$as_me: failed program was:" >&5
16767 sed 's/^/| /' conftest.$ac_ext >&5
16769 ac_cv_c_ipx_gnu="no"
16771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16774 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
16775 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
16776 if test "$ac_cv_c_ipx_gnu" = "yes"
16779 cat >>confdefs.h <<\_ACEOF
16780 #define HAVE_IPX_GNU 1
16785 if test "$ac_cv_c_ipx_gnu" = "no"
16787 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
16788 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
16789 if test "${ac_cv_c_ipx_linux+set}" = set; then
16790 echo $ECHO_N "(cached) $ECHO_C" >&6
16792 cat >conftest.$ac_ext <<_ACEOF
16795 cat confdefs.h >>conftest.$ac_ext
16796 cat >>conftest.$ac_ext <<_ACEOF
16797 /* end confdefs.h. */
16798 #include <sys/types.h>
16799 #ifdef HAVE_SYS_SOCKET_H
16800 # include <sys/socket.h>
16802 #include <asm/types.h>
16803 #include <linux/ipx.h>
16807 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16812 rm -f conftest.$ac_objext
16813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16814 (eval $ac_compile) 2>conftest.er1
16816 grep -v '^ *+' conftest.er1 >conftest.err
16818 cat conftest.err >&5
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); } &&
16821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16823 (eval $ac_try) 2>&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); }; } &&
16827 { ac_try='test -s conftest.$ac_objext'
16828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16829 (eval $ac_try) 2>&5
16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832 (exit $ac_status); }; }; then
16833 ac_cv_c_ipx_linux="yes"
16835 echo "$as_me: failed program was:" >&5
16836 sed 's/^/| /' conftest.$ac_ext >&5
16838 ac_cv_c_ipx_linux="no"
16840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16843 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
16844 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
16845 if test "$ac_cv_c_ipx_linux" = "yes"
16848 cat >>confdefs.h <<\_ACEOF
16849 #define HAVE_IPX_LINUX 1
16856 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16857 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16858 if test "${ac_cv_c_const+set}" = set; then
16859 echo $ECHO_N "(cached) $ECHO_C" >&6
16861 cat >conftest.$ac_ext <<_ACEOF
16864 cat confdefs.h >>conftest.$ac_ext
16865 cat >>conftest.$ac_ext <<_ACEOF
16866 /* end confdefs.h. */
16871 /* FIXME: Include the comments suggested by Paul. */
16872 #ifndef __cplusplus
16873 /* Ultrix mips cc rejects this. */
16874 typedef int charset[2];
16876 /* SunOS 4.1.1 cc rejects this. */
16877 char const *const *ccp;
16879 /* NEC SVR4.0.2 mips cc rejects this. */
16880 struct point {int x, y;};
16881 static struct point const zero = {0,0};
16882 /* AIX XL C 1.02.0.0 rejects this.
16883 It does not let you subtract one const X* pointer from another in
16884 an arm of an if-expression whose if-part is not a constant
16886 const char *g = "string";
16887 ccp = &g + (g ? g-g : 0);
16888 /* HPUX 7.0 cc rejects these. */
16891 ccp = (char const *const *) p;
16892 { /* SCO 3.2v4 cc rejects this. */
16894 char const *s = 0 ? (char *) 0 : (char const *) 0;
16898 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16899 int x[] = {25, 17};
16900 const int *foo = &x[0];
16903 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16904 typedef const int *iptr;
16908 { /* AIX XL C 1.02.0.0 rejects this saying
16909 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16910 struct s { int j; const int *ap[3]; };
16911 struct s *b; b->j = 5;
16913 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16914 const int foo = 10;
16922 rm -f conftest.$ac_objext
16923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16924 (eval $ac_compile) 2>conftest.er1
16926 grep -v '^ *+' conftest.er1 >conftest.err
16928 cat conftest.err >&5
16929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); } &&
16931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16933 (eval $ac_try) 2>&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); }; } &&
16937 { ac_try='test -s conftest.$ac_objext'
16938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16939 (eval $ac_try) 2>&5
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); }; }; then
16945 echo "$as_me: failed program was:" >&5
16946 sed 's/^/| /' conftest.$ac_ext >&5
16950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16952 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16953 echo "${ECHO_T}$ac_cv_c_const" >&6
16954 if test $ac_cv_c_const = no; then
16956 cat >>confdefs.h <<\_ACEOF
16962 echo "$as_me:$LINENO: checking for inline" >&5
16963 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16964 if test "${ac_cv_c_inline+set}" = set; then
16965 echo $ECHO_N "(cached) $ECHO_C" >&6
16968 for ac_kw in inline __inline__ __inline; do
16969 cat >conftest.$ac_ext <<_ACEOF
16972 cat confdefs.h >>conftest.$ac_ext
16973 cat >>conftest.$ac_ext <<_ACEOF
16974 /* end confdefs.h. */
16975 #ifndef __cplusplus
16977 static $ac_kw foo_t static_foo () {return 0; }
16978 $ac_kw foo_t foo () {return 0; }
16982 rm -f conftest.$ac_objext
16983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16984 (eval $ac_compile) 2>conftest.er1
16986 grep -v '^ *+' conftest.er1 >conftest.err
16988 cat conftest.err >&5
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); } &&
16991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16993 (eval $ac_try) 2>&5
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); }; } &&
16997 { ac_try='test -s conftest.$ac_objext'
16998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16999 (eval $ac_try) 2>&5
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); }; }; then
17003 ac_cv_c_inline=$ac_kw; break
17005 echo "$as_me: failed program was:" >&5
17006 sed 's/^/| /' conftest.$ac_ext >&5
17009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17013 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17014 echo "${ECHO_T}$ac_cv_c_inline" >&6
17017 case $ac_cv_c_inline in
17020 case $ac_cv_c_inline in
17022 *) ac_val=$ac_cv_c_inline;;
17024 cat >>confdefs.h <<_ACEOF
17025 #ifndef __cplusplus
17026 #define inline $ac_val
17032 echo "$as_me:$LINENO: checking for mode_t" >&5
17033 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
17034 if test "${ac_cv_type_mode_t+set}" = set; then
17035 echo $ECHO_N "(cached) $ECHO_C" >&6
17037 cat >conftest.$ac_ext <<_ACEOF
17040 cat confdefs.h >>conftest.$ac_ext
17041 cat >>conftest.$ac_ext <<_ACEOF
17042 /* end confdefs.h. */
17043 $ac_includes_default
17049 if (sizeof (mode_t))
17055 rm -f conftest.$ac_objext
17056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17057 (eval $ac_compile) 2>conftest.er1
17059 grep -v '^ *+' conftest.er1 >conftest.err
17061 cat conftest.err >&5
17062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); } &&
17064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17066 (eval $ac_try) 2>&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); }; } &&
17070 { ac_try='test -s conftest.$ac_objext'
17071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17072 (eval $ac_try) 2>&5
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); }; }; then
17076 ac_cv_type_mode_t=yes
17078 echo "$as_me: failed program was:" >&5
17079 sed 's/^/| /' conftest.$ac_ext >&5
17081 ac_cv_type_mode_t=no
17083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17085 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17086 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
17087 if test $ac_cv_type_mode_t = yes; then
17089 cat >>confdefs.h <<_ACEOF
17090 #define HAVE_MODE_T 1
17095 echo "$as_me:$LINENO: checking for off_t" >&5
17096 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
17097 if test "${ac_cv_type_off_t+set}" = set; then
17098 echo $ECHO_N "(cached) $ECHO_C" >&6
17100 cat >conftest.$ac_ext <<_ACEOF
17103 cat confdefs.h >>conftest.$ac_ext
17104 cat >>conftest.$ac_ext <<_ACEOF
17105 /* end confdefs.h. */
17106 $ac_includes_default
17112 if (sizeof (off_t))
17118 rm -f conftest.$ac_objext
17119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17120 (eval $ac_compile) 2>conftest.er1
17122 grep -v '^ *+' conftest.er1 >conftest.err
17124 cat conftest.err >&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); } &&
17127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17129 (eval $ac_try) 2>&5
17131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17132 (exit $ac_status); }; } &&
17133 { ac_try='test -s conftest.$ac_objext'
17134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17135 (eval $ac_try) 2>&5
17137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17138 (exit $ac_status); }; }; then
17139 ac_cv_type_off_t=yes
17141 echo "$as_me: failed program was:" >&5
17142 sed 's/^/| /' conftest.$ac_ext >&5
17144 ac_cv_type_off_t=no
17146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17148 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17149 echo "${ECHO_T}$ac_cv_type_off_t" >&6
17150 if test $ac_cv_type_off_t = yes; then
17152 cat >>confdefs.h <<_ACEOF
17153 #define HAVE_OFF_T 1
17158 echo "$as_me:$LINENO: checking for pid_t" >&5
17159 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17160 if test "${ac_cv_type_pid_t+set}" = set; then
17161 echo $ECHO_N "(cached) $ECHO_C" >&6
17163 cat >conftest.$ac_ext <<_ACEOF
17166 cat confdefs.h >>conftest.$ac_ext
17167 cat >>conftest.$ac_ext <<_ACEOF
17168 /* end confdefs.h. */
17169 $ac_includes_default
17175 if (sizeof (pid_t))
17181 rm -f conftest.$ac_objext
17182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17183 (eval $ac_compile) 2>conftest.er1
17185 grep -v '^ *+' conftest.er1 >conftest.err
17187 cat conftest.err >&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } &&
17190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17192 (eval $ac_try) 2>&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); }; } &&
17196 { ac_try='test -s conftest.$ac_objext'
17197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17198 (eval $ac_try) 2>&5
17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201 (exit $ac_status); }; }; then
17202 ac_cv_type_pid_t=yes
17204 echo "$as_me: failed program was:" >&5
17205 sed 's/^/| /' conftest.$ac_ext >&5
17207 ac_cv_type_pid_t=no
17209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17211 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17212 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
17213 if test $ac_cv_type_pid_t = yes; then
17215 cat >>confdefs.h <<_ACEOF
17216 #define HAVE_PID_T 1
17221 echo "$as_me:$LINENO: checking for size_t" >&5
17222 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17223 if test "${ac_cv_type_size_t+set}" = set; then
17224 echo $ECHO_N "(cached) $ECHO_C" >&6
17226 cat >conftest.$ac_ext <<_ACEOF
17229 cat confdefs.h >>conftest.$ac_ext
17230 cat >>conftest.$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17232 $ac_includes_default
17238 if (sizeof (size_t))
17244 rm -f conftest.$ac_objext
17245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17246 (eval $ac_compile) 2>conftest.er1
17248 grep -v '^ *+' conftest.er1 >conftest.err
17250 cat conftest.err >&5
17251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); } &&
17253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17255 (eval $ac_try) 2>&5
17257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17258 (exit $ac_status); }; } &&
17259 { ac_try='test -s conftest.$ac_objext'
17260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17261 (eval $ac_try) 2>&5
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); }; }; then
17265 ac_cv_type_size_t=yes
17267 echo "$as_me: failed program was:" >&5
17268 sed 's/^/| /' conftest.$ac_ext >&5
17270 ac_cv_type_size_t=no
17272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17274 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17275 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17276 if test $ac_cv_type_size_t = yes; then
17278 cat >>confdefs.h <<_ACEOF
17279 #define HAVE_SIZE_T 1
17284 echo "$as_me:$LINENO: checking for ssize_t" >&5
17285 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17286 if test "${ac_cv_type_ssize_t+set}" = set; then
17287 echo $ECHO_N "(cached) $ECHO_C" >&6
17289 cat >conftest.$ac_ext <<_ACEOF
17292 cat confdefs.h >>conftest.$ac_ext
17293 cat >>conftest.$ac_ext <<_ACEOF
17294 /* end confdefs.h. */
17295 $ac_includes_default
17301 if (sizeof (ssize_t))
17307 rm -f conftest.$ac_objext
17308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17309 (eval $ac_compile) 2>conftest.er1
17311 grep -v '^ *+' conftest.er1 >conftest.err
17313 cat conftest.err >&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } &&
17316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17318 (eval $ac_try) 2>&5
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); }; } &&
17322 { ac_try='test -s conftest.$ac_objext'
17323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17324 (eval $ac_try) 2>&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); }; }; then
17328 ac_cv_type_ssize_t=yes
17330 echo "$as_me: failed program was:" >&5
17331 sed 's/^/| /' conftest.$ac_ext >&5
17333 ac_cv_type_ssize_t=no
17335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17337 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17338 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
17339 if test $ac_cv_type_ssize_t = yes; then
17341 cat >>confdefs.h <<_ACEOF
17342 #define HAVE_SSIZE_T 1
17347 echo "$as_me:$LINENO: checking for long long" >&5
17348 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17349 if test "${ac_cv_type_long_long+set}" = set; then
17350 echo $ECHO_N "(cached) $ECHO_C" >&6
17352 cat >conftest.$ac_ext <<_ACEOF
17355 cat confdefs.h >>conftest.$ac_ext
17356 cat >>conftest.$ac_ext <<_ACEOF
17357 /* end confdefs.h. */
17358 $ac_includes_default
17362 if ((long long *) 0)
17364 if (sizeof (long long))
17370 rm -f conftest.$ac_objext
17371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17372 (eval $ac_compile) 2>conftest.er1
17374 grep -v '^ *+' conftest.er1 >conftest.err
17376 cat conftest.err >&5
17377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17378 (exit $ac_status); } &&
17379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17381 (eval $ac_try) 2>&5
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); }; } &&
17385 { ac_try='test -s conftest.$ac_objext'
17386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17387 (eval $ac_try) 2>&5
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); }; }; then
17391 ac_cv_type_long_long=yes
17393 echo "$as_me: failed program was:" >&5
17394 sed 's/^/| /' conftest.$ac_ext >&5
17396 ac_cv_type_long_long=no
17398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17400 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17401 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17402 if test $ac_cv_type_long_long = yes; then
17404 cat >>confdefs.h <<_ACEOF
17405 #define HAVE_LONG_LONG 1
17410 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17411 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
17412 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17413 echo $ECHO_N "(cached) $ECHO_C" >&6
17415 cat >conftest.$ac_ext <<_ACEOF
17418 cat confdefs.h >>conftest.$ac_ext
17419 cat >>conftest.$ac_ext <<_ACEOF
17420 /* end confdefs.h. */
17421 $ac_includes_default
17425 if ((fsblkcnt_t *) 0)
17427 if (sizeof (fsblkcnt_t))
17433 rm -f conftest.$ac_objext
17434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17435 (eval $ac_compile) 2>conftest.er1
17437 grep -v '^ *+' conftest.er1 >conftest.err
17439 cat conftest.err >&5
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); } &&
17442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17444 (eval $ac_try) 2>&5
17446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447 (exit $ac_status); }; } &&
17448 { ac_try='test -s conftest.$ac_objext'
17449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17450 (eval $ac_try) 2>&5
17452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17453 (exit $ac_status); }; }; then
17454 ac_cv_type_fsblkcnt_t=yes
17456 echo "$as_me: failed program was:" >&5
17457 sed 's/^/| /' conftest.$ac_ext >&5
17459 ac_cv_type_fsblkcnt_t=no
17461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17463 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17464 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
17465 if test $ac_cv_type_fsblkcnt_t = yes; then
17467 cat >>confdefs.h <<_ACEOF
17468 #define HAVE_FSBLKCNT_T 1
17473 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17474 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
17475 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17476 echo $ECHO_N "(cached) $ECHO_C" >&6
17478 cat >conftest.$ac_ext <<_ACEOF
17481 cat confdefs.h >>conftest.$ac_ext
17482 cat >>conftest.$ac_ext <<_ACEOF
17483 /* end confdefs.h. */
17484 $ac_includes_default
17488 if ((fsfilcnt_t *) 0)
17490 if (sizeof (fsfilcnt_t))
17496 rm -f conftest.$ac_objext
17497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17498 (eval $ac_compile) 2>conftest.er1
17500 grep -v '^ *+' conftest.er1 >conftest.err
17502 cat conftest.err >&5
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); } &&
17505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17507 (eval $ac_try) 2>&5
17509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); }; } &&
17511 { ac_try='test -s conftest.$ac_objext'
17512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17513 (eval $ac_try) 2>&5
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); }; }; then
17517 ac_cv_type_fsfilcnt_t=yes
17519 echo "$as_me: failed program was:" >&5
17520 sed 's/^/| /' conftest.$ac_ext >&5
17522 ac_cv_type_fsfilcnt_t=no
17524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17526 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17527 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
17528 if test $ac_cv_type_fsfilcnt_t = yes; then
17530 cat >>confdefs.h <<_ACEOF
17531 #define HAVE_FSFILCNT_T 1
17537 echo "$as_me:$LINENO: checking for sigset_t" >&5
17538 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6
17539 if test "${ac_cv_type_sigset_t+set}" = set; then
17540 echo $ECHO_N "(cached) $ECHO_C" >&6
17542 cat >conftest.$ac_ext <<_ACEOF
17545 cat confdefs.h >>conftest.$ac_ext
17546 cat >>conftest.$ac_ext <<_ACEOF
17547 /* end confdefs.h. */
17548 #include <signal.h>
17553 if ((sigset_t *) 0)
17555 if (sizeof (sigset_t))
17561 rm -f conftest.$ac_objext
17562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17563 (eval $ac_compile) 2>conftest.er1
17565 grep -v '^ *+' conftest.er1 >conftest.err
17567 cat conftest.err >&5
17568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569 (exit $ac_status); } &&
17570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17572 (eval $ac_try) 2>&5
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); }; } &&
17576 { ac_try='test -s conftest.$ac_objext'
17577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17578 (eval $ac_try) 2>&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); }; }; then
17582 ac_cv_type_sigset_t=yes
17584 echo "$as_me: failed program was:" >&5
17585 sed 's/^/| /' conftest.$ac_ext >&5
17587 ac_cv_type_sigset_t=no
17589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17591 echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17592 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6
17593 if test $ac_cv_type_sigset_t = yes; then
17595 cat >>confdefs.h <<_ACEOF
17596 #define HAVE_SIGSET_T 1
17603 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17604 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17605 if test "${wine_cv_linux_input_h+set}" = set; then
17606 echo $ECHO_N "(cached) $ECHO_C" >&6
17608 cat >conftest.$ac_ext <<_ACEOF
17611 cat confdefs.h >>conftest.$ac_ext
17612 cat >>conftest.$ac_ext <<_ACEOF
17613 /* end confdefs.h. */
17615 #include <linux/input.h>
17621 int foo = EVIOCGBIT(EV_ABS,42);
17622 int bar = BTN_PINKIE;
17629 rm -f conftest.$ac_objext
17630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17631 (eval $ac_compile) 2>conftest.er1
17633 grep -v '^ *+' conftest.er1 >conftest.err
17635 cat conftest.err >&5
17636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); } &&
17638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17640 (eval $ac_try) 2>&5
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); }; } &&
17644 { ac_try='test -s conftest.$ac_objext'
17645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17646 (eval $ac_try) 2>&5
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); }; }; then
17650 wine_cv_linux_input_h=yes
17652 echo "$as_me: failed program was:" >&5
17653 sed 's/^/| /' conftest.$ac_ext >&5
17655 wine_cv_linux_input_h=no
17657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17660 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
17661 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
17662 if test "$wine_cv_linux_input_h" = "yes"
17665 cat >>confdefs.h <<\_ACEOF
17666 #define HAVE_CORRECT_LINUXINPUT_H 1
17671 echo "$as_me:$LINENO: checking for sigaddset" >&5
17672 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6
17673 if test "${wine_cv_have_sigaddset+set}" = set; then
17674 echo $ECHO_N "(cached) $ECHO_C" >&6
17676 cat >conftest.$ac_ext <<_ACEOF
17679 cat confdefs.h >>conftest.$ac_ext
17680 cat >>conftest.$ac_ext <<_ACEOF
17681 /* end confdefs.h. */
17682 #include <signal.h>
17686 sigset_t set; sigaddset(&set,SIGTERM);
17691 rm -f conftest.$ac_objext conftest$ac_exeext
17692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17693 (eval $ac_link) 2>conftest.er1
17695 grep -v '^ *+' conftest.er1 >conftest.err
17697 cat conftest.err >&5
17698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17699 (exit $ac_status); } &&
17700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17702 (eval $ac_try) 2>&5
17704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705 (exit $ac_status); }; } &&
17706 { ac_try='test -s conftest$ac_exeext'
17707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17708 (eval $ac_try) 2>&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); }; }; then
17712 wine_cv_have_sigaddset=yes
17714 echo "$as_me: failed program was:" >&5
17715 sed 's/^/| /' conftest.$ac_ext >&5
17717 wine_cv_have_sigaddset=no
17719 rm -f conftest.err conftest.$ac_objext \
17720 conftest$ac_exeext conftest.$ac_ext
17722 echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17723 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6
17724 if test "$wine_cv_have_sigaddset" = "yes"
17727 cat >>confdefs.h <<\_ACEOF
17728 #define HAVE_SIGADDSET 1
17734 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17735 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
17736 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17737 echo $ECHO_N "(cached) $ECHO_C" >&6
17739 cat >conftest.$ac_ext <<_ACEOF
17742 cat confdefs.h >>conftest.$ac_ext
17743 cat >>conftest.$ac_ext <<_ACEOF
17744 /* end confdefs.h. */
17754 struct hostent *result;
17761 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17762 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17768 rm -f conftest.$ac_objext conftest$ac_exeext
17769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17770 (eval $ac_link) 2>conftest.er1
17772 grep -v '^ *+' conftest.er1 >conftest.err
17774 cat conftest.err >&5
17775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); } &&
17777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17779 (eval $ac_try) 2>&5
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); }; } &&
17783 { ac_try='test -s conftest$ac_exeext'
17784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17785 (eval $ac_try) 2>&5
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); }; }; then
17789 wine_cv_linux_gethostbyname_r_6=yes
17791 echo "$as_me: failed program was:" >&5
17792 sed 's/^/| /' conftest.$ac_ext >&5
17794 wine_cv_linux_gethostbyname_r_6=no
17797 rm -f conftest.err conftest.$ac_objext \
17798 conftest$ac_exeext conftest.$ac_ext
17801 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17802 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
17803 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17806 cat >>confdefs.h <<\_ACEOF
17807 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17812 if test "$ac_cv_header_linux_joystick_h" = "yes"
17814 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17815 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
17816 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17817 echo $ECHO_N "(cached) $ECHO_C" >&6
17819 cat >conftest.$ac_ext <<_ACEOF
17822 cat confdefs.h >>conftest.$ac_ext
17823 cat >>conftest.$ac_ext <<_ACEOF
17824 /* end confdefs.h. */
17826 #include <sys/ioctl.h>
17827 #include <linux/joystick.h>
17829 struct js_event blub;
17830 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17831 #error "no 2.2 header"
17842 rm -f conftest.$ac_objext
17843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17844 (eval $ac_compile) 2>conftest.er1
17846 grep -v '^ *+' conftest.er1 >conftest.err
17848 cat conftest.err >&5
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); } &&
17851 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17853 (eval $ac_try) 2>&5
17855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856 (exit $ac_status); }; } &&
17857 { ac_try='test -s conftest.$ac_objext'
17858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17859 (eval $ac_try) 2>&5
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); }; }; then
17863 wine_cv_linux_joystick_22_api=yes
17865 echo "$as_me: failed program was:" >&5
17866 sed 's/^/| /' conftest.$ac_ext >&5
17868 wine_cv_linux_joystick_22_api=no
17870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17873 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17874 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
17875 if test "$wine_cv_linux_joystick_22_api" = "yes"
17878 cat >>confdefs.h <<\_ACEOF
17879 #define HAVE_LINUX_22_JOYSTICK_API 1
17886 if test "$ac_cv_header_sys_vfs_h" = "yes"
17888 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
17889 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
17890 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
17891 echo $ECHO_N "(cached) $ECHO_C" >&6
17893 cat >conftest.$ac_ext <<_ACEOF
17896 cat confdefs.h >>conftest.$ac_ext
17897 cat >>conftest.$ac_ext <<_ACEOF
17898 /* end confdefs.h. */
17900 #include <sys/types.h>
17901 #ifdef HAVE_SYS_PARAM_H
17902 # include <sys/param.h>
17904 #include <sys/vfs.h>
17910 struct statfs stfs;
17912 memset(&stfs,0,sizeof(stfs));
17918 rm -f conftest.$ac_objext
17919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17920 (eval $ac_compile) 2>conftest.er1
17922 grep -v '^ *+' conftest.er1 >conftest.err
17924 cat conftest.err >&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); } &&
17927 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17929 (eval $ac_try) 2>&5
17931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17932 (exit $ac_status); }; } &&
17933 { ac_try='test -s conftest.$ac_objext'
17934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17935 (eval $ac_try) 2>&5
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); }; }; then
17939 wine_cv_sys_vfs_has_statfs=yes
17941 echo "$as_me: failed program was:" >&5
17942 sed 's/^/| /' conftest.$ac_ext >&5
17944 wine_cv_sys_vfs_has_statfs=no
17947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17950 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
17951 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
17952 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
17955 cat >>confdefs.h <<\_ACEOF
17956 #define STATFS_DEFINED_BY_SYS_VFS 1
17962 if test "$ac_cv_header_sys_statfs_h" = "yes"
17964 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
17965 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
17966 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
17967 echo $ECHO_N "(cached) $ECHO_C" >&6
17969 cat >conftest.$ac_ext <<_ACEOF
17972 cat confdefs.h >>conftest.$ac_ext
17973 cat >>conftest.$ac_ext <<_ACEOF
17974 /* end confdefs.h. */
17976 #include <sys/types.h>
17977 #ifdef HAVE_SYS_PARAM_H
17978 # include <sys/param.h>
17980 #include <sys/statfs.h>
17986 struct statfs stfs;
17992 rm -f conftest.$ac_objext
17993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17994 (eval $ac_compile) 2>conftest.er1
17996 grep -v '^ *+' conftest.er1 >conftest.err
17998 cat conftest.err >&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); } &&
18001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18003 (eval $ac_try) 2>&5
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); }; } &&
18007 { ac_try='test -s conftest.$ac_objext'
18008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18009 (eval $ac_try) 2>&5
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); }; }; then
18013 wine_cv_sys_statfs_has_statfs=yes
18015 echo "$as_me: failed program was:" >&5
18016 sed 's/^/| /' conftest.$ac_ext >&5
18018 wine_cv_sys_statfs_has_statfs=no
18021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18024 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
18025 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
18026 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
18029 cat >>confdefs.h <<\_ACEOF
18030 #define STATFS_DEFINED_BY_SYS_STATFS 1
18036 if test "$ac_cv_header_sys_mount_h" = "yes"
18038 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
18039 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
18040 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
18041 echo $ECHO_N "(cached) $ECHO_C" >&6
18043 cat >conftest.$ac_ext <<_ACEOF
18046 cat confdefs.h >>conftest.$ac_ext
18047 cat >>conftest.$ac_ext <<_ACEOF
18048 /* end confdefs.h. */
18050 #include <sys/types.h>
18051 #ifdef HAVE_SYS_PARAM_H
18052 # include <sys/param.h>
18054 #include <sys/mount.h>
18060 struct statfs stfs;
18066 rm -f conftest.$ac_objext
18067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18068 (eval $ac_compile) 2>conftest.er1
18070 grep -v '^ *+' conftest.er1 >conftest.err
18072 cat conftest.err >&5
18073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18074 (exit $ac_status); } &&
18075 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18077 (eval $ac_try) 2>&5
18079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18080 (exit $ac_status); }; } &&
18081 { ac_try='test -s conftest.$ac_objext'
18082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18083 (eval $ac_try) 2>&5
18085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18086 (exit $ac_status); }; }; then
18087 wine_cv_sys_mount_has_statfs=yes
18089 echo "$as_me: failed program was:" >&5
18090 sed 's/^/| /' conftest.$ac_ext >&5
18092 wine_cv_sys_mount_has_statfs=no
18095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18098 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
18099 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
18100 if test "$wine_cv_sys_mount_has_statfs" = "yes"
18103 cat >>confdefs.h <<\_ACEOF
18104 #define STATFS_DEFINED_BY_SYS_MOUNT 1
18111 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18112 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
18113 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18114 echo $ECHO_N "(cached) $ECHO_C" >&6
18116 cat >conftest.$ac_ext <<_ACEOF
18119 cat confdefs.h >>conftest.$ac_ext
18120 cat >>conftest.$ac_ext <<_ACEOF
18121 /* end confdefs.h. */
18122 #include <sys/types.h>
18123 #ifdef HAVE_SYS_PARAM_H
18124 # include <sys/param.h>
18126 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18127 # include <sys/mount.h>
18129 # ifdef STATFS_DEFINED_BY_SYS_VFS
18130 # include <sys/vfs.h>
18132 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18133 # include <sys/statfs.h>
18141 static struct statfs ac_aggr;
18142 if (ac_aggr.f_bfree)
18148 rm -f conftest.$ac_objext
18149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18150 (eval $ac_compile) 2>conftest.er1
18152 grep -v '^ *+' conftest.er1 >conftest.err
18154 cat conftest.err >&5
18155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18156 (exit $ac_status); } &&
18157 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18159 (eval $ac_try) 2>&5
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18162 (exit $ac_status); }; } &&
18163 { ac_try='test -s conftest.$ac_objext'
18164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18165 (eval $ac_try) 2>&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); }; }; then
18169 ac_cv_member_struct_statfs_f_bfree=yes
18171 echo "$as_me: failed program was:" >&5
18172 sed 's/^/| /' conftest.$ac_ext >&5
18174 cat >conftest.$ac_ext <<_ACEOF
18177 cat confdefs.h >>conftest.$ac_ext
18178 cat >>conftest.$ac_ext <<_ACEOF
18179 /* end confdefs.h. */
18180 #include <sys/types.h>
18181 #ifdef HAVE_SYS_PARAM_H
18182 # include <sys/param.h>
18184 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18185 # include <sys/mount.h>
18187 # ifdef STATFS_DEFINED_BY_SYS_VFS
18188 # include <sys/vfs.h>
18190 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18191 # include <sys/statfs.h>
18199 static struct statfs ac_aggr;
18200 if (sizeof ac_aggr.f_bfree)
18206 rm -f conftest.$ac_objext
18207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18208 (eval $ac_compile) 2>conftest.er1
18210 grep -v '^ *+' conftest.er1 >conftest.err
18212 cat conftest.err >&5
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); } &&
18215 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18217 (eval $ac_try) 2>&5
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); }; } &&
18221 { ac_try='test -s conftest.$ac_objext'
18222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18223 (eval $ac_try) 2>&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); }; }; then
18227 ac_cv_member_struct_statfs_f_bfree=yes
18229 echo "$as_me: failed program was:" >&5
18230 sed 's/^/| /' conftest.$ac_ext >&5
18232 ac_cv_member_struct_statfs_f_bfree=no
18234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18238 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18239 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
18240 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18242 cat >>confdefs.h <<_ACEOF
18243 #define HAVE_STRUCT_STATFS_F_BFREE 1
18248 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18249 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
18250 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18251 echo $ECHO_N "(cached) $ECHO_C" >&6
18253 cat >conftest.$ac_ext <<_ACEOF
18256 cat confdefs.h >>conftest.$ac_ext
18257 cat >>conftest.$ac_ext <<_ACEOF
18258 /* end confdefs.h. */
18259 #include <sys/types.h>
18260 #ifdef HAVE_SYS_PARAM_H
18261 # include <sys/param.h>
18263 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18264 # include <sys/mount.h>
18266 # ifdef STATFS_DEFINED_BY_SYS_VFS
18267 # include <sys/vfs.h>
18269 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18270 # include <sys/statfs.h>
18278 static struct statfs ac_aggr;
18279 if (ac_aggr.f_bavail)
18285 rm -f conftest.$ac_objext
18286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18287 (eval $ac_compile) 2>conftest.er1
18289 grep -v '^ *+' conftest.er1 >conftest.err
18291 cat conftest.err >&5
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); } &&
18294 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18296 (eval $ac_try) 2>&5
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); }; } &&
18300 { ac_try='test -s conftest.$ac_objext'
18301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18302 (eval $ac_try) 2>&5
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); }; }; then
18306 ac_cv_member_struct_statfs_f_bavail=yes
18308 echo "$as_me: failed program was:" >&5
18309 sed 's/^/| /' conftest.$ac_ext >&5
18311 cat >conftest.$ac_ext <<_ACEOF
18314 cat confdefs.h >>conftest.$ac_ext
18315 cat >>conftest.$ac_ext <<_ACEOF
18316 /* end confdefs.h. */
18317 #include <sys/types.h>
18318 #ifdef HAVE_SYS_PARAM_H
18319 # include <sys/param.h>
18321 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18322 # include <sys/mount.h>
18324 # ifdef STATFS_DEFINED_BY_SYS_VFS
18325 # include <sys/vfs.h>
18327 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18328 # include <sys/statfs.h>
18336 static struct statfs ac_aggr;
18337 if (sizeof ac_aggr.f_bavail)
18343 rm -f conftest.$ac_objext
18344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18345 (eval $ac_compile) 2>conftest.er1
18347 grep -v '^ *+' conftest.er1 >conftest.err
18349 cat conftest.err >&5
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); } &&
18352 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18354 (eval $ac_try) 2>&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); }; } &&
18358 { ac_try='test -s conftest.$ac_objext'
18359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18360 (eval $ac_try) 2>&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); }; }; then
18364 ac_cv_member_struct_statfs_f_bavail=yes
18366 echo "$as_me: failed program was:" >&5
18367 sed 's/^/| /' conftest.$ac_ext >&5
18369 ac_cv_member_struct_statfs_f_bavail=no
18371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18375 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18376 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18377 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18379 cat >>confdefs.h <<_ACEOF
18380 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18385 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18386 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
18387 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18388 echo $ECHO_N "(cached) $ECHO_C" >&6
18390 cat >conftest.$ac_ext <<_ACEOF
18393 cat confdefs.h >>conftest.$ac_ext
18394 cat >>conftest.$ac_ext <<_ACEOF
18395 /* end confdefs.h. */
18396 #include <sys/types.h>
18397 #ifdef HAVE_SYS_PARAM_H
18398 # include <sys/param.h>
18400 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18401 # include <sys/mount.h>
18403 # ifdef STATFS_DEFINED_BY_SYS_VFS
18404 # include <sys/vfs.h>
18406 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18407 # include <sys/statfs.h>
18415 static struct statfs ac_aggr;
18416 if (ac_aggr.f_frsize)
18422 rm -f conftest.$ac_objext
18423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18424 (eval $ac_compile) 2>conftest.er1
18426 grep -v '^ *+' conftest.er1 >conftest.err
18428 cat conftest.err >&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); } &&
18431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18433 (eval $ac_try) 2>&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); }; } &&
18437 { ac_try='test -s conftest.$ac_objext'
18438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18439 (eval $ac_try) 2>&5
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); }; }; then
18443 ac_cv_member_struct_statfs_f_frsize=yes
18445 echo "$as_me: failed program was:" >&5
18446 sed 's/^/| /' conftest.$ac_ext >&5
18448 cat >conftest.$ac_ext <<_ACEOF
18451 cat confdefs.h >>conftest.$ac_ext
18452 cat >>conftest.$ac_ext <<_ACEOF
18453 /* end confdefs.h. */
18454 #include <sys/types.h>
18455 #ifdef HAVE_SYS_PARAM_H
18456 # include <sys/param.h>
18458 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18459 # include <sys/mount.h>
18461 # ifdef STATFS_DEFINED_BY_SYS_VFS
18462 # include <sys/vfs.h>
18464 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18465 # include <sys/statfs.h>
18473 static struct statfs ac_aggr;
18474 if (sizeof ac_aggr.f_frsize)
18480 rm -f conftest.$ac_objext
18481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18482 (eval $ac_compile) 2>conftest.er1
18484 grep -v '^ *+' conftest.er1 >conftest.err
18486 cat conftest.err >&5
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); } &&
18489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18491 (eval $ac_try) 2>&5
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); }; } &&
18495 { ac_try='test -s conftest.$ac_objext'
18496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18497 (eval $ac_try) 2>&5
18499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18500 (exit $ac_status); }; }; then
18501 ac_cv_member_struct_statfs_f_frsize=yes
18503 echo "$as_me: failed program was:" >&5
18504 sed 's/^/| /' conftest.$ac_ext >&5
18506 ac_cv_member_struct_statfs_f_frsize=no
18508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18512 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18513 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
18514 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18516 cat >>confdefs.h <<_ACEOF
18517 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18522 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18523 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
18524 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18525 echo $ECHO_N "(cached) $ECHO_C" >&6
18527 cat >conftest.$ac_ext <<_ACEOF
18530 cat confdefs.h >>conftest.$ac_ext
18531 cat >>conftest.$ac_ext <<_ACEOF
18532 /* end confdefs.h. */
18533 #include <sys/types.h>
18534 #ifdef HAVE_SYS_PARAM_H
18535 # include <sys/param.h>
18537 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18538 # include <sys/mount.h>
18540 # ifdef STATFS_DEFINED_BY_SYS_VFS
18541 # include <sys/vfs.h>
18543 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18544 # include <sys/statfs.h>
18552 static struct statfs ac_aggr;
18553 if (ac_aggr.f_ffree)
18559 rm -f conftest.$ac_objext
18560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18561 (eval $ac_compile) 2>conftest.er1
18563 grep -v '^ *+' conftest.er1 >conftest.err
18565 cat conftest.err >&5
18566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18567 (exit $ac_status); } &&
18568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18570 (eval $ac_try) 2>&5
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); }; } &&
18574 { ac_try='test -s conftest.$ac_objext'
18575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18576 (eval $ac_try) 2>&5
18578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18579 (exit $ac_status); }; }; then
18580 ac_cv_member_struct_statfs_f_ffree=yes
18582 echo "$as_me: failed program was:" >&5
18583 sed 's/^/| /' conftest.$ac_ext >&5
18585 cat >conftest.$ac_ext <<_ACEOF
18588 cat confdefs.h >>conftest.$ac_ext
18589 cat >>conftest.$ac_ext <<_ACEOF
18590 /* end confdefs.h. */
18591 #include <sys/types.h>
18592 #ifdef HAVE_SYS_PARAM_H
18593 # include <sys/param.h>
18595 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18596 # include <sys/mount.h>
18598 # ifdef STATFS_DEFINED_BY_SYS_VFS
18599 # include <sys/vfs.h>
18601 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18602 # include <sys/statfs.h>
18610 static struct statfs ac_aggr;
18611 if (sizeof ac_aggr.f_ffree)
18617 rm -f conftest.$ac_objext
18618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18619 (eval $ac_compile) 2>conftest.er1
18621 grep -v '^ *+' conftest.er1 >conftest.err
18623 cat conftest.err >&5
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); } &&
18626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18628 (eval $ac_try) 2>&5
18630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18631 (exit $ac_status); }; } &&
18632 { ac_try='test -s conftest.$ac_objext'
18633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18634 (eval $ac_try) 2>&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); }; }; then
18638 ac_cv_member_struct_statfs_f_ffree=yes
18640 echo "$as_me: failed program was:" >&5
18641 sed 's/^/| /' conftest.$ac_ext >&5
18643 ac_cv_member_struct_statfs_f_ffree=no
18645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18649 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18650 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
18651 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18653 cat >>confdefs.h <<_ACEOF
18654 #define HAVE_STRUCT_STATFS_F_FFREE 1
18659 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18660 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
18661 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18662 echo $ECHO_N "(cached) $ECHO_C" >&6
18664 cat >conftest.$ac_ext <<_ACEOF
18667 cat confdefs.h >>conftest.$ac_ext
18668 cat >>conftest.$ac_ext <<_ACEOF
18669 /* end confdefs.h. */
18670 #include <sys/types.h>
18671 #ifdef HAVE_SYS_PARAM_H
18672 # include <sys/param.h>
18674 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18675 # include <sys/mount.h>
18677 # ifdef STATFS_DEFINED_BY_SYS_VFS
18678 # include <sys/vfs.h>
18680 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18681 # include <sys/statfs.h>
18689 static struct statfs ac_aggr;
18690 if (ac_aggr.f_favail)
18696 rm -f conftest.$ac_objext
18697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18698 (eval $ac_compile) 2>conftest.er1
18700 grep -v '^ *+' conftest.er1 >conftest.err
18702 cat conftest.err >&5
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); } &&
18705 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18707 (eval $ac_try) 2>&5
18709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18710 (exit $ac_status); }; } &&
18711 { ac_try='test -s conftest.$ac_objext'
18712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18713 (eval $ac_try) 2>&5
18715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18716 (exit $ac_status); }; }; then
18717 ac_cv_member_struct_statfs_f_favail=yes
18719 echo "$as_me: failed program was:" >&5
18720 sed 's/^/| /' conftest.$ac_ext >&5
18722 cat >conftest.$ac_ext <<_ACEOF
18725 cat confdefs.h >>conftest.$ac_ext
18726 cat >>conftest.$ac_ext <<_ACEOF
18727 /* end confdefs.h. */
18728 #include <sys/types.h>
18729 #ifdef HAVE_SYS_PARAM_H
18730 # include <sys/param.h>
18732 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18733 # include <sys/mount.h>
18735 # ifdef STATFS_DEFINED_BY_SYS_VFS
18736 # include <sys/vfs.h>
18738 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18739 # include <sys/statfs.h>
18747 static struct statfs ac_aggr;
18748 if (sizeof ac_aggr.f_favail)
18754 rm -f conftest.$ac_objext
18755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18756 (eval $ac_compile) 2>conftest.er1
18758 grep -v '^ *+' conftest.er1 >conftest.err
18760 cat conftest.err >&5
18761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762 (exit $ac_status); } &&
18763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18765 (eval $ac_try) 2>&5
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); }; } &&
18769 { ac_try='test -s conftest.$ac_objext'
18770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18771 (eval $ac_try) 2>&5
18773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18774 (exit $ac_status); }; }; then
18775 ac_cv_member_struct_statfs_f_favail=yes
18777 echo "$as_me: failed program was:" >&5
18778 sed 's/^/| /' conftest.$ac_ext >&5
18780 ac_cv_member_struct_statfs_f_favail=no
18782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18786 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18787 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
18788 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18790 cat >>confdefs.h <<_ACEOF
18791 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18796 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18797 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
18798 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18799 echo $ECHO_N "(cached) $ECHO_C" >&6
18801 cat >conftest.$ac_ext <<_ACEOF
18804 cat confdefs.h >>conftest.$ac_ext
18805 cat >>conftest.$ac_ext <<_ACEOF
18806 /* end confdefs.h. */
18807 #include <sys/types.h>
18808 #ifdef HAVE_SYS_PARAM_H
18809 # include <sys/param.h>
18811 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18812 # include <sys/mount.h>
18814 # ifdef STATFS_DEFINED_BY_SYS_VFS
18815 # include <sys/vfs.h>
18817 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18818 # include <sys/statfs.h>
18826 static struct statfs ac_aggr;
18827 if (ac_aggr.f_namelen)
18833 rm -f conftest.$ac_objext
18834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18835 (eval $ac_compile) 2>conftest.er1
18837 grep -v '^ *+' conftest.er1 >conftest.err
18839 cat conftest.err >&5
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); } &&
18842 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18844 (eval $ac_try) 2>&5
18846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847 (exit $ac_status); }; } &&
18848 { ac_try='test -s conftest.$ac_objext'
18849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18850 (eval $ac_try) 2>&5
18852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18853 (exit $ac_status); }; }; then
18854 ac_cv_member_struct_statfs_f_namelen=yes
18856 echo "$as_me: failed program was:" >&5
18857 sed 's/^/| /' conftest.$ac_ext >&5
18859 cat >conftest.$ac_ext <<_ACEOF
18862 cat confdefs.h >>conftest.$ac_ext
18863 cat >>conftest.$ac_ext <<_ACEOF
18864 /* end confdefs.h. */
18865 #include <sys/types.h>
18866 #ifdef HAVE_SYS_PARAM_H
18867 # include <sys/param.h>
18869 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18870 # include <sys/mount.h>
18872 # ifdef STATFS_DEFINED_BY_SYS_VFS
18873 # include <sys/vfs.h>
18875 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18876 # include <sys/statfs.h>
18884 static struct statfs ac_aggr;
18885 if (sizeof ac_aggr.f_namelen)
18891 rm -f conftest.$ac_objext
18892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18893 (eval $ac_compile) 2>conftest.er1
18895 grep -v '^ *+' conftest.er1 >conftest.err
18897 cat conftest.err >&5
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); } &&
18900 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18902 (eval $ac_try) 2>&5
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); }; } &&
18906 { ac_try='test -s conftest.$ac_objext'
18907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18908 (eval $ac_try) 2>&5
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); }; }; then
18912 ac_cv_member_struct_statfs_f_namelen=yes
18914 echo "$as_me: failed program was:" >&5
18915 sed 's/^/| /' conftest.$ac_ext >&5
18917 ac_cv_member_struct_statfs_f_namelen=no
18919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18923 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18924 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
18925 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18927 cat >>confdefs.h <<_ACEOF
18928 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18935 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18936 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
18937 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18938 echo $ECHO_N "(cached) $ECHO_C" >&6
18940 cat >conftest.$ac_ext <<_ACEOF
18943 cat confdefs.h >>conftest.$ac_ext
18944 cat >>conftest.$ac_ext <<_ACEOF
18945 /* end confdefs.h. */
18946 #ifdef HAVE_SYS_STATVFS_H
18947 #include <sys/statvfs.h>
18953 static struct statvfs ac_aggr;
18954 if (ac_aggr.f_blocks)
18960 rm -f conftest.$ac_objext
18961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18962 (eval $ac_compile) 2>conftest.er1
18964 grep -v '^ *+' conftest.er1 >conftest.err
18966 cat conftest.err >&5
18967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18968 (exit $ac_status); } &&
18969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18971 (eval $ac_try) 2>&5
18973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18974 (exit $ac_status); }; } &&
18975 { ac_try='test -s conftest.$ac_objext'
18976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18977 (eval $ac_try) 2>&5
18979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18980 (exit $ac_status); }; }; then
18981 ac_cv_member_struct_statvfs_f_blocks=yes
18983 echo "$as_me: failed program was:" >&5
18984 sed 's/^/| /' conftest.$ac_ext >&5
18986 cat >conftest.$ac_ext <<_ACEOF
18989 cat confdefs.h >>conftest.$ac_ext
18990 cat >>conftest.$ac_ext <<_ACEOF
18991 /* end confdefs.h. */
18992 #ifdef HAVE_SYS_STATVFS_H
18993 #include <sys/statvfs.h>
18999 static struct statvfs ac_aggr;
19000 if (sizeof ac_aggr.f_blocks)
19006 rm -f conftest.$ac_objext
19007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19008 (eval $ac_compile) 2>conftest.er1
19010 grep -v '^ *+' conftest.er1 >conftest.err
19012 cat conftest.err >&5
19013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19014 (exit $ac_status); } &&
19015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19017 (eval $ac_try) 2>&5
19019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020 (exit $ac_status); }; } &&
19021 { ac_try='test -s conftest.$ac_objext'
19022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19023 (eval $ac_try) 2>&5
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); }; }; then
19027 ac_cv_member_struct_statvfs_f_blocks=yes
19029 echo "$as_me: failed program was:" >&5
19030 sed 's/^/| /' conftest.$ac_ext >&5
19032 ac_cv_member_struct_statvfs_f_blocks=no
19034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19038 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19039 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
19040 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19042 cat >>confdefs.h <<_ACEOF
19043 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19050 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19051 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
19052 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19053 echo $ECHO_N "(cached) $ECHO_C" >&6
19055 cat >conftest.$ac_ext <<_ACEOF
19058 cat confdefs.h >>conftest.$ac_ext
19059 cat >>conftest.$ac_ext <<_ACEOF
19060 /* end confdefs.h. */
19061 #include <sys/types.h>
19062 #ifdef HAVE_SYS_SOCKET_H
19063 # include <sys/socket.h>
19065 #ifdef HAVE_SYS_UN_H
19066 # include <sys/un.h>
19072 static struct msghdr ac_aggr;
19073 if (ac_aggr.msg_accrights)
19079 rm -f conftest.$ac_objext
19080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19081 (eval $ac_compile) 2>conftest.er1
19083 grep -v '^ *+' conftest.er1 >conftest.err
19085 cat conftest.err >&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); } &&
19088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19090 (eval $ac_try) 2>&5
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); }; } &&
19094 { ac_try='test -s conftest.$ac_objext'
19095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19096 (eval $ac_try) 2>&5
19098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099 (exit $ac_status); }; }; then
19100 ac_cv_member_struct_msghdr_msg_accrights=yes
19102 echo "$as_me: failed program was:" >&5
19103 sed 's/^/| /' conftest.$ac_ext >&5
19105 cat >conftest.$ac_ext <<_ACEOF
19108 cat confdefs.h >>conftest.$ac_ext
19109 cat >>conftest.$ac_ext <<_ACEOF
19110 /* end confdefs.h. */
19111 #include <sys/types.h>
19112 #ifdef HAVE_SYS_SOCKET_H
19113 # include <sys/socket.h>
19115 #ifdef HAVE_SYS_UN_H
19116 # include <sys/un.h>
19122 static struct msghdr ac_aggr;
19123 if (sizeof ac_aggr.msg_accrights)
19129 rm -f conftest.$ac_objext
19130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19131 (eval $ac_compile) 2>conftest.er1
19133 grep -v '^ *+' conftest.er1 >conftest.err
19135 cat conftest.err >&5
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); } &&
19138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19140 (eval $ac_try) 2>&5
19142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19143 (exit $ac_status); }; } &&
19144 { ac_try='test -s conftest.$ac_objext'
19145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19146 (eval $ac_try) 2>&5
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); }; }; then
19150 ac_cv_member_struct_msghdr_msg_accrights=yes
19152 echo "$as_me: failed program was:" >&5
19153 sed 's/^/| /' conftest.$ac_ext >&5
19155 ac_cv_member_struct_msghdr_msg_accrights=no
19157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19161 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19162 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
19163 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19165 cat >>confdefs.h <<_ACEOF
19166 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19171 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19172 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
19173 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19174 echo $ECHO_N "(cached) $ECHO_C" >&6
19176 cat >conftest.$ac_ext <<_ACEOF
19179 cat confdefs.h >>conftest.$ac_ext
19180 cat >>conftest.$ac_ext <<_ACEOF
19181 /* end confdefs.h. */
19182 #include <sys/types.h>
19183 #ifdef HAVE_SYS_SOCKET_H
19184 # include <sys/socket.h>
19186 #ifdef HAVE_SYS_UN_H
19187 # include <sys/un.h>
19193 static struct sockaddr ac_aggr;
19194 if (ac_aggr.sa_len)
19200 rm -f conftest.$ac_objext
19201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19202 (eval $ac_compile) 2>conftest.er1
19204 grep -v '^ *+' conftest.er1 >conftest.err
19206 cat conftest.err >&5
19207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208 (exit $ac_status); } &&
19209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19211 (eval $ac_try) 2>&5
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); }; } &&
19215 { ac_try='test -s conftest.$ac_objext'
19216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19217 (eval $ac_try) 2>&5
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; }; then
19221 ac_cv_member_struct_sockaddr_sa_len=yes
19223 echo "$as_me: failed program was:" >&5
19224 sed 's/^/| /' conftest.$ac_ext >&5
19226 cat >conftest.$ac_ext <<_ACEOF
19229 cat confdefs.h >>conftest.$ac_ext
19230 cat >>conftest.$ac_ext <<_ACEOF
19231 /* end confdefs.h. */
19232 #include <sys/types.h>
19233 #ifdef HAVE_SYS_SOCKET_H
19234 # include <sys/socket.h>
19236 #ifdef HAVE_SYS_UN_H
19237 # include <sys/un.h>
19243 static struct sockaddr ac_aggr;
19244 if (sizeof ac_aggr.sa_len)
19250 rm -f conftest.$ac_objext
19251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19252 (eval $ac_compile) 2>conftest.er1
19254 grep -v '^ *+' conftest.er1 >conftest.err
19256 cat conftest.err >&5
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); } &&
19259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19261 (eval $ac_try) 2>&5
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); }; } &&
19265 { ac_try='test -s conftest.$ac_objext'
19266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19267 (eval $ac_try) 2>&5
19269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270 (exit $ac_status); }; }; then
19271 ac_cv_member_struct_sockaddr_sa_len=yes
19273 echo "$as_me: failed program was:" >&5
19274 sed 's/^/| /' conftest.$ac_ext >&5
19276 ac_cv_member_struct_sockaddr_sa_len=no
19278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19282 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19283 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
19284 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19286 cat >>confdefs.h <<_ACEOF
19287 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19292 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19293 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
19294 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19295 echo $ECHO_N "(cached) $ECHO_C" >&6
19297 cat >conftest.$ac_ext <<_ACEOF
19300 cat confdefs.h >>conftest.$ac_ext
19301 cat >>conftest.$ac_ext <<_ACEOF
19302 /* end confdefs.h. */
19303 #include <sys/types.h>
19304 #ifdef HAVE_SYS_SOCKET_H
19305 # include <sys/socket.h>
19307 #ifdef HAVE_SYS_UN_H
19308 # include <sys/un.h>
19314 static struct sockaddr_un ac_aggr;
19315 if (ac_aggr.sun_len)
19321 rm -f conftest.$ac_objext
19322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19323 (eval $ac_compile) 2>conftest.er1
19325 grep -v '^ *+' conftest.er1 >conftest.err
19327 cat conftest.err >&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } &&
19330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19332 (eval $ac_try) 2>&5
19334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19335 (exit $ac_status); }; } &&
19336 { ac_try='test -s conftest.$ac_objext'
19337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19338 (eval $ac_try) 2>&5
19340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19341 (exit $ac_status); }; }; then
19342 ac_cv_member_struct_sockaddr_un_sun_len=yes
19344 echo "$as_me: failed program was:" >&5
19345 sed 's/^/| /' conftest.$ac_ext >&5
19347 cat >conftest.$ac_ext <<_ACEOF
19350 cat confdefs.h >>conftest.$ac_ext
19351 cat >>conftest.$ac_ext <<_ACEOF
19352 /* end confdefs.h. */
19353 #include <sys/types.h>
19354 #ifdef HAVE_SYS_SOCKET_H
19355 # include <sys/socket.h>
19357 #ifdef HAVE_SYS_UN_H
19358 # include <sys/un.h>
19364 static struct sockaddr_un ac_aggr;
19365 if (sizeof ac_aggr.sun_len)
19371 rm -f conftest.$ac_objext
19372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19373 (eval $ac_compile) 2>conftest.er1
19375 grep -v '^ *+' conftest.er1 >conftest.err
19377 cat conftest.err >&5
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); } &&
19380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19382 (eval $ac_try) 2>&5
19384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19385 (exit $ac_status); }; } &&
19386 { ac_try='test -s conftest.$ac_objext'
19387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19388 (eval $ac_try) 2>&5
19390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19391 (exit $ac_status); }; }; then
19392 ac_cv_member_struct_sockaddr_un_sun_len=yes
19394 echo "$as_me: failed program was:" >&5
19395 sed 's/^/| /' conftest.$ac_ext >&5
19397 ac_cv_member_struct_sockaddr_un_sun_len=no
19399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19403 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19404 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
19405 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19407 cat >>confdefs.h <<_ACEOF
19408 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19415 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19416 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
19417 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19418 echo $ECHO_N "(cached) $ECHO_C" >&6
19420 cat >conftest.$ac_ext <<_ACEOF
19423 cat confdefs.h >>conftest.$ac_ext
19424 cat >>conftest.$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19426 #include <signal.h>
19431 static siginfo_t ac_aggr;
19438 rm -f conftest.$ac_objext
19439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19440 (eval $ac_compile) 2>conftest.er1
19442 grep -v '^ *+' conftest.er1 >conftest.err
19444 cat conftest.err >&5
19445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19446 (exit $ac_status); } &&
19447 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19449 (eval $ac_try) 2>&5
19451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19452 (exit $ac_status); }; } &&
19453 { ac_try='test -s conftest.$ac_objext'
19454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19455 (eval $ac_try) 2>&5
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); }; }; then
19459 ac_cv_member_siginfo_t_si_fd=yes
19461 echo "$as_me: failed program was:" >&5
19462 sed 's/^/| /' conftest.$ac_ext >&5
19464 cat >conftest.$ac_ext <<_ACEOF
19467 cat confdefs.h >>conftest.$ac_ext
19468 cat >>conftest.$ac_ext <<_ACEOF
19469 /* end confdefs.h. */
19470 #include <signal.h>
19475 static siginfo_t ac_aggr;
19476 if (sizeof ac_aggr.si_fd)
19482 rm -f conftest.$ac_objext
19483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19484 (eval $ac_compile) 2>conftest.er1
19486 grep -v '^ *+' conftest.er1 >conftest.err
19488 cat conftest.err >&5
19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19490 (exit $ac_status); } &&
19491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19493 (eval $ac_try) 2>&5
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); }; } &&
19497 { ac_try='test -s conftest.$ac_objext'
19498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19499 (eval $ac_try) 2>&5
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); }; }; then
19503 ac_cv_member_siginfo_t_si_fd=yes
19505 echo "$as_me: failed program was:" >&5
19506 sed 's/^/| /' conftest.$ac_ext >&5
19508 ac_cv_member_siginfo_t_si_fd=no
19510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19514 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19515 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
19516 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19518 cat >>confdefs.h <<_ACEOF
19519 #define HAVE_SIGINFO_T_SI_FD 1
19526 echo "$as_me:$LINENO: checking for struct option.name" >&5
19527 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19528 if test "${ac_cv_member_struct_option_name+set}" = set; then
19529 echo $ECHO_N "(cached) $ECHO_C" >&6
19531 cat >conftest.$ac_ext <<_ACEOF
19534 cat confdefs.h >>conftest.$ac_ext
19535 cat >>conftest.$ac_ext <<_ACEOF
19536 /* end confdefs.h. */
19537 #ifdef HAVE_GETOPT_H
19538 #include <getopt.h>
19544 static struct option ac_aggr;
19551 rm -f conftest.$ac_objext
19552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19553 (eval $ac_compile) 2>conftest.er1
19555 grep -v '^ *+' conftest.er1 >conftest.err
19557 cat conftest.err >&5
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); } &&
19560 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19562 (eval $ac_try) 2>&5
19564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19565 (exit $ac_status); }; } &&
19566 { ac_try='test -s conftest.$ac_objext'
19567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19568 (eval $ac_try) 2>&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); }; }; then
19572 ac_cv_member_struct_option_name=yes
19574 echo "$as_me: failed program was:" >&5
19575 sed 's/^/| /' conftest.$ac_ext >&5
19577 cat >conftest.$ac_ext <<_ACEOF
19580 cat confdefs.h >>conftest.$ac_ext
19581 cat >>conftest.$ac_ext <<_ACEOF
19582 /* end confdefs.h. */
19583 #ifdef HAVE_GETOPT_H
19584 #include <getopt.h>
19590 static struct option ac_aggr;
19591 if (sizeof ac_aggr.name)
19597 rm -f conftest.$ac_objext
19598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19599 (eval $ac_compile) 2>conftest.er1
19601 grep -v '^ *+' conftest.er1 >conftest.err
19603 cat conftest.err >&5
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); } &&
19606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19608 (eval $ac_try) 2>&5
19610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611 (exit $ac_status); }; } &&
19612 { ac_try='test -s conftest.$ac_objext'
19613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19614 (eval $ac_try) 2>&5
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); }; }; then
19618 ac_cv_member_struct_option_name=yes
19620 echo "$as_me: failed program was:" >&5
19621 sed 's/^/| /' conftest.$ac_ext >&5
19623 ac_cv_member_struct_option_name=no
19625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19629 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19630 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19631 if test $ac_cv_member_struct_option_name = yes; then
19633 cat >>confdefs.h <<_ACEOF
19634 #define HAVE_STRUCT_OPTION_NAME 1
19641 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19642 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19643 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19644 echo $ECHO_N "(cached) $ECHO_C" >&6
19646 cat >conftest.$ac_ext <<_ACEOF
19649 cat confdefs.h >>conftest.$ac_ext
19650 cat >>conftest.$ac_ext <<_ACEOF
19651 /* end confdefs.h. */
19652 $ac_includes_default
19656 static struct stat ac_aggr;
19657 if (ac_aggr.st_blocks)
19663 rm -f conftest.$ac_objext
19664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19665 (eval $ac_compile) 2>conftest.er1
19667 grep -v '^ *+' conftest.er1 >conftest.err
19669 cat conftest.err >&5
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671 (exit $ac_status); } &&
19672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19674 (eval $ac_try) 2>&5
19676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19677 (exit $ac_status); }; } &&
19678 { ac_try='test -s conftest.$ac_objext'
19679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19680 (eval $ac_try) 2>&5
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); }; }; then
19684 ac_cv_member_struct_stat_st_blocks=yes
19686 echo "$as_me: failed program was:" >&5
19687 sed 's/^/| /' conftest.$ac_ext >&5
19689 cat >conftest.$ac_ext <<_ACEOF
19692 cat confdefs.h >>conftest.$ac_ext
19693 cat >>conftest.$ac_ext <<_ACEOF
19694 /* end confdefs.h. */
19695 $ac_includes_default
19699 static struct stat ac_aggr;
19700 if (sizeof ac_aggr.st_blocks)
19706 rm -f conftest.$ac_objext
19707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19708 (eval $ac_compile) 2>conftest.er1
19710 grep -v '^ *+' conftest.er1 >conftest.err
19712 cat conftest.err >&5
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); } &&
19715 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19717 (eval $ac_try) 2>&5
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); }; } &&
19721 { ac_try='test -s conftest.$ac_objext'
19722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19723 (eval $ac_try) 2>&5
19725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19726 (exit $ac_status); }; }; then
19727 ac_cv_member_struct_stat_st_blocks=yes
19729 echo "$as_me: failed program was:" >&5
19730 sed 's/^/| /' conftest.$ac_ext >&5
19732 ac_cv_member_struct_stat_st_blocks=no
19734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19738 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19739 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19740 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19742 cat >>confdefs.h <<_ACEOF
19743 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19752 *i[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19753 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
19754 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19755 echo $ECHO_N "(cached) $ECHO_C" >&6
19757 cat >conftest.$ac_ext <<_ACEOF
19760 cat confdefs.h >>conftest.$ac_ext
19761 cat >>conftest.$ac_ext <<_ACEOF
19762 /* end confdefs.h. */
19767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19768 $EGREP "yes" >/dev/null 2>&1; then
19769 ac_cv_cpp_def___i386__=yes
19771 ac_cv_cpp_def___i386__=no
19776 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19777 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
19778 if test $ac_cv_cpp_def___i386__ = yes; then
19779 CFLAGS="$CFLAGS -D__i386__"
19780 LINTFLAGS="$LINTFLAGS -D__i386__"
19783 *alpha*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19784 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
19785 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19786 echo $ECHO_N "(cached) $ECHO_C" >&6
19788 cat >conftest.$ac_ext <<_ACEOF
19791 cat confdefs.h >>conftest.$ac_ext
19792 cat >>conftest.$ac_ext <<_ACEOF
19793 /* end confdefs.h. */
19798 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19799 $EGREP "yes" >/dev/null 2>&1; then
19800 ac_cv_cpp_def___ALPHA__=yes
19802 ac_cv_cpp_def___ALPHA__=no
19807 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
19808 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
19809 if test $ac_cv_cpp_def___ALPHA__ = yes; then
19810 CFLAGS="$CFLAGS -D__ALPHA__"
19811 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
19814 *sparc*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
19815 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
19816 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
19817 echo $ECHO_N "(cached) $ECHO_C" >&6
19819 cat >conftest.$ac_ext <<_ACEOF
19822 cat confdefs.h >>conftest.$ac_ext
19823 cat >>conftest.$ac_ext <<_ACEOF
19824 /* end confdefs.h. */
19829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19830 $EGREP "yes" >/dev/null 2>&1; then
19831 ac_cv_cpp_def___sparc__=yes
19833 ac_cv_cpp_def___sparc__=no
19838 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
19839 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
19840 if test $ac_cv_cpp_def___sparc__ = yes; then
19841 CFLAGS="$CFLAGS -D__sparc__"
19842 LINTFLAGS="$LINTFLAGS -D__sparc__"
19845 *powerpc*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
19846 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
19847 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
19848 echo $ECHO_N "(cached) $ECHO_C" >&6
19850 cat >conftest.$ac_ext <<_ACEOF
19853 cat confdefs.h >>conftest.$ac_ext
19854 cat >>conftest.$ac_ext <<_ACEOF
19855 /* end confdefs.h. */
19856 #ifndef __powerpc__
19860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19861 $EGREP "yes" >/dev/null 2>&1; then
19862 ac_cv_cpp_def___powerpc__=yes
19864 ac_cv_cpp_def___powerpc__=no
19869 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
19870 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
19871 if test $ac_cv_cpp_def___powerpc__ = yes; then
19872 CFLAGS="$CFLAGS -D__powerpc__"
19873 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19878 case $host_vendor in
19879 *sun*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
19880 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
19881 if test "${ac_cv_cpp_def___sun__+set}" = set; then
19882 echo $ECHO_N "(cached) $ECHO_C" >&6
19884 cat >conftest.$ac_ext <<_ACEOF
19887 cat confdefs.h >>conftest.$ac_ext
19888 cat >>conftest.$ac_ext <<_ACEOF
19889 /* end confdefs.h. */
19894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19895 $EGREP "yes" >/dev/null 2>&1; then
19896 ac_cv_cpp_def___sun__=yes
19898 ac_cv_cpp_def___sun__=no
19903 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
19904 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
19905 if test $ac_cv_cpp_def___sun__ = yes; then
19906 CFLAGS="$CFLAGS -D__sun__"
19907 LINTFLAGS="$LINTFLAGS -D__sun__"
19916 ac_config_commands="$ac_config_commands dlls/ddraw/d3ddevice"
19918 ac_config_commands="$ac_config_commands dlls/ddraw/dclipper"
19920 ac_config_commands="$ac_config_commands dlls/ddraw/ddraw"
19922 ac_config_commands="$ac_config_commands dlls/ddraw/direct3d"
19924 ac_config_commands="$ac_config_commands dlls/ddraw/dpalette"
19926 ac_config_commands="$ac_config_commands dlls/ddraw/dsurface"
19928 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
19930 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
19932 ac_config_commands="$ac_config_commands dlls/kernel/messages"
19934 ac_config_commands="$ac_config_commands dlls/user/dde"
19936 ac_config_commands="$ac_config_commands dlls/user/resources"
19938 ac_config_commands="$ac_config_commands dlls/wineps/data"
19940 ac_config_commands="$ac_config_commands include/wine"
19942 ac_config_commands="$ac_config_commands programs/regedit/tests"
19944 ac_config_commands="$ac_config_commands windows"
19947 MAKE_RULES=Make.rules
19950 MAKE_DLL_RULES=dlls/Makedll.rules
19953 MAKE_TEST_RULES=dlls/Maketest.rules
19956 MAKE_LIB_RULES=libs/Makelib.rules
19959 MAKE_PROG_RULES=programs/Makeprog.rules
19962 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/cryptdll/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/hhctrl.ocx/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/lzexpand/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msacm/tests/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/msdmo/Makefile dlls/mshtml/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvidc32/Makefile dlls/msvideo/Makefile dlls/mswsock/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/rasapi32/Makefile dlls/riched20/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/secur32/Makefile dlls/sensapi/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/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/wined3d/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/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile dlls/x11drv/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
19965 cat >confcache <<\_ACEOF
19966 # This file is a shell script that caches the results of configure
19967 # tests run on this system so they can be shared between configure
19968 # scripts and configure runs, see configure's option --config-cache.
19969 # It is not useful on other systems. If it contains results you don't
19970 # want to keep, you may remove or edit it.
19972 # config.status only pays attention to the cache file if you give it
19973 # the --recheck option to rerun configure.
19975 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19976 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19977 # following values.
19981 # The following way of writing the cache mishandles newlines in values,
19982 # but we know of no workaround that is simple, portable, and efficient.
19983 # So, don't put newlines in cache variables' values.
19984 # Ultrix sh set writes to stderr and can't be redirected directly,
19985 # and sets the high bit in the cache file unless we assign to the vars.
19988 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19990 # `set' does not quote correctly, so add quotes (double-quote
19991 # substitution turns \\\\ into \\, and sed turns \\ into \).
19994 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19997 # `set' quotes correctly as required by POSIX, so do not add quotes.
19999 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20006 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20008 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20010 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20011 if test -w $cache_file; then
20012 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20013 cat confcache >$cache_file
20015 echo "not updating unwritable cache $cache_file"
20020 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20021 # Let make expand exec_prefix.
20022 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20024 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20025 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20026 # trailing colons and then remove the whole line if VPATH becomes empty
20027 # (actually we leave an empty line to preserve line numbers).
20028 if test "x$srcdir" = x.; then
20029 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20030 s/:*\$(srcdir):*/:/;
20031 s/:*\${srcdir}:*/:/;
20033 s/^\([^=]*=[ ]*\):*/\1/;
20039 DEFS=-DHAVE_CONFIG_H
20043 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20044 # 1. Remove the extension, and $U if already installed.
20045 ac_i=`echo "$ac_i" |
20046 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20048 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20049 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
20051 LIBOBJS=$ac_libobjs
20053 LTLIBOBJS=$ac_ltlibobjs
20057 : ${CONFIG_STATUS=./config.status}
20058 ac_clean_files_save=$ac_clean_files
20059 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20060 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20061 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20062 cat >$CONFIG_STATUS <<_ACEOF
20064 # Generated by $as_me.
20065 # Run this file to recreate the current configuration.
20066 # Compiler output produced by configure, useful for debugging
20067 # configure, is in config.log if it exists.
20070 ac_cs_recheck=false
20072 SHELL=\${CONFIG_SHELL-$SHELL}
20075 cat >>$CONFIG_STATUS <<\_ACEOF
20076 ## --------------------- ##
20077 ## M4sh Initialization. ##
20078 ## --------------------- ##
20080 # Be Bourne compatible
20081 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20084 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20085 # is contrary to our usage. Disable this feature.
20086 alias -g '${1+"$@"}'='"$@"'
20087 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20090 DUALCASE=1; export DUALCASE # for MKS sh
20092 # Support unset when possible.
20093 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20100 # Work around bugs in pre-3.0 UWIN ksh.
20101 $as_unset ENV MAIL MAILPATH
20108 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20109 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20110 LC_TELEPHONE LC_TIME
20112 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20113 eval $as_var=C; export $as_var
20119 # Required to use basename.
20120 if expr a : '\(a\)' >/dev/null 2>&1; then
20126 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20127 as_basename=basename
20133 # Name of the executable.
20134 as_me=`$as_basename "$0" ||
20135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20136 X"$0" : 'X\(//\)$' \| \
20137 X"$0" : 'X\(/\)$' \| \
20138 . : '\(.\)' 2>/dev/null ||
20140 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20141 /^X\/\(\/\/\)$/{ s//\1/; q; }
20142 /^X\/\(\/\).*/{ s//\1/; q; }
20146 # PATH needs CR, and LINENO needs CR and PATH.
20147 # Avoid depending upon Character Ranges.
20148 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20149 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20150 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20151 as_cr_digits='0123456789'
20152 as_cr_alnum=$as_cr_Letters$as_cr_digits
20154 # The user is always right.
20155 if test "${PATH_SEPARATOR+set}" != set; then
20156 echo "#! /bin/sh" >conf$$.sh
20157 echo "exit 0" >>conf$$.sh
20159 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20168 as_lineno_1=$LINENO
20169 as_lineno_2=$LINENO
20170 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20171 test "x$as_lineno_1" != "x$as_lineno_2" &&
20172 test "x$as_lineno_3" = "x$as_lineno_2" || {
20173 # Find who we are. Look in the path if we contain no path at all
20176 *[\\/]* ) as_myself=$0 ;;
20177 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20178 for as_dir in $PATH
20181 test -z "$as_dir" && as_dir=.
20182 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20187 # We did not find ourselves, most probably we were run as `sh COMMAND'
20188 # in which case we are not to be found in the path.
20189 if test "x$as_myself" = x; then
20192 if test ! -f "$as_myself"; then
20193 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20194 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20195 { (exit 1); exit 1; }; }
20197 case $CONFIG_SHELL in
20199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20200 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20203 test -z "$as_dir" && as_dir=.
20204 for as_base in sh bash ksh sh5; do
20207 if ("$as_dir/$as_base" -c '
20208 as_lineno_1=$LINENO
20209 as_lineno_2=$LINENO
20210 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20211 test "x$as_lineno_1" != "x$as_lineno_2" &&
20212 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20213 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20214 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20215 CONFIG_SHELL=$as_dir/$as_base
20216 export CONFIG_SHELL
20217 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20225 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20226 # uniformly replaced by the line number. The first 'sed' inserts a
20227 # line-number line before each line; the second 'sed' does the real
20228 # work. The second script uses 'N' to pair each line-number line
20229 # with the numbered line, and appends trailing '-' during
20230 # substitution so that $LINENO is not a special case at line end.
20231 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20232 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20233 sed '=' <$as_myself |
20238 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20241 s,^['$as_cr_digits']*\n,,
20242 ' >$as_me.lineno &&
20243 chmod +x $as_me.lineno ||
20244 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20245 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20246 { (exit 1); exit 1; }; }
20248 # Don't try to exec as it changes $[0], causing all sort of problems
20249 # (the dirname of $[0] is not the place where we might find the
20250 # original and so on. Autoconf is especially sensible to this).
20252 # Exit status is that of the last command.
20257 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20258 *c*,-n*) ECHO_N= ECHO_C='
20260 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20261 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
20264 if expr a : '\(a\)' >/dev/null 2>&1; then
20270 rm -f conf$$ conf$$.exe conf$$.file
20272 if ln -s conf$$.file conf$$ 2>/dev/null; then
20273 # We could just check for DJGPP; but this test a) works b) is more generic
20274 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20275 if test -f conf$$.exe; then
20276 # Don't use ln at all; we don't have any links
20281 elif ln conf$$.file conf$$ 2>/dev/null; then
20286 rm -f conf$$ conf$$.exe conf$$.file
20288 if mkdir -p . 2>/dev/null; then
20291 test -d ./-p && rmdir ./-p
20295 as_executable_p="test -f"
20297 # Sed expression to map a string onto a valid CPP name.
20298 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20300 # Sed expression to map a string onto a valid variable name.
20301 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20305 # We need space, tab and new line, in precisely that order.
20315 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20316 # report actual input values of CONFIG_FILES etc. instead of their
20317 # values after options handling. Logging --version etc. is OK.
20321 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20322 ## Running $as_me. ##
20327 This file was extended by Wine $as_me 20050419, which was
20328 generated by GNU Autoconf 2.59. Invocation command line was
20330 CONFIG_FILES = $CONFIG_FILES
20331 CONFIG_HEADERS = $CONFIG_HEADERS
20332 CONFIG_LINKS = $CONFIG_LINKS
20333 CONFIG_COMMANDS = $CONFIG_COMMANDS
20337 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20341 # Files that config.status was made for.
20342 if test -n "$ac_config_files"; then
20343 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20346 if test -n "$ac_config_headers"; then
20347 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20350 if test -n "$ac_config_links"; then
20351 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20354 if test -n "$ac_config_commands"; then
20355 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20358 cat >>$CONFIG_STATUS <<\_ACEOF
20361 \`$as_me' instantiates files from templates according to the
20362 current configuration.
20364 Usage: $0 [OPTIONS] [FILE]...
20366 -h, --help print this help, then exit
20367 -V, --version print version number, then exit
20368 -q, --quiet do not print progress messages
20369 -d, --debug don't remove temporary files
20370 --recheck update $as_me by reconfiguring in the same conditions
20371 --file=FILE[:TEMPLATE]
20372 instantiate the configuration file FILE
20373 --header=FILE[:TEMPLATE]
20374 instantiate the configuration header FILE
20376 Configuration files:
20379 Configuration headers:
20382 Configuration commands:
20385 Report bugs to <bug-autoconf@gnu.org>."
20388 cat >>$CONFIG_STATUS <<_ACEOF
20390 Wine config.status 20050419
20391 configured by $0, generated by GNU Autoconf 2.59,
20392 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20394 Copyright (C) 2003 Free Software Foundation, Inc.
20395 This config.status script is free software; the Free Software Foundation
20396 gives unlimited permission to copy, distribute and modify it."
20401 cat >>$CONFIG_STATUS <<\_ACEOF
20402 # If no file are specified by the user, then we need to provide default
20403 # value. By we need to know if files were specified by the user.
20409 ac_option=`expr "x$1" : 'x\([^=]*\)='`
20410 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20418 *) # This is not an option, so the user has probably given explicit
20421 ac_need_defaults=false;;
20425 # Handling of the options.
20427 cat >>$CONFIG_STATUS <<\_ACEOF
20428 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20430 --version | --vers* | -V )
20431 echo "$ac_cs_version"; exit 0 ;;
20433 # Conflict between --help and --header
20434 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20435 Try \`$0 --help' for more information." >&5
20436 echo "$as_me: error: ambiguous option: $1
20437 Try \`$0 --help' for more information." >&2;}
20438 { (exit 1); exit 1; }; };;
20439 --help | --hel | -h )
20440 echo "$ac_cs_usage"; exit 0 ;;
20441 --debug | --d* | -d )
20443 --file | --fil | --fi | --f )
20445 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20446 ac_need_defaults=false;;
20447 --header | --heade | --head | --hea )
20449 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20450 ac_need_defaults=false;;
20451 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20452 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20455 # This is an error.
20456 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20457 Try \`$0 --help' for more information." >&5
20458 echo "$as_me: error: unrecognized option: $1
20459 Try \`$0 --help' for more information." >&2;}
20460 { (exit 1); exit 1; }; } ;;
20462 *) ac_config_targets="$ac_config_targets $1" ;;
20468 ac_configure_extra_args=
20470 if $ac_cs_silent; then
20472 ac_configure_extra_args="$ac_configure_extra_args --silent"
20476 cat >>$CONFIG_STATUS <<_ACEOF
20477 if \$ac_cs_recheck; then
20478 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20479 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20488 cat >>$CONFIG_STATUS <<\_ACEOF
20489 for ac_config_target in $ac_config_targets
20491 case "$ac_config_target" in
20492 # Handling of arguments.
20493 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
20494 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
20495 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
20496 "libs/Makelib.rules" ) CONFIG_FILES="$CONFIG_FILES libs/Makelib.rules" ;;
20497 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
20498 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20499 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
20500 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20501 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20502 "dlls/advpack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
20503 "dlls/advpack/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
20504 "dlls/amstream/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
20505 "dlls/atl/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
20506 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20507 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20508 "dlls/cabinet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20509 "dlls/capi2032/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20510 "dlls/cards/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
20511 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20512 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
20513 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20514 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20515 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
20516 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20517 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20518 "dlls/cryptdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
20519 "dlls/ctl3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
20520 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20521 "dlls/d3d9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20522 "dlls/d3dim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20523 "dlls/d3drm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20524 "dlls/d3dx8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20525 "dlls/d3dxof/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20526 "dlls/dbghelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20527 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20528 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20529 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20530 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
20531 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
20532 "dlls/dinput/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
20533 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20534 "dlls/dmband/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
20535 "dlls/dmcompos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20536 "dlls/dmime/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
20537 "dlls/dmloader/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20538 "dlls/dmscript/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20539 "dlls/dmstyle/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20540 "dlls/dmsynth/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20541 "dlls/dmusic/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20542 "dlls/dmusic32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20543 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
20544 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20545 "dlls/dpnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20546 "dlls/dpnhpast/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20547 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
20548 "dlls/dsound/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20549 "dlls/dswave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
20550 "dlls/dxdiagn/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20551 "dlls/dxerr8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20552 "dlls/dxerr9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20553 "dlls/dxguid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20554 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
20555 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20556 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
20557 "dlls/glut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
20558 "dlls/hhctrl.ocx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20559 "dlls/iccvid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20560 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
20561 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20562 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20563 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
20564 "dlls/iphlpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20565 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20566 "dlls/itss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
20567 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
20568 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20569 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
20570 "dlls/lzexpand/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/tests/Makefile" ;;
20571 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20572 "dlls/mapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20573 "dlls/mlang/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
20574 "dlls/mlang/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20575 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20576 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20577 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
20578 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
20579 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
20580 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
20581 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
20582 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
20583 "dlls/msacm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/tests/Makefile" ;;
20584 "dlls/mscms/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
20585 "dlls/mscms/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
20586 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20587 "dlls/mshtml/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20588 "dlls/msi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
20589 "dlls/msi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
20590 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20591 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
20592 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20593 "dlls/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20594 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20595 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20596 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20597 "dlls/msvcrt40/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20598 "dlls/msvcrtd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20599 "dlls/msvcrtd/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20600 "dlls/msvidc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20601 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
20602 "dlls/mswsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20603 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20604 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20605 "dlls/newdev/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
20606 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20607 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20608 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20609 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
20610 "dlls/ole32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
20611 "dlls/oleacc/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20612 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20613 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20614 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
20615 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20616 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20617 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
20618 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20619 "dlls/powrprof/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
20620 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
20621 "dlls/psapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
20622 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
20623 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
20624 "dlls/quartz/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
20625 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20626 "dlls/riched20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
20627 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
20628 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20629 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20630 "dlls/rsabase/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20631 "dlls/rsabase/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
20632 "dlls/rsaenh/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
20633 "dlls/rsaenh/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
20634 "dlls/secur32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
20635 "dlls/sensapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
20636 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
20637 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20638 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20639 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
20640 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20641 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20642 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20643 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20644 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20645 "dlls/stdole32.tlb/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
20646 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
20647 "dlls/strmiids/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
20648 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20649 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
20650 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
20651 "dlls/unicows/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
20652 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
20653 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20654 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20655 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
20656 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20657 "dlls/uuid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
20658 "dlls/uxtheme/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20659 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20660 "dlls/vdmdbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
20661 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
20662 "dlls/version/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
20663 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20664 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20665 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20666 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20667 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20668 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
20669 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
20670 "dlls/wined3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20671 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
20672 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
20673 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
20674 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20675 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
20676 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20677 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
20678 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
20679 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
20680 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
20681 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
20682 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
20683 "dlls/winmm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20684 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
20685 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20686 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20687 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20688 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20689 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20690 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20691 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
20692 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
20693 "dlls/winsock/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
20694 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
20695 "dlls/winspool/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20696 "dlls/wintab32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20697 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20698 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
20699 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
20700 "dlls/wtsapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
20701 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
20702 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
20703 "fonts/Makefile" ) CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
20704 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20705 "libs/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
20706 "libs/port/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
20707 "libs/unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/unicode/Makefile" ;;
20708 "libs/wine/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
20709 "libs/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
20710 "loader/Makefile" ) CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
20711 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
20712 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
20713 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
20714 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
20715 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
20716 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
20717 "programs/msiexec/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
20718 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
20719 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
20720 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
20721 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
20722 "programs/rpcss/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
20723 "programs/rundll32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
20724 "programs/start/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
20725 "programs/taskmgr/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
20726 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
20727 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
20728 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
20729 "programs/wineboot/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
20730 "programs/winebrowser/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
20731 "programs/winecfg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
20732 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
20733 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
20734 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
20735 "programs/winemenubuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
20736 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
20737 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
20738 "programs/winetest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
20739 "programs/winevdm/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
20740 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
20741 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
20742 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
20743 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
20744 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
20745 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
20746 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
20747 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
20748 "tools/winegcc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
20749 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
20750 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
20751 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
20752 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
20753 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
20754 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
20755 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
20756 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
20757 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
20758 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
20759 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
20760 "dlls/user/dde" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/dde" ;;
20761 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
20762 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
20763 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
20764 "programs/regedit/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regedit/tests" ;;
20765 "windows" ) CONFIG_COMMANDS="$CONFIG_COMMANDS windows" ;;
20766 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20767 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20768 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20769 { (exit 1); exit 1; }; };;
20773 # If the user did not use the arguments to specify the items to instantiate,
20774 # then the envvar interface is used. Set only those that are not.
20775 # We use the long form for the default assignment because of an extremely
20776 # bizarre bug on SunOS 4.1.3.
20777 if $ac_need_defaults; then
20778 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20779 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20780 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20783 # Have a temporary directory for convenience. Make it in the build tree
20784 # simply because there is no reason to put it here, and in addition,
20785 # creating and moving files from /tmp can sometimes cause problems.
20786 # Create a temporary directory, and hook for its removal unless debugging.
20789 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20790 trap '{ (exit 1); exit 1; }' 1 2 13 15
20793 # Create a (secure) tmp directory for tmp files.
20796 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20797 test -n "$tmp" && test -d "$tmp"
20800 tmp=./confstat$$-$RANDOM
20801 (umask 077 && mkdir $tmp)
20804 echo "$me: cannot create a temporary directory in ." >&2
20805 { (exit 1); exit 1; }
20810 cat >>$CONFIG_STATUS <<_ACEOF
20813 # CONFIG_FILES section.
20816 # No need to generate the scripts if there are no CONFIG_FILES.
20817 # This happens for instance when ./config.status config.h
20818 if test -n "\$CONFIG_FILES"; then
20819 # Protect against being on the right side of a sed subst in config.status.
20820 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20821 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20822 s,@SHELL@,$SHELL,;t t
20823 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20824 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20825 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20826 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20827 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20828 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20829 s,@exec_prefix@,$exec_prefix,;t t
20830 s,@prefix@,$prefix,;t t
20831 s,@program_transform_name@,$program_transform_name,;t t
20832 s,@bindir@,$bindir,;t t
20833 s,@sbindir@,$sbindir,;t t
20834 s,@libexecdir@,$libexecdir,;t t
20835 s,@datadir@,$datadir,;t t
20836 s,@sysconfdir@,$sysconfdir,;t t
20837 s,@sharedstatedir@,$sharedstatedir,;t t
20838 s,@localstatedir@,$localstatedir,;t t
20839 s,@libdir@,$libdir,;t t
20840 s,@includedir@,$includedir,;t t
20841 s,@oldincludedir@,$oldincludedir,;t t
20842 s,@infodir@,$infodir,;t t
20843 s,@mandir@,$mandir,;t t
20844 s,@build_alias@,$build_alias,;t t
20845 s,@host_alias@,$host_alias,;t t
20846 s,@target_alias@,$target_alias,;t t
20847 s,@DEFS@,$DEFS,;t t
20848 s,@ECHO_C@,$ECHO_C,;t t
20849 s,@ECHO_N@,$ECHO_N,;t t
20850 s,@ECHO_T@,$ECHO_T,;t t
20851 s,@LIBS@,$LIBS,;t t
20852 s,@WIN16_FILES@,$WIN16_FILES,;t t
20853 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
20854 s,@DLLDEFS@,$DLLDEFS,;t t
20855 s,@build@,$build,;t t
20856 s,@build_cpu@,$build_cpu,;t t
20857 s,@build_vendor@,$build_vendor,;t t
20858 s,@build_os@,$build_os,;t t
20859 s,@host@,$host,;t t
20860 s,@host_cpu@,$host_cpu,;t t
20861 s,@host_vendor@,$host_vendor,;t t
20862 s,@host_os@,$host_os,;t t
20863 s,@SET_MAKE@,$SET_MAKE,;t t
20865 s,@CFLAGS@,$CFLAGS,;t t
20866 s,@LDFLAGS@,$LDFLAGS,;t t
20867 s,@CPPFLAGS@,$CPPFLAGS,;t t
20868 s,@ac_ct_CC@,$ac_ct_CC,;t t
20869 s,@EXEEXT@,$EXEEXT,;t t
20870 s,@OBJEXT@,$OBJEXT,;t t
20872 s,@CXXFLAGS@,$CXXFLAGS,;t t
20873 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20874 s,@CPPBIN@,$CPPBIN,;t t
20875 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
20876 s,@TOOLSDIR@,$TOOLSDIR,;t t
20878 s,@X_CFLAGS@,$X_CFLAGS,;t t
20879 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
20880 s,@X_LIBS@,$X_LIBS,;t t
20881 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
20883 s,@LEXLIB@,$LEXLIB,;t t
20884 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20885 s,@XLEX@,$XLEX,;t t
20886 s,@BISON@,$BISON,;t t
20888 s,@ac_ct_AS@,$ac_ct_AS,;t t
20890 s,@ac_ct_LD@,$ac_ct_LD,;t t
20892 s,@ac_ct_AR@,$ac_ct_AR,;t t
20893 s,@RANLIB@,$RANLIB,;t t
20894 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20895 s,@STRIP@,$STRIP,;t t
20896 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20897 s,@WINDRES@,$WINDRES,;t t
20898 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
20899 s,@LN_S@,$LN_S,;t t
20901 s,@EGREP@,$EGREP,;t t
20902 s,@LDCONFIG@,$LDCONFIG,;t t
20903 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20904 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20905 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20906 s,@LINT@,$LINT,;t t
20907 s,@LINTFLAGS@,$LINTFLAGS,;t t
20908 s,@FONTFORGE@,$FONTFORGE,;t t
20909 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
20910 s,@XLIB@,$XLIB,;t t
20911 s,@XFILES@,$XFILES,;t t
20912 s,@OPENGLFILES@,$OPENGLFILES,;t t
20913 s,@GLU32FILES@,$GLU32FILES,;t t
20914 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
20915 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
20916 s,@GLUT32FILES@,$GLUT32FILES,;t t
20917 s,@NASLIBS@,$NASLIBS,;t t
20918 s,@CURSESLIBS@,$CURSESLIBS,;t t
20919 s,@sane_devel@,$sane_devel,;t t
20920 s,@SANELIBS@,$SANELIBS,;t t
20921 s,@SANEINCL@,$SANEINCL,;t t
20922 s,@ICULIBS@,$ICULIBS,;t t
20923 s,@ft_devel@,$ft_devel,;t t
20924 s,@ft_devel2@,$ft_devel2,;t t
20925 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
20926 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
20927 s,@FONTSSUBDIRS@,$FONTSSUBDIRS,;t t
20928 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
20929 s,@ARTSLIBS@,$ARTSLIBS,;t t
20930 s,@ARTSINCL@,$ARTSINCL,;t t
20931 s,@ALSALIBS@,$ALSALIBS,;t t
20932 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
20933 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
20934 s,@DLLEXT@,$DLLEXT,;t t
20935 s,@DLLFLAGS@,$DLLFLAGS,;t t
20936 s,@DLLIBS@,$DLLIBS,;t t
20937 s,@LDSHARED@,$LDSHARED,;t t
20938 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
20939 s,@LIBEXT@,$LIBEXT,;t t
20940 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
20941 s,@DLLTOOL@,$DLLTOOL,;t t
20942 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
20943 s,@DLLWRAP@,$DLLWRAP,;t t
20944 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
20945 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
20946 s,@LDLIBWINEFLAGS@,$LDLIBWINEFLAGS,;t t
20947 s,@COREFOUNDATIONLIB@,$COREFOUNDATIONLIB,;t t
20948 s,@IOKITLIB@,$IOKITLIB,;t t
20949 s,@CROSSTEST@,$CROSSTEST,;t t
20950 s,@CROSSCC@,$CROSSCC,;t t
20951 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
20952 s,@LDPATH@,$LDPATH,;t t
20953 s,@CRTLIBS@,$CRTLIBS,;t t
20954 s,@SOCKETLIBS@,$SOCKETLIBS,;t t
20955 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
20956 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
20958 s,@ALLOCA@,$ALLOCA,;t t
20959 s,@LIBOBJS@,$LIBOBJS,;t t
20960 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20961 /@MAKE_RULES@/r $MAKE_RULES
20962 s,@MAKE_RULES@,,;t t
20963 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
20964 s,@MAKE_DLL_RULES@,,;t t
20965 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
20966 s,@MAKE_TEST_RULES@,,;t t
20967 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
20968 s,@MAKE_LIB_RULES@,,;t t
20969 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
20970 s,@MAKE_PROG_RULES@,,;t t
20975 cat >>$CONFIG_STATUS <<\_ACEOF
20976 # Split the substitutions into bite-sized pieces for seds with
20977 # small command number limits, like on Digital OSF/1 and HP-UX.
20978 ac_max_sed_lines=48
20979 ac_sed_frag=1 # Number of current file.
20980 ac_beg=1 # First line for current file.
20981 ac_end=$ac_max_sed_lines # Line after last line for current file.
20984 while $ac_more_lines; do
20985 if test $ac_beg -gt 1; then
20986 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20988 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20990 if test ! -s $tmp/subs.frag; then
20991 ac_more_lines=false
20993 # The purpose of the label and of the branching condition is to
20994 # speed up the sed processing (if there are no `@' at all, there
20995 # is no need to browse any of the substitutions).
20996 # These are the two extra sed commands mentioned above.
20998 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
20999 if test -z "$ac_sed_cmds"; then
21000 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21002 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21004 ac_sed_frag=`expr $ac_sed_frag + 1`
21006 ac_end=`expr $ac_end + $ac_max_sed_lines`
21009 if test -z "$ac_sed_cmds"; then
21012 fi # test -n "$CONFIG_FILES"
21015 cat >>$CONFIG_STATUS <<\_ACEOF
21016 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21017 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21019 - | *:- | *:-:* ) # input from stdin
21021 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21022 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21023 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21024 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21025 * ) ac_file_in=$ac_file.in ;;
21028 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21029 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21030 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21031 X"$ac_file" : 'X\(//\)[^/]' \| \
21032 X"$ac_file" : 'X\(//\)$' \| \
21033 X"$ac_file" : 'X\(/\)' \| \
21034 . : '\(.\)' 2>/dev/null ||
21036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21037 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21038 /^X\(\/\/\)$/{ s//\1/; q; }
21039 /^X\(\/\).*/{ s//\1/; q; }
21041 { if $as_mkdir_p; then
21046 while test ! -d "$as_dir"; do
21047 as_dirs="$as_dir $as_dirs"
21048 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21049 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21050 X"$as_dir" : 'X\(//\)[^/]' \| \
21051 X"$as_dir" : 'X\(//\)$' \| \
21052 X"$as_dir" : 'X\(/\)' \| \
21053 . : '\(.\)' 2>/dev/null ||
21055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21056 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21057 /^X\(\/\/\)$/{ s//\1/; q; }
21058 /^X\(\/\).*/{ s//\1/; q; }
21061 test ! -n "$as_dirs" || mkdir $as_dirs
21062 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21063 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21064 { (exit 1); exit 1; }; }; }
21068 if test "$ac_dir" != .; then
21069 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21070 # A "../" for each directory in $ac_dir_suffix.
21071 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21073 ac_dir_suffix= ac_top_builddir=
21077 .) # No --srcdir option. We are building in place.
21079 if test -z "$ac_top_builddir"; then
21082 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21084 [\\/]* | ?:[\\/]* ) # Absolute path.
21085 ac_srcdir=$srcdir$ac_dir_suffix;
21086 ac_top_srcdir=$srcdir ;;
21087 *) # Relative path.
21088 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21089 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21092 # Do not use `cd foo && pwd` to compute absolute paths, because
21093 # the directories may not exist.
21095 .) ac_abs_builddir="$ac_dir";;
21098 .) ac_abs_builddir=`pwd`;;
21099 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21100 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21103 case $ac_abs_builddir in
21104 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21106 case ${ac_top_builddir}. in
21107 .) ac_abs_top_builddir=$ac_abs_builddir;;
21108 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21109 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21112 case $ac_abs_builddir in
21113 .) ac_abs_srcdir=$ac_srcdir;;
21116 .) ac_abs_srcdir=$ac_abs_builddir;;
21117 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21118 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21121 case $ac_abs_builddir in
21122 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21124 case $ac_top_srcdir in
21125 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21126 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21127 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21133 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21134 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21137 # Let's still pretend it is `configure' which instantiates (i.e., don't
21138 # use $as_me), people would be surprised to read:
21139 # /* config.h. Generated by config.status. */
21140 if test x"$ac_file" = x-; then
21143 configure_input="$ac_file. "
21145 configure_input=$configure_input"Generated from `echo $ac_file_in |
21146 sed 's,.*/,,'` by configure."
21148 # First look for the input files in the build tree, otherwise in the
21150 ac_file_inputs=`IFS=:
21151 for f in $ac_file_in; do
21153 -) echo $tmp/stdin ;;
21155 # Absolute (can't be DOS-style, as IFS=:)
21156 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21157 echo "$as_me: error: cannot find input file: $f" >&2;}
21158 { (exit 1); exit 1; }; }
21161 if test -f "$f"; then
21164 elif test -f "$srcdir/$f"; then
21169 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21170 echo "$as_me: error: cannot find input file: $f" >&2;}
21171 { (exit 1); exit 1; }; }
21174 done` || { (exit 1); exit 1; }
21176 if test x"$ac_file" != x-; then
21177 { echo "$as_me:$LINENO: creating $ac_file" >&5
21178 echo "$as_me: creating $ac_file" >&6;}
21182 cat >>$CONFIG_STATUS <<_ACEOF
21186 cat >>$CONFIG_STATUS <<\_ACEOF
21188 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21189 s,@configure_input@,$configure_input,;t t
21190 s,@srcdir@,$ac_srcdir,;t t
21191 s,@abs_srcdir@,$ac_abs_srcdir,;t t
21192 s,@top_srcdir@,$ac_top_srcdir,;t t
21193 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21194 s,@builddir@,$ac_builddir,;t t
21195 s,@abs_builddir@,$ac_abs_builddir,;t t
21196 s,@top_builddir@,$ac_top_builddir,;t t
21197 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21198 s,@INSTALL@,$ac_INSTALL,;t t
21199 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21201 if test x"$ac_file" != x-; then
21202 mv $tmp/out $ac_file
21210 cat >>$CONFIG_STATUS <<\_ACEOF
21213 # CONFIG_HEADER section.
21216 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21217 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21219 # ac_d sets the value in "#define NAME VALUE" lines.
21220 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21221 ac_dB='[ ].*$,\1#\2'
21224 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21225 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21226 ac_uB='$,\1#\2define\3'
21230 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21231 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21233 - | *:- | *:-:* ) # input from stdin
21235 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21236 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21237 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21238 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21239 * ) ac_file_in=$ac_file.in ;;
21242 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21243 echo "$as_me: creating $ac_file" >&6;}
21245 # First look for the input files in the build tree, otherwise in the
21247 ac_file_inputs=`IFS=:
21248 for f in $ac_file_in; do
21250 -) echo $tmp/stdin ;;
21252 # Absolute (can't be DOS-style, as IFS=:)
21253 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21254 echo "$as_me: error: cannot find input file: $f" >&2;}
21255 { (exit 1); exit 1; }; }
21256 # Do quote $f, to prevent DOS paths from being IFS'd.
21259 if test -f "$f"; then
21262 elif test -f "$srcdir/$f"; then
21267 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21268 echo "$as_me: error: cannot find input file: $f" >&2;}
21269 { (exit 1); exit 1; }; }
21272 done` || { (exit 1); exit 1; }
21273 # Remove the trailing spaces.
21274 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21278 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21279 # `conftest.undefs', that substitutes the proper values into
21280 # config.h.in to produce config.h. The first handles `#define'
21281 # templates, and the second `#undef' templates.
21282 # And first: Protect against being on the right side of a sed subst in
21283 # config.status. Protect against being in an unquoted here document
21284 # in config.status.
21285 rm -f conftest.defines conftest.undefs
21286 # Using a here document instead of a string reduces the quoting nightmare.
21287 # Putting comments in sed scripts is not portable.
21289 # `end' is used to avoid that the second main sed command (meant for
21290 # 0-ary CPP macros) applies to n-ary macro definitions.
21291 # See the Autoconf documentation for `clear'.
21292 cat >confdef2sed.sed <<\_ACEOF
21297 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21299 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21302 # If some macros were called several times there might be several times
21303 # the same #defines, which is useless. Nevertheless, we may not want to
21304 # sort them, since we want the *last* AC-DEFINE to be honored.
21305 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21306 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21307 rm -f confdef2sed.sed
21309 # This sed command replaces #undef with comments. This is necessary, for
21310 # example, in the case of _POSIX_SOURCE, which is predefined and required
21311 # on some systems where configure will not decide to define it.
21312 cat >>conftest.undefs <<\_ACEOF
21313 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21316 # Break up conftest.defines because some shells have a limit on the size
21317 # of here documents, and old seds have small limits too (100 cmds).
21318 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21319 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21320 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21321 echo ' :' >>$CONFIG_STATUS
21322 rm -f conftest.tail
21323 while grep . conftest.defines >/dev/null
21325 # Write a limited-size here document to $tmp/defines.sed.
21326 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21327 # Speed up: don't consider the non `#define' lines.
21328 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21329 # Work around the forget-to-reset-the-flag bug.
21330 echo 't clr' >>$CONFIG_STATUS
21331 echo ': clr' >>$CONFIG_STATUS
21332 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21334 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21336 mv $tmp/out $tmp/in
21338 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21339 rm -f conftest.defines
21340 mv conftest.tail conftest.defines
21342 rm -f conftest.defines
21343 echo ' fi # grep' >>$CONFIG_STATUS
21344 echo >>$CONFIG_STATUS
21346 # Break up conftest.undefs because some shells have a limit on the size
21347 # of here documents, and old seds have small limits too (100 cmds).
21348 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21349 rm -f conftest.tail
21350 while grep . conftest.undefs >/dev/null
21352 # Write a limited-size here document to $tmp/undefs.sed.
21353 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21354 # Speed up: don't consider the non `#undef'
21355 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21356 # Work around the forget-to-reset-the-flag bug.
21357 echo 't clr' >>$CONFIG_STATUS
21358 echo ': clr' >>$CONFIG_STATUS
21359 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21361 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21363 mv $tmp/out $tmp/in
21365 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21366 rm -f conftest.undefs
21367 mv conftest.tail conftest.undefs
21369 rm -f conftest.undefs
21371 cat >>$CONFIG_STATUS <<\_ACEOF
21372 # Let's still pretend it is `configure' which instantiates (i.e., don't
21373 # use $as_me), people would be surprised to read:
21374 # /* config.h. Generated by config.status. */
21375 if test x"$ac_file" = x-; then
21376 echo "/* Generated by configure. */" >$tmp/config.h
21378 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21380 cat $tmp/in >>$tmp/config.h
21382 if test x"$ac_file" != x-; then
21383 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21384 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21385 echo "$as_me: $ac_file is unchanged" >&6;}
21387 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21388 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21389 X"$ac_file" : 'X\(//\)[^/]' \| \
21390 X"$ac_file" : 'X\(//\)$' \| \
21391 X"$ac_file" : 'X\(/\)' \| \
21392 . : '\(.\)' 2>/dev/null ||
21394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21395 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21396 /^X\(\/\/\)$/{ s//\1/; q; }
21397 /^X\(\/\).*/{ s//\1/; q; }
21399 { if $as_mkdir_p; then
21404 while test ! -d "$as_dir"; do
21405 as_dirs="$as_dir $as_dirs"
21406 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21407 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21408 X"$as_dir" : 'X\(//\)[^/]' \| \
21409 X"$as_dir" : 'X\(//\)$' \| \
21410 X"$as_dir" : 'X\(/\)' \| \
21411 . : '\(.\)' 2>/dev/null ||
21413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21414 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21415 /^X\(\/\/\)$/{ s//\1/; q; }
21416 /^X\(\/\).*/{ s//\1/; q; }
21419 test ! -n "$as_dirs" || mkdir $as_dirs
21420 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21421 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21422 { (exit 1); exit 1; }; }; }
21425 mv $tmp/config.h $ac_file
21429 rm -f $tmp/config.h
21433 cat >>$CONFIG_STATUS <<\_ACEOF
21436 # CONFIG_COMMANDS section.
21438 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21439 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21440 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21441 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21442 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21443 X"$ac_dest" : 'X\(//\)[^/]' \| \
21444 X"$ac_dest" : 'X\(//\)$' \| \
21445 X"$ac_dest" : 'X\(/\)' \| \
21446 . : '\(.\)' 2>/dev/null ||
21448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21449 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21450 /^X\(\/\/\)$/{ s//\1/; q; }
21451 /^X\(\/\).*/{ s//\1/; q; }
21453 { if $as_mkdir_p; then
21458 while test ! -d "$as_dir"; do
21459 as_dirs="$as_dir $as_dirs"
21460 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21461 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21462 X"$as_dir" : 'X\(//\)[^/]' \| \
21463 X"$as_dir" : 'X\(//\)$' \| \
21464 X"$as_dir" : 'X\(/\)' \| \
21465 . : '\(.\)' 2>/dev/null ||
21467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21468 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21469 /^X\(\/\/\)$/{ s//\1/; q; }
21470 /^X\(\/\).*/{ s//\1/; q; }
21473 test ! -n "$as_dirs" || mkdir $as_dirs
21474 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21475 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21476 { (exit 1); exit 1; }; }; }
21480 if test "$ac_dir" != .; then
21481 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21482 # A "../" for each directory in $ac_dir_suffix.
21483 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21485 ac_dir_suffix= ac_top_builddir=
21489 .) # No --srcdir option. We are building in place.
21491 if test -z "$ac_top_builddir"; then
21494 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21496 [\\/]* | ?:[\\/]* ) # Absolute path.
21497 ac_srcdir=$srcdir$ac_dir_suffix;
21498 ac_top_srcdir=$srcdir ;;
21499 *) # Relative path.
21500 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21501 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21504 # Do not use `cd foo && pwd` to compute absolute paths, because
21505 # the directories may not exist.
21507 .) ac_abs_builddir="$ac_dir";;
21510 .) ac_abs_builddir=`pwd`;;
21511 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21512 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21515 case $ac_abs_builddir in
21516 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21518 case ${ac_top_builddir}. in
21519 .) ac_abs_top_builddir=$ac_abs_builddir;;
21520 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21521 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21524 case $ac_abs_builddir in
21525 .) ac_abs_srcdir=$ac_srcdir;;
21528 .) ac_abs_srcdir=$ac_abs_builddir;;
21529 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21530 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21533 case $ac_abs_builddir in
21534 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21536 case $ac_top_srcdir in
21537 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21538 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21539 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21544 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21545 echo "$as_me: executing $ac_dest commands" >&6;}
21547 dlls/ddraw/d3ddevice ) test -d "dlls/ddraw/d3ddevice" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
21548 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir "dlls/ddraw/d3ddevice") ;;
21549 dlls/ddraw/dclipper ) test -d "dlls/ddraw/dclipper" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
21550 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir "dlls/ddraw/dclipper") ;;
21551 dlls/ddraw/ddraw ) test -d "dlls/ddraw/ddraw" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
21552 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir "dlls/ddraw/ddraw") ;;
21553 dlls/ddraw/direct3d ) test -d "dlls/ddraw/direct3d" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
21554 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir "dlls/ddraw/direct3d") ;;
21555 dlls/ddraw/dpalette ) test -d "dlls/ddraw/dpalette" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
21556 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir "dlls/ddraw/dpalette") ;;
21557 dlls/ddraw/dsurface ) test -d "dlls/ddraw/dsurface" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
21558 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir "dlls/ddraw/dsurface") ;;
21559 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21560 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
21561 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21562 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
21563 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21564 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
21565 dlls/user/dde ) test -d "dlls/user/dde" || ({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
21566 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir "dlls/user/dde") ;;
21567 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21568 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
21569 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21570 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
21571 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
21572 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
21573 programs/regedit/tests ) test -d "programs/regedit/tests" || ({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
21574 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir "programs/regedit/tests") ;;
21575 windows ) test -d "windows" || ({ echo "$as_me:$LINENO: creating windows" >&5
21576 echo "$as_me: creating windows" >&6;} && mkdir "windows") ;;
21581 cat >>$CONFIG_STATUS <<\_ACEOF
21583 { (exit 0); exit 0; }
21585 chmod +x $CONFIG_STATUS
21586 ac_clean_files=$ac_clean_files_save
21589 # configure is writing to config.log, and then calls config.status.
21590 # config.status does its own redirection, appending to config.log.
21591 # Unfortunately, on DOS this fails, as config.log is still kept open
21592 # by configure, so config.status won't be able to write to it; its
21593 # output is simply discarded. So we exec the FD to /dev/null,
21594 # effectively closing config.log, so it can be properly (re)opened and
21595 # appended to by config.status. When coming back to configure, we
21596 # need to make the FD available again.
21597 if test "$no_create" != yes; then
21599 ac_config_status_args=
21600 test "$silent" = yes &&
21601 ac_config_status_args="$ac_config_status_args --quiet"
21603 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21605 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21606 # would make configure fail if this is the last instruction.
21607 $ac_cs_success || { (exit 1); exit 1; }
21611 if test "$have_x" = "no"
21614 echo "*** Warning: X development files not found. Wine will be built without"
21615 echo "*** X support, which currently does not work, and would probably not be"
21616 echo "*** what you want anyway. You will need to install devel packages of"
21617 echo "*** Xlib/Xfree86 at the very least."
21620 if test "$wine_cv_opengl_version_OK" = "no"
21623 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21624 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21627 if test "$wine_cv_msg_freetype" = "yes"
21630 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21631 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21632 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21633 echo "*** enable Wine to use TrueType fonts."
21636 if test -z "$ALSALIBS" -a -z "$ARTSC_LIBS" -a -z "$AUDIOIOLIBS" -a \
21637 -z "$ac_cv_lib_soname_jack" -a -z "$NASLIBS" -a \
21638 "$ac_cv_c_opensoundsystem" = "no"
21640 echo "*** No sound system was found. Windows applications will be silent."
21641 echo "*** The currently supported sound systems are:"
21642 echo "*** ALSA, ARTS, AudioIO, Jack, NAS and OSS"
21646 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."