2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 0.9.13.
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
='0.9.13'
273 PACKAGE_STRING
='Wine 0.9.13'
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os WIN16_FILES WIN16_INSTALL 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 PKG_CONFIG PRELINK LIBPTHREAD XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS XML2LIBS XML2INCL XSLTLIBS XSLTINCL HALINCL CURSESLIBS sane_devel SANELIBS SANEINCL gphoto2_devel gphoto2port_devel GPHOTO2LIBS GPHOTO2INCL ICULIBS RESOLVLIBS LCMSLIBS LDAPLIBS FREETYPELIBS FREETYPEINCL ft_devel ft_devel2 FONTSSUBDIRS ARTSCCONFIG ARTSLIBS ARTSINCL ESDCONFIG ESDLIBS ESDINCL ALSALIBS AUDIOIOLIBS EXTRACFLAGS BUILTINFLAG DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLLFLAGS LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS LDEXERPATH LDDLLRPATH COREFOUNDATIONLIB IOKITLIB CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS SOCKETLIBS MAIN_BINARY EXTRA_BINARIES LDD LIBOBJS LTLIBOBJS'
315 ac_subst_files
='MAKE_RULES MAKE_DLL_RULES MAKE_IMPLIB_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 0.9.13 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 0.9.13:";;
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 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
868 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
869 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
870 --without-opengl do not use OpenGL
871 --without-curses do not use curses
872 --with-wine-tools=<dir> use Wine tools from directory <dir>
873 --with-x use the X Window System
875 Some influential environment variables:
876 CC C compiler command
877 CFLAGS C compiler flags
878 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
879 nonstandard directory <lib dir>
880 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
881 headers in a nonstandard directory <include dir>
882 CXX C++ compiler command
883 CXXFLAGS C++ compiler flags
886 Use these variables to override the choices made by `configure' or to
help
887 it to
find libraries and programs with nonstandard names
/locations.
889 Report bugs to
<wine-devel@winehq.org
>.
893 if test "$ac_init_help" = "recursive"; then
894 # If there are subdirs, report their specific --help.
896 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
897 test -d $ac_dir ||
continue
900 if test "$ac_dir" != .
; then
901 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
902 # A "../" for each directory in $ac_dir_suffix.
903 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
905 ac_dir_suffix
= ac_top_builddir
=
909 .
) # No --srcdir option. We are building in place.
911 if test -z "$ac_top_builddir"; then
914 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
916 [\\/]* | ?
:[\\/]* ) # Absolute path.
917 ac_srcdir
=$srcdir$ac_dir_suffix;
918 ac_top_srcdir
=$srcdir ;;
920 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
921 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
924 # Do not use `cd foo && pwd` to compute absolute paths, because
925 # the directories may not exist.
927 .
) ac_abs_builddir
="$ac_dir";;
930 .
) ac_abs_builddir
=`pwd`;;
931 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
932 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
935 case $ac_abs_builddir in
936 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
938 case ${ac_top_builddir}.
in
939 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
940 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
941 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
944 case $ac_abs_builddir in
945 .
) ac_abs_srcdir
=$ac_srcdir;;
948 .
) ac_abs_srcdir
=$ac_abs_builddir;;
949 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
950 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
953 case $ac_abs_builddir in
954 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
956 case $ac_top_srcdir in
957 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
958 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
959 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
964 # Check for guested configure; otherwise get Cygnus style configure.
965 if test -f $ac_srcdir/configure.gnu
; then
967 $SHELL $ac_srcdir/configure.gnu
--help=recursive
968 elif test -f $ac_srcdir/configure
; then
970 $SHELL $ac_srcdir/configure
--help=recursive
971 elif test -f $ac_srcdir/configure.ac ||
972 test -f $ac_srcdir/configure.
in; then
976 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
982 test -n "$ac_init_help" && exit 0
983 if $ac_init_version; then
985 Wine configure
0.9.13
986 generated by GNU Autoconf
2.59
988 Copyright
(C
) 2003 Free Software Foundation
, Inc.
989 This configure
script is free software
; the Free Software Foundation
990 gives unlimited permission to copy
, distribute and modify it.
996 This file contains any messages produced by compilers while
997 running configure, to aid debugging if configure makes a mistake.
999 It was created by Wine $as_me 0.9.13, which was
1000 generated by GNU Autoconf 2.59. Invocation command line was
1011 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1012 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1013 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1014 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1015 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1017 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1018 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1020 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1021 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1022 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1023 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1024 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1025 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1026 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1034 test -z "$as_dir" && as_dir
=.
1035 echo "PATH: $as_dir"
1050 # Keep a trace of the command line.
1051 # Strip out --no-create and --no-recursion so they do not pile up.
1052 # Strip out --silent because we don't want to record it for future runs.
1053 # Also quote any args containing shell meta-characters.
1054 # Make two passes to allow for proper duplicate-argument suppression.
1059 ac_must_keep_next
=false
1065 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1066 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1067 |
-silent |
--silent |
--silen |
--sile |
--sil)
1069 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1070 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1073 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1075 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1076 if test $ac_must_keep_next = true
; then
1077 ac_must_keep_next
=false
# Got value, back to normal.
1080 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1081 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1082 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1083 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1084 case "$ac_configure_args0 " in
1085 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1088 -* ) ac_must_keep_next
=true
;;
1091 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1092 # Get rid of the leading space.
1098 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1099 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1101 # When interrupted or exit'd, cleanup temporary files, and complete
1102 # config.log. We remove comments because anyway the quotes in there
1103 # would cause problems or look ugly.
1104 # WARNING: Be sure not to use single quotes in there, as some shells,
1105 # such as our DU 5.0 friend, will then `close' the trap.
1106 trap 'exit_status=$?
1107 # Save into config.log some information that might help in debugging.
1112 ## ---------------- ##
1113 ## Cache variables. ##
1114 ## ---------------- ##
1117 # The following way of writing the cache mishandles newlines in values,
1120 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1123 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1128 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1135 ## ----------------- ##
1136 ## Output variables. ##
1137 ## ----------------- ##
1140 for ac_var in $ac_subst_vars
1142 eval ac_val=$`echo $ac_var`
1143 echo "$ac_var='"'"'$ac_val'"'"'"
1147 if test -n "$ac_subst_files"; then
1154 for ac_var in $ac_subst_files
1156 eval ac_val=$`echo $ac_var`
1157 echo "$ac_var='"'"'$ac_val'"'"'"
1162 if test -s confdefs.h; then
1169 sed "/^$/d" confdefs.h | sort
1172 test "$ac_signal" != 0 &&
1173 echo "$as_me: caught signal $ac_signal"
1174 echo "$as_me: exit $exit_status"
1176 rm -f core *.core &&
1177 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1180 for ac_signal
in 1 2 13 15; do
1181 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1185 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1186 rm -rf conftest
* confdefs.h
1187 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1190 # Predefined preprocessor variables.
1192 cat >>confdefs.h
<<_ACEOF
1193 #define PACKAGE_NAME "$PACKAGE_NAME"
1197 cat >>confdefs.h
<<_ACEOF
1198 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1202 cat >>confdefs.h
<<_ACEOF
1203 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1207 cat >>confdefs.h
<<_ACEOF
1208 #define PACKAGE_STRING "$PACKAGE_STRING"
1212 cat >>confdefs.h
<<_ACEOF
1213 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1217 # Let the site file select an alternate cache file if it wants to.
1218 # Prefer explicitly selected file to automatically selected ones.
1219 if test -z "$CONFIG_SITE"; then
1220 if test "x$prefix" != xNONE
; then
1221 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1223 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1226 for ac_site_file
in $CONFIG_SITE; do
1227 if test -r "$ac_site_file"; then
1228 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1229 echo "$as_me: loading site script $ac_site_file" >&6;}
1230 sed 's/^/| /' "$ac_site_file" >&5
1235 if test -r "$cache_file"; then
1236 # Some versions of bash will fail to source /dev/null (special
1237 # files actually), so we avoid doing that.
1238 if test -f "$cache_file"; then
1239 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1240 echo "$as_me: loading cache $cache_file" >&6;}
1242 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1243 *) . .
/$cache_file;;
1247 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1248 echo "$as_me: creating cache $cache_file" >&6;}
1252 # Check that the precious variables saved in the cache have kept the same
1254 ac_cache_corrupted
=false
1255 for ac_var
in `(set) 2>&1 |
1256 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1257 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1258 eval ac_new_set
=\
$ac_env_${ac_var}_set
1259 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1260 eval ac_new_val
="\$ac_env_${ac_var}_value"
1261 case $ac_old_set,$ac_new_set in
1263 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1264 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1265 ac_cache_corrupted
=: ;;
1267 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1268 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1269 ac_cache_corrupted
=: ;;
1272 if test "x$ac_old_val" != "x$ac_new_val"; then
1273 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1274 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1275 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1276 echo "$as_me: former value: $ac_old_val" >&2;}
1277 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1278 echo "$as_me: current value: $ac_new_val" >&2;}
1279 ac_cache_corrupted
=:
1282 # Pass precious variables to config.status.
1283 if test "$ac_new_set" = set; then
1285 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1287 *) ac_arg
=$ac_var=$ac_new_val ;;
1289 case " $ac_configure_args " in
1290 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1291 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1295 if $ac_cache_corrupted; then
1296 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1297 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1298 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1299 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1300 { (exit 1); exit 1; }; }
1304 ac_cpp
='$CPP $CPPFLAGS'
1305 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1306 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1307 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1336 ac_config_headers
="$ac_config_headers include/config.h"
1339 for ac_dir
in tools
$srcdir/tools
; do
1340 if test -f $ac_dir/install-sh
; then
1342 ac_install_sh
="$ac_aux_dir/install-sh -c"
1344 elif test -f $ac_dir/install.sh
; then
1346 ac_install_sh
="$ac_aux_dir/install.sh -c"
1348 elif test -f $ac_dir/shtool
; then
1350 ac_install_sh
="$ac_aux_dir/shtool install -c"
1354 if test -z "$ac_aux_dir"; then
1355 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1356 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1357 { (exit 1); exit 1; }; }
1359 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1360 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1361 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1365 # Check whether --enable-win16 or --disable-win16 was given.
1366 if test "${enable_win16+set}" = set; then
1367 enableval
="$enable_win16"
1370 # Check whether --enable-win64 or --disable-win64 was given.
1371 if test "${enable_win64+set}" = set; then
1372 enableval
="$enable_win64"
1377 # Check whether --with-opengl or --without-opengl was given.
1378 if test "${with_opengl+set}" = set; then
1379 withval
="$with_opengl"
1383 # Check whether --with-curses or --without-curses was given.
1384 if test "${with_curses+set}" = set; then
1385 withval
="$with_curses"
1389 # Check whether --with-wine-tools or --without-wine-tools was given.
1390 if test "${with_wine_tools+set}" = set; then
1391 withval
="$with_wine_tools"
1395 # Make sure we can run config.sub.
1396 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1397 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1398 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1399 { (exit 1); exit 1; }; }
1401 echo "$as_me:$LINENO: checking build system type" >&5
1402 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1403 if test "${ac_cv_build+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1406 ac_cv_build_alias
=$build_alias
1407 test -z "$ac_cv_build_alias" &&
1408 ac_cv_build_alias
=`$ac_config_guess`
1409 test -z "$ac_cv_build_alias" &&
1410 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1411 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1412 { (exit 1); exit 1; }; }
1413 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1414 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1415 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1416 { (exit 1); exit 1; }; }
1419 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1420 echo "${ECHO_T}$ac_cv_build" >&6
1422 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1423 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1424 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1427 echo "$as_me:$LINENO: checking host system type" >&5
1428 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1429 if test "${ac_cv_host+set}" = set; then
1430 echo $ECHO_N "(cached) $ECHO_C" >&6
1432 ac_cv_host_alias
=$host_alias
1433 test -z "$ac_cv_host_alias" &&
1434 ac_cv_host_alias
=$ac_cv_build_alias
1435 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1436 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1437 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1438 { (exit 1); exit 1; }; }
1441 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1442 echo "${ECHO_T}$ac_cv_host" >&6
1444 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1445 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1446 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1451 if test "x$enable_win64" != "xyes"
1453 test -n "$CC" || CC
="gcc -m32"
1454 test -n "$LD" || LD
="ld -m elf_i386"
1455 test -n "$AS" || AS
="as --32"
1463 if test "x$enable_win16" != "xno"
1470 WIN16_FILES
="\$(WIN16_FILES)"
1472 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1474 if test "x$enable_win16" != "xyes"
1481 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1482 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1483 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1484 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1485 echo $ECHO_N "(cached) $ECHO_C" >&6
1487 cat >conftest.
make <<\_ACEOF
1489 @
echo 'ac_maketemp="$(MAKE)"'
1491 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1492 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1493 if test -n "$ac_maketemp"; then
1494 eval ac_cv_prog_make_
${ac_make}_set
=yes
1496 eval ac_cv_prog_make_
${ac_make}_set
=no
1500 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1501 echo "$as_me:$LINENO: result: yes" >&5
1502 echo "${ECHO_T}yes" >&6
1505 echo "$as_me:$LINENO: result: no" >&5
1506 echo "${ECHO_T}no" >&6
1507 SET_MAKE
="MAKE=${MAKE-make}"
1511 ac_cpp
='$CPP $CPPFLAGS'
1512 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1513 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1514 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1515 if test -n "$ac_tool_prefix"; then
1516 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1517 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1518 echo "$as_me:$LINENO: checking for $ac_word" >&5
1519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1520 if test "${ac_cv_prog_CC+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 if test -n "$CC"; then
1524 ac_cv_prog_CC
="$CC" # Let the user override the test.
1526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1530 test -z "$as_dir" && as_dir
=.
1531 for ac_exec_ext
in '' $ac_executable_extensions; do
1532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1533 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1543 if test -n "$CC"; then
1544 echo "$as_me:$LINENO: result: $CC" >&5
1545 echo "${ECHO_T}$CC" >&6
1547 echo "$as_me:$LINENO: result: no" >&5
1548 echo "${ECHO_T}no" >&6
1552 if test -z "$ac_cv_prog_CC"; then
1554 # Extract the first word of "gcc", so it can be a program name with args.
1555 set dummy gcc
; ac_word
=$2
1556 echo "$as_me:$LINENO: checking for $ac_word" >&5
1557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1558 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1559 echo $ECHO_N "(cached) $ECHO_C" >&6
1561 if test -n "$ac_ct_CC"; then
1562 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1568 test -z "$as_dir" && as_dir
=.
1569 for ac_exec_ext
in '' $ac_executable_extensions; do
1570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1571 ac_cv_prog_ac_ct_CC
="gcc"
1572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1580 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1581 if test -n "$ac_ct_CC"; then
1582 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1583 echo "${ECHO_T}$ac_ct_CC" >&6
1585 echo "$as_me:$LINENO: result: no" >&5
1586 echo "${ECHO_T}no" >&6
1594 if test -z "$CC"; then
1595 if test -n "$ac_tool_prefix"; then
1596 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1597 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1598 echo "$as_me:$LINENO: checking for $ac_word" >&5
1599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1600 if test "${ac_cv_prog_CC+set}" = set; then
1601 echo $ECHO_N "(cached) $ECHO_C" >&6
1603 if test -n "$CC"; then
1604 ac_cv_prog_CC
="$CC" # Let the user override the test.
1606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1610 test -z "$as_dir" && as_dir
=.
1611 for ac_exec_ext
in '' $ac_executable_extensions; do
1612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1613 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1623 if test -n "$CC"; then
1624 echo "$as_me:$LINENO: result: $CC" >&5
1625 echo "${ECHO_T}$CC" >&6
1627 echo "$as_me:$LINENO: result: no" >&5
1628 echo "${ECHO_T}no" >&6
1632 if test -z "$ac_cv_prog_CC"; then
1634 # Extract the first word of "cc", so it can be a program name with args.
1635 set dummy cc
; ac_word
=$2
1636 echo "$as_me:$LINENO: checking for $ac_word" >&5
1637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1638 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1639 echo $ECHO_N "(cached) $ECHO_C" >&6
1641 if test -n "$ac_ct_CC"; then
1642 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1648 test -z "$as_dir" && as_dir
=.
1649 for ac_exec_ext
in '' $ac_executable_extensions; do
1650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1651 ac_cv_prog_ac_ct_CC
="cc"
1652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1660 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1661 if test -n "$ac_ct_CC"; then
1662 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1663 echo "${ECHO_T}$ac_ct_CC" >&6
1665 echo "$as_me:$LINENO: result: no" >&5
1666 echo "${ECHO_T}no" >&6
1675 if test -z "$CC"; then
1676 # Extract the first word of "cc", so it can be a program name with args.
1677 set dummy cc
; ac_word
=$2
1678 echo "$as_me:$LINENO: checking for $ac_word" >&5
1679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1680 if test "${ac_cv_prog_CC+set}" = set; then
1681 echo $ECHO_N "(cached) $ECHO_C" >&6
1683 if test -n "$CC"; then
1684 ac_cv_prog_CC
="$CC" # Let the user override the test.
1687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1691 test -z "$as_dir" && as_dir
=.
1692 for ac_exec_ext
in '' $ac_executable_extensions; do
1693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1694 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1695 ac_prog_rejected
=yes
1699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1705 if test $ac_prog_rejected = yes; then
1706 # We found a bogon in the path, so make sure we never use it.
1707 set dummy
$ac_cv_prog_CC
1709 if test $# != 0; then
1710 # We chose a different compiler from the bogus one.
1711 # However, it has the same basename, so the bogon will be chosen
1712 # first if we set CC to just the basename; use the full file name.
1714 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1720 if test -n "$CC"; then
1721 echo "$as_me:$LINENO: result: $CC" >&5
1722 echo "${ECHO_T}$CC" >&6
1724 echo "$as_me:$LINENO: result: no" >&5
1725 echo "${ECHO_T}no" >&6
1729 if test -z "$CC"; then
1730 if test -n "$ac_tool_prefix"; then
1733 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1734 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1735 echo "$as_me:$LINENO: checking for $ac_word" >&5
1736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1737 if test "${ac_cv_prog_CC+set}" = set; then
1738 echo $ECHO_N "(cached) $ECHO_C" >&6
1740 if test -n "$CC"; then
1741 ac_cv_prog_CC
="$CC" # Let the user override the test.
1743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1747 test -z "$as_dir" && as_dir
=.
1748 for ac_exec_ext
in '' $ac_executable_extensions; do
1749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1750 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1760 if test -n "$CC"; then
1761 echo "$as_me:$LINENO: result: $CC" >&5
1762 echo "${ECHO_T}$CC" >&6
1764 echo "$as_me:$LINENO: result: no" >&5
1765 echo "${ECHO_T}no" >&6
1768 test -n "$CC" && break
1771 if test -z "$CC"; then
1775 # Extract the first word of "$ac_prog", so it can be a program name with args.
1776 set dummy
$ac_prog; ac_word
=$2
1777 echo "$as_me:$LINENO: checking for $ac_word" >&5
1778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1779 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1780 echo $ECHO_N "(cached) $ECHO_C" >&6
1782 if test -n "$ac_ct_CC"; then
1783 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1789 test -z "$as_dir" && as_dir
=.
1790 for ac_exec_ext
in '' $ac_executable_extensions; do
1791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1792 ac_cv_prog_ac_ct_CC
="$ac_prog"
1793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1801 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1802 if test -n "$ac_ct_CC"; then
1803 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1804 echo "${ECHO_T}$ac_ct_CC" >&6
1806 echo "$as_me:$LINENO: result: no" >&5
1807 echo "${ECHO_T}no" >&6
1810 test -n "$ac_ct_CC" && break
1819 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1820 See \`config.log' for more details." >&5
1821 echo "$as_me: error: no acceptable C compiler found in \$PATH
1822 See \`config.log' for more details." >&2;}
1823 { (exit 1); exit 1; }; }
1825 # Provide some information about the compiler.
1826 echo "$as_me:$LINENO:" \
1827 "checking for C compiler version" >&5
1828 ac_compiler
=`set X $ac_compile; echo $2`
1829 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1830 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1833 (exit $ac_status); }
1834 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1835 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1838 (exit $ac_status); }
1839 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1840 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1843 (exit $ac_status); }
1845 cat >conftest.
$ac_ext <<_ACEOF
1848 cat confdefs.h
>>conftest.
$ac_ext
1849 cat >>conftest.
$ac_ext <<_ACEOF
1850 /* end confdefs.h. */
1860 ac_clean_files_save
=$ac_clean_files
1861 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1862 # Try to create an executable without -o first, disregard a.out.
1863 # It will help us diagnose broken compilers, and finding out an intuition
1865 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1866 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1867 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1868 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1869 (eval $ac_link_default) 2>&5
1871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1872 (exit $ac_status); }; then
1873 # Find the output, starting from the most likely. This scheme is
1874 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1877 # Be careful to initialize this variable, since it used to be cached.
1878 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1880 # b.out is created by i960 compilers.
1881 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1883 test -f "$ac_file" ||
continue
1885 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1888 # This is the source file.
1891 # We found the default executable, but exeext='' is most
1895 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1896 # FIXME: I believe we export ac_cv_exeext for Libtool,
1897 # but it would be cool to find out if it's true. Does anybody
1898 # maintain Libtool? --akim.
1906 echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.
$ac_ext >&5
1909 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1910 See \`config.log' for more details." >&5
1911 echo "$as_me: error: C compiler cannot create executables
1912 See \`config.log' for more details." >&2;}
1913 { (exit 77); exit 77; }; }
1916 ac_exeext
=$ac_cv_exeext
1917 echo "$as_me:$LINENO: result: $ac_file" >&5
1918 echo "${ECHO_T}$ac_file" >&6
1920 # Check the compiler produces executables we can run. If not, either
1921 # the compiler is broken, or we cross compile.
1922 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1923 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1924 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1925 # If not cross compiling, check that we can run a simple program.
1926 if test "$cross_compiling" != yes; then
1927 if { ac_try
='./$ac_file'
1928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1932 (exit $ac_status); }; }; then
1935 if test "$cross_compiling" = maybe
; then
1938 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1939 If you meant to cross compile, use \`--host'.
1940 See \`config.log' for more details." >&5
1941 echo "$as_me: error: cannot run C compiled programs.
1942 If you meant to cross compile, use \`--host'.
1943 See \`config.log' for more details." >&2;}
1944 { (exit 1); exit 1; }; }
1948 echo "$as_me:$LINENO: result: yes" >&5
1949 echo "${ECHO_T}yes" >&6
1951 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1952 ac_clean_files
=$ac_clean_files_save
1953 # Check the compiler produces executables we can run. If not, either
1954 # the compiler is broken, or we cross compile.
1955 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1956 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1957 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1958 echo "${ECHO_T}$cross_compiling" >&6
1960 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1961 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1963 (eval $ac_link) 2>&5
1965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1966 (exit $ac_status); }; then
1967 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1968 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1969 # work properly (i.e., refer to `conftest.exe'), while it won't with
1971 for ac_file
in conftest.exe conftest conftest.
*; do
1972 test -f "$ac_file" ||
continue
1974 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1975 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1982 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1983 See \`config.log' for more details." >&5
1984 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1985 See \`config.log' for more details." >&2;}
1986 { (exit 1); exit 1; }; }
1989 rm -f conftest
$ac_cv_exeext
1990 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1991 echo "${ECHO_T}$ac_cv_exeext" >&6
1993 rm -f conftest.
$ac_ext
1994 EXEEXT
=$ac_cv_exeext
1996 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1997 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1998 if test "${ac_cv_objext+set}" = set; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6
2001 cat >conftest.
$ac_ext <<_ACEOF
2004 cat confdefs.h
>>conftest.
$ac_ext
2005 cat >>conftest.
$ac_ext <<_ACEOF
2006 /* end confdefs.h. */
2016 rm -f conftest.o conftest.obj
2017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2018 (eval $ac_compile) 2>&5
2020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2021 (exit $ac_status); }; then
2022 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2024 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2025 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2030 echo "$as_me: failed program was:" >&5
2031 sed 's/^/| /' conftest.
$ac_ext >&5
2033 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2034 See \`config.log' for more details." >&5
2035 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2036 See \`config.log' for more details." >&2;}
2037 { (exit 1); exit 1; }; }
2040 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2042 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2043 echo "${ECHO_T}$ac_cv_objext" >&6
2044 OBJEXT
=$ac_cv_objext
2046 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2047 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2048 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 cat >conftest.
$ac_ext <<_ACEOF
2054 cat confdefs.h
>>conftest.
$ac_ext
2055 cat >>conftest.
$ac_ext <<_ACEOF
2056 /* end confdefs.h. */
2069 rm -f conftest.
$ac_objext
2070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2071 (eval $ac_compile) 2>conftest.er1
2073 grep -v '^ *+' conftest.er1
>conftest.err
2075 cat conftest.err
>&5
2076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2077 (exit $ac_status); } &&
2078 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083 (exit $ac_status); }; } &&
2084 { ac_try
='test -s conftest.$ac_objext'
2085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); }; }; then
2092 echo "$as_me: failed program was:" >&5
2093 sed 's/^/| /' conftest.
$ac_ext >&5
2097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2098 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2101 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2102 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2103 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2104 ac_test_CFLAGS
=${CFLAGS+set}
2105 ac_save_CFLAGS
=$CFLAGS
2107 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2108 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2109 if test "${ac_cv_prog_cc_g+set}" = set; then
2110 echo $ECHO_N "(cached) $ECHO_C" >&6
2112 cat >conftest.
$ac_ext <<_ACEOF
2115 cat confdefs.h
>>conftest.
$ac_ext
2116 cat >>conftest.
$ac_ext <<_ACEOF
2117 /* end confdefs.h. */
2127 rm -f conftest.
$ac_objext
2128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2129 (eval $ac_compile) 2>conftest.er1
2131 grep -v '^ *+' conftest.er1
>conftest.err
2133 cat conftest.err
>&5
2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 (exit $ac_status); } &&
2136 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2141 (exit $ac_status); }; } &&
2142 { ac_try
='test -s conftest.$ac_objext'
2143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147 (exit $ac_status); }; }; then
2150 echo "$as_me: failed program was:" >&5
2151 sed 's/^/| /' conftest.
$ac_ext >&5
2155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2157 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2158 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2159 if test "$ac_test_CFLAGS" = set; then
2160 CFLAGS
=$ac_save_CFLAGS
2161 elif test $ac_cv_prog_cc_g = yes; then
2162 if test "$GCC" = yes; then
2168 if test "$GCC" = yes; then
2174 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2175 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2176 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2177 echo $ECHO_N "(cached) $ECHO_C" >&6
2179 ac_cv_prog_cc_stdc
=no
2181 cat >conftest.
$ac_ext <<_ACEOF
2184 cat confdefs.h
>>conftest.
$ac_ext
2185 cat >>conftest.
$ac_ext <<_ACEOF
2186 /* end confdefs.h. */
2189 #include <sys/types.h>
2190 #include <sys/stat.h>
2191 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2192 struct buf { int x; };
2193 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2194 static char *e (p, i)
2200 static char *f (char * (*g) (char **, int), char **p, ...)
2205 s = g (p, va_arg (v,int));
2210 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2211 function prototypes and stuff, but not '\xHH' hex character constants.
2212 These don't provoke an error unfortunately, instead are silently treated
2213 as 'x'. The following induces an error, until -std1 is added to get
2214 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2215 array size at least. It's necessary to write '\x00'==0 to get something
2216 that's true only with -std1. */
2217 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2219 int test (int i, double x);
2220 struct s1 {int (*f) (int a);};
2221 struct s2 {int (*f) (double a);};
2222 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2228 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2233 # Don't try gcc -ansi; that turns off useful extensions and
2234 # breaks some systems' header files.
2235 # AIX -qlanglvl=ansi
2236 # Ultrix and OSF/1 -std1
2237 # HP-UX 10.20 and later -Ae
2238 # HP-UX older versions -Aa -D_HPUX_SOURCE
2239 # SVR4 -Xc -D__EXTENSIONS__
2240 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2242 CC
="$ac_save_CC $ac_arg"
2243 rm -f conftest.
$ac_objext
2244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2245 (eval $ac_compile) 2>conftest.er1
2247 grep -v '^ *+' conftest.er1
>conftest.err
2249 cat conftest.err
>&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); } &&
2252 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2257 (exit $ac_status); }; } &&
2258 { ac_try
='test -s conftest.$ac_objext'
2259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }; }; then
2264 ac_cv_prog_cc_stdc
=$ac_arg
2267 echo "$as_me: failed program was:" >&5
2268 sed 's/^/| /' conftest.
$ac_ext >&5
2271 rm -f conftest.err conftest.
$ac_objext
2273 rm -f conftest.
$ac_ext conftest.
$ac_objext
2278 case "x$ac_cv_prog_cc_stdc" in
2280 echo "$as_me:$LINENO: result: none needed" >&5
2281 echo "${ECHO_T}none needed" >&6 ;;
2283 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2284 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2285 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2288 # Some people use a C++ compiler to compile C. Since we use `exit',
2289 # in C++ we need to declare it. In case someone uses the same compiler
2290 # for both compiling C and C++ we need to have the C++ compiler decide
2291 # the declaration of exit, since it's the most demanding environment.
2292 cat >conftest.
$ac_ext <<_ACEOF
2297 rm -f conftest.
$ac_objext
2298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2299 (eval $ac_compile) 2>conftest.er1
2301 grep -v '^ *+' conftest.er1
>conftest.err
2303 cat conftest.err
>&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); } &&
2306 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311 (exit $ac_status); }; } &&
2312 { ac_try
='test -s conftest.$ac_objext'
2313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317 (exit $ac_status); }; }; then
2318 for ac_declaration
in \
2320 'extern "C" void std::exit (int) throw (); using std::exit;' \
2321 'extern "C" void std::exit (int); using std::exit;' \
2322 'extern "C" void exit (int) throw ();' \
2323 'extern "C" void exit (int);' \
2326 cat >conftest.
$ac_ext <<_ACEOF
2329 cat confdefs.h
>>conftest.
$ac_ext
2330 cat >>conftest.
$ac_ext <<_ACEOF
2331 /* end confdefs.h. */
2342 rm -f conftest.
$ac_objext
2343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2344 (eval $ac_compile) 2>conftest.er1
2346 grep -v '^ *+' conftest.er1
>conftest.err
2348 cat conftest.err
>&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); } &&
2351 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }; } &&
2357 { ac_try
='test -s conftest.$ac_objext'
2358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }; }; then
2365 echo "$as_me: failed program was:" >&5
2366 sed 's/^/| /' conftest.
$ac_ext >&5
2370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2371 cat >conftest.
$ac_ext <<_ACEOF
2374 cat confdefs.h
>>conftest.
$ac_ext
2375 cat >>conftest.
$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2386 rm -f conftest.
$ac_objext
2387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2388 (eval $ac_compile) 2>conftest.er1
2390 grep -v '^ *+' conftest.er1
>conftest.err
2392 cat conftest.err
>&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); } &&
2395 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2400 (exit $ac_status); }; } &&
2401 { ac_try
='test -s conftest.$ac_objext'
2402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }; }; then
2409 echo "$as_me: failed program was:" >&5
2410 sed 's/^/| /' conftest.
$ac_ext >&5
2413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2416 if test -n "$ac_declaration"; then
2417 echo '#ifdef __cplusplus' >>confdefs.h
2418 echo $ac_declaration >>confdefs.h
2419 echo '#endif' >>confdefs.h
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
2429 ac_cpp
='$CPP $CPPFLAGS'
2430 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2431 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2432 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2435 ac_cpp
='$CXXCPP $CPPFLAGS'
2436 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2437 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2438 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2439 if test -n "$ac_tool_prefix"; then
2440 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2442 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2443 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2444 echo "$as_me:$LINENO: checking for $ac_word" >&5
2445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2446 if test "${ac_cv_prog_CXX+set}" = set; then
2447 echo $ECHO_N "(cached) $ECHO_C" >&6
2449 if test -n "$CXX"; then
2450 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2456 test -z "$as_dir" && as_dir
=.
2457 for ac_exec_ext
in '' $ac_executable_extensions; do
2458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2459 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2469 if test -n "$CXX"; then
2470 echo "$as_me:$LINENO: result: $CXX" >&5
2471 echo "${ECHO_T}$CXX" >&6
2473 echo "$as_me:$LINENO: result: no" >&5
2474 echo "${ECHO_T}no" >&6
2477 test -n "$CXX" && break
2480 if test -z "$CXX"; then
2482 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2484 # Extract the first word of "$ac_prog", so it can be a program name with args.
2485 set dummy
$ac_prog; ac_word
=$2
2486 echo "$as_me:$LINENO: checking for $ac_word" >&5
2487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2488 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2489 echo $ECHO_N "(cached) $ECHO_C" >&6
2491 if test -n "$ac_ct_CXX"; then
2492 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2498 test -z "$as_dir" && as_dir
=.
2499 for ac_exec_ext
in '' $ac_executable_extensions; do
2500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2501 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2510 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2511 if test -n "$ac_ct_CXX"; then
2512 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2513 echo "${ECHO_T}$ac_ct_CXX" >&6
2515 echo "$as_me:$LINENO: result: no" >&5
2516 echo "${ECHO_T}no" >&6
2519 test -n "$ac_ct_CXX" && break
2521 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2527 # Provide some information about the compiler.
2528 echo "$as_me:$LINENO:" \
2529 "checking for C++ compiler version" >&5
2530 ac_compiler
=`set X $ac_compile; echo $2`
2531 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2532 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }
2536 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2537 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }
2541 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2542 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }
2547 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2548 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2549 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2550 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 cat >conftest.
$ac_ext <<_ACEOF
2555 cat confdefs.h
>>conftest.
$ac_ext
2556 cat >>conftest.
$ac_ext <<_ACEOF
2557 /* end confdefs.h. */
2570 rm -f conftest.
$ac_objext
2571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2572 (eval $ac_compile) 2>conftest.er1
2574 grep -v '^ *+' conftest.er1
>conftest.err
2576 cat conftest.err
>&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); } &&
2579 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); }; } &&
2585 { ac_try
='test -s conftest.$ac_objext'
2586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); }; }; then
2593 echo "$as_me: failed program was:" >&5
2594 sed 's/^/| /' conftest.
$ac_ext >&5
2598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2599 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2602 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2603 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2604 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2605 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2606 ac_save_CXXFLAGS
=$CXXFLAGS
2608 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2609 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2610 if test "${ac_cv_prog_cxx_g+set}" = set; then
2611 echo $ECHO_N "(cached) $ECHO_C" >&6
2613 cat >conftest.
$ac_ext <<_ACEOF
2616 cat confdefs.h
>>conftest.
$ac_ext
2617 cat >>conftest.
$ac_ext <<_ACEOF
2618 /* end confdefs.h. */
2628 rm -f conftest.
$ac_objext
2629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2630 (eval $ac_compile) 2>conftest.er1
2632 grep -v '^ *+' conftest.er1
>conftest.err
2634 cat conftest.err
>&5
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); } &&
2637 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; } &&
2643 { ac_try
='test -s conftest.$ac_objext'
2644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); }; }; then
2649 ac_cv_prog_cxx_g
=yes
2651 echo "$as_me: failed program was:" >&5
2652 sed 's/^/| /' conftest.
$ac_ext >&5
2656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2658 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2659 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2660 if test "$ac_test_CXXFLAGS" = set; then
2661 CXXFLAGS
=$ac_save_CXXFLAGS
2662 elif test $ac_cv_prog_cxx_g = yes; then
2663 if test "$GXX" = yes; then
2669 if test "$GXX" = yes; then
2675 for ac_declaration
in \
2677 'extern "C" void std::exit (int) throw (); using std::exit;' \
2678 'extern "C" void std::exit (int); using std::exit;' \
2679 'extern "C" void exit (int) throw ();' \
2680 'extern "C" void exit (int);' \
2683 cat >conftest.
$ac_ext <<_ACEOF
2686 cat confdefs.h
>>conftest.
$ac_ext
2687 cat >>conftest.
$ac_ext <<_ACEOF
2688 /* end confdefs.h. */
2699 rm -f conftest.
$ac_objext
2700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2701 (eval $ac_compile) 2>conftest.er1
2703 grep -v '^ *+' conftest.er1
>conftest.err
2705 cat conftest.err
>&5
2706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707 (exit $ac_status); } &&
2708 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); }; } &&
2714 { ac_try
='test -s conftest.$ac_objext'
2715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); }; }; then
2722 echo "$as_me: failed program was:" >&5
2723 sed 's/^/| /' conftest.
$ac_ext >&5
2727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2728 cat >conftest.
$ac_ext <<_ACEOF
2731 cat confdefs.h
>>conftest.
$ac_ext
2732 cat >>conftest.
$ac_ext <<_ACEOF
2733 /* end confdefs.h. */
2743 rm -f conftest.
$ac_objext
2744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2745 (eval $ac_compile) 2>conftest.er1
2747 grep -v '^ *+' conftest.er1
>conftest.err
2749 cat conftest.err
>&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); } &&
2752 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757 (exit $ac_status); }; } &&
2758 { ac_try
='test -s conftest.$ac_objext'
2759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); }; }; then
2766 echo "$as_me: failed program was:" >&5
2767 sed 's/^/| /' conftest.
$ac_ext >&5
2770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2773 if test -n "$ac_declaration"; then
2774 echo '#ifdef __cplusplus' >>confdefs.h
2775 echo $ac_declaration >>confdefs.h
2776 echo '#endif' >>confdefs.h
2780 ac_cpp
='$CPP $CPPFLAGS'
2781 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2782 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2783 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2785 if test -n "$ac_tool_prefix"; then
2786 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
2787 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
2788 echo "$as_me:$LINENO: checking for $ac_word" >&5
2789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2790 if test "${ac_cv_prog_CPPBIN+set}" = set; then
2791 echo $ECHO_N "(cached) $ECHO_C" >&6
2793 if test -n "$CPPBIN"; then
2794 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
2796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2800 test -z "$as_dir" && as_dir
=.
2801 for ac_exec_ext
in '' $ac_executable_extensions; do
2802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2803 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
2804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2812 CPPBIN
=$ac_cv_prog_CPPBIN
2813 if test -n "$CPPBIN"; then
2814 echo "$as_me:$LINENO: result: $CPPBIN" >&5
2815 echo "${ECHO_T}$CPPBIN" >&6
2817 echo "$as_me:$LINENO: result: no" >&5
2818 echo "${ECHO_T}no" >&6
2822 if test -z "$ac_cv_prog_CPPBIN"; then
2823 ac_ct_CPPBIN
=$CPPBIN
2824 # Extract the first word of "cpp", so it can be a program name with args.
2825 set dummy cpp
; ac_word
=$2
2826 echo "$as_me:$LINENO: checking for $ac_word" >&5
2827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2828 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
2829 echo $ECHO_N "(cached) $ECHO_C" >&6
2831 if test -n "$ac_ct_CPPBIN"; then
2832 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
2834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2838 test -z "$as_dir" && as_dir
=.
2839 for ac_exec_ext
in '' $ac_executable_extensions; do
2840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2841 ac_cv_prog_ac_ct_CPPBIN
="cpp"
2842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2848 test -z "$ac_cv_prog_ac_ct_CPPBIN" && ac_cv_prog_ac_ct_CPPBIN
="cpp"
2851 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
2852 if test -n "$ac_ct_CPPBIN"; then
2853 echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
2854 echo "${ECHO_T}$ac_ct_CPPBIN" >&6
2856 echo "$as_me:$LINENO: result: no" >&5
2857 echo "${ECHO_T}no" >&6
2860 CPPBIN
=$ac_ct_CPPBIN
2862 CPPBIN
="$ac_cv_prog_CPPBIN"
2866 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2867 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2868 if test "${wine_cv_toolsdir+set}" = set; then
2869 echo $ECHO_N "(cached) $ECHO_C" >&6
2871 if test -z "$with_wine_tools"; then
2872 if test "$cross_compiling" = "yes"; then
2873 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2874 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2875 { (exit 1); exit 1; }; }
2877 wine_cv_toolsdir
="\$(TOPOBJDIR)"
2879 elif test -d "$with_wine_tools/tools/winebuild"; then
2880 case $with_wine_tools in
2881 /*) wine_cv_toolsdir
="$with_wine_tools" ;;
2882 *) wine_cv_toolsdir
="\$(TOPOBJDIR)/$with_wine_tools" ;;
2885 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2886 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2887 { (exit 1); exit 1; }; }
2890 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2891 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2892 TOOLSDIR
=$wine_cv_toolsdir
2897 ac_cpp
='$CPP $CPPFLAGS'
2898 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2899 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2900 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2901 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2902 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2903 # On Suns, sometimes $CPP names a directory.
2904 if test -n "$CPP" && test -d "$CPP"; then
2907 if test -z "$CPP"; then
2908 if test "${ac_cv_prog_CPP+set}" = set; then
2909 echo $ECHO_N "(cached) $ECHO_C" >&6
2911 # Double quotes because CPP needs to be expanded
2912 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2915 for ac_c_preproc_warn_flag
in '' yes
2917 # Use a header file that comes with gcc, so configuring glibc
2918 # with a fresh cross-compiler works.
2919 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2920 # <limits.h> exists even on freestanding compilers.
2921 # On the NeXT, cc -E runs the code through the compiler's parser,
2922 # not just through cpp. "Syntax error" is here to catch this case.
2923 cat >conftest.
$ac_ext <<_ACEOF
2926 cat confdefs.h
>>conftest.
$ac_ext
2927 cat >>conftest.
$ac_ext <<_ACEOF
2928 /* end confdefs.h. */
2930 # include <limits.h>
2932 # include <assert.h>
2936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2937 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2939 grep -v '^ *+' conftest.er1
>conftest.err
2941 cat conftest.err
>&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); } >/dev
/null
; then
2944 if test -s conftest.err
; then
2945 ac_cpp_err
=$ac_c_preproc_warn_flag
2946 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2953 if test -z "$ac_cpp_err"; then
2956 echo "$as_me: failed program was:" >&5
2957 sed 's/^/| /' conftest.
$ac_ext >&5
2959 # Broken: fails on valid input.
2962 rm -f conftest.err conftest.
$ac_ext
2964 # OK, works on sane cases. Now check whether non-existent headers
2965 # can be detected and how.
2966 cat >conftest.
$ac_ext <<_ACEOF
2969 cat confdefs.h
>>conftest.
$ac_ext
2970 cat >>conftest.
$ac_ext <<_ACEOF
2971 /* end confdefs.h. */
2972 #include <ac_nonexistent.h>
2974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2975 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2977 grep -v '^ *+' conftest.er1
>conftest.err
2979 cat conftest.err
>&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); } >/dev
/null
; then
2982 if test -s conftest.err
; then
2983 ac_cpp_err
=$ac_c_preproc_warn_flag
2984 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2991 if test -z "$ac_cpp_err"; then
2992 # Broken: success on invalid input.
2995 echo "$as_me: failed program was:" >&5
2996 sed 's/^/| /' conftest.
$ac_ext >&5
2998 # Passes both tests.
3002 rm -f conftest.err conftest.
$ac_ext
3005 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3006 rm -f conftest.err conftest.
$ac_ext
3007 if $ac_preproc_ok; then
3019 echo "$as_me:$LINENO: result: $CPP" >&5
3020 echo "${ECHO_T}$CPP" >&6
3022 for ac_c_preproc_warn_flag
in '' yes
3024 # Use a header file that comes with gcc, so configuring glibc
3025 # with a fresh cross-compiler works.
3026 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3027 # <limits.h> exists even on freestanding compilers.
3028 # On the NeXT, cc -E runs the code through the compiler's parser,
3029 # not just through cpp. "Syntax error" is here to catch this case.
3030 cat >conftest.
$ac_ext <<_ACEOF
3033 cat confdefs.h
>>conftest.
$ac_ext
3034 cat >>conftest.
$ac_ext <<_ACEOF
3035 /* end confdefs.h. */
3037 # include <limits.h>
3039 # include <assert.h>
3043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3044 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3046 grep -v '^ *+' conftest.er1
>conftest.err
3048 cat conftest.err
>&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); } >/dev
/null
; then
3051 if test -s conftest.err
; then
3052 ac_cpp_err
=$ac_c_preproc_warn_flag
3053 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3060 if test -z "$ac_cpp_err"; then
3063 echo "$as_me: failed program was:" >&5
3064 sed 's/^/| /' conftest.
$ac_ext >&5
3066 # Broken: fails on valid input.
3069 rm -f conftest.err conftest.
$ac_ext
3071 # OK, works on sane cases. Now check whether non-existent headers
3072 # can be detected and how.
3073 cat >conftest.
$ac_ext <<_ACEOF
3076 cat confdefs.h
>>conftest.
$ac_ext
3077 cat >>conftest.
$ac_ext <<_ACEOF
3078 /* end confdefs.h. */
3079 #include <ac_nonexistent.h>
3081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3082 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3084 grep -v '^ *+' conftest.er1
>conftest.err
3086 cat conftest.err
>&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); } >/dev
/null
; then
3089 if test -s conftest.err
; then
3090 ac_cpp_err
=$ac_c_preproc_warn_flag
3091 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3098 if test -z "$ac_cpp_err"; then
3099 # Broken: success on invalid input.
3102 echo "$as_me: failed program was:" >&5
3103 sed 's/^/| /' conftest.
$ac_ext >&5
3105 # Passes both tests.
3109 rm -f conftest.err conftest.
$ac_ext
3112 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3113 rm -f conftest.err conftest.
$ac_ext
3114 if $ac_preproc_ok; then
3117 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3118 See \`config.log' for more details." >&5
3119 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3120 See \`config.log' for more details." >&2;}
3121 { (exit 1); exit 1; }; }
3125 ac_cpp
='$CPP $CPPFLAGS'
3126 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3127 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3128 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3132 if test "x$ac_path_x_has_been_run" != xyes
; then
3133 echo "$as_me:$LINENO: checking for X" >&5
3134 echo $ECHO_N "checking for X... $ECHO_C" >&6
3136 ac_path_x_has_been_run
=yes
3138 # Check whether --with-x or --without-x was given.
3139 if test "${with_x+set}" = set; then
3143 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3144 if test "x$with_x" = xno
; then
3145 # The user explicitly disabled X.
3148 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
3149 # Both variables are already set.
3152 if test "${ac_cv_have_x+set}" = set; then
3153 echo $ECHO_N "(cached) $ECHO_C" >&6
3155 # One or both of the vars are not set, and there is no cached value.
3156 ac_x_includes
=no ac_x_libraries
=no
3158 if mkdir conftest.dir
; then
3160 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3161 cat >Imakefile
<<'_ACEOF'
3163 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3165 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
3166 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3167 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3168 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3169 for ac_extension
in a so sl
; do
3170 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
3171 test -f $ac_im_libdir/libX11.
$ac_extension; then
3172 ac_im_usrlibdir
=$ac_im_libdir; break
3175 # Screen out bogus values from the imake configuration. They are
3176 # bogus both because they are the default anyway, and because
3177 # using them would break gcc on systems where it needs fixed includes.
3178 case $ac_im_incroot in
3180 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
3182 case $ac_im_usrlibdir in
3184 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
3191 # Standard set of common directories for X headers.
3192 # Check X11 before X11Rn because it is often a symlink to the current release.
3204 /usr/local/X11/include
3205 /usr/local/X11R6/include
3206 /usr/local/X11R5/include
3207 /usr/local/X11R4/include
3209 /usr/local/include/X11
3210 /usr/local/include/X11R6
3211 /usr/local/include/X11R5
3212 /usr/local/include/X11R4
3216 /usr/XFree86/include/X11
3220 /usr/unsupported/include
3222 /usr/local/x11r5/include
3223 /usr/lpp/Xamples/include
3225 /usr/openwin/include
3226 /usr/openwin/share/include'
3228 if test "$ac_x_includes" = no
; then
3229 # Guess where to find include files, by looking for a specified header file.
3230 # First, try using that file with no special directory specified.
3231 cat >conftest.
$ac_ext <<_ACEOF
3234 cat confdefs.h
>>conftest.
$ac_ext
3235 cat >>conftest.
$ac_ext <<_ACEOF
3236 /* end confdefs.h. */
3237 #include <X11/Xlib.h>
3239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3240 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3242 grep -v '^ *+' conftest.er1
>conftest.err
3244 cat conftest.err
>&5
3245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 (exit $ac_status); } >/dev
/null
; then
3247 if test -s conftest.err
; then
3248 ac_cpp_err
=$ac_c_preproc_warn_flag
3249 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3256 if test -z "$ac_cpp_err"; then
3257 # We can compile using X headers with no special include directory.
3260 echo "$as_me: failed program was:" >&5
3261 sed 's/^/| /' conftest.
$ac_ext >&5
3263 for ac_dir
in $ac_x_header_dirs; do
3264 if test -r "$ac_dir/X11/Xlib.h"; then
3265 ac_x_includes
=$ac_dir
3270 rm -f conftest.err conftest.
$ac_ext
3271 fi # $ac_x_includes = no
3273 if test "$ac_x_libraries" = no
; then
3274 # Check for the libraries.
3275 # See if we find them without any special options.
3276 # Don't add to $LIBS permanently.
3279 cat >conftest.
$ac_ext <<_ACEOF
3282 cat confdefs.h
>>conftest.
$ac_ext
3283 cat >>conftest.
$ac_ext <<_ACEOF
3284 /* end confdefs.h. */
3285 #include <X11/Xlib.h>
3294 rm -f conftest.
$ac_objext conftest
$ac_exeext
3295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3296 (eval $ac_link) 2>conftest.er1
3298 grep -v '^ *+' conftest.er1
>conftest.err
3300 cat conftest.err
>&5
3301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); } &&
3303 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308 (exit $ac_status); }; } &&
3309 { ac_try
='test -s conftest$ac_exeext'
3310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314 (exit $ac_status); }; }; then
3316 # We can link X programs with no special library path.
3319 echo "$as_me: failed program was:" >&5
3320 sed 's/^/| /' conftest.
$ac_ext >&5
3323 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3325 # Don't even attempt the hair of trying to link an X program!
3326 for ac_extension
in a so sl
; do
3327 if test -r $ac_dir/libX11.
$ac_extension; then
3328 ac_x_libraries
=$ac_dir
3334 rm -f conftest.err conftest.
$ac_objext \
3335 conftest
$ac_exeext conftest.
$ac_ext
3336 fi # $ac_x_libraries = no
3338 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
3339 # Didn't find X anywhere. Cache the known absence of X.
3340 ac_cv_have_x
="have_x=no"
3342 # Record where we found X for the cache.
3343 ac_cv_have_x
="have_x=yes \
3344 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3349 eval "$ac_cv_have_x"
3352 if test "$have_x" != yes; then
3353 echo "$as_me:$LINENO: result: $have_x" >&5
3354 echo "${ECHO_T}$have_x" >&6
3357 # If each of the values was on the command line, it overrides each guess.
3358 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
3359 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
3360 # Update the cache value to reflect the command line values.
3361 ac_cv_have_x
="have_x=yes \
3362 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3363 # It might be that x_includes is empty (headers are found in the
3364 # standard search path. Then output the corresponding message
3365 ac_out_x_includes
=$x_includes
3366 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
3367 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
3368 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
3372 if test "$no_x" = yes; then
3373 # Not all programs may use this symbol, but it does not hurt to define it.
3375 cat >>confdefs.h
<<\_ACEOF
3376 #define X_DISPLAY_MISSING 1
3379 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
3381 if test -n "$x_includes"; then
3382 X_CFLAGS
="$X_CFLAGS -I$x_includes"
3385 # It would also be nice to do this for all -L options, not just this one.
3386 if test -n "$x_libraries"; then
3387 X_LIBS
="$X_LIBS -L$x_libraries"
3388 # For Solaris; some versions of Sun CC require a space after -R and
3389 # others require no space. Words are not sufficient . . . .
3390 case `(uname -sr) 2>/dev/null` in
3392 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3393 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3394 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
3395 cat >conftest.
$ac_ext <<_ACEOF
3398 cat confdefs.h
>>conftest.
$ac_ext
3399 cat >>conftest.
$ac_ext <<_ACEOF
3400 /* end confdefs.h. */
3410 rm -f conftest.
$ac_objext conftest
$ac_exeext
3411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3412 (eval $ac_link) 2>conftest.er1
3414 grep -v '^ *+' conftest.er1
>conftest.err
3416 cat conftest.err
>&5
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); } &&
3419 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); }; } &&
3425 { ac_try
='test -s conftest$ac_exeext'
3426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430 (exit $ac_status); }; }; then
3433 echo "$as_me: failed program was:" >&5
3434 sed 's/^/| /' conftest.
$ac_ext >&5
3438 rm -f conftest.err conftest.
$ac_objext \
3439 conftest
$ac_exeext conftest.
$ac_ext
3440 if test $ac_R_nospace = yes; then
3441 echo "$as_me:$LINENO: result: no" >&5
3442 echo "${ECHO_T}no" >&6
3443 X_LIBS
="$X_LIBS -R$x_libraries"
3445 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3446 cat >conftest.
$ac_ext <<_ACEOF
3449 cat confdefs.h
>>conftest.
$ac_ext
3450 cat >>conftest.
$ac_ext <<_ACEOF
3451 /* end confdefs.h. */
3461 rm -f conftest.
$ac_objext conftest
$ac_exeext
3462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3463 (eval $ac_link) 2>conftest.er1
3465 grep -v '^ *+' conftest.er1
>conftest.err
3467 cat conftest.err
>&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); } &&
3470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475 (exit $ac_status); }; } &&
3476 { ac_try
='test -s conftest$ac_exeext'
3477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); }; }; then
3484 echo "$as_me: failed program was:" >&5
3485 sed 's/^/| /' conftest.
$ac_ext >&5
3489 rm -f conftest.err conftest.
$ac_objext \
3490 conftest
$ac_exeext conftest.
$ac_ext
3491 if test $ac_R_space = yes; then
3492 echo "$as_me:$LINENO: result: yes" >&5
3493 echo "${ECHO_T}yes" >&6
3494 X_LIBS
="$X_LIBS -R $x_libraries"
3496 echo "$as_me:$LINENO: result: neither works" >&5
3497 echo "${ECHO_T}neither works" >&6
3504 # Check for system-dependent libraries X programs must link with.
3505 # Do this before checking for the system-independent R6 libraries
3506 # (-lICE), since we may need -lsocket or whatever for X linking.
3508 if test "$ISC" = yes; then
3509 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
3511 # Martyn Johnson says this is needed for Ultrix, if the X
3512 # libraries were built with DECnet support. And Karl Berry says
3513 # the Alpha needs dnet_stub (dnet does not exist).
3514 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
3515 cat >conftest.
$ac_ext <<_ACEOF
3518 cat confdefs.h
>>conftest.
$ac_ext
3519 cat >>conftest.
$ac_ext <<_ACEOF
3520 /* end confdefs.h. */
3522 /* Override any gcc2 internal prototype to avoid an error. */
3526 /* We use char because int might match the return type of a gcc2
3527 builtin and then its argument prototype would still apply. */
3528 char XOpenDisplay ();
3537 rm -f conftest.
$ac_objext conftest
$ac_exeext
3538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3539 (eval $ac_link) 2>conftest.er1
3541 grep -v '^ *+' conftest.er1
>conftest.err
3543 cat conftest.err
>&5
3544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 (exit $ac_status); } &&
3546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551 (exit $ac_status); }; } &&
3552 { ac_try
='test -s conftest$ac_exeext'
3553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); }; }; then
3560 echo "$as_me: failed program was:" >&5
3561 sed 's/^/| /' conftest.
$ac_ext >&5
3563 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3564 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3565 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3566 echo $ECHO_N "(cached) $ECHO_C" >&6
3568 ac_check_lib_save_LIBS
=$LIBS
3570 cat >conftest.
$ac_ext <<_ACEOF
3573 cat confdefs.h
>>conftest.
$ac_ext
3574 cat >>conftest.
$ac_ext <<_ACEOF
3575 /* end confdefs.h. */
3577 /* Override any gcc2 internal prototype to avoid an error. */
3581 /* We use char because int might match the return type of a gcc2
3582 builtin and then its argument prototype would still apply. */
3592 rm -f conftest.
$ac_objext conftest
$ac_exeext
3593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3594 (eval $ac_link) 2>conftest.er1
3596 grep -v '^ *+' conftest.er1
>conftest.err
3598 cat conftest.err
>&5
3599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600 (exit $ac_status); } &&
3601 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); }; } &&
3607 { ac_try
='test -s conftest$ac_exeext'
3608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); }; }; then
3613 ac_cv_lib_dnet_dnet_ntoa
=yes
3615 echo "$as_me: failed program was:" >&5
3616 sed 's/^/| /' conftest.
$ac_ext >&5
3618 ac_cv_lib_dnet_dnet_ntoa
=no
3620 rm -f conftest.err conftest.
$ac_objext \
3621 conftest
$ac_exeext conftest.
$ac_ext
3622 LIBS
=$ac_check_lib_save_LIBS
3624 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3625 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3626 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3627 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
3630 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
3631 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3632 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3633 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3634 echo $ECHO_N "(cached) $ECHO_C" >&6
3636 ac_check_lib_save_LIBS
=$LIBS
3637 LIBS
="-ldnet_stub $LIBS"
3638 cat >conftest.
$ac_ext <<_ACEOF
3641 cat confdefs.h
>>conftest.
$ac_ext
3642 cat >>conftest.
$ac_ext <<_ACEOF
3643 /* end confdefs.h. */
3645 /* Override any gcc2 internal prototype to avoid an error. */
3649 /* We use char because int might match the return type of a gcc2
3650 builtin and then its argument prototype would still apply. */
3660 rm -f conftest.
$ac_objext conftest
$ac_exeext
3661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3662 (eval $ac_link) 2>conftest.er1
3664 grep -v '^ *+' conftest.er1
>conftest.err
3666 cat conftest.err
>&5
3667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3668 (exit $ac_status); } &&
3669 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3674 (exit $ac_status); }; } &&
3675 { ac_try
='test -s conftest$ac_exeext'
3676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 (exit $ac_status); }; }; then
3681 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
3683 echo "$as_me: failed program was:" >&5
3684 sed 's/^/| /' conftest.
$ac_ext >&5
3686 ac_cv_lib_dnet_stub_dnet_ntoa
=no
3688 rm -f conftest.err conftest.
$ac_objext \
3689 conftest
$ac_exeext conftest.
$ac_ext
3690 LIBS
=$ac_check_lib_save_LIBS
3692 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3693 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3694 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3695 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
3700 rm -f conftest.err conftest.
$ac_objext \
3701 conftest
$ac_exeext conftest.
$ac_ext
3702 LIBS
="$ac_xsave_LIBS"
3704 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3705 # to get the SysV transport functions.
3706 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3708 # The nsl library prevents programs from opening the X display
3709 # on Irix 5.2, according to T.E. Dickey.
3710 # The functions gethostbyname, getservbyname, and inet_addr are
3711 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3712 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3713 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3714 if test "${ac_cv_func_gethostbyname+set}" = set; then
3715 echo $ECHO_N "(cached) $ECHO_C" >&6
3717 cat >conftest.
$ac_ext <<_ACEOF
3720 cat confdefs.h
>>conftest.
$ac_ext
3721 cat >>conftest.
$ac_ext <<_ACEOF
3722 /* end confdefs.h. */
3723 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3725 #define gethostbyname innocuous_gethostbyname
3727 /* System header to define __stub macros and hopefully few prototypes,
3728 which can conflict with char gethostbyname (); below.
3729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3730 <limits.h> exists even on freestanding compilers. */
3733 # include <limits.h>
3735 # include <assert.h>
3738 #undef gethostbyname
3740 /* Override any gcc2 internal prototype to avoid an error. */
3745 /* We use char because int might match the return type of a gcc2
3746 builtin and then its argument prototype would still apply. */
3747 char gethostbyname ();
3748 /* The GNU C library defines this for functions which it implements
3749 to always fail with ENOSYS. Some functions are actually named
3750 something starting with __ and the normal name is an alias. */
3751 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3754 char (*f) () = gethostbyname;
3763 return f != gethostbyname;
3768 rm -f conftest.
$ac_objext conftest
$ac_exeext
3769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3770 (eval $ac_link) 2>conftest.er1
3772 grep -v '^ *+' conftest.er1
>conftest.err
3774 cat conftest.err
>&5
3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 (exit $ac_status); } &&
3777 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 (exit $ac_status); }; } &&
3783 { ac_try
='test -s conftest$ac_exeext'
3784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3788 (exit $ac_status); }; }; then
3789 ac_cv_func_gethostbyname
=yes
3791 echo "$as_me: failed program was:" >&5
3792 sed 's/^/| /' conftest.
$ac_ext >&5
3794 ac_cv_func_gethostbyname
=no
3796 rm -f conftest.err conftest.
$ac_objext \
3797 conftest
$ac_exeext conftest.
$ac_ext
3799 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3800 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3802 if test $ac_cv_func_gethostbyname = no
; then
3803 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3804 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3805 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3806 echo $ECHO_N "(cached) $ECHO_C" >&6
3808 ac_check_lib_save_LIBS
=$LIBS
3810 cat >conftest.
$ac_ext <<_ACEOF
3813 cat confdefs.h
>>conftest.
$ac_ext
3814 cat >>conftest.
$ac_ext <<_ACEOF
3815 /* end confdefs.h. */
3817 /* Override any gcc2 internal prototype to avoid an error. */
3821 /* We use char because int might match the return type of a gcc2
3822 builtin and then its argument prototype would still apply. */
3823 char gethostbyname ();
3832 rm -f conftest.
$ac_objext conftest
$ac_exeext
3833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3834 (eval $ac_link) 2>conftest.er1
3836 grep -v '^ *+' conftest.er1
>conftest.err
3838 cat conftest.err
>&5
3839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3840 (exit $ac_status); } &&
3841 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); }; } &&
3847 { ac_try
='test -s conftest$ac_exeext'
3848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852 (exit $ac_status); }; }; then
3853 ac_cv_lib_nsl_gethostbyname
=yes
3855 echo "$as_me: failed program was:" >&5
3856 sed 's/^/| /' conftest.
$ac_ext >&5
3858 ac_cv_lib_nsl_gethostbyname
=no
3860 rm -f conftest.err conftest.
$ac_objext \
3861 conftest
$ac_exeext conftest.
$ac_ext
3862 LIBS
=$ac_check_lib_save_LIBS
3864 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3865 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3866 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3867 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3870 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3871 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3872 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3873 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3874 echo $ECHO_N "(cached) $ECHO_C" >&6
3876 ac_check_lib_save_LIBS
=$LIBS
3878 cat >conftest.
$ac_ext <<_ACEOF
3881 cat confdefs.h
>>conftest.
$ac_ext
3882 cat >>conftest.
$ac_ext <<_ACEOF
3883 /* end confdefs.h. */
3885 /* Override any gcc2 internal prototype to avoid an error. */
3889 /* We use char because int might match the return type of a gcc2
3890 builtin and then its argument prototype would still apply. */
3891 char gethostbyname ();
3900 rm -f conftest.
$ac_objext conftest
$ac_exeext
3901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3902 (eval $ac_link) 2>conftest.er1
3904 grep -v '^ *+' conftest.er1
>conftest.err
3906 cat conftest.err
>&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); } &&
3909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); }; } &&
3915 { ac_try
='test -s conftest$ac_exeext'
3916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); }; }; then
3921 ac_cv_lib_bsd_gethostbyname
=yes
3923 echo "$as_me: failed program was:" >&5
3924 sed 's/^/| /' conftest.
$ac_ext >&5
3926 ac_cv_lib_bsd_gethostbyname
=no
3928 rm -f conftest.err conftest.
$ac_objext \
3929 conftest
$ac_exeext conftest.
$ac_ext
3930 LIBS
=$ac_check_lib_save_LIBS
3932 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3933 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3934 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3935 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3941 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3942 # socket/setsockopt and other routines are undefined under SCO ODT
3943 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3944 # on later versions), says Simon Leinen: it contains gethostby*
3945 # variants that don't use the name server (or something). -lsocket
3946 # must be given before -lnsl if both are needed. We assume that
3947 # if connect needs -lnsl, so does gethostbyname.
3948 echo "$as_me:$LINENO: checking for connect" >&5
3949 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3950 if test "${ac_cv_func_connect+set}" = set; then
3951 echo $ECHO_N "(cached) $ECHO_C" >&6
3953 cat >conftest.
$ac_ext <<_ACEOF
3956 cat confdefs.h
>>conftest.
$ac_ext
3957 cat >>conftest.
$ac_ext <<_ACEOF
3958 /* end confdefs.h. */
3959 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3961 #define connect innocuous_connect
3963 /* System header to define __stub macros and hopefully few prototypes,
3964 which can conflict with char connect (); below.
3965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3966 <limits.h> exists even on freestanding compilers. */
3969 # include <limits.h>
3971 # include <assert.h>
3976 /* Override any gcc2 internal prototype to avoid an error. */
3981 /* We use char because int might match the return type of a gcc2
3982 builtin and then its argument prototype would still apply. */
3984 /* The GNU C library defines this for functions which it implements
3985 to always fail with ENOSYS. Some functions are actually named
3986 something starting with __ and the normal name is an alias. */
3987 #if defined (__stub_connect) || defined (__stub___connect)
3990 char (*f) () = connect;
3999 return f != connect;
4004 rm -f conftest.
$ac_objext conftest
$ac_exeext
4005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4006 (eval $ac_link) 2>conftest.er1
4008 grep -v '^ *+' conftest.er1
>conftest.err
4010 cat conftest.err
>&5
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); } &&
4013 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018 (exit $ac_status); }; } &&
4019 { ac_try
='test -s conftest$ac_exeext'
4020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); }; }; then
4025 ac_cv_func_connect
=yes
4027 echo "$as_me: failed program was:" >&5
4028 sed 's/^/| /' conftest.
$ac_ext >&5
4030 ac_cv_func_connect
=no
4032 rm -f conftest.err conftest.
$ac_objext \
4033 conftest
$ac_exeext conftest.
$ac_ext
4035 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4036 echo "${ECHO_T}$ac_cv_func_connect" >&6
4038 if test $ac_cv_func_connect = no
; then
4039 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4040 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4041 if test "${ac_cv_lib_socket_connect+set}" = set; then
4042 echo $ECHO_N "(cached) $ECHO_C" >&6
4044 ac_check_lib_save_LIBS
=$LIBS
4045 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4046 cat >conftest.
$ac_ext <<_ACEOF
4049 cat confdefs.h
>>conftest.
$ac_ext
4050 cat >>conftest.
$ac_ext <<_ACEOF
4051 /* end confdefs.h. */
4053 /* Override any gcc2 internal prototype to avoid an error. */
4057 /* We use char because int might match the return type of a gcc2
4058 builtin and then its argument prototype would still apply. */
4068 rm -f conftest.
$ac_objext conftest
$ac_exeext
4069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4070 (eval $ac_link) 2>conftest.er1
4072 grep -v '^ *+' conftest.er1
>conftest.err
4074 cat conftest.err
>&5
4075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076 (exit $ac_status); } &&
4077 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); }; } &&
4083 { ac_try
='test -s conftest$ac_exeext'
4084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088 (exit $ac_status); }; }; then
4089 ac_cv_lib_socket_connect
=yes
4091 echo "$as_me: failed program was:" >&5
4092 sed 's/^/| /' conftest.
$ac_ext >&5
4094 ac_cv_lib_socket_connect
=no
4096 rm -f conftest.err conftest.
$ac_objext \
4097 conftest
$ac_exeext conftest.
$ac_ext
4098 LIBS
=$ac_check_lib_save_LIBS
4100 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4101 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4102 if test $ac_cv_lib_socket_connect = yes; then
4103 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
4108 # Guillermo Gomez says -lposix is necessary on A/UX.
4109 echo "$as_me:$LINENO: checking for remove" >&5
4110 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4111 if test "${ac_cv_func_remove+set}" = set; then
4112 echo $ECHO_N "(cached) $ECHO_C" >&6
4114 cat >conftest.
$ac_ext <<_ACEOF
4117 cat confdefs.h
>>conftest.
$ac_ext
4118 cat >>conftest.
$ac_ext <<_ACEOF
4119 /* end confdefs.h. */
4120 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4122 #define remove innocuous_remove
4124 /* System header to define __stub macros and hopefully few prototypes,
4125 which can conflict with char remove (); below.
4126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4127 <limits.h> exists even on freestanding compilers. */
4130 # include <limits.h>
4132 # include <assert.h>
4137 /* Override any gcc2 internal prototype to avoid an error. */
4142 /* We use char because int might match the return type of a gcc2
4143 builtin and then its argument prototype would still apply. */
4145 /* The GNU C library defines this for functions which it implements
4146 to always fail with ENOSYS. Some functions are actually named
4147 something starting with __ and the normal name is an alias. */
4148 #if defined (__stub_remove) || defined (__stub___remove)
4151 char (*f) () = remove;
4165 rm -f conftest.
$ac_objext conftest
$ac_exeext
4166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4167 (eval $ac_link) 2>conftest.er1
4169 grep -v '^ *+' conftest.er1
>conftest.err
4171 cat conftest.err
>&5
4172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173 (exit $ac_status); } &&
4174 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179 (exit $ac_status); }; } &&
4180 { ac_try
='test -s conftest$ac_exeext'
4181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4185 (exit $ac_status); }; }; then
4186 ac_cv_func_remove
=yes
4188 echo "$as_me: failed program was:" >&5
4189 sed 's/^/| /' conftest.
$ac_ext >&5
4191 ac_cv_func_remove
=no
4193 rm -f conftest.err conftest.
$ac_objext \
4194 conftest
$ac_exeext conftest.
$ac_ext
4196 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4197 echo "${ECHO_T}$ac_cv_func_remove" >&6
4199 if test $ac_cv_func_remove = no
; then
4200 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4201 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4202 if test "${ac_cv_lib_posix_remove+set}" = set; then
4203 echo $ECHO_N "(cached) $ECHO_C" >&6
4205 ac_check_lib_save_LIBS
=$LIBS
4206 LIBS
="-lposix $LIBS"
4207 cat >conftest.
$ac_ext <<_ACEOF
4210 cat confdefs.h
>>conftest.
$ac_ext
4211 cat >>conftest.
$ac_ext <<_ACEOF
4212 /* end confdefs.h. */
4214 /* Override any gcc2 internal prototype to avoid an error. */
4218 /* We use char because int might match the return type of a gcc2
4219 builtin and then its argument prototype would still apply. */
4229 rm -f conftest.
$ac_objext conftest
$ac_exeext
4230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4231 (eval $ac_link) 2>conftest.er1
4233 grep -v '^ *+' conftest.er1
>conftest.err
4235 cat conftest.err
>&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); } &&
4238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); }; } &&
4244 { ac_try
='test -s conftest$ac_exeext'
4245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249 (exit $ac_status); }; }; then
4250 ac_cv_lib_posix_remove
=yes
4252 echo "$as_me: failed program was:" >&5
4253 sed 's/^/| /' conftest.
$ac_ext >&5
4255 ac_cv_lib_posix_remove
=no
4257 rm -f conftest.err conftest.
$ac_objext \
4258 conftest
$ac_exeext conftest.
$ac_ext
4259 LIBS
=$ac_check_lib_save_LIBS
4261 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4262 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4263 if test $ac_cv_lib_posix_remove = yes; then
4264 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
4269 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4270 echo "$as_me:$LINENO: checking for shmat" >&5
4271 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4272 if test "${ac_cv_func_shmat+set}" = set; then
4273 echo $ECHO_N "(cached) $ECHO_C" >&6
4275 cat >conftest.
$ac_ext <<_ACEOF
4278 cat confdefs.h
>>conftest.
$ac_ext
4279 cat >>conftest.
$ac_ext <<_ACEOF
4280 /* end confdefs.h. */
4281 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4283 #define shmat innocuous_shmat
4285 /* System header to define __stub macros and hopefully few prototypes,
4286 which can conflict with char shmat (); below.
4287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4288 <limits.h> exists even on freestanding compilers. */
4291 # include <limits.h>
4293 # include <assert.h>
4298 /* Override any gcc2 internal prototype to avoid an error. */
4303 /* We use char because int might match the return type of a gcc2
4304 builtin and then its argument prototype would still apply. */
4306 /* The GNU C library defines this for functions which it implements
4307 to always fail with ENOSYS. Some functions are actually named
4308 something starting with __ and the normal name is an alias. */
4309 #if defined (__stub_shmat) || defined (__stub___shmat)
4312 char (*f) () = shmat;
4326 rm -f conftest.
$ac_objext conftest
$ac_exeext
4327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4328 (eval $ac_link) 2>conftest.er1
4330 grep -v '^ *+' conftest.er1
>conftest.err
4332 cat conftest.err
>&5
4333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4334 (exit $ac_status); } &&
4335 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340 (exit $ac_status); }; } &&
4341 { ac_try
='test -s conftest$ac_exeext'
4342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346 (exit $ac_status); }; }; then
4347 ac_cv_func_shmat
=yes
4349 echo "$as_me: failed program was:" >&5
4350 sed 's/^/| /' conftest.
$ac_ext >&5
4354 rm -f conftest.err conftest.
$ac_objext \
4355 conftest
$ac_exeext conftest.
$ac_ext
4357 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4358 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4360 if test $ac_cv_func_shmat = no
; then
4361 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4362 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4363 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4364 echo $ECHO_N "(cached) $ECHO_C" >&6
4366 ac_check_lib_save_LIBS
=$LIBS
4368 cat >conftest.
$ac_ext <<_ACEOF
4371 cat confdefs.h
>>conftest.
$ac_ext
4372 cat >>conftest.
$ac_ext <<_ACEOF
4373 /* end confdefs.h. */
4375 /* Override any gcc2 internal prototype to avoid an error. */
4379 /* We use char because int might match the return type of a gcc2
4380 builtin and then its argument prototype would still apply. */
4390 rm -f conftest.
$ac_objext conftest
$ac_exeext
4391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4392 (eval $ac_link) 2>conftest.er1
4394 grep -v '^ *+' conftest.er1
>conftest.err
4396 cat conftest.err
>&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); } &&
4399 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404 (exit $ac_status); }; } &&
4405 { ac_try
='test -s conftest$ac_exeext'
4406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410 (exit $ac_status); }; }; then
4411 ac_cv_lib_ipc_shmat
=yes
4413 echo "$as_me: failed program was:" >&5
4414 sed 's/^/| /' conftest.
$ac_ext >&5
4416 ac_cv_lib_ipc_shmat
=no
4418 rm -f conftest.err conftest.
$ac_objext \
4419 conftest
$ac_exeext conftest.
$ac_ext
4420 LIBS
=$ac_check_lib_save_LIBS
4422 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4423 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4424 if test $ac_cv_lib_ipc_shmat = yes; then
4425 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
4431 # Check for libraries that X11R6 Xt/Xaw programs need.
4432 ac_save_LDFLAGS
=$LDFLAGS
4433 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
4434 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4435 # check for ICE first), but we must link in the order -lSM -lICE or
4436 # we get undefined symbols. So assume we have SM if we have ICE.
4437 # These have to be linked with before -lX11, unlike the other
4438 # libraries we check for below, so use a different variable.
4439 # John Interrante, Karl Berry
4440 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4441 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4442 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4443 echo $ECHO_N "(cached) $ECHO_C" >&6
4445 ac_check_lib_save_LIBS
=$LIBS
4446 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
4447 cat >conftest.
$ac_ext <<_ACEOF
4450 cat confdefs.h
>>conftest.
$ac_ext
4451 cat >>conftest.
$ac_ext <<_ACEOF
4452 /* end confdefs.h. */
4454 /* Override any gcc2 internal prototype to avoid an error. */
4458 /* We use char because int might match the return type of a gcc2
4459 builtin and then its argument prototype would still apply. */
4460 char IceConnectionNumber ();
4464 IceConnectionNumber ();
4469 rm -f conftest.
$ac_objext conftest
$ac_exeext
4470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4471 (eval $ac_link) 2>conftest.er1
4473 grep -v '^ *+' conftest.er1
>conftest.err
4475 cat conftest.err
>&5
4476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477 (exit $ac_status); } &&
4478 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483 (exit $ac_status); }; } &&
4484 { ac_try
='test -s conftest$ac_exeext'
4485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4489 (exit $ac_status); }; }; then
4490 ac_cv_lib_ICE_IceConnectionNumber
=yes
4492 echo "$as_me: failed program was:" >&5
4493 sed 's/^/| /' conftest.
$ac_ext >&5
4495 ac_cv_lib_ICE_IceConnectionNumber
=no
4497 rm -f conftest.err conftest.
$ac_objext \
4498 conftest
$ac_exeext conftest.
$ac_ext
4499 LIBS
=$ac_check_lib_save_LIBS
4501 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4502 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4503 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4504 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4507 LDFLAGS
=$ac_save_LDFLAGS
4511 for ac_prog
in flex
lex
4513 # Extract the first word of "$ac_prog", so it can be a program name with args.
4514 set dummy
$ac_prog; ac_word
=$2
4515 echo "$as_me:$LINENO: checking for $ac_word" >&5
4516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4517 if test "${ac_cv_prog_LEX+set}" = set; then
4518 echo $ECHO_N "(cached) $ECHO_C" >&6
4520 if test -n "$LEX"; then
4521 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4527 test -z "$as_dir" && as_dir
=.
4528 for ac_exec_ext
in '' $ac_executable_extensions; do
4529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4530 ac_cv_prog_LEX
="$ac_prog"
4531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4540 if test -n "$LEX"; then
4541 echo "$as_me:$LINENO: result: $LEX" >&5
4542 echo "${ECHO_T}$LEX" >&6
4544 echo "$as_me:$LINENO: result: no" >&5
4545 echo "${ECHO_T}no" >&6
4548 test -n "$LEX" && break
4550 test -n "$LEX" || LEX
=":"
4552 if test -z "$LEXLIB"
4554 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4555 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4556 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4557 echo $ECHO_N "(cached) $ECHO_C" >&6
4559 ac_check_lib_save_LIBS
=$LIBS
4561 cat >conftest.
$ac_ext <<_ACEOF
4564 cat confdefs.h
>>conftest.
$ac_ext
4565 cat >>conftest.
$ac_ext <<_ACEOF
4566 /* end confdefs.h. */
4568 /* Override any gcc2 internal prototype to avoid an error. */
4572 /* We use char because int might match the return type of a gcc2
4573 builtin and then its argument prototype would still apply. */
4583 rm -f conftest.
$ac_objext conftest
$ac_exeext
4584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4585 (eval $ac_link) 2>conftest.er1
4587 grep -v '^ *+' conftest.er1
>conftest.err
4589 cat conftest.err
>&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); } &&
4592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); }; } &&
4598 { ac_try
='test -s conftest$ac_exeext'
4599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603 (exit $ac_status); }; }; then
4604 ac_cv_lib_fl_yywrap
=yes
4606 echo "$as_me: failed program was:" >&5
4607 sed 's/^/| /' conftest.
$ac_ext >&5
4609 ac_cv_lib_fl_yywrap
=no
4611 rm -f conftest.err conftest.
$ac_objext \
4612 conftest
$ac_exeext conftest.
$ac_ext
4613 LIBS
=$ac_check_lib_save_LIBS
4615 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4616 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4617 if test $ac_cv_lib_fl_yywrap = yes; then
4620 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4621 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4622 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4623 echo $ECHO_N "(cached) $ECHO_C" >&6
4625 ac_check_lib_save_LIBS
=$LIBS
4627 cat >conftest.
$ac_ext <<_ACEOF
4630 cat confdefs.h
>>conftest.
$ac_ext
4631 cat >>conftest.
$ac_ext <<_ACEOF
4632 /* end confdefs.h. */
4634 /* Override any gcc2 internal prototype to avoid an error. */
4638 /* We use char because int might match the return type of a gcc2
4639 builtin and then its argument prototype would still apply. */
4649 rm -f conftest.
$ac_objext conftest
$ac_exeext
4650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4651 (eval $ac_link) 2>conftest.er1
4653 grep -v '^ *+' conftest.er1
>conftest.err
4655 cat conftest.err
>&5
4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657 (exit $ac_status); } &&
4658 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); }; } &&
4664 { ac_try
='test -s conftest$ac_exeext'
4665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); }; }; then
4670 ac_cv_lib_l_yywrap
=yes
4672 echo "$as_me: failed program was:" >&5
4673 sed 's/^/| /' conftest.
$ac_ext >&5
4675 ac_cv_lib_l_yywrap
=no
4677 rm -f conftest.err conftest.
$ac_objext \
4678 conftest
$ac_exeext conftest.
$ac_ext
4679 LIBS
=$ac_check_lib_save_LIBS
4681 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4682 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4683 if test $ac_cv_lib_l_yywrap = yes; then
4691 if test "x$LEX" != "x:"; then
4692 echo "$as_me:$LINENO: checking lex output file root" >&5
4693 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4694 if test "${ac_cv_prog_lex_root+set}" = set; then
4695 echo $ECHO_N "(cached) $ECHO_C" >&6
4697 # The minimal lex program is just a single line: %%. But some broken lexes
4698 # (Solaris, I think it was) want two %% lines, so accommodate them.
4699 cat >conftest.l
<<_ACEOF
4703 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4704 (eval $LEX conftest.l
) 2>&5
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); }
4708 if test -f lex.yy.c
; then
4709 ac_cv_prog_lex_root
=lex.yy
4710 elif test -f lexyy.c
; then
4711 ac_cv_prog_lex_root
=lexyy
4713 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4714 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4715 { (exit 1); exit 1; }; }
4718 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4719 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4721 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4723 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4724 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4725 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4726 echo $ECHO_N "(cached) $ECHO_C" >&6
4728 # POSIX says lex can declare yytext either as a pointer or an array; the
4729 # default is implementation-dependent. Figure out which it is, since
4730 # not all implementations provide the %pointer and %array declarations.
4731 ac_cv_prog_lex_yytext_pointer
=no
4732 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4734 LIBS
="$LIBS $LEXLIB"
4735 cat >conftest.
$ac_ext <<_ACEOF
4736 `cat $LEX_OUTPUT_ROOT.c`
4738 rm -f conftest.
$ac_objext conftest
$ac_exeext
4739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4740 (eval $ac_link) 2>conftest.er1
4742 grep -v '^ *+' conftest.er1
>conftest.err
4744 cat conftest.err
>&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); } &&
4747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); }; } &&
4753 { ac_try
='test -s conftest$ac_exeext'
4754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); }; }; then
4759 ac_cv_prog_lex_yytext_pointer
=yes
4761 echo "$as_me: failed program was:" >&5
4762 sed 's/^/| /' conftest.
$ac_ext >&5
4765 rm -f conftest.err conftest.
$ac_objext \
4766 conftest
$ac_exeext conftest.
$ac_ext
4768 rm -f "${LEX_OUTPUT_ROOT}.c"
4771 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4772 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4773 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4775 cat >>confdefs.h
<<\_ACEOF
4776 #define YYTEXT_POINTER 1
4783 for ac_prog
in $LEX flex
lex
4785 # Extract the first word of "$ac_prog", so it can be a program name with args.
4786 set dummy
$ac_prog; ac_word
=$2
4787 echo "$as_me:$LINENO: checking for $ac_word" >&5
4788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4789 if test "${ac_cv_prog_XLEX+set}" = set; then
4790 echo $ECHO_N "(cached) $ECHO_C" >&6
4792 if test -n "$XLEX"; then
4793 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
4795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4799 test -z "$as_dir" && as_dir
=.
4800 for ac_exec_ext
in '' $ac_executable_extensions; do
4801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4802 ac_cv_prog_XLEX
="$ac_prog"
4803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4811 XLEX
=$ac_cv_prog_XLEX
4812 if test -n "$XLEX"; then
4813 echo "$as_me:$LINENO: result: $XLEX" >&5
4814 echo "${ECHO_T}$XLEX" >&6
4816 echo "$as_me:$LINENO: result: no" >&5
4817 echo "${ECHO_T}no" >&6
4820 test -n "$XLEX" && break
4822 test -n "$XLEX" || XLEX
="none"
4824 if test "$XLEX" = "none"
4826 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4827 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4828 { (exit 1); exit 1; }; }
4831 for ac_prog
in bison
4833 # Extract the first word of "$ac_prog", so it can be a program name with args.
4834 set dummy
$ac_prog; ac_word
=$2
4835 echo "$as_me:$LINENO: checking for $ac_word" >&5
4836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4837 if test "${ac_cv_prog_BISON+set}" = set; then
4838 echo $ECHO_N "(cached) $ECHO_C" >&6
4840 if test -n "$BISON"; then
4841 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4847 test -z "$as_dir" && as_dir
=.
4848 for ac_exec_ext
in '' $ac_executable_extensions; do
4849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4850 ac_cv_prog_BISON
="$ac_prog"
4851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4859 BISON
=$ac_cv_prog_BISON
4860 if test -n "$BISON"; then
4861 echo "$as_me:$LINENO: result: $BISON" >&5
4862 echo "${ECHO_T}$BISON" >&6
4864 echo "$as_me:$LINENO: result: no" >&5
4865 echo "${ECHO_T}no" >&6
4868 test -n "$BISON" && break
4870 test -n "$BISON" || BISON
="none"
4872 if test "$BISON" = "none"
4874 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
4875 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
4876 { (exit 1); exit 1; }; }
4879 if test -n "$ac_tool_prefix"; then
4880 for ac_prog
in gas as
4882 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4883 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4884 echo "$as_me:$LINENO: checking for $ac_word" >&5
4885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4886 if test "${ac_cv_prog_AS+set}" = set; then
4887 echo $ECHO_N "(cached) $ECHO_C" >&6
4889 if test -n "$AS"; then
4890 ac_cv_prog_AS
="$AS" # Let the user override the test.
4892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4896 test -z "$as_dir" && as_dir
=.
4897 for ac_exec_ext
in '' $ac_executable_extensions; do
4898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4899 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
4900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4909 if test -n "$AS"; then
4910 echo "$as_me:$LINENO: result: $AS" >&5
4911 echo "${ECHO_T}$AS" >&6
4913 echo "$as_me:$LINENO: result: no" >&5
4914 echo "${ECHO_T}no" >&6
4917 test -n "$AS" && break
4920 if test -z "$AS"; then
4922 for ac_prog
in gas as
4924 # Extract the first word of "$ac_prog", so it can be a program name with args.
4925 set dummy
$ac_prog; ac_word
=$2
4926 echo "$as_me:$LINENO: checking for $ac_word" >&5
4927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4928 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4929 echo $ECHO_N "(cached) $ECHO_C" >&6
4931 if test -n "$ac_ct_AS"; then
4932 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4938 test -z "$as_dir" && as_dir
=.
4939 for ac_exec_ext
in '' $ac_executable_extensions; do
4940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4941 ac_cv_prog_ac_ct_AS
="$ac_prog"
4942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4950 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4951 if test -n "$ac_ct_AS"; then
4952 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4953 echo "${ECHO_T}$ac_ct_AS" >&6
4955 echo "$as_me:$LINENO: result: no" >&5
4956 echo "${ECHO_T}no" >&6
4959 test -n "$ac_ct_AS" && break
4961 test -n "$ac_ct_AS" || ac_ct_AS
="as"
4966 if test -n "$ac_tool_prefix"; then
4967 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4968 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4969 echo "$as_me:$LINENO: checking for $ac_word" >&5
4970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4971 if test "${ac_cv_prog_LD+set}" = set; then
4972 echo $ECHO_N "(cached) $ECHO_C" >&6
4974 if test -n "$LD"; then
4975 ac_cv_prog_LD
="$LD" # Let the user override the test.
4977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4981 test -z "$as_dir" && as_dir
=.
4982 for ac_exec_ext
in '' $ac_executable_extensions; do
4983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4984 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4994 if test -n "$LD"; then
4995 echo "$as_me:$LINENO: result: $LD" >&5
4996 echo "${ECHO_T}$LD" >&6
4998 echo "$as_me:$LINENO: result: no" >&5
4999 echo "${ECHO_T}no" >&6
5003 if test -z "$ac_cv_prog_LD"; then
5005 # Extract the first word of "ld", so it can be a program name with args.
5006 set dummy ld
; ac_word
=$2
5007 echo "$as_me:$LINENO: checking for $ac_word" >&5
5008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5009 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5010 echo $ECHO_N "(cached) $ECHO_C" >&6
5012 if test -n "$ac_ct_LD"; then
5013 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5019 test -z "$as_dir" && as_dir
=.
5020 for ac_exec_ext
in '' $ac_executable_extensions; do
5021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5022 ac_cv_prog_ac_ct_LD
="ld"
5023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD
="ld"
5032 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5033 if test -n "$ac_ct_LD"; then
5034 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5035 echo "${ECHO_T}$ac_ct_LD" >&6
5037 echo "$as_me:$LINENO: result: no" >&5
5038 echo "${ECHO_T}no" >&6
5046 if test -n "$ac_tool_prefix"; then
5047 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5048 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5049 echo "$as_me:$LINENO: checking for $ac_word" >&5
5050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5051 if test "${ac_cv_prog_AR+set}" = set; then
5052 echo $ECHO_N "(cached) $ECHO_C" >&6
5054 if test -n "$AR"; then
5055 ac_cv_prog_AR
="$AR" # Let the user override the test.
5057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5061 test -z "$as_dir" && as_dir
=.
5062 for ac_exec_ext
in '' $ac_executable_extensions; do
5063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5064 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5074 if test -n "$AR"; then
5075 echo "$as_me:$LINENO: result: $AR" >&5
5076 echo "${ECHO_T}$AR" >&6
5078 echo "$as_me:$LINENO: result: no" >&5
5079 echo "${ECHO_T}no" >&6
5083 if test -z "$ac_cv_prog_AR"; then
5085 # Extract the first word of "ar", so it can be a program name with args.
5086 set dummy
ar; ac_word
=$2
5087 echo "$as_me:$LINENO: checking for $ac_word" >&5
5088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5089 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5090 echo $ECHO_N "(cached) $ECHO_C" >&6
5092 if test -n "$ac_ct_AR"; then
5093 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5099 test -z "$as_dir" && as_dir
=.
5100 for ac_exec_ext
in '' $ac_executable_extensions; do
5101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5102 ac_cv_prog_ac_ct_AR
="ar"
5103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5109 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
5112 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5113 if test -n "$ac_ct_AR"; then
5114 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5115 echo "${ECHO_T}$ac_ct_AR" >&6
5117 echo "$as_me:$LINENO: result: no" >&5
5118 echo "${ECHO_T}no" >&6
5126 if test -n "$ac_tool_prefix"; then
5127 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5128 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5129 echo "$as_me:$LINENO: checking for $ac_word" >&5
5130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5131 if test "${ac_cv_prog_RANLIB+set}" = set; then
5132 echo $ECHO_N "(cached) $ECHO_C" >&6
5134 if test -n "$RANLIB"; then
5135 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5141 test -z "$as_dir" && as_dir
=.
5142 for ac_exec_ext
in '' $ac_executable_extensions; do
5143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5144 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 RANLIB
=$ac_cv_prog_RANLIB
5154 if test -n "$RANLIB"; then
5155 echo "$as_me:$LINENO: result: $RANLIB" >&5
5156 echo "${ECHO_T}$RANLIB" >&6
5158 echo "$as_me:$LINENO: result: no" >&5
5159 echo "${ECHO_T}no" >&6
5163 if test -z "$ac_cv_prog_RANLIB"; then
5164 ac_ct_RANLIB
=$RANLIB
5165 # Extract the first word of "ranlib", so it can be a program name with args.
5166 set dummy ranlib
; ac_word
=$2
5167 echo "$as_me:$LINENO: checking for $ac_word" >&5
5168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5169 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5170 echo $ECHO_N "(cached) $ECHO_C" >&6
5172 if test -n "$ac_ct_RANLIB"; then
5173 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5179 test -z "$as_dir" && as_dir
=.
5180 for ac_exec_ext
in '' $ac_executable_extensions; do
5181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5182 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5189 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5192 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5193 if test -n "$ac_ct_RANLIB"; then
5194 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5195 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5201 RANLIB
=$ac_ct_RANLIB
5203 RANLIB
="$ac_cv_prog_RANLIB"
5206 if test -n "$ac_tool_prefix"; then
5207 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5208 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5209 echo "$as_me:$LINENO: checking for $ac_word" >&5
5210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5211 if test "${ac_cv_prog_STRIP+set}" = set; then
5212 echo $ECHO_N "(cached) $ECHO_C" >&6
5214 if test -n "$STRIP"; then
5215 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5221 test -z "$as_dir" && as_dir
=.
5222 for ac_exec_ext
in '' $ac_executable_extensions; do
5223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5224 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5233 STRIP
=$ac_cv_prog_STRIP
5234 if test -n "$STRIP"; then
5235 echo "$as_me:$LINENO: result: $STRIP" >&5
5236 echo "${ECHO_T}$STRIP" >&6
5238 echo "$as_me:$LINENO: result: no" >&5
5239 echo "${ECHO_T}no" >&6
5243 if test -z "$ac_cv_prog_STRIP"; then
5245 # Extract the first word of "strip", so it can be a program name with args.
5246 set dummy strip
; ac_word
=$2
5247 echo "$as_me:$LINENO: checking for $ac_word" >&5
5248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5249 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5250 echo $ECHO_N "(cached) $ECHO_C" >&6
5252 if test -n "$ac_ct_STRIP"; then
5253 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5259 test -z "$as_dir" && as_dir
=.
5260 for ac_exec_ext
in '' $ac_executable_extensions; do
5261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5262 ac_cv_prog_ac_ct_STRIP
="strip"
5263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="strip"
5272 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5273 if test -n "$ac_ct_STRIP"; then
5274 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5275 echo "${ECHO_T}$ac_ct_STRIP" >&6
5277 echo "$as_me:$LINENO: result: no" >&5
5278 echo "${ECHO_T}no" >&6
5283 STRIP
="$ac_cv_prog_STRIP"
5286 if test -n "$ac_tool_prefix"; then
5287 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5288 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5289 echo "$as_me:$LINENO: checking for $ac_word" >&5
5290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5291 if test "${ac_cv_prog_WINDRES+set}" = set; then
5292 echo $ECHO_N "(cached) $ECHO_C" >&6
5294 if test -n "$WINDRES"; then
5295 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5301 test -z "$as_dir" && as_dir
=.
5302 for ac_exec_ext
in '' $ac_executable_extensions; do
5303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5304 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5313 WINDRES
=$ac_cv_prog_WINDRES
5314 if test -n "$WINDRES"; then
5315 echo "$as_me:$LINENO: result: $WINDRES" >&5
5316 echo "${ECHO_T}$WINDRES" >&6
5318 echo "$as_me:$LINENO: result: no" >&5
5319 echo "${ECHO_T}no" >&6
5323 if test -z "$ac_cv_prog_WINDRES"; then
5324 ac_ct_WINDRES
=$WINDRES
5325 # Extract the first word of "windres", so it can be a program name with args.
5326 set dummy windres
; ac_word
=$2
5327 echo "$as_me:$LINENO: checking for $ac_word" >&5
5328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5329 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5330 echo $ECHO_N "(cached) $ECHO_C" >&6
5332 if test -n "$ac_ct_WINDRES"; then
5333 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5339 test -z "$as_dir" && as_dir
=.
5340 for ac_exec_ext
in '' $ac_executable_extensions; do
5341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5342 ac_cv_prog_ac_ct_WINDRES
="windres"
5343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5349 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES
="false"
5352 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5353 if test -n "$ac_ct_WINDRES"; then
5354 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5355 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5357 echo "$as_me:$LINENO: result: no" >&5
5358 echo "${ECHO_T}no" >&6
5361 WINDRES
=$ac_ct_WINDRES
5363 WINDRES
="$ac_cv_prog_WINDRES"
5366 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5367 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5369 if test "$LN_S" = "ln -s"; then
5370 echo "$as_me:$LINENO: result: yes" >&5
5371 echo "${ECHO_T}yes" >&6
5373 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5374 echo "${ECHO_T}no, using $LN_S" >&6
5377 echo "$as_me:$LINENO: checking whether ln works" >&5
5378 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
5379 rm -f conf$$ conf$$.
file
5381 if ln conf$$.
file conf$$
2>/dev
/null
; then
5384 echo "$as_me:$LINENO: result: yes" >&5
5385 echo "${ECHO_T}yes" >&6
5389 echo "$as_me:$LINENO: result: no, using $LN" >&5
5390 echo "${ECHO_T}no, using $LN" >&6
5392 rm -f conf$$ conf$$.
file
5393 echo "$as_me:$LINENO: checking for egrep" >&5
5394 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5395 if test "${ac_cv_prog_egrep+set}" = set; then
5396 echo $ECHO_N "(cached) $ECHO_C" >&6
5398 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5399 then ac_cv_prog_egrep
='grep -E'
5400 else ac_cv_prog_egrep
='egrep'
5403 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5404 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5405 EGREP
=$ac_cv_prog_egrep
5408 # Extract the first word of "ldconfig", so it can be a program name with args.
5409 set dummy ldconfig
; ac_word
=$2
5410 echo "$as_me:$LINENO: checking for $ac_word" >&5
5411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5412 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5413 echo $ECHO_N "(cached) $ECHO_C" >&6
5417 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5421 for as_dir
in /sbin
/usr
/sbin
$PATH
5424 test -z "$as_dir" && as_dir
=.
5425 for ac_exec_ext
in '' $ac_executable_extensions; do
5426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5427 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5434 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5438 LDCONFIG
=$ac_cv_path_LDCONFIG
5440 if test -n "$LDCONFIG"; then
5441 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5442 echo "${ECHO_T}$LDCONFIG" >&6
5444 echo "$as_me:$LINENO: result: no" >&5
5445 echo "${ECHO_T}no" >&6
5448 # Find a good install program. We prefer a C program (faster),
5449 # so one script is as good as another. But avoid the broken or
5450 # incompatible versions:
5451 # SysV /etc/install, /usr/sbin/install
5452 # SunOS /usr/etc/install
5453 # IRIX /sbin/install
5455 # AmigaOS /C/install, which installs bootblocks on floppy discs
5456 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5457 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5458 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5459 # OS/2's system install, which has a completely different semantic
5460 # ./install, which can be erroneously created by make from ./install.sh.
5461 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5462 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5463 if test -z "$INSTALL"; then
5464 if test "${ac_cv_path_install+set}" = set; then
5465 echo $ECHO_N "(cached) $ECHO_C" >&6
5467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5471 test -z "$as_dir" && as_dir
=.
5472 # Account for people who put trailing slashes in PATH elements.
5474 .
/ | .
// |
/cC
/* | \
5475 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5476 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5479 # OSF1 and SCO ODT 3.0 have their own names for install.
5480 # Don't use installbsd from OSF since it installs stuff as root
5482 for ac_prog
in ginstall scoinst
install; do
5483 for ac_exec_ext
in '' $ac_executable_extensions; do
5484 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5485 if test $ac_prog = install &&
5486 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5487 # AIX install. It has an incompatible calling convention.
5489 elif test $ac_prog = install &&
5490 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5491 # program-specific install script used by HP pwplus--don't use.
5494 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5506 if test "${ac_cv_path_install+set}" = set; then
5507 INSTALL
=$ac_cv_path_install
5509 # As a last resort, use the slow shell script. We don't cache a
5510 # path for INSTALL within a source directory, because that will
5511 # break other packages using the cache if that directory is
5512 # removed, or if the path is relative.
5513 INSTALL
=$ac_install_sh
5516 echo "$as_me:$LINENO: result: $INSTALL" >&5
5517 echo "${ECHO_T}$INSTALL" >&6
5519 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5520 # It thinks the first close brace ends the variable substitution.
5521 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5523 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5525 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5528 [\\/$
]* | ?
:[\\/]* ) ;;
5529 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
5532 for ac_prog
in lclint lint
5534 # Extract the first word of "$ac_prog", so it can be a program name with args.
5535 set dummy
$ac_prog; ac_word
=$2
5536 echo "$as_me:$LINENO: checking for $ac_word" >&5
5537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5538 if test "${ac_cv_prog_LINT+set}" = set; then
5539 echo $ECHO_N "(cached) $ECHO_C" >&6
5541 if test -n "$LINT"; then
5542 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
5544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5548 test -z "$as_dir" && as_dir
=.
5549 for ac_exec_ext
in '' $ac_executable_extensions; do
5550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5551 ac_cv_prog_LINT
="$ac_prog"
5552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5560 LINT
=$ac_cv_prog_LINT
5561 if test -n "$LINT"; then
5562 echo "$as_me:$LINENO: result: $LINT" >&5
5563 echo "${ECHO_T}$LINT" >&6
5565 echo "$as_me:$LINENO: result: no" >&5
5566 echo "${ECHO_T}no" >&6
5569 test -n "$LINT" && break
5572 if test "$LINT" = "lint"
5574 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5579 for ac_prog
in fontforge
5581 # Extract the first word of "$ac_prog", so it can be a program name with args.
5582 set dummy
$ac_prog; ac_word
=$2
5583 echo "$as_me:$LINENO: checking for $ac_word" >&5
5584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5585 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
5586 echo $ECHO_N "(cached) $ECHO_C" >&6
5588 if test -n "$FONTFORGE"; then
5589 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5595 test -z "$as_dir" && as_dir
=.
5596 for ac_exec_ext
in '' $ac_executable_extensions; do
5597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5598 ac_cv_prog_FONTFORGE
="$ac_prog"
5599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5607 FONTFORGE
=$ac_cv_prog_FONTFORGE
5608 if test -n "$FONTFORGE"; then
5609 echo "$as_me:$LINENO: result: $FONTFORGE" >&5
5610 echo "${ECHO_T}$FONTFORGE" >&6
5612 echo "$as_me:$LINENO: result: no" >&5
5613 echo "${ECHO_T}no" >&6
5616 test -n "$FONTFORGE" && break
5618 test -n "$FONTFORGE" || FONTFORGE
="false"
5620 for ac_prog
in pkg-config
5622 # Extract the first word of "$ac_prog", so it can be a program name with args.
5623 set dummy
$ac_prog; ac_word
=$2
5624 echo "$as_me:$LINENO: checking for $ac_word" >&5
5625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5626 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
5627 echo $ECHO_N "(cached) $ECHO_C" >&6
5629 if test -n "$PKG_CONFIG"; then
5630 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5636 test -z "$as_dir" && as_dir
=.
5637 for ac_exec_ext
in '' $ac_executable_extensions; do
5638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5639 ac_cv_prog_PKG_CONFIG
="$ac_prog"
5640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5648 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5649 if test -n "$PKG_CONFIG"; then
5650 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5651 echo "${ECHO_T}$PKG_CONFIG" >&6
5653 echo "$as_me:$LINENO: result: no" >&5
5654 echo "${ECHO_T}no" >&6
5657 test -n "$PKG_CONFIG" && break
5659 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
5664 for ac_prog
in prelink
5666 # Extract the first word of "$ac_prog", so it can be a program name with args.
5667 set dummy
$ac_prog; ac_word
=$2
5668 echo "$as_me:$LINENO: checking for $ac_word" >&5
5669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5670 if test "${ac_cv_prog_PRELINK+set}" = set; then
5671 echo $ECHO_N "(cached) $ECHO_C" >&6
5673 if test -n "$PRELINK"; then
5674 ac_cv_prog_PRELINK
="$PRELINK" # Let the user override the test.
5676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5677 for as_dir
in /sbin
/usr
/sbin
$PATH
5680 test -z "$as_dir" && as_dir
=.
5681 for ac_exec_ext
in '' $ac_executable_extensions; do
5682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5683 ac_cv_prog_PRELINK
="$ac_prog"
5684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5692 PRELINK
=$ac_cv_prog_PRELINK
5693 if test -n "$PRELINK"; then
5694 echo "$as_me:$LINENO: result: $PRELINK" >&5
5695 echo "${ECHO_T}$PRELINK" >&6
5697 echo "$as_me:$LINENO: result: no" >&5
5698 echo "${ECHO_T}no" >&6
5701 test -n "$PRELINK" && break
5703 test -n "$PRELINK" || PRELINK
="false"
5710 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5711 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5712 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5713 echo $ECHO_N "(cached) $ECHO_C" >&6
5715 ac_check_lib_save_LIBS
=$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. */
5730 char i386_set_ldt ();
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_i386_i386_set_ldt
=yes
5762 echo "$as_me: failed program was:" >&5
5763 sed 's/^/| /' conftest.
$ac_ext >&5
5765 ac_cv_lib_i386_i386_set_ldt
=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_i386_i386_set_ldt" >&5
5772 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5773 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5774 cat >>confdefs.h
<<_ACEOF
5775 #define HAVE_LIBI386 1
5783 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5784 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5785 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5786 echo $ECHO_N "(cached) $ECHO_C" >&6
5788 ac_check_lib_save_LIBS
=$LIBS
5789 LIBS
="-lossaudio $LIBS"
5790 cat >conftest.
$ac_ext <<_ACEOF
5793 cat confdefs.h
>>conftest.
$ac_ext
5794 cat >>conftest.
$ac_ext <<_ACEOF
5795 /* end confdefs.h. */
5797 /* Override any gcc2 internal prototype to avoid an error. */
5801 /* We use char because int might match the return type of a gcc2
5802 builtin and then its argument prototype would still apply. */
5812 rm -f conftest.
$ac_objext conftest
$ac_exeext
5813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5814 (eval $ac_link) 2>conftest.er1
5816 grep -v '^ *+' conftest.er1
>conftest.err
5818 cat conftest.err
>&5
5819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5820 (exit $ac_status); } &&
5821 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826 (exit $ac_status); }; } &&
5827 { ac_try
='test -s conftest$ac_exeext'
5828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832 (exit $ac_status); }; }; then
5833 ac_cv_lib_ossaudio__oss_ioctl
=yes
5835 echo "$as_me: failed program was:" >&5
5836 sed 's/^/| /' conftest.
$ac_ext >&5
5838 ac_cv_lib_ossaudio__oss_ioctl
=no
5840 rm -f conftest.err conftest.
$ac_objext \
5841 conftest
$ac_exeext conftest.
$ac_ext
5842 LIBS
=$ac_check_lib_save_LIBS
5844 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5845 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5846 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5847 cat >>confdefs.h
<<_ACEOF
5848 #define HAVE_LIBOSSAUDIO 1
5851 LIBS
="-lossaudio $LIBS"
5856 for ac_func
in gethostbyname
5858 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5859 echo "$as_me:$LINENO: checking for $ac_func" >&5
5860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5861 if eval "test \"\${$as_ac_var+set}\" = set"; then
5862 echo $ECHO_N "(cached) $ECHO_C" >&6
5864 cat >conftest.
$ac_ext <<_ACEOF
5867 cat confdefs.h
>>conftest.
$ac_ext
5868 cat >>conftest.
$ac_ext <<_ACEOF
5869 /* end confdefs.h. */
5870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5872 #define $ac_func innocuous_$ac_func
5874 /* System header to define __stub macros and hopefully few prototypes,
5875 which can conflict with char $ac_func (); below.
5876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5877 <limits.h> exists even on freestanding compilers. */
5880 # include <limits.h>
5882 # include <assert.h>
5887 /* Override any gcc2 internal prototype to avoid an error. */
5892 /* We use char because int might match the return type of a gcc2
5893 builtin and then its argument prototype would still apply. */
5895 /* The GNU C library defines this for functions which it implements
5896 to always fail with ENOSYS. Some functions are actually named
5897 something starting with __ and the normal name is an alias. */
5898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5901 char (*f) () = $ac_func;
5910 return f != $ac_func;
5915 rm -f conftest.
$ac_objext conftest
$ac_exeext
5916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5917 (eval $ac_link) 2>conftest.er1
5919 grep -v '^ *+' conftest.er1
>conftest.err
5921 cat conftest.err
>&5
5922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5923 (exit $ac_status); } &&
5924 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929 (exit $ac_status); }; } &&
5930 { ac_try
='test -s conftest$ac_exeext'
5931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935 (exit $ac_status); }; }; then
5936 eval "$as_ac_var=yes"
5938 echo "$as_me: failed program was:" >&5
5939 sed 's/^/| /' conftest.
$ac_ext >&5
5941 eval "$as_ac_var=no"
5943 rm -f conftest.err conftest.
$ac_objext \
5944 conftest
$ac_exeext conftest.
$ac_ext
5946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5948 if test `eval echo '${'$as_ac_var'}'` = yes; then
5949 cat >>confdefs.h
<<_ACEOF
5950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5955 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5956 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5957 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5958 echo $ECHO_N "(cached) $ECHO_C" >&6
5960 ac_check_lib_save_LIBS
=$LIBS
5962 cat >conftest.
$ac_ext <<_ACEOF
5965 cat confdefs.h
>>conftest.
$ac_ext
5966 cat >>conftest.
$ac_ext <<_ACEOF
5967 /* end confdefs.h. */
5969 /* Override any gcc2 internal prototype to avoid an error. */
5973 /* We use char because int might match the return type of a gcc2
5974 builtin and then its argument prototype would still apply. */
5975 char gethostbyname ();
5984 rm -f conftest.
$ac_objext conftest
$ac_exeext
5985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5986 (eval $ac_link) 2>conftest.er1
5988 grep -v '^ *+' conftest.er1
>conftest.err
5990 cat conftest.err
>&5
5991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992 (exit $ac_status); } &&
5993 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998 (exit $ac_status); }; } &&
5999 { ac_try
='test -s conftest$ac_exeext'
6000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004 (exit $ac_status); }; }; then
6005 ac_cv_lib_nsl_gethostbyname
=yes
6007 echo "$as_me: failed program was:" >&5
6008 sed 's/^/| /' conftest.
$ac_ext >&5
6010 ac_cv_lib_nsl_gethostbyname
=no
6012 rm -f conftest.err conftest.
$ac_objext \
6013 conftest
$ac_exeext conftest.
$ac_ext
6014 LIBS
=$ac_check_lib_save_LIBS
6016 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6017 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6018 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6019 cat >>confdefs.h
<<_ACEOF
6020 #define HAVE_LIBNSL 1
6031 for ac_func
in connect
6033 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6034 echo "$as_me:$LINENO: checking for $ac_func" >&5
6035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6036 if eval "test \"\${$as_ac_var+set}\" = set"; then
6037 echo $ECHO_N "(cached) $ECHO_C" >&6
6039 cat >conftest.
$ac_ext <<_ACEOF
6042 cat confdefs.h
>>conftest.
$ac_ext
6043 cat >>conftest.
$ac_ext <<_ACEOF
6044 /* end confdefs.h. */
6045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6047 #define $ac_func innocuous_$ac_func
6049 /* System header to define __stub macros and hopefully few prototypes,
6050 which can conflict with char $ac_func (); below.
6051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6052 <limits.h> exists even on freestanding compilers. */
6055 # include <limits.h>
6057 # include <assert.h>
6062 /* Override any gcc2 internal prototype to avoid an error. */
6067 /* We use char because int might match the return type of a gcc2
6068 builtin and then its argument prototype would still apply. */
6070 /* The GNU C library defines this for functions which it implements
6071 to always fail with ENOSYS. Some functions are actually named
6072 something starting with __ and the normal name is an alias. */
6073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6076 char (*f) () = $ac_func;
6085 return f != $ac_func;
6090 rm -f conftest.
$ac_objext conftest
$ac_exeext
6091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6092 (eval $ac_link) 2>conftest.er1
6094 grep -v '^ *+' conftest.er1
>conftest.err
6096 cat conftest.err
>&5
6097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6098 (exit $ac_status); } &&
6099 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6104 (exit $ac_status); }; } &&
6105 { ac_try
='test -s conftest$ac_exeext'
6106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6110 (exit $ac_status); }; }; then
6111 eval "$as_ac_var=yes"
6113 echo "$as_me: failed program was:" >&5
6114 sed 's/^/| /' conftest.
$ac_ext >&5
6116 eval "$as_ac_var=no"
6118 rm -f conftest.err conftest.
$ac_objext \
6119 conftest
$ac_exeext conftest.
$ac_ext
6121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6123 if test `eval echo '${'$as_ac_var'}'` = yes; then
6124 cat >>confdefs.h
<<_ACEOF
6125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6130 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6131 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6132 if test "${ac_cv_lib_socket_connect+set}" = set; then
6133 echo $ECHO_N "(cached) $ECHO_C" >&6
6135 ac_check_lib_save_LIBS
=$LIBS
6136 LIBS
="-lsocket $LIBS"
6137 cat >conftest.
$ac_ext <<_ACEOF
6140 cat confdefs.h
>>conftest.
$ac_ext
6141 cat >>conftest.
$ac_ext <<_ACEOF
6142 /* end confdefs.h. */
6144 /* Override any gcc2 internal prototype to avoid an error. */
6148 /* We use char because int might match the return type of a gcc2
6149 builtin and then its argument prototype would still apply. */
6159 rm -f conftest.
$ac_objext conftest
$ac_exeext
6160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6161 (eval $ac_link) 2>conftest.er1
6163 grep -v '^ *+' conftest.er1
>conftest.err
6165 cat conftest.err
>&5
6166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 (exit $ac_status); } &&
6168 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); }; } &&
6174 { ac_try
='test -s conftest$ac_exeext'
6175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); }; }; then
6180 ac_cv_lib_socket_connect
=yes
6182 echo "$as_me: failed program was:" >&5
6183 sed 's/^/| /' conftest.
$ac_ext >&5
6185 ac_cv_lib_socket_connect
=no
6187 rm -f conftest.err conftest.
$ac_objext \
6188 conftest
$ac_exeext conftest.
$ac_ext
6189 LIBS
=$ac_check_lib_save_LIBS
6191 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6192 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6193 if test $ac_cv_lib_socket_connect = yes; then
6194 cat >>confdefs.h
<<_ACEOF
6195 #define HAVE_LIBSOCKET 1
6198 LIBS
="-lsocket $LIBS"
6206 for ac_func
in inet_aton
6208 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6209 echo "$as_me:$LINENO: checking for $ac_func" >&5
6210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6211 if eval "test \"\${$as_ac_var+set}\" = set"; then
6212 echo $ECHO_N "(cached) $ECHO_C" >&6
6214 cat >conftest.
$ac_ext <<_ACEOF
6217 cat confdefs.h
>>conftest.
$ac_ext
6218 cat >>conftest.
$ac_ext <<_ACEOF
6219 /* end confdefs.h. */
6220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6222 #define $ac_func innocuous_$ac_func
6224 /* System header to define __stub macros and hopefully few prototypes,
6225 which can conflict with char $ac_func (); below.
6226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6227 <limits.h> exists even on freestanding compilers. */
6230 # include <limits.h>
6232 # include <assert.h>
6237 /* Override any gcc2 internal prototype to avoid an error. */
6242 /* We use char because int might match the return type of a gcc2
6243 builtin and then its argument prototype would still apply. */
6245 /* The GNU C library defines this for functions which it implements
6246 to always fail with ENOSYS. Some functions are actually named
6247 something starting with __ and the normal name is an alias. */
6248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6251 char (*f) () = $ac_func;
6260 return f != $ac_func;
6265 rm -f conftest.
$ac_objext conftest
$ac_exeext
6266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6267 (eval $ac_link) 2>conftest.er1
6269 grep -v '^ *+' conftest.er1
>conftest.err
6271 cat conftest.err
>&5
6272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6273 (exit $ac_status); } &&
6274 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6279 (exit $ac_status); }; } &&
6280 { ac_try
='test -s conftest$ac_exeext'
6281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 (exit $ac_status); }; }; then
6286 eval "$as_ac_var=yes"
6288 echo "$as_me: failed program was:" >&5
6289 sed 's/^/| /' conftest.
$ac_ext >&5
6291 eval "$as_ac_var=no"
6293 rm -f conftest.err conftest.
$ac_objext \
6294 conftest
$ac_exeext conftest.
$ac_ext
6296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6298 if test `eval echo '${'$as_ac_var'}'` = yes; then
6299 cat >>confdefs.h
<<_ACEOF
6300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6305 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6306 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6307 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6308 echo $ECHO_N "(cached) $ECHO_C" >&6
6310 ac_check_lib_save_LIBS
=$LIBS
6311 LIBS
="-lresolv $LIBS"
6312 cat >conftest.
$ac_ext <<_ACEOF
6315 cat confdefs.h
>>conftest.
$ac_ext
6316 cat >>conftest.
$ac_ext <<_ACEOF
6317 /* end confdefs.h. */
6319 /* Override any gcc2 internal prototype to avoid an error. */
6323 /* We use char because int might match the return type of a gcc2
6324 builtin and then its argument prototype would still apply. */
6334 rm -f conftest.
$ac_objext conftest
$ac_exeext
6335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6336 (eval $ac_link) 2>conftest.er1
6338 grep -v '^ *+' conftest.er1
>conftest.err
6340 cat conftest.err
>&5
6341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342 (exit $ac_status); } &&
6343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348 (exit $ac_status); }; } &&
6349 { ac_try
='test -s conftest$ac_exeext'
6350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6354 (exit $ac_status); }; }; then
6355 ac_cv_lib_resolv_inet_aton
=yes
6357 echo "$as_me: failed program was:" >&5
6358 sed 's/^/| /' conftest.
$ac_ext >&5
6360 ac_cv_lib_resolv_inet_aton
=no
6362 rm -f conftest.err conftest.
$ac_objext \
6363 conftest
$ac_exeext conftest.
$ac_ext
6364 LIBS
=$ac_check_lib_save_LIBS
6366 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6367 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6368 if test $ac_cv_lib_resolv_inet_aton = yes; then
6369 cat >>confdefs.h
<<_ACEOF
6370 #define HAVE_LIBRESOLV 1
6373 LIBS
="-lresolv $LIBS"
6381 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6382 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6383 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6384 echo $ECHO_N "(cached) $ECHO_C" >&6
6386 ac_check_lib_save_LIBS
=$LIBS
6388 cat >conftest.
$ac_ext <<_ACEOF
6391 cat confdefs.h
>>conftest.
$ac_ext
6392 cat >>conftest.
$ac_ext <<_ACEOF
6393 /* end confdefs.h. */
6395 /* Override any gcc2 internal prototype to avoid an error. */
6399 /* We use char because int might match the return type of a gcc2
6400 builtin and then its argument prototype would still apply. */
6401 char _xpg4_setrunelocale ();
6405 _xpg4_setrunelocale ();
6410 rm -f conftest.
$ac_objext conftest
$ac_exeext
6411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6412 (eval $ac_link) 2>conftest.er1
6414 grep -v '^ *+' conftest.er1
>conftest.err
6416 cat conftest.err
>&5
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); } &&
6419 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6424 (exit $ac_status); }; } &&
6425 { ac_try
='test -s conftest$ac_exeext'
6426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); }; }; then
6431 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
6433 echo "$as_me: failed program was:" >&5
6434 sed 's/^/| /' conftest.
$ac_ext >&5
6436 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
6438 rm -f conftest.err conftest.
$ac_objext \
6439 conftest
$ac_exeext conftest.
$ac_ext
6440 LIBS
=$ac_check_lib_save_LIBS
6442 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6443 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6444 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6445 cat >>confdefs.h
<<_ACEOF
6446 #define HAVE_LIBXPG4 1
6454 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6455 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6456 if test "${ac_cv_lib_poll_poll+set}" = set; then
6457 echo $ECHO_N "(cached) $ECHO_C" >&6
6459 ac_check_lib_save_LIBS
=$LIBS
6461 cat >conftest.
$ac_ext <<_ACEOF
6464 cat confdefs.h
>>conftest.
$ac_ext
6465 cat >>conftest.
$ac_ext <<_ACEOF
6466 /* end confdefs.h. */
6468 /* Override any gcc2 internal prototype to avoid an error. */
6472 /* We use char because int might match the return type of a gcc2
6473 builtin and then its argument prototype would still apply. */
6483 rm -f conftest.
$ac_objext conftest
$ac_exeext
6484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6485 (eval $ac_link) 2>conftest.er1
6487 grep -v '^ *+' conftest.er1
>conftest.err
6489 cat conftest.err
>&5
6490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6491 (exit $ac_status); } &&
6492 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6497 (exit $ac_status); }; } &&
6498 { ac_try
='test -s conftest$ac_exeext'
6499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6503 (exit $ac_status); }; }; then
6504 ac_cv_lib_poll_poll
=yes
6506 echo "$as_me: failed program was:" >&5
6507 sed 's/^/| /' conftest.
$ac_ext >&5
6509 ac_cv_lib_poll_poll
=no
6511 rm -f conftest.err conftest.
$ac_objext \
6512 conftest
$ac_exeext conftest.
$ac_ext
6513 LIBS
=$ac_check_lib_save_LIBS
6515 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6516 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6517 if test $ac_cv_lib_poll_poll = yes; then
6518 cat >>confdefs.h
<<_ACEOF
6519 #define HAVE_LIBPOLL 1
6527 echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
6528 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6
6529 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
6530 echo $ECHO_N "(cached) $ECHO_C" >&6
6532 ac_check_lib_save_LIBS
=$LIBS
6533 LIBS
="-lresolv $LIBS"
6534 cat >conftest.
$ac_ext <<_ACEOF
6537 cat confdefs.h
>>conftest.
$ac_ext
6538 cat >>conftest.
$ac_ext <<_ACEOF
6539 /* end confdefs.h. */
6541 /* Override any gcc2 internal prototype to avoid an error. */
6545 /* We use char because int might match the return type of a gcc2
6546 builtin and then its argument prototype would still apply. */
6556 rm -f conftest.
$ac_objext conftest
$ac_exeext
6557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6558 (eval $ac_link) 2>conftest.er1
6560 grep -v '^ *+' conftest.er1
>conftest.err
6562 cat conftest.err
>&5
6563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564 (exit $ac_status); } &&
6565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570 (exit $ac_status); }; } &&
6571 { ac_try
='test -s conftest$ac_exeext'
6572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6576 (exit $ac_status); }; }; then
6577 ac_cv_lib_resolv_res_9_init
=yes
6579 echo "$as_me: failed program was:" >&5
6580 sed 's/^/| /' conftest.
$ac_ext >&5
6582 ac_cv_lib_resolv_res_9_init
=no
6584 rm -f conftest.err conftest.
$ac_objext \
6585 conftest
$ac_exeext conftest.
$ac_ext
6586 LIBS
=$ac_check_lib_save_LIBS
6588 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
6589 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6
6590 if test $ac_cv_lib_resolv_res_9_init = yes; then
6591 cat >>confdefs.h
<<_ACEOF
6592 #define HAVE_LIBRESOLV 1
6595 LIBS
="-lresolv $LIBS"
6599 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6600 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6601 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6602 echo $ECHO_N "(cached) $ECHO_C" >&6
6604 ac_check_lib_save_LIBS
=$LIBS
6605 LIBS
="-lpthread $LIBS"
6606 cat >conftest.
$ac_ext <<_ACEOF
6609 cat confdefs.h
>>conftest.
$ac_ext
6610 cat >>conftest.
$ac_ext <<_ACEOF
6611 /* end confdefs.h. */
6613 /* Override any gcc2 internal prototype to avoid an error. */
6617 /* We use char because int might match the return type of a gcc2
6618 builtin and then its argument prototype would still apply. */
6619 char pthread_create ();
6628 rm -f conftest.
$ac_objext conftest
$ac_exeext
6629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6630 (eval $ac_link) 2>conftest.er1
6632 grep -v '^ *+' conftest.er1
>conftest.err
6634 cat conftest.err
>&5
6635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6636 (exit $ac_status); } &&
6637 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642 (exit $ac_status); }; } &&
6643 { ac_try
='test -s conftest$ac_exeext'
6644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); }; }; then
6649 ac_cv_lib_pthread_pthread_create
=yes
6651 echo "$as_me: failed program was:" >&5
6652 sed 's/^/| /' conftest.
$ac_ext >&5
6654 ac_cv_lib_pthread_pthread_create
=no
6656 rm -f conftest.err conftest.
$ac_objext \
6657 conftest
$ac_exeext conftest.
$ac_ext
6658 LIBS
=$ac_check_lib_save_LIBS
6660 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6661 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6662 if test $ac_cv_lib_pthread_pthread_create = yes; then
6663 LIBPTHREAD
="-lpthread"
6680 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6681 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6682 if test "${ac_cv_header_stdc+set}" = set; then
6683 echo $ECHO_N "(cached) $ECHO_C" >&6
6685 cat >conftest.
$ac_ext <<_ACEOF
6688 cat confdefs.h
>>conftest.
$ac_ext
6689 cat >>conftest.
$ac_ext <<_ACEOF
6690 /* end confdefs.h. */
6704 rm -f conftest.
$ac_objext
6705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6706 (eval $ac_compile) 2>conftest.er1
6708 grep -v '^ *+' conftest.er1
>conftest.err
6710 cat conftest.err
>&5
6711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6712 (exit $ac_status); } &&
6713 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6718 (exit $ac_status); }; } &&
6719 { ac_try
='test -s conftest.$ac_objext'
6720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6724 (exit $ac_status); }; }; then
6725 ac_cv_header_stdc
=yes
6727 echo "$as_me: failed program was:" >&5
6728 sed 's/^/| /' conftest.
$ac_ext >&5
6730 ac_cv_header_stdc
=no
6732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6734 if test $ac_cv_header_stdc = yes; then
6735 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6736 cat >conftest.
$ac_ext <<_ACEOF
6739 cat confdefs.h
>>conftest.
$ac_ext
6740 cat >>conftest.
$ac_ext <<_ACEOF
6741 /* end confdefs.h. */
6745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6746 $EGREP "memchr" >/dev
/null
2>&1; then
6749 ac_cv_header_stdc
=no
6755 if test $ac_cv_header_stdc = yes; then
6756 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6757 cat >conftest.
$ac_ext <<_ACEOF
6760 cat confdefs.h
>>conftest.
$ac_ext
6761 cat >>conftest.
$ac_ext <<_ACEOF
6762 /* end confdefs.h. */
6766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6767 $EGREP "free" >/dev
/null
2>&1; then
6770 ac_cv_header_stdc
=no
6776 if test $ac_cv_header_stdc = yes; then
6777 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6778 if test "$cross_compiling" = yes; then
6781 cat >conftest.
$ac_ext <<_ACEOF
6784 cat confdefs.h
>>conftest.
$ac_ext
6785 cat >>conftest.
$ac_ext <<_ACEOF
6786 /* end confdefs.h. */
6788 #if ((' ' & 0x0FF) == 0x020)
6789 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6790 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6792 # define ISLOWER(c) \
6793 (('a' <= (c) && (c) <= 'i') \
6794 || ('j' <= (c) && (c) <= 'r') \
6795 || ('s' <= (c) && (c) <= 'z'))
6796 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6799 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6804 for (i = 0; i < 256; i++)
6805 if (XOR (islower (i), ISLOWER (i))
6806 || toupper (i) != TOUPPER (i))
6811 rm -f conftest
$ac_exeext
6812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6813 (eval $ac_link) 2>&5
6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 (exit $ac_status); }; }; then
6824 echo "$as_me: program exited with status $ac_status" >&5
6825 echo "$as_me: failed program was:" >&5
6826 sed 's/^/| /' conftest.
$ac_ext >&5
6829 ac_cv_header_stdc
=no
6831 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6835 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6836 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6837 if test $ac_cv_header_stdc = yes; then
6839 cat >>confdefs.h
<<\_ACEOF
6840 #define STDC_HEADERS 1
6845 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6855 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6856 inttypes.h stdint.h unistd.h
6858 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6859 echo "$as_me:$LINENO: checking for $ac_header" >&5
6860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6862 echo $ECHO_N "(cached) $ECHO_C" >&6
6864 cat >conftest.
$ac_ext <<_ACEOF
6867 cat confdefs.h
>>conftest.
$ac_ext
6868 cat >>conftest.
$ac_ext <<_ACEOF
6869 /* end confdefs.h. */
6870 $ac_includes_default
6872 #include <$ac_header>
6874 rm -f conftest.
$ac_objext
6875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6876 (eval $ac_compile) 2>conftest.er1
6878 grep -v '^ *+' conftest.er1
>conftest.err
6880 cat conftest.err
>&5
6881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6882 (exit $ac_status); } &&
6883 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); }; } &&
6889 { ac_try
='test -s conftest.$ac_objext'
6890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894 (exit $ac_status); }; }; then
6895 eval "$as_ac_Header=yes"
6897 echo "$as_me: failed program was:" >&5
6898 sed 's/^/| /' conftest.
$ac_ext >&5
6900 eval "$as_ac_Header=no"
6902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6906 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6907 cat >>confdefs.h
<<_ACEOF
6908 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7033 fontconfig
/fontconfig.h \
7059 machine
/soundcard.h \
7064 netinet
/in_systm.h \
7127 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7129 echo "$as_me:$LINENO: checking for $ac_header" >&5
7130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7132 echo $ECHO_N "(cached) $ECHO_C" >&6
7134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7135 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7137 # Is the header compilable?
7138 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7139 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7140 cat >conftest.
$ac_ext <<_ACEOF
7143 cat confdefs.h
>>conftest.
$ac_ext
7144 cat >>conftest.
$ac_ext <<_ACEOF
7145 /* end confdefs.h. */
7146 $ac_includes_default
7147 #include <$ac_header>
7149 rm -f conftest.
$ac_objext
7150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7151 (eval $ac_compile) 2>conftest.er1
7153 grep -v '^ *+' conftest.er1
>conftest.err
7155 cat conftest.err
>&5
7156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7157 (exit $ac_status); } &&
7158 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7163 (exit $ac_status); }; } &&
7164 { ac_try
='test -s conftest.$ac_objext'
7165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7169 (exit $ac_status); }; }; then
7170 ac_header_compiler
=yes
7172 echo "$as_me: failed program was:" >&5
7173 sed 's/^/| /' conftest.
$ac_ext >&5
7175 ac_header_compiler
=no
7177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7178 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7179 echo "${ECHO_T}$ac_header_compiler" >&6
7181 # Is the header present?
7182 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7183 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7184 cat >conftest.
$ac_ext <<_ACEOF
7187 cat confdefs.h
>>conftest.
$ac_ext
7188 cat >>conftest.
$ac_ext <<_ACEOF
7189 /* end confdefs.h. */
7190 #include <$ac_header>
7192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7193 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7195 grep -v '^ *+' conftest.er1
>conftest.err
7197 cat conftest.err
>&5
7198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7199 (exit $ac_status); } >/dev
/null
; then
7200 if test -s conftest.err
; then
7201 ac_cpp_err
=$ac_c_preproc_warn_flag
7202 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7209 if test -z "$ac_cpp_err"; then
7210 ac_header_preproc
=yes
7212 echo "$as_me: failed program was:" >&5
7213 sed 's/^/| /' conftest.
$ac_ext >&5
7215 ac_header_preproc
=no
7217 rm -f conftest.err conftest.
$ac_ext
7218 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7219 echo "${ECHO_T}$ac_header_preproc" >&6
7221 # So? What about this header?
7222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7224 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7225 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7227 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7228 ac_header_preproc
=yes
7231 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7232 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7233 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7234 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7235 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7236 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7237 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7238 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7240 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7241 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7242 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7245 ## ------------------------------------ ##
7246 ## Report this to wine-devel@winehq.org ##
7247 ## ------------------------------------ ##
7250 sed "s/^/$as_me: WARNING: /" >&2
7253 echo "$as_me:$LINENO: checking for $ac_header" >&5
7254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7256 echo $ECHO_N "(cached) $ECHO_C" >&6
7258 eval "$as_ac_Header=\$ac_header_preproc"
7260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7264 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7265 cat >>confdefs.h
<<_ACEOF
7266 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7273 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7274 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
7275 if test "${ac_cv_header_stat_broken+set}" = set; then
7276 echo $ECHO_N "(cached) $ECHO_C" >&6
7278 cat >conftest.
$ac_ext <<_ACEOF
7281 cat confdefs.h
>>conftest.
$ac_ext
7282 cat >>conftest.
$ac_ext <<_ACEOF
7283 /* end confdefs.h. */
7284 #include <sys/types.h>
7285 #include <sys/stat.h>
7287 #if defined(S_ISBLK) && defined(S_IFDIR)
7288 # if S_ISBLK (S_IFDIR)
7293 #if defined(S_ISBLK) && defined(S_IFCHR)
7294 # if S_ISBLK (S_IFCHR)
7299 #if defined(S_ISLNK) && defined(S_IFREG)
7300 # if S_ISLNK (S_IFREG)
7305 #if defined(S_ISSOCK) && defined(S_IFREG)
7306 # if S_ISSOCK (S_IFREG)
7312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7313 $EGREP "You lose" >/dev
/null
2>&1; then
7314 ac_cv_header_stat_broken
=yes
7316 ac_cv_header_stat_broken
=no
7321 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7322 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
7323 if test $ac_cv_header_stat_broken = yes; then
7325 cat >>confdefs.h
<<\_ACEOF
7326 #define STAT_MACROS_BROKEN 1
7337 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7339 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7340 echo "$as_me:$LINENO: checking for $ac_header" >&5
7341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7342 if eval "test \"\${$as_ac_Header+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 #if HAVE_SYS_PARAM_H
7353 # include <sys/param.h>
7356 #include <$ac_header>
7358 rm -f conftest.
$ac_objext
7359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7360 (eval $ac_compile) 2>conftest.er1
7362 grep -v '^ *+' conftest.er1
>conftest.err
7364 cat conftest.err
>&5
7365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7366 (exit $ac_status); } &&
7367 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372 (exit $ac_status); }; } &&
7373 { ac_try
='test -s conftest.$ac_objext'
7374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378 (exit $ac_status); }; }; then
7379 eval "$as_ac_Header=yes"
7381 echo "$as_me: failed program was:" >&5
7382 sed 's/^/| /' conftest.
$ac_ext >&5
7384 eval "$as_ac_Header=no"
7386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7389 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7390 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7391 cat >>confdefs.h
<<_ACEOF
7392 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7406 for ac_header
in net
/if.h net
/if_arp.h net
/if_dl.h net
/if_types.h net
/route.h netipx
/ipx.h
7408 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7409 echo "$as_me:$LINENO: checking for $ac_header" >&5
7410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7412 echo $ECHO_N "(cached) $ECHO_C" >&6
7414 cat >conftest.
$ac_ext <<_ACEOF
7417 cat confdefs.h
>>conftest.
$ac_ext
7418 cat >>conftest.
$ac_ext <<_ACEOF
7419 /* end confdefs.h. */
7420 #include <sys/types.h>
7421 #if HAVE_SYS_SOCKET_H
7422 # include <sys/socket.h>
7425 #include <$ac_header>
7427 rm -f conftest.
$ac_objext
7428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7429 (eval $ac_compile) 2>conftest.er1
7431 grep -v '^ *+' conftest.er1
>conftest.err
7433 cat conftest.err
>&5
7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435 (exit $ac_status); } &&
7436 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7441 (exit $ac_status); }; } &&
7442 { ac_try
='test -s conftest.$ac_objext'
7443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); }; }; then
7448 eval "$as_ac_Header=yes"
7450 echo "$as_me: failed program was:" >&5
7451 sed 's/^/| /' conftest.
$ac_ext >&5
7453 eval "$as_ac_Header=no"
7455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7459 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7460 cat >>confdefs.h
<<_ACEOF
7461 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7470 for ac_header
in resolv.h
7472 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7473 echo "$as_me:$LINENO: checking for $ac_header" >&5
7474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7476 echo $ECHO_N "(cached) $ECHO_C" >&6
7478 cat >conftest.
$ac_ext <<_ACEOF
7481 cat confdefs.h
>>conftest.
$ac_ext
7482 cat >>conftest.
$ac_ext <<_ACEOF
7483 /* end confdefs.h. */
7484 #include <sys/types.h>
7485 #if HAVE_SYS_SOCKET_H
7486 # include <sys/socket.h>
7488 #if HAVE_NETINET_IN_H
7489 # include <netinet/in.h>
7491 #if HAVE_ARPA_NAMESER_H
7492 # include <arpa/nameser.h>
7495 #include <$ac_header>
7497 rm -f conftest.
$ac_objext
7498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7499 (eval $ac_compile) 2>conftest.er1
7501 grep -v '^ *+' conftest.er1
>conftest.err
7503 cat conftest.err
>&5
7504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7505 (exit $ac_status); } &&
7506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7511 (exit $ac_status); }; } &&
7512 { ac_try
='test -s conftest.$ac_objext'
7513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); }; }; then
7518 eval "$as_ac_Header=yes"
7520 echo "$as_me: failed program was:" >&5
7521 sed 's/^/| /' conftest.
$ac_ext >&5
7523 eval "$as_ac_Header=no"
7525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7530 cat >>confdefs.h
<<_ACEOF
7531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7540 for ac_header
in ucontext.h
7542 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7543 echo "$as_me:$LINENO: checking for $ac_header" >&5
7544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7546 echo $ECHO_N "(cached) $ECHO_C" >&6
7548 cat >conftest.
$ac_ext <<_ACEOF
7551 cat confdefs.h
>>conftest.
$ac_ext
7552 cat >>conftest.
$ac_ext <<_ACEOF
7553 /* end confdefs.h. */
7556 #include <$ac_header>
7558 rm -f conftest.
$ac_objext
7559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7560 (eval $ac_compile) 2>conftest.er1
7562 grep -v '^ *+' conftest.er1
>conftest.err
7564 cat conftest.err
>&5
7565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566 (exit $ac_status); } &&
7567 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); }; } &&
7573 { ac_try
='test -s conftest.$ac_objext'
7574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); }; }; then
7579 eval "$as_ac_Header=yes"
7581 echo "$as_me: failed program was:" >&5
7582 sed 's/^/| /' conftest.
$ac_ext >&5
7584 eval "$as_ac_Header=no"
7586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7590 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7591 cat >>confdefs.h
<<_ACEOF
7592 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7602 for ac_header
in linux
/ipx.h linux
/videodev.h
7604 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7605 echo "$as_me:$LINENO: checking for $ac_header" >&5
7606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7607 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7608 echo $ECHO_N "(cached) $ECHO_C" >&6
7610 cat >conftest.
$ac_ext <<_ACEOF
7613 cat confdefs.h
>>conftest.
$ac_ext
7614 cat >>conftest.
$ac_ext <<_ACEOF
7615 /* end confdefs.h. */
7616 #ifdef HAVE_SYS_TIME_H
7617 #include <sys/time.h>
7619 #include <sys/types.h>
7620 #ifdef HAVE_ASM_TYPES_H
7621 #include <asm/types.h>
7624 #include <$ac_header>
7626 rm -f conftest.
$ac_objext
7627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7628 (eval $ac_compile) 2>conftest.er1
7630 grep -v '^ *+' conftest.er1
>conftest.err
7632 cat conftest.err
>&5
7633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7634 (exit $ac_status); } &&
7635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); }; } &&
7641 { ac_try
='test -s conftest.$ac_objext'
7642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7646 (exit $ac_status); }; }; then
7647 eval "$as_ac_Header=yes"
7649 echo "$as_me: failed program was:" >&5
7650 sed 's/^/| /' conftest.
$ac_ext >&5
7652 eval "$as_ac_Header=no"
7654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7659 cat >>confdefs.h
<<_ACEOF
7660 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7669 for ac_header
in linux
/capi.h
7671 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7672 echo "$as_me:$LINENO: checking for $ac_header" >&5
7673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7675 echo $ECHO_N "(cached) $ECHO_C" >&6
7677 cat >conftest.
$ac_ext <<_ACEOF
7680 cat confdefs.h
>>conftest.
$ac_ext
7681 cat >>conftest.
$ac_ext <<_ACEOF
7682 /* end confdefs.h. */
7685 #include <$ac_header>
7687 rm -f conftest.
$ac_objext
7688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7689 (eval $ac_compile) 2>conftest.er1
7691 grep -v '^ *+' conftest.er1
>conftest.err
7693 cat conftest.err
>&5
7694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7695 (exit $ac_status); } &&
7696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7701 (exit $ac_status); }; } &&
7702 { ac_try
='test -s conftest.$ac_objext'
7703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7707 (exit $ac_status); }; }; then
7708 eval "$as_ac_Header=yes"
7710 echo "$as_me: failed program was:" >&5
7711 sed 's/^/| /' conftest.
$ac_ext >&5
7713 eval "$as_ac_Header=no"
7715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7720 cat >>confdefs.h
<<_ACEOF
7721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7730 if test "$have_x" = "yes"
7733 ac_save_CPPFLAGS
="$CPPFLAGS"
7734 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7746 for ac_header
in X11
/Xlib.h \
7749 X11
/extensions
/shape.h \
7750 X11
/extensions
/XInput.h \
7751 X11
/extensions
/XShm.h \
7752 X11
/extensions
/Xrandr.h \
7753 X11
/extensions
/Xrender.h \
7754 X11
/extensions
/xf86dga.h \
7755 X11
/extensions
/xf86vmode.h
7757 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7758 echo "$as_me:$LINENO: checking for $ac_header" >&5
7759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7761 echo $ECHO_N "(cached) $ECHO_C" >&6
7763 cat >conftest.
$ac_ext <<_ACEOF
7766 cat confdefs.h
>>conftest.
$ac_ext
7767 cat >>conftest.
$ac_ext <<_ACEOF
7768 /* end confdefs.h. */
7769 #ifdef HAVE_X11_XLIB_H
7770 # include <X11/Xlib.h>
7772 #ifdef HAVE_X11_XUTIL_H
7773 # include <X11/Xutil.h>
7776 #include <$ac_header>
7778 rm -f conftest.
$ac_objext
7779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7780 (eval $ac_compile) 2>conftest.er1
7782 grep -v '^ *+' conftest.er1
>conftest.err
7784 cat conftest.err
>&5
7785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7786 (exit $ac_status); } &&
7787 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7792 (exit $ac_status); }; } &&
7793 { ac_try
='test -s conftest.$ac_objext'
7794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7798 (exit $ac_status); }; }; then
7799 eval "$as_ac_Header=yes"
7801 echo "$as_me: failed program was:" >&5
7802 sed 's/^/| /' conftest.
$ac_ext >&5
7804 eval "$as_ac_Header=no"
7806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7810 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7811 cat >>confdefs.h
<<_ACEOF
7812 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7820 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7822 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7823 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7824 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7825 echo $ECHO_N "(cached) $ECHO_C" >&6
7827 ac_check_lib_save_LIBS
=$LIBS
7828 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7829 cat >conftest.
$ac_ext <<_ACEOF
7832 cat confdefs.h
>>conftest.
$ac_ext
7833 cat >>conftest.
$ac_ext <<_ACEOF
7834 /* end confdefs.h. */
7836 /* Override any gcc2 internal prototype to avoid an error. */
7840 /* We use char because int might match the return type of a gcc2
7841 builtin and then its argument prototype would still apply. */
7842 char XkbQueryExtension ();
7846 XkbQueryExtension ();
7851 rm -f conftest.
$ac_objext conftest
$ac_exeext
7852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7853 (eval $ac_link) 2>conftest.er1
7855 grep -v '^ *+' conftest.er1
>conftest.err
7857 cat conftest.err
>&5
7858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7859 (exit $ac_status); } &&
7860 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865 (exit $ac_status); }; } &&
7866 { ac_try
='test -s conftest$ac_exeext'
7867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7871 (exit $ac_status); }; }; then
7872 ac_cv_lib_X11_XkbQueryExtension
=yes
7874 echo "$as_me: failed program was:" >&5
7875 sed 's/^/| /' conftest.
$ac_ext >&5
7877 ac_cv_lib_X11_XkbQueryExtension
=no
7879 rm -f conftest.err conftest.
$ac_objext \
7880 conftest
$ac_exeext conftest.
$ac_ext
7881 LIBS
=$ac_check_lib_save_LIBS
7883 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7884 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7885 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7887 cat >>confdefs.h
<<\_ACEOF
7895 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7897 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7898 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7899 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7900 echo $ECHO_N "(cached) $ECHO_C" >&6
7902 ac_check_lib_save_LIBS
=$LIBS
7903 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7904 cat >conftest.
$ac_ext <<_ACEOF
7907 cat confdefs.h
>>conftest.
$ac_ext
7908 cat >>conftest.
$ac_ext <<_ACEOF
7909 /* end confdefs.h. */
7911 /* Override any gcc2 internal prototype to avoid an error. */
7915 /* We use char because int might match the return type of a gcc2
7916 builtin and then its argument prototype would still apply. */
7917 char XShmQueryExtension ();
7921 XShmQueryExtension ();
7926 rm -f conftest.
$ac_objext conftest
$ac_exeext
7927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7928 (eval $ac_link) 2>conftest.er1
7930 grep -v '^ *+' conftest.er1
>conftest.err
7932 cat conftest.err
>&5
7933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 (exit $ac_status); } &&
7935 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940 (exit $ac_status); }; } &&
7941 { ac_try
='test -s conftest$ac_exeext'
7942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7946 (exit $ac_status); }; }; then
7947 ac_cv_lib_Xext_XShmQueryExtension
=yes
7949 echo "$as_me: failed program was:" >&5
7950 sed 's/^/| /' conftest.
$ac_ext >&5
7952 ac_cv_lib_Xext_XShmQueryExtension
=no
7954 rm -f conftest.err conftest.
$ac_objext \
7955 conftest
$ac_exeext conftest.
$ac_ext
7956 LIBS
=$ac_check_lib_save_LIBS
7958 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7959 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7960 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7962 cat >>confdefs.h
<<\_ACEOF
7963 #define HAVE_LIBXXSHM 1
7970 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7972 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7973 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7974 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7975 echo $ECHO_N "(cached) $ECHO_C" >&6
7977 ac_check_lib_save_LIBS
=$LIBS
7978 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7979 cat >conftest.
$ac_ext <<_ACEOF
7982 cat confdefs.h
>>conftest.
$ac_ext
7983 cat >>conftest.
$ac_ext <<_ACEOF
7984 /* end confdefs.h. */
7986 /* Override any gcc2 internal prototype to avoid an error. */
7990 /* We use char because int might match the return type of a gcc2
7991 builtin and then its argument prototype would still apply. */
7992 char XShapeQueryExtension ();
7996 XShapeQueryExtension ();
8001 rm -f conftest.
$ac_objext conftest
$ac_exeext
8002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8003 (eval $ac_link) 2>conftest.er1
8005 grep -v '^ *+' conftest.er1
>conftest.err
8007 cat conftest.err
>&5
8008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8009 (exit $ac_status); } &&
8010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015 (exit $ac_status); }; } &&
8016 { ac_try
='test -s conftest$ac_exeext'
8017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8021 (exit $ac_status); }; }; then
8022 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8024 echo "$as_me: failed program was:" >&5
8025 sed 's/^/| /' conftest.
$ac_ext >&5
8027 ac_cv_lib_Xext_XShapeQueryExtension
=no
8029 rm -f conftest.err conftest.
$ac_objext \
8030 conftest
$ac_exeext conftest.
$ac_ext
8031 LIBS
=$ac_check_lib_save_LIBS
8033 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8034 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
8035 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8037 cat >>confdefs.h
<<\_ACEOF
8038 #define HAVE_LIBXSHAPE 1
8045 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
8047 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
8048 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
8049 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
8050 echo $ECHO_N "(cached) $ECHO_C" >&6
8052 ac_check_lib_save_LIBS
=$LIBS
8053 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8054 cat >conftest.
$ac_ext <<_ACEOF
8057 cat confdefs.h
>>conftest.
$ac_ext
8058 cat >>conftest.
$ac_ext <<_ACEOF
8059 /* end confdefs.h. */
8061 /* Override any gcc2 internal prototype to avoid an error. */
8065 /* We use char because int might match the return type of a gcc2
8066 builtin and then its argument prototype would still apply. */
8067 char XDGAQueryExtension ();
8071 XDGAQueryExtension ();
8076 rm -f conftest.
$ac_objext conftest
$ac_exeext
8077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8078 (eval $ac_link) 2>conftest.er1
8080 grep -v '^ *+' conftest.er1
>conftest.err
8082 cat conftest.err
>&5
8083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8084 (exit $ac_status); } &&
8085 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8090 (exit $ac_status); }; } &&
8091 { ac_try
='test -s conftest$ac_exeext'
8092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096 (exit $ac_status); }; }; then
8097 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
8099 echo "$as_me: failed program was:" >&5
8100 sed 's/^/| /' conftest.
$ac_ext >&5
8102 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
8104 rm -f conftest.err conftest.
$ac_objext \
8105 conftest
$ac_exeext conftest.
$ac_ext
8106 LIBS
=$ac_check_lib_save_LIBS
8108 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
8109 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
8110 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
8112 cat >>confdefs.h
<<\_ACEOF
8113 #define HAVE_LIBXXF86DGA2 1
8116 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
8122 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8124 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8125 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
8126 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8127 echo $ECHO_N "(cached) $ECHO_C" >&6
8129 ac_check_lib_save_LIBS
=$LIBS
8130 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8131 cat >conftest.
$ac_ext <<_ACEOF
8134 cat confdefs.h
>>conftest.
$ac_ext
8135 cat >>conftest.
$ac_ext <<_ACEOF
8136 /* end confdefs.h. */
8138 /* Override any gcc2 internal prototype to avoid an error. */
8142 /* We use char because int might match the return type of a gcc2
8143 builtin and then its argument prototype would still apply. */
8144 char XF86VidModeQueryExtension ();
8148 XF86VidModeQueryExtension ();
8153 rm -f conftest.
$ac_objext conftest
$ac_exeext
8154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8155 (eval $ac_link) 2>conftest.er1
8157 grep -v '^ *+' conftest.er1
>conftest.err
8159 cat conftest.err
>&5
8160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161 (exit $ac_status); } &&
8162 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8167 (exit $ac_status); }; } &&
8168 { ac_try
='test -s conftest$ac_exeext'
8169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8173 (exit $ac_status); }; }; then
8174 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
8176 echo "$as_me: failed program was:" >&5
8177 sed 's/^/| /' conftest.
$ac_ext >&5
8179 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
8181 rm -f conftest.err conftest.
$ac_objext \
8182 conftest
$ac_exeext conftest.
$ac_ext
8183 LIBS
=$ac_check_lib_save_LIBS
8185 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8186 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
8187 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8189 cat >>confdefs.h
<<\_ACEOF
8190 #define HAVE_LIBXXF86VM 1
8193 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
8199 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8201 cat >conftest.
$ac_ext <<_ACEOF
8204 cat confdefs.h
>>conftest.
$ac_ext
8205 cat >>conftest.
$ac_ext <<_ACEOF
8206 /* end confdefs.h. */
8207 #include <X11/Xlib.h>
8208 #include <X11/extensions/Xrandr.h>
8212 static typeof(XRRSetScreenConfigAndRate) * func;
8217 rm -f conftest.
$ac_objext
8218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8219 (eval $ac_compile) 2>conftest.er1
8221 grep -v '^ *+' conftest.er1
>conftest.err
8223 cat conftest.err
>&5
8224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 (exit $ac_status); } &&
8226 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8231 (exit $ac_status); }; } &&
8232 { ac_try
='test -s conftest.$ac_objext'
8233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8237 (exit $ac_status); }; }; then
8239 cat >>confdefs.h
<<\_ACEOF
8240 #define HAVE_LIBXRANDR 1
8244 echo "$as_me: failed program was:" >&5
8245 sed 's/^/| /' conftest.
$ac_ext >&5
8248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8251 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8253 echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8254 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6
8255 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8256 echo $ECHO_N "(cached) $ECHO_C" >&6
8258 ac_check_lib_save_LIBS
=$LIBS
8259 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8260 cat >conftest.
$ac_ext <<_ACEOF
8263 cat confdefs.h
>>conftest.
$ac_ext
8264 cat >>conftest.
$ac_ext <<_ACEOF
8265 /* end confdefs.h. */
8267 /* Override any gcc2 internal prototype to avoid an error. */
8271 /* We use char because int might match the return type of a gcc2
8272 builtin and then its argument prototype would still apply. */
8273 char XRenderSetPictureTransform ();
8277 XRenderSetPictureTransform ();
8282 rm -f conftest.
$ac_objext conftest
$ac_exeext
8283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8284 (eval $ac_link) 2>conftest.er1
8286 grep -v '^ *+' conftest.er1
>conftest.err
8288 cat conftest.err
>&5
8289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8290 (exit $ac_status); } &&
8291 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8296 (exit $ac_status); }; } &&
8297 { ac_try
='test -s conftest$ac_exeext'
8298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8302 (exit $ac_status); }; }; then
8303 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8305 echo "$as_me: failed program was:" >&5
8306 sed 's/^/| /' conftest.
$ac_ext >&5
8308 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8310 rm -f conftest.err conftest.
$ac_objext \
8311 conftest
$ac_exeext conftest.
$ac_ext
8312 LIBS
=$ac_check_lib_save_LIBS
8314 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8315 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6
8316 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8318 cat >>confdefs.h
<<\_ACEOF
8319 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8326 if test "x$with_opengl" != "xno"
8332 for ac_header
in GL
/gl.h GL
/glx.h GL
/glext.h GL
/glu.h
8334 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8335 echo "$as_me:$LINENO: checking for $ac_header" >&5
8336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8338 echo $ECHO_N "(cached) $ECHO_C" >&6
8340 cat >conftest.
$ac_ext <<_ACEOF
8343 cat confdefs.h
>>conftest.
$ac_ext
8344 cat >>conftest.
$ac_ext <<_ACEOF
8345 /* end confdefs.h. */
8346 #ifdef HAVE_GL_GLX_H
8347 # include <GL/glx.h>
8350 #include <$ac_header>
8352 rm -f conftest.
$ac_objext
8353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8354 (eval $ac_compile) 2>conftest.er1
8356 grep -v '^ *+' conftest.er1
>conftest.err
8358 cat conftest.err
>&5
8359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8360 (exit $ac_status); } &&
8361 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8366 (exit $ac_status); }; } &&
8367 { ac_try
='test -s conftest.$ac_objext'
8368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8372 (exit $ac_status); }; }; then
8373 eval "$as_ac_Header=yes"
8375 echo "$as_me: failed program was:" >&5
8376 sed 's/^/| /' conftest.
$ac_ext >&5
8378 eval "$as_ac_Header=no"
8380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8383 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8384 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8385 cat >>confdefs.h
<<_ACEOF
8386 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8393 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8395 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8396 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8397 if test "${wine_cv_opengl_version_OK+set}" = set; then
8398 echo $ECHO_N "(cached) $ECHO_C" >&6
8400 cat >conftest.
$ac_ext <<_ACEOF
8403 cat confdefs.h
>>conftest.
$ac_ext
8404 cat >>conftest.
$ac_ext <<_ACEOF
8405 /* end confdefs.h. */
8410 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8415 rm -f conftest.
$ac_objext
8416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8417 (eval $ac_compile) 2>conftest.er1
8419 grep -v '^ *+' conftest.er1
>conftest.err
8421 cat conftest.err
>&5
8422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8423 (exit $ac_status); } &&
8424 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); }; } &&
8430 { ac_try
='test -s conftest.$ac_objext'
8431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435 (exit $ac_status); }; }; then
8436 wine_cv_opengl_version_OK
="yes"
8438 echo "$as_me: failed program was:" >&5
8439 sed 's/^/| /' conftest.
$ac_ext >&5
8441 wine_cv_opengl_version_OK
="no"
8444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8447 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8448 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8450 if test "$wine_cv_opengl_version_OK" = "yes"
8452 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8453 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8454 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8455 echo $ECHO_N "(cached) $ECHO_C" >&6
8457 ac_check_lib_save_LIBS
=$LIBS
8458 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8459 cat >conftest.
$ac_ext <<_ACEOF
8462 cat confdefs.h
>>conftest.
$ac_ext
8463 cat >>conftest.
$ac_ext <<_ACEOF
8464 /* end confdefs.h. */
8466 /* Override any gcc2 internal prototype to avoid an error. */
8470 /* We use char because int might match the return type of a gcc2
8471 builtin and then its argument prototype would still apply. */
8472 char glXCreateContext ();
8476 glXCreateContext ();
8481 rm -f conftest.
$ac_objext conftest
$ac_exeext
8482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8483 (eval $ac_link) 2>conftest.er1
8485 grep -v '^ *+' conftest.er1
>conftest.err
8487 cat conftest.err
>&5
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 (exit $ac_status); } &&
8490 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495 (exit $ac_status); }; } &&
8496 { ac_try
='test -s conftest$ac_exeext'
8497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501 (exit $ac_status); }; }; then
8502 ac_cv_lib_GL_glXCreateContext
=yes
8504 echo "$as_me: failed program was:" >&5
8505 sed 's/^/| /' conftest.
$ac_ext >&5
8507 ac_cv_lib_GL_glXCreateContext
=no
8509 rm -f conftest.err conftest.
$ac_objext \
8510 conftest
$ac_exeext conftest.
$ac_ext
8511 LIBS
=$ac_check_lib_save_LIBS
8513 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8514 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8515 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8521 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8523 OPENGLFILES
='$(OPENGLFILES)'
8525 cat >>confdefs.h
<<\_ACEOF
8526 #define HAVE_OPENGL 1
8530 if test -f /usr
/X11R
6/lib
/libGL.a
8532 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8533 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8534 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8535 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8536 { (exit 1); exit 1; }; }
8540 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8541 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8542 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8543 echo $ECHO_N "(cached) $ECHO_C" >&6
8545 ac_check_lib_save_LIBS
=$LIBS
8546 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8548 cat >conftest.
$ac_ext <<_ACEOF
8551 cat confdefs.h
>>conftest.
$ac_ext
8552 cat >>conftest.
$ac_ext <<_ACEOF
8553 /* end confdefs.h. */
8555 /* Override any gcc2 internal prototype to avoid an error. */
8559 /* We use char because int might match the return type of a gcc2
8560 builtin and then its argument prototype would still apply. */
8570 rm -f conftest.
$ac_objext conftest
$ac_exeext
8571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8572 (eval $ac_link) 2>conftest.er1
8574 grep -v '^ *+' conftest.er1
>conftest.err
8576 cat conftest.err
>&5
8577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578 (exit $ac_status); } &&
8579 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8584 (exit $ac_status); }; } &&
8585 { ac_try
='test -s conftest$ac_exeext'
8586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590 (exit $ac_status); }; }; then
8591 ac_cv_lib_GLU_gluLookAt
=yes
8593 echo "$as_me: failed program was:" >&5
8594 sed 's/^/| /' conftest.
$ac_ext >&5
8596 ac_cv_lib_GLU_gluLookAt
=no
8598 rm -f conftest.err conftest.
$ac_objext \
8599 conftest
$ac_exeext conftest.
$ac_ext
8600 LIBS
=$ac_check_lib_save_LIBS
8602 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8603 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8604 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8605 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
8606 GLU32FILES
='$(GLU32FILES)'
8612 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8613 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8614 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8615 echo $ECHO_N "(cached) $ECHO_C" >&6
8617 ac_check_lib_save_LIBS
=$LIBS
8618 LIBS
="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8619 cat >conftest.
$ac_ext <<_ACEOF
8622 cat confdefs.h
>>conftest.
$ac_ext
8623 cat >>conftest.
$ac_ext <<_ACEOF
8624 /* end confdefs.h. */
8626 /* Override any gcc2 internal prototype to avoid an error. */
8630 /* We use char because int might match the return type of a gcc2
8631 builtin and then its argument prototype would still apply. */
8632 char glutMainLoop ();
8641 rm -f conftest.
$ac_objext conftest
$ac_exeext
8642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8643 (eval $ac_link) 2>conftest.er1
8645 grep -v '^ *+' conftest.er1
>conftest.err
8647 cat conftest.err
>&5
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 (exit $ac_status); } &&
8650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 (exit $ac_status); }; } &&
8656 { ac_try
='test -s conftest$ac_exeext'
8657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661 (exit $ac_status); }; }; then
8662 ac_cv_lib_glut_glutMainLoop
=yes
8664 echo "$as_me: failed program was:" >&5
8665 sed 's/^/| /' conftest.
$ac_ext >&5
8667 ac_cv_lib_glut_glutMainLoop
=no
8669 rm -f conftest.err conftest.
$ac_objext \
8670 conftest
$ac_exeext conftest.
$ac_ext
8671 LIBS
=$ac_check_lib_save_LIBS
8673 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
8674 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
8675 if test $ac_cv_lib_glut_glutMainLoop = yes; then
8676 GLUT_LIBS
="-lglut -lXmu -lXi"
8678 GLUT32FILES
='$(GLUT32FILES)'
8688 for ac_header
in audio
/audiolib.h
8690 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8692 echo "$as_me:$LINENO: checking for $ac_header" >&5
8693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8695 echo $ECHO_N "(cached) $ECHO_C" >&6
8697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8700 # Is the header compilable?
8701 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8702 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8703 cat >conftest.
$ac_ext <<_ACEOF
8706 cat confdefs.h
>>conftest.
$ac_ext
8707 cat >>conftest.
$ac_ext <<_ACEOF
8708 /* end confdefs.h. */
8709 $ac_includes_default
8710 #include <$ac_header>
8712 rm -f conftest.
$ac_objext
8713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8714 (eval $ac_compile) 2>conftest.er1
8716 grep -v '^ *+' conftest.er1
>conftest.err
8718 cat conftest.err
>&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); } &&
8721 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); }; } &&
8727 { ac_try
='test -s conftest.$ac_objext'
8728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); }; }; then
8733 ac_header_compiler
=yes
8735 echo "$as_me: failed program was:" >&5
8736 sed 's/^/| /' conftest.
$ac_ext >&5
8738 ac_header_compiler
=no
8740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8741 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8742 echo "${ECHO_T}$ac_header_compiler" >&6
8744 # Is the header present?
8745 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8746 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8747 cat >conftest.
$ac_ext <<_ACEOF
8750 cat confdefs.h
>>conftest.
$ac_ext
8751 cat >>conftest.
$ac_ext <<_ACEOF
8752 /* end confdefs.h. */
8753 #include <$ac_header>
8755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8756 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8758 grep -v '^ *+' conftest.er1
>conftest.err
8760 cat conftest.err
>&5
8761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8762 (exit $ac_status); } >/dev
/null
; then
8763 if test -s conftest.err
; then
8764 ac_cpp_err
=$ac_c_preproc_warn_flag
8765 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8772 if test -z "$ac_cpp_err"; then
8773 ac_header_preproc
=yes
8775 echo "$as_me: failed program was:" >&5
8776 sed 's/^/| /' conftest.
$ac_ext >&5
8778 ac_header_preproc
=no
8780 rm -f conftest.err conftest.
$ac_ext
8781 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8782 echo "${ECHO_T}$ac_header_preproc" >&6
8784 # So? What about this header?
8785 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8787 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8788 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8789 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8790 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8791 ac_header_preproc
=yes
8794 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8795 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8796 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8797 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8798 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8799 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8800 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8801 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8802 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8803 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8804 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8805 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8808 ## ------------------------------------ ##
8809 ## Report this to wine-devel@winehq.org ##
8810 ## ------------------------------------ ##
8813 sed "s/^/$as_me: WARNING: /" >&2
8816 echo "$as_me:$LINENO: checking for $ac_header" >&5
8817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8819 echo $ECHO_N "(cached) $ECHO_C" >&6
8821 eval "$as_ac_Header=\$ac_header_preproc"
8823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8828 cat >>confdefs.h
<<_ACEOF
8829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8832 for ac_header
in audio
/soundlib.h
8834 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8835 echo "$as_me:$LINENO: checking for $ac_header" >&5
8836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8838 echo $ECHO_N "(cached) $ECHO_C" >&6
8840 cat >conftest.
$ac_ext <<_ACEOF
8843 cat confdefs.h
>>conftest.
$ac_ext
8844 cat >>conftest.
$ac_ext <<_ACEOF
8845 /* end confdefs.h. */
8846 #include <audio/audiolib.h>
8848 #include <$ac_header>
8850 rm -f conftest.
$ac_objext
8851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8852 (eval $ac_compile) 2>conftest.er1
8854 grep -v '^ *+' conftest.er1
>conftest.err
8856 cat conftest.err
>&5
8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); } &&
8859 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 (exit $ac_status); }; } &&
8865 { ac_try
='test -s conftest.$ac_objext'
8866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8870 (exit $ac_status); }; }; then
8871 eval "$as_ac_Header=yes"
8873 echo "$as_me: failed program was:" >&5
8874 sed 's/^/| /' conftest.
$ac_ext >&5
8876 eval "$as_ac_Header=no"
8878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8883 cat >>confdefs.h
<<_ACEOF
8884 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8891 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8892 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8893 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8894 echo $ECHO_N "(cached) $ECHO_C" >&6
8896 ac_check_lib_save_LIBS
=$LIBS
8897 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8898 cat >conftest.
$ac_ext <<_ACEOF
8901 cat confdefs.h
>>conftest.
$ac_ext
8902 cat >>conftest.
$ac_ext <<_ACEOF
8903 /* end confdefs.h. */
8905 /* Override any gcc2 internal prototype to avoid an error. */
8909 /* We use char because int might match the return type of a gcc2
8910 builtin and then its argument prototype would still apply. */
8911 char AuCreateFlow ();
8920 rm -f conftest.
$ac_objext conftest
$ac_exeext
8921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8922 (eval $ac_link) 2>conftest.er1
8924 grep -v '^ *+' conftest.er1
>conftest.err
8926 cat conftest.err
>&5
8927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928 (exit $ac_status); } &&
8929 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8934 (exit $ac_status); }; } &&
8935 { ac_try
='test -s conftest$ac_exeext'
8936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8940 (exit $ac_status); }; }; then
8941 ac_cv_lib_audio_AuCreateFlow
=yes
8943 echo "$as_me: failed program was:" >&5
8944 sed 's/^/| /' conftest.
$ac_ext >&5
8946 ac_cv_lib_audio_AuCreateFlow
=no
8948 rm -f conftest.err conftest.
$ac_objext \
8949 conftest
$ac_exeext conftest.
$ac_ext
8950 LIBS
=$ac_check_lib_save_LIBS
8952 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8953 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8954 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8956 cat >>confdefs.h
<<\_ACEOF
8960 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8968 CPPFLAGS
="$ac_save_CPPFLAGS"
8985 if test "$PKG_CONFIG" != "false"
8987 ac_save_CPPFLAGS
="$CPPFLAGS"
8988 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0`"
8989 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0`"
8990 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
8992 for ac_header
in libxml
/parser.h
8994 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8996 echo "$as_me:$LINENO: checking for $ac_header" >&5
8997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8999 echo $ECHO_N "(cached) $ECHO_C" >&6
9001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9004 # Is the header compilable?
9005 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9006 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9007 cat >conftest.
$ac_ext <<_ACEOF
9010 cat confdefs.h
>>conftest.
$ac_ext
9011 cat >>conftest.
$ac_ext <<_ACEOF
9012 /* end confdefs.h. */
9013 $ac_includes_default
9014 #include <$ac_header>
9016 rm -f conftest.
$ac_objext
9017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9018 (eval $ac_compile) 2>conftest.er1
9020 grep -v '^ *+' conftest.er1
>conftest.err
9022 cat conftest.err
>&5
9023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9024 (exit $ac_status); } &&
9025 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 (exit $ac_status); }; } &&
9031 { ac_try
='test -s conftest.$ac_objext'
9032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036 (exit $ac_status); }; }; then
9037 ac_header_compiler
=yes
9039 echo "$as_me: failed program was:" >&5
9040 sed 's/^/| /' conftest.
$ac_ext >&5
9042 ac_header_compiler
=no
9044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9045 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9046 echo "${ECHO_T}$ac_header_compiler" >&6
9048 # Is the header present?
9049 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9050 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9051 cat >conftest.
$ac_ext <<_ACEOF
9054 cat confdefs.h
>>conftest.
$ac_ext
9055 cat >>conftest.
$ac_ext <<_ACEOF
9056 /* end confdefs.h. */
9057 #include <$ac_header>
9059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9060 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9062 grep -v '^ *+' conftest.er1
>conftest.err
9064 cat conftest.err
>&5
9065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9066 (exit $ac_status); } >/dev
/null
; then
9067 if test -s conftest.err
; then
9068 ac_cpp_err
=$ac_c_preproc_warn_flag
9069 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9076 if test -z "$ac_cpp_err"; then
9077 ac_header_preproc
=yes
9079 echo "$as_me: failed program was:" >&5
9080 sed 's/^/| /' conftest.
$ac_ext >&5
9082 ac_header_preproc
=no
9084 rm -f conftest.err conftest.
$ac_ext
9085 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9086 echo "${ECHO_T}$ac_header_preproc" >&6
9088 # So? What about this header?
9089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9091 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9092 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9094 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9095 ac_header_preproc
=yes
9098 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9099 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9100 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9101 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9102 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9103 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9104 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9105 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9106 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9107 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9108 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9109 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9112 ## ------------------------------------ ##
9113 ## Report this to wine-devel@winehq.org ##
9114 ## ------------------------------------ ##
9117 sed "s/^/$as_me: WARNING: /" >&2
9120 echo "$as_me:$LINENO: checking for $ac_header" >&5
9121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9123 echo $ECHO_N "(cached) $ECHO_C" >&6
9125 eval "$as_ac_Header=\$ac_header_preproc"
9127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9131 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9132 cat >>confdefs.h
<<_ACEOF
9133 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9135 echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
9136 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6
9137 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
9138 echo $ECHO_N "(cached) $ECHO_C" >&6
9140 ac_check_lib_save_LIBS
=$LIBS
9141 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9142 cat >conftest.
$ac_ext <<_ACEOF
9145 cat confdefs.h
>>conftest.
$ac_ext
9146 cat >>conftest.
$ac_ext <<_ACEOF
9147 /* end confdefs.h. */
9149 /* Override any gcc2 internal prototype to avoid an error. */
9153 /* We use char because int might match the return type of a gcc2
9154 builtin and then its argument prototype would still apply. */
9155 char xmlParseMemory ();
9164 rm -f conftest.
$ac_objext conftest
$ac_exeext
9165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9166 (eval $ac_link) 2>conftest.er1
9168 grep -v '^ *+' conftest.er1
>conftest.err
9170 cat conftest.err
>&5
9171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9172 (exit $ac_status); } &&
9173 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9178 (exit $ac_status); }; } &&
9179 { ac_try
='test -s conftest$ac_exeext'
9180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9184 (exit $ac_status); }; }; then
9185 ac_cv_lib_xml2_xmlParseMemory
=yes
9187 echo "$as_me: failed program was:" >&5
9188 sed 's/^/| /' conftest.
$ac_ext >&5
9190 ac_cv_lib_xml2_xmlParseMemory
=no
9192 rm -f conftest.err conftest.
$ac_objext \
9193 conftest
$ac_exeext conftest.
$ac_ext
9194 LIBS
=$ac_check_lib_save_LIBS
9196 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9197 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6
9198 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9200 cat >>confdefs.h
<<\_ACEOF
9201 #define HAVE_LIBXML2 1
9204 XML2LIBS
="$ac_xml_libs"
9205 XML2INCL
="$ac_xml_cflags"
9208 echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
9209 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6
9210 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
9211 echo $ECHO_N "(cached) $ECHO_C" >&6
9213 ac_check_lib_save_LIBS
=$LIBS
9214 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9215 cat >conftest.
$ac_ext <<_ACEOF
9218 cat confdefs.h
>>conftest.
$ac_ext
9219 cat >>conftest.
$ac_ext <<_ACEOF
9220 /* end confdefs.h. */
9222 /* Override any gcc2 internal prototype to avoid an error. */
9226 /* We use char because int might match the return type of a gcc2
9227 builtin and then its argument prototype would still apply. */
9228 char xmlReadMemory ();
9237 rm -f conftest.
$ac_objext conftest
$ac_exeext
9238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9239 (eval $ac_link) 2>conftest.er1
9241 grep -v '^ *+' conftest.er1
>conftest.err
9243 cat conftest.err
>&5
9244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9245 (exit $ac_status); } &&
9246 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9251 (exit $ac_status); }; } &&
9252 { ac_try
='test -s conftest$ac_exeext'
9253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9257 (exit $ac_status); }; }; then
9258 ac_cv_lib_xml2_xmlReadMemory
=yes
9260 echo "$as_me: failed program was:" >&5
9261 sed 's/^/| /' conftest.
$ac_ext >&5
9263 ac_cv_lib_xml2_xmlReadMemory
=no
9265 rm -f conftest.err conftest.
$ac_objext \
9266 conftest
$ac_exeext conftest.
$ac_ext
9267 LIBS
=$ac_check_lib_save_LIBS
9269 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9270 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6
9271 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9273 cat >>confdefs.h
<<\_ACEOF
9274 #define HAVE_XMLREADMEMORY 1
9284 CPPFLAGS
="$ac_save_CPPFLAGS"
9285 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt`"
9286 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt`"
9287 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
9290 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9292 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9293 echo "$as_me:$LINENO: checking for $ac_header" >&5
9294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9296 echo $ECHO_N "(cached) $ECHO_C" >&6
9298 cat >conftest.
$ac_ext <<_ACEOF
9301 cat confdefs.h
>>conftest.
$ac_ext
9302 cat >>conftest.
$ac_ext <<_ACEOF
9303 /* end confdefs.h. */
9304 #ifdef HAVE_LIBXSLT_PATTERN_H
9305 # include <libxslt/pattern.h>
9308 #include <$ac_header>
9310 rm -f conftest.
$ac_objext
9311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9312 (eval $ac_compile) 2>conftest.er1
9314 grep -v '^ *+' conftest.er1
>conftest.err
9316 cat conftest.err
>&5
9317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318 (exit $ac_status); } &&
9319 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9324 (exit $ac_status); }; } &&
9325 { ac_try
='test -s conftest.$ac_objext'
9326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330 (exit $ac_status); }; }; then
9331 eval "$as_ac_Header=yes"
9333 echo "$as_me: failed program was:" >&5
9334 sed 's/^/| /' conftest.
$ac_ext >&5
9336 eval "$as_ac_Header=no"
9338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9343 cat >>confdefs.h
<<_ACEOF
9344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9346 echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9347 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6
9348 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9349 echo $ECHO_N "(cached) $ECHO_C" >&6
9351 ac_check_lib_save_LIBS
=$LIBS
9352 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9353 cat >conftest.
$ac_ext <<_ACEOF
9356 cat confdefs.h
>>conftest.
$ac_ext
9357 cat >>conftest.
$ac_ext <<_ACEOF
9358 /* end confdefs.h. */
9360 /* Override any gcc2 internal prototype to avoid an error. */
9364 /* We use char because int might match the return type of a gcc2
9365 builtin and then its argument prototype would still apply. */
9366 char xsltCompilePattern ();
9370 xsltCompilePattern ();
9375 rm -f conftest.
$ac_objext conftest
$ac_exeext
9376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9377 (eval $ac_link) 2>conftest.er1
9379 grep -v '^ *+' conftest.er1
>conftest.err
9381 cat conftest.err
>&5
9382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9383 (exit $ac_status); } &&
9384 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389 (exit $ac_status); }; } &&
9390 { ac_try
='test -s conftest$ac_exeext'
9391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9395 (exit $ac_status); }; }; then
9396 ac_cv_lib_xslt_xsltCompilePattern
=yes
9398 echo "$as_me: failed program was:" >&5
9399 sed 's/^/| /' conftest.
$ac_ext >&5
9401 ac_cv_lib_xslt_xsltCompilePattern
=no
9403 rm -f conftest.err conftest.
$ac_objext \
9404 conftest
$ac_exeext conftest.
$ac_ext
9405 LIBS
=$ac_check_lib_save_LIBS
9407 echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9408 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6
9409 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9411 cat >>confdefs.h
<<\_ACEOF
9412 #define HAVE_LIBXSLT 1
9415 XSLTLIBS
="$ac_xslt_libs"
9416 XSLTINCL
="$ac_xslt_cflags"
9424 CPPFLAGS
="$ac_save_CPPFLAGS"
9429 if test "$PKG_CONFIG" != "false"
9431 ac_save_CPPFLAGS
="$CPPFLAGS"
9432 ac_hal_libs
="`$PKG_CONFIG --libs hal`"
9433 ac_hal_cflags
="`$PKG_CONFIG --cflags hal`"
9434 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
9437 for ac_header
in dbus
/dbus.h hal
/libhal.h
9439 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9441 echo "$as_me:$LINENO: checking for $ac_header" >&5
9442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9444 echo $ECHO_N "(cached) $ECHO_C" >&6
9446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9449 # Is the header compilable?
9450 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9451 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9452 cat >conftest.
$ac_ext <<_ACEOF
9455 cat confdefs.h
>>conftest.
$ac_ext
9456 cat >>conftest.
$ac_ext <<_ACEOF
9457 /* end confdefs.h. */
9458 $ac_includes_default
9459 #include <$ac_header>
9461 rm -f conftest.
$ac_objext
9462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9463 (eval $ac_compile) 2>conftest.er1
9465 grep -v '^ *+' conftest.er1
>conftest.err
9467 cat conftest.err
>&5
9468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 (exit $ac_status); } &&
9470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9475 (exit $ac_status); }; } &&
9476 { ac_try
='test -s conftest.$ac_objext'
9477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9481 (exit $ac_status); }; }; then
9482 ac_header_compiler
=yes
9484 echo "$as_me: failed program was:" >&5
9485 sed 's/^/| /' conftest.
$ac_ext >&5
9487 ac_header_compiler
=no
9489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9490 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9491 echo "${ECHO_T}$ac_header_compiler" >&6
9493 # Is the header present?
9494 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9495 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9496 cat >conftest.
$ac_ext <<_ACEOF
9499 cat confdefs.h
>>conftest.
$ac_ext
9500 cat >>conftest.
$ac_ext <<_ACEOF
9501 /* end confdefs.h. */
9502 #include <$ac_header>
9504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9505 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9507 grep -v '^ *+' conftest.er1
>conftest.err
9509 cat conftest.err
>&5
9510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9511 (exit $ac_status); } >/dev
/null
; then
9512 if test -s conftest.err
; then
9513 ac_cpp_err
=$ac_c_preproc_warn_flag
9514 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9521 if test -z "$ac_cpp_err"; then
9522 ac_header_preproc
=yes
9524 echo "$as_me: failed program was:" >&5
9525 sed 's/^/| /' conftest.
$ac_ext >&5
9527 ac_header_preproc
=no
9529 rm -f conftest.err conftest.
$ac_ext
9530 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9531 echo "${ECHO_T}$ac_header_preproc" >&6
9533 # So? What about this header?
9534 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9536 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9537 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9539 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9540 ac_header_preproc
=yes
9543 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9544 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9545 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9546 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9547 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9548 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9549 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9550 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9552 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9553 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9554 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9557 ## ------------------------------------ ##
9558 ## Report this to wine-devel@winehq.org ##
9559 ## ------------------------------------ ##
9562 sed "s/^/$as_me: WARNING: /" >&2
9565 echo "$as_me:$LINENO: checking for $ac_header" >&5
9566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9568 echo $ECHO_N "(cached) $ECHO_C" >&6
9570 eval "$as_ac_Header=\$ac_header_preproc"
9572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9577 cat >>confdefs.h
<<_ACEOF
9578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9585 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9587 echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9588 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6
9589 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9590 echo $ECHO_N "(cached) $ECHO_C" >&6
9592 ac_check_lib_save_LIBS
=$LIBS
9594 cat >conftest.
$ac_ext <<_ACEOF
9597 cat confdefs.h
>>conftest.
$ac_ext
9598 cat >>conftest.
$ac_ext <<_ACEOF
9599 /* end confdefs.h. */
9601 /* Override any gcc2 internal prototype to avoid an error. */
9605 /* We use char because int might match the return type of a gcc2
9606 builtin and then its argument prototype would still apply. */
9607 char libhal_ctx_new ();
9616 rm -f conftest.
$ac_objext conftest
$ac_exeext
9617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9618 (eval $ac_link) 2>conftest.er1
9620 grep -v '^ *+' conftest.er1
>conftest.err
9622 cat conftest.err
>&5
9623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9624 (exit $ac_status); } &&
9625 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9630 (exit $ac_status); }; } &&
9631 { ac_try
='test -s conftest$ac_exeext'
9632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9636 (exit $ac_status); }; }; then
9637 ac_cv_lib_hal_libhal_ctx_new
=yes
9639 echo "$as_me: failed program was:" >&5
9640 sed 's/^/| /' conftest.
$ac_ext >&5
9642 ac_cv_lib_hal_libhal_ctx_new
=no
9644 rm -f conftest.err conftest.
$ac_objext \
9645 conftest
$ac_exeext conftest.
$ac_ext
9646 LIBS
=$ac_check_lib_save_LIBS
9648 echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9649 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6
9650 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9651 echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9652 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6
9653 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9654 echo $ECHO_N "(cached) $ECHO_C" >&6
9656 ac_check_lib_save_LIBS
=$LIBS
9657 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
9658 cat >conftest.
$ac_ext <<_ACEOF
9661 cat confdefs.h
>>conftest.
$ac_ext
9662 cat >>conftest.
$ac_ext <<_ACEOF
9663 /* end confdefs.h. */
9665 /* Override any gcc2 internal prototype to avoid an error. */
9669 /* We use char because int might match the return type of a gcc2
9670 builtin and then its argument prototype would still apply. */
9671 char dbus_connection_close ();
9675 dbus_connection_close ();
9680 rm -f conftest.
$ac_objext conftest
$ac_exeext
9681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9682 (eval $ac_link) 2>conftest.er1
9684 grep -v '^ *+' conftest.er1
>conftest.err
9686 cat conftest.err
>&5
9687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9688 (exit $ac_status); } &&
9689 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694 (exit $ac_status); }; } &&
9695 { ac_try
='test -s conftest$ac_exeext'
9696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9700 (exit $ac_status); }; }; then
9701 ac_cv_lib_dbus_1_dbus_connection_close
=yes
9703 echo "$as_me: failed program was:" >&5
9704 sed 's/^/| /' conftest.
$ac_ext >&5
9706 ac_cv_lib_dbus_1_dbus_connection_close
=no
9708 rm -f conftest.err conftest.
$ac_objext \
9709 conftest
$ac_exeext conftest.
$ac_ext
9710 LIBS
=$ac_check_lib_save_LIBS
9712 echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9713 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6
9714 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9716 cat >>confdefs.h
<<\_ACEOF
9717 #define HAVE_LIBHAL 1
9720 HALINCL
="$ac_hal_cflags"
9726 CPPFLAGS
="$ac_save_CPPFLAGS"
9730 if test "x$with_curses" != "xno"
9732 if test "$ac_cv_header_ncurses_h" = "yes"
9734 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9735 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9736 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9737 echo $ECHO_N "(cached) $ECHO_C" >&6
9739 ac_check_lib_save_LIBS
=$LIBS
9740 LIBS
="-lncurses $LIBS"
9741 cat >conftest.
$ac_ext <<_ACEOF
9744 cat confdefs.h
>>conftest.
$ac_ext
9745 cat >>conftest.
$ac_ext <<_ACEOF
9746 /* end confdefs.h. */
9748 /* Override any gcc2 internal prototype to avoid an error. */
9752 /* We use char because int might match the return type of a gcc2
9753 builtin and then its argument prototype would still apply. */
9763 rm -f conftest.
$ac_objext conftest
$ac_exeext
9764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9765 (eval $ac_link) 2>conftest.er1
9767 grep -v '^ *+' conftest.er1
>conftest.err
9769 cat conftest.err
>&5
9770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9771 (exit $ac_status); } &&
9772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9777 (exit $ac_status); }; } &&
9778 { ac_try
='test -s conftest$ac_exeext'
9779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9783 (exit $ac_status); }; }; then
9784 ac_cv_lib_ncurses_waddch
=yes
9786 echo "$as_me: failed program was:" >&5
9787 sed 's/^/| /' conftest.
$ac_ext >&5
9789 ac_cv_lib_ncurses_waddch
=no
9791 rm -f conftest.err conftest.
$ac_objext \
9792 conftest
$ac_exeext conftest.
$ac_ext
9793 LIBS
=$ac_check_lib_save_LIBS
9795 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9796 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9797 if test $ac_cv_lib_ncurses_waddch = yes; then
9799 cat >>confdefs.h
<<\_ACEOF
9800 #define HAVE_LIBNCURSES 1
9803 CURSESLIBS
="-lncurses"
9806 elif test "$ac_cv_header_curses_h" = "yes"
9808 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9809 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9810 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9811 echo $ECHO_N "(cached) $ECHO_C" >&6
9813 ac_check_lib_save_LIBS
=$LIBS
9814 LIBS
="-lcurses $LIBS"
9815 cat >conftest.
$ac_ext <<_ACEOF
9818 cat confdefs.h
>>conftest.
$ac_ext
9819 cat >>conftest.
$ac_ext <<_ACEOF
9820 /* end confdefs.h. */
9822 /* Override any gcc2 internal prototype to avoid an error. */
9826 /* We use char because int might match the return type of a gcc2
9827 builtin and then its argument prototype would still apply. */
9837 rm -f conftest.
$ac_objext conftest
$ac_exeext
9838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9839 (eval $ac_link) 2>conftest.er1
9841 grep -v '^ *+' conftest.er1
>conftest.err
9843 cat conftest.err
>&5
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); } &&
9846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9851 (exit $ac_status); }; } &&
9852 { ac_try
='test -s conftest$ac_exeext'
9853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9857 (exit $ac_status); }; }; then
9858 ac_cv_lib_curses_waddch
=yes
9860 echo "$as_me: failed program was:" >&5
9861 sed 's/^/| /' conftest.
$ac_ext >&5
9863 ac_cv_lib_curses_waddch
=no
9865 rm -f conftest.err conftest.
$ac_objext \
9866 conftest
$ac_exeext conftest.
$ac_ext
9867 LIBS
=$ac_check_lib_save_LIBS
9869 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9870 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9871 if test $ac_cv_lib_curses_waddch = yes; then
9873 cat >>confdefs.h
<<\_ACEOF
9874 #define HAVE_LIBCURSES 1
9877 CURSESLIBS
="-lcurses"
9884 # Extract the first word of "sane-config", so it can be a program name with args.
9885 set dummy sane-config
; ac_word
=$2
9886 echo "$as_me:$LINENO: checking for $ac_word" >&5
9887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9888 if test "${ac_cv_prog_sane_devel+set}" = set; then
9889 echo $ECHO_N "(cached) $ECHO_C" >&6
9891 if test -n "$sane_devel"; then
9892 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9898 test -z "$as_dir" && as_dir
=.
9899 for ac_exec_ext
in '' $ac_executable_extensions; do
9900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9901 ac_cv_prog_sane_devel
="sane-config"
9902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9908 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9911 sane_devel
=$ac_cv_prog_sane_devel
9912 if test -n "$sane_devel"; then
9913 echo "$as_me:$LINENO: result: $sane_devel" >&5
9914 echo "${ECHO_T}$sane_devel" >&6
9916 echo "$as_me:$LINENO: result: no" >&5
9917 echo "${ECHO_T}no" >&6
9924 if test "$sane_devel" != "no"
9926 SANELIBS
="`$sane_devel --libs`"
9927 SANEINCL
="`$sane_devel --cflags`"
9928 ac_save_CPPFLAGS
="$CPPFLAGS"
9929 ac_save_LIBS
="$LIBS"
9930 CPPFLAGS
="$CPPFLAGS $SANEINCL"
9931 LIBS
="$LIBS $SANELIBS"
9932 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9933 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9934 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9935 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9936 echo $ECHO_N "(cached) $ECHO_C" >&6
9938 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9939 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9941 # Is the header compilable?
9942 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9943 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9944 cat >conftest.
$ac_ext <<_ACEOF
9947 cat confdefs.h
>>conftest.
$ac_ext
9948 cat >>conftest.
$ac_ext <<_ACEOF
9949 /* end confdefs.h. */
9950 $ac_includes_default
9951 #include <sane/sane.h>
9953 rm -f conftest.
$ac_objext
9954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9955 (eval $ac_compile) 2>conftest.er1
9957 grep -v '^ *+' conftest.er1
>conftest.err
9959 cat conftest.err
>&5
9960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9961 (exit $ac_status); } &&
9962 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9967 (exit $ac_status); }; } &&
9968 { ac_try
='test -s conftest.$ac_objext'
9969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9973 (exit $ac_status); }; }; then
9974 ac_header_compiler
=yes
9976 echo "$as_me: failed program was:" >&5
9977 sed 's/^/| /' conftest.
$ac_ext >&5
9979 ac_header_compiler
=no
9981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9982 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9983 echo "${ECHO_T}$ac_header_compiler" >&6
9985 # Is the header present?
9986 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9987 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9988 cat >conftest.
$ac_ext <<_ACEOF
9991 cat confdefs.h
>>conftest.
$ac_ext
9992 cat >>conftest.
$ac_ext <<_ACEOF
9993 /* end confdefs.h. */
9994 #include <sane/sane.h>
9996 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9997 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9999 grep -v '^ *+' conftest.er1
>conftest.err
10001 cat conftest.err
>&5
10002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10003 (exit $ac_status); } >/dev
/null
; then
10004 if test -s conftest.err
; then
10005 ac_cpp_err
=$ac_c_preproc_warn_flag
10006 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10013 if test -z "$ac_cpp_err"; then
10014 ac_header_preproc
=yes
10016 echo "$as_me: failed program was:" >&5
10017 sed 's/^/| /' conftest.
$ac_ext >&5
10019 ac_header_preproc
=no
10021 rm -f conftest.err conftest.
$ac_ext
10022 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10023 echo "${ECHO_T}$ac_header_preproc" >&6
10025 # So? What about this header?
10026 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10028 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10029 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10030 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10031 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10032 ac_header_preproc
=yes
10035 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10036 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10037 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10038 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10039 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10040 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10041 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10042 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10043 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10044 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10045 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10046 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10049 ## ------------------------------------ ##
10050 ## Report this to wine-devel@winehq.org ##
10051 ## ------------------------------------ ##
10054 sed "s/^/$as_me: WARNING: /" >&2
10057 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10058 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
10059 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10060 echo $ECHO_N "(cached) $ECHO_C" >&6
10062 ac_cv_header_sane_sane_h
=$ac_header_preproc
10064 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10065 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
10068 if test $ac_cv_header_sane_sane_h = yes; then
10069 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
10070 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
10071 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
10072 echo $ECHO_N "(cached) $ECHO_C" >&6
10074 ac_check_lib_save_LIBS
=$LIBS
10075 LIBS
="-lsane $LIBS"
10076 cat >conftest.
$ac_ext <<_ACEOF
10079 cat confdefs.h
>>conftest.
$ac_ext
10080 cat >>conftest.
$ac_ext <<_ACEOF
10081 /* end confdefs.h. */
10083 /* Override any gcc2 internal prototype to avoid an error. */
10087 /* We use char because int might match the return type of a gcc2
10088 builtin and then its argument prototype would still apply. */
10098 rm -f conftest.
$ac_objext conftest
$ac_exeext
10099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10100 (eval $ac_link) 2>conftest.er1
10102 grep -v '^ *+' conftest.er1
>conftest.err
10104 cat conftest.err
>&5
10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 (exit $ac_status); } &&
10107 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10109 (eval $ac_try) 2>&5
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); }; } &&
10113 { ac_try
='test -s conftest$ac_exeext'
10114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10115 (eval $ac_try) 2>&5
10117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10118 (exit $ac_status); }; }; then
10119 ac_cv_lib_sane_sane_open
=yes
10121 echo "$as_me: failed program was:" >&5
10122 sed 's/^/| /' conftest.
$ac_ext >&5
10124 ac_cv_lib_sane_sane_open
=no
10126 rm -f conftest.err conftest.
$ac_objext \
10127 conftest
$ac_exeext conftest.
$ac_ext
10128 LIBS
=$ac_check_lib_save_LIBS
10130 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10131 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
10132 if test $ac_cv_lib_sane_sane_open = yes; then
10134 cat >>confdefs.h
<<\_ACEOF
10135 #define HAVE_SANE 1
10149 LIBS
="$ac_save_LIBS"
10150 CPPFLAGS
="$ac_save_CPPFLAGS"
10153 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10154 set dummy gphoto2-config
; ac_word
=$2
10155 echo "$as_me:$LINENO: checking for $ac_word" >&5
10156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10157 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10158 echo $ECHO_N "(cached) $ECHO_C" >&6
10160 if test -n "$gphoto2_devel"; then
10161 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
10163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10164 for as_dir
in $PATH
10167 test -z "$as_dir" && as_dir
=.
10168 for ac_exec_ext
in '' $ac_executable_extensions; do
10169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10170 ac_cv_prog_gphoto2_devel
="gphoto2-config"
10171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10177 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
10180 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
10181 if test -n "$gphoto2_devel"; then
10182 echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10183 echo "${ECHO_T}$gphoto2_devel" >&6
10185 echo "$as_me:$LINENO: result: no" >&5
10186 echo "${ECHO_T}no" >&6
10189 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10190 set dummy gphoto2-port-config
; ac_word
=$2
10191 echo "$as_me:$LINENO: checking for $ac_word" >&5
10192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10193 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10194 echo $ECHO_N "(cached) $ECHO_C" >&6
10196 if test -n "$gphoto2port_devel"; then
10197 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
10199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10200 for as_dir
in $PATH
10203 test -z "$as_dir" && as_dir
=.
10204 for ac_exec_ext
in '' $ac_executable_extensions; do
10205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10206 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
10207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10213 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
10216 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
10217 if test -n "$gphoto2port_devel"; then
10218 echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10219 echo "${ECHO_T}$gphoto2port_devel" >&6
10221 echo "$as_me:$LINENO: result: no" >&5
10222 echo "${ECHO_T}no" >&6
10229 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10231 GPHOTO2INCL
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10233 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10236 -L/usr
/lib|
-L/usr
/lib64
) ;;
10237 -L*|
-l*) GPHOTO2LIBS
="$GPHOTO2LIBS $i";;
10240 ac_save_CPPFLAGS
="$CPPFLAGS"
10241 ac_save_LIBS
="$LIBS"
10242 CPPFLAGS
="$CPPFLAGS $GPHOTO2INCL"
10243 LIBS
="$LIBS $GPHOTO2LIBS"
10244 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10245 echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10246 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6
10247 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10248 echo $ECHO_N "(cached) $ECHO_C" >&6
10250 echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10251 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6
10253 # Is the header compilable?
10254 echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10255 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6
10256 cat >conftest.
$ac_ext <<_ACEOF
10259 cat confdefs.h
>>conftest.
$ac_ext
10260 cat >>conftest.
$ac_ext <<_ACEOF
10261 /* end confdefs.h. */
10262 $ac_includes_default
10263 #include <gphoto2-camera.h>
10265 rm -f conftest.
$ac_objext
10266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10267 (eval $ac_compile) 2>conftest.er1
10269 grep -v '^ *+' conftest.er1
>conftest.err
10271 cat conftest.err
>&5
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); } &&
10274 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10276 (eval $ac_try) 2>&5
10278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10279 (exit $ac_status); }; } &&
10280 { ac_try
='test -s conftest.$ac_objext'
10281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10282 (eval $ac_try) 2>&5
10284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10285 (exit $ac_status); }; }; then
10286 ac_header_compiler
=yes
10288 echo "$as_me: failed program was:" >&5
10289 sed 's/^/| /' conftest.
$ac_ext >&5
10291 ac_header_compiler
=no
10293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10295 echo "${ECHO_T}$ac_header_compiler" >&6
10297 # Is the header present?
10298 echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10299 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6
10300 cat >conftest.
$ac_ext <<_ACEOF
10303 cat confdefs.h
>>conftest.
$ac_ext
10304 cat >>conftest.
$ac_ext <<_ACEOF
10305 /* end confdefs.h. */
10306 #include <gphoto2-camera.h>
10308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10309 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10311 grep -v '^ *+' conftest.er1
>conftest.err
10313 cat conftest.err
>&5
10314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315 (exit $ac_status); } >/dev
/null
; then
10316 if test -s conftest.err
; then
10317 ac_cpp_err
=$ac_c_preproc_warn_flag
10318 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10325 if test -z "$ac_cpp_err"; then
10326 ac_header_preproc
=yes
10328 echo "$as_me: failed program was:" >&5
10329 sed 's/^/| /' conftest.
$ac_ext >&5
10331 ac_header_preproc
=no
10333 rm -f conftest.err conftest.
$ac_ext
10334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10335 echo "${ECHO_T}$ac_header_preproc" >&6
10337 # So? What about this header?
10338 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10340 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10341 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10342 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10343 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10344 ac_header_preproc
=yes
10347 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10348 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10349 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10350 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10351 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10352 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10353 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10354 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10355 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10356 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10357 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10358 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10361 ## ------------------------------------ ##
10362 ## Report this to wine-devel@winehq.org ##
10363 ## ------------------------------------ ##
10366 sed "s/^/$as_me: WARNING: /" >&2
10369 echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10370 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6
10371 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10372 echo $ECHO_N "(cached) $ECHO_C" >&6
10374 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
10376 echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10377 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6
10380 if test $ac_cv_header_gphoto2_camera_h = yes; then
10381 echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10382 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6
10383 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10384 echo $ECHO_N "(cached) $ECHO_C" >&6
10386 ac_check_lib_save_LIBS
=$LIBS
10387 LIBS
="-lgphoto2 $LIBS"
10388 cat >conftest.
$ac_ext <<_ACEOF
10391 cat confdefs.h
>>conftest.
$ac_ext
10392 cat >>conftest.
$ac_ext <<_ACEOF
10393 /* end confdefs.h. */
10395 /* Override any gcc2 internal prototype to avoid an error. */
10399 /* We use char because int might match the return type of a gcc2
10400 builtin and then its argument prototype would still apply. */
10401 char gp_camera_new ();
10410 rm -f conftest.
$ac_objext conftest
$ac_exeext
10411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10412 (eval $ac_link) 2>conftest.er1
10414 grep -v '^ *+' conftest.er1
>conftest.err
10416 cat conftest.err
>&5
10417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10418 (exit $ac_status); } &&
10419 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10421 (eval $ac_try) 2>&5
10423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424 (exit $ac_status); }; } &&
10425 { ac_try
='test -s conftest$ac_exeext'
10426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10427 (eval $ac_try) 2>&5
10429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); }; }; then
10431 ac_cv_lib_gphoto2_gp_camera_new
=yes
10433 echo "$as_me: failed program was:" >&5
10434 sed 's/^/| /' conftest.
$ac_ext >&5
10436 ac_cv_lib_gphoto2_gp_camera_new
=no
10438 rm -f conftest.err conftest.
$ac_objext \
10439 conftest
$ac_exeext conftest.
$ac_ext
10440 LIBS
=$ac_check_lib_save_LIBS
10442 echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10443 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6
10444 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10446 cat >>confdefs.h
<<\_ACEOF
10447 #define HAVE_GPHOTO2 1
10461 LIBS
="$ac_save_LIBS"
10462 CPPFLAGS
="$ac_save_CPPFLAGS"
10465 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10468 ICU_LIB_DIR
="${ICU_LIB_DIR-/usr/lib}"
10469 ICUUC_LIB
="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
10470 ICUDATA_LIB
="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
10471 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
10472 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
10473 LIBS
="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10474 cat >conftest.
$ac_ext <<_ACEOF
10477 cat confdefs.h
>>conftest.
$ac_ext
10478 cat >>conftest.
$ac_ext <<_ACEOF
10479 /* end confdefs.h. */
10480 #include <unicode/ubidi.h>
10489 rm -f conftest.
$ac_objext conftest
$ac_exeext
10490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10491 (eval $ac_link) 2>conftest.er1
10493 grep -v '^ *+' conftest.er1
>conftest.err
10495 cat conftest.err
>&5
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); } &&
10498 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10500 (eval $ac_try) 2>&5
10502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10503 (exit $ac_status); }; } &&
10504 { ac_try
='test -s conftest$ac_exeext'
10505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10506 (eval $ac_try) 2>&5
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); }; }; then
10511 cat >>confdefs.h
<<\_ACEOF
10515 ICULIBS
="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10517 echo "$as_me:$LINENO: result: yes" >&5
10518 echo "${ECHO_T}yes" >&6
10520 echo "$as_me: failed program was:" >&5
10521 sed 's/^/| /' conftest.
$ac_ext >&5
10523 echo "$as_me:$LINENO: result: no" >&5
10524 echo "${ECHO_T}no" >&6
10526 rm -f conftest.err conftest.
$ac_objext \
10527 conftest
$ac_exeext conftest.
$ac_ext
10533 if test "$ac_cv_header_resolv_h" = "yes"
10535 echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10536 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6
10537 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10538 echo $ECHO_N "(cached) $ECHO_C" >&6
10540 ac_check_lib_save_LIBS
=$LIBS
10541 LIBS
="-lresolv $LIBS"
10542 cat >conftest.
$ac_ext <<_ACEOF
10545 cat confdefs.h
>>conftest.
$ac_ext
10546 cat >>conftest.
$ac_ext <<_ACEOF
10547 /* end confdefs.h. */
10549 /* Override any gcc2 internal prototype to avoid an error. */
10553 /* We use char because int might match the return type of a gcc2
10554 builtin and then its argument prototype would still apply. */
10564 rm -f conftest.
$ac_objext conftest
$ac_exeext
10565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10566 (eval $ac_link) 2>conftest.er1
10568 grep -v '^ *+' conftest.er1
>conftest.err
10570 cat conftest.err
>&5
10571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 (exit $ac_status); } &&
10573 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10575 (eval $ac_try) 2>&5
10577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10578 (exit $ac_status); }; } &&
10579 { ac_try
='test -s conftest$ac_exeext'
10580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10581 (eval $ac_try) 2>&5
10583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584 (exit $ac_status); }; }; then
10585 ac_cv_lib_resolv_res_query
=yes
10587 echo "$as_me: failed program was:" >&5
10588 sed 's/^/| /' conftest.
$ac_ext >&5
10590 ac_cv_lib_resolv_res_query
=no
10592 rm -f conftest.err conftest.
$ac_objext \
10593 conftest
$ac_exeext conftest.
$ac_ext
10594 LIBS
=$ac_check_lib_save_LIBS
10596 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10597 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6
10598 if test $ac_cv_lib_resolv_res_query = yes; then
10600 cat >>confdefs.h
<<\_ACEOF
10601 #define HAVE_RESOLV 1
10604 RESOLVLIBS
="-lresolv"
10611 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10613 echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10614 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6
10615 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10616 echo $ECHO_N "(cached) $ECHO_C" >&6
10618 ac_check_lib_save_LIBS
=$LIBS
10619 LIBS
="-llcms $LIBS"
10620 cat >conftest.
$ac_ext <<_ACEOF
10623 cat confdefs.h
>>conftest.
$ac_ext
10624 cat >>conftest.
$ac_ext <<_ACEOF
10625 /* end confdefs.h. */
10627 /* Override any gcc2 internal prototype to avoid an error. */
10631 /* We use char because int might match the return type of a gcc2
10632 builtin and then its argument prototype would still apply. */
10633 char cmsOpenProfileFromFile ();
10637 cmsOpenProfileFromFile ();
10642 rm -f conftest.
$ac_objext conftest
$ac_exeext
10643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10644 (eval $ac_link) 2>conftest.er1
10646 grep -v '^ *+' conftest.er1
>conftest.err
10648 cat conftest.err
>&5
10649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10650 (exit $ac_status); } &&
10651 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10653 (eval $ac_try) 2>&5
10655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656 (exit $ac_status); }; } &&
10657 { ac_try
='test -s conftest$ac_exeext'
10658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10659 (eval $ac_try) 2>&5
10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 (exit $ac_status); }; }; then
10663 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10665 echo "$as_me: failed program was:" >&5
10666 sed 's/^/| /' conftest.
$ac_ext >&5
10668 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10670 rm -f conftest.err conftest.
$ac_objext \
10671 conftest
$ac_exeext conftest.
$ac_ext
10672 LIBS
=$ac_check_lib_save_LIBS
10674 echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10675 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6
10676 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10678 cat >>confdefs.h
<<\_ACEOF
10679 #define HAVE_LCMS 1
10689 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10691 echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10692 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6
10693 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10694 echo $ECHO_N "(cached) $ECHO_C" >&6
10696 ac_check_lib_save_LIBS
=$LIBS
10697 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
10698 cat >conftest.
$ac_ext <<_ACEOF
10701 cat confdefs.h
>>conftest.
$ac_ext
10702 cat >>conftest.
$ac_ext <<_ACEOF
10703 /* end confdefs.h. */
10705 /* Override any gcc2 internal prototype to avoid an error. */
10709 /* We use char because int might match the return type of a gcc2
10710 builtin and then its argument prototype would still apply. */
10711 char ldap_initialize ();
10715 ldap_initialize ();
10720 rm -f conftest.
$ac_objext conftest
$ac_exeext
10721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10722 (eval $ac_link) 2>conftest.er1
10724 grep -v '^ *+' conftest.er1
>conftest.err
10726 cat conftest.err
>&5
10727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10728 (exit $ac_status); } &&
10729 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10731 (eval $ac_try) 2>&5
10733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10734 (exit $ac_status); }; } &&
10735 { ac_try
='test -s conftest$ac_exeext'
10736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10737 (eval $ac_try) 2>&5
10739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10740 (exit $ac_status); }; }; then
10741 ac_cv_lib_ldap_r_ldap_initialize
=yes
10743 echo "$as_me: failed program was:" >&5
10744 sed 's/^/| /' conftest.
$ac_ext >&5
10746 ac_cv_lib_ldap_r_ldap_initialize
=no
10748 rm -f conftest.err conftest.
$ac_objext \
10749 conftest
$ac_exeext conftest.
$ac_ext
10750 LIBS
=$ac_check_lib_save_LIBS
10752 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10753 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6
10754 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10755 echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10756 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6
10757 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10758 echo $ECHO_N "(cached) $ECHO_C" >&6
10760 ac_check_lib_save_LIBS
=$LIBS
10761 LIBS
="-llber $LIBPTHREAD $LIBS"
10762 cat >conftest.
$ac_ext <<_ACEOF
10765 cat confdefs.h
>>conftest.
$ac_ext
10766 cat >>conftest.
$ac_ext <<_ACEOF
10767 /* end confdefs.h. */
10769 /* Override any gcc2 internal prototype to avoid an error. */
10773 /* We use char because int might match the return type of a gcc2
10774 builtin and then its argument prototype would still apply. */
10784 rm -f conftest.
$ac_objext conftest
$ac_exeext
10785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10786 (eval $ac_link) 2>conftest.er1
10788 grep -v '^ *+' conftest.er1
>conftest.err
10790 cat conftest.err
>&5
10791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10792 (exit $ac_status); } &&
10793 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10795 (eval $ac_try) 2>&5
10797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10798 (exit $ac_status); }; } &&
10799 { ac_try
='test -s conftest$ac_exeext'
10800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10801 (eval $ac_try) 2>&5
10803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10804 (exit $ac_status); }; }; then
10805 ac_cv_lib_lber_ber_init
=yes
10807 echo "$as_me: failed program was:" >&5
10808 sed 's/^/| /' conftest.
$ac_ext >&5
10810 ac_cv_lib_lber_ber_init
=no
10812 rm -f conftest.err conftest.
$ac_objext \
10813 conftest
$ac_exeext conftest.
$ac_ext
10814 LIBS
=$ac_check_lib_save_LIBS
10816 echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10817 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6
10818 if test $ac_cv_lib_lber_ber_init = yes; then
10820 cat >>confdefs.h
<<\_ACEOF
10821 #define HAVE_LDAP 1
10824 LDAPLIBS
="-lldap_r -llber"
10829 ac_wine_check_funcs_save_LIBS
="$LIBS"
10830 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
10836 ldap_count_references \
10837 ldap_first_reference \
10838 ldap_next_reference \
10839 ldap_parse_reference
10841 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10842 echo "$as_me:$LINENO: checking for $ac_func" >&5
10843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10844 if eval "test \"\${$as_ac_var+set}\" = set"; then
10845 echo $ECHO_N "(cached) $ECHO_C" >&6
10847 cat >conftest.
$ac_ext <<_ACEOF
10850 cat confdefs.h
>>conftest.
$ac_ext
10851 cat >>conftest.
$ac_ext <<_ACEOF
10852 /* end confdefs.h. */
10853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10855 #define $ac_func innocuous_$ac_func
10857 /* System header to define __stub macros and hopefully few prototypes,
10858 which can conflict with char $ac_func (); below.
10859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10860 <limits.h> exists even on freestanding compilers. */
10863 # include <limits.h>
10865 # include <assert.h>
10870 /* Override any gcc2 internal prototype to avoid an error. */
10875 /* We use char because int might match the return type of a gcc2
10876 builtin and then its argument prototype would still apply. */
10878 /* The GNU C library defines this for functions which it implements
10879 to always fail with ENOSYS. Some functions are actually named
10880 something starting with __ and the normal name is an alias. */
10881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10884 char (*f) () = $ac_func;
10893 return f != $ac_func;
10898 rm -f conftest.
$ac_objext conftest
$ac_exeext
10899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10900 (eval $ac_link) 2>conftest.er1
10902 grep -v '^ *+' conftest.er1
>conftest.err
10904 cat conftest.err
>&5
10905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 (exit $ac_status); } &&
10907 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10909 (eval $ac_try) 2>&5
10911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10912 (exit $ac_status); }; } &&
10913 { ac_try
='test -s conftest$ac_exeext'
10914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10915 (eval $ac_try) 2>&5
10917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918 (exit $ac_status); }; }; then
10919 eval "$as_ac_var=yes"
10921 echo "$as_me: failed program was:" >&5
10922 sed 's/^/| /' conftest.
$ac_ext >&5
10924 eval "$as_ac_var=no"
10926 rm -f conftest.err conftest.
$ac_objext \
10927 conftest
$ac_exeext conftest.
$ac_ext
10929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10931 if test `eval echo '${'$as_ac_var'}'` = yes; then
10932 cat >>confdefs.h
<<_ACEOF
10933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10939 LIBS
="$ac_wine_check_funcs_save_LIBS"
10946 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10947 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
10948 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10949 echo $ECHO_N "(cached) $ECHO_C" >&6
10951 ac_check_lib_save_LIBS
=$LIBS
10952 LIBS
="-lfreetype $X_LIBS $LIBS"
10953 cat >conftest.
$ac_ext <<_ACEOF
10956 cat confdefs.h
>>conftest.
$ac_ext
10957 cat >>conftest.
$ac_ext <<_ACEOF
10958 /* end confdefs.h. */
10960 /* Override any gcc2 internal prototype to avoid an error. */
10964 /* We use char because int might match the return type of a gcc2
10965 builtin and then its argument prototype would still apply. */
10966 char FT_Init_FreeType ();
10970 FT_Init_FreeType ();
10975 rm -f conftest.
$ac_objext conftest
$ac_exeext
10976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10977 (eval $ac_link) 2>conftest.er1
10979 grep -v '^ *+' conftest.er1
>conftest.err
10981 cat conftest.err
>&5
10982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10983 (exit $ac_status); } &&
10984 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10986 (eval $ac_try) 2>&5
10988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10989 (exit $ac_status); }; } &&
10990 { ac_try
='test -s conftest$ac_exeext'
10991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10992 (eval $ac_try) 2>&5
10994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10995 (exit $ac_status); }; }; then
10996 ac_cv_lib_freetype_FT_Init_FreeType
=yes
10998 echo "$as_me: failed program was:" >&5
10999 sed 's/^/| /' conftest.
$ac_ext >&5
11001 ac_cv_lib_freetype_FT_Init_FreeType
=no
11003 rm -f conftest.err conftest.
$ac_objext \
11004 conftest
$ac_exeext conftest.
$ac_ext
11005 LIBS
=$ac_check_lib_save_LIBS
11007 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
11008 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
11009 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
11015 if test "$ft_lib" = "no"
11017 wine_cv_msg_freetype
=no
11019 # Extract the first word of "freetype-config", so it can be a program name with args.
11020 set dummy freetype-config
; ac_word
=$2
11021 echo "$as_me:$LINENO: checking for $ac_word" >&5
11022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11023 if test "${ac_cv_prog_ft_devel+set}" = set; then
11024 echo $ECHO_N "(cached) $ECHO_C" >&6
11026 if test -n "$ft_devel"; then
11027 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
11029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11030 for as_dir
in $PATH
11033 test -z "$as_dir" && as_dir
=.
11034 for ac_exec_ext
in '' $ac_executable_extensions; do
11035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11036 ac_cv_prog_ft_devel
="freetype-config"
11037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11043 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
11046 ft_devel
=$ac_cv_prog_ft_devel
11047 if test -n "$ft_devel"; then
11048 echo "$as_me:$LINENO: result: $ft_devel" >&5
11049 echo "${ECHO_T}$ft_devel" >&6
11051 echo "$as_me:$LINENO: result: no" >&5
11052 echo "${ECHO_T}no" >&6
11055 if test "$ft_devel" = "no"
11057 # Extract the first word of "freetype2-config", so it can be a program name with args.
11058 set dummy freetype2-config
; ac_word
=$2
11059 echo "$as_me:$LINENO: checking for $ac_word" >&5
11060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11061 if test "${ac_cv_prog_ft_devel2+set}" = set; then
11062 echo $ECHO_N "(cached) $ECHO_C" >&6
11064 if test -n "$ft_devel2"; then
11065 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
11067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11068 for as_dir
in $PATH
11071 test -z "$as_dir" && as_dir
=.
11072 for ac_exec_ext
in '' $ac_executable_extensions; do
11073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11074 ac_cv_prog_ft_devel2
="freetype2-config"
11075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11081 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
11084 ft_devel2
=$ac_cv_prog_ft_devel2
11085 if test -n "$ft_devel2"; then
11086 echo "$as_me:$LINENO: result: $ft_devel2" >&5
11087 echo "${ECHO_T}$ft_devel2" >&6
11089 echo "$as_me:$LINENO: result: no" >&5
11090 echo "${ECHO_T}no" >&6
11093 if test "$ft_devel2" = "freetype2-config"
11095 ft_devel
=$ft_devel2
11098 if test "$ft_devel" = "no"
11100 wine_cv_msg_freetype
=yes
11102 FREETYPELIBS
=`$ft_devel --libs`
11103 FREETYPEINCL
=`$ft_devel --cflags`
11104 ac_save_CPPFLAGS
="$CPPFLAGS"
11105 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
11117 for ac_header
in ft2build.h \
11118 freetype
/freetype.h \
11119 freetype
/ftglyph.h \
11120 freetype
/tttables.h \
11121 freetype
/ftnames.h \
11122 freetype
/ftsnames.h \
11123 freetype
/ttnameid.h \
11124 freetype
/ftoutln.h \
11125 freetype
/ftwinfnt.h \
11126 freetype
/ftmodapi.h \
11127 freetype
/internal
/sfnt.h
11129 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11130 echo "$as_me:$LINENO: checking for $ac_header" >&5
11131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11133 echo $ECHO_N "(cached) $ECHO_C" >&6
11135 cat >conftest.
$ac_ext <<_ACEOF
11138 cat confdefs.h
>>conftest.
$ac_ext
11139 cat >>conftest.
$ac_ext <<_ACEOF
11140 /* end confdefs.h. */
11141 #if HAVE_FT2BUILD_H
11142 #include <ft2build.h>
11145 #include <$ac_header>
11147 rm -f conftest.
$ac_objext
11148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11149 (eval $ac_compile) 2>conftest.er1
11151 grep -v '^ *+' conftest.er1
>conftest.err
11153 cat conftest.err
>&5
11154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155 (exit $ac_status); } &&
11156 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11158 (eval $ac_try) 2>&5
11160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11161 (exit $ac_status); }; } &&
11162 { ac_try
='test -s conftest.$ac_objext'
11163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11164 (eval $ac_try) 2>&5
11166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11167 (exit $ac_status); }; }; then
11168 eval "$as_ac_Header=yes"
11170 echo "$as_me: failed program was:" >&5
11171 sed 's/^/| /' conftest.
$ac_ext >&5
11173 eval "$as_ac_Header=no"
11175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11178 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11180 cat >>confdefs.h
<<_ACEOF
11181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11188 cat >conftest.
$ac_ext <<_ACEOF
11191 cat confdefs.h
>>conftest.
$ac_ext
11192 cat >>conftest.
$ac_ext <<_ACEOF
11193 /* end confdefs.h. */
11194 #include <ft2build.h>
11195 #include <freetype/fttrigon.h>
11197 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11198 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11200 grep -v '^ *+' conftest.er1
>conftest.err
11202 cat conftest.err
>&5
11203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11204 (exit $ac_status); } >/dev
/null
; then
11205 if test -s conftest.err
; then
11206 ac_cpp_err
=$ac_c_preproc_warn_flag
11207 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11214 if test -z "$ac_cpp_err"; then
11216 cat >>confdefs.h
<<\_ACEOF
11217 #define HAVE_FREETYPE_FTTRIGON_H 1
11220 wine_cv_fttrigon
=yes
11222 echo "$as_me: failed program was:" >&5
11223 sed 's/^/| /' conftest.
$ac_ext >&5
11225 wine_cv_fttrigon
=no
11227 rm -f conftest.err conftest.
$ac_ext
11228 echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11229 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6
11230 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11231 echo $ECHO_N "(cached) $ECHO_C" >&6
11233 cat >conftest.
$ac_ext <<_ACEOF
11236 cat confdefs.h
>>conftest.
$ac_ext
11237 cat >>conftest.
$ac_ext <<_ACEOF
11238 /* end confdefs.h. */
11239 #include <freetype/ftmodapi.h>
11244 if ((FT_TrueTypeEngineType *) 0)
11246 if (sizeof (FT_TrueTypeEngineType))
11252 rm -f conftest.
$ac_objext
11253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11254 (eval $ac_compile) 2>conftest.er1
11256 grep -v '^ *+' conftest.er1
>conftest.err
11258 cat conftest.err
>&5
11259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11260 (exit $ac_status); } &&
11261 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11263 (eval $ac_try) 2>&5
11265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11266 (exit $ac_status); }; } &&
11267 { ac_try
='test -s conftest.$ac_objext'
11268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11269 (eval $ac_try) 2>&5
11271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11272 (exit $ac_status); }; }; then
11273 ac_cv_type_FT_TrueTypeEngineType
=yes
11275 echo "$as_me: failed program was:" >&5
11276 sed 's/^/| /' conftest.
$ac_ext >&5
11278 ac_cv_type_FT_TrueTypeEngineType
=no
11280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11282 echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11283 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6
11284 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11286 cat >>confdefs.h
<<_ACEOF
11287 #define HAVE_FT_TRUETYPEENGINETYPE 1
11293 ac_save_CFLAGS
="$CFLAGS"
11294 CFLAGS
="$CFLAGS $FREETYPELIBS"
11296 for ac_func
in FT_Load_Sfnt_Table
11298 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11299 echo "$as_me:$LINENO: checking for $ac_func" >&5
11300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11301 if eval "test \"\${$as_ac_var+set}\" = set"; then
11302 echo $ECHO_N "(cached) $ECHO_C" >&6
11304 cat >conftest.
$ac_ext <<_ACEOF
11307 cat confdefs.h
>>conftest.
$ac_ext
11308 cat >>conftest.
$ac_ext <<_ACEOF
11309 /* end confdefs.h. */
11310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11312 #define $ac_func innocuous_$ac_func
11314 /* System header to define __stub macros and hopefully few prototypes,
11315 which can conflict with char $ac_func (); below.
11316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11317 <limits.h> exists even on freestanding compilers. */
11320 # include <limits.h>
11322 # include <assert.h>
11327 /* Override any gcc2 internal prototype to avoid an error. */
11332 /* We use char because int might match the return type of a gcc2
11333 builtin and then its argument prototype would still apply. */
11335 /* The GNU C library defines this for functions which it implements
11336 to always fail with ENOSYS. Some functions are actually named
11337 something starting with __ and the normal name is an alias. */
11338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11341 char (*f) () = $ac_func;
11350 return f != $ac_func;
11355 rm -f conftest.
$ac_objext conftest
$ac_exeext
11356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11357 (eval $ac_link) 2>conftest.er1
11359 grep -v '^ *+' conftest.er1
>conftest.err
11361 cat conftest.err
>&5
11362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11363 (exit $ac_status); } &&
11364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11366 (eval $ac_try) 2>&5
11368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11369 (exit $ac_status); }; } &&
11370 { ac_try
='test -s conftest$ac_exeext'
11371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11372 (eval $ac_try) 2>&5
11374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11375 (exit $ac_status); }; }; then
11376 eval "$as_ac_var=yes"
11378 echo "$as_me: failed program was:" >&5
11379 sed 's/^/| /' conftest.
$ac_ext >&5
11381 eval "$as_ac_var=no"
11383 rm -f conftest.err conftest.
$ac_objext \
11384 conftest
$ac_exeext conftest.
$ac_ext
11386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11388 if test `eval echo '${'$as_ac_var'}'` = yes; then
11389 cat >>confdefs.h
<<_ACEOF
11390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11396 CFLAGS
="$ac_save_CFLAGS"
11397 CPPFLAGS
="$ac_save_CPPFLAGS"
11398 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11401 cat >>confdefs.h
<<\_ACEOF
11402 #define HAVE_FREETYPE 1
11405 wine_cv_msg_freetype
=no
11409 wine_cv_msg_freetype
=yes
11414 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11416 FONTSSUBDIRS
="fonts"
11418 wine_cv_msg_fonts
=no
11420 wine_cv_msg_fonts
=yes
11423 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11424 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
11425 if test "${ac_cv_c_ppdev+set}" = set; then
11426 echo $ECHO_N "(cached) $ECHO_C" >&6
11428 cat >conftest.
$ac_ext <<_ACEOF
11431 cat confdefs.h
>>conftest.
$ac_ext
11432 cat >>conftest.
$ac_ext <<_ACEOF
11433 /* end confdefs.h. */
11434 #include <linux/ppdev.h>
11438 ioctl (1,PPCLAIM,0)
11443 rm -f conftest.
$ac_objext
11444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11445 (eval $ac_compile) 2>conftest.er1
11447 grep -v '^ *+' conftest.er1
>conftest.err
11449 cat conftest.err
>&5
11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11451 (exit $ac_status); } &&
11452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11454 (eval $ac_try) 2>&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); }; } &&
11458 { ac_try
='test -s conftest.$ac_objext'
11459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11460 (eval $ac_try) 2>&5
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }; }; then
11464 ac_cv_c_ppdev
="yes"
11466 echo "$as_me: failed program was:" >&5
11467 sed 's/^/| /' conftest.
$ac_ext >&5
11471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11474 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11475 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
11476 if test "$ac_cv_c_ppdev" = "yes"
11479 cat >>confdefs.h
<<\_ACEOF
11480 #define HAVE_PPDEV 1
11485 echo "$as_me:$LINENO: checking for va_copy" >&5
11486 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
11487 if test "${ac_cv_c_va_copy+set}" = set; then
11488 echo $ECHO_N "(cached) $ECHO_C" >&6
11490 cat >conftest.
$ac_ext <<_ACEOF
11493 cat confdefs.h
>>conftest.
$ac_ext
11494 cat >>conftest.
$ac_ext <<_ACEOF
11495 /* end confdefs.h. */
11496 #include <stdarg.h>
11507 rm -f conftest.
$ac_objext conftest
$ac_exeext
11508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11509 (eval $ac_link) 2>conftest.er1
11511 grep -v '^ *+' conftest.er1
>conftest.err
11513 cat conftest.err
>&5
11514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11515 (exit $ac_status); } &&
11516 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11518 (eval $ac_try) 2>&5
11520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 (exit $ac_status); }; } &&
11522 { ac_try
='test -s conftest$ac_exeext'
11523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11524 (eval $ac_try) 2>&5
11526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11527 (exit $ac_status); }; }; then
11528 ac_cv_c_va_copy
="yes"
11530 echo "$as_me: failed program was:" >&5
11531 sed 's/^/| /' conftest.
$ac_ext >&5
11533 ac_cv_c_va_copy
="no"
11535 rm -f conftest.err conftest.
$ac_objext \
11536 conftest
$ac_exeext conftest.
$ac_ext
11539 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11540 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
11541 if test "$ac_cv_c_va_copy" = "yes"
11544 cat >>confdefs.h
<<\_ACEOF
11545 #define HAVE_VA_COPY 1
11549 echo "$as_me:$LINENO: checking for __va_copy" >&5
11550 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
11551 if test "${ac_cv_c___va_copy+set}" = set; then
11552 echo $ECHO_N "(cached) $ECHO_C" >&6
11554 cat >conftest.
$ac_ext <<_ACEOF
11557 cat confdefs.h
>>conftest.
$ac_ext
11558 cat >>conftest.
$ac_ext <<_ACEOF
11559 /* end confdefs.h. */
11560 #include <stdarg.h>
11565 __va_copy(ap1,ap2);
11571 rm -f conftest.
$ac_objext conftest
$ac_exeext
11572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11573 (eval $ac_link) 2>conftest.er1
11575 grep -v '^ *+' conftest.er1
>conftest.err
11577 cat conftest.err
>&5
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); } &&
11580 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11582 (eval $ac_try) 2>&5
11584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11585 (exit $ac_status); }; } &&
11586 { ac_try
='test -s conftest$ac_exeext'
11587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11588 (eval $ac_try) 2>&5
11590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11591 (exit $ac_status); }; }; then
11592 ac_cv_c___va_copy
="yes"
11594 echo "$as_me: failed program was:" >&5
11595 sed 's/^/| /' conftest.
$ac_ext >&5
11597 ac_cv_c___va_copy
="no"
11599 rm -f conftest.err conftest.
$ac_objext \
11600 conftest
$ac_exeext conftest.
$ac_ext
11603 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11604 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
11605 if test "$ac_cv_c___va_copy" = "yes"
11608 cat >>confdefs.h
<<\_ACEOF
11609 #define HAVE___VA_COPY 1
11614 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11615 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
11616 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11617 echo $ECHO_N "(cached) $ECHO_C" >&6
11619 cat >conftest.
$ac_ext <<_ACEOF
11622 cat confdefs.h
>>conftest.
$ac_ext
11623 cat >>conftest.
$ac_ext <<_ACEOF
11624 /* end confdefs.h. */
11625 #include <setjmp.h>
11630 sigsetjmp( buf, 1 );
11631 siglongjmp( buf, 1 );
11636 rm -f conftest.
$ac_objext conftest
$ac_exeext
11637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11638 (eval $ac_link) 2>conftest.er1
11640 grep -v '^ *+' conftest.er1
>conftest.err
11642 cat conftest.err
>&5
11643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11644 (exit $ac_status); } &&
11645 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11647 (eval $ac_try) 2>&5
11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650 (exit $ac_status); }; } &&
11651 { ac_try
='test -s conftest$ac_exeext'
11652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11653 (eval $ac_try) 2>&5
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); }; }; then
11657 ac_cv_c_sigsetjmp
="yes"
11659 echo "$as_me: failed program was:" >&5
11660 sed 's/^/| /' conftest.
$ac_ext >&5
11662 ac_cv_c_sigsetjmp
="no"
11664 rm -f conftest.err conftest.
$ac_objext \
11665 conftest
$ac_exeext conftest.
$ac_ext
11668 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11669 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
11670 if test "$ac_cv_c_sigsetjmp" = "yes"
11673 cat >>confdefs.h
<<\_ACEOF
11674 #define HAVE_SIGSETJMP 1
11679 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11680 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
11681 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11682 echo $ECHO_N "(cached) $ECHO_C" >&6
11684 cat >conftest.
$ac_ext <<_ACEOF
11687 cat confdefs.h
>>conftest.
$ac_ext
11688 cat >>conftest.
$ac_ext <<_ACEOF
11689 /* end confdefs.h. */
11690 #define _GNU_SOURCE
11691 #include <pthread.h>
11696 if ((pthread_rwlock_t *) 0)
11698 if (sizeof (pthread_rwlock_t))
11704 rm -f conftest.
$ac_objext
11705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11706 (eval $ac_compile) 2>conftest.er1
11708 grep -v '^ *+' conftest.er1
>conftest.err
11710 cat conftest.err
>&5
11711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11712 (exit $ac_status); } &&
11713 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11715 (eval $ac_try) 2>&5
11717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11718 (exit $ac_status); }; } &&
11719 { ac_try
='test -s conftest.$ac_objext'
11720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11721 (eval $ac_try) 2>&5
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); }; }; then
11725 ac_cv_type_pthread_rwlock_t
=yes
11727 echo "$as_me: failed program was:" >&5
11728 sed 's/^/| /' conftest.
$ac_ext >&5
11730 ac_cv_type_pthread_rwlock_t
=no
11732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11734 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11735 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
11736 if test $ac_cv_type_pthread_rwlock_t = yes; then
11738 cat >>confdefs.h
<<_ACEOF
11739 #define HAVE_PTHREAD_RWLOCK_T 1
11744 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11745 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
11746 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11747 echo $ECHO_N "(cached) $ECHO_C" >&6
11749 cat >conftest.
$ac_ext <<_ACEOF
11752 cat confdefs.h
>>conftest.
$ac_ext
11753 cat >>conftest.
$ac_ext <<_ACEOF
11754 /* end confdefs.h. */
11755 #define _GNU_SOURCE
11756 #include <pthread.h>
11761 if ((pthread_rwlockattr_t *) 0)
11763 if (sizeof (pthread_rwlockattr_t))
11769 rm -f conftest.
$ac_objext
11770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11771 (eval $ac_compile) 2>conftest.er1
11773 grep -v '^ *+' conftest.er1
>conftest.err
11775 cat conftest.err
>&5
11776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11777 (exit $ac_status); } &&
11778 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11780 (eval $ac_try) 2>&5
11782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783 (exit $ac_status); }; } &&
11784 { ac_try
='test -s conftest.$ac_objext'
11785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11786 (eval $ac_try) 2>&5
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); }; }; then
11790 ac_cv_type_pthread_rwlockattr_t
=yes
11792 echo "$as_me: failed program was:" >&5
11793 sed 's/^/| /' conftest.
$ac_ext >&5
11795 ac_cv_type_pthread_rwlockattr_t
=no
11797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11799 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11800 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
11801 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11803 cat >>confdefs.h
<<_ACEOF
11804 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11811 ac_wine_check_funcs_save_LIBS
="$LIBS"
11812 LIBS
="$LIBS $LIBPTHREAD"
11817 pthread_getattr_np \
11818 pthread_get_stackaddr_np \
11819 pthread_get_stacksize_np
11821 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11822 echo "$as_me:$LINENO: checking for $ac_func" >&5
11823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11824 if eval "test \"\${$as_ac_var+set}\" = set"; then
11825 echo $ECHO_N "(cached) $ECHO_C" >&6
11827 cat >conftest.
$ac_ext <<_ACEOF
11830 cat confdefs.h
>>conftest.
$ac_ext
11831 cat >>conftest.
$ac_ext <<_ACEOF
11832 /* end confdefs.h. */
11833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11835 #define $ac_func innocuous_$ac_func
11837 /* System header to define __stub macros and hopefully few prototypes,
11838 which can conflict with char $ac_func (); below.
11839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11840 <limits.h> exists even on freestanding compilers. */
11843 # include <limits.h>
11845 # include <assert.h>
11850 /* Override any gcc2 internal prototype to avoid an error. */
11855 /* We use char because int might match the return type of a gcc2
11856 builtin and then its argument prototype would still apply. */
11858 /* The GNU C library defines this for functions which it implements
11859 to always fail with ENOSYS. Some functions are actually named
11860 something starting with __ and the normal name is an alias. */
11861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11864 char (*f) () = $ac_func;
11873 return f != $ac_func;
11878 rm -f conftest.
$ac_objext conftest
$ac_exeext
11879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11880 (eval $ac_link) 2>conftest.er1
11882 grep -v '^ *+' conftest.er1
>conftest.err
11884 cat conftest.err
>&5
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); } &&
11887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11889 (eval $ac_try) 2>&5
11891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11892 (exit $ac_status); }; } &&
11893 { ac_try
='test -s conftest$ac_exeext'
11894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11895 (eval $ac_try) 2>&5
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); }; }; then
11899 eval "$as_ac_var=yes"
11901 echo "$as_me: failed program was:" >&5
11902 sed 's/^/| /' conftest.
$ac_ext >&5
11904 eval "$as_ac_var=no"
11906 rm -f conftest.err conftest.
$ac_objext \
11907 conftest
$ac_exeext conftest.
$ac_ext
11909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11911 if test `eval echo '${'$as_ac_var'}'` = yes; then
11912 cat >>confdefs.h
<<_ACEOF
11913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11919 LIBS
="$ac_wine_check_funcs_save_LIBS"
11921 # Extract the first word of "artsc-config", so it can be a program name with args.
11922 set dummy artsc-config
; ac_word
=$2
11923 echo "$as_me:$LINENO: checking for $ac_word" >&5
11924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11925 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11926 echo $ECHO_N "(cached) $ECHO_C" >&6
11928 case $ARTSCCONFIG in
11930 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
11933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11934 for as_dir
in $PATH
11937 test -z "$as_dir" && as_dir
=.
11938 for ac_exec_ext
in '' $ac_executable_extensions; do
11939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11940 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
11941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11950 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
11952 if test -n "$ARTSCCONFIG"; then
11953 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11954 echo "${ECHO_T}$ARTSCCONFIG" >&6
11956 echo "$as_me:$LINENO: result: no" >&5
11957 echo "${ECHO_T}no" >&6
11960 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
11963 for i
in `$ARTSCCONFIG --cflags`
11966 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
11970 for i
in `$ARTSCCONFIG --libs`
11973 -L/usr
/lib|
-L/usr
/lib64
) ;;
11974 -L*|
-l*) ARTSC_LIBS
="$ARTSC_LIBS $i";;
11977 save_CFLAGS
="$CFLAGS"
11978 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
11979 echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
11980 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6
11981 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
11982 echo $ECHO_N "(cached) $ECHO_C" >&6
11984 ac_check_lib_save_LIBS
=$LIBS
11985 LIBS
="-lartsc $ARTSC_LIBS $LIBS"
11986 cat >conftest.
$ac_ext <<_ACEOF
11989 cat confdefs.h
>>conftest.
$ac_ext
11990 cat >>conftest.
$ac_ext <<_ACEOF
11991 /* end confdefs.h. */
11993 /* Override any gcc2 internal prototype to avoid an error. */
11997 /* We use char because int might match the return type of a gcc2
11998 builtin and then its argument prototype would still apply. */
12008 rm -f conftest.
$ac_objext conftest
$ac_exeext
12009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12010 (eval $ac_link) 2>conftest.er1
12012 grep -v '^ *+' conftest.er1
>conftest.err
12014 cat conftest.err
>&5
12015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12016 (exit $ac_status); } &&
12017 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12019 (eval $ac_try) 2>&5
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); }; } &&
12023 { ac_try
='test -s conftest$ac_exeext'
12024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12025 (eval $ac_try) 2>&5
12027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12028 (exit $ac_status); }; }; then
12029 ac_cv_lib_artsc_arts_init
=yes
12031 echo "$as_me: failed program was:" >&5
12032 sed 's/^/| /' conftest.
$ac_ext >&5
12034 ac_cv_lib_artsc_arts_init
=no
12036 rm -f conftest.err conftest.
$ac_objext \
12037 conftest
$ac_exeext conftest.
$ac_ext
12038 LIBS
=$ac_check_lib_save_LIBS
12040 echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
12041 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6
12042 if test $ac_cv_lib_artsc_arts_init = yes; then
12043 cat >conftest.
$ac_ext <<_ACEOF
12046 cat confdefs.h
>>conftest.
$ac_ext
12047 cat >>conftest.
$ac_ext <<_ACEOF
12048 /* end confdefs.h. */
12053 arts_stream_t stream;
12058 rm -f conftest.
$ac_objext
12059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12060 (eval $ac_compile) 2>conftest.er1
12062 grep -v '^ *+' conftest.er1
>conftest.err
12064 cat conftest.err
>&5
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); } &&
12067 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12069 (eval $ac_try) 2>&5
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); }; } &&
12073 { ac_try
='test -s conftest.$ac_objext'
12074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12075 (eval $ac_try) 2>&5
12077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078 (exit $ac_status); }; }; then
12079 ARTSLIBS
=$ARTSC_LIBS
12081 ARTSINCL
=$ARTSC_CFLAGS
12084 cat >>confdefs.h
<<\_ACEOF
12085 #define HAVE_ARTS 1
12089 echo "$as_me: failed program was:" >&5
12090 sed 's/^/| /' conftest.
$ac_ext >&5
12093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12096 CFLAGS
="$save_CFLAGS"
12099 # Extract the first word of "esd-config", so it can be a program name with args.
12100 set dummy esd-config
; ac_word
=$2
12101 echo "$as_me:$LINENO: checking for $ac_word" >&5
12102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12103 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
12104 echo $ECHO_N "(cached) $ECHO_C" >&6
12108 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
12111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12112 for as_dir
in $PATH
12115 test -z "$as_dir" && as_dir
=.
12116 for ac_exec_ext
in '' $ac_executable_extensions; do
12117 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12118 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
12119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12128 ESDCONFIG
=$ac_cv_path_ESDCONFIG
12130 if test -n "$ESDCONFIG"; then
12131 echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
12132 echo "${ECHO_T}$ESDCONFIG" >&6
12134 echo "$as_me:$LINENO: result: no" >&5
12135 echo "${ECHO_T}no" >&6
12138 if test x
$ESDCONFIG != x
-a x
$ESDCONFIG != x
'"$ESDCONFIG"';
12141 for i
in `$ESDCONFIG --cflags`
12144 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
12147 ESD_LIBS
=`$ESDCONFIG --libs`
12148 save_CFLAGS
="$CFLAGS"
12149 CFLAGS
="$CFLAGS $ESD_CFLAGS"
12150 echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
12151 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6
12152 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
12153 echo $ECHO_N "(cached) $ECHO_C" >&6
12155 ac_check_lib_save_LIBS
=$LIBS
12157 cat >conftest.
$ac_ext <<_ACEOF
12160 cat confdefs.h
>>conftest.
$ac_ext
12161 cat >>conftest.
$ac_ext <<_ACEOF
12162 /* end confdefs.h. */
12164 /* Override any gcc2 internal prototype to avoid an error. */
12168 /* We use char because int might match the return type of a gcc2
12169 builtin and then its argument prototype would still apply. */
12170 char esd_open_sound ();
12179 rm -f conftest.
$ac_objext conftest
$ac_exeext
12180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12181 (eval $ac_link) 2>conftest.er1
12183 grep -v '^ *+' conftest.er1
>conftest.err
12185 cat conftest.err
>&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); } &&
12188 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12190 (eval $ac_try) 2>&5
12192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); }; } &&
12194 { ac_try
='test -s conftest$ac_exeext'
12195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12196 (eval $ac_try) 2>&5
12198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12199 (exit $ac_status); }; }; then
12200 ac_cv_lib_esd_esd_open_sound
=yes
12202 echo "$as_me: failed program was:" >&5
12203 sed 's/^/| /' conftest.
$ac_ext >&5
12205 ac_cv_lib_esd_esd_open_sound
=no
12207 rm -f conftest.err conftest.
$ac_objext \
12208 conftest
$ac_exeext conftest.
$ac_ext
12209 LIBS
=$ac_check_lib_save_LIBS
12211 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
12212 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6
12213 if test $ac_cv_lib_esd_esd_open_sound = yes; then
12216 ESDINCL
=$ESD_CFLAGS
12219 cat >>confdefs.h
<<\_ACEOF
12225 CFLAGS
="$save_CFLAGS"
12230 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12232 echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
12233 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6
12234 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
12235 echo $ECHO_N "(cached) $ECHO_C" >&6
12237 ac_check_lib_save_LIBS
=$LIBS
12238 LIBS
="-lasound $LIBS"
12239 cat >conftest.
$ac_ext <<_ACEOF
12242 cat confdefs.h
>>conftest.
$ac_ext
12243 cat >>conftest.
$ac_ext <<_ACEOF
12244 /* end confdefs.h. */
12246 /* Override any gcc2 internal prototype to avoid an error. */
12250 /* We use char because int might match the return type of a gcc2
12251 builtin and then its argument prototype would still apply. */
12252 char snd_pcm_hw_params_get_access ();
12256 snd_pcm_hw_params_get_access ();
12261 rm -f conftest.
$ac_objext conftest
$ac_exeext
12262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12263 (eval $ac_link) 2>conftest.er1
12265 grep -v '^ *+' conftest.er1
>conftest.err
12267 cat conftest.err
>&5
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); } &&
12270 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12272 (eval $ac_try) 2>&5
12274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12275 (exit $ac_status); }; } &&
12276 { ac_try
='test -s conftest$ac_exeext'
12277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12278 (eval $ac_try) 2>&5
12280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12281 (exit $ac_status); }; }; then
12282 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
12284 echo "$as_me: failed program was:" >&5
12285 sed 's/^/| /' conftest.
$ac_ext >&5
12287 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
12289 rm -f conftest.err conftest.
$ac_objext \
12290 conftest
$ac_exeext conftest.
$ac_ext
12291 LIBS
=$ac_check_lib_save_LIBS
12293 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
12294 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6
12295 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
12296 cat >conftest.
$ac_ext <<_ACEOF
12299 cat confdefs.h
>>conftest.
$ac_ext
12300 cat >>conftest.
$ac_ext <<_ACEOF
12301 /* end confdefs.h. */
12302 #ifdef HAVE_ALSA_ASOUNDLIB_H
12303 #include <alsa/asoundlib.h>
12304 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12305 #include <sys/asoundlib.h>
12310 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
12315 rm -f conftest.
$ac_objext
12316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12317 (eval $ac_compile) 2>conftest.er1
12319 grep -v '^ *+' conftest.er1
>conftest.err
12321 cat conftest.err
>&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); } &&
12324 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12326 (eval $ac_try) 2>&5
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); }; } &&
12330 { ac_try
='test -s conftest.$ac_objext'
12331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12332 (eval $ac_try) 2>&5
12334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12335 (exit $ac_status); }; }; then
12337 cat >>confdefs.h
<<\_ACEOF
12338 #define HAVE_ALSA 1
12341 ALSALIBS
="-lasound"
12343 echo "$as_me: failed program was:" >&5
12344 sed 's/^/| /' conftest.
$ac_ext >&5
12347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12355 if test "$ac_cv_header_libaudioio_h" = "yes"
12357 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12358 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
12359 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12360 echo $ECHO_N "(cached) $ECHO_C" >&6
12362 ac_check_lib_save_LIBS
=$LIBS
12363 LIBS
="-laudioio $LIBS"
12364 cat >conftest.
$ac_ext <<_ACEOF
12367 cat confdefs.h
>>conftest.
$ac_ext
12368 cat >>conftest.
$ac_ext <<_ACEOF
12369 /* end confdefs.h. */
12371 /* Override any gcc2 internal prototype to avoid an error. */
12375 /* We use char because int might match the return type of a gcc2
12376 builtin and then its argument prototype would still apply. */
12377 char AudioIOGetVersion ();
12381 AudioIOGetVersion ();
12386 rm -f conftest.
$ac_objext conftest
$ac_exeext
12387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12388 (eval $ac_link) 2>conftest.er1
12390 grep -v '^ *+' conftest.er1
>conftest.err
12392 cat conftest.err
>&5
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); } &&
12395 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12397 (eval $ac_try) 2>&5
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); }; } &&
12401 { ac_try
='test -s conftest$ac_exeext'
12402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12403 (eval $ac_try) 2>&5
12405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406 (exit $ac_status); }; }; then
12407 ac_cv_lib_audioio_AudioIOGetVersion
=yes
12409 echo "$as_me: failed program was:" >&5
12410 sed 's/^/| /' conftest.
$ac_ext >&5
12412 ac_cv_lib_audioio_AudioIOGetVersion
=no
12414 rm -f conftest.err conftest.
$ac_objext \
12415 conftest
$ac_exeext conftest.
$ac_ext
12416 LIBS
=$ac_check_lib_save_LIBS
12418 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12419 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
12420 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12421 AUDIOIOLIBS
="-laudioio"
12423 cat >>confdefs.h
<<\_ACEOF
12424 #define HAVE_LIBAUDIOIO 1
12432 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12434 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12435 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
12436 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12437 echo $ECHO_N "(cached) $ECHO_C" >&6
12439 ac_check_lib_save_LIBS
=$LIBS
12440 LIBS
="-lcapi20 $LIBS"
12441 cat >conftest.
$ac_ext <<_ACEOF
12444 cat confdefs.h
>>conftest.
$ac_ext
12445 cat >>conftest.
$ac_ext <<_ACEOF
12446 /* end confdefs.h. */
12448 /* Override any gcc2 internal prototype to avoid an error. */
12452 /* We use char because int might match the return type of a gcc2
12453 builtin and then its argument prototype would still apply. */
12454 char capi20_register ();
12458 capi20_register ();
12463 rm -f conftest.
$ac_objext conftest
$ac_exeext
12464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12465 (eval $ac_link) 2>conftest.er1
12467 grep -v '^ *+' conftest.er1
>conftest.err
12469 cat conftest.err
>&5
12470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 (exit $ac_status); } &&
12472 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12474 (eval $ac_try) 2>&5
12476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477 (exit $ac_status); }; } &&
12478 { ac_try
='test -s conftest$ac_exeext'
12479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12480 (eval $ac_try) 2>&5
12482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12483 (exit $ac_status); }; }; then
12484 ac_cv_lib_capi20_capi20_register
=yes
12486 echo "$as_me: failed program was:" >&5
12487 sed 's/^/| /' conftest.
$ac_ext >&5
12489 ac_cv_lib_capi20_capi20_register
=no
12491 rm -f conftest.err conftest.
$ac_objext \
12492 conftest
$ac_exeext conftest.
$ac_ext
12493 LIBS
=$ac_check_lib_save_LIBS
12495 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12496 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12497 if test $ac_cv_lib_capi20_capi20_register = yes; then
12499 cat >>confdefs.h
<<\_ACEOF
12500 #define HAVE_CAPI4LINUX 1
12510 if test "x${GCC}" = "xyes"
12512 EXTRACFLAGS
="-Wall -pipe"
12514 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12515 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12516 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12517 echo $ECHO_N "(cached) $ECHO_C" >&6
12519 if test "$cross_compiling" = yes; then
12520 ac_cv_c_gcc_strength_bug
="yes"
12522 cat >conftest.
$ac_ext <<_ACEOF
12525 cat confdefs.h
>>conftest.
$ac_ext
12526 cat >>conftest.
$ac_ext <<_ACEOF
12527 /* end confdefs.h. */
12529 int L[4] = {0,1,2,3};
12531 static int Array[3];
12532 unsigned int B = 3;
12534 for(i=0; i<B; i++) Array[i] = i - 3;
12535 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12538 exit( Array[1] != -2 || L[2] != 3);
12541 rm -f conftest
$ac_exeext
12542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12543 (eval $ac_link) 2>&5
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12548 (eval $ac_try) 2>&5
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; }; then
12552 ac_cv_c_gcc_strength_bug
="no"
12554 echo "$as_me: program exited with status $ac_status" >&5
12555 echo "$as_me: failed program was:" >&5
12556 sed 's/^/| /' conftest.
$ac_ext >&5
12558 ( exit $ac_status )
12559 ac_cv_c_gcc_strength_bug
="yes"
12561 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12564 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12565 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12566 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12568 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12571 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12572 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12573 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12574 echo $ECHO_N "(cached) $ECHO_C" >&6
12576 ac_wine_try_cflags_saved
=$CFLAGS
12577 CFLAGS
="$CFLAGS -fshort-wchar"
12578 cat >conftest.
$ac_ext <<_ACEOF
12581 cat confdefs.h
>>conftest.
$ac_ext
12582 cat >>conftest.
$ac_ext <<_ACEOF
12583 /* end confdefs.h. */
12593 rm -f conftest.
$ac_objext conftest
$ac_exeext
12594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12595 (eval $ac_link) 2>conftest.er1
12597 grep -v '^ *+' conftest.er1
>conftest.err
12599 cat conftest.err
>&5
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); } &&
12602 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12604 (eval $ac_try) 2>&5
12606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12607 (exit $ac_status); }; } &&
12608 { ac_try
='test -s conftest$ac_exeext'
12609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12610 (eval $ac_try) 2>&5
12612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12613 (exit $ac_status); }; }; then
12614 ac_cv_c_gcc_fshort_wchar
="yes"
12616 echo "$as_me: failed program was:" >&5
12617 sed 's/^/| /' conftest.
$ac_ext >&5
12619 ac_cv_c_gcc_fshort_wchar
="no"
12621 rm -f conftest.err conftest.
$ac_objext \
12622 conftest
$ac_exeext conftest.
$ac_ext
12623 CFLAGS
=$ac_wine_try_cflags_saved
12625 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12626 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12627 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12630 cat >>confdefs.h
<<\_ACEOF
12631 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12636 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12637 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12638 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12639 echo $ECHO_N "(cached) $ECHO_C" >&6
12641 ac_wine_try_cflags_saved
=$CFLAGS
12642 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12643 cat >conftest.
$ac_ext <<_ACEOF
12646 cat confdefs.h
>>conftest.
$ac_ext
12647 cat >>conftest.
$ac_ext <<_ACEOF
12648 /* end confdefs.h. */
12658 rm -f conftest.
$ac_objext conftest
$ac_exeext
12659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12660 (eval $ac_link) 2>conftest.er1
12662 grep -v '^ *+' conftest.er1
>conftest.err
12664 cat conftest.err
>&5
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); } &&
12667 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12669 (eval $ac_try) 2>&5
12671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); }; } &&
12673 { ac_try
='test -s conftest$ac_exeext'
12674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12675 (eval $ac_try) 2>&5
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); }; }; then
12679 ac_cv_c_gcc_no_strict_aliasing
="yes"
12681 echo "$as_me: failed program was:" >&5
12682 sed 's/^/| /' conftest.
$ac_ext >&5
12684 ac_cv_c_gcc_no_strict_aliasing
="no"
12686 rm -f conftest.err conftest.
$ac_objext \
12687 conftest
$ac_exeext conftest.
$ac_ext
12688 CFLAGS
=$ac_wine_try_cflags_saved
12690 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12691 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12692 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12694 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12697 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12698 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12699 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12700 echo $ECHO_N "(cached) $ECHO_C" >&6
12702 ac_wine_try_cflags_saved
=$CFLAGS
12703 CFLAGS
="$CFLAGS -gstabs+"
12704 cat >conftest.
$ac_ext <<_ACEOF
12707 cat confdefs.h
>>conftest.
$ac_ext
12708 cat >>conftest.
$ac_ext <<_ACEOF
12709 /* end confdefs.h. */
12719 rm -f conftest.
$ac_objext conftest
$ac_exeext
12720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12721 (eval $ac_link) 2>conftest.er1
12723 grep -v '^ *+' conftest.er1
>conftest.err
12725 cat conftest.err
>&5
12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); } &&
12728 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12730 (eval $ac_try) 2>&5
12732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12733 (exit $ac_status); }; } &&
12734 { ac_try
='test -s conftest$ac_exeext'
12735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12736 (eval $ac_try) 2>&5
12738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739 (exit $ac_status); }; }; then
12740 ac_cv_c_gcc_gstabs
="yes"
12742 echo "$as_me: failed program was:" >&5
12743 sed 's/^/| /' conftest.
$ac_ext >&5
12745 ac_cv_c_gcc_gstabs
="no"
12747 rm -f conftest.err conftest.
$ac_objext \
12748 conftest
$ac_exeext conftest.
$ac_ext
12749 CFLAGS
=$ac_wine_try_cflags_saved
12751 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12752 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12753 if test "$ac_cv_c_gcc_gstabs" = "yes"
12755 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12758 echo "$as_me:$LINENO: checking for gcc -Wdeclaration-after-statement support" >&5
12759 echo $ECHO_N "checking for gcc -Wdeclaration-after-statement support... $ECHO_C" >&6
12760 if test "${ac_cv_c_gcc_decl_after_statement+set}" = set; then
12761 echo $ECHO_N "(cached) $ECHO_C" >&6
12763 ac_wine_try_cflags_saved
=$CFLAGS
12764 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12765 cat >conftest.
$ac_ext <<_ACEOF
12768 cat confdefs.h
>>conftest.
$ac_ext
12769 cat >>conftest.
$ac_ext <<_ACEOF
12770 /* end confdefs.h. */
12780 rm -f conftest.
$ac_objext conftest
$ac_exeext
12781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12782 (eval $ac_link) 2>conftest.er1
12784 grep -v '^ *+' conftest.er1
>conftest.err
12786 cat conftest.err
>&5
12787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788 (exit $ac_status); } &&
12789 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12791 (eval $ac_try) 2>&5
12793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12794 (exit $ac_status); }; } &&
12795 { ac_try
='test -s conftest$ac_exeext'
12796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12797 (eval $ac_try) 2>&5
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 (exit $ac_status); }; }; then
12801 ac_cv_c_gcc_decl_after_statement
="yes"
12803 echo "$as_me: failed program was:" >&5
12804 sed 's/^/| /' conftest.
$ac_ext >&5
12806 ac_cv_c_gcc_decl_after_statement
="no"
12808 rm -f conftest.err conftest.
$ac_objext \
12809 conftest
$ac_exeext conftest.
$ac_ext
12810 CFLAGS
=$ac_wine_try_cflags_saved
12812 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_decl_after_statement" >&5
12813 echo "${ECHO_T}$ac_cv_c_gcc_decl_after_statement" >&6
12814 if test "$ac_cv_c_gcc_decl_after_statement" = "yes"
12816 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12819 saved_CFLAGS
="$CFLAGS"
12820 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12821 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12822 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12823 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12824 echo $ECHO_N "(cached) $ECHO_C" >&6
12826 cat >conftest.
$ac_ext <<_ACEOF
12829 cat confdefs.h
>>conftest.
$ac_ext
12830 cat >>conftest.
$ac_ext <<_ACEOF
12831 /* end confdefs.h. */
12832 #include <string.h>
12841 rm -f conftest.
$ac_objext
12842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12843 (eval $ac_compile) 2>conftest.er1
12845 grep -v '^ *+' conftest.er1
>conftest.err
12847 cat conftest.err
>&5
12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 (exit $ac_status); } &&
12850 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12852 (eval $ac_try) 2>&5
12854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12855 (exit $ac_status); }; } &&
12856 { ac_try
='test -s conftest.$ac_objext'
12857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12858 (eval $ac_try) 2>&5
12860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12861 (exit $ac_status); }; }; then
12862 ac_cv_c_string_h_warnings
=no
12864 echo "$as_me: failed program was:" >&5
12865 sed 's/^/| /' conftest.
$ac_ext >&5
12867 ac_cv_c_string_h_warnings
=yes
12869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12871 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12872 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12873 CFLAGS
="$saved_CFLAGS"
12874 if test "$ac_cv_c_string_h_warnings" = "no"
12876 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12881 saved_CFLAGS
="$CFLAGS"
12882 CFLAGS
="$CFLAGS -Werror"
12883 echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12884 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6
12885 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12886 echo $ECHO_N "(cached) $ECHO_C" >&6
12888 cat >conftest.
$ac_ext <<_ACEOF
12891 cat confdefs.h
>>conftest.
$ac_ext
12892 cat >>conftest.
$ac_ext <<_ACEOF
12893 /* end confdefs.h. */
12898 int iswlower(unsigned short);
12903 rm -f conftest.
$ac_objext
12904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12905 (eval $ac_compile) 2>conftest.er1
12907 grep -v '^ *+' conftest.er1
>conftest.err
12909 cat conftest.err
>&5
12910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911 (exit $ac_status); } &&
12912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12914 (eval $ac_try) 2>&5
12916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917 (exit $ac_status); }; } &&
12918 { ac_try
='test -s conftest.$ac_objext'
12919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12920 (eval $ac_try) 2>&5
12922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12923 (exit $ac_status); }; }; then
12924 ac_cv_c_builtin_wchar_ctype
=no
12926 echo "$as_me: failed program was:" >&5
12927 sed 's/^/| /' conftest.
$ac_ext >&5
12929 ac_cv_c_builtin_wchar_ctype
=yes
12931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12933 echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12934 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6
12935 CFLAGS
="$saved_CFLAGS"
12936 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12940 iswalnum iswalpha iswcntrl iswdigit iswgraph iswlower \
12941 iswprint iswpunct iswspace iswupper iswxdigit towlower towupper
12943 BUILTINFLAG
="$BUILTINFLAG -fno-builtin-$builtin"
12949 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12950 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12951 if test "${ac_cv_asm_func_def+set}" = set; then
12952 echo $ECHO_N "(cached) $ECHO_C" >&6
12954 cat >conftest.
$ac_ext <<_ACEOF
12957 cat confdefs.h
>>conftest.
$ac_ext
12958 cat >>conftest.
$ac_ext <<_ACEOF
12959 /* end confdefs.h. */
12960 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"); }
12970 rm -f conftest.
$ac_objext conftest
$ac_exeext
12971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12972 (eval $ac_link) 2>conftest.er1
12974 grep -v '^ *+' conftest.er1
>conftest.err
12976 cat conftest.err
>&5
12977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12978 (exit $ac_status); } &&
12979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12981 (eval $ac_try) 2>&5
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); }; } &&
12985 { ac_try
='test -s conftest$ac_exeext'
12986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12987 (eval $ac_try) 2>&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); }; }; then
12991 ac_cv_asm_func_def
=".def"
12993 echo "$as_me: failed program was:" >&5
12994 sed 's/^/| /' conftest.
$ac_ext >&5
12996 cat >conftest.
$ac_ext <<_ACEOF
12999 cat confdefs.h
>>conftest.
$ac_ext
13000 cat >>conftest.
$ac_ext <<_ACEOF
13001 /* end confdefs.h. */
13002 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
13012 rm -f conftest.
$ac_objext conftest
$ac_exeext
13013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13014 (eval $ac_link) 2>conftest.er1
13016 grep -v '^ *+' conftest.er1
>conftest.err
13018 cat conftest.err
>&5
13019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13020 (exit $ac_status); } &&
13021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13023 (eval $ac_try) 2>&5
13025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13026 (exit $ac_status); }; } &&
13027 { ac_try
='test -s conftest$ac_exeext'
13028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13029 (eval $ac_try) 2>&5
13031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13032 (exit $ac_status); }; }; then
13033 ac_cv_asm_func_def
=".type @function"
13035 echo "$as_me: failed program was:" >&5
13036 sed 's/^/| /' conftest.
$ac_ext >&5
13038 cat >conftest.
$ac_ext <<_ACEOF
13041 cat confdefs.h
>>conftest.
$ac_ext
13042 cat >>conftest.
$ac_ext <<_ACEOF
13043 /* end confdefs.h. */
13044 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
13054 rm -f conftest.
$ac_objext conftest
$ac_exeext
13055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13056 (eval $ac_link) 2>conftest.er1
13058 grep -v '^ *+' conftest.er1
>conftest.err
13060 cat conftest.err
>&5
13061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13062 (exit $ac_status); } &&
13063 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13065 (eval $ac_try) 2>&5
13067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13068 (exit $ac_status); }; } &&
13069 { ac_try
='test -s conftest$ac_exeext'
13070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13071 (eval $ac_try) 2>&5
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); }; }; then
13075 ac_cv_asm_func_def
=".type 2"
13077 echo "$as_me: failed program was:" >&5
13078 sed 's/^/| /' conftest.
$ac_ext >&5
13080 ac_cv_asm_func_def
="unknown"
13082 rm -f conftest.err conftest.
$ac_objext \
13083 conftest
$ac_exeext conftest.
$ac_ext
13085 rm -f conftest.err conftest.
$ac_objext \
13086 conftest
$ac_exeext conftest.
$ac_ext
13088 rm -f conftest.err conftest.
$ac_objext \
13089 conftest
$ac_exeext conftest.
$ac_ext
13091 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
13092 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
13096 case "$ac_cv_asm_func_def" in
13098 cat >>confdefs.h
<<\_ACEOF
13099 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
13103 cat >>confdefs.h
<<\_ACEOF
13104 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
13108 cat >>confdefs.h
<<\_ACEOF
13109 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
13113 cat >>confdefs.h
<<\_ACEOF
13114 #define __ASM_FUNC(name) ""
13120 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
13121 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
13122 if test "${ac_cv_c_extern_prefix+set}" = set; then
13123 echo $ECHO_N "(cached) $ECHO_C" >&6
13125 cat >conftest.
$ac_ext <<_ACEOF
13128 cat confdefs.h
>>conftest.
$ac_ext
13129 cat >>conftest.
$ac_ext <<_ACEOF
13130 /* end confdefs.h. */
13131 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
13132 extern int ac_test;
13136 if (ac_test) return 1
13141 rm -f conftest.
$ac_objext conftest
$ac_exeext
13142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13143 (eval $ac_link) 2>conftest.er1
13145 grep -v '^ *+' conftest.er1
>conftest.err
13147 cat conftest.err
>&5
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); } &&
13150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13152 (eval $ac_try) 2>&5
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); }; } &&
13156 { ac_try
='test -s conftest$ac_exeext'
13157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13158 (eval $ac_try) 2>&5
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); }; }; then
13162 ac_cv_c_extern_prefix
="yes"
13164 echo "$as_me: failed program was:" >&5
13165 sed 's/^/| /' conftest.
$ac_ext >&5
13167 ac_cv_c_extern_prefix
="no"
13169 rm -f conftest.err conftest.
$ac_objext \
13170 conftest
$ac_exeext conftest.
$ac_ext
13172 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
13173 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
13177 if test "$ac_cv_c_extern_prefix" = "yes"
13179 cat >>confdefs.h
<<\_ACEOF
13180 #define __ASM_NAME(name) "_" name
13184 cat >>confdefs.h
<<\_ACEOF
13185 #define __ASM_NAME(name) name
13193 DLLFLAGS
="-D_REENTRANT"
13208 if test -n "$ac_tool_prefix"; then
13209 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13210 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
13211 echo "$as_me:$LINENO: checking for $ac_word" >&5
13212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13213 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13214 echo $ECHO_N "(cached) $ECHO_C" >&6
13216 if test -n "$DLLTOOL"; then
13217 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13220 for as_dir
in $PATH
13223 test -z "$as_dir" && as_dir
=.
13224 for ac_exec_ext
in '' $ac_executable_extensions; do
13225 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13226 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
13227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13235 DLLTOOL
=$ac_cv_prog_DLLTOOL
13236 if test -n "$DLLTOOL"; then
13237 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13238 echo "${ECHO_T}$DLLTOOL" >&6
13240 echo "$as_me:$LINENO: result: no" >&5
13241 echo "${ECHO_T}no" >&6
13245 if test -z "$ac_cv_prog_DLLTOOL"; then
13246 ac_ct_DLLTOOL
=$DLLTOOL
13247 # Extract the first word of "dlltool", so it can be a program name with args.
13248 set dummy dlltool
; ac_word
=$2
13249 echo "$as_me:$LINENO: checking for $ac_word" >&5
13250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13251 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13252 echo $ECHO_N "(cached) $ECHO_C" >&6
13254 if test -n "$ac_ct_DLLTOOL"; then
13255 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
13257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13258 for as_dir
in $PATH
13261 test -z "$as_dir" && as_dir
=.
13262 for ac_exec_ext
in '' $ac_executable_extensions; do
13263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13264 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
13265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13271 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
13274 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
13275 if test -n "$ac_ct_DLLTOOL"; then
13276 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13277 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13279 echo "$as_me:$LINENO: result: no" >&5
13280 echo "${ECHO_T}no" >&6
13283 DLLTOOL
=$ac_ct_DLLTOOL
13285 DLLTOOL
="$ac_cv_prog_DLLTOOL"
13288 if test -n "$ac_tool_prefix"; then
13289 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13290 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
13291 echo "$as_me:$LINENO: checking for $ac_word" >&5
13292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13293 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13294 echo $ECHO_N "(cached) $ECHO_C" >&6
13296 if test -n "$DLLWRAP"; then
13297 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
13299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13300 for as_dir
in $PATH
13303 test -z "$as_dir" && as_dir
=.
13304 for ac_exec_ext
in '' $ac_executable_extensions; do
13305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13306 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
13307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13315 DLLWRAP
=$ac_cv_prog_DLLWRAP
13316 if test -n "$DLLWRAP"; then
13317 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13318 echo "${ECHO_T}$DLLWRAP" >&6
13320 echo "$as_me:$LINENO: result: no" >&5
13321 echo "${ECHO_T}no" >&6
13325 if test -z "$ac_cv_prog_DLLWRAP"; then
13326 ac_ct_DLLWRAP
=$DLLWRAP
13327 # Extract the first word of "dllwrap", so it can be a program name with args.
13328 set dummy dllwrap
; ac_word
=$2
13329 echo "$as_me:$LINENO: checking for $ac_word" >&5
13330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13331 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13332 echo $ECHO_N "(cached) $ECHO_C" >&6
13334 if test -n "$ac_ct_DLLWRAP"; then
13335 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
13337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13338 for as_dir
in $PATH
13341 test -z "$as_dir" && as_dir
=.
13342 for ac_exec_ext
in '' $ac_executable_extensions; do
13343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13344 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
13345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13351 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP
="false"
13354 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
13355 if test -n "$ac_ct_DLLWRAP"; then
13356 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13357 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13359 echo "$as_me:$LINENO: result: no" >&5
13360 echo "${ECHO_T}no" >&6
13363 DLLWRAP
=$ac_ct_DLLWRAP
13365 DLLWRAP
="$ac_cv_prog_DLLWRAP"
13368 if test "$DLLWRAP" = "false"; then
13378 if test "$ac_cv_header_dlfcn_h" = "yes"
13381 for ac_func
in dlopen
13383 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13384 echo "$as_me:$LINENO: checking for $ac_func" >&5
13385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13386 if eval "test \"\${$as_ac_var+set}\" = set"; then
13387 echo $ECHO_N "(cached) $ECHO_C" >&6
13389 cat >conftest.
$ac_ext <<_ACEOF
13392 cat confdefs.h
>>conftest.
$ac_ext
13393 cat >>conftest.
$ac_ext <<_ACEOF
13394 /* end confdefs.h. */
13395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13397 #define $ac_func innocuous_$ac_func
13399 /* System header to define __stub macros and hopefully few prototypes,
13400 which can conflict with char $ac_func (); below.
13401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13402 <limits.h> exists even on freestanding compilers. */
13405 # include <limits.h>
13407 # include <assert.h>
13412 /* Override any gcc2 internal prototype to avoid an error. */
13417 /* We use char because int might match the return type of a gcc2
13418 builtin and then its argument prototype would still apply. */
13420 /* The GNU C library defines this for functions which it implements
13421 to always fail with ENOSYS. Some functions are actually named
13422 something starting with __ and the normal name is an alias. */
13423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13426 char (*f) () = $ac_func;
13435 return f != $ac_func;
13440 rm -f conftest.
$ac_objext conftest
$ac_exeext
13441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13442 (eval $ac_link) 2>conftest.er1
13444 grep -v '^ *+' conftest.er1
>conftest.err
13446 cat conftest.err
>&5
13447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448 (exit $ac_status); } &&
13449 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13451 (eval $ac_try) 2>&5
13453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13454 (exit $ac_status); }; } &&
13455 { ac_try
='test -s conftest$ac_exeext'
13456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13457 (eval $ac_try) 2>&5
13459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13460 (exit $ac_status); }; }; then
13461 eval "$as_ac_var=yes"
13463 echo "$as_me: failed program was:" >&5
13464 sed 's/^/| /' conftest.
$ac_ext >&5
13466 eval "$as_ac_var=no"
13468 rm -f conftest.err conftest.
$ac_objext \
13469 conftest
$ac_exeext conftest.
$ac_ext
13471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13473 if test `eval echo '${'$as_ac_var'}'` = yes; then
13474 cat >>confdefs.h
<<_ACEOF
13475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13479 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13480 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13481 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13482 echo $ECHO_N "(cached) $ECHO_C" >&6
13484 ac_check_lib_save_LIBS
=$LIBS
13486 cat >conftest.
$ac_ext <<_ACEOF
13489 cat confdefs.h
>>conftest.
$ac_ext
13490 cat >>conftest.
$ac_ext <<_ACEOF
13491 /* end confdefs.h. */
13493 /* Override any gcc2 internal prototype to avoid an error. */
13497 /* We use char because int might match the return type of a gcc2
13498 builtin and then its argument prototype would still apply. */
13508 rm -f conftest.
$ac_objext conftest
$ac_exeext
13509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13510 (eval $ac_link) 2>conftest.er1
13512 grep -v '^ *+' conftest.er1
>conftest.err
13514 cat conftest.err
>&5
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); } &&
13517 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13519 (eval $ac_try) 2>&5
13521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522 (exit $ac_status); }; } &&
13523 { ac_try
='test -s conftest$ac_exeext'
13524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13525 (eval $ac_try) 2>&5
13527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13528 (exit $ac_status); }; }; then
13529 ac_cv_lib_dl_dlopen
=yes
13531 echo "$as_me: failed program was:" >&5
13532 sed 's/^/| /' conftest.
$ac_ext >&5
13534 ac_cv_lib_dl_dlopen
=no
13536 rm -f conftest.err conftest.
$ac_objext \
13537 conftest
$ac_exeext conftest.
$ac_ext
13538 LIBS
=$ac_check_lib_save_LIBS
13540 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13541 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13542 if test $ac_cv_lib_dl_dlopen = yes; then
13544 cat >>confdefs.h
<<\_ACEOF
13545 #define HAVE_DLOPEN 1
13556 ac_wine_check_funcs_save_LIBS
="$LIBS"
13557 LIBS
="$LIBS $DLLIBS"
13559 for ac_func
in dladdr
13561 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13562 echo "$as_me:$LINENO: checking for $ac_func" >&5
13563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13564 if eval "test \"\${$as_ac_var+set}\" = set"; then
13565 echo $ECHO_N "(cached) $ECHO_C" >&6
13567 cat >conftest.
$ac_ext <<_ACEOF
13570 cat confdefs.h
>>conftest.
$ac_ext
13571 cat >>conftest.
$ac_ext <<_ACEOF
13572 /* end confdefs.h. */
13573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13575 #define $ac_func innocuous_$ac_func
13577 /* System header to define __stub macros and hopefully few prototypes,
13578 which can conflict with char $ac_func (); below.
13579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13580 <limits.h> exists even on freestanding compilers. */
13583 # include <limits.h>
13585 # include <assert.h>
13590 /* Override any gcc2 internal prototype to avoid an error. */
13595 /* We use char because int might match the return type of a gcc2
13596 builtin and then its argument prototype would still apply. */
13598 /* The GNU C library defines this for functions which it implements
13599 to always fail with ENOSYS. Some functions are actually named
13600 something starting with __ and the normal name is an alias. */
13601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13604 char (*f) () = $ac_func;
13613 return f != $ac_func;
13618 rm -f conftest.
$ac_objext conftest
$ac_exeext
13619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13620 (eval $ac_link) 2>conftest.er1
13622 grep -v '^ *+' conftest.er1
>conftest.err
13624 cat conftest.err
>&5
13625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13626 (exit $ac_status); } &&
13627 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13629 (eval $ac_try) 2>&5
13631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632 (exit $ac_status); }; } &&
13633 { ac_try
='test -s conftest$ac_exeext'
13634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13635 (eval $ac_try) 2>&5
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 (exit $ac_status); }; }; then
13639 eval "$as_ac_var=yes"
13641 echo "$as_me: failed program was:" >&5
13642 sed 's/^/| /' conftest.
$ac_ext >&5
13644 eval "$as_ac_var=no"
13646 rm -f conftest.err conftest.
$ac_objext \
13647 conftest
$ac_exeext conftest.
$ac_ext
13649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13651 if test `eval echo '${'$as_ac_var'}'` = yes; then
13652 cat >>confdefs.h
<<_ACEOF
13653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13659 LIBS
="$ac_wine_check_funcs_save_LIBS"
13664 if test "$LIBEXT" = "so"
13666 DLLFLAGS
="$DLLFLAGS -fPIC"
13668 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13669 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13670 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13671 echo $ECHO_N "(cached) $ECHO_C" >&6
13673 ac_wine_try_cflags_saved
=$CFLAGS
13674 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13675 cat >conftest.
$ac_ext <<_ACEOF
13678 rm -f conftest.
$ac_objext conftest
$ac_exeext
13679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13680 (eval $ac_link) 2>conftest.er1
13682 grep -v '^ *+' conftest.er1
>conftest.err
13684 cat conftest.err
>&5
13685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13686 (exit $ac_status); } &&
13687 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13689 (eval $ac_try) 2>&5
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); }; } &&
13693 { ac_try
='test -s conftest$ac_exeext'
13694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13695 (eval $ac_try) 2>&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); }; }; then
13699 ac_cv_c_dll_gnuelf
="yes"
13701 echo "$as_me: failed program was:" >&5
13702 sed 's/^/| /' conftest.
$ac_ext >&5
13704 ac_cv_c_dll_gnuelf
="no"
13706 rm -f conftest.err conftest.
$ac_objext \
13707 conftest
$ac_exeext conftest.
$ac_ext
13708 CFLAGS
=$ac_wine_try_cflags_saved
13710 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13711 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
13712 if test "$ac_cv_c_dll_gnuelf" = "yes"
13714 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13715 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
13716 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
13717 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
13718 if test "${ac_cv_c_dll_zdefs+set}" = set; then
13719 echo $ECHO_N "(cached) $ECHO_C" >&6
13721 ac_wine_try_cflags_saved
=$CFLAGS
13722 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13723 cat >conftest.
$ac_ext <<_ACEOF
13726 cat confdefs.h
>>conftest.
$ac_ext
13727 cat >>conftest.
$ac_ext <<_ACEOF
13728 /* end confdefs.h. */
13738 rm -f conftest.
$ac_objext conftest
$ac_exeext
13739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13740 (eval $ac_link) 2>conftest.er1
13742 grep -v '^ *+' conftest.er1
>conftest.err
13744 cat conftest.err
>&5
13745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13746 (exit $ac_status); } &&
13747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13749 (eval $ac_try) 2>&5
13751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13752 (exit $ac_status); }; } &&
13753 { ac_try
='test -s conftest$ac_exeext'
13754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13755 (eval $ac_try) 2>&5
13757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13758 (exit $ac_status); }; }; then
13759 ac_cv_c_dll_zdefs
="yes"
13761 echo "$as_me: failed program was:" >&5
13762 sed 's/^/| /' conftest.
$ac_ext >&5
13764 ac_cv_c_dll_zdefs
="no"
13766 rm -f conftest.err conftest.
$ac_objext \
13767 conftest
$ac_exeext conftest.
$ac_ext
13768 CFLAGS
=$ac_wine_try_cflags_saved
13770 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
13771 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
13772 if test "$ac_cv_c_dll_zdefs" = "yes"
13774 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
13777 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
13778 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
13779 if test "${ac_cv_c_dll_init_fini+set}" = set; then
13780 echo $ECHO_N "(cached) $ECHO_C" >&6
13782 ac_wine_try_cflags_saved
=$CFLAGS
13783 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13784 cat >conftest.
$ac_ext <<_ACEOF
13787 cat confdefs.h
>>conftest.
$ac_ext
13788 cat >>conftest.
$ac_ext <<_ACEOF
13789 /* end confdefs.h. */
13799 rm -f conftest.
$ac_objext conftest
$ac_exeext
13800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13801 (eval $ac_link) 2>conftest.er1
13803 grep -v '^ *+' conftest.er1
>conftest.err
13805 cat conftest.err
>&5
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); } &&
13808 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13810 (eval $ac_try) 2>&5
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); }; } &&
13814 { ac_try
='test -s conftest$ac_exeext'
13815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13816 (eval $ac_try) 2>&5
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); }; }; then
13820 ac_cv_c_dll_init_fini
="yes"
13822 echo "$as_me: failed program was:" >&5
13823 sed 's/^/| /' conftest.
$ac_ext >&5
13825 ac_cv_c_dll_init_fini
="no"
13827 rm -f conftest.err conftest.
$ac_objext \
13828 conftest
$ac_exeext conftest.
$ac_ext
13829 CFLAGS
=$ac_wine_try_cflags_saved
13831 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
13832 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
13833 if test "$ac_cv_c_dll_init_fini" = "yes"
13835 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13838 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
13839 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
13840 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
13841 echo $ECHO_N "(cached) $ECHO_C" >&6
13843 echo '{ global: *; };' >conftest.map
13844 ac_wine_try_cflags_saved
=$CFLAGS
13845 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13846 cat >conftest.
$ac_ext <<_ACEOF
13849 cat confdefs.h
>>conftest.
$ac_ext
13850 cat >>conftest.
$ac_ext <<_ACEOF
13851 /* end confdefs.h. */
13861 rm -f conftest.
$ac_objext conftest
$ac_exeext
13862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13863 (eval $ac_link) 2>conftest.er1
13865 grep -v '^ *+' conftest.er1
>conftest.err
13867 cat conftest.err
>&5
13868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13869 (exit $ac_status); } &&
13870 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13872 (eval $ac_try) 2>&5
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); }; } &&
13876 { ac_try
='test -s conftest$ac_exeext'
13877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13878 (eval $ac_try) 2>&5
13880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881 (exit $ac_status); }; }; then
13882 ac_cv_c_ld_version_scripts
="yes"
13884 echo "$as_me: failed program was:" >&5
13885 sed 's/^/| /' conftest.
$ac_ext >&5
13887 ac_cv_c_ld_version_scripts
="no"
13889 rm -f conftest.err conftest.
$ac_objext \
13890 conftest
$ac_exeext conftest.
$ac_ext
13891 CFLAGS
=$ac_wine_try_cflags_saved
13894 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
13895 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
13896 if test "$ac_cv_c_ld_version_scripts" = "yes"
13898 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13901 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
13902 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
13903 if test "${ac_cv_c_export_dynamic+set}" = set; then
13904 echo $ECHO_N "(cached) $ECHO_C" >&6
13906 ac_wine_try_cflags_saved
=$CFLAGS
13907 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
13908 cat >conftest.
$ac_ext <<_ACEOF
13911 cat confdefs.h
>>conftest.
$ac_ext
13912 cat >>conftest.
$ac_ext <<_ACEOF
13913 /* end confdefs.h. */
13923 rm -f conftest.
$ac_objext conftest
$ac_exeext
13924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13925 (eval $ac_link) 2>conftest.er1
13927 grep -v '^ *+' conftest.er1
>conftest.err
13929 cat conftest.err
>&5
13930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13931 (exit $ac_status); } &&
13932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13934 (eval $ac_try) 2>&5
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); }; } &&
13938 { ac_try
='test -s conftest$ac_exeext'
13939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13940 (eval $ac_try) 2>&5
13942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13943 (exit $ac_status); }; }; then
13944 ac_cv_c_export_dynamic
="yes"
13946 echo "$as_me: failed program was:" >&5
13947 sed 's/^/| /' conftest.
$ac_ext >&5
13949 ac_cv_c_export_dynamic
="no"
13951 rm -f conftest.err conftest.
$ac_objext \
13952 conftest
$ac_exeext conftest.
$ac_ext
13953 CFLAGS
=$ac_wine_try_cflags_saved
13955 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
13956 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
13957 if test "$ac_cv_c_export_dynamic" = "yes"
13959 LDEXECFLAGS
="-Wl,--export-dynamic"
13963 echo "$as_me:$LINENO: checking whether the linker accepts --rpath" >&5
13964 echo $ECHO_N "checking whether the linker accepts --rpath... $ECHO_C" >&6
13965 if test "${ac_cv_ld_rpath+set}" = set; then
13966 echo $ECHO_N "(cached) $ECHO_C" >&6
13968 ac_wine_try_cflags_saved
=$CFLAGS
13969 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13970 cat >conftest.
$ac_ext <<_ACEOF
13973 cat confdefs.h
>>conftest.
$ac_ext
13974 cat >>conftest.
$ac_ext <<_ACEOF
13975 /* end confdefs.h. */
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_ld_rpath
="yes"
14008 echo "$as_me: failed program was:" >&5
14009 sed 's/^/| /' conftest.
$ac_ext >&5
14011 ac_cv_ld_rpath
="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_ld_rpath" >&5
14018 echo "${ECHO_T}$ac_cv_ld_rpath" >&6
14019 if test "$ac_cv_ld_rpath" = "yes"
14021 LDEXERPATH
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
14023 LDDLLRPATH
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(dlldir) \$(libdir)\`"
14029 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
14030 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6
14031 if test "${ac_cv_ld_reloc_exec+set}" = set; then
14032 echo $ECHO_N "(cached) $ECHO_C" >&6
14034 ac_wine_try_cflags_saved
=$CFLAGS
14035 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
14036 cat >conftest.
$ac_ext <<_ACEOF
14039 cat confdefs.h
>>conftest.
$ac_ext
14040 cat >>conftest.
$ac_ext <<_ACEOF
14041 /* end confdefs.h. */
14051 rm -f conftest.
$ac_objext conftest
$ac_exeext
14052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14053 (eval $ac_link) 2>conftest.er1
14055 grep -v '^ *+' conftest.er1
>conftest.err
14057 cat conftest.err
>&5
14058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14059 (exit $ac_status); } &&
14060 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14062 (eval $ac_try) 2>&5
14064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14065 (exit $ac_status); }; } &&
14066 { ac_try
='test -s conftest$ac_exeext'
14067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14068 (eval $ac_try) 2>&5
14070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071 (exit $ac_status); }; }; then
14072 ac_cv_ld_reloc_exec
="yes"
14074 echo "$as_me: failed program was:" >&5
14075 sed 's/^/| /' conftest.
$ac_ext >&5
14077 ac_cv_ld_reloc_exec
="no"
14079 rm -f conftest.err conftest.
$ac_objext \
14080 conftest
$ac_exeext conftest.
$ac_ext
14081 CFLAGS
=$ac_wine_try_cflags_saved
14083 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
14084 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
14085 if test "$ac_cv_ld_reloc_exec" = "yes"
14087 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
14093 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14094 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
14095 if test "${ac_cv_c_dll_unixware+set}" = set; then
14096 echo $ECHO_N "(cached) $ECHO_C" >&6
14098 ac_wine_try_cflags_saved
=$CFLAGS
14099 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14100 cat >conftest.
$ac_ext <<_ACEOF
14103 rm -f conftest.
$ac_objext conftest
$ac_exeext
14104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14105 (eval $ac_link) 2>conftest.er1
14107 grep -v '^ *+' conftest.er1
>conftest.err
14109 cat conftest.err
>&5
14110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14111 (exit $ac_status); } &&
14112 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14114 (eval $ac_try) 2>&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }; } &&
14118 { ac_try
='test -s conftest$ac_exeext'
14119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14120 (eval $ac_try) 2>&5
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); }; }; then
14124 ac_cv_c_dll_unixware
="yes"
14126 echo "$as_me: failed program was:" >&5
14127 sed 's/^/| /' conftest.
$ac_ext >&5
14129 ac_cv_c_dll_unixware
="no"
14131 rm -f conftest.err conftest.
$ac_objext \
14132 conftest
$ac_exeext conftest.
$ac_ext
14133 CFLAGS
=$ac_wine_try_cflags_saved
14135 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
14136 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
14137 if test "$ac_cv_c_dll_unixware" = "yes"
14139 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
14140 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
14143 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
14144 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
14145 if test "${ac_cv_c_dll_macho+set}" = set; then
14146 echo $ECHO_N "(cached) $ECHO_C" >&6
14148 ac_wine_try_cflags_saved
=$CFLAGS
14149 CFLAGS
="$CFLAGS -bundle"
14150 cat >conftest.
$ac_ext <<_ACEOF
14153 rm -f conftest.
$ac_objext conftest
$ac_exeext
14154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14155 (eval $ac_link) 2>conftest.er1
14157 grep -v '^ *+' conftest.er1
>conftest.err
14159 cat conftest.err
>&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); } &&
14162 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14164 (eval $ac_try) 2>&5
14166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 (exit $ac_status); }; } &&
14168 { ac_try
='test -s conftest$ac_exeext'
14169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170 (eval $ac_try) 2>&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }; }; then
14174 ac_cv_c_dll_macho
="yes"
14176 echo "$as_me: failed program was:" >&5
14177 sed 's/^/| /' conftest.
$ac_ext >&5
14179 ac_cv_c_dll_macho
="no"
14181 rm -f conftest.err conftest.
$ac_objext \
14182 conftest
$ac_exeext conftest.
$ac_ext
14183 CFLAGS
=$ac_wine_try_cflags_saved
14185 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
14186 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
14187 if test "$ac_cv_c_dll_macho" = "yes"
14190 LDDLLFLAGS
="-bundle"
14191 LDSHARED
="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME) \$(SOVERSION:%=-compatibility_version %)"
14192 STRIP
="$STRIP -u -r"
14193 COREFOUNDATIONLIB
="-framework CoreFoundation"
14195 IOKITLIB
="-framework IOKit -framework CoreFoundation"
14197 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7ffe0000"
14201 CFLAGS
="$CFLAGS -ffixed-r13"
14202 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning"
14207 echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
14208 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6
14209 if test "${ac_cv_c_dll_hpux+set}" = set; then
14210 echo $ECHO_N "(cached) $ECHO_C" >&6
14212 ac_wine_try_cflags_saved
=$CFLAGS
14213 CFLAGS
="$CFLAGS -shared"
14214 cat >conftest.
$ac_ext <<_ACEOF
14217 rm -f conftest.
$ac_objext conftest
$ac_exeext
14218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14219 (eval $ac_link) 2>conftest.er1
14221 grep -v '^ *+' conftest.er1
>conftest.err
14223 cat conftest.err
>&5
14224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225 (exit $ac_status); } &&
14226 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14228 (eval $ac_try) 2>&5
14230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14231 (exit $ac_status); }; } &&
14232 { ac_try
='test -s conftest$ac_exeext'
14233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14234 (eval $ac_try) 2>&5
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); }; }; then
14238 ac_cv_c_dll_hpux
="yes"
14240 echo "$as_me: failed program was:" >&5
14241 sed 's/^/| /' conftest.
$ac_ext >&5
14243 ac_cv_c_dll_hpux
="no"
14245 rm -f conftest.err conftest.
$ac_objext \
14246 conftest
$ac_exeext conftest.
$ac_ext
14247 CFLAGS
=$ac_wine_try_cflags_saved
14249 echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
14250 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6
14251 if test "$ac_cv_c_dll_hpux" = "yes"
14255 LDDLLFLAGS
="-shared -fPIC"
14256 LDSHARED
="\$(CC) -shared"
14265 if test "$cross_compiling" = "no"
14267 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
14269 # Extract the first word of "$ac_prog", so it can be a program name with args.
14270 set dummy
$ac_prog; ac_word
=$2
14271 echo "$as_me:$LINENO: checking for $ac_word" >&5
14272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14273 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14274 echo $ECHO_N "(cached) $ECHO_C" >&6
14276 if test -n "$CROSSCC"; then
14277 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
14279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14280 for as_dir
in $PATH
14283 test -z "$as_dir" && as_dir
=.
14284 for ac_exec_ext
in '' $ac_executable_extensions; do
14285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14286 ac_cv_prog_CROSSCC
="$ac_prog"
14287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14295 CROSSCC
=$ac_cv_prog_CROSSCC
14296 if test -n "$CROSSCC"; then
14297 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14298 echo "${ECHO_T}$CROSSCC" >&6
14300 echo "$as_me:$LINENO: result: no" >&5
14301 echo "${ECHO_T}no" >&6
14304 test -n "$CROSSCC" && break
14306 test -n "$CROSSCC" || CROSSCC
="false"
14308 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14310 # Extract the first word of "$ac_prog", so it can be a program name with args.
14311 set dummy
$ac_prog; ac_word
=$2
14312 echo "$as_me:$LINENO: checking for $ac_word" >&5
14313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14314 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14315 echo $ECHO_N "(cached) $ECHO_C" >&6
14317 if test -n "$DLLTOOL"; then
14318 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14321 for as_dir
in $PATH
14324 test -z "$as_dir" && as_dir
=.
14325 for ac_exec_ext
in '' $ac_executable_extensions; do
14326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14327 ac_cv_prog_DLLTOOL
="$ac_prog"
14328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14336 DLLTOOL
=$ac_cv_prog_DLLTOOL
14337 if test -n "$DLLTOOL"; then
14338 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14339 echo "${ECHO_T}$DLLTOOL" >&6
14341 echo "$as_me:$LINENO: result: no" >&5
14342 echo "${ECHO_T}no" >&6
14345 test -n "$DLLTOOL" && break
14347 test -n "$DLLTOOL" || DLLTOOL
="false"
14349 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
14351 # Extract the first word of "$ac_prog", so it can be a program name with args.
14352 set dummy
$ac_prog; ac_word
=$2
14353 echo "$as_me:$LINENO: checking for $ac_word" >&5
14354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14355 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14356 echo $ECHO_N "(cached) $ECHO_C" >&6
14358 if test -n "$CROSSWINDRES"; then
14359 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
14361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14362 for as_dir
in $PATH
14365 test -z "$as_dir" && as_dir
=.
14366 for ac_exec_ext
in '' $ac_executable_extensions; do
14367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14368 ac_cv_prog_CROSSWINDRES
="$ac_prog"
14369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14377 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
14378 if test -n "$CROSSWINDRES"; then
14379 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14380 echo "${ECHO_T}$CROSSWINDRES" >&6
14382 echo "$as_me:$LINENO: result: no" >&5
14383 echo "${ECHO_T}no" >&6
14386 test -n "$CROSSWINDRES" && break
14388 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
14390 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
14395 if test "$LIBEXT" = "a"; then
14396 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14397 It is currently not possible to build Wine without shared library
14398 (.so) support to allow transparent switch between .so and .dll files.
14399 If you are using Linux, you will need a newer binutils.
14401 echo "$as_me: error: could not find a way to build shared libraries.
14402 It is currently not possible to build Wine without shared library
14403 (.so) support to allow transparent switch between .so and .dll files.
14404 If you are using Linux, you will need a newer binutils.
14406 { (exit 1); exit 1; }; }
14411 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14414 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14417 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14425 SOCKETLIBS
="-lws2_32"
14433 linux
* | k
*bsd
*-gnu)
14434 MAIN_BINARY
="wine-glibc"
14436 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
14439 MAIN_BINARY
="wine-pthread"
14442 MAIN_BINARY
="wine-kthread"
14446 *) MAIN_BINARY
="wine-pthread"
14451 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14453 # Extract the first word of "ldd", so it can be a program name with args.
14454 set dummy ldd
; ac_word
=$2
14455 echo "$as_me:$LINENO: checking for $ac_word" >&5
14456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14457 if test "${ac_cv_path_LDD+set}" = set; then
14458 echo $ECHO_N "(cached) $ECHO_C" >&6
14462 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
14465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14466 as_dummy
="/sbin:/usr/sbin:$PATH"
14467 for as_dir
in $as_dummy
14470 test -z "$as_dir" && as_dir
=.
14471 for ac_exec_ext
in '' $ac_executable_extensions; do
14472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14473 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
14474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14480 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
14484 LDD
=$ac_cv_path_LDD
14486 if test -n "$LDD"; then
14487 echo "$as_me:$LINENO: result: $LDD" >&5
14488 echo "${ECHO_T}$LDD" >&6
14490 echo "$as_me:$LINENO: result: no" >&5
14491 echo "${ECHO_T}no" >&6
14494 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14495 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14496 if test "${ac_cv_lib_soname_X11+set}" = set; then
14497 echo $ECHO_N "(cached) $ECHO_C" >&6
14499 ac_get_soname_save_LIBS
=$LIBS
14500 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14501 cat >conftest.
$ac_ext <<_ACEOF
14504 cat confdefs.h
>>conftest.
$ac_ext
14505 cat >>conftest.
$ac_ext <<_ACEOF
14506 /* end confdefs.h. */
14508 /* Override any gcc2 internal prototype to avoid an error. */
14512 /* We use char because int might match the return type of a gcc2
14513 builtin and then its argument prototype would still apply. */
14514 char XCreateWindow ();
14523 rm -f conftest.
$ac_objext conftest
$ac_exeext
14524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14525 (eval $ac_link) 2>conftest.er1
14527 grep -v '^ *+' conftest.er1
>conftest.err
14529 cat conftest.err
>&5
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); } &&
14532 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14534 (eval $ac_try) 2>&5
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); }; } &&
14538 { ac_try
='test -s conftest$ac_exeext'
14539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14540 (eval $ac_try) 2>&5
14542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14543 (exit $ac_status); }; }; then
14544 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14545 if test "x$ac_cv_lib_soname_X11" = "x"
14547 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14550 echo "$as_me: failed program was:" >&5
14551 sed 's/^/| /' conftest.
$ac_ext >&5
14553 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14555 rm -f conftest.err conftest.
$ac_objext \
14556 conftest
$ac_exeext conftest.
$ac_ext
14557 LIBS
=$ac_get_soname_save_LIBS
14559 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14560 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14561 if test "${ac_cv_lib_soname_X11+set}" = set; then
14563 cat >>confdefs.h
<<_ACEOF
14564 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14569 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14570 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14571 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14572 echo $ECHO_N "(cached) $ECHO_C" >&6
14574 ac_get_soname_save_LIBS
=$LIBS
14575 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14576 cat >conftest.
$ac_ext <<_ACEOF
14579 cat confdefs.h
>>conftest.
$ac_ext
14580 cat >>conftest.
$ac_ext <<_ACEOF
14581 /* end confdefs.h. */
14583 /* Override any gcc2 internal prototype to avoid an error. */
14587 /* We use char because int might match the return type of a gcc2
14588 builtin and then its argument prototype would still apply. */
14589 char XextCreateExtension ();
14593 XextCreateExtension ();
14598 rm -f conftest.
$ac_objext conftest
$ac_exeext
14599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14600 (eval $ac_link) 2>conftest.er1
14602 grep -v '^ *+' conftest.er1
>conftest.err
14604 cat conftest.err
>&5
14605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606 (exit $ac_status); } &&
14607 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14609 (eval $ac_try) 2>&5
14611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14612 (exit $ac_status); }; } &&
14613 { ac_try
='test -s conftest$ac_exeext'
14614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14615 (eval $ac_try) 2>&5
14617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14618 (exit $ac_status); }; }; then
14619 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14620 if test "x$ac_cv_lib_soname_Xext" = "x"
14622 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14625 echo "$as_me: failed program was:" >&5
14626 sed 's/^/| /' conftest.
$ac_ext >&5
14628 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14630 rm -f conftest.err conftest.
$ac_objext \
14631 conftest
$ac_exeext conftest.
$ac_ext
14632 LIBS
=$ac_get_soname_save_LIBS
14634 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14635 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14636 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14638 cat >>confdefs.h
<<_ACEOF
14639 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14644 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14645 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14646 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14647 echo $ECHO_N "(cached) $ECHO_C" >&6
14649 ac_get_soname_save_LIBS
=$LIBS
14650 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14651 cat >conftest.
$ac_ext <<_ACEOF
14654 cat confdefs.h
>>conftest.
$ac_ext
14655 cat >>conftest.
$ac_ext <<_ACEOF
14656 /* end confdefs.h. */
14658 /* Override any gcc2 internal prototype to avoid an error. */
14662 /* We use char because int might match the return type of a gcc2
14663 builtin and then its argument prototype would still apply. */
14664 char XOpenDevice ();
14673 rm -f conftest.
$ac_objext conftest
$ac_exeext
14674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14675 (eval $ac_link) 2>conftest.er1
14677 grep -v '^ *+' conftest.er1
>conftest.err
14679 cat conftest.err
>&5
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 (exit $ac_status); } &&
14682 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14684 (eval $ac_try) 2>&5
14686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14687 (exit $ac_status); }; } &&
14688 { ac_try
='test -s conftest$ac_exeext'
14689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14690 (eval $ac_try) 2>&5
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); }; }; then
14694 ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14695 if test "x$ac_cv_lib_soname_Xi" = "x"
14697 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14700 echo "$as_me: failed program was:" >&5
14701 sed 's/^/| /' conftest.
$ac_ext >&5
14703 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14705 rm -f conftest.err conftest.
$ac_objext \
14706 conftest
$ac_exeext conftest.
$ac_ext
14707 LIBS
=$ac_get_soname_save_LIBS
14709 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14710 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14711 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14713 cat >>confdefs.h
<<_ACEOF
14714 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14719 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14720 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14721 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14722 echo $ECHO_N "(cached) $ECHO_C" >&6
14724 ac_get_soname_save_LIBS
=$LIBS
14725 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14726 cat >conftest.
$ac_ext <<_ACEOF
14729 cat confdefs.h
>>conftest.
$ac_ext
14730 cat >>conftest.
$ac_ext <<_ACEOF
14731 /* end confdefs.h. */
14733 /* Override any gcc2 internal prototype to avoid an error. */
14737 /* We use char because int might match the return type of a gcc2
14738 builtin and then its argument prototype would still apply. */
14739 char XRenderQueryExtension ();
14743 XRenderQueryExtension ();
14748 rm -f conftest.
$ac_objext conftest
$ac_exeext
14749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14750 (eval $ac_link) 2>conftest.er1
14752 grep -v '^ *+' conftest.er1
>conftest.err
14754 cat conftest.err
>&5
14755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756 (exit $ac_status); } &&
14757 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14759 (eval $ac_try) 2>&5
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); }; } &&
14763 { ac_try
='test -s conftest$ac_exeext'
14764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14765 (eval $ac_try) 2>&5
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); }; }; then
14769 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14770 if test "x$ac_cv_lib_soname_Xrender" = "x"
14772 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14775 echo "$as_me: failed program was:" >&5
14776 sed 's/^/| /' conftest.
$ac_ext >&5
14778 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14780 rm -f conftest.err conftest.
$ac_objext \
14781 conftest
$ac_exeext conftest.
$ac_ext
14782 LIBS
=$ac_get_soname_save_LIBS
14784 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14785 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14786 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14788 cat >>confdefs.h
<<_ACEOF
14789 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14794 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14795 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
14796 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14797 echo $ECHO_N "(cached) $ECHO_C" >&6
14799 ac_get_soname_save_LIBS
=$LIBS
14800 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14801 cat >conftest.
$ac_ext <<_ACEOF
14804 cat confdefs.h
>>conftest.
$ac_ext
14805 cat >>conftest.
$ac_ext <<_ACEOF
14806 /* end confdefs.h. */
14808 /* Override any gcc2 internal prototype to avoid an error. */
14812 /* We use char because int might match the return type of a gcc2
14813 builtin and then its argument prototype would still apply. */
14814 char XRRQueryExtension ();
14818 XRRQueryExtension ();
14823 rm -f conftest.
$ac_objext conftest
$ac_exeext
14824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14825 (eval $ac_link) 2>conftest.er1
14827 grep -v '^ *+' conftest.er1
>conftest.err
14829 cat conftest.err
>&5
14830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14831 (exit $ac_status); } &&
14832 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14834 (eval $ac_try) 2>&5
14836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14837 (exit $ac_status); }; } &&
14838 { ac_try
='test -s conftest$ac_exeext'
14839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14840 (eval $ac_try) 2>&5
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); }; }; then
14844 ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14845 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14847 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
14850 echo "$as_me: failed program was:" >&5
14851 sed 's/^/| /' conftest.
$ac_ext >&5
14853 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
14855 rm -f conftest.err conftest.
$ac_objext \
14856 conftest
$ac_exeext conftest.
$ac_ext
14857 LIBS
=$ac_get_soname_save_LIBS
14859 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14860 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
14861 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14863 cat >>confdefs.h
<<_ACEOF
14864 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14869 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14870 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14871 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14872 echo $ECHO_N "(cached) $ECHO_C" >&6
14874 ac_get_soname_save_LIBS
=$LIBS
14875 LIBS
="-lfreetype $X_LIBS $LIBS"
14876 cat >conftest.
$ac_ext <<_ACEOF
14879 cat confdefs.h
>>conftest.
$ac_ext
14880 cat >>conftest.
$ac_ext <<_ACEOF
14881 /* end confdefs.h. */
14883 /* Override any gcc2 internal prototype to avoid an error. */
14887 /* We use char because int might match the return type of a gcc2
14888 builtin and then its argument prototype would still apply. */
14889 char FT_Init_FreeType ();
14893 FT_Init_FreeType ();
14898 rm -f conftest.
$ac_objext conftest
$ac_exeext
14899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14900 (eval $ac_link) 2>conftest.er1
14902 grep -v '^ *+' conftest.er1
>conftest.err
14904 cat conftest.err
>&5
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); } &&
14907 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14909 (eval $ac_try) 2>&5
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); }; } &&
14913 { ac_try
='test -s conftest$ac_exeext'
14914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14915 (eval $ac_try) 2>&5
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); }; }; then
14919 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14920 if test "x$ac_cv_lib_soname_freetype" = "x"
14922 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
14925 echo "$as_me: failed program was:" >&5
14926 sed 's/^/| /' conftest.
$ac_ext >&5
14928 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
14930 rm -f conftest.err conftest.
$ac_objext \
14931 conftest
$ac_exeext conftest.
$ac_ext
14932 LIBS
=$ac_get_soname_save_LIBS
14934 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14935 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
14936 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14938 cat >>confdefs.h
<<_ACEOF
14939 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14944 echo "$as_me:$LINENO: checking for -lGL soname" >&5
14945 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
14946 if test "${ac_cv_lib_soname_GL+set}" = set; then
14947 echo $ECHO_N "(cached) $ECHO_C" >&6
14949 ac_get_soname_save_LIBS
=$LIBS
14950 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14951 cat >conftest.
$ac_ext <<_ACEOF
14954 cat confdefs.h
>>conftest.
$ac_ext
14955 cat >>conftest.
$ac_ext <<_ACEOF
14956 /* end confdefs.h. */
14958 /* Override any gcc2 internal prototype to avoid an error. */
14962 /* We use char because int might match the return type of a gcc2
14963 builtin and then its argument prototype would still apply. */
14964 char glXQueryExtension ();
14968 glXQueryExtension ();
14973 rm -f conftest.
$ac_objext conftest
$ac_exeext
14974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14975 (eval $ac_link) 2>conftest.er1
14977 grep -v '^ *+' conftest.er1
>conftest.err
14979 cat conftest.err
>&5
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); } &&
14982 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14984 (eval $ac_try) 2>&5
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); }; } &&
14988 { ac_try
='test -s conftest$ac_exeext'
14989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14990 (eval $ac_try) 2>&5
14992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14993 (exit $ac_status); }; }; then
14994 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14995 if test "x$ac_cv_lib_soname_GL" = "x"
14997 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
15000 echo "$as_me: failed program was:" >&5
15001 sed 's/^/| /' conftest.
$ac_ext >&5
15003 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
15005 rm -f conftest.err conftest.
$ac_objext \
15006 conftest
$ac_exeext conftest.
$ac_ext
15007 LIBS
=$ac_get_soname_save_LIBS
15009 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
15010 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
15011 if test "${ac_cv_lib_soname_GL+set}" = set; then
15013 cat >>confdefs.h
<<_ACEOF
15014 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
15019 echo "$as_me:$LINENO: checking for -ldbus-1 soname" >&5
15020 echo $ECHO_N "checking for -ldbus-1 soname... $ECHO_C" >&6
15021 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
15022 echo $ECHO_N "(cached) $ECHO_C" >&6
15024 ac_get_soname_save_LIBS
=$LIBS
15025 LIBS
="-ldbus-1 $LIBS"
15026 cat >conftest.
$ac_ext <<_ACEOF
15029 cat confdefs.h
>>conftest.
$ac_ext
15030 cat >>conftest.
$ac_ext <<_ACEOF
15031 /* end confdefs.h. */
15033 /* Override any gcc2 internal prototype to avoid an error. */
15037 /* We use char because int might match the return type of a gcc2
15038 builtin and then its argument prototype would still apply. */
15039 char dbus_error_init ();
15043 dbus_error_init ();
15048 rm -f conftest.
$ac_objext conftest
$ac_exeext
15049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15050 (eval $ac_link) 2>conftest.er1
15052 grep -v '^ *+' conftest.er1
>conftest.err
15054 cat conftest.err
>&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); } &&
15057 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15059 (eval $ac_try) 2>&5
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); }; } &&
15063 { ac_try
='test -s conftest$ac_exeext'
15064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15065 (eval $ac_try) 2>&5
15067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15068 (exit $ac_status); }; }; then
15069 ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest$ac_exeext | grep libdbus-1\\.$LIBEXT | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15070 if test "x$ac_cv_lib_soname_dbus_1" = "x"
15072 ac_cv_lib_soname_dbus_1
="libdbus-1.$LIBEXT"
15075 echo "$as_me: failed program was:" >&5
15076 sed 's/^/| /' conftest.
$ac_ext >&5
15078 ac_cv_lib_soname_dbus_1
="libdbus-1.$LIBEXT"
15080 rm -f conftest.err conftest.
$ac_objext \
15081 conftest
$ac_exeext conftest.
$ac_ext
15082 LIBS
=$ac_get_soname_save_LIBS
15084 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_dbus_1" >&5
15085 echo "${ECHO_T}$ac_cv_lib_soname_dbus_1" >&6
15086 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
15088 cat >>confdefs.h
<<_ACEOF
15089 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
15094 echo "$as_me:$LINENO: checking for -lhal soname" >&5
15095 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6
15096 if test "${ac_cv_lib_soname_hal+set}" = set; then
15097 echo $ECHO_N "(cached) $ECHO_C" >&6
15099 ac_get_soname_save_LIBS
=$LIBS
15101 cat >conftest.
$ac_ext <<_ACEOF
15104 cat confdefs.h
>>conftest.
$ac_ext
15105 cat >>conftest.
$ac_ext <<_ACEOF
15106 /* end confdefs.h. */
15108 /* Override any gcc2 internal prototype to avoid an error. */
15112 /* We use char because int might match the return type of a gcc2
15113 builtin and then its argument prototype would still apply. */
15114 char libhal_ctx_new ();
15123 rm -f conftest.
$ac_objext conftest
$ac_exeext
15124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15125 (eval $ac_link) 2>conftest.er1
15127 grep -v '^ *+' conftest.er1
>conftest.err
15129 cat conftest.err
>&5
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); } &&
15132 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15134 (eval $ac_try) 2>&5
15136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15137 (exit $ac_status); }; } &&
15138 { ac_try
='test -s conftest$ac_exeext'
15139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15140 (eval $ac_try) 2>&5
15142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15143 (exit $ac_status); }; }; then
15144 ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.$LIBEXT | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15145 if test "x$ac_cv_lib_soname_hal" = "x"
15147 ac_cv_lib_soname_hal
="libhal.$LIBEXT"
15150 echo "$as_me: failed program was:" >&5
15151 sed 's/^/| /' conftest.
$ac_ext >&5
15153 ac_cv_lib_soname_hal
="libhal.$LIBEXT"
15155 rm -f conftest.err conftest.
$ac_objext \
15156 conftest
$ac_exeext conftest.
$ac_ext
15157 LIBS
=$ac_get_soname_save_LIBS
15159 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
15160 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6
15161 if test "${ac_cv_lib_soname_hal+set}" = set; then
15163 cat >>confdefs.h
<<_ACEOF
15164 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
15169 echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
15170 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6
15171 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15172 echo $ECHO_N "(cached) $ECHO_C" >&6
15174 ac_get_soname_save_LIBS
=$LIBS
15175 LIBS
="-ltxc_dxtn $LIBS"
15176 cat >conftest.
$ac_ext <<_ACEOF
15179 cat confdefs.h
>>conftest.
$ac_ext
15180 cat >>conftest.
$ac_ext <<_ACEOF
15181 /* end confdefs.h. */
15183 /* Override any gcc2 internal prototype to avoid an error. */
15187 /* We use char because int might match the return type of a gcc2
15188 builtin and then its argument prototype would still apply. */
15189 char fetch_2d_texel_rgba_dxt1 ();
15193 fetch_2d_texel_rgba_dxt1 ();
15198 rm -f conftest.
$ac_objext conftest
$ac_exeext
15199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15200 (eval $ac_link) 2>conftest.er1
15202 grep -v '^ *+' conftest.er1
>conftest.err
15204 cat conftest.err
>&5
15205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15206 (exit $ac_status); } &&
15207 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15209 (eval $ac_try) 2>&5
15211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15212 (exit $ac_status); }; } &&
15213 { ac_try
='test -s conftest$ac_exeext'
15214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15215 (eval $ac_try) 2>&5
15217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); }; }; then
15219 ac_cv_lib_soname_txc_dxtn
=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed -e "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15220 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
15222 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
15225 echo "$as_me: failed program was:" >&5
15226 sed 's/^/| /' conftest.
$ac_ext >&5
15228 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
15230 rm -f conftest.err conftest.
$ac_objext \
15231 conftest
$ac_exeext conftest.
$ac_ext
15232 LIBS
=$ac_get_soname_save_LIBS
15234 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15235 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6
15236 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15238 cat >>confdefs.h
<<_ACEOF
15239 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15244 echo "$as_me:$LINENO: checking for -lcups soname" >&5
15245 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
15246 if test "${ac_cv_lib_soname_cups+set}" = set; then
15247 echo $ECHO_N "(cached) $ECHO_C" >&6
15249 ac_get_soname_save_LIBS
=$LIBS
15250 LIBS
="-lcups $LIBS"
15251 cat >conftest.
$ac_ext <<_ACEOF
15254 cat confdefs.h
>>conftest.
$ac_ext
15255 cat >>conftest.
$ac_ext <<_ACEOF
15256 /* end confdefs.h. */
15258 /* Override any gcc2 internal prototype to avoid an error. */
15262 /* We use char because int might match the return type of a gcc2
15263 builtin and then its argument prototype would still apply. */
15264 char cupsGetDefault ();
15273 rm -f conftest.
$ac_objext conftest
$ac_exeext
15274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15275 (eval $ac_link) 2>conftest.er1
15277 grep -v '^ *+' conftest.er1
>conftest.err
15279 cat conftest.err
>&5
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); } &&
15282 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15284 (eval $ac_try) 2>&5
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); }; } &&
15288 { ac_try
='test -s conftest$ac_exeext'
15289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15290 (eval $ac_try) 2>&5
15292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15293 (exit $ac_status); }; }; then
15294 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15295 if test "x$ac_cv_lib_soname_cups" = "x"
15297 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
15300 echo "$as_me: failed program was:" >&5
15301 sed 's/^/| /' conftest.
$ac_ext >&5
15303 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
15305 rm -f conftest.err conftest.
$ac_objext \
15306 conftest
$ac_exeext conftest.
$ac_ext
15307 LIBS
=$ac_get_soname_save_LIBS
15309 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15310 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
15311 if test "${ac_cv_lib_soname_cups+set}" = set; then
15313 cat >>confdefs.h
<<_ACEOF
15314 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15319 echo "$as_me:$LINENO: checking for -ljack soname" >&5
15320 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
15321 if test "${ac_cv_lib_soname_jack+set}" = set; then
15322 echo $ECHO_N "(cached) $ECHO_C" >&6
15324 ac_get_soname_save_LIBS
=$LIBS
15325 LIBS
="-ljack $LIBS"
15326 cat >conftest.
$ac_ext <<_ACEOF
15329 cat confdefs.h
>>conftest.
$ac_ext
15330 cat >>conftest.
$ac_ext <<_ACEOF
15331 /* end confdefs.h. */
15333 /* Override any gcc2 internal prototype to avoid an error. */
15337 /* We use char because int might match the return type of a gcc2
15338 builtin and then its argument prototype would still apply. */
15339 char jack_client_new ();
15343 jack_client_new ();
15348 rm -f conftest.
$ac_objext conftest
$ac_exeext
15349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15350 (eval $ac_link) 2>conftest.er1
15352 grep -v '^ *+' conftest.er1
>conftest.err
15354 cat conftest.err
>&5
15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356 (exit $ac_status); } &&
15357 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15359 (eval $ac_try) 2>&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); }; } &&
15363 { ac_try
='test -s conftest$ac_exeext'
15364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15365 (eval $ac_try) 2>&5
15367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15368 (exit $ac_status); }; }; then
15369 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15370 if test "x$ac_cv_lib_soname_jack" = "x"
15372 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15375 echo "$as_me: failed program was:" >&5
15376 sed 's/^/| /' conftest.
$ac_ext >&5
15378 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15380 rm -f conftest.err conftest.
$ac_objext \
15381 conftest
$ac_exeext conftest.
$ac_ext
15382 LIBS
=$ac_get_soname_save_LIBS
15384 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15385 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15386 if test "${ac_cv_lib_soname_jack+set}" = set; then
15388 cat >>confdefs.h
<<_ACEOF
15389 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15394 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15395 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15396 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15397 echo $ECHO_N "(cached) $ECHO_C" >&6
15399 ac_get_soname_save_LIBS
=$LIBS
15400 LIBS
="-lfontconfig $LIBS"
15401 cat >conftest.
$ac_ext <<_ACEOF
15404 cat confdefs.h
>>conftest.
$ac_ext
15405 cat >>conftest.
$ac_ext <<_ACEOF
15406 /* end confdefs.h. */
15408 /* Override any gcc2 internal prototype to avoid an error. */
15412 /* We use char because int might match the return type of a gcc2
15413 builtin and then its argument prototype would still apply. */
15423 rm -f conftest.
$ac_objext conftest
$ac_exeext
15424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15425 (eval $ac_link) 2>conftest.er1
15427 grep -v '^ *+' conftest.er1
>conftest.err
15429 cat conftest.err
>&5
15430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 (exit $ac_status); } &&
15432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15434 (eval $ac_try) 2>&5
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); }; } &&
15438 { ac_try
='test -s conftest$ac_exeext'
15439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15440 (eval $ac_try) 2>&5
15442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443 (exit $ac_status); }; }; then
15444 ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15445 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15447 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15450 echo "$as_me: failed program was:" >&5
15451 sed 's/^/| /' conftest.
$ac_ext >&5
15453 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15455 rm -f conftest.err conftest.
$ac_objext \
15456 conftest
$ac_exeext conftest.
$ac_ext
15457 LIBS
=$ac_get_soname_save_LIBS
15459 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15460 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15461 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15463 cat >>confdefs.h
<<_ACEOF
15464 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15469 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15470 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15471 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15472 echo $ECHO_N "(cached) $ECHO_C" >&6
15474 ac_get_soname_save_LIBS
=$LIBS
15476 cat >conftest.
$ac_ext <<_ACEOF
15479 cat confdefs.h
>>conftest.
$ac_ext
15480 cat >>conftest.
$ac_ext <<_ACEOF
15481 /* end confdefs.h. */
15483 /* Override any gcc2 internal prototype to avoid an error. */
15487 /* We use char because int might match the return type of a gcc2
15488 builtin and then its argument prototype would still apply. */
15489 char SSL_library_init ();
15493 SSL_library_init ();
15498 rm -f conftest.
$ac_objext conftest
$ac_exeext
15499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15500 (eval $ac_link) 2>conftest.er1
15502 grep -v '^ *+' conftest.er1
>conftest.err
15504 cat conftest.err
>&5
15505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15506 (exit $ac_status); } &&
15507 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15509 (eval $ac_try) 2>&5
15511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15512 (exit $ac_status); }; } &&
15513 { ac_try
='test -s conftest$ac_exeext'
15514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15515 (eval $ac_try) 2>&5
15517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15518 (exit $ac_status); }; }; then
15519 ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15520 if test "x$ac_cv_lib_soname_ssl" = "x"
15522 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15525 echo "$as_me: failed program was:" >&5
15526 sed 's/^/| /' conftest.
$ac_ext >&5
15528 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15530 rm -f conftest.err conftest.
$ac_objext \
15531 conftest
$ac_exeext conftest.
$ac_ext
15532 LIBS
=$ac_get_soname_save_LIBS
15534 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15535 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15536 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15538 cat >>confdefs.h
<<_ACEOF
15539 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15544 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15545 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15546 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15547 echo $ECHO_N "(cached) $ECHO_C" >&6
15549 ac_get_soname_save_LIBS
=$LIBS
15550 LIBS
="-lcrypto $LIBS"
15551 cat >conftest.
$ac_ext <<_ACEOF
15554 cat confdefs.h
>>conftest.
$ac_ext
15555 cat >>conftest.
$ac_ext <<_ACEOF
15556 /* end confdefs.h. */
15558 /* Override any gcc2 internal prototype to avoid an error. */
15562 /* We use char because int might match the return type of a gcc2
15563 builtin and then its argument prototype would still apply. */
15564 char BIO_new_socket ();
15573 rm -f conftest.
$ac_objext conftest
$ac_exeext
15574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15575 (eval $ac_link) 2>conftest.er1
15577 grep -v '^ *+' conftest.er1
>conftest.err
15579 cat conftest.err
>&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); } &&
15582 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15584 (eval $ac_try) 2>&5
15586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587 (exit $ac_status); }; } &&
15588 { ac_try
='test -s conftest$ac_exeext'
15589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15590 (eval $ac_try) 2>&5
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); }; }; then
15594 ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15595 if test "x$ac_cv_lib_soname_crypto" = "x"
15597 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15600 echo "$as_me: failed program was:" >&5
15601 sed 's/^/| /' conftest.
$ac_ext >&5
15603 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15605 rm -f conftest.err conftest.
$ac_objext \
15606 conftest
$ac_exeext conftest.
$ac_ext
15607 LIBS
=$ac_get_soname_save_LIBS
15609 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15610 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15611 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15613 cat >>confdefs.h
<<_ACEOF
15614 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15619 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15620 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15621 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15622 echo $ECHO_N "(cached) $ECHO_C" >&6
15624 ac_get_soname_save_LIBS
=$LIBS
15625 LIBS
="-lncurses $LIBS"
15626 cat >conftest.
$ac_ext <<_ACEOF
15629 cat confdefs.h
>>conftest.
$ac_ext
15630 cat >>conftest.
$ac_ext <<_ACEOF
15631 /* end confdefs.h. */
15633 /* Override any gcc2 internal prototype to avoid an error. */
15637 /* We use char because int might match the return type of a gcc2
15638 builtin and then its argument prototype would still apply. */
15648 rm -f conftest.
$ac_objext conftest
$ac_exeext
15649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15650 (eval $ac_link) 2>conftest.er1
15652 grep -v '^ *+' conftest.er1
>conftest.err
15654 cat conftest.err
>&5
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); } &&
15657 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15659 (eval $ac_try) 2>&5
15661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15662 (exit $ac_status); }; } &&
15663 { ac_try
='test -s conftest$ac_exeext'
15664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15665 (eval $ac_try) 2>&5
15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 (exit $ac_status); }; }; then
15669 ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15670 if test "x$ac_cv_lib_soname_ncurses" = "x"
15672 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15675 echo "$as_me: failed program was:" >&5
15676 sed 's/^/| /' conftest.
$ac_ext >&5
15678 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15680 rm -f conftest.err conftest.
$ac_objext \
15681 conftest
$ac_exeext conftest.
$ac_ext
15682 LIBS
=$ac_get_soname_save_LIBS
15684 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15685 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15686 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15688 cat >>confdefs.h
<<_ACEOF
15689 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15694 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15695 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15696 if test "${ac_cv_lib_soname_curses+set}" = set; then
15697 echo $ECHO_N "(cached) $ECHO_C" >&6
15699 ac_get_soname_save_LIBS
=$LIBS
15700 LIBS
="-lcurses $LIBS"
15701 cat >conftest.
$ac_ext <<_ACEOF
15704 cat confdefs.h
>>conftest.
$ac_ext
15705 cat >>conftest.
$ac_ext <<_ACEOF
15706 /* end confdefs.h. */
15708 /* Override any gcc2 internal prototype to avoid an error. */
15712 /* We use char because int might match the return type of a gcc2
15713 builtin and then its argument prototype would still apply. */
15723 rm -f conftest.
$ac_objext conftest
$ac_exeext
15724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15725 (eval $ac_link) 2>conftest.er1
15727 grep -v '^ *+' conftest.er1
>conftest.err
15729 cat conftest.err
>&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); } &&
15732 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15734 (eval $ac_try) 2>&5
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); }; } &&
15738 { ac_try
='test -s conftest$ac_exeext'
15739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15740 (eval $ac_try) 2>&5
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); }; }; then
15744 ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15745 if test "x$ac_cv_lib_soname_curses" = "x"
15747 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15750 echo "$as_me: failed program was:" >&5
15751 sed 's/^/| /' conftest.
$ac_ext >&5
15753 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15755 rm -f conftest.err conftest.
$ac_objext \
15756 conftest
$ac_exeext conftest.
$ac_ext
15757 LIBS
=$ac_get_soname_save_LIBS
15759 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15760 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15761 if test "${ac_cv_lib_soname_curses+set}" = set; then
15763 cat >>confdefs.h
<<_ACEOF
15764 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15769 echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15770 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6
15771 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15772 echo $ECHO_N "(cached) $ECHO_C" >&6
15774 ac_get_soname_save_LIBS
=$LIBS
15775 LIBS
="-ljpeg $LIBS"
15776 cat >conftest.
$ac_ext <<_ACEOF
15779 cat confdefs.h
>>conftest.
$ac_ext
15780 cat >>conftest.
$ac_ext <<_ACEOF
15781 /* end confdefs.h. */
15783 /* Override any gcc2 internal prototype to avoid an error. */
15787 /* We use char because int might match the return type of a gcc2
15788 builtin and then its argument prototype would still apply. */
15789 char jpeg_start_decompress ();
15793 jpeg_start_decompress ();
15798 rm -f conftest.
$ac_objext conftest
$ac_exeext
15799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15800 (eval $ac_link) 2>conftest.er1
15802 grep -v '^ *+' conftest.er1
>conftest.err
15804 cat conftest.err
>&5
15805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15806 (exit $ac_status); } &&
15807 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15809 (eval $ac_try) 2>&5
15811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812 (exit $ac_status); }; } &&
15813 { ac_try
='test -s conftest$ac_exeext'
15814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15815 (eval $ac_try) 2>&5
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); }; }; then
15819 ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15820 if test "x$ac_cv_lib_soname_jpeg" = "x"
15822 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15825 echo "$as_me: failed program was:" >&5
15826 sed 's/^/| /' conftest.
$ac_ext >&5
15828 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15830 rm -f conftest.err conftest.
$ac_objext \
15831 conftest
$ac_exeext conftest.
$ac_ext
15832 LIBS
=$ac_get_soname_save_LIBS
15834 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15835 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6
15836 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15838 cat >>confdefs.h
<<_ACEOF
15839 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15844 echo "$as_me:$LINENO: checking for -lungif soname" >&5
15845 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6
15846 if test "${ac_cv_lib_soname_ungif+set}" = set; then
15847 echo $ECHO_N "(cached) $ECHO_C" >&6
15849 ac_get_soname_save_LIBS
=$LIBS
15850 LIBS
="-lungif $LIBS"
15851 cat >conftest.
$ac_ext <<_ACEOF
15854 cat confdefs.h
>>conftest.
$ac_ext
15855 cat >>conftest.
$ac_ext <<_ACEOF
15856 /* end confdefs.h. */
15858 /* Override any gcc2 internal prototype to avoid an error. */
15862 /* We use char because int might match the return type of a gcc2
15863 builtin and then its argument prototype would still apply. */
15873 rm -f conftest.
$ac_objext conftest
$ac_exeext
15874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15875 (eval $ac_link) 2>conftest.er1
15877 grep -v '^ *+' conftest.er1
>conftest.err
15879 cat conftest.err
>&5
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); } &&
15882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15884 (eval $ac_try) 2>&5
15886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); }; } &&
15888 { ac_try
='test -s conftest$ac_exeext'
15889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15890 (eval $ac_try) 2>&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); }; }; then
15894 ac_cv_lib_soname_ungif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed -e "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15895 if test "x$ac_cv_lib_soname_ungif" = "x"
15897 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
15900 echo "$as_me: failed program was:" >&5
15901 sed 's/^/| /' conftest.
$ac_ext >&5
15903 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
15905 rm -f conftest.err conftest.
$ac_objext \
15906 conftest
$ac_exeext conftest.
$ac_ext
15907 LIBS
=$ac_get_soname_save_LIBS
15909 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
15910 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6
15911 if test "${ac_cv_lib_soname_ungif+set}" = set; then
15913 cat >>confdefs.h
<<_ACEOF
15914 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
15919 echo "$as_me:$LINENO: checking for -lgif soname" >&5
15920 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6
15921 if test "${ac_cv_lib_soname_gif+set}" = set; then
15922 echo $ECHO_N "(cached) $ECHO_C" >&6
15924 ac_get_soname_save_LIBS
=$LIBS
15926 cat >conftest.
$ac_ext <<_ACEOF
15929 cat confdefs.h
>>conftest.
$ac_ext
15930 cat >>conftest.
$ac_ext <<_ACEOF
15931 /* end confdefs.h. */
15933 /* Override any gcc2 internal prototype to avoid an error. */
15937 /* We use char because int might match the return type of a gcc2
15938 builtin and then its argument prototype would still apply. */
15948 rm -f conftest.
$ac_objext conftest
$ac_exeext
15949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15950 (eval $ac_link) 2>conftest.er1
15952 grep -v '^ *+' conftest.er1
>conftest.err
15954 cat conftest.err
>&5
15955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15956 (exit $ac_status); } &&
15957 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15959 (eval $ac_try) 2>&5
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); }; } &&
15963 { ac_try
='test -s conftest$ac_exeext'
15964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15965 (eval $ac_try) 2>&5
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 (exit $ac_status); }; }; then
15969 ac_cv_lib_soname_gif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed -e "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15970 if test "x$ac_cv_lib_soname_gif" = "x"
15972 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
15975 echo "$as_me: failed program was:" >&5
15976 sed 's/^/| /' conftest.
$ac_ext >&5
15978 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
15980 rm -f conftest.err conftest.
$ac_objext \
15981 conftest
$ac_exeext conftest.
$ac_ext
15982 LIBS
=$ac_get_soname_save_LIBS
15984 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
15985 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6
15986 if test "${ac_cv_lib_soname_gif+set}" = set; then
15988 cat >>confdefs.h
<<_ACEOF
15989 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
15994 echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15995 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6
15996 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15997 echo $ECHO_N "(cached) $ECHO_C" >&6
15999 ac_get_soname_save_LIBS
=$LIBS
16000 LIBS
="-lcapi20 $LIBS"
16001 cat >conftest.
$ac_ext <<_ACEOF
16004 cat confdefs.h
>>conftest.
$ac_ext
16005 cat >>conftest.
$ac_ext <<_ACEOF
16006 /* end confdefs.h. */
16008 /* Override any gcc2 internal prototype to avoid an error. */
16012 /* We use char because int might match the return type of a gcc2
16013 builtin and then its argument prototype would still apply. */
16014 char capi20_isinstalled ();
16018 capi20_isinstalled ();
16023 rm -f conftest.
$ac_objext conftest
$ac_exeext
16024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16025 (eval $ac_link) 2>conftest.er1
16027 grep -v '^ *+' conftest.er1
>conftest.err
16029 cat conftest.err
>&5
16030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16031 (exit $ac_status); } &&
16032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16034 (eval $ac_try) 2>&5
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); }; } &&
16038 { ac_try
='test -s conftest$ac_exeext'
16039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16040 (eval $ac_try) 2>&5
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); }; }; then
16044 ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.$LIBEXT | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16045 if test "x$ac_cv_lib_soname_capi20" = "x"
16047 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
16050 echo "$as_me: failed program was:" >&5
16051 sed 's/^/| /' conftest.
$ac_ext >&5
16053 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
16055 rm -f conftest.err conftest.
$ac_objext \
16056 conftest
$ac_exeext conftest.
$ac_ext
16057 LIBS
=$ac_get_soname_save_LIBS
16059 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
16060 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6
16061 if test "${ac_cv_lib_soname_capi20+set}" = set; then
16063 cat >>confdefs.h
<<_ACEOF
16064 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
16204 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16205 echo "$as_me:$LINENO: checking for $ac_func" >&5
16206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16207 if eval "test \"\${$as_ac_var+set}\" = set"; then
16208 echo $ECHO_N "(cached) $ECHO_C" >&6
16210 cat >conftest.
$ac_ext <<_ACEOF
16213 cat confdefs.h
>>conftest.
$ac_ext
16214 cat >>conftest.
$ac_ext <<_ACEOF
16215 /* end confdefs.h. */
16216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16218 #define $ac_func innocuous_$ac_func
16220 /* System header to define __stub macros and hopefully few prototypes,
16221 which can conflict with char $ac_func (); below.
16222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16223 <limits.h> exists even on freestanding compilers. */
16226 # include <limits.h>
16228 # include <assert.h>
16233 /* Override any gcc2 internal prototype to avoid an error. */
16238 /* We use char because int might match the return type of a gcc2
16239 builtin and then its argument prototype would still apply. */
16241 /* The GNU C library defines this for functions which it implements
16242 to always fail with ENOSYS. Some functions are actually named
16243 something starting with __ and the normal name is an alias. */
16244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16247 char (*f) () = $ac_func;
16256 return f != $ac_func;
16261 rm -f conftest.
$ac_objext conftest
$ac_exeext
16262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16263 (eval $ac_link) 2>conftest.er1
16265 grep -v '^ *+' conftest.er1
>conftest.err
16267 cat conftest.err
>&5
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); } &&
16270 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16272 (eval $ac_try) 2>&5
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); }; } &&
16276 { ac_try
='test -s conftest$ac_exeext'
16277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16278 (eval $ac_try) 2>&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); }; }; then
16282 eval "$as_ac_var=yes"
16284 echo "$as_me: failed program was:" >&5
16285 sed 's/^/| /' conftest.
$ac_ext >&5
16287 eval "$as_ac_var=no"
16289 rm -f conftest.err conftest.
$ac_objext \
16290 conftest
$ac_exeext conftest.
$ac_ext
16292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16294 if test `eval echo '${'$as_ac_var'}'` = yes; then
16295 cat >>confdefs.h
<<_ACEOF
16296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16305 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16306 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16307 if test "${ac_cv_c_const+set}" = set; then
16308 echo $ECHO_N "(cached) $ECHO_C" >&6
16310 cat >conftest.
$ac_ext <<_ACEOF
16313 cat confdefs.h
>>conftest.
$ac_ext
16314 cat >>conftest.
$ac_ext <<_ACEOF
16315 /* end confdefs.h. */
16320 /* FIXME: Include the comments suggested by Paul. */
16321 #ifndef __cplusplus
16322 /* Ultrix mips cc rejects this. */
16323 typedef int charset[2];
16325 /* SunOS 4.1.1 cc rejects this. */
16326 char const *const *ccp;
16328 /* NEC SVR4.0.2 mips cc rejects this. */
16329 struct point {int x, y;};
16330 static struct point const zero = {0,0};
16331 /* AIX XL C 1.02.0.0 rejects this.
16332 It does not let you subtract one const X* pointer from another in
16333 an arm of an if-expression whose if-part is not a constant
16335 const char *g = "string";
16336 ccp = &g + (g ? g-g : 0);
16337 /* HPUX 7.0 cc rejects these. */
16340 ccp = (char const *const *) p;
16341 { /* SCO 3.2v4 cc rejects this. */
16343 char const *s = 0 ? (char *) 0 : (char const *) 0;
16347 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16348 int x[] = {25, 17};
16349 const int *foo = &x[0];
16352 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16353 typedef const int *iptr;
16357 { /* AIX XL C 1.02.0.0 rejects this saying
16358 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16359 struct s { int j; const int *ap[3]; };
16360 struct s *b; b->j = 5;
16362 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16363 const int foo = 10;
16371 rm -f conftest.
$ac_objext
16372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16373 (eval $ac_compile) 2>conftest.er1
16375 grep -v '^ *+' conftest.er1
>conftest.err
16377 cat conftest.err
>&5
16378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16379 (exit $ac_status); } &&
16380 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16382 (eval $ac_try) 2>&5
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); }; } &&
16386 { ac_try
='test -s conftest.$ac_objext'
16387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16388 (eval $ac_try) 2>&5
16390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391 (exit $ac_status); }; }; then
16394 echo "$as_me: failed program was:" >&5
16395 sed 's/^/| /' conftest.
$ac_ext >&5
16399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16401 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16402 echo "${ECHO_T}$ac_cv_c_const" >&6
16403 if test $ac_cv_c_const = no
; then
16405 cat >>confdefs.h
<<\_ACEOF
16411 echo "$as_me:$LINENO: checking for inline" >&5
16412 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16413 if test "${ac_cv_c_inline+set}" = set; then
16414 echo $ECHO_N "(cached) $ECHO_C" >&6
16417 for ac_kw
in inline __inline__ __inline
; do
16418 cat >conftest.
$ac_ext <<_ACEOF
16421 cat confdefs.h
>>conftest.
$ac_ext
16422 cat >>conftest.
$ac_ext <<_ACEOF
16423 /* end confdefs.h. */
16424 #ifndef __cplusplus
16426 static $ac_kw foo_t static_foo () {return 0; }
16427 $ac_kw foo_t foo () {return 0; }
16431 rm -f conftest.
$ac_objext
16432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16433 (eval $ac_compile) 2>conftest.er1
16435 grep -v '^ *+' conftest.er1
>conftest.err
16437 cat conftest.err
>&5
16438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16439 (exit $ac_status); } &&
16440 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16442 (eval $ac_try) 2>&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); }; } &&
16446 { ac_try
='test -s conftest.$ac_objext'
16447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16448 (eval $ac_try) 2>&5
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); }; }; then
16452 ac_cv_c_inline
=$ac_kw; break
16454 echo "$as_me: failed program was:" >&5
16455 sed 's/^/| /' conftest.
$ac_ext >&5
16458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16462 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16463 echo "${ECHO_T}$ac_cv_c_inline" >&6
16466 case $ac_cv_c_inline in
16469 case $ac_cv_c_inline in
16471 *) ac_val
=$ac_cv_c_inline;;
16473 cat >>confdefs.h
<<_ACEOF
16474 #ifndef __cplusplus
16475 #define inline $ac_val
16481 echo "$as_me:$LINENO: checking for mode_t" >&5
16482 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
16483 if test "${ac_cv_type_mode_t+set}" = set; then
16484 echo $ECHO_N "(cached) $ECHO_C" >&6
16486 cat >conftest.
$ac_ext <<_ACEOF
16489 cat confdefs.h
>>conftest.
$ac_ext
16490 cat >>conftest.
$ac_ext <<_ACEOF
16491 /* end confdefs.h. */
16492 $ac_includes_default
16498 if (sizeof (mode_t))
16504 rm -f conftest.
$ac_objext
16505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16506 (eval $ac_compile) 2>conftest.er1
16508 grep -v '^ *+' conftest.er1
>conftest.err
16510 cat conftest.err
>&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); } &&
16513 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16515 (eval $ac_try) 2>&5
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); }; } &&
16519 { ac_try
='test -s conftest.$ac_objext'
16520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16521 (eval $ac_try) 2>&5
16523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16524 (exit $ac_status); }; }; then
16525 ac_cv_type_mode_t
=yes
16527 echo "$as_me: failed program was:" >&5
16528 sed 's/^/| /' conftest.
$ac_ext >&5
16530 ac_cv_type_mode_t
=no
16532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16534 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16535 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
16536 if test $ac_cv_type_mode_t = yes; then
16538 cat >>confdefs.h
<<_ACEOF
16539 #define HAVE_MODE_T 1
16544 echo "$as_me:$LINENO: checking for off_t" >&5
16545 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
16546 if test "${ac_cv_type_off_t+set}" = set; then
16547 echo $ECHO_N "(cached) $ECHO_C" >&6
16549 cat >conftest.
$ac_ext <<_ACEOF
16552 cat confdefs.h
>>conftest.
$ac_ext
16553 cat >>conftest.
$ac_ext <<_ACEOF
16554 /* end confdefs.h. */
16555 $ac_includes_default
16561 if (sizeof (off_t))
16567 rm -f conftest.
$ac_objext
16568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16569 (eval $ac_compile) 2>conftest.er1
16571 grep -v '^ *+' conftest.er1
>conftest.err
16573 cat conftest.err
>&5
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); } &&
16576 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16578 (eval $ac_try) 2>&5
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); }; } &&
16582 { ac_try
='test -s conftest.$ac_objext'
16583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16584 (eval $ac_try) 2>&5
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); }; }; then
16588 ac_cv_type_off_t
=yes
16590 echo "$as_me: failed program was:" >&5
16591 sed 's/^/| /' conftest.
$ac_ext >&5
16593 ac_cv_type_off_t
=no
16595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16597 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16598 echo "${ECHO_T}$ac_cv_type_off_t" >&6
16599 if test $ac_cv_type_off_t = yes; then
16601 cat >>confdefs.h
<<_ACEOF
16602 #define HAVE_OFF_T 1
16607 echo "$as_me:$LINENO: checking for pid_t" >&5
16608 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
16609 if test "${ac_cv_type_pid_t+set}" = set; then
16610 echo $ECHO_N "(cached) $ECHO_C" >&6
16612 cat >conftest.
$ac_ext <<_ACEOF
16615 cat confdefs.h
>>conftest.
$ac_ext
16616 cat >>conftest.
$ac_ext <<_ACEOF
16617 /* end confdefs.h. */
16618 $ac_includes_default
16624 if (sizeof (pid_t))
16630 rm -f conftest.
$ac_objext
16631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16632 (eval $ac_compile) 2>conftest.er1
16634 grep -v '^ *+' conftest.er1
>conftest.err
16636 cat conftest.err
>&5
16637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16638 (exit $ac_status); } &&
16639 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16641 (eval $ac_try) 2>&5
16643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16644 (exit $ac_status); }; } &&
16645 { ac_try
='test -s conftest.$ac_objext'
16646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16647 (eval $ac_try) 2>&5
16649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16650 (exit $ac_status); }; }; then
16651 ac_cv_type_pid_t
=yes
16653 echo "$as_me: failed program was:" >&5
16654 sed 's/^/| /' conftest.
$ac_ext >&5
16656 ac_cv_type_pid_t
=no
16658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16660 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16661 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
16662 if test $ac_cv_type_pid_t = yes; then
16664 cat >>confdefs.h
<<_ACEOF
16665 #define HAVE_PID_T 1
16670 echo "$as_me:$LINENO: checking for size_t" >&5
16671 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16672 if test "${ac_cv_type_size_t+set}" = set; then
16673 echo $ECHO_N "(cached) $ECHO_C" >&6
16675 cat >conftest.
$ac_ext <<_ACEOF
16678 cat confdefs.h
>>conftest.
$ac_ext
16679 cat >>conftest.
$ac_ext <<_ACEOF
16680 /* end confdefs.h. */
16681 $ac_includes_default
16687 if (sizeof (size_t))
16693 rm -f conftest.
$ac_objext
16694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16695 (eval $ac_compile) 2>conftest.er1
16697 grep -v '^ *+' conftest.er1
>conftest.err
16699 cat conftest.err
>&5
16700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 (exit $ac_status); } &&
16702 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16704 (eval $ac_try) 2>&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); }; } &&
16708 { ac_try
='test -s conftest.$ac_objext'
16709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16710 (eval $ac_try) 2>&5
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); }; }; then
16714 ac_cv_type_size_t
=yes
16716 echo "$as_me: failed program was:" >&5
16717 sed 's/^/| /' conftest.
$ac_ext >&5
16719 ac_cv_type_size_t
=no
16721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16723 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16724 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16725 if test $ac_cv_type_size_t = yes; then
16727 cat >>confdefs.h
<<_ACEOF
16728 #define HAVE_SIZE_T 1
16733 echo "$as_me:$LINENO: checking for ssize_t" >&5
16734 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
16735 if test "${ac_cv_type_ssize_t+set}" = set; then
16736 echo $ECHO_N "(cached) $ECHO_C" >&6
16738 cat >conftest.
$ac_ext <<_ACEOF
16741 cat confdefs.h
>>conftest.
$ac_ext
16742 cat >>conftest.
$ac_ext <<_ACEOF
16743 /* end confdefs.h. */
16744 $ac_includes_default
16750 if (sizeof (ssize_t))
16756 rm -f conftest.
$ac_objext
16757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16758 (eval $ac_compile) 2>conftest.er1
16760 grep -v '^ *+' conftest.er1
>conftest.err
16762 cat conftest.err
>&5
16763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); } &&
16765 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16767 (eval $ac_try) 2>&5
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); }; } &&
16771 { ac_try
='test -s conftest.$ac_objext'
16772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16773 (eval $ac_try) 2>&5
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); }; }; then
16777 ac_cv_type_ssize_t
=yes
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.
$ac_ext >&5
16782 ac_cv_type_ssize_t
=no
16784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16786 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16787 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
16788 if test $ac_cv_type_ssize_t = yes; then
16790 cat >>confdefs.h
<<_ACEOF
16791 #define HAVE_SSIZE_T 1
16796 echo "$as_me:$LINENO: checking for long long" >&5
16797 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16798 if test "${ac_cv_type_long_long+set}" = set; then
16799 echo $ECHO_N "(cached) $ECHO_C" >&6
16801 cat >conftest.
$ac_ext <<_ACEOF
16804 cat confdefs.h
>>conftest.
$ac_ext
16805 cat >>conftest.
$ac_ext <<_ACEOF
16806 /* end confdefs.h. */
16807 $ac_includes_default
16811 if ((long long *) 0)
16813 if (sizeof (long long))
16819 rm -f conftest.
$ac_objext
16820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16821 (eval $ac_compile) 2>conftest.er1
16823 grep -v '^ *+' conftest.er1
>conftest.err
16825 cat conftest.err
>&5
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); } &&
16828 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16830 (eval $ac_try) 2>&5
16832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16833 (exit $ac_status); }; } &&
16834 { ac_try
='test -s conftest.$ac_objext'
16835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16836 (eval $ac_try) 2>&5
16838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839 (exit $ac_status); }; }; then
16840 ac_cv_type_long_long
=yes
16842 echo "$as_me: failed program was:" >&5
16843 sed 's/^/| /' conftest.
$ac_ext >&5
16845 ac_cv_type_long_long
=no
16847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16849 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16850 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16851 if test $ac_cv_type_long_long = yes; then
16853 cat >>confdefs.h
<<_ACEOF
16854 #define HAVE_LONG_LONG 1
16859 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
16860 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
16861 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
16862 echo $ECHO_N "(cached) $ECHO_C" >&6
16864 cat >conftest.
$ac_ext <<_ACEOF
16867 cat confdefs.h
>>conftest.
$ac_ext
16868 cat >>conftest.
$ac_ext <<_ACEOF
16869 /* end confdefs.h. */
16870 $ac_includes_default
16874 if ((fsblkcnt_t *) 0)
16876 if (sizeof (fsblkcnt_t))
16882 rm -f conftest.
$ac_objext
16883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16884 (eval $ac_compile) 2>conftest.er1
16886 grep -v '^ *+' conftest.er1
>conftest.err
16888 cat conftest.err
>&5
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); } &&
16891 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16893 (eval $ac_try) 2>&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); }; } &&
16897 { ac_try
='test -s conftest.$ac_objext'
16898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16899 (eval $ac_try) 2>&5
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); }; }; then
16903 ac_cv_type_fsblkcnt_t
=yes
16905 echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.
$ac_ext >&5
16908 ac_cv_type_fsblkcnt_t
=no
16910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16912 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
16913 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
16914 if test $ac_cv_type_fsblkcnt_t = yes; then
16916 cat >>confdefs.h
<<_ACEOF
16917 #define HAVE_FSBLKCNT_T 1
16922 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
16923 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
16924 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
16925 echo $ECHO_N "(cached) $ECHO_C" >&6
16927 cat >conftest.
$ac_ext <<_ACEOF
16930 cat confdefs.h
>>conftest.
$ac_ext
16931 cat >>conftest.
$ac_ext <<_ACEOF
16932 /* end confdefs.h. */
16933 $ac_includes_default
16937 if ((fsfilcnt_t *) 0)
16939 if (sizeof (fsfilcnt_t))
16945 rm -f conftest.
$ac_objext
16946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16947 (eval $ac_compile) 2>conftest.er1
16949 grep -v '^ *+' conftest.er1
>conftest.err
16951 cat conftest.err
>&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); } &&
16954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16956 (eval $ac_try) 2>&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); }; } &&
16960 { ac_try
='test -s conftest.$ac_objext'
16961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16962 (eval $ac_try) 2>&5
16964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16965 (exit $ac_status); }; }; then
16966 ac_cv_type_fsfilcnt_t
=yes
16968 echo "$as_me: failed program was:" >&5
16969 sed 's/^/| /' conftest.
$ac_ext >&5
16971 ac_cv_type_fsfilcnt_t
=no
16973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16975 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
16976 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
16977 if test $ac_cv_type_fsfilcnt_t = yes; then
16979 cat >>confdefs.h
<<_ACEOF
16980 #define HAVE_FSFILCNT_T 1
16986 echo "$as_me:$LINENO: checking for sigset_t" >&5
16987 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6
16988 if test "${ac_cv_type_sigset_t+set}" = set; then
16989 echo $ECHO_N "(cached) $ECHO_C" >&6
16991 cat >conftest.
$ac_ext <<_ACEOF
16994 cat confdefs.h
>>conftest.
$ac_ext
16995 cat >>conftest.
$ac_ext <<_ACEOF
16996 /* end confdefs.h. */
16997 #include <signal.h>
17002 if ((sigset_t *) 0)
17004 if (sizeof (sigset_t))
17010 rm -f conftest.
$ac_objext
17011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17012 (eval $ac_compile) 2>conftest.er1
17014 grep -v '^ *+' conftest.er1
>conftest.err
17016 cat conftest.err
>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } &&
17019 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17021 (eval $ac_try) 2>&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }; } &&
17025 { ac_try
='test -s conftest.$ac_objext'
17026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17027 (eval $ac_try) 2>&5
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); }; }; then
17031 ac_cv_type_sigset_t
=yes
17033 echo "$as_me: failed program was:" >&5
17034 sed 's/^/| /' conftest.
$ac_ext >&5
17036 ac_cv_type_sigset_t
=no
17038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17040 echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17041 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6
17042 if test $ac_cv_type_sigset_t = yes; then
17044 cat >>confdefs.h
<<_ACEOF
17045 #define HAVE_SIGSET_T 1
17051 echo "$as_me:$LINENO: checking for request_sense" >&5
17052 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6
17053 if test "${ac_cv_type_request_sense+set}" = set; then
17054 echo $ECHO_N "(cached) $ECHO_C" >&6
17056 cat >conftest.
$ac_ext <<_ACEOF
17059 cat confdefs.h
>>conftest.
$ac_ext
17060 cat >>conftest.
$ac_ext <<_ACEOF
17061 /* end confdefs.h. */
17062 #include <linux/cdrom.h>
17067 if ((request_sense *) 0)
17069 if (sizeof (request_sense))
17075 rm -f conftest.
$ac_objext
17076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17077 (eval $ac_compile) 2>conftest.er1
17079 grep -v '^ *+' conftest.er1
>conftest.err
17081 cat conftest.err
>&5
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); } &&
17084 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17086 (eval $ac_try) 2>&5
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); }; } &&
17090 { ac_try
='test -s conftest.$ac_objext'
17091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17092 (eval $ac_try) 2>&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); }; }; then
17096 ac_cv_type_request_sense
=yes
17098 echo "$as_me: failed program was:" >&5
17099 sed 's/^/| /' conftest.
$ac_ext >&5
17101 ac_cv_type_request_sense
=no
17103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17105 echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17106 echo "${ECHO_T}$ac_cv_type_request_sense" >&6
17107 if test $ac_cv_type_request_sense = yes; then
17109 cat >>confdefs.h
<<_ACEOF
17110 #define HAVE_REQUEST_SENSE 1
17117 echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17118 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6
17119 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17120 echo $ECHO_N "(cached) $ECHO_C" >&6
17122 cat >conftest.
$ac_ext <<_ACEOF
17125 cat confdefs.h
>>conftest.
$ac_ext
17126 cat >>conftest.
$ac_ext <<_ACEOF
17127 /* end confdefs.h. */
17128 #ifdef HAVE_LINUX_INPUT_H
17129 #include <linux/input.h>
17135 static struct ff_effect ac_aggr;
17136 if (ac_aggr.direction)
17142 rm -f conftest.
$ac_objext
17143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17144 (eval $ac_compile) 2>conftest.er1
17146 grep -v '^ *+' conftest.er1
>conftest.err
17148 cat conftest.err
>&5
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); } &&
17151 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17153 (eval $ac_try) 2>&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); }; } &&
17157 { ac_try
='test -s conftest.$ac_objext'
17158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17159 (eval $ac_try) 2>&5
17161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162 (exit $ac_status); }; }; then
17163 ac_cv_member_struct_ff_effect_direction
=yes
17165 echo "$as_me: failed program was:" >&5
17166 sed 's/^/| /' conftest.
$ac_ext >&5
17168 cat >conftest.
$ac_ext <<_ACEOF
17171 cat confdefs.h
>>conftest.
$ac_ext
17172 cat >>conftest.
$ac_ext <<_ACEOF
17173 /* end confdefs.h. */
17174 #ifdef HAVE_LINUX_INPUT_H
17175 #include <linux/input.h>
17181 static struct ff_effect ac_aggr;
17182 if (sizeof ac_aggr.direction)
17188 rm -f conftest.
$ac_objext
17189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17190 (eval $ac_compile) 2>conftest.er1
17192 grep -v '^ *+' conftest.er1
>conftest.err
17194 cat conftest.err
>&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); } &&
17197 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17199 (eval $ac_try) 2>&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); }; } &&
17203 { ac_try
='test -s conftest.$ac_objext'
17204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17205 (eval $ac_try) 2>&5
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); }; }; then
17209 ac_cv_member_struct_ff_effect_direction
=yes
17211 echo "$as_me: failed program was:" >&5
17212 sed 's/^/| /' conftest.
$ac_ext >&5
17214 ac_cv_member_struct_ff_effect_direction
=no
17216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17220 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17221 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6
17222 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17224 cat >>confdefs.h
<<_ACEOF
17225 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17232 echo "$as_me:$LINENO: checking for sigaddset" >&5
17233 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6
17234 if test "${wine_cv_have_sigaddset+set}" = set; then
17235 echo $ECHO_N "(cached) $ECHO_C" >&6
17237 cat >conftest.
$ac_ext <<_ACEOF
17240 cat confdefs.h
>>conftest.
$ac_ext
17241 cat >>conftest.
$ac_ext <<_ACEOF
17242 /* end confdefs.h. */
17243 #include <signal.h>
17247 sigset_t set; sigaddset(&set,SIGTERM);
17252 rm -f conftest.
$ac_objext conftest
$ac_exeext
17253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17254 (eval $ac_link) 2>conftest.er1
17256 grep -v '^ *+' conftest.er1
>conftest.err
17258 cat conftest.err
>&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } &&
17261 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17263 (eval $ac_try) 2>&5
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); }; } &&
17267 { ac_try
='test -s conftest$ac_exeext'
17268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17269 (eval $ac_try) 2>&5
17271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17272 (exit $ac_status); }; }; then
17273 wine_cv_have_sigaddset
=yes
17275 echo "$as_me: failed program was:" >&5
17276 sed 's/^/| /' conftest.
$ac_ext >&5
17278 wine_cv_have_sigaddset
=no
17280 rm -f conftest.err conftest.
$ac_objext \
17281 conftest
$ac_exeext conftest.
$ac_ext
17283 echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17284 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6
17285 if test "$wine_cv_have_sigaddset" = "yes"
17288 cat >>confdefs.h
<<\_ACEOF
17289 #define HAVE_SIGADDSET 1
17295 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17296 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
17297 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17298 echo $ECHO_N "(cached) $ECHO_C" >&6
17300 cat >conftest.
$ac_ext <<_ACEOF
17303 cat confdefs.h
>>conftest.
$ac_ext
17304 cat >>conftest.
$ac_ext <<_ACEOF
17305 /* end confdefs.h. */
17315 struct hostent *result;
17322 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17323 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17329 rm -f conftest.
$ac_objext conftest
$ac_exeext
17330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17331 (eval $ac_link) 2>conftest.er1
17333 grep -v '^ *+' conftest.er1
>conftest.err
17335 cat conftest.err
>&5
17336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17337 (exit $ac_status); } &&
17338 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17340 (eval $ac_try) 2>&5
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); }; } &&
17344 { ac_try
='test -s conftest$ac_exeext'
17345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17346 (eval $ac_try) 2>&5
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); }; }; then
17350 wine_cv_linux_gethostbyname_r_6
=yes
17352 echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.
$ac_ext >&5
17355 wine_cv_linux_gethostbyname_r_6
=no
17358 rm -f conftest.err conftest.
$ac_objext \
17359 conftest
$ac_exeext conftest.
$ac_ext
17362 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17363 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
17364 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17367 cat >>confdefs.h
<<\_ACEOF
17368 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17373 if test "$ac_cv_header_linux_joystick_h" = "yes"
17375 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17376 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
17377 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17378 echo $ECHO_N "(cached) $ECHO_C" >&6
17380 cat >conftest.
$ac_ext <<_ACEOF
17383 cat confdefs.h
>>conftest.
$ac_ext
17384 cat >>conftest.
$ac_ext <<_ACEOF
17385 /* end confdefs.h. */
17387 #include <sys/ioctl.h>
17388 #include <linux/joystick.h>
17390 struct js_event blub;
17391 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17392 #error "no 2.2 header"
17403 rm -f conftest.
$ac_objext
17404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17405 (eval $ac_compile) 2>conftest.er1
17407 grep -v '^ *+' conftest.er1
>conftest.err
17409 cat conftest.err
>&5
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); } &&
17412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17414 (eval $ac_try) 2>&5
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); }; } &&
17418 { ac_try
='test -s conftest.$ac_objext'
17419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17420 (eval $ac_try) 2>&5
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); }; }; then
17424 wine_cv_linux_joystick_22_api
=yes
17426 echo "$as_me: failed program was:" >&5
17427 sed 's/^/| /' conftest.
$ac_ext >&5
17429 wine_cv_linux_joystick_22_api
=no
17431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17434 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17435 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
17436 if test "$wine_cv_linux_joystick_22_api" = "yes"
17439 cat >>confdefs.h
<<\_ACEOF
17440 #define HAVE_LINUX_22_JOYSTICK_API 1
17447 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17448 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
17449 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17450 echo $ECHO_N "(cached) $ECHO_C" >&6
17452 cat >conftest.
$ac_ext <<_ACEOF
17455 cat confdefs.h
>>conftest.
$ac_ext
17456 cat >>conftest.
$ac_ext <<_ACEOF
17457 /* end confdefs.h. */
17458 #include <sys/types.h>
17459 #ifdef HAVE_SYS_PARAM_H
17460 # include <sys/param.h>
17462 #ifdef HAVE_SYS_MOUNT_H
17463 # include <sys/mount.h>
17465 #ifdef HAVE_SYS_VFS_H
17466 # include <sys/vfs.h>
17468 #ifdef HAVE_SYS_STATFS_H
17469 # include <sys/statfs.h>
17475 static struct statfs ac_aggr;
17476 if (ac_aggr.f_bfree)
17482 rm -f conftest.
$ac_objext
17483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17484 (eval $ac_compile) 2>conftest.er1
17486 grep -v '^ *+' conftest.er1
>conftest.err
17488 cat conftest.err
>&5
17489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490 (exit $ac_status); } &&
17491 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17493 (eval $ac_try) 2>&5
17495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17496 (exit $ac_status); }; } &&
17497 { ac_try
='test -s conftest.$ac_objext'
17498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17499 (eval $ac_try) 2>&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); }; }; then
17503 ac_cv_member_struct_statfs_f_bfree
=yes
17505 echo "$as_me: failed program was:" >&5
17506 sed 's/^/| /' conftest.
$ac_ext >&5
17508 cat >conftest.
$ac_ext <<_ACEOF
17511 cat confdefs.h
>>conftest.
$ac_ext
17512 cat >>conftest.
$ac_ext <<_ACEOF
17513 /* end confdefs.h. */
17514 #include <sys/types.h>
17515 #ifdef HAVE_SYS_PARAM_H
17516 # include <sys/param.h>
17518 #ifdef HAVE_SYS_MOUNT_H
17519 # include <sys/mount.h>
17521 #ifdef HAVE_SYS_VFS_H
17522 # include <sys/vfs.h>
17524 #ifdef HAVE_SYS_STATFS_H
17525 # include <sys/statfs.h>
17531 static struct statfs ac_aggr;
17532 if (sizeof ac_aggr.f_bfree)
17538 rm -f conftest.
$ac_objext
17539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17540 (eval $ac_compile) 2>conftest.er1
17542 grep -v '^ *+' conftest.er1
>conftest.err
17544 cat conftest.err
>&5
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); } &&
17547 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17549 (eval $ac_try) 2>&5
17551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17552 (exit $ac_status); }; } &&
17553 { ac_try
='test -s conftest.$ac_objext'
17554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17555 (eval $ac_try) 2>&5
17557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17558 (exit $ac_status); }; }; then
17559 ac_cv_member_struct_statfs_f_bfree
=yes
17561 echo "$as_me: failed program was:" >&5
17562 sed 's/^/| /' conftest.
$ac_ext >&5
17564 ac_cv_member_struct_statfs_f_bfree
=no
17566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17570 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17571 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
17572 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17574 cat >>confdefs.h
<<_ACEOF
17575 #define HAVE_STRUCT_STATFS_F_BFREE 1
17580 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17581 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
17582 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17583 echo $ECHO_N "(cached) $ECHO_C" >&6
17585 cat >conftest.
$ac_ext <<_ACEOF
17588 cat confdefs.h
>>conftest.
$ac_ext
17589 cat >>conftest.
$ac_ext <<_ACEOF
17590 /* end confdefs.h. */
17591 #include <sys/types.h>
17592 #ifdef HAVE_SYS_PARAM_H
17593 # include <sys/param.h>
17595 #ifdef HAVE_SYS_MOUNT_H
17596 # include <sys/mount.h>
17598 #ifdef HAVE_SYS_VFS_H
17599 # include <sys/vfs.h>
17601 #ifdef HAVE_SYS_STATFS_H
17602 # include <sys/statfs.h>
17608 static struct statfs ac_aggr;
17609 if (ac_aggr.f_bavail)
17615 rm -f conftest.
$ac_objext
17616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17617 (eval $ac_compile) 2>conftest.er1
17619 grep -v '^ *+' conftest.er1
>conftest.err
17621 cat conftest.err
>&5
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); } &&
17624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17626 (eval $ac_try) 2>&5
17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629 (exit $ac_status); }; } &&
17630 { ac_try
='test -s conftest.$ac_objext'
17631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17632 (eval $ac_try) 2>&5
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); }; }; then
17636 ac_cv_member_struct_statfs_f_bavail
=yes
17638 echo "$as_me: failed program was:" >&5
17639 sed 's/^/| /' conftest.
$ac_ext >&5
17641 cat >conftest.
$ac_ext <<_ACEOF
17644 cat confdefs.h
>>conftest.
$ac_ext
17645 cat >>conftest.
$ac_ext <<_ACEOF
17646 /* end confdefs.h. */
17647 #include <sys/types.h>
17648 #ifdef HAVE_SYS_PARAM_H
17649 # include <sys/param.h>
17651 #ifdef HAVE_SYS_MOUNT_H
17652 # include <sys/mount.h>
17654 #ifdef HAVE_SYS_VFS_H
17655 # include <sys/vfs.h>
17657 #ifdef HAVE_SYS_STATFS_H
17658 # include <sys/statfs.h>
17664 static struct statfs ac_aggr;
17665 if (sizeof ac_aggr.f_bavail)
17671 rm -f conftest.
$ac_objext
17672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17673 (eval $ac_compile) 2>conftest.er1
17675 grep -v '^ *+' conftest.er1
>conftest.err
17677 cat conftest.err
>&5
17678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17679 (exit $ac_status); } &&
17680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17682 (eval $ac_try) 2>&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); }; } &&
17686 { ac_try
='test -s conftest.$ac_objext'
17687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17688 (eval $ac_try) 2>&5
17690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691 (exit $ac_status); }; }; then
17692 ac_cv_member_struct_statfs_f_bavail
=yes
17694 echo "$as_me: failed program was:" >&5
17695 sed 's/^/| /' conftest.
$ac_ext >&5
17697 ac_cv_member_struct_statfs_f_bavail
=no
17699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17703 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17704 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
17705 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17707 cat >>confdefs.h
<<_ACEOF
17708 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17713 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17714 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
17715 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17716 echo $ECHO_N "(cached) $ECHO_C" >&6
17718 cat >conftest.
$ac_ext <<_ACEOF
17721 cat confdefs.h
>>conftest.
$ac_ext
17722 cat >>conftest.
$ac_ext <<_ACEOF
17723 /* end confdefs.h. */
17724 #include <sys/types.h>
17725 #ifdef HAVE_SYS_PARAM_H
17726 # include <sys/param.h>
17728 #ifdef HAVE_SYS_MOUNT_H
17729 # include <sys/mount.h>
17731 #ifdef HAVE_SYS_VFS_H
17732 # include <sys/vfs.h>
17734 #ifdef HAVE_SYS_STATFS_H
17735 # include <sys/statfs.h>
17741 static struct statfs ac_aggr;
17742 if (ac_aggr.f_frsize)
17748 rm -f conftest.
$ac_objext
17749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17750 (eval $ac_compile) 2>conftest.er1
17752 grep -v '^ *+' conftest.er1
>conftest.err
17754 cat conftest.err
>&5
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); } &&
17757 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17759 (eval $ac_try) 2>&5
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); }; } &&
17763 { ac_try
='test -s conftest.$ac_objext'
17764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17765 (eval $ac_try) 2>&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); }; }; then
17769 ac_cv_member_struct_statfs_f_frsize
=yes
17771 echo "$as_me: failed program was:" >&5
17772 sed 's/^/| /' conftest.
$ac_ext >&5
17774 cat >conftest.
$ac_ext <<_ACEOF
17777 cat confdefs.h
>>conftest.
$ac_ext
17778 cat >>conftest.
$ac_ext <<_ACEOF
17779 /* end confdefs.h. */
17780 #include <sys/types.h>
17781 #ifdef HAVE_SYS_PARAM_H
17782 # include <sys/param.h>
17784 #ifdef HAVE_SYS_MOUNT_H
17785 # include <sys/mount.h>
17787 #ifdef HAVE_SYS_VFS_H
17788 # include <sys/vfs.h>
17790 #ifdef HAVE_SYS_STATFS_H
17791 # include <sys/statfs.h>
17797 static struct statfs ac_aggr;
17798 if (sizeof ac_aggr.f_frsize)
17804 rm -f conftest.
$ac_objext
17805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17806 (eval $ac_compile) 2>conftest.er1
17808 grep -v '^ *+' conftest.er1
>conftest.err
17810 cat conftest.err
>&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); } &&
17813 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17815 (eval $ac_try) 2>&5
17817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 (exit $ac_status); }; } &&
17819 { ac_try
='test -s conftest.$ac_objext'
17820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17821 (eval $ac_try) 2>&5
17823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824 (exit $ac_status); }; }; then
17825 ac_cv_member_struct_statfs_f_frsize
=yes
17827 echo "$as_me: failed program was:" >&5
17828 sed 's/^/| /' conftest.
$ac_ext >&5
17830 ac_cv_member_struct_statfs_f_frsize
=no
17832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17836 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17837 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
17838 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17840 cat >>confdefs.h
<<_ACEOF
17841 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17846 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17847 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
17848 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17849 echo $ECHO_N "(cached) $ECHO_C" >&6
17851 cat >conftest.
$ac_ext <<_ACEOF
17854 cat confdefs.h
>>conftest.
$ac_ext
17855 cat >>conftest.
$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17857 #include <sys/types.h>
17858 #ifdef HAVE_SYS_PARAM_H
17859 # include <sys/param.h>
17861 #ifdef HAVE_SYS_MOUNT_H
17862 # include <sys/mount.h>
17864 #ifdef HAVE_SYS_VFS_H
17865 # include <sys/vfs.h>
17867 #ifdef HAVE_SYS_STATFS_H
17868 # include <sys/statfs.h>
17874 static struct statfs ac_aggr;
17875 if (ac_aggr.f_ffree)
17881 rm -f conftest.
$ac_objext
17882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17883 (eval $ac_compile) 2>conftest.er1
17885 grep -v '^ *+' conftest.er1
>conftest.err
17887 cat conftest.err
>&5
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); } &&
17890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17892 (eval $ac_try) 2>&5
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); }; } &&
17896 { ac_try
='test -s conftest.$ac_objext'
17897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17898 (eval $ac_try) 2>&5
17900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17901 (exit $ac_status); }; }; then
17902 ac_cv_member_struct_statfs_f_ffree
=yes
17904 echo "$as_me: failed program was:" >&5
17905 sed 's/^/| /' conftest.
$ac_ext >&5
17907 cat >conftest.
$ac_ext <<_ACEOF
17910 cat confdefs.h
>>conftest.
$ac_ext
17911 cat >>conftest.
$ac_ext <<_ACEOF
17912 /* end confdefs.h. */
17913 #include <sys/types.h>
17914 #ifdef HAVE_SYS_PARAM_H
17915 # include <sys/param.h>
17917 #ifdef HAVE_SYS_MOUNT_H
17918 # include <sys/mount.h>
17920 #ifdef HAVE_SYS_VFS_H
17921 # include <sys/vfs.h>
17923 #ifdef HAVE_SYS_STATFS_H
17924 # include <sys/statfs.h>
17930 static struct statfs ac_aggr;
17931 if (sizeof ac_aggr.f_ffree)
17937 rm -f conftest.
$ac_objext
17938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17939 (eval $ac_compile) 2>conftest.er1
17941 grep -v '^ *+' conftest.er1
>conftest.err
17943 cat conftest.err
>&5
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); } &&
17946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17948 (eval $ac_try) 2>&5
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); }; } &&
17952 { ac_try
='test -s conftest.$ac_objext'
17953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17954 (eval $ac_try) 2>&5
17956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17957 (exit $ac_status); }; }; then
17958 ac_cv_member_struct_statfs_f_ffree
=yes
17960 echo "$as_me: failed program was:" >&5
17961 sed 's/^/| /' conftest.
$ac_ext >&5
17963 ac_cv_member_struct_statfs_f_ffree
=no
17965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17969 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
17970 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
17971 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
17973 cat >>confdefs.h
<<_ACEOF
17974 #define HAVE_STRUCT_STATFS_F_FFREE 1
17979 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
17980 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
17981 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
17982 echo $ECHO_N "(cached) $ECHO_C" >&6
17984 cat >conftest.
$ac_ext <<_ACEOF
17987 cat confdefs.h
>>conftest.
$ac_ext
17988 cat >>conftest.
$ac_ext <<_ACEOF
17989 /* end confdefs.h. */
17990 #include <sys/types.h>
17991 #ifdef HAVE_SYS_PARAM_H
17992 # include <sys/param.h>
17994 #ifdef HAVE_SYS_MOUNT_H
17995 # include <sys/mount.h>
17997 #ifdef HAVE_SYS_VFS_H
17998 # include <sys/vfs.h>
18000 #ifdef HAVE_SYS_STATFS_H
18001 # include <sys/statfs.h>
18007 static struct statfs ac_aggr;
18008 if (ac_aggr.f_favail)
18014 rm -f conftest.
$ac_objext
18015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18016 (eval $ac_compile) 2>conftest.er1
18018 grep -v '^ *+' conftest.er1
>conftest.err
18020 cat conftest.err
>&5
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); } &&
18023 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18025 (eval $ac_try) 2>&5
18027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18028 (exit $ac_status); }; } &&
18029 { ac_try
='test -s conftest.$ac_objext'
18030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18031 (eval $ac_try) 2>&5
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); }; }; then
18035 ac_cv_member_struct_statfs_f_favail
=yes
18037 echo "$as_me: failed program was:" >&5
18038 sed 's/^/| /' conftest.
$ac_ext >&5
18040 cat >conftest.
$ac_ext <<_ACEOF
18043 cat confdefs.h
>>conftest.
$ac_ext
18044 cat >>conftest.
$ac_ext <<_ACEOF
18045 /* end confdefs.h. */
18046 #include <sys/types.h>
18047 #ifdef HAVE_SYS_PARAM_H
18048 # include <sys/param.h>
18050 #ifdef HAVE_SYS_MOUNT_H
18051 # include <sys/mount.h>
18053 #ifdef HAVE_SYS_VFS_H
18054 # include <sys/vfs.h>
18056 #ifdef HAVE_SYS_STATFS_H
18057 # include <sys/statfs.h>
18063 static struct statfs ac_aggr;
18064 if (sizeof ac_aggr.f_favail)
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 ac_cv_member_struct_statfs_f_favail
=yes
18093 echo "$as_me: failed program was:" >&5
18094 sed 's/^/| /' conftest.
$ac_ext >&5
18096 ac_cv_member_struct_statfs_f_favail
=no
18098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18102 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18103 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
18104 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18106 cat >>confdefs.h
<<_ACEOF
18107 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18112 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18113 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
18114 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18115 echo $ECHO_N "(cached) $ECHO_C" >&6
18117 cat >conftest.
$ac_ext <<_ACEOF
18120 cat confdefs.h
>>conftest.
$ac_ext
18121 cat >>conftest.
$ac_ext <<_ACEOF
18122 /* end confdefs.h. */
18123 #include <sys/types.h>
18124 #ifdef HAVE_SYS_PARAM_H
18125 # include <sys/param.h>
18127 #ifdef HAVE_SYS_MOUNT_H
18128 # include <sys/mount.h>
18130 #ifdef HAVE_SYS_VFS_H
18131 # include <sys/vfs.h>
18133 #ifdef HAVE_SYS_STATFS_H
18134 # include <sys/statfs.h>
18140 static struct statfs ac_aggr;
18141 if (ac_aggr.f_namelen)
18147 rm -f conftest.
$ac_objext
18148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18149 (eval $ac_compile) 2>conftest.er1
18151 grep -v '^ *+' conftest.er1
>conftest.err
18153 cat conftest.err
>&5
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); } &&
18156 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18158 (eval $ac_try) 2>&5
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); }; } &&
18162 { ac_try
='test -s conftest.$ac_objext'
18163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18164 (eval $ac_try) 2>&5
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); }; }; then
18168 ac_cv_member_struct_statfs_f_namelen
=yes
18170 echo "$as_me: failed program was:" >&5
18171 sed 's/^/| /' conftest.
$ac_ext >&5
18173 cat >conftest.
$ac_ext <<_ACEOF
18176 cat confdefs.h
>>conftest.
$ac_ext
18177 cat >>conftest.
$ac_ext <<_ACEOF
18178 /* end confdefs.h. */
18179 #include <sys/types.h>
18180 #ifdef HAVE_SYS_PARAM_H
18181 # include <sys/param.h>
18183 #ifdef HAVE_SYS_MOUNT_H
18184 # include <sys/mount.h>
18186 #ifdef HAVE_SYS_VFS_H
18187 # include <sys/vfs.h>
18189 #ifdef HAVE_SYS_STATFS_H
18190 # include <sys/statfs.h>
18196 static struct statfs ac_aggr;
18197 if (sizeof ac_aggr.f_namelen)
18203 rm -f conftest.
$ac_objext
18204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18205 (eval $ac_compile) 2>conftest.er1
18207 grep -v '^ *+' conftest.er1
>conftest.err
18209 cat conftest.err
>&5
18210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18211 (exit $ac_status); } &&
18212 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18214 (eval $ac_try) 2>&5
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); }; } &&
18218 { ac_try
='test -s conftest.$ac_objext'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; }; then
18224 ac_cv_member_struct_statfs_f_namelen
=yes
18226 echo "$as_me: failed program was:" >&5
18227 sed 's/^/| /' conftest.
$ac_ext >&5
18229 ac_cv_member_struct_statfs_f_namelen
=no
18231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18235 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18236 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
18237 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18239 cat >>confdefs.h
<<_ACEOF
18240 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18247 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18248 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
18249 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18250 echo $ECHO_N "(cached) $ECHO_C" >&6
18252 cat >conftest.
$ac_ext <<_ACEOF
18255 cat confdefs.h
>>conftest.
$ac_ext
18256 cat >>conftest.
$ac_ext <<_ACEOF
18257 /* end confdefs.h. */
18258 #ifdef HAVE_SYS_STATVFS_H
18259 #include <sys/statvfs.h>
18265 static struct statvfs ac_aggr;
18266 if (ac_aggr.f_blocks)
18272 rm -f conftest.
$ac_objext
18273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18274 (eval $ac_compile) 2>conftest.er1
18276 grep -v '^ *+' conftest.er1
>conftest.err
18278 cat conftest.err
>&5
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); } &&
18281 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18283 (eval $ac_try) 2>&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }; } &&
18287 { ac_try
='test -s conftest.$ac_objext'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; }; then
18293 ac_cv_member_struct_statvfs_f_blocks
=yes
18295 echo "$as_me: failed program was:" >&5
18296 sed 's/^/| /' conftest.
$ac_ext >&5
18298 cat >conftest.
$ac_ext <<_ACEOF
18301 cat confdefs.h
>>conftest.
$ac_ext
18302 cat >>conftest.
$ac_ext <<_ACEOF
18303 /* end confdefs.h. */
18304 #ifdef HAVE_SYS_STATVFS_H
18305 #include <sys/statvfs.h>
18311 static struct statvfs ac_aggr;
18312 if (sizeof ac_aggr.f_blocks)
18318 rm -f conftest.
$ac_objext
18319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18320 (eval $ac_compile) 2>conftest.er1
18322 grep -v '^ *+' conftest.er1
>conftest.err
18324 cat conftest.err
>&5
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); } &&
18327 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18329 (eval $ac_try) 2>&5
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); }; } &&
18333 { ac_try
='test -s conftest.$ac_objext'
18334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18335 (eval $ac_try) 2>&5
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); }; }; then
18339 ac_cv_member_struct_statvfs_f_blocks
=yes
18341 echo "$as_me: failed program was:" >&5
18342 sed 's/^/| /' conftest.
$ac_ext >&5
18344 ac_cv_member_struct_statvfs_f_blocks
=no
18346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18350 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18351 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
18352 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18354 cat >>confdefs.h
<<_ACEOF
18355 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18362 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18363 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
18364 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18365 echo $ECHO_N "(cached) $ECHO_C" >&6
18367 cat >conftest.
$ac_ext <<_ACEOF
18370 cat confdefs.h
>>conftest.
$ac_ext
18371 cat >>conftest.
$ac_ext <<_ACEOF
18372 /* end confdefs.h. */
18373 #include <sys/types.h>
18374 #ifdef HAVE_SYS_SOCKET_H
18375 # include <sys/socket.h>
18377 #ifdef HAVE_SYS_UN_H
18378 # include <sys/un.h>
18384 static struct msghdr ac_aggr;
18385 if (ac_aggr.msg_accrights)
18391 rm -f conftest.
$ac_objext
18392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18393 (eval $ac_compile) 2>conftest.er1
18395 grep -v '^ *+' conftest.er1
>conftest.err
18397 cat conftest.err
>&5
18398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18399 (exit $ac_status); } &&
18400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18402 (eval $ac_try) 2>&5
18404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18405 (exit $ac_status); }; } &&
18406 { ac_try
='test -s conftest.$ac_objext'
18407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18408 (eval $ac_try) 2>&5
18410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411 (exit $ac_status); }; }; then
18412 ac_cv_member_struct_msghdr_msg_accrights
=yes
18414 echo "$as_me: failed program was:" >&5
18415 sed 's/^/| /' conftest.
$ac_ext >&5
18417 cat >conftest.
$ac_ext <<_ACEOF
18420 cat confdefs.h
>>conftest.
$ac_ext
18421 cat >>conftest.
$ac_ext <<_ACEOF
18422 /* end confdefs.h. */
18423 #include <sys/types.h>
18424 #ifdef HAVE_SYS_SOCKET_H
18425 # include <sys/socket.h>
18427 #ifdef HAVE_SYS_UN_H
18428 # include <sys/un.h>
18434 static struct msghdr ac_aggr;
18435 if (sizeof ac_aggr.msg_accrights)
18441 rm -f conftest.
$ac_objext
18442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18443 (eval $ac_compile) 2>conftest.er1
18445 grep -v '^ *+' conftest.er1
>conftest.err
18447 cat conftest.err
>&5
18448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18449 (exit $ac_status); } &&
18450 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18452 (eval $ac_try) 2>&5
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); }; } &&
18456 { ac_try
='test -s conftest.$ac_objext'
18457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18458 (eval $ac_try) 2>&5
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); }; }; then
18462 ac_cv_member_struct_msghdr_msg_accrights
=yes
18464 echo "$as_me: failed program was:" >&5
18465 sed 's/^/| /' conftest.
$ac_ext >&5
18467 ac_cv_member_struct_msghdr_msg_accrights
=no
18469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18473 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18474 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
18475 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18477 cat >>confdefs.h
<<_ACEOF
18478 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18483 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18484 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
18485 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18486 echo $ECHO_N "(cached) $ECHO_C" >&6
18488 cat >conftest.
$ac_ext <<_ACEOF
18491 cat confdefs.h
>>conftest.
$ac_ext
18492 cat >>conftest.
$ac_ext <<_ACEOF
18493 /* end confdefs.h. */
18494 #include <sys/types.h>
18495 #ifdef HAVE_SYS_SOCKET_H
18496 # include <sys/socket.h>
18498 #ifdef HAVE_SYS_UN_H
18499 # include <sys/un.h>
18505 static struct sockaddr ac_aggr;
18506 if (ac_aggr.sa_len)
18512 rm -f conftest.
$ac_objext
18513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18514 (eval $ac_compile) 2>conftest.er1
18516 grep -v '^ *+' conftest.er1
>conftest.err
18518 cat conftest.err
>&5
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); } &&
18521 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18523 (eval $ac_try) 2>&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); }; } &&
18527 { ac_try
='test -s conftest.$ac_objext'
18528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18529 (eval $ac_try) 2>&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); }; }; then
18533 ac_cv_member_struct_sockaddr_sa_len
=yes
18535 echo "$as_me: failed program was:" >&5
18536 sed 's/^/| /' conftest.
$ac_ext >&5
18538 cat >conftest.
$ac_ext <<_ACEOF
18541 cat confdefs.h
>>conftest.
$ac_ext
18542 cat >>conftest.
$ac_ext <<_ACEOF
18543 /* end confdefs.h. */
18544 #include <sys/types.h>
18545 #ifdef HAVE_SYS_SOCKET_H
18546 # include <sys/socket.h>
18548 #ifdef HAVE_SYS_UN_H
18549 # include <sys/un.h>
18555 static struct sockaddr ac_aggr;
18556 if (sizeof ac_aggr.sa_len)
18562 rm -f conftest.
$ac_objext
18563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18564 (eval $ac_compile) 2>conftest.er1
18566 grep -v '^ *+' conftest.er1
>conftest.err
18568 cat conftest.err
>&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); } &&
18571 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18573 (eval $ac_try) 2>&5
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); }; } &&
18577 { ac_try
='test -s conftest.$ac_objext'
18578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18579 (eval $ac_try) 2>&5
18581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18582 (exit $ac_status); }; }; then
18583 ac_cv_member_struct_sockaddr_sa_len
=yes
18585 echo "$as_me: failed program was:" >&5
18586 sed 's/^/| /' conftest.
$ac_ext >&5
18588 ac_cv_member_struct_sockaddr_sa_len
=no
18590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18594 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18595 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
18596 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18598 cat >>confdefs.h
<<_ACEOF
18599 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18604 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18605 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
18606 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18607 echo $ECHO_N "(cached) $ECHO_C" >&6
18609 cat >conftest.
$ac_ext <<_ACEOF
18612 cat confdefs.h
>>conftest.
$ac_ext
18613 cat >>conftest.
$ac_ext <<_ACEOF
18614 /* end confdefs.h. */
18615 #include <sys/types.h>
18616 #ifdef HAVE_SYS_SOCKET_H
18617 # include <sys/socket.h>
18619 #ifdef HAVE_SYS_UN_H
18620 # include <sys/un.h>
18626 static struct sockaddr_un ac_aggr;
18627 if (ac_aggr.sun_len)
18633 rm -f conftest.
$ac_objext
18634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18635 (eval $ac_compile) 2>conftest.er1
18637 grep -v '^ *+' conftest.er1
>conftest.err
18639 cat conftest.err
>&5
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); } &&
18642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18644 (eval $ac_try) 2>&5
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); }; } &&
18648 { ac_try
='test -s conftest.$ac_objext'
18649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18650 (eval $ac_try) 2>&5
18652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18653 (exit $ac_status); }; }; then
18654 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18656 echo "$as_me: failed program was:" >&5
18657 sed 's/^/| /' conftest.
$ac_ext >&5
18659 cat >conftest.
$ac_ext <<_ACEOF
18662 cat confdefs.h
>>conftest.
$ac_ext
18663 cat >>conftest.
$ac_ext <<_ACEOF
18664 /* end confdefs.h. */
18665 #include <sys/types.h>
18666 #ifdef HAVE_SYS_SOCKET_H
18667 # include <sys/socket.h>
18669 #ifdef HAVE_SYS_UN_H
18670 # include <sys/un.h>
18676 static struct sockaddr_un ac_aggr;
18677 if (sizeof ac_aggr.sun_len)
18683 rm -f conftest.
$ac_objext
18684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18685 (eval $ac_compile) 2>conftest.er1
18687 grep -v '^ *+' conftest.er1
>conftest.err
18689 cat conftest.err
>&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); } &&
18692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18694 (eval $ac_try) 2>&5
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); }; } &&
18698 { ac_try
='test -s conftest.$ac_objext'
18699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18700 (eval $ac_try) 2>&5
18702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18703 (exit $ac_status); }; }; then
18704 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18706 echo "$as_me: failed program was:" >&5
18707 sed 's/^/| /' conftest.
$ac_ext >&5
18709 ac_cv_member_struct_sockaddr_un_sun_len
=no
18711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18715 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18716 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
18717 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18719 cat >>confdefs.h
<<_ACEOF
18720 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18727 echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18728 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6
18729 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18730 echo $ECHO_N "(cached) $ECHO_C" >&6
18732 cat >conftest.
$ac_ext <<_ACEOF
18735 cat confdefs.h
>>conftest.
$ac_ext
18736 cat >>conftest.
$ac_ext <<_ACEOF
18737 /* end confdefs.h. */
18738 #include <sys/types.h>
18739 #ifdef HAVE_SCSI_SG_H
18740 #include <scsi/sg.h>
18746 static scsireq_t ac_aggr;
18753 rm -f conftest.
$ac_objext
18754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18755 (eval $ac_compile) 2>conftest.er1
18757 grep -v '^ *+' conftest.er1
>conftest.err
18759 cat conftest.err
>&5
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); } &&
18762 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18764 (eval $ac_try) 2>&5
18766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767 (exit $ac_status); }; } &&
18768 { ac_try
='test -s conftest.$ac_objext'
18769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18770 (eval $ac_try) 2>&5
18772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18773 (exit $ac_status); }; }; then
18774 ac_cv_member_scsireq_t_cmd
=yes
18776 echo "$as_me: failed program was:" >&5
18777 sed 's/^/| /' conftest.
$ac_ext >&5
18779 cat >conftest.
$ac_ext <<_ACEOF
18782 cat confdefs.h
>>conftest.
$ac_ext
18783 cat >>conftest.
$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18785 #include <sys/types.h>
18786 #ifdef HAVE_SCSI_SG_H
18787 #include <scsi/sg.h>
18793 static scsireq_t ac_aggr;
18794 if (sizeof ac_aggr.cmd)
18800 rm -f conftest.
$ac_objext
18801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18802 (eval $ac_compile) 2>conftest.er1
18804 grep -v '^ *+' conftest.er1
>conftest.err
18806 cat conftest.err
>&5
18807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18808 (exit $ac_status); } &&
18809 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18811 (eval $ac_try) 2>&5
18813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18814 (exit $ac_status); }; } &&
18815 { ac_try
='test -s conftest.$ac_objext'
18816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18817 (eval $ac_try) 2>&5
18819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 (exit $ac_status); }; }; then
18821 ac_cv_member_scsireq_t_cmd
=yes
18823 echo "$as_me: failed program was:" >&5
18824 sed 's/^/| /' conftest.
$ac_ext >&5
18826 ac_cv_member_scsireq_t_cmd
=no
18828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18832 echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18833 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6
18834 if test $ac_cv_member_scsireq_t_cmd = yes; then
18836 cat >>confdefs.h
<<_ACEOF
18837 #define HAVE_SCSIREQ_T_CMD 1
18842 echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18843 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6
18844 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18845 echo $ECHO_N "(cached) $ECHO_C" >&6
18847 cat >conftest.
$ac_ext <<_ACEOF
18850 cat confdefs.h
>>conftest.
$ac_ext
18851 cat >>conftest.
$ac_ext <<_ACEOF
18852 /* end confdefs.h. */
18853 #include <sys/types.h>
18854 #ifdef HAVE_SCSI_SG_H
18855 #include <scsi/sg.h>
18861 static sg_io_hdr_t ac_aggr;
18862 if (ac_aggr.interface_id)
18868 rm -f conftest.
$ac_objext
18869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18870 (eval $ac_compile) 2>conftest.er1
18872 grep -v '^ *+' conftest.er1
>conftest.err
18874 cat conftest.err
>&5
18875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18876 (exit $ac_status); } &&
18877 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18879 (eval $ac_try) 2>&5
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); }; } &&
18883 { ac_try
='test -s conftest.$ac_objext'
18884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18885 (eval $ac_try) 2>&5
18887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18888 (exit $ac_status); }; }; then
18889 ac_cv_member_sg_io_hdr_t_interface_id
=yes
18891 echo "$as_me: failed program was:" >&5
18892 sed 's/^/| /' conftest.
$ac_ext >&5
18894 cat >conftest.
$ac_ext <<_ACEOF
18897 cat confdefs.h
>>conftest.
$ac_ext
18898 cat >>conftest.
$ac_ext <<_ACEOF
18899 /* end confdefs.h. */
18900 #include <sys/types.h>
18901 #ifdef HAVE_SCSI_SG_H
18902 #include <scsi/sg.h>
18908 static sg_io_hdr_t ac_aggr;
18909 if (sizeof ac_aggr.interface_id)
18915 rm -f conftest.
$ac_objext
18916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18917 (eval $ac_compile) 2>conftest.er1
18919 grep -v '^ *+' conftest.er1
>conftest.err
18921 cat conftest.err
>&5
18922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18923 (exit $ac_status); } &&
18924 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18926 (eval $ac_try) 2>&5
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); }; } &&
18930 { ac_try
='test -s conftest.$ac_objext'
18931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18932 (eval $ac_try) 2>&5
18934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18935 (exit $ac_status); }; }; then
18936 ac_cv_member_sg_io_hdr_t_interface_id
=yes
18938 echo "$as_me: failed program was:" >&5
18939 sed 's/^/| /' conftest.
$ac_ext >&5
18941 ac_cv_member_sg_io_hdr_t_interface_id
=no
18943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18947 echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18948 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6
18949 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
18951 cat >>confdefs.h
<<_ACEOF
18952 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18959 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18960 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
18961 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18962 echo $ECHO_N "(cached) $ECHO_C" >&6
18964 cat >conftest.
$ac_ext <<_ACEOF
18967 cat confdefs.h
>>conftest.
$ac_ext
18968 cat >>conftest.
$ac_ext <<_ACEOF
18969 /* end confdefs.h. */
18970 #include <signal.h>
18975 static siginfo_t ac_aggr;
18982 rm -f conftest.
$ac_objext
18983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18984 (eval $ac_compile) 2>conftest.er1
18986 grep -v '^ *+' conftest.er1
>conftest.err
18988 cat conftest.err
>&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); } &&
18991 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18993 (eval $ac_try) 2>&5
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); }; } &&
18997 { ac_try
='test -s conftest.$ac_objext'
18998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999 (eval $ac_try) 2>&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); }; }; then
19003 ac_cv_member_siginfo_t_si_fd
=yes
19005 echo "$as_me: failed program was:" >&5
19006 sed 's/^/| /' conftest.
$ac_ext >&5
19008 cat >conftest.
$ac_ext <<_ACEOF
19011 cat confdefs.h
>>conftest.
$ac_ext
19012 cat >>conftest.
$ac_ext <<_ACEOF
19013 /* end confdefs.h. */
19014 #include <signal.h>
19019 static siginfo_t ac_aggr;
19020 if (sizeof ac_aggr.si_fd)
19026 rm -f conftest.
$ac_objext
19027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19028 (eval $ac_compile) 2>conftest.er1
19030 grep -v '^ *+' conftest.er1
>conftest.err
19032 cat conftest.err
>&5
19033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19034 (exit $ac_status); } &&
19035 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19037 (eval $ac_try) 2>&5
19039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19040 (exit $ac_status); }; } &&
19041 { ac_try
='test -s conftest.$ac_objext'
19042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19043 (eval $ac_try) 2>&5
19045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19046 (exit $ac_status); }; }; then
19047 ac_cv_member_siginfo_t_si_fd
=yes
19049 echo "$as_me: failed program was:" >&5
19050 sed 's/^/| /' conftest.
$ac_ext >&5
19052 ac_cv_member_siginfo_t_si_fd
=no
19054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19058 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19059 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
19060 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19062 cat >>confdefs.h
<<_ACEOF
19063 #define HAVE_SIGINFO_T_SI_FD 1
19070 echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19071 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6
19072 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19073 echo $ECHO_N "(cached) $ECHO_C" >&6
19075 cat >conftest.
$ac_ext <<_ACEOF
19078 cat confdefs.h
>>conftest.
$ac_ext
19079 cat >>conftest.
$ac_ext <<_ACEOF
19080 /* end confdefs.h. */
19081 #include <sys/types.h>
19082 #ifdef HAVE_SYS_MTIO_H
19083 #include <sys/mtio.h>
19089 static struct mtget ac_aggr;
19090 if (ac_aggr.mt_blksiz)
19096 rm -f conftest.
$ac_objext
19097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19098 (eval $ac_compile) 2>conftest.er1
19100 grep -v '^ *+' conftest.er1
>conftest.err
19102 cat conftest.err
>&5
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); } &&
19105 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19107 (eval $ac_try) 2>&5
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); }; } &&
19111 { ac_try
='test -s conftest.$ac_objext'
19112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19113 (eval $ac_try) 2>&5
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); }; }; then
19117 ac_cv_member_struct_mtget_mt_blksiz
=yes
19119 echo "$as_me: failed program was:" >&5
19120 sed 's/^/| /' conftest.
$ac_ext >&5
19122 cat >conftest.
$ac_ext <<_ACEOF
19125 cat confdefs.h
>>conftest.
$ac_ext
19126 cat >>conftest.
$ac_ext <<_ACEOF
19127 /* end confdefs.h. */
19128 #include <sys/types.h>
19129 #ifdef HAVE_SYS_MTIO_H
19130 #include <sys/mtio.h>
19136 static struct mtget ac_aggr;
19137 if (sizeof ac_aggr.mt_blksiz)
19143 rm -f conftest.
$ac_objext
19144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19145 (eval $ac_compile) 2>conftest.er1
19147 grep -v '^ *+' conftest.er1
>conftest.err
19149 cat conftest.err
>&5
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); } &&
19152 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19154 (eval $ac_try) 2>&5
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); }; } &&
19158 { ac_try
='test -s conftest.$ac_objext'
19159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19160 (eval $ac_try) 2>&5
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); }; }; then
19164 ac_cv_member_struct_mtget_mt_blksiz
=yes
19166 echo "$as_me: failed program was:" >&5
19167 sed 's/^/| /' conftest.
$ac_ext >&5
19169 ac_cv_member_struct_mtget_mt_blksiz
=no
19171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19175 echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19176 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6
19177 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19179 cat >>confdefs.h
<<_ACEOF
19180 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19185 echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19186 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6
19187 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19188 echo $ECHO_N "(cached) $ECHO_C" >&6
19190 cat >conftest.
$ac_ext <<_ACEOF
19193 cat confdefs.h
>>conftest.
$ac_ext
19194 cat >>conftest.
$ac_ext <<_ACEOF
19195 /* end confdefs.h. */
19196 #include <sys/types.h>
19197 #ifdef HAVE_SYS_MTIO_H
19198 #include <sys/mtio.h>
19204 static struct mtget ac_aggr;
19205 if (ac_aggr.mt_gstat)
19211 rm -f conftest.
$ac_objext
19212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19213 (eval $ac_compile) 2>conftest.er1
19215 grep -v '^ *+' conftest.er1
>conftest.err
19217 cat conftest.err
>&5
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); } &&
19220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19222 (eval $ac_try) 2>&5
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); }; } &&
19226 { ac_try
='test -s conftest.$ac_objext'
19227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19228 (eval $ac_try) 2>&5
19230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); }; }; then
19232 ac_cv_member_struct_mtget_mt_gstat
=yes
19234 echo "$as_me: failed program was:" >&5
19235 sed 's/^/| /' conftest.
$ac_ext >&5
19237 cat >conftest.
$ac_ext <<_ACEOF
19240 cat confdefs.h
>>conftest.
$ac_ext
19241 cat >>conftest.
$ac_ext <<_ACEOF
19242 /* end confdefs.h. */
19243 #include <sys/types.h>
19244 #ifdef HAVE_SYS_MTIO_H
19245 #include <sys/mtio.h>
19251 static struct mtget ac_aggr;
19252 if (sizeof ac_aggr.mt_gstat)
19258 rm -f conftest.
$ac_objext
19259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19260 (eval $ac_compile) 2>conftest.er1
19262 grep -v '^ *+' conftest.er1
>conftest.err
19264 cat conftest.err
>&5
19265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266 (exit $ac_status); } &&
19267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19269 (eval $ac_try) 2>&5
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); }; } &&
19273 { ac_try
='test -s conftest.$ac_objext'
19274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19275 (eval $ac_try) 2>&5
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); }; }; then
19279 ac_cv_member_struct_mtget_mt_gstat
=yes
19281 echo "$as_me: failed program was:" >&5
19282 sed 's/^/| /' conftest.
$ac_ext >&5
19284 ac_cv_member_struct_mtget_mt_gstat
=no
19286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19290 echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19291 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6
19292 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19294 cat >>confdefs.h
<<_ACEOF
19295 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19300 echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19301 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6
19302 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19303 echo $ECHO_N "(cached) $ECHO_C" >&6
19305 cat >conftest.
$ac_ext <<_ACEOF
19308 cat confdefs.h
>>conftest.
$ac_ext
19309 cat >>conftest.
$ac_ext <<_ACEOF
19310 /* end confdefs.h. */
19311 #include <sys/types.h>
19312 #ifdef HAVE_SYS_MTIO_H
19313 #include <sys/mtio.h>
19319 static struct mtget ac_aggr;
19320 if (ac_aggr.mt_blkno)
19326 rm -f conftest.
$ac_objext
19327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19328 (eval $ac_compile) 2>conftest.er1
19330 grep -v '^ *+' conftest.er1
>conftest.err
19332 cat conftest.err
>&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); } &&
19335 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19337 (eval $ac_try) 2>&5
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); }; } &&
19341 { ac_try
='test -s conftest.$ac_objext'
19342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19343 (eval $ac_try) 2>&5
19345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19346 (exit $ac_status); }; }; then
19347 ac_cv_member_struct_mtget_mt_blkno
=yes
19349 echo "$as_me: failed program was:" >&5
19350 sed 's/^/| /' conftest.
$ac_ext >&5
19352 cat >conftest.
$ac_ext <<_ACEOF
19355 cat confdefs.h
>>conftest.
$ac_ext
19356 cat >>conftest.
$ac_ext <<_ACEOF
19357 /* end confdefs.h. */
19358 #include <sys/types.h>
19359 #ifdef HAVE_SYS_MTIO_H
19360 #include <sys/mtio.h>
19366 static struct mtget ac_aggr;
19367 if (sizeof ac_aggr.mt_blkno)
19373 rm -f conftest.
$ac_objext
19374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19375 (eval $ac_compile) 2>conftest.er1
19377 grep -v '^ *+' conftest.er1
>conftest.err
19379 cat conftest.err
>&5
19380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381 (exit $ac_status); } &&
19382 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19384 (eval $ac_try) 2>&5
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); }; } &&
19388 { ac_try
='test -s conftest.$ac_objext'
19389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19390 (eval $ac_try) 2>&5
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); }; }; then
19394 ac_cv_member_struct_mtget_mt_blkno
=yes
19396 echo "$as_me: failed program was:" >&5
19397 sed 's/^/| /' conftest.
$ac_ext >&5
19399 ac_cv_member_struct_mtget_mt_blkno
=no
19401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19405 echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19406 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6
19407 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19409 cat >>confdefs.h
<<_ACEOF
19410 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19417 echo "$as_me:$LINENO: checking for struct option.name" >&5
19418 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19419 if test "${ac_cv_member_struct_option_name+set}" = set; then
19420 echo $ECHO_N "(cached) $ECHO_C" >&6
19422 cat >conftest.
$ac_ext <<_ACEOF
19425 cat confdefs.h
>>conftest.
$ac_ext
19426 cat >>conftest.
$ac_ext <<_ACEOF
19427 /* end confdefs.h. */
19428 #ifdef HAVE_GETOPT_H
19429 #include <getopt.h>
19435 static struct option 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_struct_option_name
=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 #ifdef HAVE_GETOPT_H
19475 #include <getopt.h>
19481 static struct option ac_aggr;
19482 if (sizeof ac_aggr.name)
19488 rm -f conftest.
$ac_objext
19489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19490 (eval $ac_compile) 2>conftest.er1
19492 grep -v '^ *+' conftest.er1
>conftest.err
19494 cat conftest.err
>&5
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); } &&
19497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19499 (eval $ac_try) 2>&5
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); }; } &&
19503 { ac_try
='test -s conftest.$ac_objext'
19504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19505 (eval $ac_try) 2>&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); }; }; then
19509 ac_cv_member_struct_option_name
=yes
19511 echo "$as_me: failed program was:" >&5
19512 sed 's/^/| /' conftest.
$ac_ext >&5
19514 ac_cv_member_struct_option_name
=no
19516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19520 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19521 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19522 if test $ac_cv_member_struct_option_name = yes; then
19524 cat >>confdefs.h
<<_ACEOF
19525 #define HAVE_STRUCT_OPTION_NAME 1
19532 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19533 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19534 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19535 echo $ECHO_N "(cached) $ECHO_C" >&6
19537 cat >conftest.
$ac_ext <<_ACEOF
19540 cat confdefs.h
>>conftest.
$ac_ext
19541 cat >>conftest.
$ac_ext <<_ACEOF
19542 /* end confdefs.h. */
19543 $ac_includes_default
19547 static struct stat ac_aggr;
19548 if (ac_aggr.st_blocks)
19554 rm -f conftest.
$ac_objext
19555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19556 (eval $ac_compile) 2>conftest.er1
19558 grep -v '^ *+' conftest.er1
>conftest.err
19560 cat conftest.err
>&5
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); } &&
19563 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19565 (eval $ac_try) 2>&5
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); }; } &&
19569 { ac_try
='test -s conftest.$ac_objext'
19570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19571 (eval $ac_try) 2>&5
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); }; }; then
19575 ac_cv_member_struct_stat_st_blocks
=yes
19577 echo "$as_me: failed program was:" >&5
19578 sed 's/^/| /' conftest.
$ac_ext >&5
19580 cat >conftest.
$ac_ext <<_ACEOF
19583 cat confdefs.h
>>conftest.
$ac_ext
19584 cat >>conftest.
$ac_ext <<_ACEOF
19585 /* end confdefs.h. */
19586 $ac_includes_default
19590 static struct stat ac_aggr;
19591 if (sizeof ac_aggr.st_blocks)
19597 rm -f conftest.
$ac_objext
19598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19599 (eval $ac_compile) 2>conftest.er1
19601 grep -v '^ *+' conftest.er1
>conftest.err
19603 cat conftest.err
>&5
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); } &&
19606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19608 (eval $ac_try) 2>&5
19610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611 (exit $ac_status); }; } &&
19612 { ac_try
='test -s conftest.$ac_objext'
19613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19614 (eval $ac_try) 2>&5
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); }; }; then
19618 ac_cv_member_struct_stat_st_blocks
=yes
19620 echo "$as_me: failed program was:" >&5
19621 sed 's/^/| /' conftest.
$ac_ext >&5
19623 ac_cv_member_struct_stat_st_blocks
=no
19625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19629 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19630 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19631 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19633 cat >>confdefs.h
<<_ACEOF
19634 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19641 echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19642 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6
19643 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19644 echo $ECHO_N "(cached) $ECHO_C" >&6
19646 cat >conftest.
$ac_ext <<_ACEOF
19649 cat confdefs.h
>>conftest.
$ac_ext
19650 cat >>conftest.
$ac_ext <<_ACEOF
19651 /* end confdefs.h. */
19652 #ifdef HAVE_SYS_TYPES_H
19653 #include <sys/types.h>
19655 #ifdef HAVE_NETINET_IN_H
19656 #include <netinet/in.h>
19662 static struct sockaddr_in6 ac_aggr;
19663 if (ac_aggr.sin6_scope_id)
19669 rm -f conftest.
$ac_objext
19670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19671 (eval $ac_compile) 2>conftest.er1
19673 grep -v '^ *+' conftest.er1
>conftest.err
19675 cat conftest.err
>&5
19676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19677 (exit $ac_status); } &&
19678 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19680 (eval $ac_try) 2>&5
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); }; } &&
19684 { ac_try
='test -s conftest.$ac_objext'
19685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19686 (eval $ac_try) 2>&5
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); }; }; then
19690 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19692 echo "$as_me: failed program was:" >&5
19693 sed 's/^/| /' conftest.
$ac_ext >&5
19695 cat >conftest.
$ac_ext <<_ACEOF
19698 cat confdefs.h
>>conftest.
$ac_ext
19699 cat >>conftest.
$ac_ext <<_ACEOF
19700 /* end confdefs.h. */
19701 #ifdef HAVE_SYS_TYPES_H
19702 #include <sys/types.h>
19704 #ifdef HAVE_NETINET_IN_H
19705 #include <netinet/in.h>
19711 static struct sockaddr_in6 ac_aggr;
19712 if (sizeof ac_aggr.sin6_scope_id)
19718 rm -f conftest.
$ac_objext
19719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19720 (eval $ac_compile) 2>conftest.er1
19722 grep -v '^ *+' conftest.er1
>conftest.err
19724 cat conftest.err
>&5
19725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19726 (exit $ac_status); } &&
19727 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19729 (eval $ac_try) 2>&5
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); }; } &&
19733 { ac_try
='test -s conftest.$ac_objext'
19734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19735 (eval $ac_try) 2>&5
19737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19738 (exit $ac_status); }; }; then
19739 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19741 echo "$as_me: failed program was:" >&5
19742 sed 's/^/| /' conftest.
$ac_ext >&5
19744 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
19746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19750 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19751 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6
19752 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19754 cat >>confdefs.h
<<_ACEOF
19755 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19762 echo "$as_me:$LINENO: checking for timezone variable" >&5
19763 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6
19764 if test "${ac_cv_have_timezone+set}" = set; then
19765 echo $ECHO_N "(cached) $ECHO_C" >&6
19767 cat >conftest.
$ac_ext <<_ACEOF
19770 cat confdefs.h
>>conftest.
$ac_ext
19771 cat >>conftest.
$ac_ext <<_ACEOF
19772 /* end confdefs.h. */
19782 rm -f conftest.
$ac_objext conftest
$ac_exeext
19783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19784 (eval $ac_link) 2>conftest.er1
19786 grep -v '^ *+' conftest.er1
>conftest.err
19788 cat conftest.err
>&5
19789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19790 (exit $ac_status); } &&
19791 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19793 (eval $ac_try) 2>&5
19795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19796 (exit $ac_status); }; } &&
19797 { ac_try
='test -s conftest$ac_exeext'
19798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19799 (eval $ac_try) 2>&5
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); }; }; then
19803 ac_cv_have_timezone
="yes"
19805 echo "$as_me: failed program was:" >&5
19806 sed 's/^/| /' conftest.
$ac_ext >&5
19808 ac_cv_have_timezone
="no"
19810 rm -f conftest.err conftest.
$ac_objext \
19811 conftest
$ac_exeext conftest.
$ac_ext
19813 echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19814 echo "${ECHO_T}$ac_cv_have_timezone" >&6
19815 if test "$ac_cv_have_timezone" = "yes"
19818 cat >>confdefs.h
<<\_ACEOF
19819 #define HAVE_TIMEZONE 1
19823 echo "$as_me:$LINENO: checking for daylight variable" >&5
19824 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6
19825 if test "${ac_cv_have_daylight+set}" = set; then
19826 echo $ECHO_N "(cached) $ECHO_C" >&6
19828 cat >conftest.
$ac_ext <<_ACEOF
19831 cat confdefs.h
>>conftest.
$ac_ext
19832 cat >>conftest.
$ac_ext <<_ACEOF
19833 /* end confdefs.h. */
19843 rm -f conftest.
$ac_objext conftest
$ac_exeext
19844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19845 (eval $ac_link) 2>conftest.er1
19847 grep -v '^ *+' conftest.er1
>conftest.err
19849 cat conftest.err
>&5
19850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19851 (exit $ac_status); } &&
19852 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19854 (eval $ac_try) 2>&5
19856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19857 (exit $ac_status); }; } &&
19858 { ac_try
='test -s conftest$ac_exeext'
19859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19860 (eval $ac_try) 2>&5
19862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19863 (exit $ac_status); }; }; then
19864 ac_cv_have_daylight
="yes"
19866 echo "$as_me: failed program was:" >&5
19867 sed 's/^/| /' conftest.
$ac_ext >&5
19869 ac_cv_have_daylight
="no"
19871 rm -f conftest.err conftest.
$ac_objext \
19872 conftest
$ac_exeext conftest.
$ac_ext
19874 echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
19875 echo "${ECHO_T}$ac_cv_have_daylight" >&6
19876 if test "$ac_cv_have_daylight" = "yes"
19879 cat >>confdefs.h
<<\_ACEOF
19880 #define HAVE_DAYLIGHT 1
19887 *i
[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19888 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
19889 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19890 echo $ECHO_N "(cached) $ECHO_C" >&6
19892 cat >conftest.
$ac_ext <<_ACEOF
19895 cat confdefs.h
>>conftest.
$ac_ext
19896 cat >>conftest.
$ac_ext <<_ACEOF
19897 /* end confdefs.h. */
19902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19903 $EGREP "yes" >/dev
/null
2>&1; then
19904 ac_cv_cpp_def___i386__
=yes
19906 ac_cv_cpp_def___i386__
=no
19911 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19912 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
19913 if test $ac_cv_cpp_def___i386__ = yes; then
19914 CFLAGS
="$CFLAGS -D__i386__"
19915 LINTFLAGS
="$LINTFLAGS -D__i386__"
19918 *x86_64
*) echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
19919 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6
19920 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
19921 echo $ECHO_N "(cached) $ECHO_C" >&6
19923 cat >conftest.
$ac_ext <<_ACEOF
19926 cat confdefs.h
>>conftest.
$ac_ext
19927 cat >>conftest.
$ac_ext <<_ACEOF
19928 /* end confdefs.h. */
19933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19934 $EGREP "yes" >/dev
/null
2>&1; then
19935 ac_cv_cpp_def___x86_64__
=yes
19937 ac_cv_cpp_def___x86_64__
=no
19942 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
19943 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6
19944 if test $ac_cv_cpp_def___x86_64__ = yes; then
19945 CFLAGS
="$CFLAGS -D__x86_64__"
19946 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
19949 *alpha
*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19950 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
19951 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19952 echo $ECHO_N "(cached) $ECHO_C" >&6
19954 cat >conftest.
$ac_ext <<_ACEOF
19957 cat confdefs.h
>>conftest.
$ac_ext
19958 cat >>conftest.
$ac_ext <<_ACEOF
19959 /* end confdefs.h. */
19964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19965 $EGREP "yes" >/dev
/null
2>&1; then
19966 ac_cv_cpp_def___ALPHA__
=yes
19968 ac_cv_cpp_def___ALPHA__
=no
19973 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
19974 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
19975 if test $ac_cv_cpp_def___ALPHA__ = yes; then
19976 CFLAGS
="$CFLAGS -D__ALPHA__"
19977 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
19980 *sparc
*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
19981 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
19982 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
19983 echo $ECHO_N "(cached) $ECHO_C" >&6
19985 cat >conftest.
$ac_ext <<_ACEOF
19988 cat confdefs.h
>>conftest.
$ac_ext
19989 cat >>conftest.
$ac_ext <<_ACEOF
19990 /* end confdefs.h. */
19995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19996 $EGREP "yes" >/dev
/null
2>&1; then
19997 ac_cv_cpp_def___sparc__
=yes
19999 ac_cv_cpp_def___sparc__
=no
20004 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20005 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
20006 if test $ac_cv_cpp_def___sparc__ = yes; then
20007 CFLAGS
="$CFLAGS -D__sparc__"
20008 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20011 *powerpc
*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20012 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
20013 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20014 echo $ECHO_N "(cached) $ECHO_C" >&6
20016 cat >conftest.
$ac_ext <<_ACEOF
20019 cat confdefs.h
>>conftest.
$ac_ext
20020 cat >>conftest.
$ac_ext <<_ACEOF
20021 /* end confdefs.h. */
20022 #ifndef __powerpc__
20026 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20027 $EGREP "yes" >/dev
/null
2>&1; then
20028 ac_cv_cpp_def___powerpc__
=yes
20030 ac_cv_cpp_def___powerpc__
=no
20035 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20036 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
20037 if test $ac_cv_cpp_def___powerpc__ = yes; then
20038 CFLAGS
="$CFLAGS -D__powerpc__"
20039 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20044 case $host_vendor in
20045 *sun
*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20046 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
20047 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20048 echo $ECHO_N "(cached) $ECHO_C" >&6
20050 cat >conftest.
$ac_ext <<_ACEOF
20053 cat confdefs.h
>>conftest.
$ac_ext
20054 cat >>conftest.
$ac_ext <<_ACEOF
20055 /* end confdefs.h. */
20060 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20061 $EGREP "yes" >/dev
/null
2>&1; then
20062 ac_cv_cpp_def___sun__
=yes
20064 ac_cv_cpp_def___sun__
=no
20069 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20070 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
20071 if test $ac_cv_cpp_def___sun__ = yes; then
20072 CFLAGS
="$CFLAGS -D__sun__"
20073 LINTFLAGS
="$LINTFLAGS -D__sun__"
20082 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
20084 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
20086 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
20088 ac_config_commands
="$ac_config_commands dlls/user/resources"
20090 ac_config_commands
="$ac_config_commands dlls/wineps/data"
20092 ac_config_commands
="$ac_config_commands include/wine"
20095 MAKE_RULES
=Make.rules
20098 MAKE_DLL_RULES
=dlls
/Makedll.rules
20101 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
20104 MAKE_TEST_RULES
=dlls
/Maketest.rules
20107 MAKE_LIB_RULES
=libs
/Makelib.rules
20110 MAKE_PROG_RULES
=programs
/Makeprog.rules
20113 ac_config_files
="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/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/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/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/dnsapi/Makefile dlls/dnsapi/tests/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/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/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/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/mciwave/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32.drv/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/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/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/ntdsapi/Makefile dlls/objsel/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/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/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/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/sane.ds/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/tapi32/Makefile dlls/twain_32/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/usp10/Makefile dlls/usp10/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/w32skrnl/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/winemp3.acm/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/tests/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls32/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/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/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/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 programs/wordpad/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"
20116 cat >confcache
<<\_ACEOF
20117 # This file is a shell script that caches the results of configure
20118 # tests run on this system so they can be shared between configure
20119 # scripts and configure runs, see configure's option --config-cache.
20120 # It is not useful on other systems. If it contains results you don't
20121 # want to keep, you may remove or edit it.
20123 # config.status only pays attention to the cache file if you give it
20124 # the --recheck option to rerun configure.
20126 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20127 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20128 # following values.
20132 # The following way of writing the cache mishandles newlines in values,
20133 # but we know of no workaround that is simple, portable, and efficient.
20134 # So, don't put newlines in cache variables' values.
20135 # Ultrix sh set writes to stderr and can't be redirected directly,
20136 # and sets the high bit in the cache file unless we assign to the vars.
20139 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20141 # `set' does not quote correctly, so add quotes (double-quote
20142 # substitution turns \\\\ into \\, and sed turns \\ into \).
20145 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20148 # `set' quotes correctly as required by POSIX, so do not add quotes.
20150 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20157 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20159 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20161 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20162 if test -w $cache_file; then
20163 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20164 cat confcache
>$cache_file
20166 echo "not updating unwritable cache $cache_file"
20171 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20172 # Let make expand exec_prefix.
20173 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20175 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20176 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20177 # trailing colons and then remove the whole line if VPATH becomes empty
20178 # (actually we leave an empty line to preserve line numbers).
20179 if test "x$srcdir" = x.
; then
20180 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20181 s/:*\$(srcdir):*/:/;
20182 s/:*\${srcdir}:*/:/;
20184 s/^\([^=]*=[ ]*\):*/\1/;
20190 DEFS
=-DHAVE_CONFIG_H
20194 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20195 # 1. Remove the extension, and $U if already installed.
20196 ac_i
=`echo "$ac_i" |
20197 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20199 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
20200 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
20202 LIBOBJS
=$ac_libobjs
20204 LTLIBOBJS
=$ac_ltlibobjs
20208 : ${CONFIG_STATUS=./config.status}
20209 ac_clean_files_save
=$ac_clean_files
20210 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20211 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20212 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20213 cat >$CONFIG_STATUS <<_ACEOF
20215 # Generated by $as_me.
20216 # Run this file to recreate the current configuration.
20217 # Compiler output produced by configure, useful for debugging
20218 # configure, is in config.log if it exists.
20221 ac_cs_recheck=false
20223 SHELL=\${CONFIG_SHELL-$SHELL}
20226 cat >>$CONFIG_STATUS <<\_ACEOF
20227 ## --------------------- ##
20228 ## M4sh Initialization. ##
20229 ## --------------------- ##
20231 # Be Bourne compatible
20232 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20235 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20236 # is contrary to our usage. Disable this feature.
20237 alias -g '${1+"$@"}'='"$@"'
20238 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20241 DUALCASE
=1; export DUALCASE
# for MKS sh
20243 # Support unset when possible.
20244 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20251 # Work around bugs in pre-3.0 UWIN ksh.
20252 $as_unset ENV MAIL MAILPATH
20259 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20260 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20261 LC_TELEPHONE LC_TIME
20263 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20264 eval $as_var=C
; export $as_var
20270 # Required to use basename.
20271 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20277 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20278 as_basename
=basename
20284 # Name of the executable.
20285 as_me
=`$as_basename "$0" ||
20286 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20287 X"$0" : 'X\(//\)$' \| \
20288 X"$0" : 'X\(/\)$' \| \
20289 . : '\(.\)' 2>/dev/null ||
20291 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20292 /^X\/\(\/\/\)$/{ s//\1/; q; }
20293 /^X\/\(\/\).*/{ s//\1/; q; }
20297 # PATH needs CR, and LINENO needs CR and PATH.
20298 # Avoid depending upon Character Ranges.
20299 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20300 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20301 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20302 as_cr_digits
='0123456789'
20303 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20305 # The user is always right.
20306 if test "${PATH_SEPARATOR+set}" != set; then
20307 echo "#! /bin/sh" >conf$$.sh
20308 echo "exit 0" >>conf$$.sh
20310 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20319 as_lineno_1
=$LINENO
20320 as_lineno_2
=$LINENO
20321 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20322 test "x$as_lineno_1" != "x$as_lineno_2" &&
20323 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20324 # Find who we are. Look in the path if we contain no path at all
20327 *[\\/]* ) as_myself
=$0 ;;
20328 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20329 for as_dir
in $PATH
20332 test -z "$as_dir" && as_dir
=.
20333 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20338 # We did not find ourselves, most probably we were run as `sh COMMAND'
20339 # in which case we are not to be found in the path.
20340 if test "x$as_myself" = x
; then
20343 if test ! -f "$as_myself"; then
20344 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20345 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20346 { (exit 1); exit 1; }; }
20348 case $CONFIG_SHELL in
20350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20351 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20354 test -z "$as_dir" && as_dir
=.
20355 for as_base
in sh bash ksh sh5
; do
20358 if ("$as_dir/$as_base" -c '
20359 as_lineno_1=$LINENO
20360 as_lineno_2=$LINENO
20361 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20362 test "x$as_lineno_1" != "x$as_lineno_2" &&
20363 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20364 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20365 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20366 CONFIG_SHELL
=$as_dir/$as_base
20367 export CONFIG_SHELL
20368 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20376 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20377 # uniformly replaced by the line number. The first 'sed' inserts a
20378 # line-number line before each line; the second 'sed' does the real
20379 # work. The second script uses 'N' to pair each line-number line
20380 # with the numbered line, and appends trailing '-' during
20381 # substitution so that $LINENO is not a special case at line end.
20382 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20383 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20384 sed '=' <$as_myself |
20389 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20392 s,^['$as_cr_digits']*\n,,
20393 ' >$as_me.lineno
&&
20394 chmod +x
$as_me.lineno ||
20395 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20396 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20397 { (exit 1); exit 1; }; }
20399 # Don't try to exec as it changes $[0], causing all sort of problems
20400 # (the dirname of $[0] is not the place where we might find the
20401 # original and so on. Autoconf is especially sensible to this).
20403 # Exit status is that of the last command.
20408 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20409 *c
*,-n*) ECHO_N
= ECHO_C
='
20411 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20412 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20415 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20421 rm -f conf$$ conf$$.exe conf$$.
file
20423 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20424 # We could just check for DJGPP; but this test a) works b) is more generic
20425 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20426 if test -f conf$$.exe
; then
20427 # Don't use ln at all; we don't have any links
20432 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20437 rm -f conf$$ conf$$.exe conf$$.
file
20439 if mkdir
-p .
2>/dev
/null
; then
20442 test -d .
/-p && rmdir .
/-p
20446 as_executable_p
="test -f"
20448 # Sed expression to map a string onto a valid CPP name.
20449 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20451 # Sed expression to map a string onto a valid variable name.
20452 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20456 # We need space, tab and new line, in precisely that order.
20466 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20467 # report actual input values of CONFIG_FILES etc. instead of their
20468 # values after options handling. Logging --version etc. is OK.
20472 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20473 ## Running $as_me. ##
20478 This file was extended by Wine $as_me 0.9.13, which was
20479 generated by GNU Autoconf 2.59. Invocation command line was
20481 CONFIG_FILES = $CONFIG_FILES
20482 CONFIG_HEADERS = $CONFIG_HEADERS
20483 CONFIG_LINKS = $CONFIG_LINKS
20484 CONFIG_COMMANDS = $CONFIG_COMMANDS
20488 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20492 # Files that config.status was made for.
20493 if test -n "$ac_config_files"; then
20494 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20497 if test -n "$ac_config_headers"; then
20498 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20501 if test -n "$ac_config_links"; then
20502 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20505 if test -n "$ac_config_commands"; then
20506 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20509 cat >>$CONFIG_STATUS <<\_ACEOF
20512 \`$as_me' instantiates files from templates according to the
20513 current configuration.
20515 Usage: $0 [OPTIONS] [FILE]...
20517 -h, --help print this help, then exit
20518 -V, --version print version number, then exit
20519 -q, --quiet do not print progress messages
20520 -d, --debug don't remove temporary files
20521 --recheck update $as_me by reconfiguring in the same conditions
20522 --file=FILE[:TEMPLATE]
20523 instantiate the configuration file FILE
20524 --header=FILE[:TEMPLATE]
20525 instantiate the configuration header FILE
20527 Configuration files:
20530 Configuration headers:
20533 Configuration commands:
20536 Report bugs to <bug-autoconf@gnu.org>."
20539 cat >>$CONFIG_STATUS <<_ACEOF
20541 Wine config.status 0.9.13
20542 configured by $0, generated by GNU Autoconf 2.59,
20543 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20545 Copyright (C) 2003 Free Software Foundation, Inc.
20546 This config.status script is free software; the Free Software Foundation
20547 gives unlimited permission to copy, distribute and modify it."
20552 cat >>$CONFIG_STATUS <<\_ACEOF
20553 # If no file are specified by the user, then we need to provide default
20554 # value. By we need to know if files were specified by the user.
20560 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20561 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20569 *) # This is not an option, so the user has probably given explicit
20572 ac_need_defaults
=false
;;
20576 # Handling of the options.
20578 cat >>$CONFIG_STATUS <<\_ACEOF
20579 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20581 --version |
--vers* |
-V )
20582 echo "$ac_cs_version"; exit 0 ;;
20584 # Conflict between --help and --header
20585 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20586 Try \`$0 --help' for more information." >&5
20587 echo "$as_me: error: ambiguous option: $1
20588 Try \`$0 --help' for more information." >&2;}
20589 { (exit 1); exit 1; }; };;
20590 --help |
--hel |
-h )
20591 echo "$ac_cs_usage"; exit 0 ;;
20592 --debug |
--d* |
-d )
20594 --file |
--fil |
--fi |
--f )
20596 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20597 ac_need_defaults
=false
;;
20598 --header |
--heade |
--head |
--hea )
20600 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20601 ac_need_defaults
=false
;;
20602 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20603 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20606 # This is an error.
20607 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20608 Try \`$0 --help' for more information." >&5
20609 echo "$as_me: error: unrecognized option: $1
20610 Try \`$0 --help' for more information." >&2;}
20611 { (exit 1); exit 1; }; } ;;
20613 *) ac_config_targets
="$ac_config_targets $1" ;;
20619 ac_configure_extra_args
=
20621 if $ac_cs_silent; then
20623 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20627 cat >>$CONFIG_STATUS <<_ACEOF
20628 if \$ac_cs_recheck; then
20629 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20630 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20639 cat >>$CONFIG_STATUS <<\_ACEOF
20640 for ac_config_target
in $ac_config_targets
20642 case "$ac_config_target" in
20643 # Handling of arguments.
20644 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
20645 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
20646 "dlls/Makeimplib.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
20647 "dlls/Maketest.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
20648 "libs/Makelib.rules" ) CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
20649 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
20650 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20651 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
20652 "dlls/activeds/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
20653 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20654 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20655 "dlls/advpack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
20656 "dlls/advpack/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
20657 "dlls/amstream/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
20658 "dlls/atl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
20659 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20660 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20661 "dlls/cabinet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20662 "dlls/cabinet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
20663 "dlls/capi2032/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20664 "dlls/cards/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
20665 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20666 "dlls/comcat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
20667 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20668 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20669 "dlls/comdlg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
20670 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20671 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20672 "dlls/crypt32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
20673 "dlls/cryptdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
20674 "dlls/ctl3d32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
20675 "dlls/d3d8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20676 "dlls/d3d9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20677 "dlls/d3d9/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
20678 "dlls/d3dim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20679 "dlls/d3drm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20680 "dlls/d3dx8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20681 "dlls/d3dxof/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20682 "dlls/dbghelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20683 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20684 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20685 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20686 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
20687 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
20688 "dlls/dinput/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
20689 "dlls/dinput8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20690 "dlls/dmband/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
20691 "dlls/dmcompos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20692 "dlls/dmime/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
20693 "dlls/dmloader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20694 "dlls/dmscript/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20695 "dlls/dmstyle/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20696 "dlls/dmsynth/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20697 "dlls/dmusic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20698 "dlls/dmusic32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20699 "dlls/dnsapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
20700 "dlls/dnsapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
20701 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
20702 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20703 "dlls/dpnet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20704 "dlls/dpnhpast/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20705 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
20706 "dlls/dsound/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20707 "dlls/dswave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
20708 "dlls/dxdiagn/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20709 "dlls/dxerr8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20710 "dlls/dxerr9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20711 "dlls/dxguid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20712 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
20713 "dlls/gdi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20714 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
20715 "dlls/glut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
20716 "dlls/gphoto2.ds/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
20717 "dlls/hhctrl.ocx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20718 "dlls/iccvid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20719 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
20720 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20721 "dlls/imaadp32.acm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
20722 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20723 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
20724 "dlls/iphlpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20725 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20726 "dlls/itss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
20727 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
20728 "dlls/kernel/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20729 "dlls/lz32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
20730 "dlls/lz32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
20731 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20732 "dlls/mapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20733 "dlls/mciavi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
20734 "dlls/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
20735 "dlls/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
20736 "dlls/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
20737 "dlls/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
20738 "dlls/mlang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
20739 "dlls/mlang/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20740 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20741 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20742 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
20743 "dlls/mprapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
20744 "dlls/msacm32.drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
20745 "dlls/msacm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
20746 "dlls/msacm32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
20747 "dlls/msadp32.acm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
20748 "dlls/mscms/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
20749 "dlls/mscms/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
20750 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20751 "dlls/msftedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
20752 "dlls/msg711.acm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
20753 "dlls/mshtml/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20754 "dlls/mshtml/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
20755 "dlls/msi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
20756 "dlls/msi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
20757 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20758 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
20759 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20760 "dlls/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20761 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20762 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20763 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20764 "dlls/msvcrt40/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20765 "dlls/msvcrtd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20766 "dlls/msvcrtd/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20767 "dlls/msvfw32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
20768 "dlls/msvidc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20769 "dlls/mswsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20770 "dlls/msxml3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
20771 "dlls/msxml3/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
20772 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20773 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20774 "dlls/newdev/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
20775 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20776 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20777 "dlls/ntdsapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
20778 "dlls/objsel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
20779 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20780 "dlls/odbccp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
20781 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
20782 "dlls/ole32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
20783 "dlls/oleacc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20784 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20785 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20786 "dlls/olecli32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
20787 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20788 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20789 "dlls/olesvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
20790 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20791 "dlls/powrprof/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
20792 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
20793 "dlls/psapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
20794 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
20795 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
20796 "dlls/quartz/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
20797 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20798 "dlls/riched20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
20799 "dlls/riched20/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
20800 "dlls/riched32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
20801 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20802 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20803 "dlls/rsabase/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20804 "dlls/rsabase/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
20805 "dlls/rsaenh/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
20806 "dlls/rsaenh/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
20807 "dlls/sane.ds/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
20808 "dlls/secur32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
20809 "dlls/secur32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
20810 "dlls/security/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
20811 "dlls/sensapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
20812 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
20813 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20814 "dlls/setupapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
20815 "dlls/sfc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
20816 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20817 "dlls/shdocvw/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
20818 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
20819 "dlls/shell32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20820 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20821 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20822 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20823 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20824 "dlls/spoolss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
20825 "dlls/stdole2.tlb/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
20826 "dlls/stdole32.tlb/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
20827 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
20828 "dlls/strmiids/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
20829 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20830 "dlls/twain_32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
20831 "dlls/unicows/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
20832 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
20833 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20834 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20835 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
20836 "dlls/user/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20837 "dlls/usp10/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
20838 "dlls/usp10/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
20839 "dlls/uuid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
20840 "dlls/uxtheme/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20841 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20842 "dlls/vdmdbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
20843 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
20844 "dlls/version/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
20845 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20846 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20847 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20848 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20849 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20850 "dlls/w32skrnl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
20851 "dlls/winecrt0/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
20852 "dlls/wined3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20853 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
20854 "dlls/winemp3.acm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
20855 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
20856 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
20857 "dlls/wininet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20858 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
20859 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20860 "dlls/winmm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20861 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20862 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20863 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20864 "dlls/winmm/wineesd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
20865 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20866 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20867 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20868 "dlls/winnls32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
20869 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
20870 "dlls/winspool/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20871 "dlls/wintab32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20872 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20873 "dlls/wldap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
20874 "dlls/wnaspi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
20875 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
20876 "dlls/ws2_32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
20877 "dlls/ws2_32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
20878 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
20879 "dlls/wtsapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
20880 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
20881 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
20882 "fonts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
20883 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20884 "libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
20885 "libs/port/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
20886 "libs/unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/unicode/Makefile" ;;
20887 "libs/wine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
20888 "libs/wpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
20889 "loader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
20890 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
20891 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
20892 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
20893 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
20894 "programs/eject/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
20895 "programs/expand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
20896 "programs/explorer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
20897 "programs/hh/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
20898 "programs/icinfo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
20899 "programs/iexplore/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
20900 "programs/msiexec/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
20901 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
20902 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
20903 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
20904 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
20905 "programs/rpcss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
20906 "programs/rundll32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
20907 "programs/start/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
20908 "programs/taskmgr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
20909 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
20910 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
20911 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
20912 "programs/wineboot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
20913 "programs/winebrowser/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
20914 "programs/winecfg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
20915 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
20916 "programs/winedbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
20917 "programs/winefile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
20918 "programs/winemenubuilder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
20919 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
20920 "programs/winepath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
20921 "programs/winetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
20922 "programs/winevdm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
20923 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
20924 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
20925 "programs/wordpad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
20926 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
20927 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
20928 "tools/widl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
20929 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
20930 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
20931 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
20932 "tools/winegcc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
20933 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
20934 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
20935 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
20936 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
20937 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
20938 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
20939 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
20940 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
20941 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
20942 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20943 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20944 { (exit 1); exit 1; }; };;
20948 # If the user did not use the arguments to specify the items to instantiate,
20949 # then the envvar interface is used. Set only those that are not.
20950 # We use the long form for the default assignment because of an extremely
20951 # bizarre bug on SunOS 4.1.3.
20952 if $ac_need_defaults; then
20953 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20954 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20955 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20958 # Have a temporary directory for convenience. Make it in the build tree
20959 # simply because there is no reason to put it here, and in addition,
20960 # creating and moving files from /tmp can sometimes cause problems.
20961 # Create a temporary directory, and hook for its removal unless debugging.
20964 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20965 trap '{ (exit 1); exit 1; }' 1 2 13 15
20968 # Create a (secure) tmp directory for tmp files.
20971 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20972 test -n "$tmp" && test -d "$tmp"
20975 tmp
=.
/confstat$$
-$RANDOM
20976 (umask 077 && mkdir
$tmp)
20979 echo "$me: cannot create a temporary directory in ." >&2
20980 { (exit 1); exit 1; }
20985 cat >>$CONFIG_STATUS <<_ACEOF
20988 # CONFIG_FILES section.
20991 # No need to generate the scripts if there are no CONFIG_FILES.
20992 # This happens for instance when ./config.status config.h
20993 if test -n "\$CONFIG_FILES"; then
20994 # Protect against being on the right side of a sed subst in config.status.
20995 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20996 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20997 s,@SHELL@,$SHELL,;t t
20998 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20999 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21000 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21001 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21002 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21003 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21004 s,@exec_prefix@,$exec_prefix,;t t
21005 s,@prefix@,$prefix,;t t
21006 s,@program_transform_name@,$program_transform_name,;t t
21007 s,@bindir@,$bindir,;t t
21008 s,@sbindir@,$sbindir,;t t
21009 s,@libexecdir@,$libexecdir,;t t
21010 s,@datadir@,$datadir,;t t
21011 s,@sysconfdir@,$sysconfdir,;t t
21012 s,@sharedstatedir@,$sharedstatedir,;t t
21013 s,@localstatedir@,$localstatedir,;t t
21014 s,@libdir@,$libdir,;t t
21015 s,@includedir@,$includedir,;t t
21016 s,@oldincludedir@,$oldincludedir,;t t
21017 s,@infodir@,$infodir,;t t
21018 s,@mandir@,$mandir,;t t
21019 s,@build_alias@,$build_alias,;t t
21020 s,@host_alias@,$host_alias,;t t
21021 s,@target_alias@,$target_alias,;t t
21022 s,@DEFS@,$DEFS,;t t
21023 s,@ECHO_C@,$ECHO_C,;t t
21024 s,@ECHO_N@,$ECHO_N,;t t
21025 s,@ECHO_T@,$ECHO_T,;t t
21026 s,@LIBS@,$LIBS,;t t
21027 s,@build@,$build,;t t
21028 s,@build_cpu@,$build_cpu,;t t
21029 s,@build_vendor@,$build_vendor,;t t
21030 s,@build_os@,$build_os,;t t
21031 s,@host@,$host,;t t
21032 s,@host_cpu@,$host_cpu,;t t
21033 s,@host_vendor@,$host_vendor,;t t
21034 s,@host_os@,$host_os,;t t
21035 s,@WIN16_FILES@,$WIN16_FILES,;t t
21036 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
21037 s,@SET_MAKE@,$SET_MAKE,;t t
21039 s,@CFLAGS@,$CFLAGS,;t t
21040 s,@LDFLAGS@,$LDFLAGS,;t t
21041 s,@CPPFLAGS@,$CPPFLAGS,;t t
21042 s,@ac_ct_CC@,$ac_ct_CC,;t t
21043 s,@EXEEXT@,$EXEEXT,;t t
21044 s,@OBJEXT@,$OBJEXT,;t t
21046 s,@CXXFLAGS@,$CXXFLAGS,;t t
21047 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21048 s,@CPPBIN@,$CPPBIN,;t t
21049 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
21050 s,@TOOLSDIR@,$TOOLSDIR,;t t
21052 s,@X_CFLAGS@,$X_CFLAGS,;t t
21053 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
21054 s,@X_LIBS@,$X_LIBS,;t t
21055 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
21057 s,@LEXLIB@,$LEXLIB,;t t
21058 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
21059 s,@XLEX@,$XLEX,;t t
21060 s,@BISON@,$BISON,;t t
21062 s,@ac_ct_AS@,$ac_ct_AS,;t t
21064 s,@ac_ct_LD@,$ac_ct_LD,;t t
21066 s,@ac_ct_AR@,$ac_ct_AR,;t t
21067 s,@RANLIB@,$RANLIB,;t t
21068 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21069 s,@STRIP@,$STRIP,;t t
21070 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21071 s,@WINDRES@,$WINDRES,;t t
21072 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
21073 s,@LN_S@,$LN_S,;t t
21075 s,@EGREP@,$EGREP,;t t
21076 s,@LDCONFIG@,$LDCONFIG,;t t
21077 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21078 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21079 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21080 s,@LINT@,$LINT,;t t
21081 s,@LINTFLAGS@,$LINTFLAGS,;t t
21082 s,@FONTFORGE@,$FONTFORGE,;t t
21083 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
21084 s,@PRELINK@,$PRELINK,;t t
21085 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
21086 s,@XLIB@,$XLIB,;t t
21087 s,@XFILES@,$XFILES,;t t
21088 s,@OPENGLFILES@,$OPENGLFILES,;t t
21089 s,@GLU32FILES@,$GLU32FILES,;t t
21090 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
21091 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
21092 s,@GLUT32FILES@,$GLUT32FILES,;t t
21093 s,@NASLIBS@,$NASLIBS,;t t
21094 s,@XML2LIBS@,$XML2LIBS,;t t
21095 s,@XML2INCL@,$XML2INCL,;t t
21096 s,@XSLTLIBS@,$XSLTLIBS,;t t
21097 s,@XSLTINCL@,$XSLTINCL,;t t
21098 s,@HALINCL@,$HALINCL,;t t
21099 s,@CURSESLIBS@,$CURSESLIBS,;t t
21100 s,@sane_devel@,$sane_devel,;t t
21101 s,@SANELIBS@,$SANELIBS,;t t
21102 s,@SANEINCL@,$SANEINCL,;t t
21103 s,@gphoto2_devel@,$gphoto2_devel,;t t
21104 s,@gphoto2port_devel@,$gphoto2port_devel,;t t
21105 s,@GPHOTO2LIBS@,$GPHOTO2LIBS,;t t
21106 s,@GPHOTO2INCL@,$GPHOTO2INCL,;t t
21107 s,@ICULIBS@,$ICULIBS,;t t
21108 s,@RESOLVLIBS@,$RESOLVLIBS,;t t
21109 s,@LCMSLIBS@,$LCMSLIBS,;t t
21110 s,@LDAPLIBS@,$LDAPLIBS,;t t
21111 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
21112 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
21113 s,@ft_devel@,$ft_devel,;t t
21114 s,@ft_devel2@,$ft_devel2,;t t
21115 s,@FONTSSUBDIRS@,$FONTSSUBDIRS,;t t
21116 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
21117 s,@ARTSLIBS@,$ARTSLIBS,;t t
21118 s,@ARTSINCL@,$ARTSINCL,;t t
21119 s,@ESDCONFIG@,$ESDCONFIG,;t t
21120 s,@ESDLIBS@,$ESDLIBS,;t t
21121 s,@ESDINCL@,$ESDINCL,;t t
21122 s,@ALSALIBS@,$ALSALIBS,;t t
21123 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
21124 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
21125 s,@BUILTINFLAG@,$BUILTINFLAG,;t t
21126 s,@DLLEXT@,$DLLEXT,;t t
21127 s,@DLLFLAGS@,$DLLFLAGS,;t t
21128 s,@DLLIBS@,$DLLIBS,;t t
21129 s,@LDSHARED@,$LDSHARED,;t t
21130 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
21131 s,@LIBEXT@,$LIBEXT,;t t
21132 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
21133 s,@DLLTOOL@,$DLLTOOL,;t t
21134 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
21135 s,@DLLWRAP@,$DLLWRAP,;t t
21136 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
21137 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
21138 s,@LDEXERPATH@,$LDEXERPATH,;t t
21139 s,@LDDLLRPATH@,$LDDLLRPATH,;t t
21140 s,@COREFOUNDATIONLIB@,$COREFOUNDATIONLIB,;t t
21141 s,@IOKITLIB@,$IOKITLIB,;t t
21142 s,@CROSSTEST@,$CROSSTEST,;t t
21143 s,@CROSSCC@,$CROSSCC,;t t
21144 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
21145 s,@LDPATH@,$LDPATH,;t t
21146 s,@CRTLIBS@,$CRTLIBS,;t t
21147 s,@SOCKETLIBS@,$SOCKETLIBS,;t t
21148 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
21149 s,@EXTRA_BINARIES@,$EXTRA_BINARIES,;t t
21151 s,@LIBOBJS@,$LIBOBJS,;t t
21152 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21153 /@MAKE_RULES@/r $MAKE_RULES
21154 s,@MAKE_RULES@,,;t t
21155 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
21156 s,@MAKE_DLL_RULES@,,;t t
21157 /@MAKE_IMPLIB_RULES@/r $MAKE_IMPLIB_RULES
21158 s,@MAKE_IMPLIB_RULES@,,;t t
21159 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
21160 s,@MAKE_TEST_RULES@,,;t t
21161 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
21162 s,@MAKE_LIB_RULES@,,;t t
21163 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
21164 s,@MAKE_PROG_RULES@,,;t t
21169 cat >>$CONFIG_STATUS <<\_ACEOF
21170 # Split the substitutions into bite-sized pieces for seds with
21171 # small command number limits, like on Digital OSF/1 and HP-UX.
21172 ac_max_sed_lines
=48
21173 ac_sed_frag
=1 # Number of current file.
21174 ac_beg
=1 # First line for current file.
21175 ac_end
=$ac_max_sed_lines # Line after last line for current file.
21178 while $ac_more_lines; do
21179 if test $ac_beg -gt 1; then
21180 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21182 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21184 if test ! -s $tmp/subs.frag
; then
21185 ac_more_lines
=false
21187 # The purpose of the label and of the branching condition is to
21188 # speed up the sed processing (if there are no `@' at all, there
21189 # is no need to browse any of the substitutions).
21190 # These are the two extra sed commands mentioned above.
21192 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
21193 if test -z "$ac_sed_cmds"; then
21194 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
21196 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21198 ac_sed_frag
=`expr $ac_sed_frag + 1`
21200 ac_end
=`expr $ac_end + $ac_max_sed_lines`
21203 if test -z "$ac_sed_cmds"; then
21206 fi # test -n "$CONFIG_FILES"
21209 cat >>$CONFIG_STATUS <<\_ACEOF
21210 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
21211 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21213 - |
*:- |
*:-:* ) # input from stdin
21215 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21216 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21217 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21218 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21219 * ) ac_file_in
=$ac_file.
in ;;
21222 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21223 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21224 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21225 X"$ac_file" : 'X\(//\)[^/]' \| \
21226 X"$ac_file" : 'X\(//\)$' \| \
21227 X"$ac_file" : 'X\(/\)' \| \
21228 . : '\(.\)' 2>/dev/null ||
21230 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21231 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21232 /^X\(\/\/\)$/{ s//\1/; q; }
21233 /^X\(\/\).*/{ s//\1/; q; }
21235 { if $as_mkdir_p; then
21240 while test ! -d "$as_dir"; do
21241 as_dirs
="$as_dir $as_dirs"
21242 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21243 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21244 X"$as_dir" : 'X\(//\)[^/]' \| \
21245 X"$as_dir" : 'X\(//\)$' \| \
21246 X"$as_dir" : 'X\(/\)' \| \
21247 . : '\(.\)' 2>/dev/null ||
21249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21250 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21251 /^X\(\/\/\)$/{ s//\1/; q; }
21252 /^X\(\/\).*/{ s//\1/; q; }
21255 test ! -n "$as_dirs" || mkdir
$as_dirs
21256 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21257 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21258 { (exit 1); exit 1; }; }; }
21262 if test "$ac_dir" != .
; then
21263 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21264 # A "../" for each directory in $ac_dir_suffix.
21265 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21267 ac_dir_suffix
= ac_top_builddir
=
21271 .
) # No --srcdir option. We are building in place.
21273 if test -z "$ac_top_builddir"; then
21276 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21278 [\\/]* | ?
:[\\/]* ) # Absolute path.
21279 ac_srcdir
=$srcdir$ac_dir_suffix;
21280 ac_top_srcdir
=$srcdir ;;
21281 *) # Relative path.
21282 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21283 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21286 # Do not use `cd foo && pwd` to compute absolute paths, because
21287 # the directories may not exist.
21289 .
) ac_abs_builddir
="$ac_dir";;
21292 .
) ac_abs_builddir
=`pwd`;;
21293 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21294 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21297 case $ac_abs_builddir in
21298 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21300 case ${ac_top_builddir}.
in
21301 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21302 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21303 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21306 case $ac_abs_builddir in
21307 .
) ac_abs_srcdir
=$ac_srcdir;;
21310 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21311 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21312 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21315 case $ac_abs_builddir in
21316 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21318 case $ac_top_srcdir in
21319 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21320 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21321 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21327 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21328 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21331 # Let's still pretend it is `configure' which instantiates (i.e., don't
21332 # use $as_me), people would be surprised to read:
21333 # /* config.h. Generated by config.status. */
21334 if test x
"$ac_file" = x-
; then
21337 configure_input
="$ac_file. "
21339 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21340 sed 's,.*/,,'` by configure."
21342 # First look for the input files in the build tree, otherwise in the
21344 ac_file_inputs
=`IFS=:
21345 for f in $ac_file_in; do
21347 -) echo $tmp/stdin ;;
21349 # Absolute (can't be DOS-style, as IFS=:)
21350 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21351 echo "$as_me: error: cannot find input file: $f" >&2;}
21352 { (exit 1); exit 1; }; }
21355 if test -f "$f"; then
21358 elif test -f "$srcdir/$f"; then
21363 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21364 echo "$as_me: error: cannot find input file: $f" >&2;}
21365 { (exit 1); exit 1; }; }
21368 done` ||
{ (exit 1); exit 1; }
21370 if test x
"$ac_file" != x-
; then
21371 { echo "$as_me:$LINENO: creating $ac_file" >&5
21372 echo "$as_me: creating $ac_file" >&6;}
21376 cat >>$CONFIG_STATUS <<_ACEOF
21380 cat >>$CONFIG_STATUS <<\_ACEOF
21382 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21383 s
,@configure_input@
,$configure_input,;t t
21384 s
,@srcdir@
,$ac_srcdir,;t t
21385 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21386 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21387 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21388 s
,@builddir@
,$ac_builddir,;t t
21389 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21390 s
,@top_builddir@
,$ac_top_builddir,;t t
21391 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21392 s
,@INSTALL@
,$ac_INSTALL,;t t
21393 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21395 if test x"$ac_file" != x-; then
21396 mv $tmp/out $ac_file
21404 cat >>$CONFIG_STATUS <<\_ACEOF
21407 # CONFIG_HEADER section.
21410 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21411 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21413 # ac_d sets the value in "#define NAME VALUE" lines.
21414 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21415 ac_dB
='[ ].*$,\1#\2'
21418 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21419 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21420 ac_uB
='$,\1#\2define\3'
21424 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21425 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21427 - |
*:- |
*:-:* ) # input from stdin
21429 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21430 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21431 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21432 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21433 * ) ac_file_in
=$ac_file.
in ;;
21436 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21437 echo "$as_me: creating $ac_file" >&6;}
21439 # First look for the input files in the build tree, otherwise in the
21441 ac_file_inputs
=`IFS=:
21442 for f in $ac_file_in; do
21444 -) echo $tmp/stdin ;;
21446 # Absolute (can't be DOS-style, as IFS=:)
21447 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21448 echo "$as_me: error: cannot find input file: $f" >&2;}
21449 { (exit 1); exit 1; }; }
21450 # Do quote $f, to prevent DOS paths from being IFS'd.
21453 if test -f "$f"; then
21456 elif test -f "$srcdir/$f"; then
21461 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21462 echo "$as_me: error: cannot find input file: $f" >&2;}
21463 { (exit 1); exit 1; }; }
21466 done` ||
{ (exit 1); exit 1; }
21467 # Remove the trailing spaces.
21468 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21472 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21473 # `conftest.undefs', that substitutes the proper values into
21474 # config.h.in to produce config.h. The first handles `#define'
21475 # templates, and the second `#undef' templates.
21476 # And first: Protect against being on the right side of a sed subst in
21477 # config.status. Protect against being in an unquoted here document
21478 # in config.status.
21479 rm -f conftest.defines conftest.undefs
21480 # Using a here document instead of a string reduces the quoting nightmare.
21481 # Putting comments in sed scripts is not portable.
21483 # `end' is used to avoid that the second main sed command (meant for
21484 # 0-ary CPP macros) applies to n-ary macro definitions.
21485 # See the Autoconf documentation for `clear'.
21486 cat >confdef2sed.
sed <<\_ACEOF
21491 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21493 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21496 # If some macros were called several times there might be several times
21497 # the same #defines, which is useless. Nevertheless, we may not want to
21498 # sort them, since we want the *last* AC-DEFINE to be honored.
21499 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21500 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21501 rm -f confdef2sed.sed
21503 # This sed command replaces #undef with comments. This is necessary, for
21504 # example, in the case of _POSIX_SOURCE, which is predefined and required
21505 # on some systems where configure will not decide to define it.
21506 cat >>conftest.undefs <<\_ACEOF
21507 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21510 # Break up conftest.defines because some shells have a limit on the size
21511 # of here documents, and old seds have small limits too (100 cmds).
21512 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21513 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21514 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21515 echo ' :' >>$CONFIG_STATUS
21516 rm -f conftest.tail
21517 while grep . conftest.defines >/dev/null
21519 # Write a limited-size here document to $tmp/defines.sed.
21520 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21521 # Speed up: don't consider the non `#define' lines.
21522 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21523 # Work around the forget-to-reset-the-flag bug.
21524 echo 't clr' >>$CONFIG_STATUS
21525 echo ': clr' >>$CONFIG_STATUS
21526 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21528 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21530 mv $tmp/out $tmp/in
21532 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21533 rm -f conftest.defines
21534 mv conftest.
tail conftest.defines
21536 rm -f conftest.defines
21537 echo ' fi # grep' >>$CONFIG_STATUS
21538 echo >>$CONFIG_STATUS
21540 # Break up conftest.undefs because some shells have a limit on the size
21541 # of here documents, and old seds have small limits too (100 cmds).
21542 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21543 rm -f conftest.
tail
21544 while grep . conftest.undefs
>/dev
/null
21546 # Write a limited-size here document to $tmp/undefs.sed.
21547 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21548 # Speed up: don't consider the non
`#undef'
21549 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21550 # Work around the forget-to-reset-the-flag bug.
21551 echo 't clr' >>$CONFIG_STATUS
21552 echo ': clr' >>$CONFIG_STATUS
21553 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21555 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21557 mv $tmp/out $tmp/in
21559 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21560 rm -f conftest.undefs
21561 mv conftest.tail conftest.undefs
21563 rm -f conftest.undefs
21565 cat >>$CONFIG_STATUS <<\_ACEOF
21566 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21567 # use $as_me), people would be surprised to read:
21568 # /* config.h. Generated by config.status. */
21569 if test x
"$ac_file" = x-
; then
21570 echo "/* Generated by configure. */" >$tmp/config.h
21572 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21574 cat $tmp/in >>$tmp/config.h
21576 if test x
"$ac_file" != x-
; then
21577 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21578 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21579 echo "$as_me: $ac_file is unchanged" >&6;}
21581 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21582 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21583 X"$ac_file" : 'X\(//\)[^/]' \| \
21584 X"$ac_file" : 'X\(//\)$' \| \
21585 X"$ac_file" : 'X\(/\)' \| \
21586 . : '\(.\)' 2>/dev/null ||
21588 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21589 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21590 /^X\(\/\/\)$/{ s//\1/; q; }
21591 /^X\(\/\).*/{ s//\1/; q; }
21593 { if $as_mkdir_p; then
21598 while test ! -d "$as_dir"; do
21599 as_dirs
="$as_dir $as_dirs"
21600 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21601 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21602 X"$as_dir" : 'X\(//\)[^/]' \| \
21603 X"$as_dir" : 'X\(//\)$' \| \
21604 X"$as_dir" : 'X\(/\)' \| \
21605 . : '\(.\)' 2>/dev/null ||
21607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21608 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21609 /^X\(\/\/\)$/{ s//\1/; q; }
21610 /^X\(\/\).*/{ s//\1/; q; }
21613 test ! -n "$as_dirs" || mkdir
$as_dirs
21614 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21615 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21616 { (exit 1); exit 1; }; }; }
21619 mv $tmp/config.h
$ac_file
21623 rm -f $tmp/config.h
21627 cat >>$CONFIG_STATUS <<\_ACEOF
21630 # CONFIG_COMMANDS section.
21632 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21633 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21634 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21635 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21636 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21637 X"$ac_dest" : 'X\(//\)[^/]' \| \
21638 X"$ac_dest" : 'X\(//\)$' \| \
21639 X"$ac_dest" : 'X\(/\)' \| \
21640 . : '\(.\)' 2>/dev/null ||
21642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21643 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21644 /^X\(\/\/\)$/{ s//\1/; q; }
21645 /^X\(\/\).*/{ s//\1/; q; }
21647 { if $as_mkdir_p; then
21652 while test ! -d "$as_dir"; do
21653 as_dirs
="$as_dir $as_dirs"
21654 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21655 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21656 X"$as_dir" : 'X\(//\)[^/]' \| \
21657 X"$as_dir" : 'X\(//\)$' \| \
21658 X"$as_dir" : 'X\(/\)' \| \
21659 . : '\(.\)' 2>/dev/null ||
21661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21662 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21663 /^X\(\/\/\)$/{ s//\1/; q; }
21664 /^X\(\/\).*/{ s//\1/; q; }
21667 test ! -n "$as_dirs" || mkdir
$as_dirs
21668 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21669 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21670 { (exit 1); exit 1; }; }; }
21674 if test "$ac_dir" != .
; then
21675 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21676 # A "../" for each directory in $ac_dir_suffix.
21677 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21679 ac_dir_suffix
= ac_top_builddir
=
21683 .
) # No --srcdir option. We are building in place.
21685 if test -z "$ac_top_builddir"; then
21688 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21690 [\\/]* | ?
:[\\/]* ) # Absolute path.
21691 ac_srcdir
=$srcdir$ac_dir_suffix;
21692 ac_top_srcdir
=$srcdir ;;
21693 *) # Relative path.
21694 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21695 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21698 # Do not use `cd foo && pwd` to compute absolute paths, because
21699 # the directories may not exist.
21701 .
) ac_abs_builddir
="$ac_dir";;
21704 .
) ac_abs_builddir
=`pwd`;;
21705 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21706 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21709 case $ac_abs_builddir in
21710 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21712 case ${ac_top_builddir}.
in
21713 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21714 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21715 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21718 case $ac_abs_builddir in
21719 .
) ac_abs_srcdir
=$ac_srcdir;;
21722 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21723 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21724 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21727 case $ac_abs_builddir in
21728 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21730 case $ac_top_srcdir in
21731 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21732 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21733 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21738 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21739 echo "$as_me: executing $ac_dest commands" >&6;}
21741 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21742 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
21743 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21744 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
21745 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21746 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
21747 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21748 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
21749 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21750 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
21751 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
21752 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
21757 cat >>$CONFIG_STATUS <<\_ACEOF
21759 { (exit 0); exit 0; }
21761 chmod +x
$CONFIG_STATUS
21762 ac_clean_files
=$ac_clean_files_save
21765 # configure is writing to config.log, and then calls config.status.
21766 # config.status does its own redirection, appending to config.log.
21767 # Unfortunately, on DOS this fails, as config.log is still kept open
21768 # by configure, so config.status won't be able to write to it; its
21769 # output is simply discarded. So we exec the FD to /dev/null,
21770 # effectively closing config.log, so it can be properly (re)opened and
21771 # appended to by config.status. When coming back to configure, we
21772 # need to make the FD available again.
21773 if test "$no_create" != yes; then
21775 ac_config_status_args
=
21776 test "$silent" = yes &&
21777 ac_config_status_args
="$ac_config_status_args --quiet"
21779 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21781 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21782 # would make configure fail if this is the last instruction.
21783 $ac_cs_success ||
{ (exit 1); exit 1; }
21788 if test "$have_x" = "no"
21791 echo "*** Warning: X development files not found. Wine will be built without"
21792 echo "*** X support, which currently does not work, and would probably not be"
21793 echo "*** what you want anyway. You will need to install devel packages of"
21794 echo "*** Xlib/Xfree86 at the very least."
21798 if test "$wine_cv_opengl_version_OK" = "no"
21801 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21802 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21806 if test "$wine_cv_msg_freetype" = "yes"
21809 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21810 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21811 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21812 echo "*** enable Wine to use TrueType fonts."
21816 if test "$wine_cv_msg_fonts" = "yes"
21819 echo "*** Warning: FreeType or FontForge is missing."
21820 echo "*** Fonts will not be built. Dialog text may be invisible or unaligned."
21824 if test -z "$ALSALIBS" -a \
21825 -z "$ARTSC_LIBS" -a \
21826 -z "$AUDIOIOLIBS" -a \
21828 -z "$ESD_LIBS" -a \
21829 -z "$ac_cv_lib_soname_jack" -a \
21830 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
21831 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
21832 "$ac_cv_header_soundcard_h" != "yes"
21834 echo "*** No sound system was found. Windows applications will be silent."
21835 echo "*** The currently supported sound systems are:"
21836 echo "*** ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS"
21841 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."