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
7112 fontconfig/fontconfig.h \
7138 netinet/in_systm.h \
7194 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7196 echo "$as_me:$LINENO: checking for $ac_header" >&5
7197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7199 echo $ECHO_N "(cached) $ECHO_C" >&6
7201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7204 # Is the header compilable?
7205 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7206 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7207 cat >conftest.$ac_ext <<_ACEOF
7210 cat confdefs.h >>conftest.$ac_ext
7211 cat >>conftest.$ac_ext <<_ACEOF
7212 /* end confdefs.h. */
7213 $ac_includes_default
7214 #include <$ac_header>
7216 rm -f conftest.$ac_objext
7217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7218 (eval $ac_compile) 2>conftest.er1
7220 grep -v '^ *+' conftest.er1 >conftest.err
7222 cat conftest.err >&5
7223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224 (exit $ac_status); } &&
7225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230 (exit $ac_status); }; } &&
7231 { ac_try='test -s conftest.$ac_objext'
7232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7236 (exit $ac_status); }; }; then
7237 ac_header_compiler=yes
7239 echo "$as_me: failed program was:" >&5
7240 sed 's/^/| /' conftest.$ac_ext >&5
7242 ac_header_compiler=no
7244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7245 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7246 echo "${ECHO_T}$ac_header_compiler" >&6
7248 # Is the header present?
7249 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7250 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7251 cat >conftest.$ac_ext <<_ACEOF
7254 cat confdefs.h >>conftest.$ac_ext
7255 cat >>conftest.$ac_ext <<_ACEOF
7256 /* end confdefs.h. */
7257 #include <$ac_header>
7259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7260 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7262 grep -v '^ *+' conftest.er1 >conftest.err
7264 cat conftest.err >&5
7265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7266 (exit $ac_status); } >/dev/null; then
7267 if test -s conftest.err; then
7268 ac_cpp_err=$ac_c_preproc_warn_flag
7269 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7276 if test -z "$ac_cpp_err"; then
7277 ac_header_preproc=yes
7279 echo "$as_me: failed program was:" >&5
7280 sed 's/^/| /' conftest.$ac_ext >&5
7282 ac_header_preproc=no
7284 rm -f conftest.err conftest.$ac_ext
7285 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7286 echo "${ECHO_T}$ac_header_preproc" >&6
7288 # So? What about this header?
7289 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7291 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7292 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7294 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7295 ac_header_preproc=yes
7298 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7299 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7300 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7301 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7302 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7303 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7304 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7305 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7307 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7308 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7309 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7312 ## ------------------------------------ ##
7313 ## Report this to wine-devel@winehq.org ##
7314 ## ------------------------------------ ##
7317 sed "s/^/$as_me: WARNING: /" >&2
7320 echo "$as_me:$LINENO: checking for $ac_header" >&5
7321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7323 echo $ECHO_N "(cached) $ECHO_C" >&6
7325 eval "$as_ac_Header=\$ac_header_preproc"
7327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7331 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7332 cat >>confdefs.h <<_ACEOF
7333 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7340 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7341 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
7342 if test "${ac_cv_header_stat_broken+set}" = set; then
7343 echo $ECHO_N "(cached) $ECHO_C" >&6
7345 cat >conftest.$ac_ext <<_ACEOF
7348 cat confdefs.h >>conftest.$ac_ext
7349 cat >>conftest.$ac_ext <<_ACEOF
7350 /* end confdefs.h. */
7351 #include <sys/types.h>
7352 #include <sys/stat.h>
7354 #if defined(S_ISBLK) && defined(S_IFDIR)
7355 # if S_ISBLK (S_IFDIR)
7360 #if defined(S_ISBLK) && defined(S_IFCHR)
7361 # if S_ISBLK (S_IFCHR)
7366 #if defined(S_ISLNK) && defined(S_IFREG)
7367 # if S_ISLNK (S_IFREG)
7372 #if defined(S_ISSOCK) && defined(S_IFREG)
7373 # if S_ISSOCK (S_IFREG)
7379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7380 $EGREP "You lose" >/dev/null 2>&1; then
7381 ac_cv_header_stat_broken=yes
7383 ac_cv_header_stat_broken=no
7388 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7389 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
7390 if test $ac_cv_header_stat_broken = yes; then
7392 cat >>confdefs.h <<\_ACEOF
7393 #define STAT_MACROS_BROKEN 1
7400 if test "$have_x" = "yes"
7403 ac_save_CPPFLAGS="$CPPFLAGS"
7404 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7407 for ac_header in X11/Xlib.h
7409 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7411 echo "$as_me:$LINENO: checking for $ac_header" >&5
7412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7414 echo $ECHO_N "(cached) $ECHO_C" >&6
7416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7417 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7419 # Is the header compilable?
7420 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7421 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7422 cat >conftest.$ac_ext <<_ACEOF
7425 cat confdefs.h >>conftest.$ac_ext
7426 cat >>conftest.$ac_ext <<_ACEOF
7427 /* end confdefs.h. */
7428 $ac_includes_default
7429 #include <$ac_header>
7431 rm -f conftest.$ac_objext
7432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7433 (eval $ac_compile) 2>conftest.er1
7435 grep -v '^ *+' conftest.er1 >conftest.err
7437 cat conftest.err >&5
7438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7439 (exit $ac_status); } &&
7440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7445 (exit $ac_status); }; } &&
7446 { ac_try='test -s conftest.$ac_objext'
7447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451 (exit $ac_status); }; }; then
7452 ac_header_compiler=yes
7454 echo "$as_me: failed program was:" >&5
7455 sed 's/^/| /' conftest.$ac_ext >&5
7457 ac_header_compiler=no
7459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7460 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7461 echo "${ECHO_T}$ac_header_compiler" >&6
7463 # Is the header present?
7464 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7465 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7466 cat >conftest.$ac_ext <<_ACEOF
7469 cat confdefs.h >>conftest.$ac_ext
7470 cat >>conftest.$ac_ext <<_ACEOF
7471 /* end confdefs.h. */
7472 #include <$ac_header>
7474 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7475 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7477 grep -v '^ *+' conftest.er1 >conftest.err
7479 cat conftest.err >&5
7480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7481 (exit $ac_status); } >/dev/null; then
7482 if test -s conftest.err; then
7483 ac_cpp_err=$ac_c_preproc_warn_flag
7484 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7491 if test -z "$ac_cpp_err"; then
7492 ac_header_preproc=yes
7494 echo "$as_me: failed program was:" >&5
7495 sed 's/^/| /' conftest.$ac_ext >&5
7497 ac_header_preproc=no
7499 rm -f conftest.err conftest.$ac_ext
7500 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7501 echo "${ECHO_T}$ac_header_preproc" >&6
7503 # So? What about this header?
7504 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7506 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7507 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7508 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7509 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7510 ac_header_preproc=yes
7513 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7514 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7515 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7516 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7517 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7518 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7519 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7520 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7521 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7522 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7523 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7524 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7527 ## ------------------------------------ ##
7528 ## Report this to wine-devel@winehq.org ##
7529 ## ------------------------------------ ##
7532 sed "s/^/$as_me: WARNING: /" >&2
7535 echo "$as_me:$LINENO: checking for $ac_header" >&5
7536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7538 echo $ECHO_N "(cached) $ECHO_C" >&6
7540 eval "$as_ac_Header=\$ac_header_preproc"
7542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7546 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7547 cat >>confdefs.h <<_ACEOF
7548 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7560 for ac_header in X11/XKBlib.h \
7562 X11/extensions/shape.h \
7563 X11/extensions/XInput.h \
7564 X11/extensions/XShm.h \
7565 X11/extensions/Xrandr.h \
7566 X11/extensions/Xrender.h \
7567 X11/extensions/xf86dga.h \
7568 X11/extensions/xf86vmode.h
7570 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7571 echo "$as_me:$LINENO: checking for $ac_header" >&5
7572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7574 echo $ECHO_N "(cached) $ECHO_C" >&6
7576 cat >conftest.$ac_ext <<_ACEOF
7579 cat confdefs.h >>conftest.$ac_ext
7580 cat >>conftest.$ac_ext <<_ACEOF
7581 /* end confdefs.h. */
7582 #include <X11/Xlib.h>
7583 #ifdef HAVE_X11_XUTIL_H
7584 # include <X11/Xutil.h>
7587 #include <$ac_header>
7589 rm -f conftest.$ac_objext
7590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7591 (eval $ac_compile) 2>conftest.er1
7593 grep -v '^ *+' conftest.er1 >conftest.err
7595 cat conftest.err >&5
7596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7597 (exit $ac_status); } &&
7598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7603 (exit $ac_status); }; } &&
7604 { ac_try='test -s conftest.$ac_objext'
7605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609 (exit $ac_status); }; }; then
7610 eval "$as_ac_Header=yes"
7612 echo "$as_me: failed program was:" >&5
7613 sed 's/^/| /' conftest.$ac_ext >&5
7615 eval "$as_ac_Header=no"
7617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7621 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7622 cat >>confdefs.h <<_ACEOF
7623 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7631 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7633 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7634 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7635 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7636 echo $ECHO_N "(cached) $ECHO_C" >&6
7638 ac_check_lib_save_LIBS=$LIBS
7639 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7640 cat >conftest.$ac_ext <<_ACEOF
7643 cat confdefs.h >>conftest.$ac_ext
7644 cat >>conftest.$ac_ext <<_ACEOF
7645 /* end confdefs.h. */
7647 /* Override any gcc2 internal prototype to avoid an error. */
7651 /* We use char because int might match the return type of a gcc2
7652 builtin and then its argument prototype would still apply. */
7653 char XkbQueryExtension ();
7657 XkbQueryExtension ();
7662 rm -f conftest.$ac_objext conftest$ac_exeext
7663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7664 (eval $ac_link) 2>conftest.er1
7666 grep -v '^ *+' conftest.er1 >conftest.err
7668 cat conftest.err >&5
7669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670 (exit $ac_status); } &&
7671 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7676 (exit $ac_status); }; } &&
7677 { ac_try='test -s conftest$ac_exeext'
7678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 (exit $ac_status); }; }; then
7683 ac_cv_lib_X11_XkbQueryExtension=yes
7685 echo "$as_me: failed program was:" >&5
7686 sed 's/^/| /' conftest.$ac_ext >&5
7688 ac_cv_lib_X11_XkbQueryExtension=no
7690 rm -f conftest.err conftest.$ac_objext \
7691 conftest$ac_exeext conftest.$ac_ext
7692 LIBS=$ac_check_lib_save_LIBS
7694 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7695 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7696 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7698 cat >>confdefs.h <<\_ACEOF
7706 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7708 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7709 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7710 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7711 echo $ECHO_N "(cached) $ECHO_C" >&6
7713 ac_check_lib_save_LIBS=$LIBS
7714 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7715 cat >conftest.$ac_ext <<_ACEOF
7718 cat confdefs.h >>conftest.$ac_ext
7719 cat >>conftest.$ac_ext <<_ACEOF
7720 /* end confdefs.h. */
7722 /* Override any gcc2 internal prototype to avoid an error. */
7726 /* We use char because int might match the return type of a gcc2
7727 builtin and then its argument prototype would still apply. */
7728 char XShmQueryExtension ();
7732 XShmQueryExtension ();
7737 rm -f conftest.$ac_objext conftest$ac_exeext
7738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7739 (eval $ac_link) 2>conftest.er1
7741 grep -v '^ *+' conftest.er1 >conftest.err
7743 cat conftest.err >&5
7744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7745 (exit $ac_status); } &&
7746 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); }; } &&
7752 { ac_try='test -s conftest$ac_exeext'
7753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7757 (exit $ac_status); }; }; then
7758 ac_cv_lib_Xext_XShmQueryExtension=yes
7760 echo "$as_me: failed program was:" >&5
7761 sed 's/^/| /' conftest.$ac_ext >&5
7763 ac_cv_lib_Xext_XShmQueryExtension=no
7765 rm -f conftest.err conftest.$ac_objext \
7766 conftest$ac_exeext conftest.$ac_ext
7767 LIBS=$ac_check_lib_save_LIBS
7769 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7770 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7771 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7773 cat >>confdefs.h <<\_ACEOF
7774 #define HAVE_LIBXXSHM 1
7781 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7783 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7784 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7785 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7786 echo $ECHO_N "(cached) $ECHO_C" >&6
7788 ac_check_lib_save_LIBS=$LIBS
7789 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7790 cat >conftest.$ac_ext <<_ACEOF
7793 cat confdefs.h >>conftest.$ac_ext
7794 cat >>conftest.$ac_ext <<_ACEOF
7795 /* end confdefs.h. */
7797 /* Override any gcc2 internal prototype to avoid an error. */
7801 /* We use char because int might match the return type of a gcc2
7802 builtin and then its argument prototype would still apply. */
7803 char XShapeQueryExtension ();
7807 XShapeQueryExtension ();
7812 rm -f conftest.$ac_objext conftest$ac_exeext
7813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7814 (eval $ac_link) 2>conftest.er1
7816 grep -v '^ *+' conftest.er1 >conftest.err
7818 cat conftest.err >&5
7819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7820 (exit $ac_status); } &&
7821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 (exit $ac_status); }; } &&
7827 { ac_try='test -s conftest$ac_exeext'
7828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7832 (exit $ac_status); }; }; then
7833 ac_cv_lib_Xext_XShapeQueryExtension=yes
7835 echo "$as_me: failed program was:" >&5
7836 sed 's/^/| /' conftest.$ac_ext >&5
7838 ac_cv_lib_Xext_XShapeQueryExtension=no
7840 rm -f conftest.err conftest.$ac_objext \
7841 conftest$ac_exeext conftest.$ac_ext
7842 LIBS=$ac_check_lib_save_LIBS
7844 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7845 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
7846 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7848 cat >>confdefs.h <<\_ACEOF
7849 #define HAVE_LIBXSHAPE 1
7856 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
7858 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
7859 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7860 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
7861 echo $ECHO_N "(cached) $ECHO_C" >&6
7863 ac_check_lib_save_LIBS=$LIBS
7864 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7865 cat >conftest.$ac_ext <<_ACEOF
7868 cat confdefs.h >>conftest.$ac_ext
7869 cat >>conftest.$ac_ext <<_ACEOF
7870 /* end confdefs.h. */
7872 /* Override any gcc2 internal prototype to avoid an error. */
7876 /* We use char because int might match the return type of a gcc2
7877 builtin and then its argument prototype would still apply. */
7878 char XDGAQueryExtension ();
7882 XDGAQueryExtension ();
7887 rm -f conftest.$ac_objext conftest$ac_exeext
7888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7889 (eval $ac_link) 2>conftest.er1
7891 grep -v '^ *+' conftest.er1 >conftest.err
7893 cat conftest.err >&5
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 (exit $ac_status); } &&
7896 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901 (exit $ac_status); }; } &&
7902 { ac_try='test -s conftest$ac_exeext'
7903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907 (exit $ac_status); }; }; then
7908 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
7910 echo "$as_me: failed program was:" >&5
7911 sed 's/^/| /' conftest.$ac_ext >&5
7913 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
7915 rm -f conftest.err conftest.$ac_objext \
7916 conftest$ac_exeext conftest.$ac_ext
7917 LIBS=$ac_check_lib_save_LIBS
7919 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
7920 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
7921 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
7923 cat >>confdefs.h <<\_ACEOF
7924 #define HAVE_LIBXXF86DGA2 1
7927 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7933 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7935 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7936 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7937 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7938 echo $ECHO_N "(cached) $ECHO_C" >&6
7940 ac_check_lib_save_LIBS=$LIBS
7941 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7942 cat >conftest.$ac_ext <<_ACEOF
7945 cat confdefs.h >>conftest.$ac_ext
7946 cat >>conftest.$ac_ext <<_ACEOF
7947 /* end confdefs.h. */
7949 /* Override any gcc2 internal prototype to avoid an error. */
7953 /* We use char because int might match the return type of a gcc2
7954 builtin and then its argument prototype would still apply. */
7955 char XF86VidModeQueryExtension ();
7959 XF86VidModeQueryExtension ();
7964 rm -f conftest.$ac_objext conftest$ac_exeext
7965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7966 (eval $ac_link) 2>conftest.er1
7968 grep -v '^ *+' conftest.er1 >conftest.err
7970 cat conftest.err >&5
7971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7972 (exit $ac_status); } &&
7973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7978 (exit $ac_status); }; } &&
7979 { ac_try='test -s conftest$ac_exeext'
7980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7984 (exit $ac_status); }; }; then
7985 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
7987 echo "$as_me: failed program was:" >&5
7988 sed 's/^/| /' conftest.$ac_ext >&5
7990 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
7992 rm -f conftest.err conftest.$ac_objext \
7993 conftest$ac_exeext conftest.$ac_ext
7994 LIBS=$ac_check_lib_save_LIBS
7996 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7997 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7998 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8000 cat >>confdefs.h <<\_ACEOF
8001 #define HAVE_LIBXXF86VM 1
8004 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8010 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8012 cat >conftest.$ac_ext <<_ACEOF
8015 cat confdefs.h >>conftest.$ac_ext
8016 cat >>conftest.$ac_ext <<_ACEOF
8017 /* end confdefs.h. */
8018 #include <X11/Xlib.h>
8019 #include <X11/extensions/Xrandr.h>
8023 static typeof(XRRSetScreenConfigAndRate) * func;
8028 rm -f conftest.$ac_objext
8029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8030 (eval $ac_compile) 2>conftest.er1
8032 grep -v '^ *+' conftest.er1 >conftest.err
8034 cat conftest.err >&5
8035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8036 (exit $ac_status); } &&
8037 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8042 (exit $ac_status); }; } &&
8043 { ac_try='test -s conftest.$ac_objext'
8044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8048 (exit $ac_status); }; }; then
8050 cat >>confdefs.h <<\_ACEOF
8051 #define HAVE_LIBXRANDR 1
8055 echo "$as_me: failed program was:" >&5
8056 sed 's/^/| /' conftest.$ac_ext >&5
8059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8062 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8064 echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8065 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6
8066 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8067 echo $ECHO_N "(cached) $ECHO_C" >&6
8069 ac_check_lib_save_LIBS=$LIBS
8070 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8071 cat >conftest.$ac_ext <<_ACEOF
8074 cat confdefs.h >>conftest.$ac_ext
8075 cat >>conftest.$ac_ext <<_ACEOF
8076 /* end confdefs.h. */
8078 /* Override any gcc2 internal prototype to avoid an error. */
8082 /* We use char because int might match the return type of a gcc2
8083 builtin and then its argument prototype would still apply. */
8084 char XRenderSetPictureTransform ();
8088 XRenderSetPictureTransform ();
8093 rm -f conftest.$ac_objext conftest$ac_exeext
8094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8095 (eval $ac_link) 2>conftest.er1
8097 grep -v '^ *+' conftest.er1 >conftest.err
8099 cat conftest.err >&5
8100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8101 (exit $ac_status); } &&
8102 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8107 (exit $ac_status); }; } &&
8108 { ac_try='test -s conftest$ac_exeext'
8109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8113 (exit $ac_status); }; }; then
8114 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8116 echo "$as_me: failed program was:" >&5
8117 sed 's/^/| /' conftest.$ac_ext >&5
8119 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8121 rm -f conftest.err conftest.$ac_objext \
8122 conftest$ac_exeext conftest.$ac_ext
8123 LIBS=$ac_check_lib_save_LIBS
8125 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8126 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6
8127 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8129 cat >>confdefs.h <<\_ACEOF
8130 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8142 if test "x$with_opengl" != "xno"
8144 if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
8146 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8147 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8148 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8149 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8150 { (exit 1); exit 1; }; }
8155 for ac_header in GL/gl.h GL/glx.h
8157 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8159 echo "$as_me:$LINENO: checking for $ac_header" >&5
8160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8162 echo $ECHO_N "(cached) $ECHO_C" >&6
8164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8167 # Is the header compilable?
8168 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8169 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8170 cat >conftest.$ac_ext <<_ACEOF
8173 cat confdefs.h >>conftest.$ac_ext
8174 cat >>conftest.$ac_ext <<_ACEOF
8175 /* end confdefs.h. */
8176 $ac_includes_default
8177 #include <$ac_header>
8179 rm -f conftest.$ac_objext
8180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8181 (eval $ac_compile) 2>conftest.er1
8183 grep -v '^ *+' conftest.er1 >conftest.err
8185 cat conftest.err >&5
8186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8187 (exit $ac_status); } &&
8188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 (exit $ac_status); }; } &&
8194 { ac_try='test -s conftest.$ac_objext'
8195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); }; }; then
8200 ac_header_compiler=yes
8202 echo "$as_me: failed program was:" >&5
8203 sed 's/^/| /' conftest.$ac_ext >&5
8205 ac_header_compiler=no
8207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8208 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8209 echo "${ECHO_T}$ac_header_compiler" >&6
8211 # Is the header present?
8212 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8213 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8214 cat >conftest.$ac_ext <<_ACEOF
8217 cat confdefs.h >>conftest.$ac_ext
8218 cat >>conftest.$ac_ext <<_ACEOF
8219 /* end confdefs.h. */
8220 #include <$ac_header>
8222 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8223 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8225 grep -v '^ *+' conftest.er1 >conftest.err
8227 cat conftest.err >&5
8228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8229 (exit $ac_status); } >/dev/null; then
8230 if test -s conftest.err; then
8231 ac_cpp_err=$ac_c_preproc_warn_flag
8232 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8239 if test -z "$ac_cpp_err"; then
8240 ac_header_preproc=yes
8242 echo "$as_me: failed program was:" >&5
8243 sed 's/^/| /' conftest.$ac_ext >&5
8245 ac_header_preproc=no
8247 rm -f conftest.err conftest.$ac_ext
8248 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8249 echo "${ECHO_T}$ac_header_preproc" >&6
8251 # So? What about this header?
8252 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8254 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8255 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8257 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8258 ac_header_preproc=yes
8261 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8262 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8263 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8264 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8265 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8266 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8267 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8268 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8269 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8270 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8271 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8272 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8275 ## ------------------------------------ ##
8276 ## Report this to wine-devel@winehq.org ##
8277 ## ------------------------------------ ##
8280 sed "s/^/$as_me: WARNING: /" >&2
8283 echo "$as_me:$LINENO: checking for $ac_header" >&5
8284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8286 echo $ECHO_N "(cached) $ECHO_C" >&6
8288 eval "$as_ac_Header=\$ac_header_preproc"
8290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8291 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8294 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8295 cat >>confdefs.h <<_ACEOF
8296 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8303 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8306 for ac_header in GL/glext.h
8308 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8309 echo "$as_me:$LINENO: checking for $ac_header" >&5
8310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8312 echo $ECHO_N "(cached) $ECHO_C" >&6
8314 cat >conftest.$ac_ext <<_ACEOF
8317 cat confdefs.h >>conftest.$ac_ext
8318 cat >>conftest.$ac_ext <<_ACEOF
8319 /* end confdefs.h. */
8322 #include <$ac_header>
8324 rm -f conftest.$ac_objext
8325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8326 (eval $ac_compile) 2>conftest.er1
8328 grep -v '^ *+' conftest.er1 >conftest.err
8330 cat conftest.err >&5
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); } &&
8333 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338 (exit $ac_status); }; } &&
8339 { ac_try='test -s conftest.$ac_objext'
8340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8344 (exit $ac_status); }; }; then
8345 eval "$as_ac_Header=yes"
8347 echo "$as_me: failed program was:" >&5
8348 sed 's/^/| /' conftest.$ac_ext >&5
8350 eval "$as_ac_Header=no"
8352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8355 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8356 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8357 cat >>confdefs.h <<_ACEOF
8358 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8365 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8366 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8367 if test "${wine_cv_opengl_version_OK+set}" = set; then
8368 echo $ECHO_N "(cached) $ECHO_C" >&6
8370 cat >conftest.$ac_ext <<_ACEOF
8373 cat confdefs.h >>conftest.$ac_ext
8374 cat >>conftest.$ac_ext <<_ACEOF
8375 /* end confdefs.h. */
8380 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8385 rm -f conftest.$ac_objext
8386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8387 (eval $ac_compile) 2>conftest.er1
8389 grep -v '^ *+' conftest.er1 >conftest.err
8391 cat conftest.err >&5
8392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393 (exit $ac_status); } &&
8394 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8399 (exit $ac_status); }; } &&
8400 { ac_try='test -s conftest.$ac_objext'
8401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8405 (exit $ac_status); }; }; then
8406 wine_cv_opengl_version_OK="yes"
8408 echo "$as_me: failed program was:" >&5
8409 sed 's/^/| /' conftest.$ac_ext >&5
8411 wine_cv_opengl_version_OK="no"
8414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8417 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8418 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8420 if test "$wine_cv_opengl_version_OK" = "yes"
8422 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8423 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8424 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8425 echo $ECHO_N "(cached) $ECHO_C" >&6
8427 ac_check_lib_save_LIBS=$LIBS
8428 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8429 cat >conftest.$ac_ext <<_ACEOF
8432 cat confdefs.h >>conftest.$ac_ext
8433 cat >>conftest.$ac_ext <<_ACEOF
8434 /* end confdefs.h. */
8436 /* Override any gcc2 internal prototype to avoid an error. */
8440 /* We use char because int might match the return type of a gcc2
8441 builtin and then its argument prototype would still apply. */
8442 char glXCreateContext ();
8446 glXCreateContext ();
8451 rm -f conftest.$ac_objext conftest$ac_exeext
8452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8453 (eval $ac_link) 2>conftest.er1
8455 grep -v '^ *+' conftest.er1 >conftest.err
8457 cat conftest.err >&5
8458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8459 (exit $ac_status); } &&
8460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8465 (exit $ac_status); }; } &&
8466 { ac_try='test -s conftest$ac_exeext'
8467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471 (exit $ac_status); }; }; then
8472 ac_cv_lib_GL_glXCreateContext=yes
8474 echo "$as_me: failed program was:" >&5
8475 sed 's/^/| /' conftest.$ac_ext >&5
8477 ac_cv_lib_GL_glXCreateContext=no
8479 rm -f conftest.err conftest.$ac_objext \
8480 conftest$ac_exeext conftest.$ac_ext
8481 LIBS=$ac_check_lib_save_LIBS
8483 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8484 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8485 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8491 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8493 OPENGLFILES='$(OPENGLFILES)'
8495 cat >>confdefs.h <<\_ACEOF
8496 #define HAVE_OPENGL 1
8500 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8501 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8502 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8503 echo $ECHO_N "(cached) $ECHO_C" >&6
8505 ac_check_lib_save_LIBS=$LIBS
8506 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8508 cat >conftest.$ac_ext <<_ACEOF
8511 cat confdefs.h >>conftest.$ac_ext
8512 cat >>conftest.$ac_ext <<_ACEOF
8513 /* end confdefs.h. */
8515 /* Override any gcc2 internal prototype to avoid an error. */
8519 /* We use char because int might match the return type of a gcc2
8520 builtin and then its argument prototype would still apply. */
8530 rm -f conftest.$ac_objext conftest$ac_exeext
8531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8532 (eval $ac_link) 2>conftest.er1
8534 grep -v '^ *+' conftest.er1 >conftest.err
8536 cat conftest.err >&5
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); } &&
8539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); }; } &&
8545 { ac_try='test -s conftest$ac_exeext'
8546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 (exit $ac_status); }; }; then
8551 ac_cv_lib_GLU_gluLookAt=yes
8553 echo "$as_me: failed program was:" >&5
8554 sed 's/^/| /' conftest.$ac_ext >&5
8556 ac_cv_lib_GLU_gluLookAt=no
8558 rm -f conftest.err conftest.$ac_objext \
8559 conftest$ac_exeext conftest.$ac_ext
8560 LIBS=$ac_check_lib_save_LIBS
8562 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8563 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8564 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8565 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8566 GLU32FILES='$(GLU32FILES)'
8572 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8573 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8574 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8575 echo $ECHO_N "(cached) $ECHO_C" >&6
8577 ac_check_lib_save_LIBS=$LIBS
8578 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8579 cat >conftest.$ac_ext <<_ACEOF
8582 cat confdefs.h >>conftest.$ac_ext
8583 cat >>conftest.$ac_ext <<_ACEOF
8584 /* end confdefs.h. */
8586 /* Override any gcc2 internal prototype to avoid an error. */
8590 /* We use char because int might match the return type of a gcc2
8591 builtin and then its argument prototype would still apply. */
8592 char glutMainLoop ();
8601 rm -f conftest.$ac_objext conftest$ac_exeext
8602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8603 (eval $ac_link) 2>conftest.er1
8605 grep -v '^ *+' conftest.er1 >conftest.err
8607 cat conftest.err >&5
8608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8609 (exit $ac_status); } &&
8610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); }; } &&
8616 { ac_try='test -s conftest$ac_exeext'
8617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621 (exit $ac_status); }; }; then
8622 ac_cv_lib_glut_glutMainLoop=yes
8624 echo "$as_me: failed program was:" >&5
8625 sed 's/^/| /' conftest.$ac_ext >&5
8627 ac_cv_lib_glut_glutMainLoop=no
8629 rm -f conftest.err conftest.$ac_objext \
8630 conftest$ac_exeext conftest.$ac_ext
8631 LIBS=$ac_check_lib_save_LIBS
8633 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
8634 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
8635 if test $ac_cv_lib_glut_glutMainLoop = yes; then
8636 GLUT_LIBS="-lglut -lXmu -lXi"
8638 GLUT32FILES='$(GLUT32FILES)'
8648 for ac_header in audio/audiolib.h
8650 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8652 echo "$as_me:$LINENO: checking for $ac_header" >&5
8653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8655 echo $ECHO_N "(cached) $ECHO_C" >&6
8657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8658 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8660 # Is the header compilable?
8661 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8662 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8663 cat >conftest.$ac_ext <<_ACEOF
8666 cat confdefs.h >>conftest.$ac_ext
8667 cat >>conftest.$ac_ext <<_ACEOF
8668 /* end confdefs.h. */
8669 $ac_includes_default
8670 #include <$ac_header>
8672 rm -f conftest.$ac_objext
8673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8674 (eval $ac_compile) 2>conftest.er1
8676 grep -v '^ *+' conftest.er1 >conftest.err
8678 cat conftest.err >&5
8679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680 (exit $ac_status); } &&
8681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686 (exit $ac_status); }; } &&
8687 { ac_try='test -s conftest.$ac_objext'
8688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692 (exit $ac_status); }; }; then
8693 ac_header_compiler=yes
8695 echo "$as_me: failed program was:" >&5
8696 sed 's/^/| /' conftest.$ac_ext >&5
8698 ac_header_compiler=no
8700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8702 echo "${ECHO_T}$ac_header_compiler" >&6
8704 # Is the header present?
8705 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8706 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8707 cat >conftest.$ac_ext <<_ACEOF
8710 cat confdefs.h >>conftest.$ac_ext
8711 cat >>conftest.$ac_ext <<_ACEOF
8712 /* end confdefs.h. */
8713 #include <$ac_header>
8715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8716 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8718 grep -v '^ *+' conftest.er1 >conftest.err
8720 cat conftest.err >&5
8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722 (exit $ac_status); } >/dev/null; then
8723 if test -s conftest.err; then
8724 ac_cpp_err=$ac_c_preproc_warn_flag
8725 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8732 if test -z "$ac_cpp_err"; then
8733 ac_header_preproc=yes
8735 echo "$as_me: failed program was:" >&5
8736 sed 's/^/| /' conftest.$ac_ext >&5
8738 ac_header_preproc=no
8740 rm -f conftest.err conftest.$ac_ext
8741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8742 echo "${ECHO_T}$ac_header_preproc" >&6
8744 # So? What about this header?
8745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8747 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8748 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8750 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8751 ac_header_preproc=yes
8754 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8755 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8756 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8757 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8758 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8759 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8760 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8761 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8763 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8764 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8765 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8768 ## ------------------------------------ ##
8769 ## Report this to wine-devel@winehq.org ##
8770 ## ------------------------------------ ##
8773 sed "s/^/$as_me: WARNING: /" >&2
8776 echo "$as_me:$LINENO: checking for $ac_header" >&5
8777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8779 echo $ECHO_N "(cached) $ECHO_C" >&6
8781 eval "$as_ac_Header=\$ac_header_preproc"
8783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8787 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8788 cat >>confdefs.h <<_ACEOF
8789 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8792 for ac_header in audio/soundlib.h
8794 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8795 echo "$as_me:$LINENO: checking for $ac_header" >&5
8796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8798 echo $ECHO_N "(cached) $ECHO_C" >&6
8800 cat >conftest.$ac_ext <<_ACEOF
8803 cat confdefs.h >>conftest.$ac_ext
8804 cat >>conftest.$ac_ext <<_ACEOF
8805 /* end confdefs.h. */
8806 #include <audio/audiolib.h>
8808 #include <$ac_header>
8810 rm -f conftest.$ac_objext
8811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8812 (eval $ac_compile) 2>conftest.er1
8814 grep -v '^ *+' conftest.er1 >conftest.err
8816 cat conftest.err >&5
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818 (exit $ac_status); } &&
8819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 (exit $ac_status); }; } &&
8825 { ac_try='test -s conftest.$ac_objext'
8826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830 (exit $ac_status); }; }; then
8831 eval "$as_ac_Header=yes"
8833 echo "$as_me: failed program was:" >&5
8834 sed 's/^/| /' conftest.$ac_ext >&5
8836 eval "$as_ac_Header=no"
8838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8841 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8842 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8843 cat >>confdefs.h <<_ACEOF
8844 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8851 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8852 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8853 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8854 echo $ECHO_N "(cached) $ECHO_C" >&6
8856 ac_check_lib_save_LIBS=$LIBS
8857 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8858 cat >conftest.$ac_ext <<_ACEOF
8861 cat confdefs.h >>conftest.$ac_ext
8862 cat >>conftest.$ac_ext <<_ACEOF
8863 /* end confdefs.h. */
8865 /* Override any gcc2 internal prototype to avoid an error. */
8869 /* We use char because int might match the return type of a gcc2
8870 builtin and then its argument prototype would still apply. */
8871 char AuCreateFlow ();
8880 rm -f conftest.$ac_objext conftest$ac_exeext
8881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8882 (eval $ac_link) 2>conftest.er1
8884 grep -v '^ *+' conftest.er1 >conftest.err
8886 cat conftest.err >&5
8887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888 (exit $ac_status); } &&
8889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); }; } &&
8895 { ac_try='test -s conftest$ac_exeext'
8896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8900 (exit $ac_status); }; }; then
8901 ac_cv_lib_audio_AuCreateFlow=yes
8903 echo "$as_me: failed program was:" >&5
8904 sed 's/^/| /' conftest.$ac_ext >&5
8906 ac_cv_lib_audio_AuCreateFlow=no
8908 rm -f conftest.err conftest.$ac_objext \
8909 conftest$ac_exeext conftest.$ac_ext
8910 LIBS=$ac_check_lib_save_LIBS
8912 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8913 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8914 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8916 cat >>confdefs.h <<\_ACEOF
8920 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8928 CPPFLAGS="$ac_save_CPPFLAGS"
8937 if test "x$with_curses" != "xno"
8940 for ac_header in ncurses.h
8942 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8944 echo "$as_me:$LINENO: checking for $ac_header" >&5
8945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8947 echo $ECHO_N "(cached) $ECHO_C" >&6
8949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8952 # Is the header compilable?
8953 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8954 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8955 cat >conftest.$ac_ext <<_ACEOF
8958 cat confdefs.h >>conftest.$ac_ext
8959 cat >>conftest.$ac_ext <<_ACEOF
8960 /* end confdefs.h. */
8961 $ac_includes_default
8962 #include <$ac_header>
8964 rm -f conftest.$ac_objext
8965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8966 (eval $ac_compile) 2>conftest.er1
8968 grep -v '^ *+' conftest.er1 >conftest.err
8970 cat conftest.err >&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); } &&
8973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 (exit $ac_status); }; } &&
8979 { ac_try='test -s conftest.$ac_objext'
8980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); }; }; then
8985 ac_header_compiler=yes
8987 echo "$as_me: failed program was:" >&5
8988 sed 's/^/| /' conftest.$ac_ext >&5
8990 ac_header_compiler=no
8992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8993 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8994 echo "${ECHO_T}$ac_header_compiler" >&6
8996 # Is the header present?
8997 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8998 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8999 cat >conftest.$ac_ext <<_ACEOF
9002 cat confdefs.h >>conftest.$ac_ext
9003 cat >>conftest.$ac_ext <<_ACEOF
9004 /* end confdefs.h. */
9005 #include <$ac_header>
9007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9008 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9010 grep -v '^ *+' conftest.er1 >conftest.err
9012 cat conftest.err >&5
9013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9014 (exit $ac_status); } >/dev/null; then
9015 if test -s conftest.err; then
9016 ac_cpp_err=$ac_c_preproc_warn_flag
9017 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9024 if test -z "$ac_cpp_err"; then
9025 ac_header_preproc=yes
9027 echo "$as_me: failed program was:" >&5
9028 sed 's/^/| /' conftest.$ac_ext >&5
9030 ac_header_preproc=no
9032 rm -f conftest.err conftest.$ac_ext
9033 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9034 echo "${ECHO_T}$ac_header_preproc" >&6
9036 # So? What about this header?
9037 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9039 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9040 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9042 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9043 ac_header_preproc=yes
9046 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9047 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9048 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9049 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9050 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9051 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9052 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9053 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9054 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9055 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9056 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9057 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9060 ## ------------------------------------ ##
9061 ## Report this to wine-devel@winehq.org ##
9062 ## ------------------------------------ ##
9065 sed "s/^/$as_me: WARNING: /" >&2
9068 echo "$as_me:$LINENO: checking for $ac_header" >&5
9069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9071 echo $ECHO_N "(cached) $ECHO_C" >&6
9073 eval "$as_ac_Header=\$ac_header_preproc"
9075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9079 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9080 cat >>confdefs.h <<_ACEOF
9081 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9083 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9084 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9085 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9086 echo $ECHO_N "(cached) $ECHO_C" >&6
9088 ac_check_lib_save_LIBS=$LIBS
9089 LIBS="-lncurses $LIBS"
9090 cat >conftest.$ac_ext <<_ACEOF
9093 cat confdefs.h >>conftest.$ac_ext
9094 cat >>conftest.$ac_ext <<_ACEOF
9095 /* end confdefs.h. */
9097 /* Override any gcc2 internal prototype to avoid an error. */
9101 /* We use char because int might match the return type of a gcc2
9102 builtin and then its argument prototype would still apply. */
9112 rm -f conftest.$ac_objext conftest$ac_exeext
9113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9114 (eval $ac_link) 2>conftest.er1
9116 grep -v '^ *+' conftest.er1 >conftest.err
9118 cat conftest.err >&5
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); } &&
9121 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9126 (exit $ac_status); }; } &&
9127 { ac_try='test -s conftest$ac_exeext'
9128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132 (exit $ac_status); }; }; then
9133 ac_cv_lib_ncurses_waddch=yes
9135 echo "$as_me: failed program was:" >&5
9136 sed 's/^/| /' conftest.$ac_ext >&5
9138 ac_cv_lib_ncurses_waddch=no
9140 rm -f conftest.err conftest.$ac_objext \
9141 conftest$ac_exeext conftest.$ac_ext
9142 LIBS=$ac_check_lib_save_LIBS
9144 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9145 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9146 if test $ac_cv_lib_ncurses_waddch = yes; then
9148 cat >>confdefs.h <<\_ACEOF
9149 #define HAVE_LIBNCURSES 1
9152 CURSESLIBS="-lncurses"
9155 for ac_header in curses.h
9157 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9159 echo "$as_me:$LINENO: checking for $ac_header" >&5
9160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9162 echo $ECHO_N "(cached) $ECHO_C" >&6
9164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9167 # Is the header compilable?
9168 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9169 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9170 cat >conftest.$ac_ext <<_ACEOF
9173 cat confdefs.h >>conftest.$ac_ext
9174 cat >>conftest.$ac_ext <<_ACEOF
9175 /* end confdefs.h. */
9176 $ac_includes_default
9177 #include <$ac_header>
9179 rm -f conftest.$ac_objext
9180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9181 (eval $ac_compile) 2>conftest.er1
9183 grep -v '^ *+' conftest.er1 >conftest.err
9185 cat conftest.err >&5
9186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9187 (exit $ac_status); } &&
9188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9193 (exit $ac_status); }; } &&
9194 { ac_try='test -s conftest.$ac_objext'
9195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9199 (exit $ac_status); }; }; then
9200 ac_header_compiler=yes
9202 echo "$as_me: failed program was:" >&5
9203 sed 's/^/| /' conftest.$ac_ext >&5
9205 ac_header_compiler=no
9207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9208 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9209 echo "${ECHO_T}$ac_header_compiler" >&6
9211 # Is the header present?
9212 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9213 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9214 cat >conftest.$ac_ext <<_ACEOF
9217 cat confdefs.h >>conftest.$ac_ext
9218 cat >>conftest.$ac_ext <<_ACEOF
9219 /* end confdefs.h. */
9220 #include <$ac_header>
9222 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9223 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9225 grep -v '^ *+' conftest.er1 >conftest.err
9227 cat conftest.err >&5
9228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9229 (exit $ac_status); } >/dev/null; then
9230 if test -s conftest.err; then
9231 ac_cpp_err=$ac_c_preproc_warn_flag
9232 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9239 if test -z "$ac_cpp_err"; then
9240 ac_header_preproc=yes
9242 echo "$as_me: failed program was:" >&5
9243 sed 's/^/| /' conftest.$ac_ext >&5
9245 ac_header_preproc=no
9247 rm -f conftest.err conftest.$ac_ext
9248 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9249 echo "${ECHO_T}$ac_header_preproc" >&6
9251 # So? What about this header?
9252 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9254 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9255 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9257 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9258 ac_header_preproc=yes
9261 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9262 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9263 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9264 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9265 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9266 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9267 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9268 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9269 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9270 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9271 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9272 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9275 ## ------------------------------------ ##
9276 ## Report this to wine-devel@winehq.org ##
9277 ## ------------------------------------ ##
9280 sed "s/^/$as_me: WARNING: /" >&2
9283 echo "$as_me:$LINENO: checking for $ac_header" >&5
9284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9286 echo $ECHO_N "(cached) $ECHO_C" >&6
9288 eval "$as_ac_Header=\$ac_header_preproc"
9290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9291 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9294 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9295 cat >>confdefs.h <<_ACEOF
9296 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9298 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9299 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9300 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9301 echo $ECHO_N "(cached) $ECHO_C" >&6
9303 ac_check_lib_save_LIBS=$LIBS
9304 LIBS="-lcurses $LIBS"
9305 cat >conftest.$ac_ext <<_ACEOF
9308 cat confdefs.h >>conftest.$ac_ext
9309 cat >>conftest.$ac_ext <<_ACEOF
9310 /* end confdefs.h. */
9312 /* Override any gcc2 internal prototype to avoid an error. */
9316 /* We use char because int might match the return type of a gcc2
9317 builtin and then its argument prototype would still apply. */
9327 rm -f conftest.$ac_objext conftest$ac_exeext
9328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9329 (eval $ac_link) 2>conftest.er1
9331 grep -v '^ *+' conftest.er1 >conftest.err
9333 cat conftest.err >&5
9334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9335 (exit $ac_status); } &&
9336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341 (exit $ac_status); }; } &&
9342 { ac_try='test -s conftest$ac_exeext'
9343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9347 (exit $ac_status); }; }; then
9348 ac_cv_lib_curses_waddch=yes
9350 echo "$as_me: failed program was:" >&5
9351 sed 's/^/| /' conftest.$ac_ext >&5
9353 ac_cv_lib_curses_waddch=no
9355 rm -f conftest.err conftest.$ac_objext \
9356 conftest$ac_exeext conftest.$ac_ext
9357 LIBS=$ac_check_lib_save_LIBS
9359 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9360 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9361 if test $ac_cv_lib_curses_waddch = yes; then
9363 cat >>confdefs.h <<\_ACEOF
9364 #define HAVE_LIBCURSES 1
9367 CURSESLIBS="-lcurses"
9383 # Extract the first word of "sane-config", so it can be a program name with args.
9384 set dummy sane-config; ac_word=$2
9385 echo "$as_me:$LINENO: checking for $ac_word" >&5
9386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9387 if test "${ac_cv_prog_sane_devel+set}" = set; then
9388 echo $ECHO_N "(cached) $ECHO_C" >&6
9390 if test -n "$sane_devel"; then
9391 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9397 test -z "$as_dir" && as_dir=.
9398 for ac_exec_ext in '' $ac_executable_extensions; do
9399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9400 ac_cv_prog_sane_devel="sane-config"
9401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9407 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9410 sane_devel=$ac_cv_prog_sane_devel
9411 if test -n "$sane_devel"; then
9412 echo "$as_me:$LINENO: result: $sane_devel" >&5
9413 echo "${ECHO_T}$sane_devel" >&6
9415 echo "$as_me:$LINENO: result: no" >&5
9416 echo "${ECHO_T}no" >&6
9419 if test "$sane_devel" = "no"
9424 SANELIBS="`$sane_devel --libs`"
9425 SANEINCL="`$sane_devel --cflags`"
9426 ac_save_CPPFLAGS="$CPPFLAGS"
9427 ac_save_LIBS="$LIBS"
9428 CPPFLAGS="$CPPFLAGS $SANEINCL"
9429 LIBS="$LIBS $SANELIBS"
9430 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9431 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9432 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9433 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9434 echo $ECHO_N "(cached) $ECHO_C" >&6
9436 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9437 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9439 # Is the header compilable?
9440 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9441 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9442 cat >conftest.$ac_ext <<_ACEOF
9445 cat confdefs.h >>conftest.$ac_ext
9446 cat >>conftest.$ac_ext <<_ACEOF
9447 /* end confdefs.h. */
9448 $ac_includes_default
9449 #include <sane/sane.h>
9451 rm -f conftest.$ac_objext
9452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9453 (eval $ac_compile) 2>conftest.er1
9455 grep -v '^ *+' conftest.er1 >conftest.err
9457 cat conftest.err >&5
9458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9459 (exit $ac_status); } &&
9460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9465 (exit $ac_status); }; } &&
9466 { ac_try='test -s conftest.$ac_objext'
9467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 (exit $ac_status); }; }; then
9472 ac_header_compiler=yes
9474 echo "$as_me: failed program was:" >&5
9475 sed 's/^/| /' conftest.$ac_ext >&5
9477 ac_header_compiler=no
9479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9481 echo "${ECHO_T}$ac_header_compiler" >&6
9483 # Is the header present?
9484 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9485 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9486 cat >conftest.$ac_ext <<_ACEOF
9489 cat confdefs.h >>conftest.$ac_ext
9490 cat >>conftest.$ac_ext <<_ACEOF
9491 /* end confdefs.h. */
9492 #include <sane/sane.h>
9494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9497 grep -v '^ *+' conftest.er1 >conftest.err
9499 cat conftest.err >&5
9500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9501 (exit $ac_status); } >/dev/null; then
9502 if test -s conftest.err; then
9503 ac_cpp_err=$ac_c_preproc_warn_flag
9504 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9511 if test -z "$ac_cpp_err"; then
9512 ac_header_preproc=yes
9514 echo "$as_me: failed program was:" >&5
9515 sed 's/^/| /' conftest.$ac_ext >&5
9517 ac_header_preproc=no
9519 rm -f conftest.err conftest.$ac_ext
9520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9521 echo "${ECHO_T}$ac_header_preproc" >&6
9523 # So? What about this header?
9524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9526 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9527 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9528 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9529 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9530 ac_header_preproc=yes
9533 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9534 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9535 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9536 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9537 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9538 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9539 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9540 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9541 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9542 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9543 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9544 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9547 ## ------------------------------------ ##
9548 ## Report this to wine-devel@winehq.org ##
9549 ## ------------------------------------ ##
9552 sed "s/^/$as_me: WARNING: /" >&2
9555 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9556 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9557 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9558 echo $ECHO_N "(cached) $ECHO_C" >&6
9560 ac_cv_header_sane_sane_h=$ac_header_preproc
9562 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9563 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9566 if test $ac_cv_header_sane_sane_h = yes; then
9567 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9568 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9569 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9570 echo $ECHO_N "(cached) $ECHO_C" >&6
9572 ac_check_lib_save_LIBS=$LIBS
9574 cat >conftest.$ac_ext <<_ACEOF
9577 cat confdefs.h >>conftest.$ac_ext
9578 cat >>conftest.$ac_ext <<_ACEOF
9579 /* end confdefs.h. */
9581 /* Override any gcc2 internal prototype to avoid an error. */
9585 /* We use char because int might match the return type of a gcc2
9586 builtin and then its argument prototype would still apply. */
9596 rm -f conftest.$ac_objext conftest$ac_exeext
9597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9598 (eval $ac_link) 2>conftest.er1
9600 grep -v '^ *+' conftest.er1 >conftest.err
9602 cat conftest.err >&5
9603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9604 (exit $ac_status); } &&
9605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9610 (exit $ac_status); }; } &&
9611 { ac_try='test -s conftest$ac_exeext'
9612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9616 (exit $ac_status); }; }; then
9617 ac_cv_lib_sane_sane_open=yes
9619 echo "$as_me: failed program was:" >&5
9620 sed 's/^/| /' conftest.$ac_ext >&5
9622 ac_cv_lib_sane_sane_open=no
9624 rm -f conftest.err conftest.$ac_objext \
9625 conftest$ac_exeext conftest.$ac_ext
9626 LIBS=$ac_check_lib_save_LIBS
9628 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9629 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9630 if test $ac_cv_lib_sane_sane_open = yes; then
9632 cat >>confdefs.h <<\_ACEOF
9647 LIBS="$ac_save_LIBS"
9648 CPPFLAGS="$ac_save_CPPFLAGS"
9654 for ac_header in unicode/ubidi.h
9656 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9658 echo "$as_me:$LINENO: checking for $ac_header" >&5
9659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9661 echo $ECHO_N "(cached) $ECHO_C" >&6
9663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9666 # Is the header compilable?
9667 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9668 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9669 cat >conftest.$ac_ext <<_ACEOF
9672 cat confdefs.h >>conftest.$ac_ext
9673 cat >>conftest.$ac_ext <<_ACEOF
9674 /* end confdefs.h. */
9675 $ac_includes_default
9676 #include <$ac_header>
9678 rm -f conftest.$ac_objext
9679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9680 (eval $ac_compile) 2>conftest.er1
9682 grep -v '^ *+' conftest.er1 >conftest.err
9684 cat conftest.err >&5
9685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686 (exit $ac_status); } &&
9687 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9692 (exit $ac_status); }; } &&
9693 { ac_try='test -s conftest.$ac_objext'
9694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9698 (exit $ac_status); }; }; then
9699 ac_header_compiler=yes
9701 echo "$as_me: failed program was:" >&5
9702 sed 's/^/| /' conftest.$ac_ext >&5
9704 ac_header_compiler=no
9706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9707 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9708 echo "${ECHO_T}$ac_header_compiler" >&6
9710 # Is the header present?
9711 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9712 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9713 cat >conftest.$ac_ext <<_ACEOF
9716 cat confdefs.h >>conftest.$ac_ext
9717 cat >>conftest.$ac_ext <<_ACEOF
9718 /* end confdefs.h. */
9719 #include <$ac_header>
9721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9722 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9724 grep -v '^ *+' conftest.er1 >conftest.err
9726 cat conftest.err >&5
9727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9728 (exit $ac_status); } >/dev/null; then
9729 if test -s conftest.err; then
9730 ac_cpp_err=$ac_c_preproc_warn_flag
9731 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9738 if test -z "$ac_cpp_err"; then
9739 ac_header_preproc=yes
9741 echo "$as_me: failed program was:" >&5
9742 sed 's/^/| /' conftest.$ac_ext >&5
9744 ac_header_preproc=no
9746 rm -f conftest.err conftest.$ac_ext
9747 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9748 echo "${ECHO_T}$ac_header_preproc" >&6
9750 # So? What about this header?
9751 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9753 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9754 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9755 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9756 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9757 ac_header_preproc=yes
9760 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9761 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9762 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9763 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9764 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9765 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9766 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9767 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9768 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9769 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9770 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9771 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9774 ## ------------------------------------ ##
9775 ## Report this to wine-devel@winehq.org ##
9776 ## ------------------------------------ ##
9779 sed "s/^/$as_me: WARNING: /" >&2
9782 echo "$as_me:$LINENO: checking for $ac_header" >&5
9783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9785 echo $ECHO_N "(cached) $ECHO_C" >&6
9787 eval "$as_ac_Header=\$ac_header_preproc"
9789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9790 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9793 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9794 cat >>confdefs.h <<_ACEOF
9795 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9802 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
9805 ICU_LIB_DIR="${ICU_LIB_DIR-/usr/lib}"
9806 ICUUC_LIB="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
9807 ICUDATA_LIB="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
9808 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
9809 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
9810 LIBS="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9811 cat >conftest.$ac_ext <<_ACEOF
9814 cat confdefs.h >>conftest.$ac_ext
9815 cat >>conftest.$ac_ext <<_ACEOF
9816 /* end confdefs.h. */
9817 #include <unicode/ubidi.h>
9826 rm -f conftest.$ac_objext conftest$ac_exeext
9827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9828 (eval $ac_link) 2>conftest.er1
9830 grep -v '^ *+' conftest.er1 >conftest.err
9832 cat conftest.err >&5
9833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834 (exit $ac_status); } &&
9835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); }; } &&
9841 { ac_try='test -s conftest$ac_exeext'
9842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9846 (exit $ac_status); }; }; then
9848 cat >>confdefs.h <<\_ACEOF
9852 ICULIBS="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9854 echo "$as_me:$LINENO: result: yes" >&5
9855 echo "${ECHO_T}yes" >&6
9857 echo "$as_me: failed program was:" >&5
9858 sed 's/^/| /' conftest.$ac_ext >&5
9860 echo "$as_me:$LINENO: result: no" >&5
9861 echo "${ECHO_T}no" >&6
9863 rm -f conftest.err conftest.$ac_objext \
9864 conftest$ac_exeext conftest.$ac_ext
9868 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
9869 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
9870 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
9871 echo $ECHO_N "(cached) $ECHO_C" >&6
9873 ac_check_lib_save_LIBS=$LIBS
9874 LIBS="-lfreetype $X_LIBS $LIBS"
9875 cat >conftest.$ac_ext <<_ACEOF
9878 cat confdefs.h >>conftest.$ac_ext
9879 cat >>conftest.$ac_ext <<_ACEOF
9880 /* end confdefs.h. */
9882 /* Override any gcc2 internal prototype to avoid an error. */
9886 /* We use char because int might match the return type of a gcc2
9887 builtin and then its argument prototype would still apply. */
9888 char FT_Init_FreeType ();
9892 FT_Init_FreeType ();
9897 rm -f conftest.$ac_objext conftest$ac_exeext
9898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9899 (eval $ac_link) 2>conftest.er1
9901 grep -v '^ *+' conftest.er1 >conftest.err
9903 cat conftest.err >&5
9904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905 (exit $ac_status); } &&
9906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9911 (exit $ac_status); }; } &&
9912 { ac_try='test -s conftest$ac_exeext'
9913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9917 (exit $ac_status); }; }; then
9918 ac_cv_lib_freetype_FT_Init_FreeType=yes
9920 echo "$as_me: failed program was:" >&5
9921 sed 's/^/| /' conftest.$ac_ext >&5
9923 ac_cv_lib_freetype_FT_Init_FreeType=no
9925 rm -f conftest.err conftest.$ac_objext \
9926 conftest$ac_exeext conftest.$ac_ext
9927 LIBS=$ac_check_lib_save_LIBS
9929 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
9930 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
9931 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
9937 if test "$ft_lib" = "no"
9941 wine_cv_msg_freetype=no
9943 # Extract the first word of "freetype-config", so it can be a program name with args.
9944 set dummy freetype-config; ac_word=$2
9945 echo "$as_me:$LINENO: checking for $ac_word" >&5
9946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9947 if test "${ac_cv_prog_ft_devel+set}" = set; then
9948 echo $ECHO_N "(cached) $ECHO_C" >&6
9950 if test -n "$ft_devel"; then
9951 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
9953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9957 test -z "$as_dir" && as_dir=.
9958 for ac_exec_ext in '' $ac_executable_extensions; do
9959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9960 ac_cv_prog_ft_devel="freetype-config"
9961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9967 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
9970 ft_devel=$ac_cv_prog_ft_devel
9971 if test -n "$ft_devel"; then
9972 echo "$as_me:$LINENO: result: $ft_devel" >&5
9973 echo "${ECHO_T}$ft_devel" >&6
9975 echo "$as_me:$LINENO: result: no" >&5
9976 echo "${ECHO_T}no" >&6
9979 if test "$ft_devel" = "no"
9981 # Extract the first word of "freetype2-config", so it can be a program name with args.
9982 set dummy freetype2-config; ac_word=$2
9983 echo "$as_me:$LINENO: checking for $ac_word" >&5
9984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9985 if test "${ac_cv_prog_ft_devel2+set}" = set; then
9986 echo $ECHO_N "(cached) $ECHO_C" >&6
9988 if test -n "$ft_devel2"; then
9989 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
9991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9995 test -z "$as_dir" && as_dir=.
9996 for ac_exec_ext in '' $ac_executable_extensions; do
9997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9998 ac_cv_prog_ft_devel2="freetype2-config"
9999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10005 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10008 ft_devel2=$ac_cv_prog_ft_devel2
10009 if test -n "$ft_devel2"; then
10010 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10011 echo "${ECHO_T}$ft_devel2" >&6
10013 echo "$as_me:$LINENO: result: no" >&5
10014 echo "${ECHO_T}no" >&6
10017 if test "$ft_devel2" = "freetype2-config"
10019 ft_devel=$ft_devel2
10022 if test "$ft_devel" = "no"
10026 wine_cv_msg_freetype=yes
10028 FREETYPELIBS=`$ft_devel --libs`
10029 FREETYPEINCL=`$ft_devel --cflags`
10030 ac_save_CPPFLAGS="$CPPFLAGS"
10031 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
10042 for ac_header in ft2build.h \
10043 freetype/freetype.h \
10044 freetype/ftglyph.h \
10045 freetype/tttables.h \
10046 freetype/ftnames.h \
10047 freetype/ftsnames.h \
10048 freetype/ttnameid.h \
10049 freetype/ftoutln.h \
10050 freetype/ftwinfnt.h \
10051 freetype/internal/sfnt.h
10053 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10054 echo "$as_me:$LINENO: checking for $ac_header" >&5
10055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10057 echo $ECHO_N "(cached) $ECHO_C" >&6
10059 cat >conftest.$ac_ext <<_ACEOF
10062 cat confdefs.h >>conftest.$ac_ext
10063 cat >>conftest.$ac_ext <<_ACEOF
10064 /* end confdefs.h. */
10065 #if HAVE_FT2BUILD_H
10066 #include <ft2build.h>
10069 #include <$ac_header>
10071 rm -f conftest.$ac_objext
10072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10073 (eval $ac_compile) 2>conftest.er1
10075 grep -v '^ *+' conftest.er1 >conftest.err
10077 cat conftest.err >&5
10078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10079 (exit $ac_status); } &&
10080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10082 (eval $ac_try) 2>&5
10084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10085 (exit $ac_status); }; } &&
10086 { ac_try='test -s conftest.$ac_objext'
10087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10088 (eval $ac_try) 2>&5
10090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10091 (exit $ac_status); }; }; then
10092 eval "$as_ac_Header=yes"
10094 echo "$as_me: failed program was:" >&5
10095 sed 's/^/| /' conftest.$ac_ext >&5
10097 eval "$as_ac_Header=no"
10099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10102 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10104 cat >>confdefs.h <<_ACEOF
10105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10112 cat >conftest.$ac_ext <<_ACEOF
10115 cat confdefs.h >>conftest.$ac_ext
10116 cat >>conftest.$ac_ext <<_ACEOF
10117 /* end confdefs.h. */
10118 #include <ft2build.h>
10119 #include <freetype/fttrigon.h>
10121 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10122 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10124 grep -v '^ *+' conftest.er1 >conftest.err
10126 cat conftest.err >&5
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 (exit $ac_status); } >/dev/null; then
10129 if test -s conftest.err; then
10130 ac_cpp_err=$ac_c_preproc_warn_flag
10131 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10138 if test -z "$ac_cpp_err"; then
10140 cat >>confdefs.h <<\_ACEOF
10141 #define HAVE_FREETYPE_FTTRIGON_H 1
10144 wine_cv_fttrigon=yes
10146 echo "$as_me: failed program was:" >&5
10147 sed 's/^/| /' conftest.$ac_ext >&5
10149 wine_cv_fttrigon=no
10151 rm -f conftest.err conftest.$ac_ext
10152 CPPFLAGS="$ac_save_CPPFLAGS"
10153 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10156 cat >>confdefs.h <<\_ACEOF
10157 #define HAVE_FREETYPE 1
10160 wine_cv_msg_freetype=no
10164 wine_cv_msg_freetype=yes
10171 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
10173 FONTSSUBDIRS="fonts"
10177 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10178 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10179 if test "${ac_cv_c_ppdev+set}" = set; then
10180 echo $ECHO_N "(cached) $ECHO_C" >&6
10182 cat >conftest.$ac_ext <<_ACEOF
10185 cat confdefs.h >>conftest.$ac_ext
10186 cat >>conftest.$ac_ext <<_ACEOF
10187 /* end confdefs.h. */
10188 #include <linux/ppdev.h>
10192 ioctl (1,PPCLAIM,0)
10197 rm -f conftest.$ac_objext
10198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10199 (eval $ac_compile) 2>conftest.er1
10201 grep -v '^ *+' conftest.er1 >conftest.err
10203 cat conftest.err >&5
10204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10205 (exit $ac_status); } &&
10206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10208 (eval $ac_try) 2>&5
10210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10211 (exit $ac_status); }; } &&
10212 { ac_try='test -s conftest.$ac_objext'
10213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10214 (eval $ac_try) 2>&5
10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); }; }; then
10218 ac_cv_c_ppdev="yes"
10220 echo "$as_me: failed program was:" >&5
10221 sed 's/^/| /' conftest.$ac_ext >&5
10225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10228 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10229 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10230 if test "$ac_cv_c_ppdev" = "yes"
10233 cat >>confdefs.h <<\_ACEOF
10234 #define HAVE_PPDEV 1
10239 echo "$as_me:$LINENO: checking for va_copy" >&5
10240 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10241 if test "${ac_cv_c_va_copy+set}" = set; then
10242 echo $ECHO_N "(cached) $ECHO_C" >&6
10244 cat >conftest.$ac_ext <<_ACEOF
10247 cat confdefs.h >>conftest.$ac_ext
10248 cat >>conftest.$ac_ext <<_ACEOF
10249 /* end confdefs.h. */
10250 #include <stdarg.h>
10261 rm -f conftest.$ac_objext conftest$ac_exeext
10262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10263 (eval $ac_link) 2>conftest.er1
10265 grep -v '^ *+' conftest.er1 >conftest.err
10267 cat conftest.err >&5
10268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10269 (exit $ac_status); } &&
10270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10272 (eval $ac_try) 2>&5
10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275 (exit $ac_status); }; } &&
10276 { ac_try='test -s conftest$ac_exeext'
10277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10278 (eval $ac_try) 2>&5
10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10281 (exit $ac_status); }; }; then
10282 ac_cv_c_va_copy="yes"
10284 echo "$as_me: failed program was:" >&5
10285 sed 's/^/| /' conftest.$ac_ext >&5
10287 ac_cv_c_va_copy="no"
10289 rm -f conftest.err conftest.$ac_objext \
10290 conftest$ac_exeext conftest.$ac_ext
10293 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10294 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10295 if test "$ac_cv_c_va_copy" = "yes"
10298 cat >>confdefs.h <<\_ACEOF
10299 #define HAVE_VA_COPY 1
10303 echo "$as_me:$LINENO: checking for __va_copy" >&5
10304 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10305 if test "${ac_cv_c___va_copy+set}" = set; then
10306 echo $ECHO_N "(cached) $ECHO_C" >&6
10308 cat >conftest.$ac_ext <<_ACEOF
10311 cat confdefs.h >>conftest.$ac_ext
10312 cat >>conftest.$ac_ext <<_ACEOF
10313 /* end confdefs.h. */
10314 #include <stdarg.h>
10319 __va_copy(ap1,ap2);
10325 rm -f conftest.$ac_objext conftest$ac_exeext
10326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10327 (eval $ac_link) 2>conftest.er1
10329 grep -v '^ *+' conftest.er1 >conftest.err
10331 cat conftest.err >&5
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); } &&
10334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10336 (eval $ac_try) 2>&5
10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10339 (exit $ac_status); }; } &&
10340 { ac_try='test -s conftest$ac_exeext'
10341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10342 (eval $ac_try) 2>&5
10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345 (exit $ac_status); }; }; then
10346 ac_cv_c___va_copy="yes"
10348 echo "$as_me: failed program was:" >&5
10349 sed 's/^/| /' conftest.$ac_ext >&5
10351 ac_cv_c___va_copy="no"
10353 rm -f conftest.err conftest.$ac_objext \
10354 conftest$ac_exeext conftest.$ac_ext
10357 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10358 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10359 if test "$ac_cv_c___va_copy" = "yes"
10362 cat >>confdefs.h <<\_ACEOF
10363 #define HAVE___VA_COPY 1
10368 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10369 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10370 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10371 echo $ECHO_N "(cached) $ECHO_C" >&6
10373 cat >conftest.$ac_ext <<_ACEOF
10376 cat confdefs.h >>conftest.$ac_ext
10377 cat >>conftest.$ac_ext <<_ACEOF
10378 /* end confdefs.h. */
10379 #include <setjmp.h>
10384 sigsetjmp( buf, 1 );
10385 siglongjmp( buf, 1 );
10390 rm -f conftest.$ac_objext conftest$ac_exeext
10391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10392 (eval $ac_link) 2>conftest.er1
10394 grep -v '^ *+' conftest.er1 >conftest.err
10396 cat conftest.err >&5
10397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10398 (exit $ac_status); } &&
10399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10401 (eval $ac_try) 2>&5
10403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10404 (exit $ac_status); }; } &&
10405 { ac_try='test -s conftest$ac_exeext'
10406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10407 (eval $ac_try) 2>&5
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); }; }; then
10411 ac_cv_c_sigsetjmp="yes"
10413 echo "$as_me: failed program was:" >&5
10414 sed 's/^/| /' conftest.$ac_ext >&5
10416 ac_cv_c_sigsetjmp="no"
10418 rm -f conftest.err conftest.$ac_objext \
10419 conftest$ac_exeext conftest.$ac_ext
10422 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10423 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10424 if test "$ac_cv_c_sigsetjmp" = "yes"
10427 cat >>confdefs.h <<\_ACEOF
10428 #define HAVE_SIGSETJMP 1
10433 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10434 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10435 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10436 echo $ECHO_N "(cached) $ECHO_C" >&6
10438 cat >conftest.$ac_ext <<_ACEOF
10441 cat confdefs.h >>conftest.$ac_ext
10442 cat >>conftest.$ac_ext <<_ACEOF
10443 /* end confdefs.h. */
10444 #define _GNU_SOURCE
10445 #include <pthread.h>
10450 if ((pthread_rwlock_t *) 0)
10452 if (sizeof (pthread_rwlock_t))
10458 rm -f conftest.$ac_objext
10459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10460 (eval $ac_compile) 2>conftest.er1
10462 grep -v '^ *+' conftest.er1 >conftest.err
10464 cat conftest.err >&5
10465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10466 (exit $ac_status); } &&
10467 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10469 (eval $ac_try) 2>&5
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); }; } &&
10473 { ac_try='test -s conftest.$ac_objext'
10474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10475 (eval $ac_try) 2>&5
10477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10478 (exit $ac_status); }; }; then
10479 ac_cv_type_pthread_rwlock_t=yes
10481 echo "$as_me: failed program was:" >&5
10482 sed 's/^/| /' conftest.$ac_ext >&5
10484 ac_cv_type_pthread_rwlock_t=no
10486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10488 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10489 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10490 if test $ac_cv_type_pthread_rwlock_t = yes; then
10492 cat >>confdefs.h <<_ACEOF
10493 #define HAVE_PTHREAD_RWLOCK_T 1
10498 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
10499 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
10500 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
10501 echo $ECHO_N "(cached) $ECHO_C" >&6
10503 cat >conftest.$ac_ext <<_ACEOF
10506 cat confdefs.h >>conftest.$ac_ext
10507 cat >>conftest.$ac_ext <<_ACEOF
10508 /* end confdefs.h. */
10509 #define _GNU_SOURCE
10510 #include <pthread.h>
10515 if ((pthread_rwlockattr_t *) 0)
10517 if (sizeof (pthread_rwlockattr_t))
10523 rm -f conftest.$ac_objext
10524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10525 (eval $ac_compile) 2>conftest.er1
10527 grep -v '^ *+' conftest.er1 >conftest.err
10529 cat conftest.err >&5
10530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10531 (exit $ac_status); } &&
10532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10534 (eval $ac_try) 2>&5
10536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10537 (exit $ac_status); }; } &&
10538 { ac_try='test -s conftest.$ac_objext'
10539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10540 (eval $ac_try) 2>&5
10542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10543 (exit $ac_status); }; }; then
10544 ac_cv_type_pthread_rwlockattr_t=yes
10546 echo "$as_me: failed program was:" >&5
10547 sed 's/^/| /' conftest.$ac_ext >&5
10549 ac_cv_type_pthread_rwlockattr_t=no
10551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10553 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
10554 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
10555 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
10557 cat >>confdefs.h <<_ACEOF
10558 #define HAVE_PTHREAD_RWLOCKATTR_T 1
10565 ac_save_LIBS="$LIBS"
10566 LIBS="$LIBS $LIBPTHREAD"
10571 pthread_getattr_np \
10572 pthread_get_stackaddr_np \
10573 pthread_get_stacksize_np \
10576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10577 echo "$as_me:$LINENO: checking for $ac_func" >&5
10578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10579 if eval "test \"\${$as_ac_var+set}\" = set"; then
10580 echo $ECHO_N "(cached) $ECHO_C" >&6
10582 cat >conftest.$ac_ext <<_ACEOF
10585 cat confdefs.h >>conftest.$ac_ext
10586 cat >>conftest.$ac_ext <<_ACEOF
10587 /* end confdefs.h. */
10588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10590 #define $ac_func innocuous_$ac_func
10592 /* System header to define __stub macros and hopefully few prototypes,
10593 which can conflict with char $ac_func (); below.
10594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10595 <limits.h> exists even on freestanding compilers. */
10598 # include <limits.h>
10600 # include <assert.h>
10605 /* Override any gcc2 internal prototype to avoid an error. */
10610 /* We use char because int might match the return type of a gcc2
10611 builtin and then its argument prototype would still apply. */
10613 /* The GNU C library defines this for functions which it implements
10614 to always fail with ENOSYS. Some functions are actually named
10615 something starting with __ and the normal name is an alias. */
10616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10619 char (*f) () = $ac_func;
10628 return f != $ac_func;
10633 rm -f conftest.$ac_objext conftest$ac_exeext
10634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10635 (eval $ac_link) 2>conftest.er1
10637 grep -v '^ *+' conftest.er1 >conftest.err
10639 cat conftest.err >&5
10640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10641 (exit $ac_status); } &&
10642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10644 (eval $ac_try) 2>&5
10646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10647 (exit $ac_status); }; } &&
10648 { ac_try='test -s conftest$ac_exeext'
10649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10650 (eval $ac_try) 2>&5
10652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10653 (exit $ac_status); }; }; then
10654 eval "$as_ac_var=yes"
10656 echo "$as_me: failed program was:" >&5
10657 sed 's/^/| /' conftest.$ac_ext >&5
10659 eval "$as_ac_var=no"
10661 rm -f conftest.err conftest.$ac_objext \
10662 conftest$ac_exeext conftest.$ac_ext
10664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10666 if test `eval echo '${'$as_ac_var'}'` = yes; then
10667 cat >>confdefs.h <<_ACEOF
10668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10674 LIBS="$ac_save_LIBS"
10679 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
10681 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10683 echo "$as_me:$LINENO: checking for $ac_header" >&5
10684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10686 echo $ECHO_N "(cached) $ECHO_C" >&6
10688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10689 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10691 # Is the header compilable?
10692 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10693 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10694 cat >conftest.$ac_ext <<_ACEOF
10697 cat confdefs.h >>conftest.$ac_ext
10698 cat >>conftest.$ac_ext <<_ACEOF
10699 /* end confdefs.h. */
10700 $ac_includes_default
10701 #include <$ac_header>
10703 rm -f conftest.$ac_objext
10704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10705 (eval $ac_compile) 2>conftest.er1
10707 grep -v '^ *+' conftest.er1 >conftest.err
10709 cat conftest.err >&5
10710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10711 (exit $ac_status); } &&
10712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10714 (eval $ac_try) 2>&5
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); }; } &&
10718 { ac_try='test -s conftest.$ac_objext'
10719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10720 (eval $ac_try) 2>&5
10722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10723 (exit $ac_status); }; }; then
10724 ac_header_compiler=yes
10726 echo "$as_me: failed program was:" >&5
10727 sed 's/^/| /' conftest.$ac_ext >&5
10729 ac_header_compiler=no
10731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10732 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10733 echo "${ECHO_T}$ac_header_compiler" >&6
10735 # Is the header present?
10736 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10737 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10738 cat >conftest.$ac_ext <<_ACEOF
10741 cat confdefs.h >>conftest.$ac_ext
10742 cat >>conftest.$ac_ext <<_ACEOF
10743 /* end confdefs.h. */
10744 #include <$ac_header>
10746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10747 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10749 grep -v '^ *+' conftest.er1 >conftest.err
10751 cat conftest.err >&5
10752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10753 (exit $ac_status); } >/dev/null; then
10754 if test -s conftest.err; then
10755 ac_cpp_err=$ac_c_preproc_warn_flag
10756 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10763 if test -z "$ac_cpp_err"; then
10764 ac_header_preproc=yes
10766 echo "$as_me: failed program was:" >&5
10767 sed 's/^/| /' conftest.$ac_ext >&5
10769 ac_header_preproc=no
10771 rm -f conftest.err conftest.$ac_ext
10772 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10773 echo "${ECHO_T}$ac_header_preproc" >&6
10775 # So? What about this header?
10776 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10778 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10779 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10781 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10782 ac_header_preproc=yes
10785 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10786 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10787 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10788 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10789 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10790 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10791 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10792 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10794 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10795 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10796 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10799 ## ------------------------------------ ##
10800 ## Report this to wine-devel@winehq.org ##
10801 ## ------------------------------------ ##
10804 sed "s/^/$as_me: WARNING: /" >&2
10807 echo "$as_me:$LINENO: checking for $ac_header" >&5
10808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10810 echo $ECHO_N "(cached) $ECHO_C" >&6
10812 eval "$as_ac_Header=\$ac_header_preproc"
10814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10818 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10819 cat >>confdefs.h <<_ACEOF
10820 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10828 echo "$as_me:$LINENO: checking for Open Sound System" >&5
10829 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
10830 if test "${ac_cv_c_opensoundsystem+set}" = set; then
10831 echo $ECHO_N "(cached) $ECHO_C" >&6
10833 cat >conftest.$ac_ext <<_ACEOF
10836 cat confdefs.h >>conftest.$ac_ext
10837 cat >>conftest.$ac_ext <<_ACEOF
10838 /* end confdefs.h. */
10840 #if defined(HAVE_SYS_SOUNDCARD_H)
10841 #include <sys/soundcard.h>
10842 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10843 #include <machine/soundcard.h>
10844 #elif defined(HAVE_SOUNDCARD_H)
10845 #include <soundcard.h>
10853 /* check for one of the Open Sound System specific SNDCTL_ defines */
10854 #if !defined(SNDCTL_DSP_STEREO)
10855 #error No open sound system
10862 rm -f conftest.$ac_objext
10863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10864 (eval $ac_compile) 2>conftest.er1
10866 grep -v '^ *+' conftest.er1 >conftest.err
10868 cat conftest.err >&5
10869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10870 (exit $ac_status); } &&
10871 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10873 (eval $ac_try) 2>&5
10875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10876 (exit $ac_status); }; } &&
10877 { ac_try='test -s conftest.$ac_objext'
10878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10879 (eval $ac_try) 2>&5
10881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10882 (exit $ac_status); }; }; then
10883 ac_cv_c_opensoundsystem="yes"
10885 echo "$as_me: failed program was:" >&5
10886 sed 's/^/| /' conftest.$ac_ext >&5
10888 ac_cv_c_opensoundsystem="no"
10890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10892 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
10893 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
10895 if test "$ac_cv_c_opensoundsystem" = "yes"
10898 cat >>confdefs.h <<\_ACEOF
10904 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
10905 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
10906 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
10907 echo $ECHO_N "(cached) $ECHO_C" >&6
10909 cat >conftest.$ac_ext <<_ACEOF
10912 cat confdefs.h >>conftest.$ac_ext
10913 cat >>conftest.$ac_ext <<_ACEOF
10914 /* end confdefs.h. */
10916 #if defined(HAVE_SYS_SOUNDCARD_H)
10917 #include <sys/soundcard.h>
10918 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10919 #include <machine/soundcard.h>
10920 #elif defined(HAVE_SOUNDCARD_H)
10921 #include <soundcard.h>
10929 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
10930 #if !defined(SNDCTL_SEQ_SYNC)
10931 #error No open sound system MIDI interface
10938 rm -f conftest.$ac_objext
10939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10940 (eval $ac_compile) 2>conftest.er1
10942 grep -v '^ *+' conftest.er1 >conftest.err
10944 cat conftest.err >&5
10945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946 (exit $ac_status); } &&
10947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10949 (eval $ac_try) 2>&5
10951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10952 (exit $ac_status); }; } &&
10953 { ac_try='test -s conftest.$ac_objext'
10954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10955 (eval $ac_try) 2>&5
10957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10958 (exit $ac_status); }; }; then
10959 ac_cv_c_opensoundsystem_midi="yes"
10961 echo "$as_me: failed program was:" >&5
10962 sed 's/^/| /' conftest.$ac_ext >&5
10964 ac_cv_c_opensoundsystem_midi="no"
10966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10968 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
10969 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
10971 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
10974 cat >>confdefs.h <<\_ACEOF
10975 #define HAVE_OSS_MIDI 1
10980 # Extract the first word of "artsc-config", so it can be a program name with args.
10981 set dummy artsc-config; ac_word=$2
10982 echo "$as_me:$LINENO: checking for $ac_word" >&5
10983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10984 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
10985 echo $ECHO_N "(cached) $ECHO_C" >&6
10987 case $ARTSCCONFIG in
10989 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
10992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10993 for as_dir in $PATH
10996 test -z "$as_dir" && as_dir=.
10997 for ac_exec_ext in '' $ac_executable_extensions; do
10998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10999 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
11000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11009 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
11011 if test -n "$ARTSCCONFIG"; then
11012 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11013 echo "${ECHO_T}$ARTSCCONFIG" >&6
11015 echo "$as_me:$LINENO: result: no" >&5
11016 echo "${ECHO_T}no" >&6
11019 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
11022 for i in `$ARTSCCONFIG --cflags`
11025 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
11028 ARTSC_LIBS=`$ARTSCCONFIG --libs`
11029 save_CFLAGS="$CFLAGS"
11030 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
11031 echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
11032 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6
11033 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
11034 echo $ECHO_N "(cached) $ECHO_C" >&6
11036 ac_check_lib_save_LIBS=$LIBS
11037 LIBS="-lartsc $LIBS"
11038 cat >conftest.$ac_ext <<_ACEOF
11041 cat confdefs.h >>conftest.$ac_ext
11042 cat >>conftest.$ac_ext <<_ACEOF
11043 /* end confdefs.h. */
11045 /* Override any gcc2 internal prototype to avoid an error. */
11049 /* We use char because int might match the return type of a gcc2
11050 builtin and then its argument prototype would still apply. */
11060 rm -f conftest.$ac_objext conftest$ac_exeext
11061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11062 (eval $ac_link) 2>conftest.er1
11064 grep -v '^ *+' conftest.er1 >conftest.err
11066 cat conftest.err >&5
11067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); } &&
11069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11071 (eval $ac_try) 2>&5
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); }; } &&
11075 { ac_try='test -s conftest$ac_exeext'
11076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11077 (eval $ac_try) 2>&5
11079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); }; }; then
11081 ac_cv_lib_artsc_arts_init=yes
11083 echo "$as_me: failed program was:" >&5
11084 sed 's/^/| /' conftest.$ac_ext >&5
11086 ac_cv_lib_artsc_arts_init=no
11088 rm -f conftest.err conftest.$ac_objext \
11089 conftest$ac_exeext conftest.$ac_ext
11090 LIBS=$ac_check_lib_save_LIBS
11092 echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
11093 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6
11094 if test $ac_cv_lib_artsc_arts_init = yes; then
11095 cat >conftest.$ac_ext <<_ACEOF
11098 cat confdefs.h >>conftest.$ac_ext
11099 cat >>conftest.$ac_ext <<_ACEOF
11100 /* end confdefs.h. */
11105 arts_stream_t stream;
11110 rm -f conftest.$ac_objext
11111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11112 (eval $ac_compile) 2>conftest.er1
11114 grep -v '^ *+' conftest.er1 >conftest.err
11116 cat conftest.err >&5
11117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11118 (exit $ac_status); } &&
11119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11121 (eval $ac_try) 2>&5
11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 (exit $ac_status); }; } &&
11125 { ac_try='test -s conftest.$ac_objext'
11126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11127 (eval $ac_try) 2>&5
11129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11130 (exit $ac_status); }; }; then
11131 ARTSLIBS=$ARTSC_LIBS
11133 ARTSINCL=$ARTSC_CFLAGS
11136 cat >>confdefs.h <<\_ACEOF
11137 #define HAVE_ARTS 1
11141 echo "$as_me: failed program was:" >&5
11142 sed 's/^/| /' conftest.$ac_ext >&5
11145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11148 CFLAGS="$save_CFLAGS"
11155 for ac_header in alsa/asoundlib.h sys/asoundlib.h
11157 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11159 echo "$as_me:$LINENO: checking for $ac_header" >&5
11160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11162 echo $ECHO_N "(cached) $ECHO_C" >&6
11164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11167 # Is the header compilable?
11168 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11169 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11170 cat >conftest.$ac_ext <<_ACEOF
11173 cat confdefs.h >>conftest.$ac_ext
11174 cat >>conftest.$ac_ext <<_ACEOF
11175 /* end confdefs.h. */
11176 $ac_includes_default
11177 #include <$ac_header>
11179 rm -f conftest.$ac_objext
11180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11181 (eval $ac_compile) 2>conftest.er1
11183 grep -v '^ *+' conftest.er1 >conftest.err
11185 cat conftest.err >&5
11186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11187 (exit $ac_status); } &&
11188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11190 (eval $ac_try) 2>&5
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); }; } &&
11194 { ac_try='test -s conftest.$ac_objext'
11195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11196 (eval $ac_try) 2>&5
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); }; }; then
11200 ac_header_compiler=yes
11202 echo "$as_me: failed program was:" >&5
11203 sed 's/^/| /' conftest.$ac_ext >&5
11205 ac_header_compiler=no
11207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11208 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11209 echo "${ECHO_T}$ac_header_compiler" >&6
11211 # Is the header present?
11212 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11213 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11214 cat >conftest.$ac_ext <<_ACEOF
11217 cat confdefs.h >>conftest.$ac_ext
11218 cat >>conftest.$ac_ext <<_ACEOF
11219 /* end confdefs.h. */
11220 #include <$ac_header>
11222 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11223 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11225 grep -v '^ *+' conftest.er1 >conftest.err
11227 cat conftest.err >&5
11228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229 (exit $ac_status); } >/dev/null; then
11230 if test -s conftest.err; then
11231 ac_cpp_err=$ac_c_preproc_warn_flag
11232 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11239 if test -z "$ac_cpp_err"; then
11240 ac_header_preproc=yes
11242 echo "$as_me: failed program was:" >&5
11243 sed 's/^/| /' conftest.$ac_ext >&5
11245 ac_header_preproc=no
11247 rm -f conftest.err conftest.$ac_ext
11248 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11249 echo "${ECHO_T}$ac_header_preproc" >&6
11251 # So? What about this header?
11252 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11254 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11255 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11257 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11258 ac_header_preproc=yes
11261 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11262 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11263 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11264 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11265 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11266 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11267 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11268 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11269 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11270 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11271 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11272 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11275 ## ------------------------------------ ##
11276 ## Report this to wine-devel@winehq.org ##
11277 ## ------------------------------------ ##
11280 sed "s/^/$as_me: WARNING: /" >&2
11283 echo "$as_me:$LINENO: checking for $ac_header" >&5
11284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11286 echo $ECHO_N "(cached) $ECHO_C" >&6
11288 eval "$as_ac_Header=\$ac_header_preproc"
11290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11291 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11294 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11295 cat >>confdefs.h <<_ACEOF
11296 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11303 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11305 echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
11306 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6
11307 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
11308 echo $ECHO_N "(cached) $ECHO_C" >&6
11310 ac_check_lib_save_LIBS=$LIBS
11311 LIBS="-lasound $LIBS"
11312 cat >conftest.$ac_ext <<_ACEOF
11315 cat confdefs.h >>conftest.$ac_ext
11316 cat >>conftest.$ac_ext <<_ACEOF
11317 /* end confdefs.h. */
11319 /* Override any gcc2 internal prototype to avoid an error. */
11323 /* We use char because int might match the return type of a gcc2
11324 builtin and then its argument prototype would still apply. */
11325 char snd_pcm_hw_params_get_access ();
11329 snd_pcm_hw_params_get_access ();
11334 rm -f conftest.$ac_objext conftest$ac_exeext
11335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11336 (eval $ac_link) 2>conftest.er1
11338 grep -v '^ *+' conftest.er1 >conftest.err
11340 cat conftest.err >&5
11341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11342 (exit $ac_status); } &&
11343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11345 (eval $ac_try) 2>&5
11347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11348 (exit $ac_status); }; } &&
11349 { ac_try='test -s conftest$ac_exeext'
11350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11351 (eval $ac_try) 2>&5
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); }; }; then
11355 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
11357 echo "$as_me: failed program was:" >&5
11358 sed 's/^/| /' conftest.$ac_ext >&5
11360 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
11362 rm -f conftest.err conftest.$ac_objext \
11363 conftest$ac_exeext conftest.$ac_ext
11364 LIBS=$ac_check_lib_save_LIBS
11366 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
11367 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6
11368 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
11369 cat >conftest.$ac_ext <<_ACEOF
11372 cat confdefs.h >>conftest.$ac_ext
11373 cat >>conftest.$ac_ext <<_ACEOF
11374 /* end confdefs.h. */
11375 #ifdef HAVE_ALSA_ASOUNDLIB_H
11376 #include <alsa/asoundlib.h>
11377 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11378 #include <sys/asoundlib.h>
11383 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
11388 rm -f conftest.$ac_objext
11389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11390 (eval $ac_compile) 2>conftest.er1
11392 grep -v '^ *+' conftest.er1 >conftest.err
11394 cat conftest.err >&5
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); } &&
11397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11399 (eval $ac_try) 2>&5
11401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11402 (exit $ac_status); }; } &&
11403 { ac_try='test -s conftest.$ac_objext'
11404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11405 (eval $ac_try) 2>&5
11407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11408 (exit $ac_status); }; }; then
11410 cat >>confdefs.h <<\_ACEOF
11411 #define HAVE_ALSA 1
11414 ALSALIBS="-lasound"
11416 echo "$as_me: failed program was:" >&5
11417 sed 's/^/| /' conftest.$ac_ext >&5
11420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11429 for ac_header in libaudioio.h
11431 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11433 echo "$as_me:$LINENO: checking for $ac_header" >&5
11434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11436 echo $ECHO_N "(cached) $ECHO_C" >&6
11438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11439 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11441 # Is the header compilable?
11442 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11443 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11444 cat >conftest.$ac_ext <<_ACEOF
11447 cat confdefs.h >>conftest.$ac_ext
11448 cat >>conftest.$ac_ext <<_ACEOF
11449 /* end confdefs.h. */
11450 $ac_includes_default
11451 #include <$ac_header>
11453 rm -f conftest.$ac_objext
11454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11455 (eval $ac_compile) 2>conftest.er1
11457 grep -v '^ *+' conftest.er1 >conftest.err
11459 cat conftest.err >&5
11460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11461 (exit $ac_status); } &&
11462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11464 (eval $ac_try) 2>&5
11466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11467 (exit $ac_status); }; } &&
11468 { ac_try='test -s conftest.$ac_objext'
11469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11470 (eval $ac_try) 2>&5
11472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11473 (exit $ac_status); }; }; then
11474 ac_header_compiler=yes
11476 echo "$as_me: failed program was:" >&5
11477 sed 's/^/| /' conftest.$ac_ext >&5
11479 ac_header_compiler=no
11481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11482 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11483 echo "${ECHO_T}$ac_header_compiler" >&6
11485 # Is the header present?
11486 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11487 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11488 cat >conftest.$ac_ext <<_ACEOF
11491 cat confdefs.h >>conftest.$ac_ext
11492 cat >>conftest.$ac_ext <<_ACEOF
11493 /* end confdefs.h. */
11494 #include <$ac_header>
11496 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11497 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11499 grep -v '^ *+' conftest.er1 >conftest.err
11501 cat conftest.err >&5
11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 (exit $ac_status); } >/dev/null; then
11504 if test -s conftest.err; then
11505 ac_cpp_err=$ac_c_preproc_warn_flag
11506 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11513 if test -z "$ac_cpp_err"; then
11514 ac_header_preproc=yes
11516 echo "$as_me: failed program was:" >&5
11517 sed 's/^/| /' conftest.$ac_ext >&5
11519 ac_header_preproc=no
11521 rm -f conftest.err conftest.$ac_ext
11522 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11523 echo "${ECHO_T}$ac_header_preproc" >&6
11525 # So? What about this header?
11526 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11528 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11529 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11530 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11531 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11532 ac_header_preproc=yes
11535 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11536 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11537 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11538 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11539 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11540 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11541 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11542 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11543 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11544 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11545 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11546 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11549 ## ------------------------------------ ##
11550 ## Report this to wine-devel@winehq.org ##
11551 ## ------------------------------------ ##
11554 sed "s/^/$as_me: WARNING: /" >&2
11557 echo "$as_me:$LINENO: checking for $ac_header" >&5
11558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11560 echo $ECHO_N "(cached) $ECHO_C" >&6
11562 eval "$as_ac_Header=\$ac_header_preproc"
11564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11568 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11569 cat >>confdefs.h <<_ACEOF
11570 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11572 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
11573 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
11574 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
11575 echo $ECHO_N "(cached) $ECHO_C" >&6
11577 ac_check_lib_save_LIBS=$LIBS
11578 LIBS="-laudioio $LIBS"
11579 cat >conftest.$ac_ext <<_ACEOF
11582 cat confdefs.h >>conftest.$ac_ext
11583 cat >>conftest.$ac_ext <<_ACEOF
11584 /* end confdefs.h. */
11586 /* Override any gcc2 internal prototype to avoid an error. */
11590 /* We use char because int might match the return type of a gcc2
11591 builtin and then its argument prototype would still apply. */
11592 char AudioIOGetVersion ();
11596 AudioIOGetVersion ();
11601 rm -f conftest.$ac_objext conftest$ac_exeext
11602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11603 (eval $ac_link) 2>conftest.er1
11605 grep -v '^ *+' conftest.er1 >conftest.err
11607 cat conftest.err >&5
11608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11609 (exit $ac_status); } &&
11610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11612 (eval $ac_try) 2>&5
11614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11615 (exit $ac_status); }; } &&
11616 { ac_try='test -s conftest$ac_exeext'
11617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11618 (eval $ac_try) 2>&5
11620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11621 (exit $ac_status); }; }; then
11622 ac_cv_lib_audioio_AudioIOGetVersion=yes
11624 echo "$as_me: failed program was:" >&5
11625 sed 's/^/| /' conftest.$ac_ext >&5
11627 ac_cv_lib_audioio_AudioIOGetVersion=no
11629 rm -f conftest.err conftest.$ac_objext \
11630 conftest$ac_exeext conftest.$ac_ext
11631 LIBS=$ac_check_lib_save_LIBS
11633 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
11634 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
11635 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
11636 AUDIOIOLIBS="-laudioio"
11638 cat >>confdefs.h <<\_ACEOF
11639 #define HAVE_LIBAUDIOIO 1
11651 for ac_header in capi20.h
11653 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11655 echo "$as_me:$LINENO: checking for $ac_header" >&5
11656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11658 echo $ECHO_N "(cached) $ECHO_C" >&6
11660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11663 # Is the header compilable?
11664 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11665 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11666 cat >conftest.$ac_ext <<_ACEOF
11669 cat confdefs.h >>conftest.$ac_ext
11670 cat >>conftest.$ac_ext <<_ACEOF
11671 /* end confdefs.h. */
11672 $ac_includes_default
11673 #include <$ac_header>
11675 rm -f conftest.$ac_objext
11676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11677 (eval $ac_compile) 2>conftest.er1
11679 grep -v '^ *+' conftest.er1 >conftest.err
11681 cat conftest.err >&5
11682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11683 (exit $ac_status); } &&
11684 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11686 (eval $ac_try) 2>&5
11688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11689 (exit $ac_status); }; } &&
11690 { ac_try='test -s conftest.$ac_objext'
11691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11692 (eval $ac_try) 2>&5
11694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11695 (exit $ac_status); }; }; then
11696 ac_header_compiler=yes
11698 echo "$as_me: failed program was:" >&5
11699 sed 's/^/| /' conftest.$ac_ext >&5
11701 ac_header_compiler=no
11703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11704 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11705 echo "${ECHO_T}$ac_header_compiler" >&6
11707 # Is the header present?
11708 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11709 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11710 cat >conftest.$ac_ext <<_ACEOF
11713 cat confdefs.h >>conftest.$ac_ext
11714 cat >>conftest.$ac_ext <<_ACEOF
11715 /* end confdefs.h. */
11716 #include <$ac_header>
11718 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11719 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11721 grep -v '^ *+' conftest.er1 >conftest.err
11723 cat conftest.err >&5
11724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11725 (exit $ac_status); } >/dev/null; then
11726 if test -s conftest.err; then
11727 ac_cpp_err=$ac_c_preproc_warn_flag
11728 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11735 if test -z "$ac_cpp_err"; then
11736 ac_header_preproc=yes
11738 echo "$as_me: failed program was:" >&5
11739 sed 's/^/| /' conftest.$ac_ext >&5
11741 ac_header_preproc=no
11743 rm -f conftest.err conftest.$ac_ext
11744 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11745 echo "${ECHO_T}$ac_header_preproc" >&6
11747 # So? What about this header?
11748 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11750 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11751 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11753 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11754 ac_header_preproc=yes
11757 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11758 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11759 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11760 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11761 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11762 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11763 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11764 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11766 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11767 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11768 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11771 ## ------------------------------------ ##
11772 ## Report this to wine-devel@winehq.org ##
11773 ## ------------------------------------ ##
11776 sed "s/^/$as_me: WARNING: /" >&2
11779 echo "$as_me:$LINENO: checking for $ac_header" >&5
11780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11782 echo $ECHO_N "(cached) $ECHO_C" >&6
11784 eval "$as_ac_Header=\$ac_header_preproc"
11786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11791 cat >>confdefs.h <<_ACEOF
11792 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11796 for ac_header in linux/capi.h
11798 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11800 echo "$as_me:$LINENO: checking for $ac_header" >&5
11801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11803 echo $ECHO_N "(cached) $ECHO_C" >&6
11805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11808 # Is the header compilable?
11809 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11810 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11811 cat >conftest.$ac_ext <<_ACEOF
11814 cat confdefs.h >>conftest.$ac_ext
11815 cat >>conftest.$ac_ext <<_ACEOF
11816 /* end confdefs.h. */
11817 $ac_includes_default
11818 #include <$ac_header>
11820 rm -f conftest.$ac_objext
11821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11822 (eval $ac_compile) 2>conftest.er1
11824 grep -v '^ *+' conftest.er1 >conftest.err
11826 cat conftest.err >&5
11827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11828 (exit $ac_status); } &&
11829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11831 (eval $ac_try) 2>&5
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); }; } &&
11835 { ac_try='test -s conftest.$ac_objext'
11836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11837 (eval $ac_try) 2>&5
11839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840 (exit $ac_status); }; }; then
11841 ac_header_compiler=yes
11843 echo "$as_me: failed program was:" >&5
11844 sed 's/^/| /' conftest.$ac_ext >&5
11846 ac_header_compiler=no
11848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11849 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11850 echo "${ECHO_T}$ac_header_compiler" >&6
11852 # Is the header present?
11853 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11854 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11855 cat >conftest.$ac_ext <<_ACEOF
11858 cat confdefs.h >>conftest.$ac_ext
11859 cat >>conftest.$ac_ext <<_ACEOF
11860 /* end confdefs.h. */
11861 #include <$ac_header>
11863 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11864 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11866 grep -v '^ *+' conftest.er1 >conftest.err
11868 cat conftest.err >&5
11869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870 (exit $ac_status); } >/dev/null; then
11871 if test -s conftest.err; then
11872 ac_cpp_err=$ac_c_preproc_warn_flag
11873 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11880 if test -z "$ac_cpp_err"; then
11881 ac_header_preproc=yes
11883 echo "$as_me: failed program was:" >&5
11884 sed 's/^/| /' conftest.$ac_ext >&5
11886 ac_header_preproc=no
11888 rm -f conftest.err conftest.$ac_ext
11889 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11890 echo "${ECHO_T}$ac_header_preproc" >&6
11892 # So? What about this header?
11893 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11895 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11896 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11898 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11899 ac_header_preproc=yes
11902 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11903 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11904 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11905 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11906 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11907 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11908 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11909 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11911 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11912 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11913 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11916 ## ------------------------------------ ##
11917 ## Report this to wine-devel@winehq.org ##
11918 ## ------------------------------------ ##
11921 sed "s/^/$as_me: WARNING: /" >&2
11924 echo "$as_me:$LINENO: checking for $ac_header" >&5
11925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11927 echo $ECHO_N "(cached) $ECHO_C" >&6
11929 eval "$as_ac_Header=\$ac_header_preproc"
11931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11936 cat >>confdefs.h <<_ACEOF
11937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11940 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
11941 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
11942 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
11943 echo $ECHO_N "(cached) $ECHO_C" >&6
11945 ac_check_lib_save_LIBS=$LIBS
11946 LIBS="-lcapi20 $LIBS"
11947 cat >conftest.$ac_ext <<_ACEOF
11950 cat confdefs.h >>conftest.$ac_ext
11951 cat >>conftest.$ac_ext <<_ACEOF
11952 /* end confdefs.h. */
11954 /* Override any gcc2 internal prototype to avoid an error. */
11958 /* We use char because int might match the return type of a gcc2
11959 builtin and then its argument prototype would still apply. */
11960 char capi20_register ();
11964 capi20_register ();
11969 rm -f conftest.$ac_objext conftest$ac_exeext
11970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11971 (eval $ac_link) 2>conftest.er1
11973 grep -v '^ *+' conftest.er1 >conftest.err
11975 cat conftest.err >&5
11976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11977 (exit $ac_status); } &&
11978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11980 (eval $ac_try) 2>&5
11982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983 (exit $ac_status); }; } &&
11984 { ac_try='test -s conftest$ac_exeext'
11985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11986 (eval $ac_try) 2>&5
11988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 (exit $ac_status); }; }; then
11990 ac_cv_lib_capi20_capi20_register=yes
11992 echo "$as_me: failed program was:" >&5
11993 sed 's/^/| /' conftest.$ac_ext >&5
11995 ac_cv_lib_capi20_capi20_register=no
11997 rm -f conftest.err conftest.$ac_objext \
11998 conftest$ac_exeext conftest.$ac_ext
11999 LIBS=$ac_check_lib_save_LIBS
12001 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12002 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12003 if test $ac_cv_lib_capi20_capi20_register = yes; then
12006 cat >>confdefs.h <<\_ACEOF
12007 #define HAVE_CAPI4LINUX 1
12025 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
12026 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
12027 if test "${ac_cv_mmap64_works+set}" = set; then
12028 echo $ECHO_N "(cached) $ECHO_C" >&6
12030 if test "$cross_compiling" = yes; then
12031 ac_cv_mmap64_works="no"
12033 cat >conftest.$ac_ext <<_ACEOF
12036 cat confdefs.h >>conftest.$ac_ext
12037 cat >>conftest.$ac_ext <<_ACEOF
12038 /* end confdefs.h. */
12040 #define _FILE_OFFSET_BITS 64
12042 #include <unistd.h>
12044 #include <sys/mman.h>
12047 int main(int argc,char **argv) {
12048 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
12049 if (fd == -1) exit(1);
12051 unlink("conftest.map");
12053 write(fd,"test",4);
12055 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
12061 fprintf(stderr,"success!\n");
12067 rm -f conftest$ac_exeext
12068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12069 (eval $ac_link) 2>&5
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12074 (eval $ac_try) 2>&5
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); }; }; then
12078 ac_cv_mmap64_works="yes"
12080 echo "$as_me: program exited with status $ac_status" >&5
12081 echo "$as_me: failed program was:" >&5
12082 sed 's/^/| /' conftest.$ac_ext >&5
12084 ( exit $ac_status )
12085 ac_cv_mmap64_works="no"
12087 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12090 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12091 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12093 if test "$ac_cv_mmap64_works" = "yes"
12096 cat >>confdefs.h <<\_ACEOF
12097 #define _FILE_OFFSET_BITS 64
12105 if test "x${GCC}" = "xyes"
12107 EXTRACFLAGS="-Wall -pipe"
12109 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12110 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12111 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12112 echo $ECHO_N "(cached) $ECHO_C" >&6
12114 if test "$cross_compiling" = yes; then
12115 ac_cv_c_gcc_strength_bug="yes"
12117 cat >conftest.$ac_ext <<_ACEOF
12120 cat confdefs.h >>conftest.$ac_ext
12121 cat >>conftest.$ac_ext <<_ACEOF
12122 /* end confdefs.h. */
12124 int L[4] = {0,1,2,3};
12126 static int Array[3];
12127 unsigned int B = 3;
12129 for(i=0; i<B; i++) Array[i] = i - 3;
12130 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12133 exit( Array[1] != -2 || L[2] != 3);
12136 rm -f conftest$ac_exeext
12137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12138 (eval $ac_link) 2>&5
12140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12141 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12143 (eval $ac_try) 2>&5
12145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12146 (exit $ac_status); }; }; then
12147 ac_cv_c_gcc_strength_bug="no"
12149 echo "$as_me: program exited with status $ac_status" >&5
12150 echo "$as_me: failed program was:" >&5
12151 sed 's/^/| /' conftest.$ac_ext >&5
12153 ( exit $ac_status )
12154 ac_cv_c_gcc_strength_bug="yes"
12156 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12159 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12160 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12161 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12163 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12166 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12167 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12168 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12169 echo $ECHO_N "(cached) $ECHO_C" >&6
12171 ac_wine_try_cflags_saved=$CFLAGS
12172 CFLAGS="$CFLAGS -fshort-wchar"
12173 cat >conftest.$ac_ext <<_ACEOF
12176 cat confdefs.h >>conftest.$ac_ext
12177 cat >>conftest.$ac_ext <<_ACEOF
12178 /* end confdefs.h. */
12188 rm -f conftest.$ac_objext conftest$ac_exeext
12189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12190 (eval $ac_link) 2>conftest.er1
12192 grep -v '^ *+' conftest.er1 >conftest.err
12194 cat conftest.err >&5
12195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196 (exit $ac_status); } &&
12197 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12199 (eval $ac_try) 2>&5
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); }; } &&
12203 { ac_try='test -s conftest$ac_exeext'
12204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12205 (eval $ac_try) 2>&5
12207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12208 (exit $ac_status); }; }; then
12209 ac_cv_c_gcc_fshort_wchar="yes"
12211 echo "$as_me: failed program was:" >&5
12212 sed 's/^/| /' conftest.$ac_ext >&5
12214 ac_cv_c_gcc_fshort_wchar="no"
12216 rm -f conftest.err conftest.$ac_objext \
12217 conftest$ac_exeext conftest.$ac_ext
12218 CFLAGS=$ac_wine_try_cflags_saved
12220 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12221 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12222 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12225 cat >>confdefs.h <<\_ACEOF
12226 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12231 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12232 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12233 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12234 echo $ECHO_N "(cached) $ECHO_C" >&6
12236 ac_wine_try_cflags_saved=$CFLAGS
12237 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
12238 cat >conftest.$ac_ext <<_ACEOF
12241 cat confdefs.h >>conftest.$ac_ext
12242 cat >>conftest.$ac_ext <<_ACEOF
12243 /* end confdefs.h. */
12253 rm -f conftest.$ac_objext conftest$ac_exeext
12254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12255 (eval $ac_link) 2>conftest.er1
12257 grep -v '^ *+' conftest.er1 >conftest.err
12259 cat conftest.err >&5
12260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12261 (exit $ac_status); } &&
12262 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12264 (eval $ac_try) 2>&5
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); }; } &&
12268 { ac_try='test -s conftest$ac_exeext'
12269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12270 (eval $ac_try) 2>&5
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); }; }; then
12274 ac_cv_c_gcc_stack_boundary="yes"
12276 echo "$as_me: failed program was:" >&5
12277 sed 's/^/| /' conftest.$ac_ext >&5
12279 ac_cv_c_gcc_stack_boundary="no"
12281 rm -f conftest.err conftest.$ac_objext \
12282 conftest$ac_exeext conftest.$ac_ext
12283 CFLAGS=$ac_wine_try_cflags_saved
12285 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12286 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12287 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12289 EXTRACFLAGS="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12292 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12293 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12294 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12295 echo $ECHO_N "(cached) $ECHO_C" >&6
12297 ac_wine_try_cflags_saved=$CFLAGS
12298 CFLAGS="$CFLAGS -fno-strict-aliasing"
12299 cat >conftest.$ac_ext <<_ACEOF
12302 cat confdefs.h >>conftest.$ac_ext
12303 cat >>conftest.$ac_ext <<_ACEOF
12304 /* end confdefs.h. */
12314 rm -f conftest.$ac_objext conftest$ac_exeext
12315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12316 (eval $ac_link) 2>conftest.er1
12318 grep -v '^ *+' conftest.er1 >conftest.err
12320 cat conftest.err >&5
12321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12322 (exit $ac_status); } &&
12323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12325 (eval $ac_try) 2>&5
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); }; } &&
12329 { ac_try='test -s conftest$ac_exeext'
12330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12331 (eval $ac_try) 2>&5
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); }; }; then
12335 ac_cv_c_gcc_no_strict_aliasing="yes"
12337 echo "$as_me: failed program was:" >&5
12338 sed 's/^/| /' conftest.$ac_ext >&5
12340 ac_cv_c_gcc_no_strict_aliasing="no"
12342 rm -f conftest.err conftest.$ac_objext \
12343 conftest$ac_exeext conftest.$ac_ext
12344 CFLAGS=$ac_wine_try_cflags_saved
12346 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12347 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12348 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12350 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12353 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12354 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12355 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12356 echo $ECHO_N "(cached) $ECHO_C" >&6
12358 ac_wine_try_cflags_saved=$CFLAGS
12359 CFLAGS="$CFLAGS -gstabs+"
12360 cat >conftest.$ac_ext <<_ACEOF
12363 cat confdefs.h >>conftest.$ac_ext
12364 cat >>conftest.$ac_ext <<_ACEOF
12365 /* end confdefs.h. */
12375 rm -f conftest.$ac_objext conftest$ac_exeext
12376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12377 (eval $ac_link) 2>conftest.er1
12379 grep -v '^ *+' conftest.er1 >conftest.err
12381 cat conftest.err >&5
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); } &&
12384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12386 (eval $ac_try) 2>&5
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); }; } &&
12390 { ac_try='test -s conftest$ac_exeext'
12391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12392 (eval $ac_try) 2>&5
12394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395 (exit $ac_status); }; }; then
12396 ac_cv_c_gcc_gstabs="yes"
12398 echo "$as_me: failed program was:" >&5
12399 sed 's/^/| /' conftest.$ac_ext >&5
12401 ac_cv_c_gcc_gstabs="no"
12403 rm -f conftest.err conftest.$ac_objext \
12404 conftest$ac_exeext conftest.$ac_ext
12405 CFLAGS=$ac_wine_try_cflags_saved
12407 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12408 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12409 if test "$ac_cv_c_gcc_gstabs" = "yes"
12411 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
12414 saved_CFLAGS="$CFLAGS"
12415 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12416 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12417 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12418 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12419 echo $ECHO_N "(cached) $ECHO_C" >&6
12421 cat >conftest.$ac_ext <<_ACEOF
12424 cat confdefs.h >>conftest.$ac_ext
12425 cat >>conftest.$ac_ext <<_ACEOF
12426 /* end confdefs.h. */
12427 #include <string.h>
12436 rm -f conftest.$ac_objext
12437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12438 (eval $ac_compile) 2>conftest.er1
12440 grep -v '^ *+' conftest.er1 >conftest.err
12442 cat conftest.err >&5
12443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12444 (exit $ac_status); } &&
12445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12447 (eval $ac_try) 2>&5
12449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12450 (exit $ac_status); }; } &&
12451 { ac_try='test -s conftest.$ac_objext'
12452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12453 (eval $ac_try) 2>&5
12455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12456 (exit $ac_status); }; }; then
12457 ac_cv_c_string_h_warnings=no
12459 echo "$as_me: failed program was:" >&5
12460 sed 's/^/| /' conftest.$ac_ext >&5
12462 ac_cv_c_string_h_warnings=yes
12464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12466 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12467 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12468 CFLAGS="$saved_CFLAGS"
12469 if test "$ac_cv_c_string_h_warnings" = "no"
12471 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12476 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12477 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12478 if test "${ac_cv_asm_func_def+set}" = set; then
12479 echo $ECHO_N "(cached) $ECHO_C" >&6
12481 cat >conftest.$ac_ext <<_ACEOF
12484 cat confdefs.h >>conftest.$ac_ext
12485 cat >>conftest.$ac_ext <<_ACEOF
12486 /* end confdefs.h. */
12487 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"); }
12497 rm -f conftest.$ac_objext conftest$ac_exeext
12498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12499 (eval $ac_link) 2>conftest.er1
12501 grep -v '^ *+' conftest.er1 >conftest.err
12503 cat conftest.err >&5
12504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12505 (exit $ac_status); } &&
12506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12508 (eval $ac_try) 2>&5
12510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12511 (exit $ac_status); }; } &&
12512 { ac_try='test -s conftest$ac_exeext'
12513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12514 (eval $ac_try) 2>&5
12516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517 (exit $ac_status); }; }; then
12518 ac_cv_asm_func_def=".def"
12520 echo "$as_me: failed program was:" >&5
12521 sed 's/^/| /' conftest.$ac_ext >&5
12523 cat >conftest.$ac_ext <<_ACEOF
12526 cat confdefs.h >>conftest.$ac_ext
12527 cat >>conftest.$ac_ext <<_ACEOF
12528 /* end confdefs.h. */
12529 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12539 rm -f conftest.$ac_objext conftest$ac_exeext
12540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12541 (eval $ac_link) 2>conftest.er1
12543 grep -v '^ *+' conftest.er1 >conftest.err
12545 cat conftest.err >&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } &&
12548 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12550 (eval $ac_try) 2>&5
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); }; } &&
12554 { ac_try='test -s conftest$ac_exeext'
12555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12556 (eval $ac_try) 2>&5
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); }; }; then
12560 ac_cv_asm_func_def=".type @function"
12562 echo "$as_me: failed program was:" >&5
12563 sed 's/^/| /' conftest.$ac_ext >&5
12565 cat >conftest.$ac_ext <<_ACEOF
12568 cat confdefs.h >>conftest.$ac_ext
12569 cat >>conftest.$ac_ext <<_ACEOF
12570 /* end confdefs.h. */
12571 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12581 rm -f conftest.$ac_objext conftest$ac_exeext
12582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12583 (eval $ac_link) 2>conftest.er1
12585 grep -v '^ *+' conftest.er1 >conftest.err
12587 cat conftest.err >&5
12588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12589 (exit $ac_status); } &&
12590 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12592 (eval $ac_try) 2>&5
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); }; } &&
12596 { ac_try='test -s conftest$ac_exeext'
12597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12598 (eval $ac_try) 2>&5
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); }; }; then
12602 ac_cv_asm_func_def=".type 2"
12604 echo "$as_me: failed program was:" >&5
12605 sed 's/^/| /' conftest.$ac_ext >&5
12607 ac_cv_asm_func_def="unknown"
12609 rm -f conftest.err conftest.$ac_objext \
12610 conftest$ac_exeext conftest.$ac_ext
12612 rm -f conftest.err conftest.$ac_objext \
12613 conftest$ac_exeext conftest.$ac_ext
12615 rm -f conftest.err conftest.$ac_objext \
12616 conftest$ac_exeext conftest.$ac_ext
12618 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12619 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
12623 case "$ac_cv_asm_func_def" in
12625 cat >>confdefs.h <<\_ACEOF
12626 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12630 cat >>confdefs.h <<\_ACEOF
12631 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12635 cat >>confdefs.h <<\_ACEOF
12636 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12640 cat >>confdefs.h <<\_ACEOF
12641 #define __ASM_FUNC(name) ""
12647 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12648 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
12649 if test "${ac_cv_c_extern_prefix+set}" = set; then
12650 echo $ECHO_N "(cached) $ECHO_C" >&6
12652 cat >conftest.$ac_ext <<_ACEOF
12655 cat confdefs.h >>conftest.$ac_ext
12656 cat >>conftest.$ac_ext <<_ACEOF
12657 /* end confdefs.h. */
12658 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12659 extern int ac_test;
12663 if (ac_test) return 1
12668 rm -f conftest.$ac_objext conftest$ac_exeext
12669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12670 (eval $ac_link) 2>conftest.er1
12672 grep -v '^ *+' conftest.er1 >conftest.err
12674 cat conftest.err >&5
12675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12676 (exit $ac_status); } &&
12677 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12679 (eval $ac_try) 2>&5
12681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12682 (exit $ac_status); }; } &&
12683 { ac_try='test -s conftest$ac_exeext'
12684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12685 (eval $ac_try) 2>&5
12687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12688 (exit $ac_status); }; }; then
12689 ac_cv_c_extern_prefix="yes"
12691 echo "$as_me: failed program was:" >&5
12692 sed 's/^/| /' conftest.$ac_ext >&5
12694 ac_cv_c_extern_prefix="no"
12696 rm -f conftest.err conftest.$ac_objext \
12697 conftest$ac_exeext conftest.$ac_ext
12699 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12700 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
12704 if test "$ac_cv_c_extern_prefix" = "yes"
12706 cat >>confdefs.h <<\_ACEOF
12707 #define __ASM_NAME(name) "_" name
12711 cat >>confdefs.h <<\_ACEOF
12712 #define __ASM_NAME(name) name
12718 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
12719 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
12720 if test "${ac_cv_c_asm_string+set}" = set; then
12721 echo $ECHO_N "(cached) $ECHO_C" >&6
12723 cat >conftest.$ac_ext <<_ACEOF
12726 cat confdefs.h >>conftest.$ac_ext
12727 cat >>conftest.$ac_ext <<_ACEOF
12728 /* end confdefs.h. */
12729 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
12739 rm -f conftest.$ac_objext conftest$ac_exeext
12740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12741 (eval $ac_link) 2>conftest.er1
12743 grep -v '^ *+' conftest.er1 >conftest.err
12745 cat conftest.err >&5
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); } &&
12748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12750 (eval $ac_try) 2>&5
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); }; } &&
12754 { ac_try='test -s conftest$ac_exeext'
12755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12756 (eval $ac_try) 2>&5
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); }; }; then
12760 ac_cv_c_asm_string=".string"
12762 echo "$as_me: failed program was:" >&5
12763 sed 's/^/| /' conftest.$ac_ext >&5
12765 cat >conftest.$ac_ext <<_ACEOF
12768 cat confdefs.h >>conftest.$ac_ext
12769 cat >>conftest.$ac_ext <<_ACEOF
12770 /* end confdefs.h. */
12771 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
12781 rm -f conftest.$ac_objext conftest$ac_exeext
12782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12783 (eval $ac_link) 2>conftest.er1
12785 grep -v '^ *+' conftest.er1 >conftest.err
12787 cat conftest.err >&5
12788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12789 (exit $ac_status); } &&
12790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12792 (eval $ac_try) 2>&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); }; } &&
12796 { ac_try='test -s conftest$ac_exeext'
12797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12798 (eval $ac_try) 2>&5
12800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12801 (exit $ac_status); }; }; then
12802 ac_cv_c_asm_string=".asciz"
12804 echo "$as_me: failed program was:" >&5
12805 sed 's/^/| /' conftest.$ac_ext >&5
12807 cat >conftest.$ac_ext <<_ACEOF
12810 cat confdefs.h >>conftest.$ac_ext
12811 cat >>conftest.$ac_ext <<_ACEOF
12812 /* end confdefs.h. */
12813 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
12823 rm -f conftest.$ac_objext conftest$ac_exeext
12824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12825 (eval $ac_link) 2>conftest.er1
12827 grep -v '^ *+' conftest.er1 >conftest.err
12829 cat conftest.err >&5
12830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12831 (exit $ac_status); } &&
12832 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12834 (eval $ac_try) 2>&5
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); }; } &&
12838 { ac_try='test -s conftest$ac_exeext'
12839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12840 (eval $ac_try) 2>&5
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); }; }; then
12844 ac_cv_c_asm_string=".ascii"
12846 echo "$as_me: failed program was:" >&5
12847 sed 's/^/| /' conftest.$ac_ext >&5
12849 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
12850 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
12851 { (exit 1); exit 1; }; }
12853 rm -f conftest.err conftest.$ac_objext \
12854 conftest$ac_exeext conftest.$ac_ext
12856 rm -f conftest.err conftest.$ac_objext \
12857 conftest$ac_exeext conftest.$ac_ext
12859 rm -f conftest.err conftest.$ac_objext \
12860 conftest$ac_exeext conftest.$ac_ext
12862 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
12863 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
12866 cat >>confdefs.h <<_ACEOF
12867 #define __ASM_STRING "$ac_cv_c_asm_string"
12872 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
12873 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
12874 if test "${ac_cv_c_asm_short+set}" = set; then
12875 echo $ECHO_N "(cached) $ECHO_C" >&6
12877 cat >conftest.$ac_ext <<_ACEOF
12880 cat confdefs.h >>conftest.$ac_ext
12881 cat >>conftest.$ac_ext <<_ACEOF
12882 /* end confdefs.h. */
12883 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
12893 rm -f conftest.$ac_objext conftest$ac_exeext
12894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12895 (eval $ac_link) 2>conftest.er1
12897 grep -v '^ *+' conftest.er1 >conftest.err
12899 cat conftest.err >&5
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); } &&
12902 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12904 (eval $ac_try) 2>&5
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); }; } &&
12908 { ac_try='test -s conftest$ac_exeext'
12909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12910 (eval $ac_try) 2>&5
12912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12913 (exit $ac_status); }; }; then
12914 ac_cv_c_asm_short=".short"
12916 echo "$as_me: failed program was:" >&5
12917 sed 's/^/| /' conftest.$ac_ext >&5
12919 cat >conftest.$ac_ext <<_ACEOF
12922 cat confdefs.h >>conftest.$ac_ext
12923 cat >>conftest.$ac_ext <<_ACEOF
12924 /* end confdefs.h. */
12925 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
12935 rm -f conftest.$ac_objext conftest$ac_exeext
12936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12937 (eval $ac_link) 2>conftest.er1
12939 grep -v '^ *+' conftest.er1 >conftest.err
12941 cat conftest.err >&5
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); } &&
12944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12946 (eval $ac_try) 2>&5
12948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949 (exit $ac_status); }; } &&
12950 { ac_try='test -s conftest$ac_exeext'
12951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12952 (eval $ac_try) 2>&5
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); }; }; then
12956 ac_cv_c_asm_short=".half"
12958 echo "$as_me: failed program was:" >&5
12959 sed 's/^/| /' conftest.$ac_ext >&5
12961 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
12962 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
12963 { (exit 1); exit 1; }; }
12965 rm -f conftest.err conftest.$ac_objext \
12966 conftest$ac_exeext conftest.$ac_ext
12968 rm -f conftest.err conftest.$ac_objext \
12969 conftest$ac_exeext conftest.$ac_ext
12971 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
12972 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
12975 cat >>confdefs.h <<_ACEOF
12976 #define __ASM_SHORT "$ac_cv_c_asm_short"
12981 echo "$as_me:$LINENO: checking for .size in assembler" >&5
12982 echo $ECHO_N "checking for .size in assembler... $ECHO_C" >&6
12983 if test "${ac_cv_c_asm_size+set}" = set; then
12984 echo $ECHO_N "(cached) $ECHO_C" >&6
12986 cat >conftest.$ac_ext <<_ACEOF
12989 cat confdefs.h >>conftest.$ac_ext
12990 cat >>conftest.$ac_ext <<_ACEOF
12991 /* end confdefs.h. */
12992 void ac_asm(void) { asm(".globl _ac_test\n.size _ac_test, . - _ac_test"); }
13002 rm -f conftest.$ac_objext conftest$ac_exeext
13003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13004 (eval $ac_link) 2>conftest.er1
13006 grep -v '^ *+' conftest.er1 >conftest.err
13008 cat conftest.err >&5
13009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13010 (exit $ac_status); } &&
13011 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13013 (eval $ac_try) 2>&5
13015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13016 (exit $ac_status); }; } &&
13017 { ac_try='test -s conftest$ac_exeext'
13018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13019 (eval $ac_try) 2>&5
13021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13022 (exit $ac_status); }; }; then
13023 ac_cv_c_asm_size="yes"
13025 echo "$as_me: failed program was:" >&5
13026 sed 's/^/| /' conftest.$ac_ext >&5
13028 ac_cv_c_asm_size="no"
13030 rm -f conftest.err conftest.$ac_objext \
13031 conftest$ac_exeext conftest.$ac_ext
13033 echo "$as_me:$LINENO: result: $ac_cv_c_asm_size" >&5
13034 echo "${ECHO_T}$ac_cv_c_asm_size" >&6
13036 if test "$ac_cv_c_asm_size" = "yes"
13039 cat >>confdefs.h <<\_ACEOF
13040 #define HAVE_ASM_DOT_SIZE 1
13048 DLLFLAGS="-D_REENTRANT"
13063 if test -n "$ac_tool_prefix"; then
13064 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13065 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
13066 echo "$as_me:$LINENO: checking for $ac_word" >&5
13067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13068 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13069 echo $ECHO_N "(cached) $ECHO_C" >&6
13071 if test -n "$DLLTOOL"; then
13072 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13075 for as_dir in $PATH
13078 test -z "$as_dir" && as_dir=.
13079 for ac_exec_ext in '' $ac_executable_extensions; do
13080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13081 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13090 DLLTOOL=$ac_cv_prog_DLLTOOL
13091 if test -n "$DLLTOOL"; then
13092 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13093 echo "${ECHO_T}$DLLTOOL" >&6
13095 echo "$as_me:$LINENO: result: no" >&5
13096 echo "${ECHO_T}no" >&6
13100 if test -z "$ac_cv_prog_DLLTOOL"; then
13101 ac_ct_DLLTOOL=$DLLTOOL
13102 # Extract the first word of "dlltool", so it can be a program name with args.
13103 set dummy dlltool; ac_word=$2
13104 echo "$as_me:$LINENO: checking for $ac_word" >&5
13105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13106 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13107 echo $ECHO_N "(cached) $ECHO_C" >&6
13109 if test -n "$ac_ct_DLLTOOL"; then
13110 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13113 for as_dir in $PATH
13116 test -z "$as_dir" && as_dir=.
13117 for ac_exec_ext in '' $ac_executable_extensions; do
13118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13119 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13126 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
13129 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13130 if test -n "$ac_ct_DLLTOOL"; then
13131 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13132 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13134 echo "$as_me:$LINENO: result: no" >&5
13135 echo "${ECHO_T}no" >&6
13138 DLLTOOL=$ac_ct_DLLTOOL
13140 DLLTOOL="$ac_cv_prog_DLLTOOL"
13143 if test -n "$ac_tool_prefix"; then
13144 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13145 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13146 echo "$as_me:$LINENO: checking for $ac_word" >&5
13147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13148 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13149 echo $ECHO_N "(cached) $ECHO_C" >&6
13151 if test -n "$DLLWRAP"; then
13152 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13155 for as_dir in $PATH
13158 test -z "$as_dir" && as_dir=.
13159 for ac_exec_ext in '' $ac_executable_extensions; do
13160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13161 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13170 DLLWRAP=$ac_cv_prog_DLLWRAP
13171 if test -n "$DLLWRAP"; then
13172 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13173 echo "${ECHO_T}$DLLWRAP" >&6
13175 echo "$as_me:$LINENO: result: no" >&5
13176 echo "${ECHO_T}no" >&6
13180 if test -z "$ac_cv_prog_DLLWRAP"; then
13181 ac_ct_DLLWRAP=$DLLWRAP
13182 # Extract the first word of "dllwrap", so it can be a program name with args.
13183 set dummy dllwrap; ac_word=$2
13184 echo "$as_me:$LINENO: checking for $ac_word" >&5
13185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13186 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13187 echo $ECHO_N "(cached) $ECHO_C" >&6
13189 if test -n "$ac_ct_DLLWRAP"; then
13190 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13193 for as_dir in $PATH
13196 test -z "$as_dir" && as_dir=.
13197 for ac_exec_ext in '' $ac_executable_extensions; do
13198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13199 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13206 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
13209 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13210 if test -n "$ac_ct_DLLWRAP"; then
13211 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13212 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13214 echo "$as_me:$LINENO: result: no" >&5
13215 echo "${ECHO_T}no" >&6
13218 DLLWRAP=$ac_ct_DLLWRAP
13220 DLLWRAP="$ac_cv_prog_DLLWRAP"
13223 if test "$DLLWRAP" = "false"; then
13234 for ac_header in dlfcn.h
13236 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13238 echo "$as_me:$LINENO: checking for $ac_header" >&5
13239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13241 echo $ECHO_N "(cached) $ECHO_C" >&6
13243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13246 # Is the header compilable?
13247 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13249 cat >conftest.$ac_ext <<_ACEOF
13252 cat confdefs.h >>conftest.$ac_ext
13253 cat >>conftest.$ac_ext <<_ACEOF
13254 /* end confdefs.h. */
13255 $ac_includes_default
13256 #include <$ac_header>
13258 rm -f conftest.$ac_objext
13259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13260 (eval $ac_compile) 2>conftest.er1
13262 grep -v '^ *+' conftest.er1 >conftest.err
13264 cat conftest.err >&5
13265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266 (exit $ac_status); } &&
13267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13269 (eval $ac_try) 2>&5
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); }; } &&
13273 { ac_try='test -s conftest.$ac_objext'
13274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13275 (eval $ac_try) 2>&5
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); }; }; then
13279 ac_header_compiler=yes
13281 echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.$ac_ext >&5
13284 ac_header_compiler=no
13286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13288 echo "${ECHO_T}$ac_header_compiler" >&6
13290 # Is the header present?
13291 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13292 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13293 cat >conftest.$ac_ext <<_ACEOF
13296 cat confdefs.h >>conftest.$ac_ext
13297 cat >>conftest.$ac_ext <<_ACEOF
13298 /* end confdefs.h. */
13299 #include <$ac_header>
13301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13302 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13304 grep -v '^ *+' conftest.er1 >conftest.err
13306 cat conftest.err >&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); } >/dev/null; then
13309 if test -s conftest.err; then
13310 ac_cpp_err=$ac_c_preproc_warn_flag
13311 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13318 if test -z "$ac_cpp_err"; then
13319 ac_header_preproc=yes
13321 echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.$ac_ext >&5
13324 ac_header_preproc=no
13326 rm -f conftest.err conftest.$ac_ext
13327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13328 echo "${ECHO_T}$ac_header_preproc" >&6
13330 # So? What about this header?
13331 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13333 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13334 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13336 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13337 ac_header_preproc=yes
13340 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13341 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13342 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13343 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13344 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13345 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13346 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13347 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13348 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13349 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13350 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13351 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13354 ## ------------------------------------ ##
13355 ## Report this to wine-devel@winehq.org ##
13356 ## ------------------------------------ ##
13359 sed "s/^/$as_me: WARNING: /" >&2
13362 echo "$as_me:$LINENO: checking for $ac_header" >&5
13363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13365 echo $ECHO_N "(cached) $ECHO_C" >&6
13367 eval "$as_ac_Header=\$ac_header_preproc"
13369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13370 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13373 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13374 cat >>confdefs.h <<_ACEOF
13375 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13378 for ac_func in dlopen
13380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13381 echo "$as_me:$LINENO: checking for $ac_func" >&5
13382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13383 if eval "test \"\${$as_ac_var+set}\" = set"; then
13384 echo $ECHO_N "(cached) $ECHO_C" >&6
13386 cat >conftest.$ac_ext <<_ACEOF
13389 cat confdefs.h >>conftest.$ac_ext
13390 cat >>conftest.$ac_ext <<_ACEOF
13391 /* end confdefs.h. */
13392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13394 #define $ac_func innocuous_$ac_func
13396 /* System header to define __stub macros and hopefully few prototypes,
13397 which can conflict with char $ac_func (); below.
13398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13399 <limits.h> exists even on freestanding compilers. */
13402 # include <limits.h>
13404 # include <assert.h>
13409 /* Override any gcc2 internal prototype to avoid an error. */
13414 /* We use char because int might match the return type of a gcc2
13415 builtin and then its argument prototype would still apply. */
13417 /* The GNU C library defines this for functions which it implements
13418 to always fail with ENOSYS. Some functions are actually named
13419 something starting with __ and the normal name is an alias. */
13420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13423 char (*f) () = $ac_func;
13432 return f != $ac_func;
13437 rm -f conftest.$ac_objext conftest$ac_exeext
13438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13439 (eval $ac_link) 2>conftest.er1
13441 grep -v '^ *+' conftest.er1 >conftest.err
13443 cat conftest.err >&5
13444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445 (exit $ac_status); } &&
13446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13448 (eval $ac_try) 2>&5
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); }; } &&
13452 { ac_try='test -s conftest$ac_exeext'
13453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13454 (eval $ac_try) 2>&5
13456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13457 (exit $ac_status); }; }; then
13458 eval "$as_ac_var=yes"
13460 echo "$as_me: failed program was:" >&5
13461 sed 's/^/| /' conftest.$ac_ext >&5
13463 eval "$as_ac_var=no"
13465 rm -f conftest.err conftest.$ac_objext \
13466 conftest$ac_exeext conftest.$ac_ext
13468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13470 if test `eval echo '${'$as_ac_var'}'` = yes; then
13471 cat >>confdefs.h <<_ACEOF
13472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13476 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13477 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13478 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13479 echo $ECHO_N "(cached) $ECHO_C" >&6
13481 ac_check_lib_save_LIBS=$LIBS
13483 cat >conftest.$ac_ext <<_ACEOF
13486 cat confdefs.h >>conftest.$ac_ext
13487 cat >>conftest.$ac_ext <<_ACEOF
13488 /* end confdefs.h. */
13490 /* Override any gcc2 internal prototype to avoid an error. */
13494 /* We use char because int might match the return type of a gcc2
13495 builtin and then its argument prototype would still apply. */
13505 rm -f conftest.$ac_objext conftest$ac_exeext
13506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13507 (eval $ac_link) 2>conftest.er1
13509 grep -v '^ *+' conftest.er1 >conftest.err
13511 cat conftest.err >&5
13512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13513 (exit $ac_status); } &&
13514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13516 (eval $ac_try) 2>&5
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); }; } &&
13520 { ac_try='test -s conftest$ac_exeext'
13521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13522 (eval $ac_try) 2>&5
13524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13525 (exit $ac_status); }; }; then
13526 ac_cv_lib_dl_dlopen=yes
13528 echo "$as_me: failed program was:" >&5
13529 sed 's/^/| /' conftest.$ac_ext >&5
13531 ac_cv_lib_dl_dlopen=no
13533 rm -f conftest.err conftest.$ac_objext \
13534 conftest$ac_exeext conftest.$ac_ext
13535 LIBS=$ac_check_lib_save_LIBS
13537 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13538 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13539 if test $ac_cv_lib_dl_dlopen = yes; then
13541 cat >>confdefs.h <<\_ACEOF
13542 #define HAVE_DLOPEN 1
13560 if test "$LIBEXT" = "so"
13562 DLLFLAGS="$DLLFLAGS -fPIC"
13564 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13565 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13566 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13567 echo $ECHO_N "(cached) $ECHO_C" >&6
13569 ac_wine_try_cflags_saved=$CFLAGS
13570 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13571 cat >conftest.$ac_ext <<_ACEOF
13574 rm -f conftest.$ac_objext conftest$ac_exeext
13575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13576 (eval $ac_link) 2>conftest.er1
13578 grep -v '^ *+' conftest.er1 >conftest.err
13580 cat conftest.err >&5
13581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13582 (exit $ac_status); } &&
13583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13585 (eval $ac_try) 2>&5
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); }; } &&
13589 { ac_try='test -s conftest$ac_exeext'
13590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13591 (eval $ac_try) 2>&5
13593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13594 (exit $ac_status); }; }; then
13595 ac_cv_c_dll_gnuelf="yes"
13597 echo "$as_me: failed program was:" >&5
13598 sed 's/^/| /' conftest.$ac_ext >&5
13600 ac_cv_c_dll_gnuelf="no"
13602 rm -f conftest.err conftest.$ac_objext \
13603 conftest$ac_exeext conftest.$ac_ext
13604 CFLAGS=$ac_wine_try_cflags_saved
13606 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13607 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
13608 if test "$ac_cv_c_dll_gnuelf" = "yes"
13610 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13611 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13612 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
13613 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
13614 if test "${ac_cv_c_dll_zdefs+set}" = set; then
13615 echo $ECHO_N "(cached) $ECHO_C" >&6
13617 ac_wine_try_cflags_saved=$CFLAGS
13618 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13619 cat >conftest.$ac_ext <<_ACEOF
13622 cat confdefs.h >>conftest.$ac_ext
13623 cat >>conftest.$ac_ext <<_ACEOF
13624 /* end confdefs.h. */
13634 rm -f conftest.$ac_objext conftest$ac_exeext
13635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13636 (eval $ac_link) 2>conftest.er1
13638 grep -v '^ *+' conftest.er1 >conftest.err
13640 cat conftest.err >&5
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 (exit $ac_status); } &&
13643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13645 (eval $ac_try) 2>&5
13647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13648 (exit $ac_status); }; } &&
13649 { ac_try='test -s conftest$ac_exeext'
13650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13651 (eval $ac_try) 2>&5
13653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13654 (exit $ac_status); }; }; then
13655 ac_cv_c_dll_zdefs="yes"
13657 echo "$as_me: failed program was:" >&5
13658 sed 's/^/| /' conftest.$ac_ext >&5
13660 ac_cv_c_dll_zdefs="no"
13662 rm -f conftest.err conftest.$ac_objext \
13663 conftest$ac_exeext conftest.$ac_ext
13664 CFLAGS=$ac_wine_try_cflags_saved
13666 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
13667 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
13668 if test "$ac_cv_c_dll_zdefs" = "yes"
13670 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13673 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
13674 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
13675 if test "${ac_cv_c_dll_init_fini+set}" = set; then
13676 echo $ECHO_N "(cached) $ECHO_C" >&6
13678 ac_wine_try_cflags_saved=$CFLAGS
13679 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13680 cat >conftest.$ac_ext <<_ACEOF
13683 cat confdefs.h >>conftest.$ac_ext
13684 cat >>conftest.$ac_ext <<_ACEOF
13685 /* end confdefs.h. */
13695 rm -f conftest.$ac_objext conftest$ac_exeext
13696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13697 (eval $ac_link) 2>conftest.er1
13699 grep -v '^ *+' conftest.er1 >conftest.err
13701 cat conftest.err >&5
13702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); } &&
13704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13706 (eval $ac_try) 2>&5
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); }; } &&
13710 { ac_try='test -s conftest$ac_exeext'
13711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13712 (eval $ac_try) 2>&5
13714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13715 (exit $ac_status); }; }; then
13716 ac_cv_c_dll_init_fini="yes"
13718 echo "$as_me: failed program was:" >&5
13719 sed 's/^/| /' conftest.$ac_ext >&5
13721 ac_cv_c_dll_init_fini="no"
13723 rm -f conftest.err conftest.$ac_objext \
13724 conftest$ac_exeext conftest.$ac_ext
13725 CFLAGS=$ac_wine_try_cflags_saved
13727 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
13728 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
13729 if test "$ac_cv_c_dll_init_fini" = "yes"
13731 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13734 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
13735 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
13736 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
13737 echo $ECHO_N "(cached) $ECHO_C" >&6
13739 echo '{ global: *; };' >conftest.map
13740 ac_wine_try_cflags_saved=$CFLAGS
13741 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13742 cat >conftest.$ac_ext <<_ACEOF
13745 cat confdefs.h >>conftest.$ac_ext
13746 cat >>conftest.$ac_ext <<_ACEOF
13747 /* end confdefs.h. */
13757 rm -f conftest.$ac_objext conftest$ac_exeext
13758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13759 (eval $ac_link) 2>conftest.er1
13761 grep -v '^ *+' conftest.er1 >conftest.err
13763 cat conftest.err >&5
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 (exit $ac_status); } &&
13766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13768 (eval $ac_try) 2>&5
13770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771 (exit $ac_status); }; } &&
13772 { ac_try='test -s conftest$ac_exeext'
13773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13774 (eval $ac_try) 2>&5
13776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777 (exit $ac_status); }; }; then
13778 ac_cv_c_ld_version_scripts="yes"
13780 echo "$as_me: failed program was:" >&5
13781 sed 's/^/| /' conftest.$ac_ext >&5
13783 ac_cv_c_ld_version_scripts="no"
13785 rm -f conftest.err conftest.$ac_objext \
13786 conftest$ac_exeext conftest.$ac_ext
13787 CFLAGS=$ac_wine_try_cflags_saved
13790 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
13791 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
13792 if test "$ac_cv_c_ld_version_scripts" = "yes"
13794 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13797 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
13798 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
13799 if test "${ac_cv_c_export_dynamic+set}" = set; then
13800 echo $ECHO_N "(cached) $ECHO_C" >&6
13802 ac_wine_try_cflags_saved=$CFLAGS
13803 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13804 cat >conftest.$ac_ext <<_ACEOF
13807 cat confdefs.h >>conftest.$ac_ext
13808 cat >>conftest.$ac_ext <<_ACEOF
13809 /* end confdefs.h. */
13819 rm -f conftest.$ac_objext conftest$ac_exeext
13820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13821 (eval $ac_link) 2>conftest.er1
13823 grep -v '^ *+' conftest.er1 >conftest.err
13825 cat conftest.err >&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); } &&
13828 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13830 (eval $ac_try) 2>&5
13832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13833 (exit $ac_status); }; } &&
13834 { ac_try='test -s conftest$ac_exeext'
13835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13836 (eval $ac_try) 2>&5
13838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839 (exit $ac_status); }; }; then
13840 ac_cv_c_export_dynamic="yes"
13842 echo "$as_me: failed program was:" >&5
13843 sed 's/^/| /' conftest.$ac_ext >&5
13845 ac_cv_c_export_dynamic="no"
13847 rm -f conftest.err conftest.$ac_objext \
13848 conftest$ac_exeext conftest.$ac_ext
13849 CFLAGS=$ac_wine_try_cflags_saved
13851 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
13852 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
13853 if test "$ac_cv_c_export_dynamic" = "yes"
13855 LDEXECFLAGS="-Wl,--export-dynamic"
13861 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x77f00000" >&5
13862 echo $ECHO_N "checking whether we can relocate the executable to 0x77f00000... $ECHO_C" >&6
13863 if test "${ac_cv_ld_reloc_exec+set}" = set; then
13864 echo $ECHO_N "(cached) $ECHO_C" >&6
13866 ac_wine_try_cflags_saved=$CFLAGS
13867 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x77f00400"
13868 cat >conftest.$ac_ext <<_ACEOF
13871 cat confdefs.h >>conftest.$ac_ext
13872 cat >>conftest.$ac_ext <<_ACEOF
13873 /* end confdefs.h. */
13883 rm -f conftest.$ac_objext conftest$ac_exeext
13884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13885 (eval $ac_link) 2>conftest.er1
13887 grep -v '^ *+' conftest.er1 >conftest.err
13889 cat conftest.err >&5
13890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13891 (exit $ac_status); } &&
13892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13894 (eval $ac_try) 2>&5
13896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13897 (exit $ac_status); }; } &&
13898 { ac_try='test -s conftest$ac_exeext'
13899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13900 (eval $ac_try) 2>&5
13902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13903 (exit $ac_status); }; }; then
13904 ac_cv_ld_reloc_exec="yes"
13906 echo "$as_me: failed program was:" >&5
13907 sed 's/^/| /' conftest.$ac_ext >&5
13909 ac_cv_ld_reloc_exec="no"
13911 rm -f conftest.err conftest.$ac_objext \
13912 conftest$ac_exeext conftest.$ac_ext
13913 CFLAGS=$ac_wine_try_cflags_saved
13915 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
13916 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
13917 if test "$ac_cv_ld_reloc_exec" = "yes"
13919 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x77f00400"
13925 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13926 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
13927 if test "${ac_cv_c_dll_unixware+set}" = set; then
13928 echo $ECHO_N "(cached) $ECHO_C" >&6
13930 ac_wine_try_cflags_saved=$CFLAGS
13931 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13932 cat >conftest.$ac_ext <<_ACEOF
13935 rm -f conftest.$ac_objext conftest$ac_exeext
13936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13937 (eval $ac_link) 2>conftest.er1
13939 grep -v '^ *+' conftest.er1 >conftest.err
13941 cat conftest.err >&5
13942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13943 (exit $ac_status); } &&
13944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13946 (eval $ac_try) 2>&5
13948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13949 (exit $ac_status); }; } &&
13950 { ac_try='test -s conftest$ac_exeext'
13951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13952 (eval $ac_try) 2>&5
13954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13955 (exit $ac_status); }; }; then
13956 ac_cv_c_dll_unixware="yes"
13958 echo "$as_me: failed program was:" >&5
13959 sed 's/^/| /' conftest.$ac_ext >&5
13961 ac_cv_c_dll_unixware="no"
13963 rm -f conftest.err conftest.$ac_objext \
13964 conftest$ac_exeext conftest.$ac_ext
13965 CFLAGS=$ac_wine_try_cflags_saved
13967 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13968 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
13969 if test "$ac_cv_c_dll_unixware" = "yes"
13971 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13972 LDDLLFLAGS="-Wl,-G,-B,symbolic"
13975 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
13976 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
13977 if test "${ac_cv_c_dll_macho+set}" = set; then
13978 echo $ECHO_N "(cached) $ECHO_C" >&6
13980 ac_wine_try_cflags_saved=$CFLAGS
13981 CFLAGS="$CFLAGS -bundle"
13982 cat >conftest.$ac_ext <<_ACEOF
13985 rm -f conftest.$ac_objext conftest$ac_exeext
13986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13987 (eval $ac_link) 2>conftest.er1
13989 grep -v '^ *+' conftest.er1 >conftest.err
13991 cat conftest.err >&5
13992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13993 (exit $ac_status); } &&
13994 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13996 (eval $ac_try) 2>&5
13998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13999 (exit $ac_status); }; } &&
14000 { ac_try='test -s conftest$ac_exeext'
14001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14002 (eval $ac_try) 2>&5
14004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14005 (exit $ac_status); }; }; then
14006 ac_cv_c_dll_macho="yes"
14008 echo "$as_me: failed program was:" >&5
14009 sed 's/^/| /' conftest.$ac_ext >&5
14011 ac_cv_c_dll_macho="no"
14013 rm -f conftest.err conftest.$ac_objext \
14014 conftest$ac_exeext conftest.$ac_ext
14015 CFLAGS=$ac_wine_try_cflags_saved
14017 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
14018 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
14019 if test "$ac_cv_c_dll_macho" = "yes"
14022 LDDLLFLAGS="-bundle -flat_namespace -undefined suppress -read_only_relocs warning"
14023 LDSHARED="\$(CC) -dynamiclib"
14024 CFLAGS="$CFLAGS -ffixed-r13 -no-cpp-precomp"
14025 STRIP="$STRIP -u -r"
14026 LDEXECFLAGS="-seg1addr 0x120000"
14028 LDLIBWINEFLAGS="-seg1addr 0x140000"
14030 COREFOUNDATIONLIB="-framework CoreFoundation"
14032 IOKITLIB="-framework IOKit"
14034 IOKITLIB="$IOKITLIB $COREFOUNDATIONLIB"
14036 echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
14037 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6
14038 if test "${ac_cv_c_dll_hpux+set}" = set; then
14039 echo $ECHO_N "(cached) $ECHO_C" >&6
14041 ac_wine_try_cflags_saved=$CFLAGS
14042 CFLAGS="$CFLAGS -shared"
14043 cat >conftest.$ac_ext <<_ACEOF
14046 rm -f conftest.$ac_objext conftest$ac_exeext
14047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14048 (eval $ac_link) 2>conftest.er1
14050 grep -v '^ *+' conftest.er1 >conftest.err
14052 cat conftest.err >&5
14053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14054 (exit $ac_status); } &&
14055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14057 (eval $ac_try) 2>&5
14059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14060 (exit $ac_status); }; } &&
14061 { ac_try='test -s conftest$ac_exeext'
14062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14063 (eval $ac_try) 2>&5
14065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066 (exit $ac_status); }; }; then
14067 ac_cv_c_dll_hpux="yes"
14069 echo "$as_me: failed program was:" >&5
14070 sed 's/^/| /' conftest.$ac_ext >&5
14072 ac_cv_c_dll_hpux="no"
14074 rm -f conftest.err conftest.$ac_objext \
14075 conftest$ac_exeext conftest.$ac_ext
14076 CFLAGS=$ac_wine_try_cflags_saved
14078 echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
14079 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6
14080 if test "$ac_cv_c_dll_hpux" = "yes"
14084 LDDLLFLAGS="-shared -fPIC"
14085 LDSHARED="\$(CC) -shared"
14094 if test "$cross_compiling" = "no"
14096 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
14098 # Extract the first word of "$ac_prog", so it can be a program name with args.
14099 set dummy $ac_prog; ac_word=$2
14100 echo "$as_me:$LINENO: checking for $ac_word" >&5
14101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14102 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14103 echo $ECHO_N "(cached) $ECHO_C" >&6
14105 if test -n "$CROSSCC"; then
14106 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
14108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14109 for as_dir in $PATH
14112 test -z "$as_dir" && as_dir=.
14113 for ac_exec_ext in '' $ac_executable_extensions; do
14114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14115 ac_cv_prog_CROSSCC="$ac_prog"
14116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14124 CROSSCC=$ac_cv_prog_CROSSCC
14125 if test -n "$CROSSCC"; then
14126 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14127 echo "${ECHO_T}$CROSSCC" >&6
14129 echo "$as_me:$LINENO: result: no" >&5
14130 echo "${ECHO_T}no" >&6
14133 test -n "$CROSSCC" && break
14135 test -n "$CROSSCC" || CROSSCC="false"
14137 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14139 # Extract the first word of "$ac_prog", so it can be a program name with args.
14140 set dummy $ac_prog; ac_word=$2
14141 echo "$as_me:$LINENO: checking for $ac_word" >&5
14142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14143 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14144 echo $ECHO_N "(cached) $ECHO_C" >&6
14146 if test -n "$DLLTOOL"; then
14147 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14150 for as_dir in $PATH
14153 test -z "$as_dir" && as_dir=.
14154 for ac_exec_ext in '' $ac_executable_extensions; do
14155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14156 ac_cv_prog_DLLTOOL="$ac_prog"
14157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14165 DLLTOOL=$ac_cv_prog_DLLTOOL
14166 if test -n "$DLLTOOL"; then
14167 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14168 echo "${ECHO_T}$DLLTOOL" >&6
14170 echo "$as_me:$LINENO: result: no" >&5
14171 echo "${ECHO_T}no" >&6
14174 test -n "$DLLTOOL" && break
14176 test -n "$DLLTOOL" || DLLTOOL="false"
14178 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
14180 # Extract the first word of "$ac_prog", so it can be a program name with args.
14181 set dummy $ac_prog; ac_word=$2
14182 echo "$as_me:$LINENO: checking for $ac_word" >&5
14183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14184 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14185 echo $ECHO_N "(cached) $ECHO_C" >&6
14187 if test -n "$CROSSWINDRES"; then
14188 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14191 for as_dir in $PATH
14194 test -z "$as_dir" && as_dir=.
14195 for ac_exec_ext in '' $ac_executable_extensions; do
14196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14197 ac_cv_prog_CROSSWINDRES="$ac_prog"
14198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14206 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14207 if test -n "$CROSSWINDRES"; then
14208 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14209 echo "${ECHO_T}$CROSSWINDRES" >&6
14211 echo "$as_me:$LINENO: result: no" >&5
14212 echo "${ECHO_T}no" >&6
14215 test -n "$CROSSWINDRES" && break
14217 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14219 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14224 if test "$LIBEXT" = "a"; then
14225 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14226 It is currently not possible to build Wine without shared library
14227 (.so) support to allow transparent switch between .so and .dll files.
14228 If you are using Linux, you will need a newer binutils.
14230 echo "$as_me: error: could not find a way to build shared libraries.
14231 It is currently not possible to build Wine without shared library
14232 (.so) support to allow transparent switch between .so and .dll files.
14233 If you are using Linux, you will need a newer binutils.
14235 { (exit 1); exit 1; }; }
14240 LDPATH="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14243 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14246 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14254 SOCKETLIBS="-lws2_32"
14262 *i[3456789]86*) WINE_BINARIES="wine-glibc wine-kthread wine-pthread wine-preloader"
14264 *) WINE_BINARIES="wine-glibc wine-kthread wine-pthread"
14267 MAIN_BINARY="wine-glibc"
14271 WINE_BINARIES="wine-pthread"
14273 MAIN_BINARY="wine-pthread"
14277 WINE_BINARIES="wine-kthread"
14279 MAIN_BINARY="wine-kthread"
14285 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14287 # Extract the first word of "ldd", so it can be a program name with args.
14288 set dummy ldd; ac_word=$2
14289 echo "$as_me:$LINENO: checking for $ac_word" >&5
14290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14291 if test "${ac_cv_path_LDD+set}" = set; then
14292 echo $ECHO_N "(cached) $ECHO_C" >&6
14296 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14300 as_dummy="/sbin:/usr/sbin:$PATH"
14301 for as_dir in $as_dummy
14304 test -z "$as_dir" && as_dir=.
14305 for ac_exec_ext in '' $ac_executable_extensions; do
14306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14307 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14314 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14318 LDD=$ac_cv_path_LDD
14320 if test -n "$LDD"; then
14321 echo "$as_me:$LINENO: result: $LDD" >&5
14322 echo "${ECHO_T}$LDD" >&6
14324 echo "$as_me:$LINENO: result: no" >&5
14325 echo "${ECHO_T}no" >&6
14329 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14330 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14331 if test "${ac_cv_lib_soname_X11+set}" = set; then
14332 echo $ECHO_N "(cached) $ECHO_C" >&6
14334 ac_get_soname_save_LIBS=$LIBS
14335 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14336 cat >conftest.$ac_ext <<_ACEOF
14339 cat confdefs.h >>conftest.$ac_ext
14340 cat >>conftest.$ac_ext <<_ACEOF
14341 /* end confdefs.h. */
14343 /* Override any gcc2 internal prototype to avoid an error. */
14347 /* We use char because int might match the return type of a gcc2
14348 builtin and then its argument prototype would still apply. */
14349 char XCreateWindow ();
14358 rm -f conftest.$ac_objext conftest$ac_exeext
14359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14360 (eval $ac_link) 2>conftest.er1
14362 grep -v '^ *+' conftest.er1 >conftest.err
14364 cat conftest.err >&5
14365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366 (exit $ac_status); } &&
14367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14369 (eval $ac_try) 2>&5
14371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372 (exit $ac_status); }; } &&
14373 { ac_try='test -s conftest$ac_exeext'
14374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14375 (eval $ac_try) 2>&5
14377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14378 (exit $ac_status); }; }; then
14379 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"`
14380 if test "x$ac_cv_lib_soname_X11" = "x"
14382 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14385 echo "$as_me: failed program was:" >&5
14386 sed 's/^/| /' conftest.$ac_ext >&5
14388 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14390 rm -f conftest.err conftest.$ac_objext \
14391 conftest$ac_exeext conftest.$ac_ext
14392 LIBS=$ac_get_soname_save_LIBS
14394 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14395 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14396 if test "x$ac_cv_lib_soname_X11" != xNONE
14398 cat >>confdefs.h <<_ACEOF
14399 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14403 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14404 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14405 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14406 echo $ECHO_N "(cached) $ECHO_C" >&6
14408 ac_get_soname_save_LIBS=$LIBS
14409 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14410 cat >conftest.$ac_ext <<_ACEOF
14413 cat confdefs.h >>conftest.$ac_ext
14414 cat >>conftest.$ac_ext <<_ACEOF
14415 /* end confdefs.h. */
14417 /* Override any gcc2 internal prototype to avoid an error. */
14421 /* We use char because int might match the return type of a gcc2
14422 builtin and then its argument prototype would still apply. */
14423 char XextCreateExtension ();
14427 XextCreateExtension ();
14432 rm -f conftest.$ac_objext conftest$ac_exeext
14433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14434 (eval $ac_link) 2>conftest.er1
14436 grep -v '^ *+' conftest.er1 >conftest.err
14438 cat conftest.err >&5
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 (exit $ac_status); } &&
14441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14443 (eval $ac_try) 2>&5
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); }; } &&
14447 { ac_try='test -s conftest$ac_exeext'
14448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14449 (eval $ac_try) 2>&5
14451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14452 (exit $ac_status); }; }; then
14453 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"`
14454 if test "x$ac_cv_lib_soname_Xext" = "x"
14456 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14459 echo "$as_me: failed program was:" >&5
14460 sed 's/^/| /' conftest.$ac_ext >&5
14462 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14464 rm -f conftest.err conftest.$ac_objext \
14465 conftest$ac_exeext conftest.$ac_ext
14466 LIBS=$ac_get_soname_save_LIBS
14468 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14469 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14470 if test "x$ac_cv_lib_soname_Xext" != xNONE
14472 cat >>confdefs.h <<_ACEOF
14473 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14477 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14478 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14479 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14480 echo $ECHO_N "(cached) $ECHO_C" >&6
14482 ac_get_soname_save_LIBS=$LIBS
14483 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14484 cat >conftest.$ac_ext <<_ACEOF
14487 cat confdefs.h >>conftest.$ac_ext
14488 cat >>conftest.$ac_ext <<_ACEOF
14489 /* end confdefs.h. */
14491 /* Override any gcc2 internal prototype to avoid an error. */
14495 /* We use char because int might match the return type of a gcc2
14496 builtin and then its argument prototype would still apply. */
14497 char XOpenDevice ();
14506 rm -f conftest.$ac_objext conftest$ac_exeext
14507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14508 (eval $ac_link) 2>conftest.er1
14510 grep -v '^ *+' conftest.er1 >conftest.err
14512 cat conftest.err >&5
14513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14514 (exit $ac_status); } &&
14515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14517 (eval $ac_try) 2>&5
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); }; } &&
14521 { ac_try='test -s conftest$ac_exeext'
14522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14523 (eval $ac_try) 2>&5
14525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14526 (exit $ac_status); }; }; then
14527 ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"`
14528 if test "x$ac_cv_lib_soname_Xi" = "x"
14530 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14533 echo "$as_me: failed program was:" >&5
14534 sed 's/^/| /' conftest.$ac_ext >&5
14536 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14538 rm -f conftest.err conftest.$ac_objext \
14539 conftest$ac_exeext conftest.$ac_ext
14540 LIBS=$ac_get_soname_save_LIBS
14542 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14543 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14544 if test "x$ac_cv_lib_soname_Xi" != xNONE
14546 cat >>confdefs.h <<_ACEOF
14547 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14551 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14552 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14553 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14554 echo $ECHO_N "(cached) $ECHO_C" >&6
14556 ac_get_soname_save_LIBS=$LIBS
14557 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14558 cat >conftest.$ac_ext <<_ACEOF
14561 cat confdefs.h >>conftest.$ac_ext
14562 cat >>conftest.$ac_ext <<_ACEOF
14563 /* end confdefs.h. */
14565 /* Override any gcc2 internal prototype to avoid an error. */
14569 /* We use char because int might match the return type of a gcc2
14570 builtin and then its argument prototype would still apply. */
14571 char XRenderQueryExtension ();
14575 XRenderQueryExtension ();
14580 rm -f conftest.$ac_objext conftest$ac_exeext
14581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14582 (eval $ac_link) 2>conftest.er1
14584 grep -v '^ *+' conftest.er1 >conftest.err
14586 cat conftest.err >&5
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 (exit $ac_status); } &&
14589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14591 (eval $ac_try) 2>&5
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); }; } &&
14595 { ac_try='test -s conftest$ac_exeext'
14596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14597 (eval $ac_try) 2>&5
14599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14600 (exit $ac_status); }; }; then
14601 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"`
14602 if test "x$ac_cv_lib_soname_Xrender" = "x"
14604 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14607 echo "$as_me: failed program was:" >&5
14608 sed 's/^/| /' conftest.$ac_ext >&5
14610 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14612 rm -f conftest.err conftest.$ac_objext \
14613 conftest$ac_exeext conftest.$ac_ext
14614 LIBS=$ac_get_soname_save_LIBS
14616 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14617 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14618 if test "x$ac_cv_lib_soname_Xrender" != xNONE
14620 cat >>confdefs.h <<_ACEOF
14621 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14625 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14626 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
14627 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14628 echo $ECHO_N "(cached) $ECHO_C" >&6
14630 ac_get_soname_save_LIBS=$LIBS
14631 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14632 cat >conftest.$ac_ext <<_ACEOF
14635 cat confdefs.h >>conftest.$ac_ext
14636 cat >>conftest.$ac_ext <<_ACEOF
14637 /* end confdefs.h. */
14639 /* Override any gcc2 internal prototype to avoid an error. */
14643 /* We use char because int might match the return type of a gcc2
14644 builtin and then its argument prototype would still apply. */
14645 char XRRQueryExtension ();
14649 XRRQueryExtension ();
14654 rm -f conftest.$ac_objext conftest$ac_exeext
14655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14656 (eval $ac_link) 2>conftest.er1
14658 grep -v '^ *+' conftest.er1 >conftest.err
14660 cat conftest.err >&5
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); } &&
14663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14665 (eval $ac_try) 2>&5
14667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14668 (exit $ac_status); }; } &&
14669 { ac_try='test -s conftest$ac_exeext'
14670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14671 (eval $ac_try) 2>&5
14673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14674 (exit $ac_status); }; }; then
14675 ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"`
14676 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14678 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14681 echo "$as_me: failed program was:" >&5
14682 sed 's/^/| /' conftest.$ac_ext >&5
14684 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14686 rm -f conftest.err conftest.$ac_objext \
14687 conftest$ac_exeext conftest.$ac_ext
14688 LIBS=$ac_get_soname_save_LIBS
14690 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14691 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
14692 if test "x$ac_cv_lib_soname_Xrandr" != xNONE
14694 cat >>confdefs.h <<_ACEOF
14695 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14699 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14700 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14701 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14702 echo $ECHO_N "(cached) $ECHO_C" >&6
14704 ac_get_soname_save_LIBS=$LIBS
14705 LIBS="-lfreetype $X_LIBS $LIBS"
14706 cat >conftest.$ac_ext <<_ACEOF
14709 cat confdefs.h >>conftest.$ac_ext
14710 cat >>conftest.$ac_ext <<_ACEOF
14711 /* end confdefs.h. */
14713 /* Override any gcc2 internal prototype to avoid an error. */
14717 /* We use char because int might match the return type of a gcc2
14718 builtin and then its argument prototype would still apply. */
14719 char FT_Init_FreeType ();
14723 FT_Init_FreeType ();
14728 rm -f conftest.$ac_objext conftest$ac_exeext
14729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14730 (eval $ac_link) 2>conftest.er1
14732 grep -v '^ *+' conftest.er1 >conftest.err
14734 cat conftest.err >&5
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); } &&
14737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; } &&
14743 { ac_try='test -s conftest$ac_exeext'
14744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14745 (eval $ac_try) 2>&5
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); }; }; then
14749 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"`
14750 if test "x$ac_cv_lib_soname_freetype" = "x"
14752 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14755 echo "$as_me: failed program was:" >&5
14756 sed 's/^/| /' conftest.$ac_ext >&5
14758 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14760 rm -f conftest.err conftest.$ac_objext \
14761 conftest$ac_exeext conftest.$ac_ext
14762 LIBS=$ac_get_soname_save_LIBS
14764 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14765 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
14766 if test "x$ac_cv_lib_soname_freetype" != xNONE
14768 cat >>confdefs.h <<_ACEOF
14769 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14773 echo "$as_me:$LINENO: checking for -lGL soname" >&5
14774 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
14775 if test "${ac_cv_lib_soname_GL+set}" = set; then
14776 echo $ECHO_N "(cached) $ECHO_C" >&6
14778 ac_get_soname_save_LIBS=$LIBS
14779 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14780 cat >conftest.$ac_ext <<_ACEOF
14783 cat confdefs.h >>conftest.$ac_ext
14784 cat >>conftest.$ac_ext <<_ACEOF
14785 /* end confdefs.h. */
14787 /* Override any gcc2 internal prototype to avoid an error. */
14791 /* We use char because int might match the return type of a gcc2
14792 builtin and then its argument prototype would still apply. */
14793 char glXQueryExtension ();
14797 glXQueryExtension ();
14802 rm -f conftest.$ac_objext conftest$ac_exeext
14803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14804 (eval $ac_link) 2>conftest.er1
14806 grep -v '^ *+' conftest.er1 >conftest.err
14808 cat conftest.err >&5
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); } &&
14811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14813 (eval $ac_try) 2>&5
14815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816 (exit $ac_status); }; } &&
14817 { ac_try='test -s conftest$ac_exeext'
14818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14819 (eval $ac_try) 2>&5
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); }; }; then
14823 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"`
14824 if test "x$ac_cv_lib_soname_GL" = "x"
14826 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14829 echo "$as_me: failed program was:" >&5
14830 sed 's/^/| /' conftest.$ac_ext >&5
14832 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14834 rm -f conftest.err conftest.$ac_objext \
14835 conftest$ac_exeext conftest.$ac_ext
14836 LIBS=$ac_get_soname_save_LIBS
14838 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14839 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
14840 if test "x$ac_cv_lib_soname_GL" != xNONE
14842 cat >>confdefs.h <<_ACEOF
14843 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14847 echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14848 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6
14849 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14850 echo $ECHO_N "(cached) $ECHO_C" >&6
14852 ac_get_soname_save_LIBS=$LIBS
14853 LIBS="-ltxc_dxtn $LIBS"
14854 cat >conftest.$ac_ext <<_ACEOF
14857 cat confdefs.h >>conftest.$ac_ext
14858 cat >>conftest.$ac_ext <<_ACEOF
14859 /* end confdefs.h. */
14861 /* Override any gcc2 internal prototype to avoid an error. */
14865 /* We use char because int might match the return type of a gcc2
14866 builtin and then its argument prototype would still apply. */
14867 char fetch_2d_texel_rgba_dxt1 ();
14871 fetch_2d_texel_rgba_dxt1 ();
14876 rm -f conftest.$ac_objext conftest$ac_exeext
14877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14878 (eval $ac_link) 2>conftest.er1
14880 grep -v '^ *+' conftest.er1 >conftest.err
14882 cat conftest.err >&5
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); } &&
14885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14887 (eval $ac_try) 2>&5
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); }; } &&
14891 { ac_try='test -s conftest$ac_exeext'
14892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14893 (eval $ac_try) 2>&5
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); }; }; then
14897 ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"`
14898 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
14900 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14903 echo "$as_me: failed program was:" >&5
14904 sed 's/^/| /' conftest.$ac_ext >&5
14906 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14908 rm -f conftest.err conftest.$ac_objext \
14909 conftest$ac_exeext conftest.$ac_ext
14910 LIBS=$ac_get_soname_save_LIBS
14912 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
14913 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6
14914 if test "x$ac_cv_lib_soname_txc_dxtn" != xNONE
14916 cat >>confdefs.h <<_ACEOF
14917 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
14921 echo "$as_me:$LINENO: checking for -lcups soname" >&5
14922 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
14923 if test "${ac_cv_lib_soname_cups+set}" = set; then
14924 echo $ECHO_N "(cached) $ECHO_C" >&6
14926 ac_get_soname_save_LIBS=$LIBS
14927 LIBS="-lcups $LIBS"
14928 cat >conftest.$ac_ext <<_ACEOF
14931 cat confdefs.h >>conftest.$ac_ext
14932 cat >>conftest.$ac_ext <<_ACEOF
14933 /* end confdefs.h. */
14935 /* Override any gcc2 internal prototype to avoid an error. */
14939 /* We use char because int might match the return type of a gcc2
14940 builtin and then its argument prototype would still apply. */
14941 char cupsGetDefault ();
14950 rm -f conftest.$ac_objext conftest$ac_exeext
14951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14952 (eval $ac_link) 2>conftest.er1
14954 grep -v '^ *+' conftest.er1 >conftest.err
14956 cat conftest.err >&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); } &&
14959 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14961 (eval $ac_try) 2>&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; } &&
14965 { ac_try='test -s conftest$ac_exeext'
14966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14967 (eval $ac_try) 2>&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; }; then
14971 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"`
14972 if test "x$ac_cv_lib_soname_cups" = "x"
14974 ac_cv_lib_soname_cups="libcups.$LIBEXT"
14977 echo "$as_me: failed program was:" >&5
14978 sed 's/^/| /' conftest.$ac_ext >&5
14980 ac_cv_lib_soname_cups="libcups.$LIBEXT"
14982 rm -f conftest.err conftest.$ac_objext \
14983 conftest$ac_exeext conftest.$ac_ext
14984 LIBS=$ac_get_soname_save_LIBS
14986 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14987 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
14988 if test "x$ac_cv_lib_soname_cups" != xNONE
14990 cat >>confdefs.h <<_ACEOF
14991 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14995 echo "$as_me:$LINENO: checking for -ljack soname" >&5
14996 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
14997 if test "${ac_cv_lib_soname_jack+set}" = set; then
14998 echo $ECHO_N "(cached) $ECHO_C" >&6
15000 ac_get_soname_save_LIBS=$LIBS
15001 LIBS="-ljack $LIBS"
15002 cat >conftest.$ac_ext <<_ACEOF
15005 cat confdefs.h >>conftest.$ac_ext
15006 cat >>conftest.$ac_ext <<_ACEOF
15007 /* end confdefs.h. */
15009 /* Override any gcc2 internal prototype to avoid an error. */
15013 /* We use char because int might match the return type of a gcc2
15014 builtin and then its argument prototype would still apply. */
15015 char jack_client_new ();
15019 jack_client_new ();
15024 rm -f conftest.$ac_objext conftest$ac_exeext
15025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15026 (eval $ac_link) 2>conftest.er1
15028 grep -v '^ *+' conftest.er1 >conftest.err
15030 cat conftest.err >&5
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); } &&
15033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15035 (eval $ac_try) 2>&5
15037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 (exit $ac_status); }; } &&
15039 { ac_try='test -s conftest$ac_exeext'
15040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15041 (eval $ac_try) 2>&5
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); }; }; then
15045 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"`
15046 if test "x$ac_cv_lib_soname_jack" = "x"
15048 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15051 echo "$as_me: failed program was:" >&5
15052 sed 's/^/| /' conftest.$ac_ext >&5
15054 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15056 rm -f conftest.err conftest.$ac_objext \
15057 conftest$ac_exeext conftest.$ac_ext
15058 LIBS=$ac_get_soname_save_LIBS
15060 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15061 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15062 if test "x$ac_cv_lib_soname_jack" != xNONE
15064 cat >>confdefs.h <<_ACEOF
15065 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15069 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15070 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15071 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15072 echo $ECHO_N "(cached) $ECHO_C" >&6
15074 ac_get_soname_save_LIBS=$LIBS
15075 LIBS="-lfontconfig $LIBS"
15076 cat >conftest.$ac_ext <<_ACEOF
15079 cat confdefs.h >>conftest.$ac_ext
15080 cat >>conftest.$ac_ext <<_ACEOF
15081 /* end confdefs.h. */
15083 /* Override any gcc2 internal prototype to avoid an error. */
15087 /* We use char because int might match the return type of a gcc2
15088 builtin and then its argument prototype would still apply. */
15098 rm -f conftest.$ac_objext conftest$ac_exeext
15099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15100 (eval $ac_link) 2>conftest.er1
15102 grep -v '^ *+' conftest.er1 >conftest.err
15104 cat conftest.err >&5
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); } &&
15107 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15109 (eval $ac_try) 2>&5
15111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15112 (exit $ac_status); }; } &&
15113 { ac_try='test -s conftest$ac_exeext'
15114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15115 (eval $ac_try) 2>&5
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118 (exit $ac_status); }; }; then
15119 ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"`
15120 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15122 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15125 echo "$as_me: failed program was:" >&5
15126 sed 's/^/| /' conftest.$ac_ext >&5
15128 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15130 rm -f conftest.err conftest.$ac_objext \
15131 conftest$ac_exeext conftest.$ac_ext
15132 LIBS=$ac_get_soname_save_LIBS
15134 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15135 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15136 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
15138 cat >>confdefs.h <<_ACEOF
15139 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15143 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15144 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15145 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15146 echo $ECHO_N "(cached) $ECHO_C" >&6
15148 ac_get_soname_save_LIBS=$LIBS
15150 cat >conftest.$ac_ext <<_ACEOF
15153 cat confdefs.h >>conftest.$ac_ext
15154 cat >>conftest.$ac_ext <<_ACEOF
15155 /* end confdefs.h. */
15157 /* Override any gcc2 internal prototype to avoid an error. */
15161 /* We use char because int might match the return type of a gcc2
15162 builtin and then its argument prototype would still apply. */
15163 char SSL_library_init ();
15167 SSL_library_init ();
15172 rm -f conftest.$ac_objext conftest$ac_exeext
15173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15174 (eval $ac_link) 2>conftest.er1
15176 grep -v '^ *+' conftest.er1 >conftest.err
15178 cat conftest.err >&5
15179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180 (exit $ac_status); } &&
15181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15183 (eval $ac_try) 2>&5
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); }; } &&
15187 { ac_try='test -s conftest$ac_exeext'
15188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15189 (eval $ac_try) 2>&5
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); }; }; then
15193 ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"`
15194 if test "x$ac_cv_lib_soname_ssl" = "x"
15196 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15199 echo "$as_me: failed program was:" >&5
15200 sed 's/^/| /' conftest.$ac_ext >&5
15202 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15204 rm -f conftest.err conftest.$ac_objext \
15205 conftest$ac_exeext conftest.$ac_ext
15206 LIBS=$ac_get_soname_save_LIBS
15208 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15209 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15210 if test "x$ac_cv_lib_soname_ssl" != xNONE
15212 cat >>confdefs.h <<_ACEOF
15213 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15217 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15218 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15219 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15220 echo $ECHO_N "(cached) $ECHO_C" >&6
15222 ac_get_soname_save_LIBS=$LIBS
15223 LIBS="-lcrypto $LIBS"
15224 cat >conftest.$ac_ext <<_ACEOF
15227 cat confdefs.h >>conftest.$ac_ext
15228 cat >>conftest.$ac_ext <<_ACEOF
15229 /* end confdefs.h. */
15231 /* Override any gcc2 internal prototype to avoid an error. */
15235 /* We use char because int might match the return type of a gcc2
15236 builtin and then its argument prototype would still apply. */
15237 char BIO_new_socket ();
15246 rm -f conftest.$ac_objext conftest$ac_exeext
15247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15248 (eval $ac_link) 2>conftest.er1
15250 grep -v '^ *+' conftest.er1 >conftest.err
15252 cat conftest.err >&5
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); } &&
15255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15257 (eval $ac_try) 2>&5
15259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15260 (exit $ac_status); }; } &&
15261 { ac_try='test -s conftest$ac_exeext'
15262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15263 (eval $ac_try) 2>&5
15265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15266 (exit $ac_status); }; }; then
15267 ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"`
15268 if test "x$ac_cv_lib_soname_crypto" = "x"
15270 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15273 echo "$as_me: failed program was:" >&5
15274 sed 's/^/| /' conftest.$ac_ext >&5
15276 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15278 rm -f conftest.err conftest.$ac_objext \
15279 conftest$ac_exeext conftest.$ac_ext
15280 LIBS=$ac_get_soname_save_LIBS
15282 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15283 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15284 if test "x$ac_cv_lib_soname_crypto" != xNONE
15286 cat >>confdefs.h <<_ACEOF
15287 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15291 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15292 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15293 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15294 echo $ECHO_N "(cached) $ECHO_C" >&6
15296 ac_get_soname_save_LIBS=$LIBS
15297 LIBS="-lncurses $LIBS"
15298 cat >conftest.$ac_ext <<_ACEOF
15301 cat confdefs.h >>conftest.$ac_ext
15302 cat >>conftest.$ac_ext <<_ACEOF
15303 /* end confdefs.h. */
15305 /* Override any gcc2 internal prototype to avoid an error. */
15309 /* We use char because int might match the return type of a gcc2
15310 builtin and then its argument prototype would still apply. */
15320 rm -f conftest.$ac_objext conftest$ac_exeext
15321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15322 (eval $ac_link) 2>conftest.er1
15324 grep -v '^ *+' conftest.er1 >conftest.err
15326 cat conftest.err >&5
15327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15328 (exit $ac_status); } &&
15329 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15331 (eval $ac_try) 2>&5
15333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15334 (exit $ac_status); }; } &&
15335 { ac_try='test -s conftest$ac_exeext'
15336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15337 (eval $ac_try) 2>&5
15339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15340 (exit $ac_status); }; }; then
15341 ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"`
15342 if test "x$ac_cv_lib_soname_ncurses" = "x"
15344 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15347 echo "$as_me: failed program was:" >&5
15348 sed 's/^/| /' conftest.$ac_ext >&5
15350 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15352 rm -f conftest.err conftest.$ac_objext \
15353 conftest$ac_exeext conftest.$ac_ext
15354 LIBS=$ac_get_soname_save_LIBS
15356 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15357 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15358 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15360 cat >>confdefs.h <<_ACEOF
15361 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15365 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15366 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15367 if test "${ac_cv_lib_soname_curses+set}" = set; then
15368 echo $ECHO_N "(cached) $ECHO_C" >&6
15370 ac_get_soname_save_LIBS=$LIBS
15371 LIBS="-lcurses $LIBS"
15372 cat >conftest.$ac_ext <<_ACEOF
15375 cat confdefs.h >>conftest.$ac_ext
15376 cat >>conftest.$ac_ext <<_ACEOF
15377 /* end confdefs.h. */
15379 /* Override any gcc2 internal prototype to avoid an error. */
15383 /* We use char because int might match the return type of a gcc2
15384 builtin and then its argument prototype would still apply. */
15394 rm -f conftest.$ac_objext conftest$ac_exeext
15395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15396 (eval $ac_link) 2>conftest.er1
15398 grep -v '^ *+' conftest.er1 >conftest.err
15400 cat conftest.err >&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); } &&
15403 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15405 (eval $ac_try) 2>&5
15407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15408 (exit $ac_status); }; } &&
15409 { ac_try='test -s conftest$ac_exeext'
15410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15411 (eval $ac_try) 2>&5
15413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15414 (exit $ac_status); }; }; then
15415 ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"`
15416 if test "x$ac_cv_lib_soname_curses" = "x"
15418 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15421 echo "$as_me: failed program was:" >&5
15422 sed 's/^/| /' conftest.$ac_ext >&5
15424 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15426 rm -f conftest.err conftest.$ac_objext \
15427 conftest$ac_exeext conftest.$ac_ext
15428 LIBS=$ac_get_soname_save_LIBS
15430 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15431 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15432 if test "x$ac_cv_lib_soname_curses" != xNONE
15434 cat >>confdefs.h <<_ACEOF
15435 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15439 echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15440 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6
15441 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15442 echo $ECHO_N "(cached) $ECHO_C" >&6
15444 ac_get_soname_save_LIBS=$LIBS
15445 LIBS="-ljpeg $LIBS"
15446 cat >conftest.$ac_ext <<_ACEOF
15449 cat confdefs.h >>conftest.$ac_ext
15450 cat >>conftest.$ac_ext <<_ACEOF
15451 /* end confdefs.h. */
15453 /* Override any gcc2 internal prototype to avoid an error. */
15457 /* We use char because int might match the return type of a gcc2
15458 builtin and then its argument prototype would still apply. */
15459 char jpeg_start_decompress ();
15463 jpeg_start_decompress ();
15468 rm -f conftest.$ac_objext conftest$ac_exeext
15469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15470 (eval $ac_link) 2>conftest.er1
15472 grep -v '^ *+' conftest.er1 >conftest.err
15474 cat conftest.err >&5
15475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15476 (exit $ac_status); } &&
15477 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15479 (eval $ac_try) 2>&5
15481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15482 (exit $ac_status); }; } &&
15483 { ac_try='test -s conftest$ac_exeext'
15484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15485 (eval $ac_try) 2>&5
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); }; }; then
15489 ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"`
15490 if test "x$ac_cv_lib_soname_jpeg" = "x"
15492 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15495 echo "$as_me: failed program was:" >&5
15496 sed 's/^/| /' conftest.$ac_ext >&5
15498 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15500 rm -f conftest.err conftest.$ac_objext \
15501 conftest$ac_exeext conftest.$ac_ext
15502 LIBS=$ac_get_soname_save_LIBS
15504 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15505 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6
15506 if test "x$ac_cv_lib_soname_jpeg" != xNONE
15508 cat >>confdefs.h <<_ACEOF
15509 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15513 echo "$as_me:$LINENO: checking for -lungif soname" >&5
15514 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6
15515 if test "${ac_cv_lib_soname_ungif+set}" = set; then
15516 echo $ECHO_N "(cached) $ECHO_C" >&6
15518 ac_get_soname_save_LIBS=$LIBS
15519 LIBS="-lungif $LIBS"
15520 cat >conftest.$ac_ext <<_ACEOF
15523 cat confdefs.h >>conftest.$ac_ext
15524 cat >>conftest.$ac_ext <<_ACEOF
15525 /* end confdefs.h. */
15527 /* Override any gcc2 internal prototype to avoid an error. */
15531 /* We use char because int might match the return type of a gcc2
15532 builtin and then its argument prototype would still apply. */
15542 rm -f conftest.$ac_objext conftest$ac_exeext
15543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15544 (eval $ac_link) 2>conftest.er1
15546 grep -v '^ *+' conftest.er1 >conftest.err
15548 cat conftest.err >&5
15549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15550 (exit $ac_status); } &&
15551 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15553 (eval $ac_try) 2>&5
15555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556 (exit $ac_status); }; } &&
15557 { ac_try='test -s conftest$ac_exeext'
15558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15559 (eval $ac_try) 2>&5
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562 (exit $ac_status); }; }; then
15563 ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"`
15564 if test "x$ac_cv_lib_soname_ungif" = "x"
15566 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
15569 echo "$as_me: failed program was:" >&5
15570 sed 's/^/| /' conftest.$ac_ext >&5
15572 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
15574 rm -f conftest.err conftest.$ac_objext \
15575 conftest$ac_exeext conftest.$ac_ext
15576 LIBS=$ac_get_soname_save_LIBS
15578 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
15579 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6
15580 if test "x$ac_cv_lib_soname_ungif" != xNONE
15582 cat >>confdefs.h <<_ACEOF
15583 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
15587 echo "$as_me:$LINENO: checking for -lgif soname" >&5
15588 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6
15589 if test "${ac_cv_lib_soname_gif+set}" = set; then
15590 echo $ECHO_N "(cached) $ECHO_C" >&6
15592 ac_get_soname_save_LIBS=$LIBS
15594 cat >conftest.$ac_ext <<_ACEOF
15597 cat confdefs.h >>conftest.$ac_ext
15598 cat >>conftest.$ac_ext <<_ACEOF
15599 /* end confdefs.h. */
15601 /* Override any gcc2 internal prototype to avoid an error. */
15605 /* We use char because int might match the return type of a gcc2
15606 builtin and then its argument prototype would still apply. */
15616 rm -f conftest.$ac_objext conftest$ac_exeext
15617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15618 (eval $ac_link) 2>conftest.er1
15620 grep -v '^ *+' conftest.er1 >conftest.err
15622 cat conftest.err >&5
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); } &&
15625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15627 (eval $ac_try) 2>&5
15629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15630 (exit $ac_status); }; } &&
15631 { ac_try='test -s conftest$ac_exeext'
15632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15633 (eval $ac_try) 2>&5
15635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15636 (exit $ac_status); }; }; then
15637 ac_cv_lib_soname_gif=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"`
15638 if test "x$ac_cv_lib_soname_gif" = "x"
15640 ac_cv_lib_soname_gif="libgif.$LIBEXT"
15643 echo "$as_me: failed program was:" >&5
15644 sed 's/^/| /' conftest.$ac_ext >&5
15646 ac_cv_lib_soname_gif="libgif.$LIBEXT"
15648 rm -f conftest.err conftest.$ac_objext \
15649 conftest$ac_exeext conftest.$ac_ext
15650 LIBS=$ac_get_soname_save_LIBS
15652 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
15653 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6
15654 if test "x$ac_cv_lib_soname_gif" != xNONE
15656 cat >>confdefs.h <<_ACEOF
15657 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
15661 echo "$as_me:$LINENO: checking for -llcms soname" >&5
15662 echo $ECHO_N "checking for -llcms soname... $ECHO_C" >&6
15663 if test "${ac_cv_lib_soname_lcms+set}" = set; then
15664 echo $ECHO_N "(cached) $ECHO_C" >&6
15666 ac_get_soname_save_LIBS=$LIBS
15667 LIBS="-llcms $LIBS"
15668 cat >conftest.$ac_ext <<_ACEOF
15671 cat confdefs.h >>conftest.$ac_ext
15672 cat >>conftest.$ac_ext <<_ACEOF
15673 /* end confdefs.h. */
15675 /* Override any gcc2 internal prototype to avoid an error. */
15679 /* We use char because int might match the return type of a gcc2
15680 builtin and then its argument prototype would still apply. */
15681 char cmsOpenProfileFromFile ();
15685 cmsOpenProfileFromFile ();
15690 rm -f conftest.$ac_objext conftest$ac_exeext
15691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15692 (eval $ac_link) 2>conftest.er1
15694 grep -v '^ *+' conftest.er1 >conftest.err
15696 cat conftest.err >&5
15697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15698 (exit $ac_status); } &&
15699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15701 (eval $ac_try) 2>&5
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); }; } &&
15705 { ac_try='test -s conftest$ac_exeext'
15706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15707 (eval $ac_try) 2>&5
15709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15710 (exit $ac_status); }; }; then
15711 ac_cv_lib_soname_lcms=`$ac_cv_path_LDD conftest$ac_exeext | grep liblcms\\.$LIBEXT | sed "s/^.*\(liblcms\.$LIBEXT[^ ]*\).*$/\1/"`
15712 if test "x$ac_cv_lib_soname_lcms" = "x"
15714 ac_cv_lib_soname_lcms="liblcms.$LIBEXT"
15717 echo "$as_me: failed program was:" >&5
15718 sed 's/^/| /' conftest.$ac_ext >&5
15720 ac_cv_lib_soname_lcms="liblcms.$LIBEXT"
15722 rm -f conftest.err conftest.$ac_objext \
15723 conftest$ac_exeext conftest.$ac_ext
15724 LIBS=$ac_get_soname_save_LIBS
15726 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_lcms" >&5
15727 echo "${ECHO_T}$ac_cv_lib_soname_lcms" >&6
15728 if test "x$ac_cv_lib_soname_lcms" != xNONE
15730 cat >>confdefs.h <<_ACEOF
15731 #define SONAME_LIBLCMS "$ac_cv_lib_soname_lcms"
15735 echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15736 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6
15737 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15738 echo $ECHO_N "(cached) $ECHO_C" >&6
15740 ac_get_soname_save_LIBS=$LIBS
15741 LIBS="-lcapi20 $LIBS"
15742 cat >conftest.$ac_ext <<_ACEOF
15745 cat confdefs.h >>conftest.$ac_ext
15746 cat >>conftest.$ac_ext <<_ACEOF
15747 /* end confdefs.h. */
15749 /* Override any gcc2 internal prototype to avoid an error. */
15753 /* We use char because int might match the return type of a gcc2
15754 builtin and then its argument prototype would still apply. */
15755 char capi20_isinstalled ();
15759 capi20_isinstalled ();
15764 rm -f conftest.$ac_objext conftest$ac_exeext
15765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15766 (eval $ac_link) 2>conftest.er1
15768 grep -v '^ *+' conftest.er1 >conftest.err
15770 cat conftest.err >&5
15771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15772 (exit $ac_status); } &&
15773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15775 (eval $ac_try) 2>&5
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); }; } &&
15779 { ac_try='test -s conftest$ac_exeext'
15780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15781 (eval $ac_try) 2>&5
15783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15784 (exit $ac_status); }; }; then
15785 ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.$LIBEXT | sed "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"`
15786 if test "x$ac_cv_lib_soname_capi20" = "x"
15788 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15791 echo "$as_me: failed program was:" >&5
15792 sed 's/^/| /' conftest.$ac_ext >&5
15794 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15796 rm -f conftest.err conftest.$ac_objext \
15797 conftest$ac_exeext conftest.$ac_ext
15798 LIBS=$ac_get_soname_save_LIBS
15800 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15801 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6
15802 if test "x$ac_cv_lib_soname_capi20" != xNONE
15804 cat >>confdefs.h <<_ACEOF
15805 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15812 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15813 # for constant arguments. Useless!
15814 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15815 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15816 if test "${ac_cv_working_alloca_h+set}" = set; then
15817 echo $ECHO_N "(cached) $ECHO_C" >&6
15819 cat >conftest.$ac_ext <<_ACEOF
15822 cat confdefs.h >>conftest.$ac_ext
15823 cat >>conftest.$ac_ext <<_ACEOF
15824 /* end confdefs.h. */
15825 #include <alloca.h>
15829 char *p = (char *) alloca (2 * sizeof (int));
15834 rm -f conftest.$ac_objext conftest$ac_exeext
15835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15836 (eval $ac_link) 2>conftest.er1
15838 grep -v '^ *+' conftest.er1 >conftest.err
15840 cat conftest.err >&5
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); } &&
15843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15845 (eval $ac_try) 2>&5
15847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848 (exit $ac_status); }; } &&
15849 { ac_try='test -s conftest$ac_exeext'
15850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15851 (eval $ac_try) 2>&5
15853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15854 (exit $ac_status); }; }; then
15855 ac_cv_working_alloca_h=yes
15857 echo "$as_me: failed program was:" >&5
15858 sed 's/^/| /' conftest.$ac_ext >&5
15860 ac_cv_working_alloca_h=no
15862 rm -f conftest.err conftest.$ac_objext \
15863 conftest$ac_exeext conftest.$ac_ext
15865 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15866 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15867 if test $ac_cv_working_alloca_h = yes; then
15869 cat >>confdefs.h <<\_ACEOF
15870 #define HAVE_ALLOCA_H 1
15875 echo "$as_me:$LINENO: checking for alloca" >&5
15876 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15877 if test "${ac_cv_func_alloca_works+set}" = set; then
15878 echo $ECHO_N "(cached) $ECHO_C" >&6
15880 cat >conftest.$ac_ext <<_ACEOF
15883 cat confdefs.h >>conftest.$ac_ext
15884 cat >>conftest.$ac_ext <<_ACEOF
15885 /* end confdefs.h. */
15887 # define alloca __builtin_alloca
15890 # include <malloc.h>
15891 # define alloca _alloca
15894 # include <alloca.h>
15899 # ifndef alloca /* predefined by HP cc +Olibcalls */
15910 char *p = (char *) alloca (1);
15915 rm -f conftest.$ac_objext conftest$ac_exeext
15916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15917 (eval $ac_link) 2>conftest.er1
15919 grep -v '^ *+' conftest.er1 >conftest.err
15921 cat conftest.err >&5
15922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15923 (exit $ac_status); } &&
15924 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15926 (eval $ac_try) 2>&5
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); }; } &&
15930 { ac_try='test -s conftest$ac_exeext'
15931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15932 (eval $ac_try) 2>&5
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); }; }; then
15936 ac_cv_func_alloca_works=yes
15938 echo "$as_me: failed program was:" >&5
15939 sed 's/^/| /' conftest.$ac_ext >&5
15941 ac_cv_func_alloca_works=no
15943 rm -f conftest.err conftest.$ac_objext \
15944 conftest$ac_exeext conftest.$ac_ext
15946 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15947 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15949 if test $ac_cv_func_alloca_works = yes; then
15951 cat >>confdefs.h <<\_ACEOF
15952 #define HAVE_ALLOCA 1
15956 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15957 # that cause trouble. Some versions do not even contain alloca or
15958 # contain a buggy version. If you still want to use their alloca,
15959 # use ar to extract alloca.o from them instead of compiling alloca.c.
15961 ALLOCA=alloca.$ac_objext
15963 cat >>confdefs.h <<\_ACEOF
15968 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15969 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15970 if test "${ac_cv_os_cray+set}" = set; then
15971 echo $ECHO_N "(cached) $ECHO_C" >&6
15973 cat >conftest.$ac_ext <<_ACEOF
15976 cat confdefs.h >>conftest.$ac_ext
15977 cat >>conftest.$ac_ext <<_ACEOF
15978 /* end confdefs.h. */
15979 #if defined(CRAY) && ! defined(CRAY2)
15986 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15987 $EGREP "webecray" >/dev/null 2>&1; then
15995 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15996 echo "${ECHO_T}$ac_cv_os_cray" >&6
15997 if test $ac_cv_os_cray = yes; then
15998 for ac_func in _getb67 GETB67 getb67; do
15999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16000 echo "$as_me:$LINENO: checking for $ac_func" >&5
16001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16002 if eval "test \"\${$as_ac_var+set}\" = set"; then
16003 echo $ECHO_N "(cached) $ECHO_C" >&6
16005 cat >conftest.$ac_ext <<_ACEOF
16008 cat confdefs.h >>conftest.$ac_ext
16009 cat >>conftest.$ac_ext <<_ACEOF
16010 /* end confdefs.h. */
16011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16013 #define $ac_func innocuous_$ac_func
16015 /* System header to define __stub macros and hopefully few prototypes,
16016 which can conflict with char $ac_func (); below.
16017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16018 <limits.h> exists even on freestanding compilers. */
16021 # include <limits.h>
16023 # include <assert.h>
16028 /* Override any gcc2 internal prototype to avoid an error. */
16033 /* We use char because int might match the return type of a gcc2
16034 builtin and then its argument prototype would still apply. */
16036 /* The GNU C library defines this for functions which it implements
16037 to always fail with ENOSYS. Some functions are actually named
16038 something starting with __ and the normal name is an alias. */
16039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16042 char (*f) () = $ac_func;
16051 return f != $ac_func;
16056 rm -f conftest.$ac_objext conftest$ac_exeext
16057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16058 (eval $ac_link) 2>conftest.er1
16060 grep -v '^ *+' conftest.er1 >conftest.err
16062 cat conftest.err >&5
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); } &&
16065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16067 (eval $ac_try) 2>&5
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); }; } &&
16071 { ac_try='test -s conftest$ac_exeext'
16072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16073 (eval $ac_try) 2>&5
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); }; }; then
16077 eval "$as_ac_var=yes"
16079 echo "$as_me: failed program was:" >&5
16080 sed 's/^/| /' conftest.$ac_ext >&5
16082 eval "$as_ac_var=no"
16084 rm -f conftest.err conftest.$ac_objext \
16085 conftest$ac_exeext conftest.$ac_ext
16087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16089 if test `eval echo '${'$as_ac_var'}'` = yes; then
16091 cat >>confdefs.h <<_ACEOF
16092 #define CRAY_STACKSEG_END $ac_func
16101 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16102 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
16103 if test "${ac_cv_c_stack_direction+set}" = set; then
16104 echo $ECHO_N "(cached) $ECHO_C" >&6
16106 if test "$cross_compiling" = yes; then
16107 ac_cv_c_stack_direction=0
16109 cat >conftest.$ac_ext <<_ACEOF
16112 cat confdefs.h >>conftest.$ac_ext
16113 cat >>conftest.$ac_ext <<_ACEOF
16114 /* end confdefs.h. */
16116 find_stack_direction ()
16118 static char *addr = 0;
16123 return find_stack_direction ();
16126 return (&dummy > addr) ? 1 : -1;
16132 exit (find_stack_direction () < 0);
16135 rm -f conftest$ac_exeext
16136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16137 (eval $ac_link) 2>&5
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16142 (eval $ac_try) 2>&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); }; }; then
16146 ac_cv_c_stack_direction=1
16148 echo "$as_me: program exited with status $ac_status" >&5
16149 echo "$as_me: failed program was:" >&5
16150 sed 's/^/| /' conftest.$ac_ext >&5
16152 ( exit $ac_status )
16153 ac_cv_c_stack_direction=-1
16155 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16158 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16159 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16161 cat >>confdefs.h <<_ACEOF
16162 #define STACK_DIRECTION $ac_cv_c_stack_direction
16291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16292 echo "$as_me:$LINENO: checking for $ac_func" >&5
16293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16294 if eval "test \"\${$as_ac_var+set}\" = set"; then
16295 echo $ECHO_N "(cached) $ECHO_C" >&6
16297 cat >conftest.$ac_ext <<_ACEOF
16300 cat confdefs.h >>conftest.$ac_ext
16301 cat >>conftest.$ac_ext <<_ACEOF
16302 /* end confdefs.h. */
16303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16305 #define $ac_func innocuous_$ac_func
16307 /* System header to define __stub macros and hopefully few prototypes,
16308 which can conflict with char $ac_func (); below.
16309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16310 <limits.h> exists even on freestanding compilers. */
16313 # include <limits.h>
16315 # include <assert.h>
16320 /* Override any gcc2 internal prototype to avoid an error. */
16325 /* We use char because int might match the return type of a gcc2
16326 builtin and then its argument prototype would still apply. */
16328 /* The GNU C library defines this for functions which it implements
16329 to always fail with ENOSYS. Some functions are actually named
16330 something starting with __ and the normal name is an alias. */
16331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16334 char (*f) () = $ac_func;
16343 return f != $ac_func;
16348 rm -f conftest.$ac_objext conftest$ac_exeext
16349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16350 (eval $ac_link) 2>conftest.er1
16352 grep -v '^ *+' conftest.er1 >conftest.err
16354 cat conftest.err >&5
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); } &&
16357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16359 (eval $ac_try) 2>&5
16361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16362 (exit $ac_status); }; } &&
16363 { ac_try='test -s conftest$ac_exeext'
16364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16365 (eval $ac_try) 2>&5
16367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16368 (exit $ac_status); }; }; then
16369 eval "$as_ac_var=yes"
16371 echo "$as_me: failed program was:" >&5
16372 sed 's/^/| /' conftest.$ac_ext >&5
16374 eval "$as_ac_var=no"
16376 rm -f conftest.err conftest.$ac_objext \
16377 conftest$ac_exeext conftest.$ac_ext
16379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16381 if test `eval echo '${'$as_ac_var'}'` = yes; then
16382 cat >>confdefs.h <<_ACEOF
16383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16393 for ac_header in sys/mount.h sys/user.h
16395 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16396 echo "$as_me:$LINENO: checking for $ac_header" >&5
16397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16399 echo $ECHO_N "(cached) $ECHO_C" >&6
16401 cat >conftest.$ac_ext <<_ACEOF
16404 cat confdefs.h >>conftest.$ac_ext
16405 cat >>conftest.$ac_ext <<_ACEOF
16406 /* end confdefs.h. */
16407 #include <sys/types.h>
16408 #if HAVE_SYS_PARAM_H
16409 # include <sys/param.h>
16412 #include <$ac_header>
16414 rm -f conftest.$ac_objext
16415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16416 (eval $ac_compile) 2>conftest.er1
16418 grep -v '^ *+' conftest.er1 >conftest.err
16420 cat conftest.err >&5
16421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16422 (exit $ac_status); } &&
16423 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16425 (eval $ac_try) 2>&5
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); }; } &&
16429 { ac_try='test -s conftest.$ac_objext'
16430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16431 (eval $ac_try) 2>&5
16433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16434 (exit $ac_status); }; }; then
16435 eval "$as_ac_Header=yes"
16437 echo "$as_me: failed program was:" >&5
16438 sed 's/^/| /' conftest.$ac_ext >&5
16440 eval "$as_ac_Header=no"
16442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16445 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16446 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16447 cat >>confdefs.h <<_ACEOF
16448 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16461 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h
16463 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16464 echo "$as_me:$LINENO: checking for $ac_header" >&5
16465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16467 echo $ECHO_N "(cached) $ECHO_C" >&6
16469 cat >conftest.$ac_ext <<_ACEOF
16472 cat confdefs.h >>conftest.$ac_ext
16473 cat >>conftest.$ac_ext <<_ACEOF
16474 /* end confdefs.h. */
16475 #include <sys/types.h>
16476 #if HAVE_SYS_SOCKET_H
16477 # include <sys/socket.h>
16480 #include <$ac_header>
16482 rm -f conftest.$ac_objext
16483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16484 (eval $ac_compile) 2>conftest.er1
16486 grep -v '^ *+' conftest.er1 >conftest.err
16488 cat conftest.err >&5
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); } &&
16491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16493 (eval $ac_try) 2>&5
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); }; } &&
16497 { ac_try='test -s conftest.$ac_objext'
16498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16499 (eval $ac_try) 2>&5
16501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16502 (exit $ac_status); }; }; then
16503 eval "$as_ac_Header=yes"
16505 echo "$as_me: failed program was:" >&5
16506 sed 's/^/| /' conftest.$ac_ext >&5
16508 eval "$as_ac_Header=no"
16510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16513 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16514 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16515 cat >>confdefs.h <<_ACEOF
16516 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16525 for ac_header in resolv.h
16527 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16528 echo "$as_me:$LINENO: checking for $ac_header" >&5
16529 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16531 echo $ECHO_N "(cached) $ECHO_C" >&6
16533 cat >conftest.$ac_ext <<_ACEOF
16536 cat confdefs.h >>conftest.$ac_ext
16537 cat >>conftest.$ac_ext <<_ACEOF
16538 /* end confdefs.h. */
16539 #include <sys/types.h>
16540 #if HAVE_SYS_SOCKET_H
16541 # include <sys/socket.h>
16543 #if HAVE_NETINET_IN_H
16544 # include <netinet/in.h>
16546 #if HAVE_ARPA_NAMESER_H
16547 # include <arpa/nameser.h>
16550 #include <$ac_header>
16552 rm -f conftest.$ac_objext
16553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16554 (eval $ac_compile) 2>conftest.er1
16556 grep -v '^ *+' conftest.er1 >conftest.err
16558 cat conftest.err >&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); } &&
16561 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16563 (eval $ac_try) 2>&5
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); }; } &&
16567 { ac_try='test -s conftest.$ac_objext'
16568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16569 (eval $ac_try) 2>&5
16571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572 (exit $ac_status); }; }; then
16573 eval "$as_ac_Header=yes"
16575 echo "$as_me: failed program was:" >&5
16576 sed 's/^/| /' conftest.$ac_ext >&5
16578 eval "$as_ac_Header=no"
16580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16584 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16585 cat >>confdefs.h <<_ACEOF
16586 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16595 for ac_header in ucontext.h
16597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16598 echo "$as_me:$LINENO: checking for $ac_header" >&5
16599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16601 echo $ECHO_N "(cached) $ECHO_C" >&6
16603 cat >conftest.$ac_ext <<_ACEOF
16606 cat confdefs.h >>conftest.$ac_ext
16607 cat >>conftest.$ac_ext <<_ACEOF
16608 /* end confdefs.h. */
16609 #include <signal.h>
16611 #include <$ac_header>
16613 rm -f conftest.$ac_objext
16614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16615 (eval $ac_compile) 2>conftest.er1
16617 grep -v '^ *+' conftest.er1 >conftest.err
16619 cat conftest.err >&5
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); } &&
16622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16624 (eval $ac_try) 2>&5
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); }; } &&
16628 { ac_try='test -s conftest.$ac_objext'
16629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16630 (eval $ac_try) 2>&5
16632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16633 (exit $ac_status); }; }; then
16634 eval "$as_ac_Header=yes"
16636 echo "$as_me: failed program was:" >&5
16637 sed 's/^/| /' conftest.$ac_ext >&5
16639 eval "$as_ac_Header=no"
16641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16646 cat >>confdefs.h <<_ACEOF
16647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16657 for ac_header in linux/videodev.h
16659 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16660 echo "$as_me:$LINENO: checking for $ac_header" >&5
16661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16663 echo $ECHO_N "(cached) $ECHO_C" >&6
16665 cat >conftest.$ac_ext <<_ACEOF
16668 cat confdefs.h >>conftest.$ac_ext
16669 cat >>conftest.$ac_ext <<_ACEOF
16670 /* end confdefs.h. */
16671 #ifdef HAVE_SYS_TIME_H
16672 #include <sys/time.h>
16674 #ifdef HAVE_ASM_TYPES_H
16675 #include <asm/types.h>
16678 #include <$ac_header>
16680 rm -f conftest.$ac_objext
16681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16682 (eval $ac_compile) 2>conftest.er1
16684 grep -v '^ *+' conftest.er1 >conftest.err
16686 cat conftest.err >&5
16687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16688 (exit $ac_status); } &&
16689 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16691 (eval $ac_try) 2>&5
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); }; } &&
16695 { ac_try='test -s conftest.$ac_objext'
16696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16697 (eval $ac_try) 2>&5
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); }; }; then
16701 eval "$as_ac_Header=yes"
16703 echo "$as_me: failed program was:" >&5
16704 sed 's/^/| /' conftest.$ac_ext >&5
16706 eval "$as_ac_Header=no"
16708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16713 cat >>confdefs.h <<_ACEOF
16714 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16723 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
16724 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
16725 if test "${ac_cv_c_ipx_gnu+set}" = set; then
16726 echo $ECHO_N "(cached) $ECHO_C" >&6
16728 cat >conftest.$ac_ext <<_ACEOF
16731 cat confdefs.h >>conftest.$ac_ext
16732 cat >>conftest.$ac_ext <<_ACEOF
16733 /* end confdefs.h. */
16734 #include <sys/types.h>
16735 #ifdef HAVE_SYS_SOCKET_H
16736 # include <sys/socket.h>
16738 #include <netipx/ipx.h>
16742 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16747 rm -f conftest.$ac_objext
16748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16749 (eval $ac_compile) 2>conftest.er1
16751 grep -v '^ *+' conftest.er1 >conftest.err
16753 cat conftest.err >&5
16754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16755 (exit $ac_status); } &&
16756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16758 (eval $ac_try) 2>&5
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); }; } &&
16762 { ac_try='test -s conftest.$ac_objext'
16763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16764 (eval $ac_try) 2>&5
16766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16767 (exit $ac_status); }; }; then
16768 ac_cv_c_ipx_gnu="yes"
16770 echo "$as_me: failed program was:" >&5
16771 sed 's/^/| /' conftest.$ac_ext >&5
16773 ac_cv_c_ipx_gnu="no"
16775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16778 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
16779 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
16780 if test "$ac_cv_c_ipx_gnu" = "yes"
16783 cat >>confdefs.h <<\_ACEOF
16784 #define HAVE_IPX_GNU 1
16789 if test "$ac_cv_c_ipx_gnu" = "no"
16791 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
16792 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
16793 if test "${ac_cv_c_ipx_linux+set}" = set; then
16794 echo $ECHO_N "(cached) $ECHO_C" >&6
16796 cat >conftest.$ac_ext <<_ACEOF
16799 cat confdefs.h >>conftest.$ac_ext
16800 cat >>conftest.$ac_ext <<_ACEOF
16801 /* end confdefs.h. */
16802 #include <sys/types.h>
16803 #ifdef HAVE_SYS_SOCKET_H
16804 # include <sys/socket.h>
16806 #include <asm/types.h>
16807 #include <linux/ipx.h>
16811 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16816 rm -f conftest.$ac_objext
16817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16818 (eval $ac_compile) 2>conftest.er1
16820 grep -v '^ *+' conftest.er1 >conftest.err
16822 cat conftest.err >&5
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); } &&
16825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16827 (eval $ac_try) 2>&5
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); }; } &&
16831 { ac_try='test -s conftest.$ac_objext'
16832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16833 (eval $ac_try) 2>&5
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); }; }; then
16837 ac_cv_c_ipx_linux="yes"
16839 echo "$as_me: failed program was:" >&5
16840 sed 's/^/| /' conftest.$ac_ext >&5
16842 ac_cv_c_ipx_linux="no"
16844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16847 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
16848 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
16849 if test "$ac_cv_c_ipx_linux" = "yes"
16852 cat >>confdefs.h <<\_ACEOF
16853 #define HAVE_IPX_LINUX 1
16860 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16861 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16862 if test "${ac_cv_c_const+set}" = set; then
16863 echo $ECHO_N "(cached) $ECHO_C" >&6
16865 cat >conftest.$ac_ext <<_ACEOF
16868 cat confdefs.h >>conftest.$ac_ext
16869 cat >>conftest.$ac_ext <<_ACEOF
16870 /* end confdefs.h. */
16875 /* FIXME: Include the comments suggested by Paul. */
16876 #ifndef __cplusplus
16877 /* Ultrix mips cc rejects this. */
16878 typedef int charset[2];
16880 /* SunOS 4.1.1 cc rejects this. */
16881 char const *const *ccp;
16883 /* NEC SVR4.0.2 mips cc rejects this. */
16884 struct point {int x, y;};
16885 static struct point const zero = {0,0};
16886 /* AIX XL C 1.02.0.0 rejects this.
16887 It does not let you subtract one const X* pointer from another in
16888 an arm of an if-expression whose if-part is not a constant
16890 const char *g = "string";
16891 ccp = &g + (g ? g-g : 0);
16892 /* HPUX 7.0 cc rejects these. */
16895 ccp = (char const *const *) p;
16896 { /* SCO 3.2v4 cc rejects this. */
16898 char const *s = 0 ? (char *) 0 : (char const *) 0;
16902 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16903 int x[] = {25, 17};
16904 const int *foo = &x[0];
16907 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16908 typedef const int *iptr;
16912 { /* AIX XL C 1.02.0.0 rejects this saying
16913 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16914 struct s { int j; const int *ap[3]; };
16915 struct s *b; b->j = 5;
16917 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16918 const int foo = 10;
16926 rm -f conftest.$ac_objext
16927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16928 (eval $ac_compile) 2>conftest.er1
16930 grep -v '^ *+' conftest.er1 >conftest.err
16932 cat conftest.err >&5
16933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934 (exit $ac_status); } &&
16935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16937 (eval $ac_try) 2>&5
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); }; } &&
16941 { ac_try='test -s conftest.$ac_objext'
16942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16943 (eval $ac_try) 2>&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); }; }; then
16949 echo "$as_me: failed program was:" >&5
16950 sed 's/^/| /' conftest.$ac_ext >&5
16954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16956 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16957 echo "${ECHO_T}$ac_cv_c_const" >&6
16958 if test $ac_cv_c_const = no; then
16960 cat >>confdefs.h <<\_ACEOF
16966 echo "$as_me:$LINENO: checking for inline" >&5
16967 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16968 if test "${ac_cv_c_inline+set}" = set; then
16969 echo $ECHO_N "(cached) $ECHO_C" >&6
16972 for ac_kw in inline __inline__ __inline; do
16973 cat >conftest.$ac_ext <<_ACEOF
16976 cat confdefs.h >>conftest.$ac_ext
16977 cat >>conftest.$ac_ext <<_ACEOF
16978 /* end confdefs.h. */
16979 #ifndef __cplusplus
16981 static $ac_kw foo_t static_foo () {return 0; }
16982 $ac_kw foo_t foo () {return 0; }
16986 rm -f conftest.$ac_objext
16987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16988 (eval $ac_compile) 2>conftest.er1
16990 grep -v '^ *+' conftest.er1 >conftest.err
16992 cat conftest.err >&5
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); } &&
16995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16997 (eval $ac_try) 2>&5
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); }; } &&
17001 { ac_try='test -s conftest.$ac_objext'
17002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003 (eval $ac_try) 2>&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); }; }; then
17007 ac_cv_c_inline=$ac_kw; break
17009 echo "$as_me: failed program was:" >&5
17010 sed 's/^/| /' conftest.$ac_ext >&5
17013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17017 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17018 echo "${ECHO_T}$ac_cv_c_inline" >&6
17021 case $ac_cv_c_inline in
17024 case $ac_cv_c_inline in
17026 *) ac_val=$ac_cv_c_inline;;
17028 cat >>confdefs.h <<_ACEOF
17029 #ifndef __cplusplus
17030 #define inline $ac_val
17036 echo "$as_me:$LINENO: checking for mode_t" >&5
17037 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
17038 if test "${ac_cv_type_mode_t+set}" = set; then
17039 echo $ECHO_N "(cached) $ECHO_C" >&6
17041 cat >conftest.$ac_ext <<_ACEOF
17044 cat confdefs.h >>conftest.$ac_ext
17045 cat >>conftest.$ac_ext <<_ACEOF
17046 /* end confdefs.h. */
17047 $ac_includes_default
17053 if (sizeof (mode_t))
17059 rm -f conftest.$ac_objext
17060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17061 (eval $ac_compile) 2>conftest.er1
17063 grep -v '^ *+' conftest.er1 >conftest.err
17065 cat conftest.err >&5
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); } &&
17068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17070 (eval $ac_try) 2>&5
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); }; } &&
17074 { ac_try='test -s conftest.$ac_objext'
17075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17076 (eval $ac_try) 2>&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); }; }; then
17080 ac_cv_type_mode_t=yes
17082 echo "$as_me: failed program was:" >&5
17083 sed 's/^/| /' conftest.$ac_ext >&5
17085 ac_cv_type_mode_t=no
17087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17089 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17090 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
17091 if test $ac_cv_type_mode_t = yes; then
17093 cat >>confdefs.h <<_ACEOF
17094 #define HAVE_MODE_T 1
17099 echo "$as_me:$LINENO: checking for off_t" >&5
17100 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
17101 if test "${ac_cv_type_off_t+set}" = set; then
17102 echo $ECHO_N "(cached) $ECHO_C" >&6
17104 cat >conftest.$ac_ext <<_ACEOF
17107 cat confdefs.h >>conftest.$ac_ext
17108 cat >>conftest.$ac_ext <<_ACEOF
17109 /* end confdefs.h. */
17110 $ac_includes_default
17116 if (sizeof (off_t))
17122 rm -f conftest.$ac_objext
17123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17124 (eval $ac_compile) 2>conftest.er1
17126 grep -v '^ *+' conftest.er1 >conftest.err
17128 cat conftest.err >&5
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); } &&
17131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17133 (eval $ac_try) 2>&5
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); }; } &&
17137 { ac_try='test -s conftest.$ac_objext'
17138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17139 (eval $ac_try) 2>&5
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 (exit $ac_status); }; }; then
17143 ac_cv_type_off_t=yes
17145 echo "$as_me: failed program was:" >&5
17146 sed 's/^/| /' conftest.$ac_ext >&5
17148 ac_cv_type_off_t=no
17150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17152 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17153 echo "${ECHO_T}$ac_cv_type_off_t" >&6
17154 if test $ac_cv_type_off_t = yes; then
17156 cat >>confdefs.h <<_ACEOF
17157 #define HAVE_OFF_T 1
17162 echo "$as_me:$LINENO: checking for pid_t" >&5
17163 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17164 if test "${ac_cv_type_pid_t+set}" = set; then
17165 echo $ECHO_N "(cached) $ECHO_C" >&6
17167 cat >conftest.$ac_ext <<_ACEOF
17170 cat confdefs.h >>conftest.$ac_ext
17171 cat >>conftest.$ac_ext <<_ACEOF
17172 /* end confdefs.h. */
17173 $ac_includes_default
17179 if (sizeof (pid_t))
17185 rm -f conftest.$ac_objext
17186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17187 (eval $ac_compile) 2>conftest.er1
17189 grep -v '^ *+' conftest.er1 >conftest.err
17191 cat conftest.err >&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } &&
17194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196 (eval $ac_try) 2>&5
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; } &&
17200 { ac_try='test -s conftest.$ac_objext'
17201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17202 (eval $ac_try) 2>&5
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); }; }; then
17206 ac_cv_type_pid_t=yes
17208 echo "$as_me: failed program was:" >&5
17209 sed 's/^/| /' conftest.$ac_ext >&5
17211 ac_cv_type_pid_t=no
17213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17215 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17216 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
17217 if test $ac_cv_type_pid_t = yes; then
17219 cat >>confdefs.h <<_ACEOF
17220 #define HAVE_PID_T 1
17225 echo "$as_me:$LINENO: checking for size_t" >&5
17226 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17227 if test "${ac_cv_type_size_t+set}" = set; then
17228 echo $ECHO_N "(cached) $ECHO_C" >&6
17230 cat >conftest.$ac_ext <<_ACEOF
17233 cat confdefs.h >>conftest.$ac_ext
17234 cat >>conftest.$ac_ext <<_ACEOF
17235 /* end confdefs.h. */
17236 $ac_includes_default
17242 if (sizeof (size_t))
17248 rm -f conftest.$ac_objext
17249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17250 (eval $ac_compile) 2>conftest.er1
17252 grep -v '^ *+' conftest.er1 >conftest.err
17254 cat conftest.err >&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } &&
17257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17259 (eval $ac_try) 2>&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); }; } &&
17263 { ac_try='test -s conftest.$ac_objext'
17264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17265 (eval $ac_try) 2>&5
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); }; }; then
17269 ac_cv_type_size_t=yes
17271 echo "$as_me: failed program was:" >&5
17272 sed 's/^/| /' conftest.$ac_ext >&5
17274 ac_cv_type_size_t=no
17276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17278 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17279 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17280 if test $ac_cv_type_size_t = yes; then
17282 cat >>confdefs.h <<_ACEOF
17283 #define HAVE_SIZE_T 1
17288 echo "$as_me:$LINENO: checking for ssize_t" >&5
17289 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17290 if test "${ac_cv_type_ssize_t+set}" = set; then
17291 echo $ECHO_N "(cached) $ECHO_C" >&6
17293 cat >conftest.$ac_ext <<_ACEOF
17296 cat confdefs.h >>conftest.$ac_ext
17297 cat >>conftest.$ac_ext <<_ACEOF
17298 /* end confdefs.h. */
17299 $ac_includes_default
17305 if (sizeof (ssize_t))
17311 rm -f conftest.$ac_objext
17312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17313 (eval $ac_compile) 2>conftest.er1
17315 grep -v '^ *+' conftest.er1 >conftest.err
17317 cat conftest.err >&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } &&
17320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17322 (eval $ac_try) 2>&5
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); }; } &&
17326 { ac_try='test -s conftest.$ac_objext'
17327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17328 (eval $ac_try) 2>&5
17330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17331 (exit $ac_status); }; }; then
17332 ac_cv_type_ssize_t=yes
17334 echo "$as_me: failed program was:" >&5
17335 sed 's/^/| /' conftest.$ac_ext >&5
17337 ac_cv_type_ssize_t=no
17339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17341 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17342 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
17343 if test $ac_cv_type_ssize_t = yes; then
17345 cat >>confdefs.h <<_ACEOF
17346 #define HAVE_SSIZE_T 1
17351 echo "$as_me:$LINENO: checking for long long" >&5
17352 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17353 if test "${ac_cv_type_long_long+set}" = set; then
17354 echo $ECHO_N "(cached) $ECHO_C" >&6
17356 cat >conftest.$ac_ext <<_ACEOF
17359 cat confdefs.h >>conftest.$ac_ext
17360 cat >>conftest.$ac_ext <<_ACEOF
17361 /* end confdefs.h. */
17362 $ac_includes_default
17366 if ((long long *) 0)
17368 if (sizeof (long long))
17374 rm -f conftest.$ac_objext
17375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17376 (eval $ac_compile) 2>conftest.er1
17378 grep -v '^ *+' conftest.er1 >conftest.err
17380 cat conftest.err >&5
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); } &&
17383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17385 (eval $ac_try) 2>&5
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); }; } &&
17389 { ac_try='test -s conftest.$ac_objext'
17390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17391 (eval $ac_try) 2>&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; }; then
17395 ac_cv_type_long_long=yes
17397 echo "$as_me: failed program was:" >&5
17398 sed 's/^/| /' conftest.$ac_ext >&5
17400 ac_cv_type_long_long=no
17402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17404 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17405 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17406 if test $ac_cv_type_long_long = yes; then
17408 cat >>confdefs.h <<_ACEOF
17409 #define HAVE_LONG_LONG 1
17414 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17415 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
17416 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17417 echo $ECHO_N "(cached) $ECHO_C" >&6
17419 cat >conftest.$ac_ext <<_ACEOF
17422 cat confdefs.h >>conftest.$ac_ext
17423 cat >>conftest.$ac_ext <<_ACEOF
17424 /* end confdefs.h. */
17425 $ac_includes_default
17429 if ((fsblkcnt_t *) 0)
17431 if (sizeof (fsblkcnt_t))
17437 rm -f conftest.$ac_objext
17438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17439 (eval $ac_compile) 2>conftest.er1
17441 grep -v '^ *+' conftest.er1 >conftest.err
17443 cat conftest.err >&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); } &&
17446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17448 (eval $ac_try) 2>&5
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); }; } &&
17452 { ac_try='test -s conftest.$ac_objext'
17453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17454 (eval $ac_try) 2>&5
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); }; }; then
17458 ac_cv_type_fsblkcnt_t=yes
17460 echo "$as_me: failed program was:" >&5
17461 sed 's/^/| /' conftest.$ac_ext >&5
17463 ac_cv_type_fsblkcnt_t=no
17465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17467 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17468 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
17469 if test $ac_cv_type_fsblkcnt_t = yes; then
17471 cat >>confdefs.h <<_ACEOF
17472 #define HAVE_FSBLKCNT_T 1
17477 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17478 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
17479 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17480 echo $ECHO_N "(cached) $ECHO_C" >&6
17482 cat >conftest.$ac_ext <<_ACEOF
17485 cat confdefs.h >>conftest.$ac_ext
17486 cat >>conftest.$ac_ext <<_ACEOF
17487 /* end confdefs.h. */
17488 $ac_includes_default
17492 if ((fsfilcnt_t *) 0)
17494 if (sizeof (fsfilcnt_t))
17500 rm -f conftest.$ac_objext
17501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17502 (eval $ac_compile) 2>conftest.er1
17504 grep -v '^ *+' conftest.er1 >conftest.err
17506 cat conftest.err >&5
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); } &&
17509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17511 (eval $ac_try) 2>&5
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); }; } &&
17515 { ac_try='test -s conftest.$ac_objext'
17516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17517 (eval $ac_try) 2>&5
17519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 (exit $ac_status); }; }; then
17521 ac_cv_type_fsfilcnt_t=yes
17523 echo "$as_me: failed program was:" >&5
17524 sed 's/^/| /' conftest.$ac_ext >&5
17526 ac_cv_type_fsfilcnt_t=no
17528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17530 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17531 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
17532 if test $ac_cv_type_fsfilcnt_t = yes; then
17534 cat >>confdefs.h <<_ACEOF
17535 #define HAVE_FSFILCNT_T 1
17541 echo "$as_me:$LINENO: checking for sigset_t" >&5
17542 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6
17543 if test "${ac_cv_type_sigset_t+set}" = set; then
17544 echo $ECHO_N "(cached) $ECHO_C" >&6
17546 cat >conftest.$ac_ext <<_ACEOF
17549 cat confdefs.h >>conftest.$ac_ext
17550 cat >>conftest.$ac_ext <<_ACEOF
17551 /* end confdefs.h. */
17552 #include <signal.h>
17557 if ((sigset_t *) 0)
17559 if (sizeof (sigset_t))
17565 rm -f conftest.$ac_objext
17566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17567 (eval $ac_compile) 2>conftest.er1
17569 grep -v '^ *+' conftest.er1 >conftest.err
17571 cat conftest.err >&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); } &&
17574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17576 (eval $ac_try) 2>&5
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); }; } &&
17580 { ac_try='test -s conftest.$ac_objext'
17581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17582 (eval $ac_try) 2>&5
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); }; }; then
17586 ac_cv_type_sigset_t=yes
17588 echo "$as_me: failed program was:" >&5
17589 sed 's/^/| /' conftest.$ac_ext >&5
17591 ac_cv_type_sigset_t=no
17593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17595 echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17596 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6
17597 if test $ac_cv_type_sigset_t = yes; then
17599 cat >>confdefs.h <<_ACEOF
17600 #define HAVE_SIGSET_T 1
17607 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17608 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17609 if test "${wine_cv_linux_input_h+set}" = set; then
17610 echo $ECHO_N "(cached) $ECHO_C" >&6
17612 cat >conftest.$ac_ext <<_ACEOF
17615 cat confdefs.h >>conftest.$ac_ext
17616 cat >>conftest.$ac_ext <<_ACEOF
17617 /* end confdefs.h. */
17619 #include <linux/input.h>
17625 int foo = EVIOCGBIT(EV_ABS,42);
17626 int bar = BTN_PINKIE;
17633 rm -f conftest.$ac_objext
17634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17635 (eval $ac_compile) 2>conftest.er1
17637 grep -v '^ *+' conftest.er1 >conftest.err
17639 cat conftest.err >&5
17640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17641 (exit $ac_status); } &&
17642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17644 (eval $ac_try) 2>&5
17646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17647 (exit $ac_status); }; } &&
17648 { ac_try='test -s conftest.$ac_objext'
17649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17650 (eval $ac_try) 2>&5
17652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); }; }; then
17654 wine_cv_linux_input_h=yes
17656 echo "$as_me: failed program was:" >&5
17657 sed 's/^/| /' conftest.$ac_ext >&5
17659 wine_cv_linux_input_h=no
17661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17664 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
17665 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
17666 if test "$wine_cv_linux_input_h" = "yes"
17669 cat >>confdefs.h <<\_ACEOF
17670 #define HAVE_CORRECT_LINUXINPUT_H 1
17675 echo "$as_me:$LINENO: checking for sigaddset" >&5
17676 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6
17677 if test "${wine_cv_have_sigaddset+set}" = set; then
17678 echo $ECHO_N "(cached) $ECHO_C" >&6
17680 cat >conftest.$ac_ext <<_ACEOF
17683 cat confdefs.h >>conftest.$ac_ext
17684 cat >>conftest.$ac_ext <<_ACEOF
17685 /* end confdefs.h. */
17686 #include <signal.h>
17690 sigset_t set; sigaddset(&set,SIGTERM);
17695 rm -f conftest.$ac_objext conftest$ac_exeext
17696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17697 (eval $ac_link) 2>conftest.er1
17699 grep -v '^ *+' conftest.er1 >conftest.err
17701 cat conftest.err >&5
17702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17703 (exit $ac_status); } &&
17704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17706 (eval $ac_try) 2>&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); }; } &&
17710 { ac_try='test -s conftest$ac_exeext'
17711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17712 (eval $ac_try) 2>&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); }; }; then
17716 wine_cv_have_sigaddset=yes
17718 echo "$as_me: failed program was:" >&5
17719 sed 's/^/| /' conftest.$ac_ext >&5
17721 wine_cv_have_sigaddset=no
17723 rm -f conftest.err conftest.$ac_objext \
17724 conftest$ac_exeext conftest.$ac_ext
17726 echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17727 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6
17728 if test "$wine_cv_have_sigaddset" = "yes"
17731 cat >>confdefs.h <<\_ACEOF
17732 #define HAVE_SIGADDSET 1
17738 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17739 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
17740 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17741 echo $ECHO_N "(cached) $ECHO_C" >&6
17743 cat >conftest.$ac_ext <<_ACEOF
17746 cat confdefs.h >>conftest.$ac_ext
17747 cat >>conftest.$ac_ext <<_ACEOF
17748 /* end confdefs.h. */
17758 struct hostent *result;
17765 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17766 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17772 rm -f conftest.$ac_objext conftest$ac_exeext
17773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17774 (eval $ac_link) 2>conftest.er1
17776 grep -v '^ *+' conftest.er1 >conftest.err
17778 cat conftest.err >&5
17779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780 (exit $ac_status); } &&
17781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17783 (eval $ac_try) 2>&5
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); }; } &&
17787 { ac_try='test -s conftest$ac_exeext'
17788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17789 (eval $ac_try) 2>&5
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); }; }; then
17793 wine_cv_linux_gethostbyname_r_6=yes
17795 echo "$as_me: failed program was:" >&5
17796 sed 's/^/| /' conftest.$ac_ext >&5
17798 wine_cv_linux_gethostbyname_r_6=no
17801 rm -f conftest.err conftest.$ac_objext \
17802 conftest$ac_exeext conftest.$ac_ext
17805 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17806 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
17807 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17810 cat >>confdefs.h <<\_ACEOF
17811 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17816 if test "$ac_cv_header_linux_joystick_h" = "yes"
17818 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17819 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
17820 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17821 echo $ECHO_N "(cached) $ECHO_C" >&6
17823 cat >conftest.$ac_ext <<_ACEOF
17826 cat confdefs.h >>conftest.$ac_ext
17827 cat >>conftest.$ac_ext <<_ACEOF
17828 /* end confdefs.h. */
17830 #include <sys/ioctl.h>
17831 #include <linux/joystick.h>
17833 struct js_event blub;
17834 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17835 #error "no 2.2 header"
17846 rm -f conftest.$ac_objext
17847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17848 (eval $ac_compile) 2>conftest.er1
17850 grep -v '^ *+' conftest.er1 >conftest.err
17852 cat conftest.err >&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); } &&
17855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17857 (eval $ac_try) 2>&5
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); }; } &&
17861 { ac_try='test -s conftest.$ac_objext'
17862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17863 (eval $ac_try) 2>&5
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); }; }; then
17867 wine_cv_linux_joystick_22_api=yes
17869 echo "$as_me: failed program was:" >&5
17870 sed 's/^/| /' conftest.$ac_ext >&5
17872 wine_cv_linux_joystick_22_api=no
17874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17877 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17878 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
17879 if test "$wine_cv_linux_joystick_22_api" = "yes"
17882 cat >>confdefs.h <<\_ACEOF
17883 #define HAVE_LINUX_22_JOYSTICK_API 1
17890 if test "$ac_cv_header_sys_vfs_h" = "yes"
17892 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
17893 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
17894 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
17895 echo $ECHO_N "(cached) $ECHO_C" >&6
17897 cat >conftest.$ac_ext <<_ACEOF
17900 cat confdefs.h >>conftest.$ac_ext
17901 cat >>conftest.$ac_ext <<_ACEOF
17902 /* end confdefs.h. */
17904 #include <sys/types.h>
17905 #ifdef HAVE_SYS_PARAM_H
17906 # include <sys/param.h>
17908 #include <sys/vfs.h>
17914 struct statfs stfs;
17916 memset(&stfs,0,sizeof(stfs));
17922 rm -f conftest.$ac_objext
17923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17924 (eval $ac_compile) 2>conftest.er1
17926 grep -v '^ *+' conftest.er1 >conftest.err
17928 cat conftest.err >&5
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); } &&
17931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17933 (eval $ac_try) 2>&5
17935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17936 (exit $ac_status); }; } &&
17937 { ac_try='test -s conftest.$ac_objext'
17938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17939 (eval $ac_try) 2>&5
17941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942 (exit $ac_status); }; }; then
17943 wine_cv_sys_vfs_has_statfs=yes
17945 echo "$as_me: failed program was:" >&5
17946 sed 's/^/| /' conftest.$ac_ext >&5
17948 wine_cv_sys_vfs_has_statfs=no
17951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17954 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
17955 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
17956 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
17959 cat >>confdefs.h <<\_ACEOF
17960 #define STATFS_DEFINED_BY_SYS_VFS 1
17966 if test "$ac_cv_header_sys_statfs_h" = "yes"
17968 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
17969 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
17970 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
17971 echo $ECHO_N "(cached) $ECHO_C" >&6
17973 cat >conftest.$ac_ext <<_ACEOF
17976 cat confdefs.h >>conftest.$ac_ext
17977 cat >>conftest.$ac_ext <<_ACEOF
17978 /* end confdefs.h. */
17980 #include <sys/types.h>
17981 #ifdef HAVE_SYS_PARAM_H
17982 # include <sys/param.h>
17984 #include <sys/statfs.h>
17990 struct statfs stfs;
17996 rm -f conftest.$ac_objext
17997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17998 (eval $ac_compile) 2>conftest.er1
18000 grep -v '^ *+' conftest.er1 >conftest.err
18002 cat conftest.err >&5
18003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004 (exit $ac_status); } &&
18005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18007 (eval $ac_try) 2>&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); }; } &&
18011 { ac_try='test -s conftest.$ac_objext'
18012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18013 (eval $ac_try) 2>&5
18015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016 (exit $ac_status); }; }; then
18017 wine_cv_sys_statfs_has_statfs=yes
18019 echo "$as_me: failed program was:" >&5
18020 sed 's/^/| /' conftest.$ac_ext >&5
18022 wine_cv_sys_statfs_has_statfs=no
18025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18028 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
18029 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
18030 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
18033 cat >>confdefs.h <<\_ACEOF
18034 #define STATFS_DEFINED_BY_SYS_STATFS 1
18040 if test "$ac_cv_header_sys_mount_h" = "yes"
18042 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
18043 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
18044 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
18045 echo $ECHO_N "(cached) $ECHO_C" >&6
18047 cat >conftest.$ac_ext <<_ACEOF
18050 cat confdefs.h >>conftest.$ac_ext
18051 cat >>conftest.$ac_ext <<_ACEOF
18052 /* end confdefs.h. */
18054 #include <sys/types.h>
18055 #ifdef HAVE_SYS_PARAM_H
18056 # include <sys/param.h>
18058 #include <sys/mount.h>
18064 struct statfs stfs;
18070 rm -f conftest.$ac_objext
18071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18072 (eval $ac_compile) 2>conftest.er1
18074 grep -v '^ *+' conftest.er1 >conftest.err
18076 cat conftest.err >&5
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); } &&
18079 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18081 (eval $ac_try) 2>&5
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); }; } &&
18085 { ac_try='test -s conftest.$ac_objext'
18086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18087 (eval $ac_try) 2>&5
18089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18090 (exit $ac_status); }; }; then
18091 wine_cv_sys_mount_has_statfs=yes
18093 echo "$as_me: failed program was:" >&5
18094 sed 's/^/| /' conftest.$ac_ext >&5
18096 wine_cv_sys_mount_has_statfs=no
18099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18102 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
18103 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
18104 if test "$wine_cv_sys_mount_has_statfs" = "yes"
18107 cat >>confdefs.h <<\_ACEOF
18108 #define STATFS_DEFINED_BY_SYS_MOUNT 1
18115 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18116 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
18117 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18118 echo $ECHO_N "(cached) $ECHO_C" >&6
18120 cat >conftest.$ac_ext <<_ACEOF
18123 cat confdefs.h >>conftest.$ac_ext
18124 cat >>conftest.$ac_ext <<_ACEOF
18125 /* end confdefs.h. */
18126 #include <sys/types.h>
18127 #ifdef HAVE_SYS_PARAM_H
18128 # include <sys/param.h>
18130 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18131 # include <sys/mount.h>
18133 # ifdef STATFS_DEFINED_BY_SYS_VFS
18134 # include <sys/vfs.h>
18136 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18137 # include <sys/statfs.h>
18145 static struct statfs ac_aggr;
18146 if (ac_aggr.f_bfree)
18152 rm -f conftest.$ac_objext
18153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18154 (eval $ac_compile) 2>conftest.er1
18156 grep -v '^ *+' conftest.er1 >conftest.err
18158 cat conftest.err >&5
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); } &&
18161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18163 (eval $ac_try) 2>&5
18165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166 (exit $ac_status); }; } &&
18167 { ac_try='test -s conftest.$ac_objext'
18168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18169 (eval $ac_try) 2>&5
18171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18172 (exit $ac_status); }; }; then
18173 ac_cv_member_struct_statfs_f_bfree=yes
18175 echo "$as_me: failed program was:" >&5
18176 sed 's/^/| /' conftest.$ac_ext >&5
18178 cat >conftest.$ac_ext <<_ACEOF
18181 cat confdefs.h >>conftest.$ac_ext
18182 cat >>conftest.$ac_ext <<_ACEOF
18183 /* end confdefs.h. */
18184 #include <sys/types.h>
18185 #ifdef HAVE_SYS_PARAM_H
18186 # include <sys/param.h>
18188 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18189 # include <sys/mount.h>
18191 # ifdef STATFS_DEFINED_BY_SYS_VFS
18192 # include <sys/vfs.h>
18194 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18195 # include <sys/statfs.h>
18203 static struct statfs ac_aggr;
18204 if (sizeof ac_aggr.f_bfree)
18210 rm -f conftest.$ac_objext
18211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18212 (eval $ac_compile) 2>conftest.er1
18214 grep -v '^ *+' conftest.er1 >conftest.err
18216 cat conftest.err >&5
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); } &&
18219 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18221 (eval $ac_try) 2>&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); }; } &&
18225 { ac_try='test -s conftest.$ac_objext'
18226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18227 (eval $ac_try) 2>&5
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); }; }; then
18231 ac_cv_member_struct_statfs_f_bfree=yes
18233 echo "$as_me: failed program was:" >&5
18234 sed 's/^/| /' conftest.$ac_ext >&5
18236 ac_cv_member_struct_statfs_f_bfree=no
18238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18242 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18243 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
18244 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18246 cat >>confdefs.h <<_ACEOF
18247 #define HAVE_STRUCT_STATFS_F_BFREE 1
18252 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18253 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
18254 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18255 echo $ECHO_N "(cached) $ECHO_C" >&6
18257 cat >conftest.$ac_ext <<_ACEOF
18260 cat confdefs.h >>conftest.$ac_ext
18261 cat >>conftest.$ac_ext <<_ACEOF
18262 /* end confdefs.h. */
18263 #include <sys/types.h>
18264 #ifdef HAVE_SYS_PARAM_H
18265 # include <sys/param.h>
18267 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18268 # include <sys/mount.h>
18270 # ifdef STATFS_DEFINED_BY_SYS_VFS
18271 # include <sys/vfs.h>
18273 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18274 # include <sys/statfs.h>
18282 static struct statfs ac_aggr;
18283 if (ac_aggr.f_bavail)
18289 rm -f conftest.$ac_objext
18290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18291 (eval $ac_compile) 2>conftest.er1
18293 grep -v '^ *+' conftest.er1 >conftest.err
18295 cat conftest.err >&5
18296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18297 (exit $ac_status); } &&
18298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18300 (eval $ac_try) 2>&5
18302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18303 (exit $ac_status); }; } &&
18304 { ac_try='test -s conftest.$ac_objext'
18305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18306 (eval $ac_try) 2>&5
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); }; }; then
18310 ac_cv_member_struct_statfs_f_bavail=yes
18312 echo "$as_me: failed program was:" >&5
18313 sed 's/^/| /' conftest.$ac_ext >&5
18315 cat >conftest.$ac_ext <<_ACEOF
18318 cat confdefs.h >>conftest.$ac_ext
18319 cat >>conftest.$ac_ext <<_ACEOF
18320 /* end confdefs.h. */
18321 #include <sys/types.h>
18322 #ifdef HAVE_SYS_PARAM_H
18323 # include <sys/param.h>
18325 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18326 # include <sys/mount.h>
18328 # ifdef STATFS_DEFINED_BY_SYS_VFS
18329 # include <sys/vfs.h>
18331 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18332 # include <sys/statfs.h>
18340 static struct statfs ac_aggr;
18341 if (sizeof ac_aggr.f_bavail)
18347 rm -f conftest.$ac_objext
18348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18349 (eval $ac_compile) 2>conftest.er1
18351 grep -v '^ *+' conftest.er1 >conftest.err
18353 cat conftest.err >&5
18354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18355 (exit $ac_status); } &&
18356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18358 (eval $ac_try) 2>&5
18360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); }; } &&
18362 { ac_try='test -s conftest.$ac_objext'
18363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18364 (eval $ac_try) 2>&5
18366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367 (exit $ac_status); }; }; then
18368 ac_cv_member_struct_statfs_f_bavail=yes
18370 echo "$as_me: failed program was:" >&5
18371 sed 's/^/| /' conftest.$ac_ext >&5
18373 ac_cv_member_struct_statfs_f_bavail=no
18375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18379 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18380 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18381 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18383 cat >>confdefs.h <<_ACEOF
18384 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18389 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18390 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
18391 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18392 echo $ECHO_N "(cached) $ECHO_C" >&6
18394 cat >conftest.$ac_ext <<_ACEOF
18397 cat confdefs.h >>conftest.$ac_ext
18398 cat >>conftest.$ac_ext <<_ACEOF
18399 /* end confdefs.h. */
18400 #include <sys/types.h>
18401 #ifdef HAVE_SYS_PARAM_H
18402 # include <sys/param.h>
18404 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18405 # include <sys/mount.h>
18407 # ifdef STATFS_DEFINED_BY_SYS_VFS
18408 # include <sys/vfs.h>
18410 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18411 # include <sys/statfs.h>
18419 static struct statfs ac_aggr;
18420 if (ac_aggr.f_frsize)
18426 rm -f conftest.$ac_objext
18427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18428 (eval $ac_compile) 2>conftest.er1
18430 grep -v '^ *+' conftest.er1 >conftest.err
18432 cat conftest.err >&5
18433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18434 (exit $ac_status); } &&
18435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18437 (eval $ac_try) 2>&5
18439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18440 (exit $ac_status); }; } &&
18441 { ac_try='test -s conftest.$ac_objext'
18442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18443 (eval $ac_try) 2>&5
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); }; }; then
18447 ac_cv_member_struct_statfs_f_frsize=yes
18449 echo "$as_me: failed program was:" >&5
18450 sed 's/^/| /' conftest.$ac_ext >&5
18452 cat >conftest.$ac_ext <<_ACEOF
18455 cat confdefs.h >>conftest.$ac_ext
18456 cat >>conftest.$ac_ext <<_ACEOF
18457 /* end confdefs.h. */
18458 #include <sys/types.h>
18459 #ifdef HAVE_SYS_PARAM_H
18460 # include <sys/param.h>
18462 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18463 # include <sys/mount.h>
18465 # ifdef STATFS_DEFINED_BY_SYS_VFS
18466 # include <sys/vfs.h>
18468 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18469 # include <sys/statfs.h>
18477 static struct statfs ac_aggr;
18478 if (sizeof ac_aggr.f_frsize)
18484 rm -f conftest.$ac_objext
18485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18486 (eval $ac_compile) 2>conftest.er1
18488 grep -v '^ *+' conftest.er1 >conftest.err
18490 cat conftest.err >&5
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); } &&
18493 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18495 (eval $ac_try) 2>&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); }; } &&
18499 { ac_try='test -s conftest.$ac_objext'
18500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18501 (eval $ac_try) 2>&5
18503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504 (exit $ac_status); }; }; then
18505 ac_cv_member_struct_statfs_f_frsize=yes
18507 echo "$as_me: failed program was:" >&5
18508 sed 's/^/| /' conftest.$ac_ext >&5
18510 ac_cv_member_struct_statfs_f_frsize=no
18512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18516 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18517 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
18518 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18520 cat >>confdefs.h <<_ACEOF
18521 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18526 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18527 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
18528 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18529 echo $ECHO_N "(cached) $ECHO_C" >&6
18531 cat >conftest.$ac_ext <<_ACEOF
18534 cat confdefs.h >>conftest.$ac_ext
18535 cat >>conftest.$ac_ext <<_ACEOF
18536 /* end confdefs.h. */
18537 #include <sys/types.h>
18538 #ifdef HAVE_SYS_PARAM_H
18539 # include <sys/param.h>
18541 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18542 # include <sys/mount.h>
18544 # ifdef STATFS_DEFINED_BY_SYS_VFS
18545 # include <sys/vfs.h>
18547 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18548 # include <sys/statfs.h>
18556 static struct statfs ac_aggr;
18557 if (ac_aggr.f_ffree)
18563 rm -f conftest.$ac_objext
18564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18565 (eval $ac_compile) 2>conftest.er1
18567 grep -v '^ *+' conftest.er1 >conftest.err
18569 cat conftest.err >&5
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); } &&
18572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18574 (eval $ac_try) 2>&5
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); }; } &&
18578 { ac_try='test -s conftest.$ac_objext'
18579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18580 (eval $ac_try) 2>&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); }; }; then
18584 ac_cv_member_struct_statfs_f_ffree=yes
18586 echo "$as_me: failed program was:" >&5
18587 sed 's/^/| /' conftest.$ac_ext >&5
18589 cat >conftest.$ac_ext <<_ACEOF
18592 cat confdefs.h >>conftest.$ac_ext
18593 cat >>conftest.$ac_ext <<_ACEOF
18594 /* end confdefs.h. */
18595 #include <sys/types.h>
18596 #ifdef HAVE_SYS_PARAM_H
18597 # include <sys/param.h>
18599 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18600 # include <sys/mount.h>
18602 # ifdef STATFS_DEFINED_BY_SYS_VFS
18603 # include <sys/vfs.h>
18605 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18606 # include <sys/statfs.h>
18614 static struct statfs ac_aggr;
18615 if (sizeof ac_aggr.f_ffree)
18621 rm -f conftest.$ac_objext
18622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18623 (eval $ac_compile) 2>conftest.er1
18625 grep -v '^ *+' conftest.er1 >conftest.err
18627 cat conftest.err >&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); } &&
18630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18632 (eval $ac_try) 2>&5
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); }; } &&
18636 { ac_try='test -s conftest.$ac_objext'
18637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18638 (eval $ac_try) 2>&5
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); }; }; then
18642 ac_cv_member_struct_statfs_f_ffree=yes
18644 echo "$as_me: failed program was:" >&5
18645 sed 's/^/| /' conftest.$ac_ext >&5
18647 ac_cv_member_struct_statfs_f_ffree=no
18649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18653 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18654 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
18655 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18657 cat >>confdefs.h <<_ACEOF
18658 #define HAVE_STRUCT_STATFS_F_FFREE 1
18663 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18664 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
18665 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18666 echo $ECHO_N "(cached) $ECHO_C" >&6
18668 cat >conftest.$ac_ext <<_ACEOF
18671 cat confdefs.h >>conftest.$ac_ext
18672 cat >>conftest.$ac_ext <<_ACEOF
18673 /* end confdefs.h. */
18674 #include <sys/types.h>
18675 #ifdef HAVE_SYS_PARAM_H
18676 # include <sys/param.h>
18678 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18679 # include <sys/mount.h>
18681 # ifdef STATFS_DEFINED_BY_SYS_VFS
18682 # include <sys/vfs.h>
18684 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18685 # include <sys/statfs.h>
18693 static struct statfs ac_aggr;
18694 if (ac_aggr.f_favail)
18700 rm -f conftest.$ac_objext
18701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18702 (eval $ac_compile) 2>conftest.er1
18704 grep -v '^ *+' conftest.er1 >conftest.err
18706 cat conftest.err >&5
18707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708 (exit $ac_status); } &&
18709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18711 (eval $ac_try) 2>&5
18713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18714 (exit $ac_status); }; } &&
18715 { ac_try='test -s conftest.$ac_objext'
18716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18717 (eval $ac_try) 2>&5
18719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18720 (exit $ac_status); }; }; then
18721 ac_cv_member_struct_statfs_f_favail=yes
18723 echo "$as_me: failed program was:" >&5
18724 sed 's/^/| /' conftest.$ac_ext >&5
18726 cat >conftest.$ac_ext <<_ACEOF
18729 cat confdefs.h >>conftest.$ac_ext
18730 cat >>conftest.$ac_ext <<_ACEOF
18731 /* end confdefs.h. */
18732 #include <sys/types.h>
18733 #ifdef HAVE_SYS_PARAM_H
18734 # include <sys/param.h>
18736 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18737 # include <sys/mount.h>
18739 # ifdef STATFS_DEFINED_BY_SYS_VFS
18740 # include <sys/vfs.h>
18742 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18743 # include <sys/statfs.h>
18751 static struct statfs ac_aggr;
18752 if (sizeof ac_aggr.f_favail)
18758 rm -f conftest.$ac_objext
18759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18760 (eval $ac_compile) 2>conftest.er1
18762 grep -v '^ *+' conftest.er1 >conftest.err
18764 cat conftest.err >&5
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); } &&
18767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18769 (eval $ac_try) 2>&5
18771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18772 (exit $ac_status); }; } &&
18773 { ac_try='test -s conftest.$ac_objext'
18774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18775 (eval $ac_try) 2>&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); }; }; then
18779 ac_cv_member_struct_statfs_f_favail=yes
18781 echo "$as_me: failed program was:" >&5
18782 sed 's/^/| /' conftest.$ac_ext >&5
18784 ac_cv_member_struct_statfs_f_favail=no
18786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18790 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18791 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
18792 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18794 cat >>confdefs.h <<_ACEOF
18795 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18800 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18801 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
18802 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18803 echo $ECHO_N "(cached) $ECHO_C" >&6
18805 cat >conftest.$ac_ext <<_ACEOF
18808 cat confdefs.h >>conftest.$ac_ext
18809 cat >>conftest.$ac_ext <<_ACEOF
18810 /* end confdefs.h. */
18811 #include <sys/types.h>
18812 #ifdef HAVE_SYS_PARAM_H
18813 # include <sys/param.h>
18815 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18816 # include <sys/mount.h>
18818 # ifdef STATFS_DEFINED_BY_SYS_VFS
18819 # include <sys/vfs.h>
18821 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18822 # include <sys/statfs.h>
18830 static struct statfs ac_aggr;
18831 if (ac_aggr.f_namelen)
18837 rm -f conftest.$ac_objext
18838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18839 (eval $ac_compile) 2>conftest.er1
18841 grep -v '^ *+' conftest.er1 >conftest.err
18843 cat conftest.err >&5
18844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18845 (exit $ac_status); } &&
18846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18848 (eval $ac_try) 2>&5
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); }; } &&
18852 { ac_try='test -s conftest.$ac_objext'
18853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18854 (eval $ac_try) 2>&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); }; }; then
18858 ac_cv_member_struct_statfs_f_namelen=yes
18860 echo "$as_me: failed program was:" >&5
18861 sed 's/^/| /' conftest.$ac_ext >&5
18863 cat >conftest.$ac_ext <<_ACEOF
18866 cat confdefs.h >>conftest.$ac_ext
18867 cat >>conftest.$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18869 #include <sys/types.h>
18870 #ifdef HAVE_SYS_PARAM_H
18871 # include <sys/param.h>
18873 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18874 # include <sys/mount.h>
18876 # ifdef STATFS_DEFINED_BY_SYS_VFS
18877 # include <sys/vfs.h>
18879 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18880 # include <sys/statfs.h>
18888 static struct statfs ac_aggr;
18889 if (sizeof ac_aggr.f_namelen)
18895 rm -f conftest.$ac_objext
18896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18897 (eval $ac_compile) 2>conftest.er1
18899 grep -v '^ *+' conftest.er1 >conftest.err
18901 cat conftest.err >&5
18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); } &&
18904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18906 (eval $ac_try) 2>&5
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); }; } &&
18910 { ac_try='test -s conftest.$ac_objext'
18911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18912 (eval $ac_try) 2>&5
18914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18915 (exit $ac_status); }; }; then
18916 ac_cv_member_struct_statfs_f_namelen=yes
18918 echo "$as_me: failed program was:" >&5
18919 sed 's/^/| /' conftest.$ac_ext >&5
18921 ac_cv_member_struct_statfs_f_namelen=no
18923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18927 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18928 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
18929 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18931 cat >>confdefs.h <<_ACEOF
18932 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18939 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18940 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
18941 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18942 echo $ECHO_N "(cached) $ECHO_C" >&6
18944 cat >conftest.$ac_ext <<_ACEOF
18947 cat confdefs.h >>conftest.$ac_ext
18948 cat >>conftest.$ac_ext <<_ACEOF
18949 /* end confdefs.h. */
18950 #ifdef HAVE_SYS_STATVFS_H
18951 #include <sys/statvfs.h>
18957 static struct statvfs ac_aggr;
18958 if (ac_aggr.f_blocks)
18964 rm -f conftest.$ac_objext
18965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18966 (eval $ac_compile) 2>conftest.er1
18968 grep -v '^ *+' conftest.er1 >conftest.err
18970 cat conftest.err >&5
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); } &&
18973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18975 (eval $ac_try) 2>&5
18977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978 (exit $ac_status); }; } &&
18979 { ac_try='test -s conftest.$ac_objext'
18980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18981 (eval $ac_try) 2>&5
18983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18984 (exit $ac_status); }; }; then
18985 ac_cv_member_struct_statvfs_f_blocks=yes
18987 echo "$as_me: failed program was:" >&5
18988 sed 's/^/| /' conftest.$ac_ext >&5
18990 cat >conftest.$ac_ext <<_ACEOF
18993 cat confdefs.h >>conftest.$ac_ext
18994 cat >>conftest.$ac_ext <<_ACEOF
18995 /* end confdefs.h. */
18996 #ifdef HAVE_SYS_STATVFS_H
18997 #include <sys/statvfs.h>
19003 static struct statvfs ac_aggr;
19004 if (sizeof ac_aggr.f_blocks)
19010 rm -f conftest.$ac_objext
19011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19012 (eval $ac_compile) 2>conftest.er1
19014 grep -v '^ *+' conftest.er1 >conftest.err
19016 cat conftest.err >&5
19017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19018 (exit $ac_status); } &&
19019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19021 (eval $ac_try) 2>&5
19023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19024 (exit $ac_status); }; } &&
19025 { ac_try='test -s conftest.$ac_objext'
19026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19027 (eval $ac_try) 2>&5
19029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030 (exit $ac_status); }; }; then
19031 ac_cv_member_struct_statvfs_f_blocks=yes
19033 echo "$as_me: failed program was:" >&5
19034 sed 's/^/| /' conftest.$ac_ext >&5
19036 ac_cv_member_struct_statvfs_f_blocks=no
19038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19042 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19043 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
19044 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19046 cat >>confdefs.h <<_ACEOF
19047 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19054 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19055 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
19056 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19057 echo $ECHO_N "(cached) $ECHO_C" >&6
19059 cat >conftest.$ac_ext <<_ACEOF
19062 cat confdefs.h >>conftest.$ac_ext
19063 cat >>conftest.$ac_ext <<_ACEOF
19064 /* end confdefs.h. */
19065 #include <sys/types.h>
19066 #ifdef HAVE_SYS_SOCKET_H
19067 # include <sys/socket.h>
19069 #ifdef HAVE_SYS_UN_H
19070 # include <sys/un.h>
19076 static struct msghdr ac_aggr;
19077 if (ac_aggr.msg_accrights)
19083 rm -f conftest.$ac_objext
19084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19085 (eval $ac_compile) 2>conftest.er1
19087 grep -v '^ *+' conftest.er1 >conftest.err
19089 cat conftest.err >&5
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); } &&
19092 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19094 (eval $ac_try) 2>&5
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); }; } &&
19098 { ac_try='test -s conftest.$ac_objext'
19099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19100 (eval $ac_try) 2>&5
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); }; }; then
19104 ac_cv_member_struct_msghdr_msg_accrights=yes
19106 echo "$as_me: failed program was:" >&5
19107 sed 's/^/| /' conftest.$ac_ext >&5
19109 cat >conftest.$ac_ext <<_ACEOF
19112 cat confdefs.h >>conftest.$ac_ext
19113 cat >>conftest.$ac_ext <<_ACEOF
19114 /* end confdefs.h. */
19115 #include <sys/types.h>
19116 #ifdef HAVE_SYS_SOCKET_H
19117 # include <sys/socket.h>
19119 #ifdef HAVE_SYS_UN_H
19120 # include <sys/un.h>
19126 static struct msghdr ac_aggr;
19127 if (sizeof ac_aggr.msg_accrights)
19133 rm -f conftest.$ac_objext
19134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19135 (eval $ac_compile) 2>conftest.er1
19137 grep -v '^ *+' conftest.er1 >conftest.err
19139 cat conftest.err >&5
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); } &&
19142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19144 (eval $ac_try) 2>&5
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); }; } &&
19148 { ac_try='test -s conftest.$ac_objext'
19149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19150 (eval $ac_try) 2>&5
19152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153 (exit $ac_status); }; }; then
19154 ac_cv_member_struct_msghdr_msg_accrights=yes
19156 echo "$as_me: failed program was:" >&5
19157 sed 's/^/| /' conftest.$ac_ext >&5
19159 ac_cv_member_struct_msghdr_msg_accrights=no
19161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19165 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19166 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
19167 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19169 cat >>confdefs.h <<_ACEOF
19170 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19175 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19176 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
19177 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19178 echo $ECHO_N "(cached) $ECHO_C" >&6
19180 cat >conftest.$ac_ext <<_ACEOF
19183 cat confdefs.h >>conftest.$ac_ext
19184 cat >>conftest.$ac_ext <<_ACEOF
19185 /* end confdefs.h. */
19186 #include <sys/types.h>
19187 #ifdef HAVE_SYS_SOCKET_H
19188 # include <sys/socket.h>
19190 #ifdef HAVE_SYS_UN_H
19191 # include <sys/un.h>
19197 static struct sockaddr ac_aggr;
19198 if (ac_aggr.sa_len)
19204 rm -f conftest.$ac_objext
19205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19206 (eval $ac_compile) 2>conftest.er1
19208 grep -v '^ *+' conftest.er1 >conftest.err
19210 cat conftest.err >&5
19211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19212 (exit $ac_status); } &&
19213 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19215 (eval $ac_try) 2>&5
19217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19218 (exit $ac_status); }; } &&
19219 { ac_try='test -s conftest.$ac_objext'
19220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19221 (eval $ac_try) 2>&5
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224 (exit $ac_status); }; }; then
19225 ac_cv_member_struct_sockaddr_sa_len=yes
19227 echo "$as_me: failed program was:" >&5
19228 sed 's/^/| /' conftest.$ac_ext >&5
19230 cat >conftest.$ac_ext <<_ACEOF
19233 cat confdefs.h >>conftest.$ac_ext
19234 cat >>conftest.$ac_ext <<_ACEOF
19235 /* end confdefs.h. */
19236 #include <sys/types.h>
19237 #ifdef HAVE_SYS_SOCKET_H
19238 # include <sys/socket.h>
19240 #ifdef HAVE_SYS_UN_H
19241 # include <sys/un.h>
19247 static struct sockaddr ac_aggr;
19248 if (sizeof ac_aggr.sa_len)
19254 rm -f conftest.$ac_objext
19255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19256 (eval $ac_compile) 2>conftest.er1
19258 grep -v '^ *+' conftest.er1 >conftest.err
19260 cat conftest.err >&5
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); } &&
19263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19265 (eval $ac_try) 2>&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); }; } &&
19269 { ac_try='test -s conftest.$ac_objext'
19270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19271 (eval $ac_try) 2>&5
19273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19274 (exit $ac_status); }; }; then
19275 ac_cv_member_struct_sockaddr_sa_len=yes
19277 echo "$as_me: failed program was:" >&5
19278 sed 's/^/| /' conftest.$ac_ext >&5
19280 ac_cv_member_struct_sockaddr_sa_len=no
19282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19286 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19287 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
19288 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19290 cat >>confdefs.h <<_ACEOF
19291 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19296 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19297 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
19298 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19299 echo $ECHO_N "(cached) $ECHO_C" >&6
19301 cat >conftest.$ac_ext <<_ACEOF
19304 cat confdefs.h >>conftest.$ac_ext
19305 cat >>conftest.$ac_ext <<_ACEOF
19306 /* end confdefs.h. */
19307 #include <sys/types.h>
19308 #ifdef HAVE_SYS_SOCKET_H
19309 # include <sys/socket.h>
19311 #ifdef HAVE_SYS_UN_H
19312 # include <sys/un.h>
19318 static struct sockaddr_un ac_aggr;
19319 if (ac_aggr.sun_len)
19325 rm -f conftest.$ac_objext
19326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19327 (eval $ac_compile) 2>conftest.er1
19329 grep -v '^ *+' conftest.er1 >conftest.err
19331 cat conftest.err >&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); } &&
19334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19336 (eval $ac_try) 2>&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); }; } &&
19340 { ac_try='test -s conftest.$ac_objext'
19341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19342 (eval $ac_try) 2>&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346 ac_cv_member_struct_sockaddr_un_sun_len=yes
19348 echo "$as_me: failed program was:" >&5
19349 sed 's/^/| /' conftest.$ac_ext >&5
19351 cat >conftest.$ac_ext <<_ACEOF
19354 cat confdefs.h >>conftest.$ac_ext
19355 cat >>conftest.$ac_ext <<_ACEOF
19356 /* end confdefs.h. */
19357 #include <sys/types.h>
19358 #ifdef HAVE_SYS_SOCKET_H
19359 # include <sys/socket.h>
19361 #ifdef HAVE_SYS_UN_H
19362 # include <sys/un.h>
19368 static struct sockaddr_un ac_aggr;
19369 if (sizeof ac_aggr.sun_len)
19375 rm -f conftest.$ac_objext
19376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19377 (eval $ac_compile) 2>conftest.er1
19379 grep -v '^ *+' conftest.er1 >conftest.err
19381 cat conftest.err >&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); } &&
19384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19386 (eval $ac_try) 2>&5
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); }; } &&
19390 { ac_try='test -s conftest.$ac_objext'
19391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19392 (eval $ac_try) 2>&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); }; }; then
19396 ac_cv_member_struct_sockaddr_un_sun_len=yes
19398 echo "$as_me: failed program was:" >&5
19399 sed 's/^/| /' conftest.$ac_ext >&5
19401 ac_cv_member_struct_sockaddr_un_sun_len=no
19403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19407 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19408 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
19409 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19411 cat >>confdefs.h <<_ACEOF
19412 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19419 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19420 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
19421 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19422 echo $ECHO_N "(cached) $ECHO_C" >&6
19424 cat >conftest.$ac_ext <<_ACEOF
19427 cat confdefs.h >>conftest.$ac_ext
19428 cat >>conftest.$ac_ext <<_ACEOF
19429 /* end confdefs.h. */
19430 #include <signal.h>
19435 static siginfo_t ac_aggr;
19442 rm -f conftest.$ac_objext
19443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19444 (eval $ac_compile) 2>conftest.er1
19446 grep -v '^ *+' conftest.er1 >conftest.err
19448 cat conftest.err >&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); } &&
19451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19453 (eval $ac_try) 2>&5
19455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19456 (exit $ac_status); }; } &&
19457 { ac_try='test -s conftest.$ac_objext'
19458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19459 (eval $ac_try) 2>&5
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); }; }; then
19463 ac_cv_member_siginfo_t_si_fd=yes
19465 echo "$as_me: failed program was:" >&5
19466 sed 's/^/| /' conftest.$ac_ext >&5
19468 cat >conftest.$ac_ext <<_ACEOF
19471 cat confdefs.h >>conftest.$ac_ext
19472 cat >>conftest.$ac_ext <<_ACEOF
19473 /* end confdefs.h. */
19474 #include <signal.h>
19479 static siginfo_t ac_aggr;
19480 if (sizeof ac_aggr.si_fd)
19486 rm -f conftest.$ac_objext
19487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19488 (eval $ac_compile) 2>conftest.er1
19490 grep -v '^ *+' conftest.er1 >conftest.err
19492 cat conftest.err >&5
19493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19494 (exit $ac_status); } &&
19495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19497 (eval $ac_try) 2>&5
19499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19500 (exit $ac_status); }; } &&
19501 { ac_try='test -s conftest.$ac_objext'
19502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19503 (eval $ac_try) 2>&5
19505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19506 (exit $ac_status); }; }; then
19507 ac_cv_member_siginfo_t_si_fd=yes
19509 echo "$as_me: failed program was:" >&5
19510 sed 's/^/| /' conftest.$ac_ext >&5
19512 ac_cv_member_siginfo_t_si_fd=no
19514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19518 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19519 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
19520 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19522 cat >>confdefs.h <<_ACEOF
19523 #define HAVE_SIGINFO_T_SI_FD 1
19530 echo "$as_me:$LINENO: checking for struct option.name" >&5
19531 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19532 if test "${ac_cv_member_struct_option_name+set}" = set; then
19533 echo $ECHO_N "(cached) $ECHO_C" >&6
19535 cat >conftest.$ac_ext <<_ACEOF
19538 cat confdefs.h >>conftest.$ac_ext
19539 cat >>conftest.$ac_ext <<_ACEOF
19540 /* end confdefs.h. */
19541 #ifdef HAVE_GETOPT_H
19542 #include <getopt.h>
19548 static struct option ac_aggr;
19555 rm -f conftest.$ac_objext
19556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19557 (eval $ac_compile) 2>conftest.er1
19559 grep -v '^ *+' conftest.er1 >conftest.err
19561 cat conftest.err >&5
19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); } &&
19564 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19566 (eval $ac_try) 2>&5
19568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 (exit $ac_status); }; } &&
19570 { ac_try='test -s conftest.$ac_objext'
19571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19572 (eval $ac_try) 2>&5
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); }; }; then
19576 ac_cv_member_struct_option_name=yes
19578 echo "$as_me: failed program was:" >&5
19579 sed 's/^/| /' conftest.$ac_ext >&5
19581 cat >conftest.$ac_ext <<_ACEOF
19584 cat confdefs.h >>conftest.$ac_ext
19585 cat >>conftest.$ac_ext <<_ACEOF
19586 /* end confdefs.h. */
19587 #ifdef HAVE_GETOPT_H
19588 #include <getopt.h>
19594 static struct option ac_aggr;
19595 if (sizeof ac_aggr.name)
19601 rm -f conftest.$ac_objext
19602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19603 (eval $ac_compile) 2>conftest.er1
19605 grep -v '^ *+' conftest.er1 >conftest.err
19607 cat conftest.err >&5
19608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19609 (exit $ac_status); } &&
19610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19612 (eval $ac_try) 2>&5
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); }; } &&
19616 { ac_try='test -s conftest.$ac_objext'
19617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19618 (eval $ac_try) 2>&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); }; }; then
19622 ac_cv_member_struct_option_name=yes
19624 echo "$as_me: failed program was:" >&5
19625 sed 's/^/| /' conftest.$ac_ext >&5
19627 ac_cv_member_struct_option_name=no
19629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19633 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19634 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19635 if test $ac_cv_member_struct_option_name = yes; then
19637 cat >>confdefs.h <<_ACEOF
19638 #define HAVE_STRUCT_OPTION_NAME 1
19645 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19646 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19647 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19648 echo $ECHO_N "(cached) $ECHO_C" >&6
19650 cat >conftest.$ac_ext <<_ACEOF
19653 cat confdefs.h >>conftest.$ac_ext
19654 cat >>conftest.$ac_ext <<_ACEOF
19655 /* end confdefs.h. */
19656 $ac_includes_default
19660 static struct stat ac_aggr;
19661 if (ac_aggr.st_blocks)
19667 rm -f conftest.$ac_objext
19668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19669 (eval $ac_compile) 2>conftest.er1
19671 grep -v '^ *+' conftest.er1 >conftest.err
19673 cat conftest.err >&5
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); } &&
19676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19678 (eval $ac_try) 2>&5
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); }; } &&
19682 { ac_try='test -s conftest.$ac_objext'
19683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19684 (eval $ac_try) 2>&5
19686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19687 (exit $ac_status); }; }; then
19688 ac_cv_member_struct_stat_st_blocks=yes
19690 echo "$as_me: failed program was:" >&5
19691 sed 's/^/| /' conftest.$ac_ext >&5
19693 cat >conftest.$ac_ext <<_ACEOF
19696 cat confdefs.h >>conftest.$ac_ext
19697 cat >>conftest.$ac_ext <<_ACEOF
19698 /* end confdefs.h. */
19699 $ac_includes_default
19703 static struct stat ac_aggr;
19704 if (sizeof ac_aggr.st_blocks)
19710 rm -f conftest.$ac_objext
19711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19712 (eval $ac_compile) 2>conftest.er1
19714 grep -v '^ *+' conftest.er1 >conftest.err
19716 cat conftest.err >&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); } &&
19719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19721 (eval $ac_try) 2>&5
19723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19724 (exit $ac_status); }; } &&
19725 { ac_try='test -s conftest.$ac_objext'
19726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19727 (eval $ac_try) 2>&5
19729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730 (exit $ac_status); }; }; then
19731 ac_cv_member_struct_stat_st_blocks=yes
19733 echo "$as_me: failed program was:" >&5
19734 sed 's/^/| /' conftest.$ac_ext >&5
19736 ac_cv_member_struct_stat_st_blocks=no
19738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19742 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19743 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19744 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19746 cat >>confdefs.h <<_ACEOF
19747 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19756 *i[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19757 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
19758 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19759 echo $ECHO_N "(cached) $ECHO_C" >&6
19761 cat >conftest.$ac_ext <<_ACEOF
19764 cat confdefs.h >>conftest.$ac_ext
19765 cat >>conftest.$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19772 $EGREP "yes" >/dev/null 2>&1; then
19773 ac_cv_cpp_def___i386__=yes
19775 ac_cv_cpp_def___i386__=no
19780 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19781 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
19782 if test $ac_cv_cpp_def___i386__ = yes; then
19783 CFLAGS="$CFLAGS -D__i386__"
19784 LINTFLAGS="$LINTFLAGS -D__i386__"
19787 *alpha*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19788 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
19789 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19790 echo $ECHO_N "(cached) $ECHO_C" >&6
19792 cat >conftest.$ac_ext <<_ACEOF
19795 cat confdefs.h >>conftest.$ac_ext
19796 cat >>conftest.$ac_ext <<_ACEOF
19797 /* end confdefs.h. */
19802 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19803 $EGREP "yes" >/dev/null 2>&1; then
19804 ac_cv_cpp_def___ALPHA__=yes
19806 ac_cv_cpp_def___ALPHA__=no
19811 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
19812 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
19813 if test $ac_cv_cpp_def___ALPHA__ = yes; then
19814 CFLAGS="$CFLAGS -D__ALPHA__"
19815 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
19818 *sparc*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
19819 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
19820 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
19821 echo $ECHO_N "(cached) $ECHO_C" >&6
19823 cat >conftest.$ac_ext <<_ACEOF
19826 cat confdefs.h >>conftest.$ac_ext
19827 cat >>conftest.$ac_ext <<_ACEOF
19828 /* end confdefs.h. */
19833 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19834 $EGREP "yes" >/dev/null 2>&1; then
19835 ac_cv_cpp_def___sparc__=yes
19837 ac_cv_cpp_def___sparc__=no
19842 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
19843 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
19844 if test $ac_cv_cpp_def___sparc__ = yes; then
19845 CFLAGS="$CFLAGS -D__sparc__"
19846 LINTFLAGS="$LINTFLAGS -D__sparc__"
19849 *powerpc*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
19850 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
19851 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
19852 echo $ECHO_N "(cached) $ECHO_C" >&6
19854 cat >conftest.$ac_ext <<_ACEOF
19857 cat confdefs.h >>conftest.$ac_ext
19858 cat >>conftest.$ac_ext <<_ACEOF
19859 /* end confdefs.h. */
19860 #ifndef __powerpc__
19864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19865 $EGREP "yes" >/dev/null 2>&1; then
19866 ac_cv_cpp_def___powerpc__=yes
19868 ac_cv_cpp_def___powerpc__=no
19873 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
19874 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
19875 if test $ac_cv_cpp_def___powerpc__ = yes; then
19876 CFLAGS="$CFLAGS -D__powerpc__"
19877 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19882 case $host_vendor in
19883 *sun*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
19884 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
19885 if test "${ac_cv_cpp_def___sun__+set}" = set; then
19886 echo $ECHO_N "(cached) $ECHO_C" >&6
19888 cat >conftest.$ac_ext <<_ACEOF
19891 cat confdefs.h >>conftest.$ac_ext
19892 cat >>conftest.$ac_ext <<_ACEOF
19893 /* end confdefs.h. */
19898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19899 $EGREP "yes" >/dev/null 2>&1; then
19900 ac_cv_cpp_def___sun__=yes
19902 ac_cv_cpp_def___sun__=no
19907 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
19908 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
19909 if test $ac_cv_cpp_def___sun__ = yes; then
19910 CFLAGS="$CFLAGS -D__sun__"
19911 LINTFLAGS="$LINTFLAGS -D__sun__"
19920 ac_config_commands="$ac_config_commands dlls/ddraw/d3ddevice"
19922 ac_config_commands="$ac_config_commands dlls/ddraw/dclipper"
19924 ac_config_commands="$ac_config_commands dlls/ddraw/ddraw"
19926 ac_config_commands="$ac_config_commands dlls/ddraw/direct3d"
19928 ac_config_commands="$ac_config_commands dlls/ddraw/dpalette"
19930 ac_config_commands="$ac_config_commands dlls/ddraw/dsurface"
19932 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
19934 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
19936 ac_config_commands="$ac_config_commands dlls/kernel/messages"
19938 ac_config_commands="$ac_config_commands dlls/user/dde"
19940 ac_config_commands="$ac_config_commands dlls/user/resources"
19942 ac_config_commands="$ac_config_commands dlls/wineps/data"
19944 ac_config_commands="$ac_config_commands include/wine"
19946 ac_config_commands="$ac_config_commands programs/regedit/tests"
19948 ac_config_commands="$ac_config_commands windows"
19951 MAKE_RULES=Make.rules
19954 MAKE_DLL_RULES=dlls/Makedll.rules
19957 MAKE_TEST_RULES=dlls/Maketest.rules
19960 MAKE_LIB_RULES=libs/Makelib.rules
19963 MAKE_PROG_RULES=programs/Makeprog.rules
19966 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/odbccp32/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"
19969 cat >confcache <<\_ACEOF
19970 # This file is a shell script that caches the results of configure
19971 # tests run on this system so they can be shared between configure
19972 # scripts and configure runs, see configure's option --config-cache.
19973 # It is not useful on other systems. If it contains results you don't
19974 # want to keep, you may remove or edit it.
19976 # config.status only pays attention to the cache file if you give it
19977 # the --recheck option to rerun configure.
19979 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19980 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19981 # following values.
19985 # The following way of writing the cache mishandles newlines in values,
19986 # but we know of no workaround that is simple, portable, and efficient.
19987 # So, don't put newlines in cache variables' values.
19988 # Ultrix sh set writes to stderr and can't be redirected directly,
19989 # and sets the high bit in the cache file unless we assign to the vars.
19992 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19994 # `set' does not quote correctly, so add quotes (double-quote
19995 # substitution turns \\\\ into \\, and sed turns \\ into \).
19998 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20001 # `set' quotes correctly as required by POSIX, so do not add quotes.
20003 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20010 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20012 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20014 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20015 if test -w $cache_file; then
20016 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20017 cat confcache >$cache_file
20019 echo "not updating unwritable cache $cache_file"
20024 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20025 # Let make expand exec_prefix.
20026 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20028 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20029 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20030 # trailing colons and then remove the whole line if VPATH becomes empty
20031 # (actually we leave an empty line to preserve line numbers).
20032 if test "x$srcdir" = x.; then
20033 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20034 s/:*\$(srcdir):*/:/;
20035 s/:*\${srcdir}:*/:/;
20037 s/^\([^=]*=[ ]*\):*/\1/;
20043 DEFS=-DHAVE_CONFIG_H
20047 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20048 # 1. Remove the extension, and $U if already installed.
20049 ac_i=`echo "$ac_i" |
20050 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20052 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20053 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
20055 LIBOBJS=$ac_libobjs
20057 LTLIBOBJS=$ac_ltlibobjs
20061 : ${CONFIG_STATUS=./config.status}
20062 ac_clean_files_save=$ac_clean_files
20063 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20064 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20065 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20066 cat >$CONFIG_STATUS <<_ACEOF
20068 # Generated by $as_me.
20069 # Run this file to recreate the current configuration.
20070 # Compiler output produced by configure, useful for debugging
20071 # configure, is in config.log if it exists.
20074 ac_cs_recheck=false
20076 SHELL=\${CONFIG_SHELL-$SHELL}
20079 cat >>$CONFIG_STATUS <<\_ACEOF
20080 ## --------------------- ##
20081 ## M4sh Initialization. ##
20082 ## --------------------- ##
20084 # Be Bourne compatible
20085 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20088 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20089 # is contrary to our usage. Disable this feature.
20090 alias -g '${1+"$@"}'='"$@"'
20091 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20094 DUALCASE=1; export DUALCASE # for MKS sh
20096 # Support unset when possible.
20097 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20104 # Work around bugs in pre-3.0 UWIN ksh.
20105 $as_unset ENV MAIL MAILPATH
20112 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20113 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20114 LC_TELEPHONE LC_TIME
20116 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20117 eval $as_var=C; export $as_var
20123 # Required to use basename.
20124 if expr a : '\(a\)' >/dev/null 2>&1; then
20130 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20131 as_basename=basename
20137 # Name of the executable.
20138 as_me=`$as_basename "$0" ||
20139 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20140 X"$0" : 'X\(//\)$' \| \
20141 X"$0" : 'X\(/\)$' \| \
20142 . : '\(.\)' 2>/dev/null ||
20144 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20145 /^X\/\(\/\/\)$/{ s//\1/; q; }
20146 /^X\/\(\/\).*/{ s//\1/; q; }
20150 # PATH needs CR, and LINENO needs CR and PATH.
20151 # Avoid depending upon Character Ranges.
20152 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20153 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20154 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20155 as_cr_digits='0123456789'
20156 as_cr_alnum=$as_cr_Letters$as_cr_digits
20158 # The user is always right.
20159 if test "${PATH_SEPARATOR+set}" != set; then
20160 echo "#! /bin/sh" >conf$$.sh
20161 echo "exit 0" >>conf$$.sh
20163 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20172 as_lineno_1=$LINENO
20173 as_lineno_2=$LINENO
20174 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20175 test "x$as_lineno_1" != "x$as_lineno_2" &&
20176 test "x$as_lineno_3" = "x$as_lineno_2" || {
20177 # Find who we are. Look in the path if we contain no path at all
20180 *[\\/]* ) as_myself=$0 ;;
20181 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20182 for as_dir in $PATH
20185 test -z "$as_dir" && as_dir=.
20186 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20191 # We did not find ourselves, most probably we were run as `sh COMMAND'
20192 # in which case we are not to be found in the path.
20193 if test "x$as_myself" = x; then
20196 if test ! -f "$as_myself"; then
20197 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20198 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20199 { (exit 1); exit 1; }; }
20201 case $CONFIG_SHELL in
20203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20204 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20207 test -z "$as_dir" && as_dir=.
20208 for as_base in sh bash ksh sh5; do
20211 if ("$as_dir/$as_base" -c '
20212 as_lineno_1=$LINENO
20213 as_lineno_2=$LINENO
20214 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20215 test "x$as_lineno_1" != "x$as_lineno_2" &&
20216 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20217 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20218 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20219 CONFIG_SHELL=$as_dir/$as_base
20220 export CONFIG_SHELL
20221 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20229 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20230 # uniformly replaced by the line number. The first 'sed' inserts a
20231 # line-number line before each line; the second 'sed' does the real
20232 # work. The second script uses 'N' to pair each line-number line
20233 # with the numbered line, and appends trailing '-' during
20234 # substitution so that $LINENO is not a special case at line end.
20235 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20236 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20237 sed '=' <$as_myself |
20242 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20245 s,^['$as_cr_digits']*\n,,
20246 ' >$as_me.lineno &&
20247 chmod +x $as_me.lineno ||
20248 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20249 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20250 { (exit 1); exit 1; }; }
20252 # Don't try to exec as it changes $[0], causing all sort of problems
20253 # (the dirname of $[0] is not the place where we might find the
20254 # original and so on. Autoconf is especially sensible to this).
20256 # Exit status is that of the last command.
20261 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20262 *c*,-n*) ECHO_N= ECHO_C='
20264 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20265 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
20268 if expr a : '\(a\)' >/dev/null 2>&1; then
20274 rm -f conf$$ conf$$.exe conf$$.file
20276 if ln -s conf$$.file conf$$ 2>/dev/null; then
20277 # We could just check for DJGPP; but this test a) works b) is more generic
20278 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20279 if test -f conf$$.exe; then
20280 # Don't use ln at all; we don't have any links
20285 elif ln conf$$.file conf$$ 2>/dev/null; then
20290 rm -f conf$$ conf$$.exe conf$$.file
20292 if mkdir -p . 2>/dev/null; then
20295 test -d ./-p && rmdir ./-p
20299 as_executable_p="test -f"
20301 # Sed expression to map a string onto a valid CPP name.
20302 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20304 # Sed expression to map a string onto a valid variable name.
20305 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20309 # We need space, tab and new line, in precisely that order.
20319 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20320 # report actual input values of CONFIG_FILES etc. instead of their
20321 # values after options handling. Logging --version etc. is OK.
20325 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20326 ## Running $as_me. ##
20331 This file was extended by Wine $as_me 20050419, which was
20332 generated by GNU Autoconf 2.59. Invocation command line was
20334 CONFIG_FILES = $CONFIG_FILES
20335 CONFIG_HEADERS = $CONFIG_HEADERS
20336 CONFIG_LINKS = $CONFIG_LINKS
20337 CONFIG_COMMANDS = $CONFIG_COMMANDS
20341 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20345 # Files that config.status was made for.
20346 if test -n "$ac_config_files"; then
20347 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20350 if test -n "$ac_config_headers"; then
20351 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20354 if test -n "$ac_config_links"; then
20355 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20358 if test -n "$ac_config_commands"; then
20359 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20362 cat >>$CONFIG_STATUS <<\_ACEOF
20365 \`$as_me' instantiates files from templates according to the
20366 current configuration.
20368 Usage: $0 [OPTIONS] [FILE]...
20370 -h, --help print this help, then exit
20371 -V, --version print version number, then exit
20372 -q, --quiet do not print progress messages
20373 -d, --debug don't remove temporary files
20374 --recheck update $as_me by reconfiguring in the same conditions
20375 --file=FILE[:TEMPLATE]
20376 instantiate the configuration file FILE
20377 --header=FILE[:TEMPLATE]
20378 instantiate the configuration header FILE
20380 Configuration files:
20383 Configuration headers:
20386 Configuration commands:
20389 Report bugs to <bug-autoconf@gnu.org>."
20392 cat >>$CONFIG_STATUS <<_ACEOF
20394 Wine config.status 20050419
20395 configured by $0, generated by GNU Autoconf 2.59,
20396 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20398 Copyright (C) 2003 Free Software Foundation, Inc.
20399 This config.status script is free software; the Free Software Foundation
20400 gives unlimited permission to copy, distribute and modify it."
20405 cat >>$CONFIG_STATUS <<\_ACEOF
20406 # If no file are specified by the user, then we need to provide default
20407 # value. By we need to know if files were specified by the user.
20413 ac_option=`expr "x$1" : 'x\([^=]*\)='`
20414 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20422 *) # This is not an option, so the user has probably given explicit
20425 ac_need_defaults=false;;
20429 # Handling of the options.
20431 cat >>$CONFIG_STATUS <<\_ACEOF
20432 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20434 --version | --vers* | -V )
20435 echo "$ac_cs_version"; exit 0 ;;
20437 # Conflict between --help and --header
20438 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20439 Try \`$0 --help' for more information." >&5
20440 echo "$as_me: error: ambiguous option: $1
20441 Try \`$0 --help' for more information." >&2;}
20442 { (exit 1); exit 1; }; };;
20443 --help | --hel | -h )
20444 echo "$ac_cs_usage"; exit 0 ;;
20445 --debug | --d* | -d )
20447 --file | --fil | --fi | --f )
20449 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20450 ac_need_defaults=false;;
20451 --header | --heade | --head | --hea )
20453 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20454 ac_need_defaults=false;;
20455 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20456 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20459 # This is an error.
20460 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20461 Try \`$0 --help' for more information." >&5
20462 echo "$as_me: error: unrecognized option: $1
20463 Try \`$0 --help' for more information." >&2;}
20464 { (exit 1); exit 1; }; } ;;
20466 *) ac_config_targets="$ac_config_targets $1" ;;
20472 ac_configure_extra_args=
20474 if $ac_cs_silent; then
20476 ac_configure_extra_args="$ac_configure_extra_args --silent"
20480 cat >>$CONFIG_STATUS <<_ACEOF
20481 if \$ac_cs_recheck; then
20482 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20483 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20492 cat >>$CONFIG_STATUS <<\_ACEOF
20493 for ac_config_target in $ac_config_targets
20495 case "$ac_config_target" in
20496 # Handling of arguments.
20497 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
20498 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
20499 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
20500 "libs/Makelib.rules" ) CONFIG_FILES="$CONFIG_FILES libs/Makelib.rules" ;;
20501 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
20502 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20503 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
20504 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20505 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20506 "dlls/advpack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
20507 "dlls/advpack/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
20508 "dlls/amstream/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
20509 "dlls/atl/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
20510 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20511 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20512 "dlls/cabinet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20513 "dlls/capi2032/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20514 "dlls/cards/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
20515 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20516 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
20517 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20518 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20519 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
20520 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20521 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20522 "dlls/cryptdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
20523 "dlls/ctl3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
20524 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20525 "dlls/d3d9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20526 "dlls/d3dim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20527 "dlls/d3drm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20528 "dlls/d3dx8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20529 "dlls/d3dxof/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20530 "dlls/dbghelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20531 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20532 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20533 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20534 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
20535 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
20536 "dlls/dinput/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
20537 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20538 "dlls/dmband/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
20539 "dlls/dmcompos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20540 "dlls/dmime/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
20541 "dlls/dmloader/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20542 "dlls/dmscript/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20543 "dlls/dmstyle/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20544 "dlls/dmsynth/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20545 "dlls/dmusic/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20546 "dlls/dmusic32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20547 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
20548 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20549 "dlls/dpnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20550 "dlls/dpnhpast/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20551 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
20552 "dlls/dsound/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20553 "dlls/dswave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
20554 "dlls/dxdiagn/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20555 "dlls/dxerr8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20556 "dlls/dxerr9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20557 "dlls/dxguid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20558 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
20559 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20560 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
20561 "dlls/glut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
20562 "dlls/hhctrl.ocx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20563 "dlls/iccvid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20564 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
20565 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20566 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20567 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
20568 "dlls/iphlpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20569 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20570 "dlls/itss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
20571 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
20572 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20573 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
20574 "dlls/lzexpand/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/tests/Makefile" ;;
20575 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20576 "dlls/mapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20577 "dlls/mlang/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
20578 "dlls/mlang/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20579 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20580 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20581 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
20582 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
20583 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
20584 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
20585 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
20586 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
20587 "dlls/msacm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/tests/Makefile" ;;
20588 "dlls/mscms/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
20589 "dlls/mscms/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
20590 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20591 "dlls/mshtml/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20592 "dlls/msi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
20593 "dlls/msi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
20594 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20595 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
20596 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20597 "dlls/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20598 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20599 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20600 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20601 "dlls/msvcrt40/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20602 "dlls/msvcrtd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20603 "dlls/msvcrtd/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20604 "dlls/msvidc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20605 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
20606 "dlls/mswsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20607 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20608 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20609 "dlls/newdev/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
20610 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20611 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20612 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20613 "dlls/odbccp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
20614 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
20615 "dlls/ole32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
20616 "dlls/oleacc/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20617 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20618 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20619 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
20620 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20621 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20622 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
20623 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20624 "dlls/powrprof/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
20625 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
20626 "dlls/psapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
20627 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
20628 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
20629 "dlls/quartz/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
20630 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20631 "dlls/riched20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
20632 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
20633 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20634 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20635 "dlls/rsabase/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20636 "dlls/rsabase/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
20637 "dlls/rsaenh/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
20638 "dlls/rsaenh/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
20639 "dlls/secur32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
20640 "dlls/sensapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
20641 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
20642 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20643 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20644 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
20645 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20646 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20647 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20648 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20649 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20650 "dlls/stdole32.tlb/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
20651 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
20652 "dlls/strmiids/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
20653 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20654 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
20655 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
20656 "dlls/unicows/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
20657 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
20658 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20659 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20660 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
20661 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20662 "dlls/uuid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
20663 "dlls/uxtheme/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20664 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20665 "dlls/vdmdbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
20666 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
20667 "dlls/version/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
20668 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20669 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20670 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20671 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20672 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20673 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
20674 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
20675 "dlls/wined3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20676 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
20677 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
20678 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
20679 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20680 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
20681 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20682 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
20683 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
20684 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
20685 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
20686 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
20687 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
20688 "dlls/winmm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20689 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
20690 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20691 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20692 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20693 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20694 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20695 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20696 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
20697 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
20698 "dlls/winsock/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
20699 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
20700 "dlls/winspool/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20701 "dlls/wintab32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20702 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20703 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
20704 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
20705 "dlls/wtsapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
20706 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
20707 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
20708 "fonts/Makefile" ) CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
20709 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20710 "libs/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
20711 "libs/port/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
20712 "libs/unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/unicode/Makefile" ;;
20713 "libs/wine/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
20714 "libs/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
20715 "loader/Makefile" ) CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
20716 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
20717 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
20718 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
20719 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
20720 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
20721 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
20722 "programs/msiexec/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
20723 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
20724 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
20725 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
20726 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
20727 "programs/rpcss/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
20728 "programs/rundll32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
20729 "programs/start/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
20730 "programs/taskmgr/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
20731 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
20732 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
20733 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
20734 "programs/wineboot/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
20735 "programs/winebrowser/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
20736 "programs/winecfg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
20737 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
20738 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
20739 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
20740 "programs/winemenubuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
20741 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
20742 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
20743 "programs/winetest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
20744 "programs/winevdm/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
20745 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
20746 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
20747 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
20748 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
20749 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
20750 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
20751 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
20752 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
20753 "tools/winegcc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
20754 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
20755 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
20756 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
20757 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
20758 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
20759 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
20760 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
20761 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
20762 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
20763 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
20764 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
20765 "dlls/user/dde" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/dde" ;;
20766 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
20767 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
20768 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
20769 "programs/regedit/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regedit/tests" ;;
20770 "windows" ) CONFIG_COMMANDS="$CONFIG_COMMANDS windows" ;;
20771 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20772 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20773 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20774 { (exit 1); exit 1; }; };;
20778 # If the user did not use the arguments to specify the items to instantiate,
20779 # then the envvar interface is used. Set only those that are not.
20780 # We use the long form for the default assignment because of an extremely
20781 # bizarre bug on SunOS 4.1.3.
20782 if $ac_need_defaults; then
20783 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20784 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20785 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20788 # Have a temporary directory for convenience. Make it in the build tree
20789 # simply because there is no reason to put it here, and in addition,
20790 # creating and moving files from /tmp can sometimes cause problems.
20791 # Create a temporary directory, and hook for its removal unless debugging.
20794 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20795 trap '{ (exit 1); exit 1; }' 1 2 13 15
20798 # Create a (secure) tmp directory for tmp files.
20801 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20802 test -n "$tmp" && test -d "$tmp"
20805 tmp=./confstat$$-$RANDOM
20806 (umask 077 && mkdir $tmp)
20809 echo "$me: cannot create a temporary directory in ." >&2
20810 { (exit 1); exit 1; }
20815 cat >>$CONFIG_STATUS <<_ACEOF
20818 # CONFIG_FILES section.
20821 # No need to generate the scripts if there are no CONFIG_FILES.
20822 # This happens for instance when ./config.status config.h
20823 if test -n "\$CONFIG_FILES"; then
20824 # Protect against being on the right side of a sed subst in config.status.
20825 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20826 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20827 s,@SHELL@,$SHELL,;t t
20828 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20829 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20830 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20831 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20832 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20833 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20834 s,@exec_prefix@,$exec_prefix,;t t
20835 s,@prefix@,$prefix,;t t
20836 s,@program_transform_name@,$program_transform_name,;t t
20837 s,@bindir@,$bindir,;t t
20838 s,@sbindir@,$sbindir,;t t
20839 s,@libexecdir@,$libexecdir,;t t
20840 s,@datadir@,$datadir,;t t
20841 s,@sysconfdir@,$sysconfdir,;t t
20842 s,@sharedstatedir@,$sharedstatedir,;t t
20843 s,@localstatedir@,$localstatedir,;t t
20844 s,@libdir@,$libdir,;t t
20845 s,@includedir@,$includedir,;t t
20846 s,@oldincludedir@,$oldincludedir,;t t
20847 s,@infodir@,$infodir,;t t
20848 s,@mandir@,$mandir,;t t
20849 s,@build_alias@,$build_alias,;t t
20850 s,@host_alias@,$host_alias,;t t
20851 s,@target_alias@,$target_alias,;t t
20852 s,@DEFS@,$DEFS,;t t
20853 s,@ECHO_C@,$ECHO_C,;t t
20854 s,@ECHO_N@,$ECHO_N,;t t
20855 s,@ECHO_T@,$ECHO_T,;t t
20856 s,@LIBS@,$LIBS,;t t
20857 s,@WIN16_FILES@,$WIN16_FILES,;t t
20858 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
20859 s,@DLLDEFS@,$DLLDEFS,;t t
20860 s,@build@,$build,;t t
20861 s,@build_cpu@,$build_cpu,;t t
20862 s,@build_vendor@,$build_vendor,;t t
20863 s,@build_os@,$build_os,;t t
20864 s,@host@,$host,;t t
20865 s,@host_cpu@,$host_cpu,;t t
20866 s,@host_vendor@,$host_vendor,;t t
20867 s,@host_os@,$host_os,;t t
20868 s,@SET_MAKE@,$SET_MAKE,;t t
20870 s,@CFLAGS@,$CFLAGS,;t t
20871 s,@LDFLAGS@,$LDFLAGS,;t t
20872 s,@CPPFLAGS@,$CPPFLAGS,;t t
20873 s,@ac_ct_CC@,$ac_ct_CC,;t t
20874 s,@EXEEXT@,$EXEEXT,;t t
20875 s,@OBJEXT@,$OBJEXT,;t t
20877 s,@CXXFLAGS@,$CXXFLAGS,;t t
20878 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20879 s,@CPPBIN@,$CPPBIN,;t t
20880 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
20881 s,@TOOLSDIR@,$TOOLSDIR,;t t
20883 s,@X_CFLAGS@,$X_CFLAGS,;t t
20884 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
20885 s,@X_LIBS@,$X_LIBS,;t t
20886 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
20888 s,@LEXLIB@,$LEXLIB,;t t
20889 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20890 s,@XLEX@,$XLEX,;t t
20891 s,@BISON@,$BISON,;t t
20893 s,@ac_ct_AS@,$ac_ct_AS,;t t
20895 s,@ac_ct_LD@,$ac_ct_LD,;t t
20897 s,@ac_ct_AR@,$ac_ct_AR,;t t
20898 s,@RANLIB@,$RANLIB,;t t
20899 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20900 s,@STRIP@,$STRIP,;t t
20901 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20902 s,@WINDRES@,$WINDRES,;t t
20903 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
20904 s,@LN_S@,$LN_S,;t t
20906 s,@EGREP@,$EGREP,;t t
20907 s,@LDCONFIG@,$LDCONFIG,;t t
20908 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20909 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20910 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20911 s,@LINT@,$LINT,;t t
20912 s,@LINTFLAGS@,$LINTFLAGS,;t t
20913 s,@FONTFORGE@,$FONTFORGE,;t t
20914 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
20915 s,@XLIB@,$XLIB,;t t
20916 s,@XFILES@,$XFILES,;t t
20917 s,@OPENGLFILES@,$OPENGLFILES,;t t
20918 s,@GLU32FILES@,$GLU32FILES,;t t
20919 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
20920 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
20921 s,@GLUT32FILES@,$GLUT32FILES,;t t
20922 s,@NASLIBS@,$NASLIBS,;t t
20923 s,@CURSESLIBS@,$CURSESLIBS,;t t
20924 s,@sane_devel@,$sane_devel,;t t
20925 s,@SANELIBS@,$SANELIBS,;t t
20926 s,@SANEINCL@,$SANEINCL,;t t
20927 s,@ICULIBS@,$ICULIBS,;t t
20928 s,@ft_devel@,$ft_devel,;t t
20929 s,@ft_devel2@,$ft_devel2,;t t
20930 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
20931 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
20932 s,@FONTSSUBDIRS@,$FONTSSUBDIRS,;t t
20933 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
20934 s,@ARTSLIBS@,$ARTSLIBS,;t t
20935 s,@ARTSINCL@,$ARTSINCL,;t t
20936 s,@ALSALIBS@,$ALSALIBS,;t t
20937 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
20938 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
20939 s,@DLLEXT@,$DLLEXT,;t t
20940 s,@DLLFLAGS@,$DLLFLAGS,;t t
20941 s,@DLLIBS@,$DLLIBS,;t t
20942 s,@LDSHARED@,$LDSHARED,;t t
20943 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
20944 s,@LIBEXT@,$LIBEXT,;t t
20945 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
20946 s,@DLLTOOL@,$DLLTOOL,;t t
20947 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
20948 s,@DLLWRAP@,$DLLWRAP,;t t
20949 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
20950 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
20951 s,@LDLIBWINEFLAGS@,$LDLIBWINEFLAGS,;t t
20952 s,@COREFOUNDATIONLIB@,$COREFOUNDATIONLIB,;t t
20953 s,@IOKITLIB@,$IOKITLIB,;t t
20954 s,@CROSSTEST@,$CROSSTEST,;t t
20955 s,@CROSSCC@,$CROSSCC,;t t
20956 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
20957 s,@LDPATH@,$LDPATH,;t t
20958 s,@CRTLIBS@,$CRTLIBS,;t t
20959 s,@SOCKETLIBS@,$SOCKETLIBS,;t t
20960 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
20961 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
20963 s,@ALLOCA@,$ALLOCA,;t t
20964 s,@LIBOBJS@,$LIBOBJS,;t t
20965 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20966 /@MAKE_RULES@/r $MAKE_RULES
20967 s,@MAKE_RULES@,,;t t
20968 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
20969 s,@MAKE_DLL_RULES@,,;t t
20970 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
20971 s,@MAKE_TEST_RULES@,,;t t
20972 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
20973 s,@MAKE_LIB_RULES@,,;t t
20974 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
20975 s,@MAKE_PROG_RULES@,,;t t
20980 cat >>$CONFIG_STATUS <<\_ACEOF
20981 # Split the substitutions into bite-sized pieces for seds with
20982 # small command number limits, like on Digital OSF/1 and HP-UX.
20983 ac_max_sed_lines=48
20984 ac_sed_frag=1 # Number of current file.
20985 ac_beg=1 # First line for current file.
20986 ac_end=$ac_max_sed_lines # Line after last line for current file.
20989 while $ac_more_lines; do
20990 if test $ac_beg -gt 1; then
20991 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20993 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20995 if test ! -s $tmp/subs.frag; then
20996 ac_more_lines=false
20998 # The purpose of the label and of the branching condition is to
20999 # speed up the sed processing (if there are no `@' at all, there
21000 # is no need to browse any of the substitutions).
21001 # These are the two extra sed commands mentioned above.
21003 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21004 if test -z "$ac_sed_cmds"; then
21005 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21007 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21009 ac_sed_frag=`expr $ac_sed_frag + 1`
21011 ac_end=`expr $ac_end + $ac_max_sed_lines`
21014 if test -z "$ac_sed_cmds"; then
21017 fi # test -n "$CONFIG_FILES"
21020 cat >>$CONFIG_STATUS <<\_ACEOF
21021 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21022 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21024 - | *:- | *:-:* ) # input from stdin
21026 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21027 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21028 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21029 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21030 * ) ac_file_in=$ac_file.in ;;
21033 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21034 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21035 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21036 X"$ac_file" : 'X\(//\)[^/]' \| \
21037 X"$ac_file" : 'X\(//\)$' \| \
21038 X"$ac_file" : 'X\(/\)' \| \
21039 . : '\(.\)' 2>/dev/null ||
21041 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21042 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21043 /^X\(\/\/\)$/{ s//\1/; q; }
21044 /^X\(\/\).*/{ s//\1/; q; }
21046 { if $as_mkdir_p; then
21051 while test ! -d "$as_dir"; do
21052 as_dirs="$as_dir $as_dirs"
21053 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21054 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21055 X"$as_dir" : 'X\(//\)[^/]' \| \
21056 X"$as_dir" : 'X\(//\)$' \| \
21057 X"$as_dir" : 'X\(/\)' \| \
21058 . : '\(.\)' 2>/dev/null ||
21060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21061 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21062 /^X\(\/\/\)$/{ s//\1/; q; }
21063 /^X\(\/\).*/{ s//\1/; q; }
21066 test ! -n "$as_dirs" || mkdir $as_dirs
21067 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21068 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21069 { (exit 1); exit 1; }; }; }
21073 if test "$ac_dir" != .; then
21074 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21075 # A "../" for each directory in $ac_dir_suffix.
21076 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21078 ac_dir_suffix= ac_top_builddir=
21082 .) # No --srcdir option. We are building in place.
21084 if test -z "$ac_top_builddir"; then
21087 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21089 [\\/]* | ?:[\\/]* ) # Absolute path.
21090 ac_srcdir=$srcdir$ac_dir_suffix;
21091 ac_top_srcdir=$srcdir ;;
21092 *) # Relative path.
21093 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21094 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21097 # Do not use `cd foo && pwd` to compute absolute paths, because
21098 # the directories may not exist.
21100 .) ac_abs_builddir="$ac_dir";;
21103 .) ac_abs_builddir=`pwd`;;
21104 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21105 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21108 case $ac_abs_builddir in
21109 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21111 case ${ac_top_builddir}. in
21112 .) ac_abs_top_builddir=$ac_abs_builddir;;
21113 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21114 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21117 case $ac_abs_builddir in
21118 .) ac_abs_srcdir=$ac_srcdir;;
21121 .) ac_abs_srcdir=$ac_abs_builddir;;
21122 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21123 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21126 case $ac_abs_builddir in
21127 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21129 case $ac_top_srcdir in
21130 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21131 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21132 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21138 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21139 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21142 # Let's still pretend it is `configure' which instantiates (i.e., don't
21143 # use $as_me), people would be surprised to read:
21144 # /* config.h. Generated by config.status. */
21145 if test x"$ac_file" = x-; then
21148 configure_input="$ac_file. "
21150 configure_input=$configure_input"Generated from `echo $ac_file_in |
21151 sed 's,.*/,,'` by configure."
21153 # First look for the input files in the build tree, otherwise in the
21155 ac_file_inputs=`IFS=:
21156 for f in $ac_file_in; do
21158 -) echo $tmp/stdin ;;
21160 # Absolute (can't be DOS-style, as IFS=:)
21161 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21162 echo "$as_me: error: cannot find input file: $f" >&2;}
21163 { (exit 1); exit 1; }; }
21166 if test -f "$f"; then
21169 elif test -f "$srcdir/$f"; then
21174 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21175 echo "$as_me: error: cannot find input file: $f" >&2;}
21176 { (exit 1); exit 1; }; }
21179 done` || { (exit 1); exit 1; }
21181 if test x"$ac_file" != x-; then
21182 { echo "$as_me:$LINENO: creating $ac_file" >&5
21183 echo "$as_me: creating $ac_file" >&6;}
21187 cat >>$CONFIG_STATUS <<_ACEOF
21191 cat >>$CONFIG_STATUS <<\_ACEOF
21193 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21194 s,@configure_input@,$configure_input,;t t
21195 s,@srcdir@,$ac_srcdir,;t t
21196 s,@abs_srcdir@,$ac_abs_srcdir,;t t
21197 s,@top_srcdir@,$ac_top_srcdir,;t t
21198 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21199 s,@builddir@,$ac_builddir,;t t
21200 s,@abs_builddir@,$ac_abs_builddir,;t t
21201 s,@top_builddir@,$ac_top_builddir,;t t
21202 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21203 s,@INSTALL@,$ac_INSTALL,;t t
21204 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21206 if test x"$ac_file" != x-; then
21207 mv $tmp/out $ac_file
21215 cat >>$CONFIG_STATUS <<\_ACEOF
21218 # CONFIG_HEADER section.
21221 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21222 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21224 # ac_d sets the value in "#define NAME VALUE" lines.
21225 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21226 ac_dB='[ ].*$,\1#\2'
21229 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21230 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21231 ac_uB='$,\1#\2define\3'
21235 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21236 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21238 - | *:- | *:-:* ) # input from stdin
21240 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21241 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21242 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21243 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21244 * ) ac_file_in=$ac_file.in ;;
21247 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21248 echo "$as_me: creating $ac_file" >&6;}
21250 # First look for the input files in the build tree, otherwise in the
21252 ac_file_inputs=`IFS=:
21253 for f in $ac_file_in; do
21255 -) echo $tmp/stdin ;;
21257 # Absolute (can't be DOS-style, as IFS=:)
21258 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21259 echo "$as_me: error: cannot find input file: $f" >&2;}
21260 { (exit 1); exit 1; }; }
21261 # Do quote $f, to prevent DOS paths from being IFS'd.
21264 if test -f "$f"; then
21267 elif test -f "$srcdir/$f"; then
21272 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21273 echo "$as_me: error: cannot find input file: $f" >&2;}
21274 { (exit 1); exit 1; }; }
21277 done` || { (exit 1); exit 1; }
21278 # Remove the trailing spaces.
21279 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21283 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21284 # `conftest.undefs', that substitutes the proper values into
21285 # config.h.in to produce config.h. The first handles `#define'
21286 # templates, and the second `#undef' templates.
21287 # And first: Protect against being on the right side of a sed subst in
21288 # config.status. Protect against being in an unquoted here document
21289 # in config.status.
21290 rm -f conftest.defines conftest.undefs
21291 # Using a here document instead of a string reduces the quoting nightmare.
21292 # Putting comments in sed scripts is not portable.
21294 # `end' is used to avoid that the second main sed command (meant for
21295 # 0-ary CPP macros) applies to n-ary macro definitions.
21296 # See the Autoconf documentation for `clear'.
21297 cat >confdef2sed.sed <<\_ACEOF
21302 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21304 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21307 # If some macros were called several times there might be several times
21308 # the same #defines, which is useless. Nevertheless, we may not want to
21309 # sort them, since we want the *last* AC-DEFINE to be honored.
21310 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21311 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21312 rm -f confdef2sed.sed
21314 # This sed command replaces #undef with comments. This is necessary, for
21315 # example, in the case of _POSIX_SOURCE, which is predefined and required
21316 # on some systems where configure will not decide to define it.
21317 cat >>conftest.undefs <<\_ACEOF
21318 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21321 # Break up conftest.defines because some shells have a limit on the size
21322 # of here documents, and old seds have small limits too (100 cmds).
21323 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21324 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21325 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21326 echo ' :' >>$CONFIG_STATUS
21327 rm -f conftest.tail
21328 while grep . conftest.defines >/dev/null
21330 # Write a limited-size here document to $tmp/defines.sed.
21331 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21332 # Speed up: don't consider the non `#define' lines.
21333 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21334 # Work around the forget-to-reset-the-flag bug.
21335 echo 't clr' >>$CONFIG_STATUS
21336 echo ': clr' >>$CONFIG_STATUS
21337 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21339 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21341 mv $tmp/out $tmp/in
21343 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21344 rm -f conftest.defines
21345 mv conftest.tail conftest.defines
21347 rm -f conftest.defines
21348 echo ' fi # grep' >>$CONFIG_STATUS
21349 echo >>$CONFIG_STATUS
21351 # Break up conftest.undefs because some shells have a limit on the size
21352 # of here documents, and old seds have small limits too (100 cmds).
21353 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21354 rm -f conftest.tail
21355 while grep . conftest.undefs >/dev/null
21357 # Write a limited-size here document to $tmp/undefs.sed.
21358 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21359 # Speed up: don't consider the non `#undef'
21360 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21361 # Work around the forget-to-reset-the-flag bug.
21362 echo 't clr' >>$CONFIG_STATUS
21363 echo ': clr' >>$CONFIG_STATUS
21364 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21366 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21368 mv $tmp/out $tmp/in
21370 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21371 rm -f conftest.undefs
21372 mv conftest.tail conftest.undefs
21374 rm -f conftest.undefs
21376 cat >>$CONFIG_STATUS <<\_ACEOF
21377 # Let's still pretend it is `configure' which instantiates (i.e., don't
21378 # use $as_me), people would be surprised to read:
21379 # /* config.h. Generated by config.status. */
21380 if test x"$ac_file" = x-; then
21381 echo "/* Generated by configure. */" >$tmp/config.h
21383 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21385 cat $tmp/in >>$tmp/config.h
21387 if test x"$ac_file" != x-; then
21388 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21389 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21390 echo "$as_me: $ac_file is unchanged" >&6;}
21392 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21393 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21394 X"$ac_file" : 'X\(//\)[^/]' \| \
21395 X"$ac_file" : 'X\(//\)$' \| \
21396 X"$ac_file" : 'X\(/\)' \| \
21397 . : '\(.\)' 2>/dev/null ||
21399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21400 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21401 /^X\(\/\/\)$/{ s//\1/; q; }
21402 /^X\(\/\).*/{ s//\1/; q; }
21404 { if $as_mkdir_p; then
21409 while test ! -d "$as_dir"; do
21410 as_dirs="$as_dir $as_dirs"
21411 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21412 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21413 X"$as_dir" : 'X\(//\)[^/]' \| \
21414 X"$as_dir" : 'X\(//\)$' \| \
21415 X"$as_dir" : 'X\(/\)' \| \
21416 . : '\(.\)' 2>/dev/null ||
21418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21419 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21420 /^X\(\/\/\)$/{ s//\1/; q; }
21421 /^X\(\/\).*/{ s//\1/; q; }
21424 test ! -n "$as_dirs" || mkdir $as_dirs
21425 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21426 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21427 { (exit 1); exit 1; }; }; }
21430 mv $tmp/config.h $ac_file
21434 rm -f $tmp/config.h
21438 cat >>$CONFIG_STATUS <<\_ACEOF
21441 # CONFIG_COMMANDS section.
21443 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21444 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21445 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21446 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21447 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21448 X"$ac_dest" : 'X\(//\)[^/]' \| \
21449 X"$ac_dest" : 'X\(//\)$' \| \
21450 X"$ac_dest" : 'X\(/\)' \| \
21451 . : '\(.\)' 2>/dev/null ||
21453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21454 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21455 /^X\(\/\/\)$/{ s//\1/; q; }
21456 /^X\(\/\).*/{ s//\1/; q; }
21458 { if $as_mkdir_p; then
21463 while test ! -d "$as_dir"; do
21464 as_dirs="$as_dir $as_dirs"
21465 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21466 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21467 X"$as_dir" : 'X\(//\)[^/]' \| \
21468 X"$as_dir" : 'X\(//\)$' \| \
21469 X"$as_dir" : 'X\(/\)' \| \
21470 . : '\(.\)' 2>/dev/null ||
21472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21473 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21474 /^X\(\/\/\)$/{ s//\1/; q; }
21475 /^X\(\/\).*/{ s//\1/; q; }
21478 test ! -n "$as_dirs" || mkdir $as_dirs
21479 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21480 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21481 { (exit 1); exit 1; }; }; }
21485 if test "$ac_dir" != .; then
21486 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21487 # A "../" for each directory in $ac_dir_suffix.
21488 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21490 ac_dir_suffix= ac_top_builddir=
21494 .) # No --srcdir option. We are building in place.
21496 if test -z "$ac_top_builddir"; then
21499 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21501 [\\/]* | ?:[\\/]* ) # Absolute path.
21502 ac_srcdir=$srcdir$ac_dir_suffix;
21503 ac_top_srcdir=$srcdir ;;
21504 *) # Relative path.
21505 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21506 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21509 # Do not use `cd foo && pwd` to compute absolute paths, because
21510 # the directories may not exist.
21512 .) ac_abs_builddir="$ac_dir";;
21515 .) ac_abs_builddir=`pwd`;;
21516 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21517 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21520 case $ac_abs_builddir in
21521 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21523 case ${ac_top_builddir}. in
21524 .) ac_abs_top_builddir=$ac_abs_builddir;;
21525 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21526 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21529 case $ac_abs_builddir in
21530 .) ac_abs_srcdir=$ac_srcdir;;
21533 .) ac_abs_srcdir=$ac_abs_builddir;;
21534 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21535 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21538 case $ac_abs_builddir in
21539 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21541 case $ac_top_srcdir in
21542 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21543 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21544 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21549 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21550 echo "$as_me: executing $ac_dest commands" >&6;}
21552 dlls/ddraw/d3ddevice ) test -d "dlls/ddraw/d3ddevice" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
21553 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir "dlls/ddraw/d3ddevice") ;;
21554 dlls/ddraw/dclipper ) test -d "dlls/ddraw/dclipper" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
21555 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir "dlls/ddraw/dclipper") ;;
21556 dlls/ddraw/ddraw ) test -d "dlls/ddraw/ddraw" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
21557 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir "dlls/ddraw/ddraw") ;;
21558 dlls/ddraw/direct3d ) test -d "dlls/ddraw/direct3d" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
21559 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir "dlls/ddraw/direct3d") ;;
21560 dlls/ddraw/dpalette ) test -d "dlls/ddraw/dpalette" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
21561 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir "dlls/ddraw/dpalette") ;;
21562 dlls/ddraw/dsurface ) test -d "dlls/ddraw/dsurface" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
21563 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir "dlls/ddraw/dsurface") ;;
21564 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21565 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
21566 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21567 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
21568 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21569 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
21570 dlls/user/dde ) test -d "dlls/user/dde" || ({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
21571 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir "dlls/user/dde") ;;
21572 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21573 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
21574 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21575 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
21576 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
21577 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
21578 programs/regedit/tests ) test -d "programs/regedit/tests" || ({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
21579 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir "programs/regedit/tests") ;;
21580 windows ) test -d "windows" || ({ echo "$as_me:$LINENO: creating windows" >&5
21581 echo "$as_me: creating windows" >&6;} && mkdir "windows") ;;
21586 cat >>$CONFIG_STATUS <<\_ACEOF
21588 { (exit 0); exit 0; }
21590 chmod +x $CONFIG_STATUS
21591 ac_clean_files=$ac_clean_files_save
21594 # configure is writing to config.log, and then calls config.status.
21595 # config.status does its own redirection, appending to config.log.
21596 # Unfortunately, on DOS this fails, as config.log is still kept open
21597 # by configure, so config.status won't be able to write to it; its
21598 # output is simply discarded. So we exec the FD to /dev/null,
21599 # effectively closing config.log, so it can be properly (re)opened and
21600 # appended to by config.status. When coming back to configure, we
21601 # need to make the FD available again.
21602 if test "$no_create" != yes; then
21604 ac_config_status_args=
21605 test "$silent" = yes &&
21606 ac_config_status_args="$ac_config_status_args --quiet"
21608 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21610 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21611 # would make configure fail if this is the last instruction.
21612 $ac_cs_success || { (exit 1); exit 1; }
21616 if test "$have_x" = "no"
21619 echo "*** Warning: X development files not found. Wine will be built without"
21620 echo "*** X support, which currently does not work, and would probably not be"
21621 echo "*** what you want anyway. You will need to install devel packages of"
21622 echo "*** Xlib/Xfree86 at the very least."
21625 if test "$wine_cv_opengl_version_OK" = "no"
21628 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21629 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21632 if test "$wine_cv_msg_freetype" = "yes"
21635 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21636 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21637 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21638 echo "*** enable Wine to use TrueType fonts."
21641 if test -z "$ALSALIBS" -a -z "$ARTSC_LIBS" -a -z "$AUDIOIOLIBS" -a \
21642 -z "$ac_cv_lib_soname_jack" -a -z "$NASLIBS" -a \
21643 "$ac_cv_c_opensoundsystem" = "no"
21645 echo "*** No sound system was found. Windows applications will be silent."
21646 echo "*** The currently supported sound systems are:"
21647 echo "*** ALSA, ARTS, AudioIO, Jack, NAS and OSS"
21651 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."