2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 0.9.12.
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.12'
273 PACKAGE_STRING
='Wine 0.9.12'
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 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.12 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.12:";;
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.12
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.12, 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
9580 echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9581 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6
9582 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9583 echo $ECHO_N "(cached) $ECHO_C" >&6
9585 ac_check_lib_save_LIBS
=$LIBS
9586 LIBS
="-lhal $ac_hal_libs $LIBS"
9587 cat >conftest.
$ac_ext <<_ACEOF
9590 cat confdefs.h
>>conftest.
$ac_ext
9591 cat >>conftest.
$ac_ext <<_ACEOF
9592 /* end confdefs.h. */
9594 /* Override any gcc2 internal prototype to avoid an error. */
9598 /* We use char because int might match the return type of a gcc2
9599 builtin and then its argument prototype would still apply. */
9600 char libhal_ctx_new ();
9609 rm -f conftest.
$ac_objext conftest
$ac_exeext
9610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9611 (eval $ac_link) 2>conftest.er1
9613 grep -v '^ *+' conftest.er1
>conftest.err
9615 cat conftest.err
>&5
9616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9617 (exit $ac_status); } &&
9618 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 (exit $ac_status); }; } &&
9624 { ac_try
='test -s conftest$ac_exeext'
9625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9629 (exit $ac_status); }; }; then
9630 ac_cv_lib_hal_libhal_ctx_new
=yes
9632 echo "$as_me: failed program was:" >&5
9633 sed 's/^/| /' conftest.
$ac_ext >&5
9635 ac_cv_lib_hal_libhal_ctx_new
=no
9637 rm -f conftest.err conftest.
$ac_objext \
9638 conftest
$ac_exeext conftest.
$ac_ext
9639 LIBS
=$ac_check_lib_save_LIBS
9641 echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9642 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6
9643 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9645 cat >>confdefs.h
<<\_ACEOF
9646 #define HAVE_LIBHAL 1
9649 HALINCL
="$ac_hal_cflags"
9656 CPPFLAGS
="$ac_save_CPPFLAGS"
9660 if test "x$with_curses" != "xno"
9662 if test "$ac_cv_header_ncurses_h" = "yes"
9664 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9665 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9666 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9667 echo $ECHO_N "(cached) $ECHO_C" >&6
9669 ac_check_lib_save_LIBS
=$LIBS
9670 LIBS
="-lncurses $LIBS"
9671 cat >conftest.
$ac_ext <<_ACEOF
9674 cat confdefs.h
>>conftest.
$ac_ext
9675 cat >>conftest.
$ac_ext <<_ACEOF
9676 /* end confdefs.h. */
9678 /* Override any gcc2 internal prototype to avoid an error. */
9682 /* We use char because int might match the return type of a gcc2
9683 builtin and then its argument prototype would still apply. */
9693 rm -f conftest.
$ac_objext conftest
$ac_exeext
9694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9695 (eval $ac_link) 2>conftest.er1
9697 grep -v '^ *+' conftest.er1
>conftest.err
9699 cat conftest.err
>&5
9700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9701 (exit $ac_status); } &&
9702 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707 (exit $ac_status); }; } &&
9708 { ac_try
='test -s conftest$ac_exeext'
9709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 (exit $ac_status); }; }; then
9714 ac_cv_lib_ncurses_waddch
=yes
9716 echo "$as_me: failed program was:" >&5
9717 sed 's/^/| /' conftest.
$ac_ext >&5
9719 ac_cv_lib_ncurses_waddch
=no
9721 rm -f conftest.err conftest.
$ac_objext \
9722 conftest
$ac_exeext conftest.
$ac_ext
9723 LIBS
=$ac_check_lib_save_LIBS
9725 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9726 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9727 if test $ac_cv_lib_ncurses_waddch = yes; then
9729 cat >>confdefs.h
<<\_ACEOF
9730 #define HAVE_LIBNCURSES 1
9733 CURSESLIBS
="-lncurses"
9736 elif test "$ac_cv_header_curses_h" = "yes"
9738 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9739 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9740 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9741 echo $ECHO_N "(cached) $ECHO_C" >&6
9743 ac_check_lib_save_LIBS
=$LIBS
9744 LIBS
="-lcurses $LIBS"
9745 cat >conftest.
$ac_ext <<_ACEOF
9748 cat confdefs.h
>>conftest.
$ac_ext
9749 cat >>conftest.
$ac_ext <<_ACEOF
9750 /* end confdefs.h. */
9752 /* Override any gcc2 internal prototype to avoid an error. */
9756 /* We use char because int might match the return type of a gcc2
9757 builtin and then its argument prototype would still apply. */
9767 rm -f conftest.
$ac_objext conftest
$ac_exeext
9768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9769 (eval $ac_link) 2>conftest.er1
9771 grep -v '^ *+' conftest.er1
>conftest.err
9773 cat conftest.err
>&5
9774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9775 (exit $ac_status); } &&
9776 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 (exit $ac_status); }; } &&
9782 { ac_try
='test -s conftest$ac_exeext'
9783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9787 (exit $ac_status); }; }; then
9788 ac_cv_lib_curses_waddch
=yes
9790 echo "$as_me: failed program was:" >&5
9791 sed 's/^/| /' conftest.
$ac_ext >&5
9793 ac_cv_lib_curses_waddch
=no
9795 rm -f conftest.err conftest.
$ac_objext \
9796 conftest
$ac_exeext conftest.
$ac_ext
9797 LIBS
=$ac_check_lib_save_LIBS
9799 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9800 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9801 if test $ac_cv_lib_curses_waddch = yes; then
9803 cat >>confdefs.h
<<\_ACEOF
9804 #define HAVE_LIBCURSES 1
9807 CURSESLIBS
="-lcurses"
9814 # Extract the first word of "sane-config", so it can be a program name with args.
9815 set dummy sane-config
; ac_word
=$2
9816 echo "$as_me:$LINENO: checking for $ac_word" >&5
9817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9818 if test "${ac_cv_prog_sane_devel+set}" = set; then
9819 echo $ECHO_N "(cached) $ECHO_C" >&6
9821 if test -n "$sane_devel"; then
9822 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9828 test -z "$as_dir" && as_dir
=.
9829 for ac_exec_ext
in '' $ac_executable_extensions; do
9830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9831 ac_cv_prog_sane_devel
="sane-config"
9832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9838 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9841 sane_devel
=$ac_cv_prog_sane_devel
9842 if test -n "$sane_devel"; then
9843 echo "$as_me:$LINENO: result: $sane_devel" >&5
9844 echo "${ECHO_T}$sane_devel" >&6
9846 echo "$as_me:$LINENO: result: no" >&5
9847 echo "${ECHO_T}no" >&6
9854 if test "$sane_devel" != "no"
9856 SANELIBS
="`$sane_devel --libs`"
9857 SANEINCL
="`$sane_devel --cflags`"
9858 ac_save_CPPFLAGS
="$CPPFLAGS"
9859 ac_save_LIBS
="$LIBS"
9860 CPPFLAGS
="$CPPFLAGS $SANEINCL"
9861 LIBS
="$LIBS $SANELIBS"
9862 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9863 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9864 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9865 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9866 echo $ECHO_N "(cached) $ECHO_C" >&6
9868 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9869 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9871 # Is the header compilable?
9872 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9873 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9874 cat >conftest.
$ac_ext <<_ACEOF
9877 cat confdefs.h
>>conftest.
$ac_ext
9878 cat >>conftest.
$ac_ext <<_ACEOF
9879 /* end confdefs.h. */
9880 $ac_includes_default
9881 #include <sane/sane.h>
9883 rm -f conftest.
$ac_objext
9884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9885 (eval $ac_compile) 2>conftest.er1
9887 grep -v '^ *+' conftest.er1
>conftest.err
9889 cat conftest.err
>&5
9890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9891 (exit $ac_status); } &&
9892 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9897 (exit $ac_status); }; } &&
9898 { ac_try
='test -s conftest.$ac_objext'
9899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9903 (exit $ac_status); }; }; then
9904 ac_header_compiler
=yes
9906 echo "$as_me: failed program was:" >&5
9907 sed 's/^/| /' conftest.
$ac_ext >&5
9909 ac_header_compiler
=no
9911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9912 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9913 echo "${ECHO_T}$ac_header_compiler" >&6
9915 # Is the header present?
9916 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9917 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9918 cat >conftest.
$ac_ext <<_ACEOF
9921 cat confdefs.h
>>conftest.
$ac_ext
9922 cat >>conftest.
$ac_ext <<_ACEOF
9923 /* end confdefs.h. */
9924 #include <sane/sane.h>
9926 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9927 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9929 grep -v '^ *+' conftest.er1
>conftest.err
9931 cat conftest.err
>&5
9932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9933 (exit $ac_status); } >/dev
/null
; then
9934 if test -s conftest.err
; then
9935 ac_cpp_err
=$ac_c_preproc_warn_flag
9936 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9943 if test -z "$ac_cpp_err"; then
9944 ac_header_preproc
=yes
9946 echo "$as_me: failed program was:" >&5
9947 sed 's/^/| /' conftest.
$ac_ext >&5
9949 ac_header_preproc
=no
9951 rm -f conftest.err conftest.
$ac_ext
9952 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9953 echo "${ECHO_T}$ac_header_preproc" >&6
9955 # So? What about this header?
9956 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9958 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9959 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9960 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9961 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9962 ac_header_preproc
=yes
9965 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9966 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9967 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9968 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9969 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9970 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9971 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9972 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9973 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9974 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9975 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9976 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9979 ## ------------------------------------ ##
9980 ## Report this to wine-devel@winehq.org ##
9981 ## ------------------------------------ ##
9984 sed "s/^/$as_me: WARNING: /" >&2
9987 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9988 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9989 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9990 echo $ECHO_N "(cached) $ECHO_C" >&6
9992 ac_cv_header_sane_sane_h
=$ac_header_preproc
9994 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9995 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9998 if test $ac_cv_header_sane_sane_h = yes; then
9999 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
10000 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
10001 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
10002 echo $ECHO_N "(cached) $ECHO_C" >&6
10004 ac_check_lib_save_LIBS
=$LIBS
10005 LIBS
="-lsane $LIBS"
10006 cat >conftest.
$ac_ext <<_ACEOF
10009 cat confdefs.h
>>conftest.
$ac_ext
10010 cat >>conftest.
$ac_ext <<_ACEOF
10011 /* end confdefs.h. */
10013 /* Override any gcc2 internal prototype to avoid an error. */
10017 /* We use char because int might match the return type of a gcc2
10018 builtin and then its argument prototype would still apply. */
10028 rm -f conftest.
$ac_objext conftest
$ac_exeext
10029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10030 (eval $ac_link) 2>conftest.er1
10032 grep -v '^ *+' conftest.er1
>conftest.err
10034 cat conftest.err
>&5
10035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10036 (exit $ac_status); } &&
10037 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10039 (eval $ac_try) 2>&5
10041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042 (exit $ac_status); }; } &&
10043 { ac_try
='test -s conftest$ac_exeext'
10044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10045 (eval $ac_try) 2>&5
10047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10048 (exit $ac_status); }; }; then
10049 ac_cv_lib_sane_sane_open
=yes
10051 echo "$as_me: failed program was:" >&5
10052 sed 's/^/| /' conftest.
$ac_ext >&5
10054 ac_cv_lib_sane_sane_open
=no
10056 rm -f conftest.err conftest.
$ac_objext \
10057 conftest
$ac_exeext conftest.
$ac_ext
10058 LIBS
=$ac_check_lib_save_LIBS
10060 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10061 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
10062 if test $ac_cv_lib_sane_sane_open = yes; then
10064 cat >>confdefs.h
<<\_ACEOF
10065 #define HAVE_SANE 1
10079 LIBS
="$ac_save_LIBS"
10080 CPPFLAGS
="$ac_save_CPPFLAGS"
10083 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10086 ICU_LIB_DIR
="${ICU_LIB_DIR-/usr/lib}"
10087 ICUUC_LIB
="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
10088 ICUDATA_LIB
="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
10089 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
10090 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
10091 LIBS
="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10092 cat >conftest.
$ac_ext <<_ACEOF
10095 cat confdefs.h
>>conftest.
$ac_ext
10096 cat >>conftest.
$ac_ext <<_ACEOF
10097 /* end confdefs.h. */
10098 #include <unicode/ubidi.h>
10107 rm -f conftest.
$ac_objext conftest
$ac_exeext
10108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10109 (eval $ac_link) 2>conftest.er1
10111 grep -v '^ *+' conftest.er1
>conftest.err
10113 cat conftest.err
>&5
10114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10115 (exit $ac_status); } &&
10116 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10118 (eval $ac_try) 2>&5
10120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10121 (exit $ac_status); }; } &&
10122 { ac_try
='test -s conftest$ac_exeext'
10123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10124 (eval $ac_try) 2>&5
10126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127 (exit $ac_status); }; }; then
10129 cat >>confdefs.h
<<\_ACEOF
10133 ICULIBS
="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10135 echo "$as_me:$LINENO: result: yes" >&5
10136 echo "${ECHO_T}yes" >&6
10138 echo "$as_me: failed program was:" >&5
10139 sed 's/^/| /' conftest.
$ac_ext >&5
10141 echo "$as_me:$LINENO: result: no" >&5
10142 echo "${ECHO_T}no" >&6
10144 rm -f conftest.err conftest.
$ac_objext \
10145 conftest
$ac_exeext conftest.
$ac_ext
10151 if test "$ac_cv_header_resolv_h" = "yes"
10153 echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10154 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6
10155 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10156 echo $ECHO_N "(cached) $ECHO_C" >&6
10158 ac_check_lib_save_LIBS
=$LIBS
10159 LIBS
="-lresolv $LIBS"
10160 cat >conftest.
$ac_ext <<_ACEOF
10163 cat confdefs.h
>>conftest.
$ac_ext
10164 cat >>conftest.
$ac_ext <<_ACEOF
10165 /* end confdefs.h. */
10167 /* Override any gcc2 internal prototype to avoid an error. */
10171 /* We use char because int might match the return type of a gcc2
10172 builtin and then its argument prototype would still apply. */
10182 rm -f conftest.
$ac_objext conftest
$ac_exeext
10183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10184 (eval $ac_link) 2>conftest.er1
10186 grep -v '^ *+' conftest.er1
>conftest.err
10188 cat conftest.err
>&5
10189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10190 (exit $ac_status); } &&
10191 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10193 (eval $ac_try) 2>&5
10195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10196 (exit $ac_status); }; } &&
10197 { ac_try
='test -s conftest$ac_exeext'
10198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10199 (eval $ac_try) 2>&5
10201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10202 (exit $ac_status); }; }; then
10203 ac_cv_lib_resolv_res_query
=yes
10205 echo "$as_me: failed program was:" >&5
10206 sed 's/^/| /' conftest.
$ac_ext >&5
10208 ac_cv_lib_resolv_res_query
=no
10210 rm -f conftest.err conftest.
$ac_objext \
10211 conftest
$ac_exeext conftest.
$ac_ext
10212 LIBS
=$ac_check_lib_save_LIBS
10214 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10215 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6
10216 if test $ac_cv_lib_resolv_res_query = yes; then
10218 cat >>confdefs.h
<<\_ACEOF
10219 #define HAVE_RESOLV 1
10222 RESOLVLIBS
="-lresolv"
10229 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10231 echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10232 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6
10233 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10234 echo $ECHO_N "(cached) $ECHO_C" >&6
10236 ac_check_lib_save_LIBS
=$LIBS
10237 LIBS
="-llcms $LIBS"
10238 cat >conftest.
$ac_ext <<_ACEOF
10241 cat confdefs.h
>>conftest.
$ac_ext
10242 cat >>conftest.
$ac_ext <<_ACEOF
10243 /* end confdefs.h. */
10245 /* Override any gcc2 internal prototype to avoid an error. */
10249 /* We use char because int might match the return type of a gcc2
10250 builtin and then its argument prototype would still apply. */
10251 char cmsOpenProfileFromFile ();
10255 cmsOpenProfileFromFile ();
10260 rm -f conftest.
$ac_objext conftest
$ac_exeext
10261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10262 (eval $ac_link) 2>conftest.er1
10264 grep -v '^ *+' conftest.er1
>conftest.err
10266 cat conftest.err
>&5
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 (exit $ac_status); } &&
10269 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10271 (eval $ac_try) 2>&5
10273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274 (exit $ac_status); }; } &&
10275 { ac_try
='test -s conftest$ac_exeext'
10276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10277 (eval $ac_try) 2>&5
10279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280 (exit $ac_status); }; }; then
10281 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10283 echo "$as_me: failed program was:" >&5
10284 sed 's/^/| /' conftest.
$ac_ext >&5
10286 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10288 rm -f conftest.err conftest.
$ac_objext \
10289 conftest
$ac_exeext conftest.
$ac_ext
10290 LIBS
=$ac_check_lib_save_LIBS
10292 echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10293 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6
10294 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10296 cat >>confdefs.h
<<\_ACEOF
10297 #define HAVE_LCMS 1
10307 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10309 echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10310 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6
10311 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10312 echo $ECHO_N "(cached) $ECHO_C" >&6
10314 ac_check_lib_save_LIBS
=$LIBS
10315 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
10316 cat >conftest.
$ac_ext <<_ACEOF
10319 cat confdefs.h
>>conftest.
$ac_ext
10320 cat >>conftest.
$ac_ext <<_ACEOF
10321 /* end confdefs.h. */
10323 /* Override any gcc2 internal prototype to avoid an error. */
10327 /* We use char because int might match the return type of a gcc2
10328 builtin and then its argument prototype would still apply. */
10329 char ldap_initialize ();
10333 ldap_initialize ();
10338 rm -f conftest.
$ac_objext conftest
$ac_exeext
10339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10340 (eval $ac_link) 2>conftest.er1
10342 grep -v '^ *+' conftest.er1
>conftest.err
10344 cat conftest.err
>&5
10345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10346 (exit $ac_status); } &&
10347 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10349 (eval $ac_try) 2>&5
10351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10352 (exit $ac_status); }; } &&
10353 { ac_try
='test -s conftest$ac_exeext'
10354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10355 (eval $ac_try) 2>&5
10357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10358 (exit $ac_status); }; }; then
10359 ac_cv_lib_ldap_r_ldap_initialize
=yes
10361 echo "$as_me: failed program was:" >&5
10362 sed 's/^/| /' conftest.
$ac_ext >&5
10364 ac_cv_lib_ldap_r_ldap_initialize
=no
10366 rm -f conftest.err conftest.
$ac_objext \
10367 conftest
$ac_exeext conftest.
$ac_ext
10368 LIBS
=$ac_check_lib_save_LIBS
10370 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10371 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6
10372 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10373 echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10374 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6
10375 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10376 echo $ECHO_N "(cached) $ECHO_C" >&6
10378 ac_check_lib_save_LIBS
=$LIBS
10379 LIBS
="-llber $LIBPTHREAD $LIBS"
10380 cat >conftest.
$ac_ext <<_ACEOF
10383 cat confdefs.h
>>conftest.
$ac_ext
10384 cat >>conftest.
$ac_ext <<_ACEOF
10385 /* end confdefs.h. */
10387 /* Override any gcc2 internal prototype to avoid an error. */
10391 /* We use char because int might match the return type of a gcc2
10392 builtin and then its argument prototype would still apply. */
10402 rm -f conftest.
$ac_objext conftest
$ac_exeext
10403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10404 (eval $ac_link) 2>conftest.er1
10406 grep -v '^ *+' conftest.er1
>conftest.err
10408 cat conftest.err
>&5
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); } &&
10411 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10413 (eval $ac_try) 2>&5
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); }; } &&
10417 { ac_try
='test -s conftest$ac_exeext'
10418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10419 (eval $ac_try) 2>&5
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); }; }; then
10423 ac_cv_lib_lber_ber_init
=yes
10425 echo "$as_me: failed program was:" >&5
10426 sed 's/^/| /' conftest.
$ac_ext >&5
10428 ac_cv_lib_lber_ber_init
=no
10430 rm -f conftest.err conftest.
$ac_objext \
10431 conftest
$ac_exeext conftest.
$ac_ext
10432 LIBS
=$ac_check_lib_save_LIBS
10434 echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10435 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6
10436 if test $ac_cv_lib_lber_ber_init = yes; then
10438 cat >>confdefs.h
<<\_ACEOF
10439 #define HAVE_LDAP 1
10442 LDAPLIBS
="-lldap_r -llber"
10447 ac_wine_check_funcs_save_LIBS
="$LIBS"
10448 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
10454 ldap_count_references \
10455 ldap_first_reference \
10456 ldap_next_reference \
10457 ldap_parse_reference
10459 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10460 echo "$as_me:$LINENO: checking for $ac_func" >&5
10461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10462 if eval "test \"\${$as_ac_var+set}\" = set"; then
10463 echo $ECHO_N "(cached) $ECHO_C" >&6
10465 cat >conftest.
$ac_ext <<_ACEOF
10468 cat confdefs.h
>>conftest.
$ac_ext
10469 cat >>conftest.
$ac_ext <<_ACEOF
10470 /* end confdefs.h. */
10471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10473 #define $ac_func innocuous_$ac_func
10475 /* System header to define __stub macros and hopefully few prototypes,
10476 which can conflict with char $ac_func (); below.
10477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10478 <limits.h> exists even on freestanding compilers. */
10481 # include <limits.h>
10483 # include <assert.h>
10488 /* Override any gcc2 internal prototype to avoid an error. */
10493 /* We use char because int might match the return type of a gcc2
10494 builtin and then its argument prototype would still apply. */
10496 /* The GNU C library defines this for functions which it implements
10497 to always fail with ENOSYS. Some functions are actually named
10498 something starting with __ and the normal name is an alias. */
10499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10502 char (*f) () = $ac_func;
10511 return f != $ac_func;
10516 rm -f conftest.
$ac_objext conftest
$ac_exeext
10517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10518 (eval $ac_link) 2>conftest.er1
10520 grep -v '^ *+' conftest.er1
>conftest.err
10522 cat conftest.err
>&5
10523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10524 (exit $ac_status); } &&
10525 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10527 (eval $ac_try) 2>&5
10529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10530 (exit $ac_status); }; } &&
10531 { ac_try
='test -s conftest$ac_exeext'
10532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10533 (eval $ac_try) 2>&5
10535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10536 (exit $ac_status); }; }; then
10537 eval "$as_ac_var=yes"
10539 echo "$as_me: failed program was:" >&5
10540 sed 's/^/| /' conftest.
$ac_ext >&5
10542 eval "$as_ac_var=no"
10544 rm -f conftest.err conftest.
$ac_objext \
10545 conftest
$ac_exeext conftest.
$ac_ext
10547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10549 if test `eval echo '${'$as_ac_var'}'` = yes; then
10550 cat >>confdefs.h
<<_ACEOF
10551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10557 LIBS
="$ac_wine_check_funcs_save_LIBS"
10564 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10565 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
10566 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10567 echo $ECHO_N "(cached) $ECHO_C" >&6
10569 ac_check_lib_save_LIBS
=$LIBS
10570 LIBS
="-lfreetype $X_LIBS $LIBS"
10571 cat >conftest.
$ac_ext <<_ACEOF
10574 cat confdefs.h
>>conftest.
$ac_ext
10575 cat >>conftest.
$ac_ext <<_ACEOF
10576 /* end confdefs.h. */
10578 /* Override any gcc2 internal prototype to avoid an error. */
10582 /* We use char because int might match the return type of a gcc2
10583 builtin and then its argument prototype would still apply. */
10584 char FT_Init_FreeType ();
10588 FT_Init_FreeType ();
10593 rm -f conftest.
$ac_objext conftest
$ac_exeext
10594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10595 (eval $ac_link) 2>conftest.er1
10597 grep -v '^ *+' conftest.er1
>conftest.err
10599 cat conftest.err
>&5
10600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10601 (exit $ac_status); } &&
10602 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10604 (eval $ac_try) 2>&5
10606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10607 (exit $ac_status); }; } &&
10608 { ac_try
='test -s conftest$ac_exeext'
10609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10610 (eval $ac_try) 2>&5
10612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10613 (exit $ac_status); }; }; then
10614 ac_cv_lib_freetype_FT_Init_FreeType
=yes
10616 echo "$as_me: failed program was:" >&5
10617 sed 's/^/| /' conftest.
$ac_ext >&5
10619 ac_cv_lib_freetype_FT_Init_FreeType
=no
10621 rm -f conftest.err conftest.
$ac_objext \
10622 conftest
$ac_exeext conftest.
$ac_ext
10623 LIBS
=$ac_check_lib_save_LIBS
10625 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10626 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
10627 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10633 if test "$ft_lib" = "no"
10635 wine_cv_msg_freetype
=no
10637 # Extract the first word of "freetype-config", so it can be a program name with args.
10638 set dummy freetype-config
; ac_word
=$2
10639 echo "$as_me:$LINENO: checking for $ac_word" >&5
10640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10641 if test "${ac_cv_prog_ft_devel+set}" = set; then
10642 echo $ECHO_N "(cached) $ECHO_C" >&6
10644 if test -n "$ft_devel"; then
10645 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10648 for as_dir
in $PATH
10651 test -z "$as_dir" && as_dir
=.
10652 for ac_exec_ext
in '' $ac_executable_extensions; do
10653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10654 ac_cv_prog_ft_devel
="freetype-config"
10655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10661 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
10664 ft_devel
=$ac_cv_prog_ft_devel
10665 if test -n "$ft_devel"; then
10666 echo "$as_me:$LINENO: result: $ft_devel" >&5
10667 echo "${ECHO_T}$ft_devel" >&6
10669 echo "$as_me:$LINENO: result: no" >&5
10670 echo "${ECHO_T}no" >&6
10673 if test "$ft_devel" = "no"
10675 # Extract the first word of "freetype2-config", so it can be a program name with args.
10676 set dummy freetype2-config
; ac_word
=$2
10677 echo "$as_me:$LINENO: checking for $ac_word" >&5
10678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10679 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10680 echo $ECHO_N "(cached) $ECHO_C" >&6
10682 if test -n "$ft_devel2"; then
10683 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
10685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10686 for as_dir
in $PATH
10689 test -z "$as_dir" && as_dir
=.
10690 for ac_exec_ext
in '' $ac_executable_extensions; do
10691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10692 ac_cv_prog_ft_devel2
="freetype2-config"
10693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10699 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
10702 ft_devel2
=$ac_cv_prog_ft_devel2
10703 if test -n "$ft_devel2"; then
10704 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10705 echo "${ECHO_T}$ft_devel2" >&6
10707 echo "$as_me:$LINENO: result: no" >&5
10708 echo "${ECHO_T}no" >&6
10711 if test "$ft_devel2" = "freetype2-config"
10713 ft_devel
=$ft_devel2
10716 if test "$ft_devel" = "no"
10718 wine_cv_msg_freetype
=yes
10720 FREETYPELIBS
=`$ft_devel --libs`
10721 FREETYPEINCL
=`$ft_devel --cflags`
10722 ac_save_CPPFLAGS
="$CPPFLAGS"
10723 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
10735 for ac_header
in ft2build.h \
10736 freetype
/freetype.h \
10737 freetype
/ftglyph.h \
10738 freetype
/tttables.h \
10739 freetype
/ftnames.h \
10740 freetype
/ftsnames.h \
10741 freetype
/ttnameid.h \
10742 freetype
/ftoutln.h \
10743 freetype
/ftwinfnt.h \
10744 freetype
/ftmodapi.h \
10745 freetype
/internal
/sfnt.h
10747 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10748 echo "$as_me:$LINENO: checking for $ac_header" >&5
10749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10751 echo $ECHO_N "(cached) $ECHO_C" >&6
10753 cat >conftest.
$ac_ext <<_ACEOF
10756 cat confdefs.h
>>conftest.
$ac_ext
10757 cat >>conftest.
$ac_ext <<_ACEOF
10758 /* end confdefs.h. */
10759 #if HAVE_FT2BUILD_H
10760 #include <ft2build.h>
10763 #include <$ac_header>
10765 rm -f conftest.
$ac_objext
10766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10767 (eval $ac_compile) 2>conftest.er1
10769 grep -v '^ *+' conftest.er1
>conftest.err
10771 cat conftest.err
>&5
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); } &&
10774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10776 (eval $ac_try) 2>&5
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 (exit $ac_status); }; } &&
10780 { ac_try
='test -s conftest.$ac_objext'
10781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10782 (eval $ac_try) 2>&5
10784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10785 (exit $ac_status); }; }; then
10786 eval "$as_ac_Header=yes"
10788 echo "$as_me: failed program was:" >&5
10789 sed 's/^/| /' conftest.
$ac_ext >&5
10791 eval "$as_ac_Header=no"
10793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10798 cat >>confdefs.h
<<_ACEOF
10799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10806 cat >conftest.
$ac_ext <<_ACEOF
10809 cat confdefs.h
>>conftest.
$ac_ext
10810 cat >>conftest.
$ac_ext <<_ACEOF
10811 /* end confdefs.h. */
10812 #include <ft2build.h>
10813 #include <freetype/fttrigon.h>
10815 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10816 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10818 grep -v '^ *+' conftest.er1
>conftest.err
10820 cat conftest.err
>&5
10821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); } >/dev
/null
; then
10823 if test -s conftest.err
; then
10824 ac_cpp_err
=$ac_c_preproc_warn_flag
10825 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10832 if test -z "$ac_cpp_err"; then
10834 cat >>confdefs.h
<<\_ACEOF
10835 #define HAVE_FREETYPE_FTTRIGON_H 1
10838 wine_cv_fttrigon
=yes
10840 echo "$as_me: failed program was:" >&5
10841 sed 's/^/| /' conftest.
$ac_ext >&5
10843 wine_cv_fttrigon
=no
10845 rm -f conftest.err conftest.
$ac_ext
10846 echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
10847 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6
10848 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
10849 echo $ECHO_N "(cached) $ECHO_C" >&6
10851 cat >conftest.
$ac_ext <<_ACEOF
10854 cat confdefs.h
>>conftest.
$ac_ext
10855 cat >>conftest.
$ac_ext <<_ACEOF
10856 /* end confdefs.h. */
10857 #include <freetype/ftmodapi.h>
10862 if ((FT_TrueTypeEngineType *) 0)
10864 if (sizeof (FT_TrueTypeEngineType))
10870 rm -f conftest.
$ac_objext
10871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10872 (eval $ac_compile) 2>conftest.er1
10874 grep -v '^ *+' conftest.er1
>conftest.err
10876 cat conftest.err
>&5
10877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10878 (exit $ac_status); } &&
10879 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10881 (eval $ac_try) 2>&5
10883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10884 (exit $ac_status); }; } &&
10885 { ac_try
='test -s conftest.$ac_objext'
10886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10887 (eval $ac_try) 2>&5
10889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10890 (exit $ac_status); }; }; then
10891 ac_cv_type_FT_TrueTypeEngineType
=yes
10893 echo "$as_me: failed program was:" >&5
10894 sed 's/^/| /' conftest.
$ac_ext >&5
10896 ac_cv_type_FT_TrueTypeEngineType
=no
10898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10900 echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
10901 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6
10902 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
10904 cat >>confdefs.h
<<_ACEOF
10905 #define HAVE_FT_TRUETYPEENGINETYPE 1
10911 ac_save_CFLAGS
="$CFLAGS"
10912 CFLAGS
="$CFLAGS $FREETYPELIBS"
10914 for ac_func
in FT_Load_Sfnt_Table
10916 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10917 echo "$as_me:$LINENO: checking for $ac_func" >&5
10918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10919 if eval "test \"\${$as_ac_var+set}\" = set"; then
10920 echo $ECHO_N "(cached) $ECHO_C" >&6
10922 cat >conftest.
$ac_ext <<_ACEOF
10925 cat confdefs.h
>>conftest.
$ac_ext
10926 cat >>conftest.
$ac_ext <<_ACEOF
10927 /* end confdefs.h. */
10928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10930 #define $ac_func innocuous_$ac_func
10932 /* System header to define __stub macros and hopefully few prototypes,
10933 which can conflict with char $ac_func (); below.
10934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10935 <limits.h> exists even on freestanding compilers. */
10938 # include <limits.h>
10940 # include <assert.h>
10945 /* Override any gcc2 internal prototype to avoid an error. */
10950 /* We use char because int might match the return type of a gcc2
10951 builtin and then its argument prototype would still apply. */
10953 /* The GNU C library defines this for functions which it implements
10954 to always fail with ENOSYS. Some functions are actually named
10955 something starting with __ and the normal name is an alias. */
10956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10959 char (*f) () = $ac_func;
10968 return f != $ac_func;
10973 rm -f conftest.
$ac_objext conftest
$ac_exeext
10974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10975 (eval $ac_link) 2>conftest.er1
10977 grep -v '^ *+' conftest.er1
>conftest.err
10979 cat conftest.err
>&5
10980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10981 (exit $ac_status); } &&
10982 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10984 (eval $ac_try) 2>&5
10986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987 (exit $ac_status); }; } &&
10988 { ac_try
='test -s conftest$ac_exeext'
10989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10990 (eval $ac_try) 2>&5
10992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10993 (exit $ac_status); }; }; then
10994 eval "$as_ac_var=yes"
10996 echo "$as_me: failed program was:" >&5
10997 sed 's/^/| /' conftest.
$ac_ext >&5
10999 eval "$as_ac_var=no"
11001 rm -f conftest.err conftest.
$ac_objext \
11002 conftest
$ac_exeext conftest.
$ac_ext
11004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11006 if test `eval echo '${'$as_ac_var'}'` = yes; then
11007 cat >>confdefs.h
<<_ACEOF
11008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11014 CFLAGS
="$ac_save_CFLAGS"
11015 CPPFLAGS
="$ac_save_CPPFLAGS"
11016 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11019 cat >>confdefs.h
<<\_ACEOF
11020 #define HAVE_FREETYPE 1
11023 wine_cv_msg_freetype
=no
11027 wine_cv_msg_freetype
=yes
11032 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11034 FONTSSUBDIRS
="fonts"
11036 wine_cv_msg_fonts
=no
11038 wine_cv_msg_fonts
=yes
11041 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11042 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
11043 if test "${ac_cv_c_ppdev+set}" = set; then
11044 echo $ECHO_N "(cached) $ECHO_C" >&6
11046 cat >conftest.
$ac_ext <<_ACEOF
11049 cat confdefs.h
>>conftest.
$ac_ext
11050 cat >>conftest.
$ac_ext <<_ACEOF
11051 /* end confdefs.h. */
11052 #include <linux/ppdev.h>
11056 ioctl (1,PPCLAIM,0)
11061 rm -f conftest.
$ac_objext
11062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11063 (eval $ac_compile) 2>conftest.er1
11065 grep -v '^ *+' conftest.er1
>conftest.err
11067 cat conftest.err
>&5
11068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11069 (exit $ac_status); } &&
11070 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11072 (eval $ac_try) 2>&5
11074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11075 (exit $ac_status); }; } &&
11076 { ac_try
='test -s conftest.$ac_objext'
11077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11078 (eval $ac_try) 2>&5
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 (exit $ac_status); }; }; then
11082 ac_cv_c_ppdev
="yes"
11084 echo "$as_me: failed program was:" >&5
11085 sed 's/^/| /' conftest.
$ac_ext >&5
11089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11092 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11093 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
11094 if test "$ac_cv_c_ppdev" = "yes"
11097 cat >>confdefs.h
<<\_ACEOF
11098 #define HAVE_PPDEV 1
11103 echo "$as_me:$LINENO: checking for va_copy" >&5
11104 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
11105 if test "${ac_cv_c_va_copy+set}" = set; then
11106 echo $ECHO_N "(cached) $ECHO_C" >&6
11108 cat >conftest.
$ac_ext <<_ACEOF
11111 cat confdefs.h
>>conftest.
$ac_ext
11112 cat >>conftest.
$ac_ext <<_ACEOF
11113 /* end confdefs.h. */
11114 #include <stdarg.h>
11125 rm -f conftest.
$ac_objext conftest
$ac_exeext
11126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11127 (eval $ac_link) 2>conftest.er1
11129 grep -v '^ *+' conftest.er1
>conftest.err
11131 cat conftest.err
>&5
11132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11133 (exit $ac_status); } &&
11134 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11136 (eval $ac_try) 2>&5
11138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139 (exit $ac_status); }; } &&
11140 { ac_try
='test -s conftest$ac_exeext'
11141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11142 (eval $ac_try) 2>&5
11144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11145 (exit $ac_status); }; }; then
11146 ac_cv_c_va_copy
="yes"
11148 echo "$as_me: failed program was:" >&5
11149 sed 's/^/| /' conftest.
$ac_ext >&5
11151 ac_cv_c_va_copy
="no"
11153 rm -f conftest.err conftest.
$ac_objext \
11154 conftest
$ac_exeext conftest.
$ac_ext
11157 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11158 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
11159 if test "$ac_cv_c_va_copy" = "yes"
11162 cat >>confdefs.h
<<\_ACEOF
11163 #define HAVE_VA_COPY 1
11167 echo "$as_me:$LINENO: checking for __va_copy" >&5
11168 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
11169 if test "${ac_cv_c___va_copy+set}" = set; then
11170 echo $ECHO_N "(cached) $ECHO_C" >&6
11172 cat >conftest.
$ac_ext <<_ACEOF
11175 cat confdefs.h
>>conftest.
$ac_ext
11176 cat >>conftest.
$ac_ext <<_ACEOF
11177 /* end confdefs.h. */
11178 #include <stdarg.h>
11183 __va_copy(ap1,ap2);
11189 rm -f conftest.
$ac_objext conftest
$ac_exeext
11190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11191 (eval $ac_link) 2>conftest.er1
11193 grep -v '^ *+' conftest.er1
>conftest.err
11195 cat conftest.err
>&5
11196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11197 (exit $ac_status); } &&
11198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11200 (eval $ac_try) 2>&5
11202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11203 (exit $ac_status); }; } &&
11204 { ac_try
='test -s conftest$ac_exeext'
11205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11206 (eval $ac_try) 2>&5
11208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11209 (exit $ac_status); }; }; then
11210 ac_cv_c___va_copy
="yes"
11212 echo "$as_me: failed program was:" >&5
11213 sed 's/^/| /' conftest.
$ac_ext >&5
11215 ac_cv_c___va_copy
="no"
11217 rm -f conftest.err conftest.
$ac_objext \
11218 conftest
$ac_exeext conftest.
$ac_ext
11221 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11222 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
11223 if test "$ac_cv_c___va_copy" = "yes"
11226 cat >>confdefs.h
<<\_ACEOF
11227 #define HAVE___VA_COPY 1
11232 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11233 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
11234 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11235 echo $ECHO_N "(cached) $ECHO_C" >&6
11237 cat >conftest.
$ac_ext <<_ACEOF
11240 cat confdefs.h
>>conftest.
$ac_ext
11241 cat >>conftest.
$ac_ext <<_ACEOF
11242 /* end confdefs.h. */
11243 #include <setjmp.h>
11248 sigsetjmp( buf, 1 );
11249 siglongjmp( buf, 1 );
11254 rm -f conftest.
$ac_objext conftest
$ac_exeext
11255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11256 (eval $ac_link) 2>conftest.er1
11258 grep -v '^ *+' conftest.er1
>conftest.err
11260 cat conftest.err
>&5
11261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11262 (exit $ac_status); } &&
11263 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11265 (eval $ac_try) 2>&5
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); }; } &&
11269 { ac_try
='test -s conftest$ac_exeext'
11270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11271 (eval $ac_try) 2>&5
11273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11274 (exit $ac_status); }; }; then
11275 ac_cv_c_sigsetjmp
="yes"
11277 echo "$as_me: failed program was:" >&5
11278 sed 's/^/| /' conftest.
$ac_ext >&5
11280 ac_cv_c_sigsetjmp
="no"
11282 rm -f conftest.err conftest.
$ac_objext \
11283 conftest
$ac_exeext conftest.
$ac_ext
11286 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11287 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
11288 if test "$ac_cv_c_sigsetjmp" = "yes"
11291 cat >>confdefs.h
<<\_ACEOF
11292 #define HAVE_SIGSETJMP 1
11297 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11298 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
11299 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11300 echo $ECHO_N "(cached) $ECHO_C" >&6
11302 cat >conftest.
$ac_ext <<_ACEOF
11305 cat confdefs.h
>>conftest.
$ac_ext
11306 cat >>conftest.
$ac_ext <<_ACEOF
11307 /* end confdefs.h. */
11308 #define _GNU_SOURCE
11309 #include <pthread.h>
11314 if ((pthread_rwlock_t *) 0)
11316 if (sizeof (pthread_rwlock_t))
11322 rm -f conftest.
$ac_objext
11323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11324 (eval $ac_compile) 2>conftest.er1
11326 grep -v '^ *+' conftest.er1
>conftest.err
11328 cat conftest.err
>&5
11329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330 (exit $ac_status); } &&
11331 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11333 (eval $ac_try) 2>&5
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); }; } &&
11337 { ac_try
='test -s conftest.$ac_objext'
11338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11339 (eval $ac_try) 2>&5
11341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11342 (exit $ac_status); }; }; then
11343 ac_cv_type_pthread_rwlock_t
=yes
11345 echo "$as_me: failed program was:" >&5
11346 sed 's/^/| /' conftest.
$ac_ext >&5
11348 ac_cv_type_pthread_rwlock_t
=no
11350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11352 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11353 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
11354 if test $ac_cv_type_pthread_rwlock_t = yes; then
11356 cat >>confdefs.h
<<_ACEOF
11357 #define HAVE_PTHREAD_RWLOCK_T 1
11362 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11363 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
11364 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11365 echo $ECHO_N "(cached) $ECHO_C" >&6
11367 cat >conftest.
$ac_ext <<_ACEOF
11370 cat confdefs.h
>>conftest.
$ac_ext
11371 cat >>conftest.
$ac_ext <<_ACEOF
11372 /* end confdefs.h. */
11373 #define _GNU_SOURCE
11374 #include <pthread.h>
11379 if ((pthread_rwlockattr_t *) 0)
11381 if (sizeof (pthread_rwlockattr_t))
11387 rm -f conftest.
$ac_objext
11388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11389 (eval $ac_compile) 2>conftest.er1
11391 grep -v '^ *+' conftest.er1
>conftest.err
11393 cat conftest.err
>&5
11394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11395 (exit $ac_status); } &&
11396 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11398 (eval $ac_try) 2>&5
11400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11401 (exit $ac_status); }; } &&
11402 { ac_try
='test -s conftest.$ac_objext'
11403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11404 (eval $ac_try) 2>&5
11406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11407 (exit $ac_status); }; }; then
11408 ac_cv_type_pthread_rwlockattr_t
=yes
11410 echo "$as_me: failed program was:" >&5
11411 sed 's/^/| /' conftest.
$ac_ext >&5
11413 ac_cv_type_pthread_rwlockattr_t
=no
11415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11417 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11418 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
11419 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11421 cat >>confdefs.h
<<_ACEOF
11422 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11429 ac_wine_check_funcs_save_LIBS
="$LIBS"
11430 LIBS
="$LIBS $LIBPTHREAD"
11435 pthread_getattr_np \
11436 pthread_get_stackaddr_np \
11437 pthread_get_stacksize_np
11439 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11440 echo "$as_me:$LINENO: checking for $ac_func" >&5
11441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11442 if eval "test \"\${$as_ac_var+set}\" = set"; then
11443 echo $ECHO_N "(cached) $ECHO_C" >&6
11445 cat >conftest.
$ac_ext <<_ACEOF
11448 cat confdefs.h
>>conftest.
$ac_ext
11449 cat >>conftest.
$ac_ext <<_ACEOF
11450 /* end confdefs.h. */
11451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11453 #define $ac_func innocuous_$ac_func
11455 /* System header to define __stub macros and hopefully few prototypes,
11456 which can conflict with char $ac_func (); below.
11457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11458 <limits.h> exists even on freestanding compilers. */
11461 # include <limits.h>
11463 # include <assert.h>
11468 /* Override any gcc2 internal prototype to avoid an error. */
11473 /* We use char because int might match the return type of a gcc2
11474 builtin and then its argument prototype would still apply. */
11476 /* The GNU C library defines this for functions which it implements
11477 to always fail with ENOSYS. Some functions are actually named
11478 something starting with __ and the normal name is an alias. */
11479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11482 char (*f) () = $ac_func;
11491 return f != $ac_func;
11496 rm -f conftest.
$ac_objext conftest
$ac_exeext
11497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11498 (eval $ac_link) 2>conftest.er1
11500 grep -v '^ *+' conftest.er1
>conftest.err
11502 cat conftest.err
>&5
11503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11504 (exit $ac_status); } &&
11505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11507 (eval $ac_try) 2>&5
11509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11510 (exit $ac_status); }; } &&
11511 { ac_try
='test -s conftest$ac_exeext'
11512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11513 (eval $ac_try) 2>&5
11515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11516 (exit $ac_status); }; }; then
11517 eval "$as_ac_var=yes"
11519 echo "$as_me: failed program was:" >&5
11520 sed 's/^/| /' conftest.
$ac_ext >&5
11522 eval "$as_ac_var=no"
11524 rm -f conftest.err conftest.
$ac_objext \
11525 conftest
$ac_exeext conftest.
$ac_ext
11527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11529 if test `eval echo '${'$as_ac_var'}'` = yes; then
11530 cat >>confdefs.h
<<_ACEOF
11531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11537 LIBS
="$ac_wine_check_funcs_save_LIBS"
11539 # Extract the first word of "artsc-config", so it can be a program name with args.
11540 set dummy artsc-config
; ac_word
=$2
11541 echo "$as_me:$LINENO: checking for $ac_word" >&5
11542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11543 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11544 echo $ECHO_N "(cached) $ECHO_C" >&6
11546 case $ARTSCCONFIG in
11548 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
11551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11552 for as_dir
in $PATH
11555 test -z "$as_dir" && as_dir
=.
11556 for ac_exec_ext
in '' $ac_executable_extensions; do
11557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11558 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
11559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11568 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
11570 if test -n "$ARTSCCONFIG"; then
11571 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11572 echo "${ECHO_T}$ARTSCCONFIG" >&6
11574 echo "$as_me:$LINENO: result: no" >&5
11575 echo "${ECHO_T}no" >&6
11578 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
11581 for i
in `$ARTSCCONFIG --cflags`
11584 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
11588 for i
in `$ARTSCCONFIG --libs`
11591 -L/usr
/lib|
-L/usr
/lib64
) ;;
11592 -L*|
-l*) ARTSC_LIBS
="$ARTSC_LIBS $i";;
11595 save_CFLAGS
="$CFLAGS"
11596 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
11597 echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
11598 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6
11599 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
11600 echo $ECHO_N "(cached) $ECHO_C" >&6
11602 ac_check_lib_save_LIBS
=$LIBS
11603 LIBS
="-lartsc $ARTSC_LIBS $LIBS"
11604 cat >conftest.
$ac_ext <<_ACEOF
11607 cat confdefs.h
>>conftest.
$ac_ext
11608 cat >>conftest.
$ac_ext <<_ACEOF
11609 /* end confdefs.h. */
11611 /* Override any gcc2 internal prototype to avoid an error. */
11615 /* We use char because int might match the return type of a gcc2
11616 builtin and then its argument prototype would still apply. */
11626 rm -f conftest.
$ac_objext conftest
$ac_exeext
11627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11628 (eval $ac_link) 2>conftest.er1
11630 grep -v '^ *+' conftest.er1
>conftest.err
11632 cat conftest.err
>&5
11633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634 (exit $ac_status); } &&
11635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11637 (eval $ac_try) 2>&5
11639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11640 (exit $ac_status); }; } &&
11641 { ac_try
='test -s conftest$ac_exeext'
11642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11643 (eval $ac_try) 2>&5
11645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11646 (exit $ac_status); }; }; then
11647 ac_cv_lib_artsc_arts_init
=yes
11649 echo "$as_me: failed program was:" >&5
11650 sed 's/^/| /' conftest.
$ac_ext >&5
11652 ac_cv_lib_artsc_arts_init
=no
11654 rm -f conftest.err conftest.
$ac_objext \
11655 conftest
$ac_exeext conftest.
$ac_ext
11656 LIBS
=$ac_check_lib_save_LIBS
11658 echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
11659 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6
11660 if test $ac_cv_lib_artsc_arts_init = yes; then
11661 cat >conftest.
$ac_ext <<_ACEOF
11664 cat confdefs.h
>>conftest.
$ac_ext
11665 cat >>conftest.
$ac_ext <<_ACEOF
11666 /* end confdefs.h. */
11671 arts_stream_t stream;
11676 rm -f conftest.
$ac_objext
11677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11678 (eval $ac_compile) 2>conftest.er1
11680 grep -v '^ *+' conftest.er1
>conftest.err
11682 cat conftest.err
>&5
11683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11684 (exit $ac_status); } &&
11685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11687 (eval $ac_try) 2>&5
11689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11690 (exit $ac_status); }; } &&
11691 { ac_try
='test -s conftest.$ac_objext'
11692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11693 (eval $ac_try) 2>&5
11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696 (exit $ac_status); }; }; then
11697 ARTSLIBS
=$ARTSC_LIBS
11699 ARTSINCL
=$ARTSC_CFLAGS
11702 cat >>confdefs.h
<<\_ACEOF
11703 #define HAVE_ARTS 1
11707 echo "$as_me: failed program was:" >&5
11708 sed 's/^/| /' conftest.
$ac_ext >&5
11711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11714 CFLAGS
="$save_CFLAGS"
11717 # Extract the first word of "esd-config", so it can be a program name with args.
11718 set dummy esd-config
; ac_word
=$2
11719 echo "$as_me:$LINENO: checking for $ac_word" >&5
11720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11721 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
11722 echo $ECHO_N "(cached) $ECHO_C" >&6
11726 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
11729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11730 for as_dir
in $PATH
11733 test -z "$as_dir" && as_dir
=.
11734 for ac_exec_ext
in '' $ac_executable_extensions; do
11735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11736 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
11737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11746 ESDCONFIG
=$ac_cv_path_ESDCONFIG
11748 if test -n "$ESDCONFIG"; then
11749 echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
11750 echo "${ECHO_T}$ESDCONFIG" >&6
11752 echo "$as_me:$LINENO: result: no" >&5
11753 echo "${ECHO_T}no" >&6
11756 if test x
$ESDCONFIG != x
-a x
$ESDCONFIG != x
'"$ESDCONFIG"';
11759 for i
in `$ESDCONFIG --cflags`
11762 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
11765 ESD_LIBS
=`$ESDCONFIG --libs`
11766 save_CFLAGS
="$CFLAGS"
11767 CFLAGS
="$CFLAGS $ESD_CFLAGS"
11768 echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
11769 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6
11770 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
11771 echo $ECHO_N "(cached) $ECHO_C" >&6
11773 ac_check_lib_save_LIBS
=$LIBS
11775 cat >conftest.
$ac_ext <<_ACEOF
11778 cat confdefs.h
>>conftest.
$ac_ext
11779 cat >>conftest.
$ac_ext <<_ACEOF
11780 /* end confdefs.h. */
11782 /* Override any gcc2 internal prototype to avoid an error. */
11786 /* We use char because int might match the return type of a gcc2
11787 builtin and then its argument prototype would still apply. */
11788 char esd_open_sound ();
11797 rm -f conftest.
$ac_objext conftest
$ac_exeext
11798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11799 (eval $ac_link) 2>conftest.er1
11801 grep -v '^ *+' conftest.er1
>conftest.err
11803 cat conftest.err
>&5
11804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11805 (exit $ac_status); } &&
11806 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11808 (eval $ac_try) 2>&5
11810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 (exit $ac_status); }; } &&
11812 { ac_try
='test -s conftest$ac_exeext'
11813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11814 (eval $ac_try) 2>&5
11816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11817 (exit $ac_status); }; }; then
11818 ac_cv_lib_esd_esd_open_sound
=yes
11820 echo "$as_me: failed program was:" >&5
11821 sed 's/^/| /' conftest.
$ac_ext >&5
11823 ac_cv_lib_esd_esd_open_sound
=no
11825 rm -f conftest.err conftest.
$ac_objext \
11826 conftest
$ac_exeext conftest.
$ac_ext
11827 LIBS
=$ac_check_lib_save_LIBS
11829 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
11830 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6
11831 if test $ac_cv_lib_esd_esd_open_sound = yes; then
11834 ESDINCL
=$ESD_CFLAGS
11837 cat >>confdefs.h
<<\_ACEOF
11843 CFLAGS
="$save_CFLAGS"
11848 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11850 echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
11851 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6
11852 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
11853 echo $ECHO_N "(cached) $ECHO_C" >&6
11855 ac_check_lib_save_LIBS
=$LIBS
11856 LIBS
="-lasound $LIBS"
11857 cat >conftest.
$ac_ext <<_ACEOF
11860 cat confdefs.h
>>conftest.
$ac_ext
11861 cat >>conftest.
$ac_ext <<_ACEOF
11862 /* end confdefs.h. */
11864 /* Override any gcc2 internal prototype to avoid an error. */
11868 /* We use char because int might match the return type of a gcc2
11869 builtin and then its argument prototype would still apply. */
11870 char snd_pcm_hw_params_get_access ();
11874 snd_pcm_hw_params_get_access ();
11879 rm -f conftest.
$ac_objext conftest
$ac_exeext
11880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11881 (eval $ac_link) 2>conftest.er1
11883 grep -v '^ *+' conftest.er1
>conftest.err
11885 cat conftest.err
>&5
11886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 (exit $ac_status); } &&
11888 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11890 (eval $ac_try) 2>&5
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); }; } &&
11894 { ac_try
='test -s conftest$ac_exeext'
11895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11896 (eval $ac_try) 2>&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); }; }; then
11900 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
11902 echo "$as_me: failed program was:" >&5
11903 sed 's/^/| /' conftest.
$ac_ext >&5
11905 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
11907 rm -f conftest.err conftest.
$ac_objext \
11908 conftest
$ac_exeext conftest.
$ac_ext
11909 LIBS
=$ac_check_lib_save_LIBS
11911 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
11912 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6
11913 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
11914 cat >conftest.
$ac_ext <<_ACEOF
11917 cat confdefs.h
>>conftest.
$ac_ext
11918 cat >>conftest.
$ac_ext <<_ACEOF
11919 /* end confdefs.h. */
11920 #ifdef HAVE_ALSA_ASOUNDLIB_H
11921 #include <alsa/asoundlib.h>
11922 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11923 #include <sys/asoundlib.h>
11928 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
11933 rm -f conftest.
$ac_objext
11934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11935 (eval $ac_compile) 2>conftest.er1
11937 grep -v '^ *+' conftest.er1
>conftest.err
11939 cat conftest.err
>&5
11940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11941 (exit $ac_status); } &&
11942 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11944 (eval $ac_try) 2>&5
11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); }; } &&
11948 { ac_try
='test -s conftest.$ac_objext'
11949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11950 (eval $ac_try) 2>&5
11952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953 (exit $ac_status); }; }; then
11955 cat >>confdefs.h
<<\_ACEOF
11956 #define HAVE_ALSA 1
11959 ALSALIBS
="-lasound"
11961 echo "$as_me: failed program was:" >&5
11962 sed 's/^/| /' conftest.
$ac_ext >&5
11965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11973 if test "$ac_cv_header_libaudioio_h" = "yes"
11975 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
11976 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
11977 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
11978 echo $ECHO_N "(cached) $ECHO_C" >&6
11980 ac_check_lib_save_LIBS
=$LIBS
11981 LIBS
="-laudioio $LIBS"
11982 cat >conftest.
$ac_ext <<_ACEOF
11985 cat confdefs.h
>>conftest.
$ac_ext
11986 cat >>conftest.
$ac_ext <<_ACEOF
11987 /* end confdefs.h. */
11989 /* Override any gcc2 internal prototype to avoid an error. */
11993 /* We use char because int might match the return type of a gcc2
11994 builtin and then its argument prototype would still apply. */
11995 char AudioIOGetVersion ();
11999 AudioIOGetVersion ();
12004 rm -f conftest.
$ac_objext conftest
$ac_exeext
12005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12006 (eval $ac_link) 2>conftest.er1
12008 grep -v '^ *+' conftest.er1
>conftest.err
12010 cat conftest.err
>&5
12011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12012 (exit $ac_status); } &&
12013 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12015 (eval $ac_try) 2>&5
12017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12018 (exit $ac_status); }; } &&
12019 { ac_try
='test -s conftest$ac_exeext'
12020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12021 (eval $ac_try) 2>&5
12023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12024 (exit $ac_status); }; }; then
12025 ac_cv_lib_audioio_AudioIOGetVersion
=yes
12027 echo "$as_me: failed program was:" >&5
12028 sed 's/^/| /' conftest.
$ac_ext >&5
12030 ac_cv_lib_audioio_AudioIOGetVersion
=no
12032 rm -f conftest.err conftest.
$ac_objext \
12033 conftest
$ac_exeext conftest.
$ac_ext
12034 LIBS
=$ac_check_lib_save_LIBS
12036 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12037 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
12038 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12039 AUDIOIOLIBS
="-laudioio"
12041 cat >>confdefs.h
<<\_ACEOF
12042 #define HAVE_LIBAUDIOIO 1
12050 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12052 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12053 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
12054 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12055 echo $ECHO_N "(cached) $ECHO_C" >&6
12057 ac_check_lib_save_LIBS
=$LIBS
12058 LIBS
="-lcapi20 $LIBS"
12059 cat >conftest.
$ac_ext <<_ACEOF
12062 cat confdefs.h
>>conftest.
$ac_ext
12063 cat >>conftest.
$ac_ext <<_ACEOF
12064 /* end confdefs.h. */
12066 /* Override any gcc2 internal prototype to avoid an error. */
12070 /* We use char because int might match the return type of a gcc2
12071 builtin and then its argument prototype would still apply. */
12072 char capi20_register ();
12076 capi20_register ();
12081 rm -f conftest.
$ac_objext conftest
$ac_exeext
12082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12083 (eval $ac_link) 2>conftest.er1
12085 grep -v '^ *+' conftest.er1
>conftest.err
12087 cat conftest.err
>&5
12088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12089 (exit $ac_status); } &&
12090 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12092 (eval $ac_try) 2>&5
12094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12095 (exit $ac_status); }; } &&
12096 { ac_try
='test -s conftest$ac_exeext'
12097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12098 (eval $ac_try) 2>&5
12100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12101 (exit $ac_status); }; }; then
12102 ac_cv_lib_capi20_capi20_register
=yes
12104 echo "$as_me: failed program was:" >&5
12105 sed 's/^/| /' conftest.
$ac_ext >&5
12107 ac_cv_lib_capi20_capi20_register
=no
12109 rm -f conftest.err conftest.
$ac_objext \
12110 conftest
$ac_exeext conftest.
$ac_ext
12111 LIBS
=$ac_check_lib_save_LIBS
12113 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12114 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12115 if test $ac_cv_lib_capi20_capi20_register = yes; then
12117 cat >>confdefs.h
<<\_ACEOF
12118 #define HAVE_CAPI4LINUX 1
12128 if test "x${GCC}" = "xyes"
12130 EXTRACFLAGS
="-Wall -pipe"
12132 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12133 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12134 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12135 echo $ECHO_N "(cached) $ECHO_C" >&6
12137 if test "$cross_compiling" = yes; then
12138 ac_cv_c_gcc_strength_bug
="yes"
12140 cat >conftest.
$ac_ext <<_ACEOF
12143 cat confdefs.h
>>conftest.
$ac_ext
12144 cat >>conftest.
$ac_ext <<_ACEOF
12145 /* end confdefs.h. */
12147 int L[4] = {0,1,2,3};
12149 static int Array[3];
12150 unsigned int B = 3;
12152 for(i=0; i<B; i++) Array[i] = i - 3;
12153 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12156 exit( Array[1] != -2 || L[2] != 3);
12159 rm -f conftest
$ac_exeext
12160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12161 (eval $ac_link) 2>&5
12163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12164 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12166 (eval $ac_try) 2>&5
12168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169 (exit $ac_status); }; }; then
12170 ac_cv_c_gcc_strength_bug
="no"
12172 echo "$as_me: program exited with status $ac_status" >&5
12173 echo "$as_me: failed program was:" >&5
12174 sed 's/^/| /' conftest.
$ac_ext >&5
12176 ( exit $ac_status )
12177 ac_cv_c_gcc_strength_bug
="yes"
12179 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12182 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12183 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12184 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12186 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12189 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12190 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12191 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12192 echo $ECHO_N "(cached) $ECHO_C" >&6
12194 ac_wine_try_cflags_saved
=$CFLAGS
12195 CFLAGS
="$CFLAGS -fshort-wchar"
12196 cat >conftest.
$ac_ext <<_ACEOF
12199 cat confdefs.h
>>conftest.
$ac_ext
12200 cat >>conftest.
$ac_ext <<_ACEOF
12201 /* end confdefs.h. */
12211 rm -f conftest.
$ac_objext conftest
$ac_exeext
12212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12213 (eval $ac_link) 2>conftest.er1
12215 grep -v '^ *+' conftest.er1
>conftest.err
12217 cat conftest.err
>&5
12218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12219 (exit $ac_status); } &&
12220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12222 (eval $ac_try) 2>&5
12224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12225 (exit $ac_status); }; } &&
12226 { ac_try
='test -s conftest$ac_exeext'
12227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12228 (eval $ac_try) 2>&5
12230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231 (exit $ac_status); }; }; then
12232 ac_cv_c_gcc_fshort_wchar
="yes"
12234 echo "$as_me: failed program was:" >&5
12235 sed 's/^/| /' conftest.
$ac_ext >&5
12237 ac_cv_c_gcc_fshort_wchar
="no"
12239 rm -f conftest.err conftest.
$ac_objext \
12240 conftest
$ac_exeext conftest.
$ac_ext
12241 CFLAGS
=$ac_wine_try_cflags_saved
12243 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12244 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12245 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12248 cat >>confdefs.h
<<\_ACEOF
12249 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12254 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12255 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12256 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12257 echo $ECHO_N "(cached) $ECHO_C" >&6
12259 ac_wine_try_cflags_saved
=$CFLAGS
12260 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12261 cat >conftest.
$ac_ext <<_ACEOF
12264 cat confdefs.h
>>conftest.
$ac_ext
12265 cat >>conftest.
$ac_ext <<_ACEOF
12266 /* end confdefs.h. */
12276 rm -f conftest.
$ac_objext conftest
$ac_exeext
12277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12278 (eval $ac_link) 2>conftest.er1
12280 grep -v '^ *+' conftest.er1
>conftest.err
12282 cat conftest.err
>&5
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); } &&
12285 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12287 (eval $ac_try) 2>&5
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); }; } &&
12291 { ac_try
='test -s conftest$ac_exeext'
12292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12293 (eval $ac_try) 2>&5
12295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12296 (exit $ac_status); }; }; then
12297 ac_cv_c_gcc_no_strict_aliasing
="yes"
12299 echo "$as_me: failed program was:" >&5
12300 sed 's/^/| /' conftest.
$ac_ext >&5
12302 ac_cv_c_gcc_no_strict_aliasing
="no"
12304 rm -f conftest.err conftest.
$ac_objext \
12305 conftest
$ac_exeext conftest.
$ac_ext
12306 CFLAGS
=$ac_wine_try_cflags_saved
12308 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12309 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12310 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12312 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12315 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12316 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12317 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12318 echo $ECHO_N "(cached) $ECHO_C" >&6
12320 ac_wine_try_cflags_saved
=$CFLAGS
12321 CFLAGS
="$CFLAGS -gstabs+"
12322 cat >conftest.
$ac_ext <<_ACEOF
12325 cat confdefs.h
>>conftest.
$ac_ext
12326 cat >>conftest.
$ac_ext <<_ACEOF
12327 /* end confdefs.h. */
12337 rm -f conftest.
$ac_objext conftest
$ac_exeext
12338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12339 (eval $ac_link) 2>conftest.er1
12341 grep -v '^ *+' conftest.er1
>conftest.err
12343 cat conftest.err
>&5
12344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12345 (exit $ac_status); } &&
12346 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12348 (eval $ac_try) 2>&5
12350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12351 (exit $ac_status); }; } &&
12352 { ac_try
='test -s conftest$ac_exeext'
12353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12354 (eval $ac_try) 2>&5
12356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12357 (exit $ac_status); }; }; then
12358 ac_cv_c_gcc_gstabs
="yes"
12360 echo "$as_me: failed program was:" >&5
12361 sed 's/^/| /' conftest.
$ac_ext >&5
12363 ac_cv_c_gcc_gstabs
="no"
12365 rm -f conftest.err conftest.
$ac_objext \
12366 conftest
$ac_exeext conftest.
$ac_ext
12367 CFLAGS
=$ac_wine_try_cflags_saved
12369 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12370 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12371 if test "$ac_cv_c_gcc_gstabs" = "yes"
12373 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12376 echo "$as_me:$LINENO: checking for gcc -Wdeclaration-after-statement support" >&5
12377 echo $ECHO_N "checking for gcc -Wdeclaration-after-statement support... $ECHO_C" >&6
12378 if test "${ac_cv_c_gcc_decl_after_statement+set}" = set; then
12379 echo $ECHO_N "(cached) $ECHO_C" >&6
12381 ac_wine_try_cflags_saved
=$CFLAGS
12382 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12383 cat >conftest.
$ac_ext <<_ACEOF
12386 cat confdefs.h
>>conftest.
$ac_ext
12387 cat >>conftest.
$ac_ext <<_ACEOF
12388 /* end confdefs.h. */
12398 rm -f conftest.
$ac_objext conftest
$ac_exeext
12399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12400 (eval $ac_link) 2>conftest.er1
12402 grep -v '^ *+' conftest.er1
>conftest.err
12404 cat conftest.err
>&5
12405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406 (exit $ac_status); } &&
12407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12409 (eval $ac_try) 2>&5
12411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412 (exit $ac_status); }; } &&
12413 { ac_try
='test -s conftest$ac_exeext'
12414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12415 (eval $ac_try) 2>&5
12417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12418 (exit $ac_status); }; }; then
12419 ac_cv_c_gcc_decl_after_statement
="yes"
12421 echo "$as_me: failed program was:" >&5
12422 sed 's/^/| /' conftest.
$ac_ext >&5
12424 ac_cv_c_gcc_decl_after_statement
="no"
12426 rm -f conftest.err conftest.
$ac_objext \
12427 conftest
$ac_exeext conftest.
$ac_ext
12428 CFLAGS
=$ac_wine_try_cflags_saved
12430 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_decl_after_statement" >&5
12431 echo "${ECHO_T}$ac_cv_c_gcc_decl_after_statement" >&6
12432 if test "$ac_cv_c_gcc_decl_after_statement" = "yes"
12434 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12437 saved_CFLAGS
="$CFLAGS"
12438 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12439 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12440 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12441 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12442 echo $ECHO_N "(cached) $ECHO_C" >&6
12444 cat >conftest.
$ac_ext <<_ACEOF
12447 cat confdefs.h
>>conftest.
$ac_ext
12448 cat >>conftest.
$ac_ext <<_ACEOF
12449 /* end confdefs.h. */
12450 #include <string.h>
12459 rm -f conftest.
$ac_objext
12460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12461 (eval $ac_compile) 2>conftest.er1
12463 grep -v '^ *+' conftest.er1
>conftest.err
12465 cat conftest.err
>&5
12466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12467 (exit $ac_status); } &&
12468 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12470 (eval $ac_try) 2>&5
12472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473 (exit $ac_status); }; } &&
12474 { ac_try
='test -s conftest.$ac_objext'
12475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12476 (eval $ac_try) 2>&5
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); }; }; then
12480 ac_cv_c_string_h_warnings
=no
12482 echo "$as_me: failed program was:" >&5
12483 sed 's/^/| /' conftest.
$ac_ext >&5
12485 ac_cv_c_string_h_warnings
=yes
12487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12489 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12490 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12491 CFLAGS
="$saved_CFLAGS"
12492 if test "$ac_cv_c_string_h_warnings" = "no"
12494 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12499 saved_CFLAGS
="$CFLAGS"
12500 CFLAGS
="$CFLAGS -Werror"
12501 echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12502 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6
12503 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12504 echo $ECHO_N "(cached) $ECHO_C" >&6
12506 cat >conftest.
$ac_ext <<_ACEOF
12509 cat confdefs.h
>>conftest.
$ac_ext
12510 cat >>conftest.
$ac_ext <<_ACEOF
12511 /* end confdefs.h. */
12516 int iswlower(unsigned short);
12521 rm -f conftest.
$ac_objext
12522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12523 (eval $ac_compile) 2>conftest.er1
12525 grep -v '^ *+' conftest.er1
>conftest.err
12527 cat conftest.err
>&5
12528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12529 (exit $ac_status); } &&
12530 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12532 (eval $ac_try) 2>&5
12534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12535 (exit $ac_status); }; } &&
12536 { ac_try
='test -s conftest.$ac_objext'
12537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12538 (eval $ac_try) 2>&5
12540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12541 (exit $ac_status); }; }; then
12542 ac_cv_c_builtin_wchar_ctype
=no
12544 echo "$as_me: failed program was:" >&5
12545 sed 's/^/| /' conftest.
$ac_ext >&5
12547 ac_cv_c_builtin_wchar_ctype
=yes
12549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12551 echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12552 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6
12553 CFLAGS
="$saved_CFLAGS"
12554 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12558 iswalnum iswalpha iswcntrl iswdigit iswgraph iswlower \
12559 iswprint iswpunct iswspace iswupper iswxdigit towlower towupper
12561 BUILTINFLAG
="$BUILTINFLAG -fno-builtin-$builtin"
12567 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12568 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12569 if test "${ac_cv_asm_func_def+set}" = set; then
12570 echo $ECHO_N "(cached) $ECHO_C" >&6
12572 cat >conftest.
$ac_ext <<_ACEOF
12575 cat confdefs.h
>>conftest.
$ac_ext
12576 cat >>conftest.
$ac_ext <<_ACEOF
12577 /* end confdefs.h. */
12578 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"); }
12588 rm -f conftest.
$ac_objext conftest
$ac_exeext
12589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12590 (eval $ac_link) 2>conftest.er1
12592 grep -v '^ *+' conftest.er1
>conftest.err
12594 cat conftest.err
>&5
12595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12596 (exit $ac_status); } &&
12597 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12599 (eval $ac_try) 2>&5
12601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602 (exit $ac_status); }; } &&
12603 { ac_try
='test -s conftest$ac_exeext'
12604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12605 (eval $ac_try) 2>&5
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); }; }; then
12609 ac_cv_asm_func_def
=".def"
12611 echo "$as_me: failed program was:" >&5
12612 sed 's/^/| /' conftest.
$ac_ext >&5
12614 cat >conftest.
$ac_ext <<_ACEOF
12617 cat confdefs.h
>>conftest.
$ac_ext
12618 cat >>conftest.
$ac_ext <<_ACEOF
12619 /* end confdefs.h. */
12620 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12630 rm -f conftest.
$ac_objext conftest
$ac_exeext
12631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12632 (eval $ac_link) 2>conftest.er1
12634 grep -v '^ *+' conftest.er1
>conftest.err
12636 cat conftest.err
>&5
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); } &&
12639 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12641 (eval $ac_try) 2>&5
12643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12644 (exit $ac_status); }; } &&
12645 { ac_try
='test -s conftest$ac_exeext'
12646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12647 (eval $ac_try) 2>&5
12649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12650 (exit $ac_status); }; }; then
12651 ac_cv_asm_func_def
=".type @function"
12653 echo "$as_me: failed program was:" >&5
12654 sed 's/^/| /' conftest.
$ac_ext >&5
12656 cat >conftest.
$ac_ext <<_ACEOF
12659 cat confdefs.h
>>conftest.
$ac_ext
12660 cat >>conftest.
$ac_ext <<_ACEOF
12661 /* end confdefs.h. */
12662 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12672 rm -f conftest.
$ac_objext conftest
$ac_exeext
12673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12674 (eval $ac_link) 2>conftest.er1
12676 grep -v '^ *+' conftest.er1
>conftest.err
12678 cat conftest.err
>&5
12679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12680 (exit $ac_status); } &&
12681 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12683 (eval $ac_try) 2>&5
12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12686 (exit $ac_status); }; } &&
12687 { ac_try
='test -s conftest$ac_exeext'
12688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12689 (eval $ac_try) 2>&5
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); }; }; then
12693 ac_cv_asm_func_def
=".type 2"
12695 echo "$as_me: failed program was:" >&5
12696 sed 's/^/| /' conftest.
$ac_ext >&5
12698 ac_cv_asm_func_def
="unknown"
12700 rm -f conftest.err conftest.
$ac_objext \
12701 conftest
$ac_exeext conftest.
$ac_ext
12703 rm -f conftest.err conftest.
$ac_objext \
12704 conftest
$ac_exeext conftest.
$ac_ext
12706 rm -f conftest.err conftest.
$ac_objext \
12707 conftest
$ac_exeext conftest.
$ac_ext
12709 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12710 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
12714 case "$ac_cv_asm_func_def" in
12716 cat >>confdefs.h
<<\_ACEOF
12717 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12721 cat >>confdefs.h
<<\_ACEOF
12722 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12726 cat >>confdefs.h
<<\_ACEOF
12727 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12731 cat >>confdefs.h
<<\_ACEOF
12732 #define __ASM_FUNC(name) ""
12738 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12739 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
12740 if test "${ac_cv_c_extern_prefix+set}" = set; then
12741 echo $ECHO_N "(cached) $ECHO_C" >&6
12743 cat >conftest.
$ac_ext <<_ACEOF
12746 cat confdefs.h
>>conftest.
$ac_ext
12747 cat >>conftest.
$ac_ext <<_ACEOF
12748 /* end confdefs.h. */
12749 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12750 extern int ac_test;
12754 if (ac_test) return 1
12759 rm -f conftest.
$ac_objext conftest
$ac_exeext
12760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12761 (eval $ac_link) 2>conftest.er1
12763 grep -v '^ *+' conftest.er1
>conftest.err
12765 cat conftest.err
>&5
12766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); } &&
12768 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12770 (eval $ac_try) 2>&5
12772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12773 (exit $ac_status); }; } &&
12774 { ac_try
='test -s conftest$ac_exeext'
12775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12776 (eval $ac_try) 2>&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); }; }; then
12780 ac_cv_c_extern_prefix
="yes"
12782 echo "$as_me: failed program was:" >&5
12783 sed 's/^/| /' conftest.
$ac_ext >&5
12785 ac_cv_c_extern_prefix
="no"
12787 rm -f conftest.err conftest.
$ac_objext \
12788 conftest
$ac_exeext conftest.
$ac_ext
12790 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12791 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
12795 if test "$ac_cv_c_extern_prefix" = "yes"
12797 cat >>confdefs.h
<<\_ACEOF
12798 #define __ASM_NAME(name) "_" name
12802 cat >>confdefs.h
<<\_ACEOF
12803 #define __ASM_NAME(name) name
12811 DLLFLAGS
="-D_REENTRANT"
12826 if test -n "$ac_tool_prefix"; then
12827 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
12828 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
12829 echo "$as_me:$LINENO: checking for $ac_word" >&5
12830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12831 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12832 echo $ECHO_N "(cached) $ECHO_C" >&6
12834 if test -n "$DLLTOOL"; then
12835 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
12837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12838 for as_dir
in $PATH
12841 test -z "$as_dir" && as_dir
=.
12842 for ac_exec_ext
in '' $ac_executable_extensions; do
12843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12844 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
12845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12853 DLLTOOL
=$ac_cv_prog_DLLTOOL
12854 if test -n "$DLLTOOL"; then
12855 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12856 echo "${ECHO_T}$DLLTOOL" >&6
12858 echo "$as_me:$LINENO: result: no" >&5
12859 echo "${ECHO_T}no" >&6
12863 if test -z "$ac_cv_prog_DLLTOOL"; then
12864 ac_ct_DLLTOOL
=$DLLTOOL
12865 # Extract the first word of "dlltool", so it can be a program name with args.
12866 set dummy dlltool
; ac_word
=$2
12867 echo "$as_me:$LINENO: checking for $ac_word" >&5
12868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12869 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6
12872 if test -n "$ac_ct_DLLTOOL"; then
12873 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
12875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12876 for as_dir
in $PATH
12879 test -z "$as_dir" && as_dir
=.
12880 for ac_exec_ext
in '' $ac_executable_extensions; do
12881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12882 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
12883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12889 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
12892 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
12893 if test -n "$ac_ct_DLLTOOL"; then
12894 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
12895 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
12897 echo "$as_me:$LINENO: result: no" >&5
12898 echo "${ECHO_T}no" >&6
12901 DLLTOOL
=$ac_ct_DLLTOOL
12903 DLLTOOL
="$ac_cv_prog_DLLTOOL"
12906 if test -n "$ac_tool_prefix"; then
12907 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
12908 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
12909 echo "$as_me:$LINENO: checking for $ac_word" >&5
12910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12911 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
12912 echo $ECHO_N "(cached) $ECHO_C" >&6
12914 if test -n "$DLLWRAP"; then
12915 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
12917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12918 for as_dir
in $PATH
12921 test -z "$as_dir" && as_dir
=.
12922 for ac_exec_ext
in '' $ac_executable_extensions; do
12923 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12924 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
12925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12933 DLLWRAP
=$ac_cv_prog_DLLWRAP
12934 if test -n "$DLLWRAP"; then
12935 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
12936 echo "${ECHO_T}$DLLWRAP" >&6
12938 echo "$as_me:$LINENO: result: no" >&5
12939 echo "${ECHO_T}no" >&6
12943 if test -z "$ac_cv_prog_DLLWRAP"; then
12944 ac_ct_DLLWRAP
=$DLLWRAP
12945 # Extract the first word of "dllwrap", so it can be a program name with args.
12946 set dummy dllwrap
; ac_word
=$2
12947 echo "$as_me:$LINENO: checking for $ac_word" >&5
12948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12949 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
12950 echo $ECHO_N "(cached) $ECHO_C" >&6
12952 if test -n "$ac_ct_DLLWRAP"; then
12953 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
12955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12956 for as_dir
in $PATH
12959 test -z "$as_dir" && as_dir
=.
12960 for ac_exec_ext
in '' $ac_executable_extensions; do
12961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12962 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
12963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12969 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP
="false"
12972 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
12973 if test -n "$ac_ct_DLLWRAP"; then
12974 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
12975 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
12977 echo "$as_me:$LINENO: result: no" >&5
12978 echo "${ECHO_T}no" >&6
12981 DLLWRAP
=$ac_ct_DLLWRAP
12983 DLLWRAP
="$ac_cv_prog_DLLWRAP"
12986 if test "$DLLWRAP" = "false"; then
12996 if test "$ac_cv_header_dlfcn_h" = "yes"
12999 for ac_func
in dlopen
13001 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13002 echo "$as_me:$LINENO: checking for $ac_func" >&5
13003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13004 if eval "test \"\${$as_ac_var+set}\" = set"; then
13005 echo $ECHO_N "(cached) $ECHO_C" >&6
13007 cat >conftest.
$ac_ext <<_ACEOF
13010 cat confdefs.h
>>conftest.
$ac_ext
13011 cat >>conftest.
$ac_ext <<_ACEOF
13012 /* end confdefs.h. */
13013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13015 #define $ac_func innocuous_$ac_func
13017 /* System header to define __stub macros and hopefully few prototypes,
13018 which can conflict with char $ac_func (); below.
13019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13020 <limits.h> exists even on freestanding compilers. */
13023 # include <limits.h>
13025 # include <assert.h>
13030 /* Override any gcc2 internal prototype to avoid an error. */
13035 /* We use char because int might match the return type of a gcc2
13036 builtin and then its argument prototype would still apply. */
13038 /* The GNU C library defines this for functions which it implements
13039 to always fail with ENOSYS. Some functions are actually named
13040 something starting with __ and the normal name is an alias. */
13041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13044 char (*f) () = $ac_func;
13053 return f != $ac_func;
13058 rm -f conftest.
$ac_objext conftest
$ac_exeext
13059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13060 (eval $ac_link) 2>conftest.er1
13062 grep -v '^ *+' conftest.er1
>conftest.err
13064 cat conftest.err
>&5
13065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 (exit $ac_status); } &&
13067 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13069 (eval $ac_try) 2>&5
13071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072 (exit $ac_status); }; } &&
13073 { ac_try
='test -s conftest$ac_exeext'
13074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13075 (eval $ac_try) 2>&5
13077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13078 (exit $ac_status); }; }; then
13079 eval "$as_ac_var=yes"
13081 echo "$as_me: failed program was:" >&5
13082 sed 's/^/| /' conftest.
$ac_ext >&5
13084 eval "$as_ac_var=no"
13086 rm -f conftest.err conftest.
$ac_objext \
13087 conftest
$ac_exeext conftest.
$ac_ext
13089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13091 if test `eval echo '${'$as_ac_var'}'` = yes; then
13092 cat >>confdefs.h
<<_ACEOF
13093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13097 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13098 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13099 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13100 echo $ECHO_N "(cached) $ECHO_C" >&6
13102 ac_check_lib_save_LIBS
=$LIBS
13104 cat >conftest.
$ac_ext <<_ACEOF
13107 cat confdefs.h
>>conftest.
$ac_ext
13108 cat >>conftest.
$ac_ext <<_ACEOF
13109 /* end confdefs.h. */
13111 /* Override any gcc2 internal prototype to avoid an error. */
13115 /* We use char because int might match the return type of a gcc2
13116 builtin and then its argument prototype would still apply. */
13126 rm -f conftest.
$ac_objext conftest
$ac_exeext
13127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13128 (eval $ac_link) 2>conftest.er1
13130 grep -v '^ *+' conftest.er1
>conftest.err
13132 cat conftest.err
>&5
13133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13134 (exit $ac_status); } &&
13135 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13137 (eval $ac_try) 2>&5
13139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13140 (exit $ac_status); }; } &&
13141 { ac_try
='test -s conftest$ac_exeext'
13142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13143 (eval $ac_try) 2>&5
13145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13146 (exit $ac_status); }; }; then
13147 ac_cv_lib_dl_dlopen
=yes
13149 echo "$as_me: failed program was:" >&5
13150 sed 's/^/| /' conftest.
$ac_ext >&5
13152 ac_cv_lib_dl_dlopen
=no
13154 rm -f conftest.err conftest.
$ac_objext \
13155 conftest
$ac_exeext conftest.
$ac_ext
13156 LIBS
=$ac_check_lib_save_LIBS
13158 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13159 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13160 if test $ac_cv_lib_dl_dlopen = yes; then
13162 cat >>confdefs.h
<<\_ACEOF
13163 #define HAVE_DLOPEN 1
13174 ac_wine_check_funcs_save_LIBS
="$LIBS"
13175 LIBS
="$LIBS $DLLIBS"
13177 for ac_func
in dladdr
13179 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13180 echo "$as_me:$LINENO: checking for $ac_func" >&5
13181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13182 if eval "test \"\${$as_ac_var+set}\" = set"; then
13183 echo $ECHO_N "(cached) $ECHO_C" >&6
13185 cat >conftest.
$ac_ext <<_ACEOF
13188 cat confdefs.h
>>conftest.
$ac_ext
13189 cat >>conftest.
$ac_ext <<_ACEOF
13190 /* end confdefs.h. */
13191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13193 #define $ac_func innocuous_$ac_func
13195 /* System header to define __stub macros and hopefully few prototypes,
13196 which can conflict with char $ac_func (); below.
13197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13198 <limits.h> exists even on freestanding compilers. */
13201 # include <limits.h>
13203 # include <assert.h>
13208 /* Override any gcc2 internal prototype to avoid an error. */
13213 /* We use char because int might match the return type of a gcc2
13214 builtin and then its argument prototype would still apply. */
13216 /* The GNU C library defines this for functions which it implements
13217 to always fail with ENOSYS. Some functions are actually named
13218 something starting with __ and the normal name is an alias. */
13219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13222 char (*f) () = $ac_func;
13231 return f != $ac_func;
13236 rm -f conftest.
$ac_objext conftest
$ac_exeext
13237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13238 (eval $ac_link) 2>conftest.er1
13240 grep -v '^ *+' conftest.er1
>conftest.err
13242 cat conftest.err
>&5
13243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13244 (exit $ac_status); } &&
13245 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13247 (eval $ac_try) 2>&5
13249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13250 (exit $ac_status); }; } &&
13251 { ac_try
='test -s conftest$ac_exeext'
13252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13253 (eval $ac_try) 2>&5
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 (exit $ac_status); }; }; then
13257 eval "$as_ac_var=yes"
13259 echo "$as_me: failed program was:" >&5
13260 sed 's/^/| /' conftest.
$ac_ext >&5
13262 eval "$as_ac_var=no"
13264 rm -f conftest.err conftest.
$ac_objext \
13265 conftest
$ac_exeext conftest.
$ac_ext
13267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13269 if test `eval echo '${'$as_ac_var'}'` = yes; then
13270 cat >>confdefs.h
<<_ACEOF
13271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13277 LIBS
="$ac_wine_check_funcs_save_LIBS"
13282 if test "$LIBEXT" = "so"
13284 DLLFLAGS
="$DLLFLAGS -fPIC"
13286 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13287 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13288 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13289 echo $ECHO_N "(cached) $ECHO_C" >&6
13291 ac_wine_try_cflags_saved
=$CFLAGS
13292 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13293 cat >conftest.
$ac_ext <<_ACEOF
13296 rm -f conftest.
$ac_objext conftest
$ac_exeext
13297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13298 (eval $ac_link) 2>conftest.er1
13300 grep -v '^ *+' conftest.er1
>conftest.err
13302 cat conftest.err
>&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); } &&
13305 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13307 (eval $ac_try) 2>&5
13309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13310 (exit $ac_status); }; } &&
13311 { ac_try
='test -s conftest$ac_exeext'
13312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13313 (eval $ac_try) 2>&5
13315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13316 (exit $ac_status); }; }; then
13317 ac_cv_c_dll_gnuelf
="yes"
13319 echo "$as_me: failed program was:" >&5
13320 sed 's/^/| /' conftest.
$ac_ext >&5
13322 ac_cv_c_dll_gnuelf
="no"
13324 rm -f conftest.err conftest.
$ac_objext \
13325 conftest
$ac_exeext conftest.
$ac_ext
13326 CFLAGS
=$ac_wine_try_cflags_saved
13328 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13329 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
13330 if test "$ac_cv_c_dll_gnuelf" = "yes"
13332 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13333 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
13334 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
13335 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
13336 if test "${ac_cv_c_dll_zdefs+set}" = set; then
13337 echo $ECHO_N "(cached) $ECHO_C" >&6
13339 ac_wine_try_cflags_saved
=$CFLAGS
13340 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13341 cat >conftest.
$ac_ext <<_ACEOF
13344 cat confdefs.h
>>conftest.
$ac_ext
13345 cat >>conftest.
$ac_ext <<_ACEOF
13346 /* end confdefs.h. */
13356 rm -f conftest.
$ac_objext conftest
$ac_exeext
13357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13358 (eval $ac_link) 2>conftest.er1
13360 grep -v '^ *+' conftest.er1
>conftest.err
13362 cat conftest.err
>&5
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); } &&
13365 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13367 (eval $ac_try) 2>&5
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); }; } &&
13371 { ac_try
='test -s conftest$ac_exeext'
13372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13373 (eval $ac_try) 2>&5
13375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 (exit $ac_status); }; }; then
13377 ac_cv_c_dll_zdefs
="yes"
13379 echo "$as_me: failed program was:" >&5
13380 sed 's/^/| /' conftest.
$ac_ext >&5
13382 ac_cv_c_dll_zdefs
="no"
13384 rm -f conftest.err conftest.
$ac_objext \
13385 conftest
$ac_exeext conftest.
$ac_ext
13386 CFLAGS
=$ac_wine_try_cflags_saved
13388 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
13389 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
13390 if test "$ac_cv_c_dll_zdefs" = "yes"
13392 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
13395 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
13396 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
13397 if test "${ac_cv_c_dll_init_fini+set}" = set; then
13398 echo $ECHO_N "(cached) $ECHO_C" >&6
13400 ac_wine_try_cflags_saved
=$CFLAGS
13401 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13402 cat >conftest.
$ac_ext <<_ACEOF
13405 cat confdefs.h
>>conftest.
$ac_ext
13406 cat >>conftest.
$ac_ext <<_ACEOF
13407 /* end confdefs.h. */
13417 rm -f conftest.
$ac_objext conftest
$ac_exeext
13418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13419 (eval $ac_link) 2>conftest.er1
13421 grep -v '^ *+' conftest.er1
>conftest.err
13423 cat conftest.err
>&5
13424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13425 (exit $ac_status); } &&
13426 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13428 (eval $ac_try) 2>&5
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); }; } &&
13432 { ac_try
='test -s conftest$ac_exeext'
13433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13434 (eval $ac_try) 2>&5
13436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); }; }; then
13438 ac_cv_c_dll_init_fini
="yes"
13440 echo "$as_me: failed program was:" >&5
13441 sed 's/^/| /' conftest.
$ac_ext >&5
13443 ac_cv_c_dll_init_fini
="no"
13445 rm -f conftest.err conftest.
$ac_objext \
13446 conftest
$ac_exeext conftest.
$ac_ext
13447 CFLAGS
=$ac_wine_try_cflags_saved
13449 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
13450 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
13451 if test "$ac_cv_c_dll_init_fini" = "yes"
13453 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13456 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
13457 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
13458 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
13459 echo $ECHO_N "(cached) $ECHO_C" >&6
13461 echo '{ global: *; };' >conftest.map
13462 ac_wine_try_cflags_saved
=$CFLAGS
13463 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13464 cat >conftest.
$ac_ext <<_ACEOF
13467 cat confdefs.h
>>conftest.
$ac_ext
13468 cat >>conftest.
$ac_ext <<_ACEOF
13469 /* end confdefs.h. */
13479 rm -f conftest.
$ac_objext conftest
$ac_exeext
13480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13481 (eval $ac_link) 2>conftest.er1
13483 grep -v '^ *+' conftest.er1
>conftest.err
13485 cat conftest.err
>&5
13486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13487 (exit $ac_status); } &&
13488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13490 (eval $ac_try) 2>&5
13492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13493 (exit $ac_status); }; } &&
13494 { ac_try
='test -s conftest$ac_exeext'
13495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13496 (eval $ac_try) 2>&5
13498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13499 (exit $ac_status); }; }; then
13500 ac_cv_c_ld_version_scripts
="yes"
13502 echo "$as_me: failed program was:" >&5
13503 sed 's/^/| /' conftest.
$ac_ext >&5
13505 ac_cv_c_ld_version_scripts
="no"
13507 rm -f conftest.err conftest.
$ac_objext \
13508 conftest
$ac_exeext conftest.
$ac_ext
13509 CFLAGS
=$ac_wine_try_cflags_saved
13512 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
13513 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
13514 if test "$ac_cv_c_ld_version_scripts" = "yes"
13516 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13519 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
13520 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
13521 if test "${ac_cv_c_export_dynamic+set}" = set; then
13522 echo $ECHO_N "(cached) $ECHO_C" >&6
13524 ac_wine_try_cflags_saved
=$CFLAGS
13525 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
13526 cat >conftest.
$ac_ext <<_ACEOF
13529 cat confdefs.h
>>conftest.
$ac_ext
13530 cat >>conftest.
$ac_ext <<_ACEOF
13531 /* end confdefs.h. */
13541 rm -f conftest.
$ac_objext conftest
$ac_exeext
13542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13543 (eval $ac_link) 2>conftest.er1
13545 grep -v '^ *+' conftest.er1
>conftest.err
13547 cat conftest.err
>&5
13548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13549 (exit $ac_status); } &&
13550 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13552 (eval $ac_try) 2>&5
13554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13555 (exit $ac_status); }; } &&
13556 { ac_try
='test -s conftest$ac_exeext'
13557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13558 (eval $ac_try) 2>&5
13560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); }; }; then
13562 ac_cv_c_export_dynamic
="yes"
13564 echo "$as_me: failed program was:" >&5
13565 sed 's/^/| /' conftest.
$ac_ext >&5
13567 ac_cv_c_export_dynamic
="no"
13569 rm -f conftest.err conftest.
$ac_objext \
13570 conftest
$ac_exeext conftest.
$ac_ext
13571 CFLAGS
=$ac_wine_try_cflags_saved
13573 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
13574 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
13575 if test "$ac_cv_c_export_dynamic" = "yes"
13577 LDEXECFLAGS
="-Wl,--export-dynamic"
13581 echo "$as_me:$LINENO: checking whether the linker accepts --rpath" >&5
13582 echo $ECHO_N "checking whether the linker accepts --rpath... $ECHO_C" >&6
13583 if test "${ac_cv_ld_rpath+set}" = set; then
13584 echo $ECHO_N "(cached) $ECHO_C" >&6
13586 ac_wine_try_cflags_saved
=$CFLAGS
13587 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13588 cat >conftest.
$ac_ext <<_ACEOF
13591 cat confdefs.h
>>conftest.
$ac_ext
13592 cat >>conftest.
$ac_ext <<_ACEOF
13593 /* end confdefs.h. */
13603 rm -f conftest.
$ac_objext conftest
$ac_exeext
13604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13605 (eval $ac_link) 2>conftest.er1
13607 grep -v '^ *+' conftest.er1
>conftest.err
13609 cat conftest.err
>&5
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); } &&
13612 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13614 (eval $ac_try) 2>&5
13616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13617 (exit $ac_status); }; } &&
13618 { ac_try
='test -s conftest$ac_exeext'
13619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13620 (eval $ac_try) 2>&5
13622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13623 (exit $ac_status); }; }; then
13624 ac_cv_ld_rpath
="yes"
13626 echo "$as_me: failed program was:" >&5
13627 sed 's/^/| /' conftest.
$ac_ext >&5
13629 ac_cv_ld_rpath
="no"
13631 rm -f conftest.err conftest.
$ac_objext \
13632 conftest
$ac_exeext conftest.
$ac_ext
13633 CFLAGS
=$ac_wine_try_cflags_saved
13635 echo "$as_me:$LINENO: result: $ac_cv_ld_rpath" >&5
13636 echo "${ECHO_T}$ac_cv_ld_rpath" >&6
13637 if test "$ac_cv_ld_rpath" = "yes"
13639 LDEXERPATH
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13641 LDDLLRPATH
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(dlldir) \$(libdir)\`"
13647 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
13648 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6
13649 if test "${ac_cv_ld_reloc_exec+set}" = set; then
13650 echo $ECHO_N "(cached) $ECHO_C" >&6
13652 ac_wine_try_cflags_saved
=$CFLAGS
13653 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13654 cat >conftest.
$ac_ext <<_ACEOF
13657 cat confdefs.h
>>conftest.
$ac_ext
13658 cat >>conftest.
$ac_ext <<_ACEOF
13659 /* end confdefs.h. */
13669 rm -f conftest.
$ac_objext conftest
$ac_exeext
13670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13671 (eval $ac_link) 2>conftest.er1
13673 grep -v '^ *+' conftest.er1
>conftest.err
13675 cat conftest.err
>&5
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); } &&
13678 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13680 (eval $ac_try) 2>&5
13682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13683 (exit $ac_status); }; } &&
13684 { ac_try
='test -s conftest$ac_exeext'
13685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13686 (eval $ac_try) 2>&5
13688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13689 (exit $ac_status); }; }; then
13690 ac_cv_ld_reloc_exec
="yes"
13692 echo "$as_me: failed program was:" >&5
13693 sed 's/^/| /' conftest.
$ac_ext >&5
13695 ac_cv_ld_reloc_exec
="no"
13697 rm -f conftest.err conftest.
$ac_objext \
13698 conftest
$ac_exeext conftest.
$ac_ext
13699 CFLAGS
=$ac_wine_try_cflags_saved
13701 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
13702 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
13703 if test "$ac_cv_ld_reloc_exec" = "yes"
13705 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
13711 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13712 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
13713 if test "${ac_cv_c_dll_unixware+set}" = set; then
13714 echo $ECHO_N "(cached) $ECHO_C" >&6
13716 ac_wine_try_cflags_saved
=$CFLAGS
13717 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13718 cat >conftest.
$ac_ext <<_ACEOF
13721 rm -f conftest.
$ac_objext conftest
$ac_exeext
13722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13723 (eval $ac_link) 2>conftest.er1
13725 grep -v '^ *+' conftest.er1
>conftest.err
13727 cat conftest.err
>&5
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 (exit $ac_status); } &&
13730 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13732 (eval $ac_try) 2>&5
13734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13735 (exit $ac_status); }; } &&
13736 { ac_try
='test -s conftest$ac_exeext'
13737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13738 (eval $ac_try) 2>&5
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); }; }; then
13742 ac_cv_c_dll_unixware
="yes"
13744 echo "$as_me: failed program was:" >&5
13745 sed 's/^/| /' conftest.
$ac_ext >&5
13747 ac_cv_c_dll_unixware
="no"
13749 rm -f conftest.err conftest.
$ac_objext \
13750 conftest
$ac_exeext conftest.
$ac_ext
13751 CFLAGS
=$ac_wine_try_cflags_saved
13753 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13754 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
13755 if test "$ac_cv_c_dll_unixware" = "yes"
13757 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13758 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
13761 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
13762 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
13763 if test "${ac_cv_c_dll_macho+set}" = set; then
13764 echo $ECHO_N "(cached) $ECHO_C" >&6
13766 ac_wine_try_cflags_saved
=$CFLAGS
13767 CFLAGS
="$CFLAGS -bundle"
13768 cat >conftest.
$ac_ext <<_ACEOF
13771 rm -f conftest.
$ac_objext conftest
$ac_exeext
13772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13773 (eval $ac_link) 2>conftest.er1
13775 grep -v '^ *+' conftest.er1
>conftest.err
13777 cat conftest.err
>&5
13778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13779 (exit $ac_status); } &&
13780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13782 (eval $ac_try) 2>&5
13784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13785 (exit $ac_status); }; } &&
13786 { ac_try
='test -s conftest$ac_exeext'
13787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13788 (eval $ac_try) 2>&5
13790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791 (exit $ac_status); }; }; then
13792 ac_cv_c_dll_macho
="yes"
13794 echo "$as_me: failed program was:" >&5
13795 sed 's/^/| /' conftest.
$ac_ext >&5
13797 ac_cv_c_dll_macho
="no"
13799 rm -f conftest.err conftest.
$ac_objext \
13800 conftest
$ac_exeext conftest.
$ac_ext
13801 CFLAGS
=$ac_wine_try_cflags_saved
13803 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
13804 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
13805 if test "$ac_cv_c_dll_macho" = "yes"
13808 LDDLLFLAGS
="-bundle"
13809 LDSHARED
="\$(CC) -dynamiclib"
13810 STRIP
="$STRIP -u -r"
13811 COREFOUNDATIONLIB
="-framework CoreFoundation"
13813 IOKITLIB
="-framework IOKit -framework CoreFoundation"
13815 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7ffe0000"
13819 CFLAGS
="$CFLAGS -ffixed-r13"
13820 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning"
13825 echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
13826 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6
13827 if test "${ac_cv_c_dll_hpux+set}" = set; then
13828 echo $ECHO_N "(cached) $ECHO_C" >&6
13830 ac_wine_try_cflags_saved
=$CFLAGS
13831 CFLAGS
="$CFLAGS -shared"
13832 cat >conftest.
$ac_ext <<_ACEOF
13835 rm -f conftest.
$ac_objext conftest
$ac_exeext
13836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13837 (eval $ac_link) 2>conftest.er1
13839 grep -v '^ *+' conftest.er1
>conftest.err
13841 cat conftest.err
>&5
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); } &&
13844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13846 (eval $ac_try) 2>&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); }; } &&
13850 { ac_try
='test -s conftest$ac_exeext'
13851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13852 (eval $ac_try) 2>&5
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); }; }; then
13856 ac_cv_c_dll_hpux
="yes"
13858 echo "$as_me: failed program was:" >&5
13859 sed 's/^/| /' conftest.
$ac_ext >&5
13861 ac_cv_c_dll_hpux
="no"
13863 rm -f conftest.err conftest.
$ac_objext \
13864 conftest
$ac_exeext conftest.
$ac_ext
13865 CFLAGS
=$ac_wine_try_cflags_saved
13867 echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
13868 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6
13869 if test "$ac_cv_c_dll_hpux" = "yes"
13873 LDDLLFLAGS
="-shared -fPIC"
13874 LDSHARED
="\$(CC) -shared"
13883 if test "$cross_compiling" = "no"
13885 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
13887 # Extract the first word of "$ac_prog", so it can be a program name with args.
13888 set dummy
$ac_prog; ac_word
=$2
13889 echo "$as_me:$LINENO: checking for $ac_word" >&5
13890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13891 if test "${ac_cv_prog_CROSSCC+set}" = set; then
13892 echo $ECHO_N "(cached) $ECHO_C" >&6
13894 if test -n "$CROSSCC"; then
13895 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
13897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13898 for as_dir
in $PATH
13901 test -z "$as_dir" && as_dir
=.
13902 for ac_exec_ext
in '' $ac_executable_extensions; do
13903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13904 ac_cv_prog_CROSSCC
="$ac_prog"
13905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13913 CROSSCC
=$ac_cv_prog_CROSSCC
13914 if test -n "$CROSSCC"; then
13915 echo "$as_me:$LINENO: result: $CROSSCC" >&5
13916 echo "${ECHO_T}$CROSSCC" >&6
13918 echo "$as_me:$LINENO: result: no" >&5
13919 echo "${ECHO_T}no" >&6
13922 test -n "$CROSSCC" && break
13924 test -n "$CROSSCC" || CROSSCC
="false"
13926 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
13928 # Extract the first word of "$ac_prog", so it can be a program name with args.
13929 set dummy
$ac_prog; ac_word
=$2
13930 echo "$as_me:$LINENO: checking for $ac_word" >&5
13931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13932 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13933 echo $ECHO_N "(cached) $ECHO_C" >&6
13935 if test -n "$DLLTOOL"; then
13936 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13939 for as_dir
in $PATH
13942 test -z "$as_dir" && as_dir
=.
13943 for ac_exec_ext
in '' $ac_executable_extensions; do
13944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13945 ac_cv_prog_DLLTOOL
="$ac_prog"
13946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13954 DLLTOOL
=$ac_cv_prog_DLLTOOL
13955 if test -n "$DLLTOOL"; then
13956 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13957 echo "${ECHO_T}$DLLTOOL" >&6
13959 echo "$as_me:$LINENO: result: no" >&5
13960 echo "${ECHO_T}no" >&6
13963 test -n "$DLLTOOL" && break
13965 test -n "$DLLTOOL" || DLLTOOL
="false"
13967 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
13969 # Extract the first word of "$ac_prog", so it can be a program name with args.
13970 set dummy
$ac_prog; ac_word
=$2
13971 echo "$as_me:$LINENO: checking for $ac_word" >&5
13972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13973 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
13974 echo $ECHO_N "(cached) $ECHO_C" >&6
13976 if test -n "$CROSSWINDRES"; then
13977 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
13979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13980 for as_dir
in $PATH
13983 test -z "$as_dir" && as_dir
=.
13984 for ac_exec_ext
in '' $ac_executable_extensions; do
13985 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13986 ac_cv_prog_CROSSWINDRES
="$ac_prog"
13987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13995 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
13996 if test -n "$CROSSWINDRES"; then
13997 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
13998 echo "${ECHO_T}$CROSSWINDRES" >&6
14000 echo "$as_me:$LINENO: result: no" >&5
14001 echo "${ECHO_T}no" >&6
14004 test -n "$CROSSWINDRES" && break
14006 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
14008 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
14013 if test "$LIBEXT" = "a"; then
14014 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14015 It is currently not possible to build Wine without shared library
14016 (.so) support to allow transparent switch between .so and .dll files.
14017 If you are using Linux, you will need a newer binutils.
14019 echo "$as_me: error: could not find a way to build shared libraries.
14020 It is currently not possible to build Wine without shared library
14021 (.so) support to allow transparent switch between .so and .dll files.
14022 If you are using Linux, you will need a newer binutils.
14024 { (exit 1); exit 1; }; }
14029 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14032 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14035 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14043 SOCKETLIBS
="-lws2_32"
14051 linux
* | k
*bsd
*-gnu)
14052 MAIN_BINARY
="wine-glibc"
14054 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
14057 MAIN_BINARY
="wine-pthread"
14060 MAIN_BINARY
="wine-kthread"
14064 *) MAIN_BINARY
="wine-pthread"
14069 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14071 # Extract the first word of "ldd", so it can be a program name with args.
14072 set dummy ldd
; ac_word
=$2
14073 echo "$as_me:$LINENO: checking for $ac_word" >&5
14074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14075 if test "${ac_cv_path_LDD+set}" = set; then
14076 echo $ECHO_N "(cached) $ECHO_C" >&6
14080 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
14083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14084 as_dummy
="/sbin:/usr/sbin:$PATH"
14085 for as_dir
in $as_dummy
14088 test -z "$as_dir" && as_dir
=.
14089 for ac_exec_ext
in '' $ac_executable_extensions; do
14090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14091 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
14092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14098 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
14102 LDD
=$ac_cv_path_LDD
14104 if test -n "$LDD"; then
14105 echo "$as_me:$LINENO: result: $LDD" >&5
14106 echo "${ECHO_T}$LDD" >&6
14108 echo "$as_me:$LINENO: result: no" >&5
14109 echo "${ECHO_T}no" >&6
14112 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14113 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14114 if test "${ac_cv_lib_soname_X11+set}" = set; then
14115 echo $ECHO_N "(cached) $ECHO_C" >&6
14117 ac_get_soname_save_LIBS
=$LIBS
14118 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14119 cat >conftest.
$ac_ext <<_ACEOF
14122 cat confdefs.h
>>conftest.
$ac_ext
14123 cat >>conftest.
$ac_ext <<_ACEOF
14124 /* end confdefs.h. */
14126 /* Override any gcc2 internal prototype to avoid an error. */
14130 /* We use char because int might match the return type of a gcc2
14131 builtin and then its argument prototype would still apply. */
14132 char XCreateWindow ();
14141 rm -f conftest.
$ac_objext conftest
$ac_exeext
14142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14143 (eval $ac_link) 2>conftest.er1
14145 grep -v '^ *+' conftest.er1
>conftest.err
14147 cat conftest.err
>&5
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); } &&
14150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14152 (eval $ac_try) 2>&5
14154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14155 (exit $ac_status); }; } &&
14156 { ac_try
='test -s conftest$ac_exeext'
14157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14158 (eval $ac_try) 2>&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); }; }; then
14162 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14163 if test "x$ac_cv_lib_soname_X11" = "x"
14165 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14168 echo "$as_me: failed program was:" >&5
14169 sed 's/^/| /' conftest.
$ac_ext >&5
14171 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14173 rm -f conftest.err conftest.
$ac_objext \
14174 conftest
$ac_exeext conftest.
$ac_ext
14175 LIBS
=$ac_get_soname_save_LIBS
14177 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14178 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14179 if test "${ac_cv_lib_soname_X11+set}" = set; then
14181 cat >>confdefs.h
<<_ACEOF
14182 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14187 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14188 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14189 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14190 echo $ECHO_N "(cached) $ECHO_C" >&6
14192 ac_get_soname_save_LIBS
=$LIBS
14193 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14194 cat >conftest.
$ac_ext <<_ACEOF
14197 cat confdefs.h
>>conftest.
$ac_ext
14198 cat >>conftest.
$ac_ext <<_ACEOF
14199 /* end confdefs.h. */
14201 /* Override any gcc2 internal prototype to avoid an error. */
14205 /* We use char because int might match the return type of a gcc2
14206 builtin and then its argument prototype would still apply. */
14207 char XextCreateExtension ();
14211 XextCreateExtension ();
14216 rm -f conftest.
$ac_objext conftest
$ac_exeext
14217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14218 (eval $ac_link) 2>conftest.er1
14220 grep -v '^ *+' conftest.er1
>conftest.err
14222 cat conftest.err
>&5
14223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14224 (exit $ac_status); } &&
14225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14227 (eval $ac_try) 2>&5
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); }; } &&
14231 { ac_try
='test -s conftest$ac_exeext'
14232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14233 (eval $ac_try) 2>&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); }; }; then
14237 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14238 if test "x$ac_cv_lib_soname_Xext" = "x"
14240 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14243 echo "$as_me: failed program was:" >&5
14244 sed 's/^/| /' conftest.
$ac_ext >&5
14246 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14248 rm -f conftest.err conftest.
$ac_objext \
14249 conftest
$ac_exeext conftest.
$ac_ext
14250 LIBS
=$ac_get_soname_save_LIBS
14252 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14253 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14254 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14256 cat >>confdefs.h
<<_ACEOF
14257 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14262 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14263 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14264 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14265 echo $ECHO_N "(cached) $ECHO_C" >&6
14267 ac_get_soname_save_LIBS
=$LIBS
14268 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14269 cat >conftest.
$ac_ext <<_ACEOF
14272 cat confdefs.h
>>conftest.
$ac_ext
14273 cat >>conftest.
$ac_ext <<_ACEOF
14274 /* end confdefs.h. */
14276 /* Override any gcc2 internal prototype to avoid an error. */
14280 /* We use char because int might match the return type of a gcc2
14281 builtin and then its argument prototype would still apply. */
14282 char XOpenDevice ();
14291 rm -f conftest.
$ac_objext conftest
$ac_exeext
14292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14293 (eval $ac_link) 2>conftest.er1
14295 grep -v '^ *+' conftest.er1
>conftest.err
14297 cat conftest.err
>&5
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); } &&
14300 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14302 (eval $ac_try) 2>&5
14304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305 (exit $ac_status); }; } &&
14306 { ac_try
='test -s conftest$ac_exeext'
14307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14308 (eval $ac_try) 2>&5
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); }; }; then
14312 ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14313 if test "x$ac_cv_lib_soname_Xi" = "x"
14315 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14318 echo "$as_me: failed program was:" >&5
14319 sed 's/^/| /' conftest.
$ac_ext >&5
14321 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14323 rm -f conftest.err conftest.
$ac_objext \
14324 conftest
$ac_exeext conftest.
$ac_ext
14325 LIBS
=$ac_get_soname_save_LIBS
14327 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14328 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14329 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14331 cat >>confdefs.h
<<_ACEOF
14332 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14337 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14338 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14339 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14340 echo $ECHO_N "(cached) $ECHO_C" >&6
14342 ac_get_soname_save_LIBS
=$LIBS
14343 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14344 cat >conftest.
$ac_ext <<_ACEOF
14347 cat confdefs.h
>>conftest.
$ac_ext
14348 cat >>conftest.
$ac_ext <<_ACEOF
14349 /* end confdefs.h. */
14351 /* Override any gcc2 internal prototype to avoid an error. */
14355 /* We use char because int might match the return type of a gcc2
14356 builtin and then its argument prototype would still apply. */
14357 char XRenderQueryExtension ();
14361 XRenderQueryExtension ();
14366 rm -f conftest.
$ac_objext conftest
$ac_exeext
14367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14368 (eval $ac_link) 2>conftest.er1
14370 grep -v '^ *+' conftest.er1
>conftest.err
14372 cat conftest.err
>&5
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); } &&
14375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14377 (eval $ac_try) 2>&5
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); }; } &&
14381 { ac_try
='test -s conftest$ac_exeext'
14382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14383 (eval $ac_try) 2>&5
14385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14386 (exit $ac_status); }; }; then
14387 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14388 if test "x$ac_cv_lib_soname_Xrender" = "x"
14390 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14393 echo "$as_me: failed program was:" >&5
14394 sed 's/^/| /' conftest.
$ac_ext >&5
14396 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14398 rm -f conftest.err conftest.
$ac_objext \
14399 conftest
$ac_exeext conftest.
$ac_ext
14400 LIBS
=$ac_get_soname_save_LIBS
14402 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14403 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14404 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14406 cat >>confdefs.h
<<_ACEOF
14407 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14412 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14413 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
14414 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14415 echo $ECHO_N "(cached) $ECHO_C" >&6
14417 ac_get_soname_save_LIBS
=$LIBS
14418 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14419 cat >conftest.
$ac_ext <<_ACEOF
14422 cat confdefs.h
>>conftest.
$ac_ext
14423 cat >>conftest.
$ac_ext <<_ACEOF
14424 /* end confdefs.h. */
14426 /* Override any gcc2 internal prototype to avoid an error. */
14430 /* We use char because int might match the return type of a gcc2
14431 builtin and then its argument prototype would still apply. */
14432 char XRRQueryExtension ();
14436 XRRQueryExtension ();
14441 rm -f conftest.
$ac_objext conftest
$ac_exeext
14442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14443 (eval $ac_link) 2>conftest.er1
14445 grep -v '^ *+' conftest.er1
>conftest.err
14447 cat conftest.err
>&5
14448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14449 (exit $ac_status); } &&
14450 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14452 (eval $ac_try) 2>&5
14454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14455 (exit $ac_status); }; } &&
14456 { ac_try
='test -s conftest$ac_exeext'
14457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14458 (eval $ac_try) 2>&5
14460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14461 (exit $ac_status); }; }; then
14462 ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14463 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14465 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
14468 echo "$as_me: failed program was:" >&5
14469 sed 's/^/| /' conftest.
$ac_ext >&5
14471 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
14473 rm -f conftest.err conftest.
$ac_objext \
14474 conftest
$ac_exeext conftest.
$ac_ext
14475 LIBS
=$ac_get_soname_save_LIBS
14477 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14478 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
14479 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14481 cat >>confdefs.h
<<_ACEOF
14482 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14487 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14488 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14489 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14490 echo $ECHO_N "(cached) $ECHO_C" >&6
14492 ac_get_soname_save_LIBS
=$LIBS
14493 LIBS
="-lfreetype $X_LIBS $LIBS"
14494 cat >conftest.
$ac_ext <<_ACEOF
14497 cat confdefs.h
>>conftest.
$ac_ext
14498 cat >>conftest.
$ac_ext <<_ACEOF
14499 /* end confdefs.h. */
14501 /* Override any gcc2 internal prototype to avoid an error. */
14505 /* We use char because int might match the return type of a gcc2
14506 builtin and then its argument prototype would still apply. */
14507 char FT_Init_FreeType ();
14511 FT_Init_FreeType ();
14516 rm -f conftest.
$ac_objext conftest
$ac_exeext
14517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14518 (eval $ac_link) 2>conftest.er1
14520 grep -v '^ *+' conftest.er1
>conftest.err
14522 cat conftest.err
>&5
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); } &&
14525 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14527 (eval $ac_try) 2>&5
14529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14530 (exit $ac_status); }; } &&
14531 { ac_try
='test -s conftest$ac_exeext'
14532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14533 (eval $ac_try) 2>&5
14535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14536 (exit $ac_status); }; }; then
14537 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14538 if test "x$ac_cv_lib_soname_freetype" = "x"
14540 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
14543 echo "$as_me: failed program was:" >&5
14544 sed 's/^/| /' conftest.
$ac_ext >&5
14546 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
14548 rm -f conftest.err conftest.
$ac_objext \
14549 conftest
$ac_exeext conftest.
$ac_ext
14550 LIBS
=$ac_get_soname_save_LIBS
14552 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14553 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
14554 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14556 cat >>confdefs.h
<<_ACEOF
14557 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14562 echo "$as_me:$LINENO: checking for -lGL soname" >&5
14563 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
14564 if test "${ac_cv_lib_soname_GL+set}" = set; then
14565 echo $ECHO_N "(cached) $ECHO_C" >&6
14567 ac_get_soname_save_LIBS
=$LIBS
14568 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14569 cat >conftest.
$ac_ext <<_ACEOF
14572 cat confdefs.h
>>conftest.
$ac_ext
14573 cat >>conftest.
$ac_ext <<_ACEOF
14574 /* end confdefs.h. */
14576 /* Override any gcc2 internal prototype to avoid an error. */
14580 /* We use char because int might match the return type of a gcc2
14581 builtin and then its argument prototype would still apply. */
14582 char glXQueryExtension ();
14586 glXQueryExtension ();
14591 rm -f conftest.
$ac_objext conftest
$ac_exeext
14592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14593 (eval $ac_link) 2>conftest.er1
14595 grep -v '^ *+' conftest.er1
>conftest.err
14597 cat conftest.err
>&5
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); } &&
14600 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14602 (eval $ac_try) 2>&5
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14605 (exit $ac_status); }; } &&
14606 { ac_try
='test -s conftest$ac_exeext'
14607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14608 (eval $ac_try) 2>&5
14610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14611 (exit $ac_status); }; }; then
14612 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14613 if test "x$ac_cv_lib_soname_GL" = "x"
14615 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
14618 echo "$as_me: failed program was:" >&5
14619 sed 's/^/| /' conftest.
$ac_ext >&5
14621 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
14623 rm -f conftest.err conftest.
$ac_objext \
14624 conftest
$ac_exeext conftest.
$ac_ext
14625 LIBS
=$ac_get_soname_save_LIBS
14627 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14628 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
14629 if test "${ac_cv_lib_soname_GL+set}" = set; then
14631 cat >>confdefs.h
<<_ACEOF
14632 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14637 echo "$as_me:$LINENO: checking for -ldbus-1 soname" >&5
14638 echo $ECHO_N "checking for -ldbus-1 soname... $ECHO_C" >&6
14639 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
14640 echo $ECHO_N "(cached) $ECHO_C" >&6
14642 ac_get_soname_save_LIBS
=$LIBS
14643 LIBS
="-ldbus-1 $LIBS"
14644 cat >conftest.
$ac_ext <<_ACEOF
14647 cat confdefs.h
>>conftest.
$ac_ext
14648 cat >>conftest.
$ac_ext <<_ACEOF
14649 /* end confdefs.h. */
14651 /* Override any gcc2 internal prototype to avoid an error. */
14655 /* We use char because int might match the return type of a gcc2
14656 builtin and then its argument prototype would still apply. */
14657 char dbus_error_init ();
14661 dbus_error_init ();
14666 rm -f conftest.
$ac_objext conftest
$ac_exeext
14667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14668 (eval $ac_link) 2>conftest.er1
14670 grep -v '^ *+' conftest.er1
>conftest.err
14672 cat conftest.err
>&5
14673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14674 (exit $ac_status); } &&
14675 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14677 (eval $ac_try) 2>&5
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680 (exit $ac_status); }; } &&
14681 { ac_try
='test -s conftest$ac_exeext'
14682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14683 (eval $ac_try) 2>&5
14685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14686 (exit $ac_status); }; }; then
14687 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'`
14688 if test "x$ac_cv_lib_soname_dbus_1" = "x"
14690 ac_cv_lib_soname_dbus_1
="libdbus-1.$LIBEXT"
14693 echo "$as_me: failed program was:" >&5
14694 sed 's/^/| /' conftest.
$ac_ext >&5
14696 ac_cv_lib_soname_dbus_1
="libdbus-1.$LIBEXT"
14698 rm -f conftest.err conftest.
$ac_objext \
14699 conftest
$ac_exeext conftest.
$ac_ext
14700 LIBS
=$ac_get_soname_save_LIBS
14702 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_dbus_1" >&5
14703 echo "${ECHO_T}$ac_cv_lib_soname_dbus_1" >&6
14704 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
14706 cat >>confdefs.h
<<_ACEOF
14707 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
14712 echo "$as_me:$LINENO: checking for -lhal soname" >&5
14713 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6
14714 if test "${ac_cv_lib_soname_hal+set}" = set; then
14715 echo $ECHO_N "(cached) $ECHO_C" >&6
14717 ac_get_soname_save_LIBS
=$LIBS
14719 cat >conftest.
$ac_ext <<_ACEOF
14722 cat confdefs.h
>>conftest.
$ac_ext
14723 cat >>conftest.
$ac_ext <<_ACEOF
14724 /* end confdefs.h. */
14726 /* Override any gcc2 internal prototype to avoid an error. */
14730 /* We use char because int might match the return type of a gcc2
14731 builtin and then its argument prototype would still apply. */
14732 char libhal_ctx_new ();
14741 rm -f conftest.
$ac_objext conftest
$ac_exeext
14742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14743 (eval $ac_link) 2>conftest.er1
14745 grep -v '^ *+' conftest.er1
>conftest.err
14747 cat conftest.err
>&5
14748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749 (exit $ac_status); } &&
14750 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14752 (eval $ac_try) 2>&5
14754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14755 (exit $ac_status); }; } &&
14756 { ac_try
='test -s conftest$ac_exeext'
14757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14758 (eval $ac_try) 2>&5
14760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14761 (exit $ac_status); }; }; then
14762 ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.$LIBEXT | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14763 if test "x$ac_cv_lib_soname_hal" = "x"
14765 ac_cv_lib_soname_hal
="libhal.$LIBEXT"
14768 echo "$as_me: failed program was:" >&5
14769 sed 's/^/| /' conftest.
$ac_ext >&5
14771 ac_cv_lib_soname_hal
="libhal.$LIBEXT"
14773 rm -f conftest.err conftest.
$ac_objext \
14774 conftest
$ac_exeext conftest.
$ac_ext
14775 LIBS
=$ac_get_soname_save_LIBS
14777 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
14778 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6
14779 if test "${ac_cv_lib_soname_hal+set}" = set; then
14781 cat >>confdefs.h
<<_ACEOF
14782 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
14787 echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14788 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6
14789 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14790 echo $ECHO_N "(cached) $ECHO_C" >&6
14792 ac_get_soname_save_LIBS
=$LIBS
14793 LIBS
="-ltxc_dxtn $LIBS"
14794 cat >conftest.
$ac_ext <<_ACEOF
14797 cat confdefs.h
>>conftest.
$ac_ext
14798 cat >>conftest.
$ac_ext <<_ACEOF
14799 /* end confdefs.h. */
14801 /* Override any gcc2 internal prototype to avoid an error. */
14805 /* We use char because int might match the return type of a gcc2
14806 builtin and then its argument prototype would still apply. */
14807 char fetch_2d_texel_rgba_dxt1 ();
14811 fetch_2d_texel_rgba_dxt1 ();
14816 rm -f conftest.
$ac_objext conftest
$ac_exeext
14817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14818 (eval $ac_link) 2>conftest.er1
14820 grep -v '^ *+' conftest.er1
>conftest.err
14822 cat conftest.err
>&5
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); } &&
14825 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14827 (eval $ac_try) 2>&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); }; } &&
14831 { ac_try
='test -s conftest$ac_exeext'
14832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14833 (eval $ac_try) 2>&5
14835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14836 (exit $ac_status); }; }; then
14837 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'`
14838 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
14840 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
14843 echo "$as_me: failed program was:" >&5
14844 sed 's/^/| /' conftest.
$ac_ext >&5
14846 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
14848 rm -f conftest.err conftest.
$ac_objext \
14849 conftest
$ac_exeext conftest.
$ac_ext
14850 LIBS
=$ac_get_soname_save_LIBS
14852 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
14853 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6
14854 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14856 cat >>confdefs.h
<<_ACEOF
14857 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
14862 echo "$as_me:$LINENO: checking for -lcups soname" >&5
14863 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
14864 if test "${ac_cv_lib_soname_cups+set}" = set; then
14865 echo $ECHO_N "(cached) $ECHO_C" >&6
14867 ac_get_soname_save_LIBS
=$LIBS
14868 LIBS
="-lcups $LIBS"
14869 cat >conftest.
$ac_ext <<_ACEOF
14872 cat confdefs.h
>>conftest.
$ac_ext
14873 cat >>conftest.
$ac_ext <<_ACEOF
14874 /* end confdefs.h. */
14876 /* Override any gcc2 internal prototype to avoid an error. */
14880 /* We use char because int might match the return type of a gcc2
14881 builtin and then its argument prototype would still apply. */
14882 char cupsGetDefault ();
14891 rm -f conftest.
$ac_objext conftest
$ac_exeext
14892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14893 (eval $ac_link) 2>conftest.er1
14895 grep -v '^ *+' conftest.er1
>conftest.err
14897 cat conftest.err
>&5
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); } &&
14900 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14902 (eval $ac_try) 2>&5
14904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905 (exit $ac_status); }; } &&
14906 { ac_try
='test -s conftest$ac_exeext'
14907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14908 (eval $ac_try) 2>&5
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); }; }; then
14912 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14913 if test "x$ac_cv_lib_soname_cups" = "x"
14915 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
14918 echo "$as_me: failed program was:" >&5
14919 sed 's/^/| /' conftest.
$ac_ext >&5
14921 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
14923 rm -f conftest.err conftest.
$ac_objext \
14924 conftest
$ac_exeext conftest.
$ac_ext
14925 LIBS
=$ac_get_soname_save_LIBS
14927 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14928 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
14929 if test "${ac_cv_lib_soname_cups+set}" = set; then
14931 cat >>confdefs.h
<<_ACEOF
14932 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14937 echo "$as_me:$LINENO: checking for -ljack soname" >&5
14938 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
14939 if test "${ac_cv_lib_soname_jack+set}" = set; then
14940 echo $ECHO_N "(cached) $ECHO_C" >&6
14942 ac_get_soname_save_LIBS
=$LIBS
14943 LIBS
="-ljack $LIBS"
14944 cat >conftest.
$ac_ext <<_ACEOF
14947 cat confdefs.h
>>conftest.
$ac_ext
14948 cat >>conftest.
$ac_ext <<_ACEOF
14949 /* end confdefs.h. */
14951 /* Override any gcc2 internal prototype to avoid an error. */
14955 /* We use char because int might match the return type of a gcc2
14956 builtin and then its argument prototype would still apply. */
14957 char jack_client_new ();
14961 jack_client_new ();
14966 rm -f conftest.
$ac_objext conftest
$ac_exeext
14967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14968 (eval $ac_link) 2>conftest.er1
14970 grep -v '^ *+' conftest.er1
>conftest.err
14972 cat conftest.err
>&5
14973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14974 (exit $ac_status); } &&
14975 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14977 (eval $ac_try) 2>&5
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); }; } &&
14981 { ac_try
='test -s conftest$ac_exeext'
14982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14983 (eval $ac_try) 2>&5
14985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14986 (exit $ac_status); }; }; then
14987 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14988 if test "x$ac_cv_lib_soname_jack" = "x"
14990 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
14993 echo "$as_me: failed program was:" >&5
14994 sed 's/^/| /' conftest.
$ac_ext >&5
14996 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
14998 rm -f conftest.err conftest.
$ac_objext \
14999 conftest
$ac_exeext conftest.
$ac_ext
15000 LIBS
=$ac_get_soname_save_LIBS
15002 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15003 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15004 if test "${ac_cv_lib_soname_jack+set}" = set; then
15006 cat >>confdefs.h
<<_ACEOF
15007 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15012 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15013 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15014 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15015 echo $ECHO_N "(cached) $ECHO_C" >&6
15017 ac_get_soname_save_LIBS
=$LIBS
15018 LIBS
="-lfontconfig $LIBS"
15019 cat >conftest.
$ac_ext <<_ACEOF
15022 cat confdefs.h
>>conftest.
$ac_ext
15023 cat >>conftest.
$ac_ext <<_ACEOF
15024 /* end confdefs.h. */
15026 /* Override any gcc2 internal prototype to avoid an error. */
15030 /* We use char because int might match the return type of a gcc2
15031 builtin and then its argument prototype would still apply. */
15041 rm -f conftest.
$ac_objext conftest
$ac_exeext
15042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15043 (eval $ac_link) 2>conftest.er1
15045 grep -v '^ *+' conftest.er1
>conftest.err
15047 cat conftest.err
>&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); } &&
15050 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15052 (eval $ac_try) 2>&5
15054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15055 (exit $ac_status); }; } &&
15056 { ac_try
='test -s conftest$ac_exeext'
15057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15058 (eval $ac_try) 2>&5
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); }; }; then
15062 ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15063 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15065 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15068 echo "$as_me: failed program was:" >&5
15069 sed 's/^/| /' conftest.
$ac_ext >&5
15071 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15073 rm -f conftest.err conftest.
$ac_objext \
15074 conftest
$ac_exeext conftest.
$ac_ext
15075 LIBS
=$ac_get_soname_save_LIBS
15077 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15078 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15079 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15081 cat >>confdefs.h
<<_ACEOF
15082 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15087 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15088 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15089 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15090 echo $ECHO_N "(cached) $ECHO_C" >&6
15092 ac_get_soname_save_LIBS
=$LIBS
15094 cat >conftest.
$ac_ext <<_ACEOF
15097 cat confdefs.h
>>conftest.
$ac_ext
15098 cat >>conftest.
$ac_ext <<_ACEOF
15099 /* end confdefs.h. */
15101 /* Override any gcc2 internal prototype to avoid an error. */
15105 /* We use char because int might match the return type of a gcc2
15106 builtin and then its argument prototype would still apply. */
15107 char SSL_library_init ();
15111 SSL_library_init ();
15116 rm -f conftest.
$ac_objext conftest
$ac_exeext
15117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15118 (eval $ac_link) 2>conftest.er1
15120 grep -v '^ *+' conftest.er1
>conftest.err
15122 cat conftest.err
>&5
15123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124 (exit $ac_status); } &&
15125 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15127 (eval $ac_try) 2>&5
15129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15130 (exit $ac_status); }; } &&
15131 { ac_try
='test -s conftest$ac_exeext'
15132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15133 (eval $ac_try) 2>&5
15135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136 (exit $ac_status); }; }; then
15137 ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15138 if test "x$ac_cv_lib_soname_ssl" = "x"
15140 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15143 echo "$as_me: failed program was:" >&5
15144 sed 's/^/| /' conftest.
$ac_ext >&5
15146 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15148 rm -f conftest.err conftest.
$ac_objext \
15149 conftest
$ac_exeext conftest.
$ac_ext
15150 LIBS
=$ac_get_soname_save_LIBS
15152 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15153 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15154 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15156 cat >>confdefs.h
<<_ACEOF
15157 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15162 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15163 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15164 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15165 echo $ECHO_N "(cached) $ECHO_C" >&6
15167 ac_get_soname_save_LIBS
=$LIBS
15168 LIBS
="-lcrypto $LIBS"
15169 cat >conftest.
$ac_ext <<_ACEOF
15172 cat confdefs.h
>>conftest.
$ac_ext
15173 cat >>conftest.
$ac_ext <<_ACEOF
15174 /* end confdefs.h. */
15176 /* Override any gcc2 internal prototype to avoid an error. */
15180 /* We use char because int might match the return type of a gcc2
15181 builtin and then its argument prototype would still apply. */
15182 char BIO_new_socket ();
15191 rm -f conftest.
$ac_objext conftest
$ac_exeext
15192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15193 (eval $ac_link) 2>conftest.er1
15195 grep -v '^ *+' conftest.er1
>conftest.err
15197 cat conftest.err
>&5
15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); } &&
15200 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15202 (eval $ac_try) 2>&5
15204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15205 (exit $ac_status); }; } &&
15206 { ac_try
='test -s conftest$ac_exeext'
15207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15208 (eval $ac_try) 2>&5
15210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15211 (exit $ac_status); }; }; then
15212 ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15213 if test "x$ac_cv_lib_soname_crypto" = "x"
15215 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15218 echo "$as_me: failed program was:" >&5
15219 sed 's/^/| /' conftest.
$ac_ext >&5
15221 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15223 rm -f conftest.err conftest.
$ac_objext \
15224 conftest
$ac_exeext conftest.
$ac_ext
15225 LIBS
=$ac_get_soname_save_LIBS
15227 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15228 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15229 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15231 cat >>confdefs.h
<<_ACEOF
15232 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15237 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15238 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15239 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15240 echo $ECHO_N "(cached) $ECHO_C" >&6
15242 ac_get_soname_save_LIBS
=$LIBS
15243 LIBS
="-lncurses $LIBS"
15244 cat >conftest.
$ac_ext <<_ACEOF
15247 cat confdefs.h
>>conftest.
$ac_ext
15248 cat >>conftest.
$ac_ext <<_ACEOF
15249 /* end confdefs.h. */
15251 /* Override any gcc2 internal prototype to avoid an error. */
15255 /* We use char because int might match the return type of a gcc2
15256 builtin and then its argument prototype would still apply. */
15266 rm -f conftest.
$ac_objext conftest
$ac_exeext
15267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15268 (eval $ac_link) 2>conftest.er1
15270 grep -v '^ *+' conftest.er1
>conftest.err
15272 cat conftest.err
>&5
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); } &&
15275 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15277 (eval $ac_try) 2>&5
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); }; } &&
15281 { ac_try
='test -s conftest$ac_exeext'
15282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15283 (eval $ac_try) 2>&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); }; }; then
15287 ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15288 if test "x$ac_cv_lib_soname_ncurses" = "x"
15290 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15293 echo "$as_me: failed program was:" >&5
15294 sed 's/^/| /' conftest.
$ac_ext >&5
15296 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15298 rm -f conftest.err conftest.
$ac_objext \
15299 conftest
$ac_exeext conftest.
$ac_ext
15300 LIBS
=$ac_get_soname_save_LIBS
15302 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15303 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15304 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15306 cat >>confdefs.h
<<_ACEOF
15307 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15312 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15313 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15314 if test "${ac_cv_lib_soname_curses+set}" = set; then
15315 echo $ECHO_N "(cached) $ECHO_C" >&6
15317 ac_get_soname_save_LIBS
=$LIBS
15318 LIBS
="-lcurses $LIBS"
15319 cat >conftest.
$ac_ext <<_ACEOF
15322 cat confdefs.h
>>conftest.
$ac_ext
15323 cat >>conftest.
$ac_ext <<_ACEOF
15324 /* end confdefs.h. */
15326 /* Override any gcc2 internal prototype to avoid an error. */
15330 /* We use char because int might match the return type of a gcc2
15331 builtin and then its argument prototype would still apply. */
15341 rm -f conftest.
$ac_objext conftest
$ac_exeext
15342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15343 (eval $ac_link) 2>conftest.er1
15345 grep -v '^ *+' conftest.er1
>conftest.err
15347 cat conftest.err
>&5
15348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15349 (exit $ac_status); } &&
15350 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15352 (eval $ac_try) 2>&5
15354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355 (exit $ac_status); }; } &&
15356 { ac_try
='test -s conftest$ac_exeext'
15357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15358 (eval $ac_try) 2>&5
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); }; }; then
15362 ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15363 if test "x$ac_cv_lib_soname_curses" = "x"
15365 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15368 echo "$as_me: failed program was:" >&5
15369 sed 's/^/| /' conftest.
$ac_ext >&5
15371 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15373 rm -f conftest.err conftest.
$ac_objext \
15374 conftest
$ac_exeext conftest.
$ac_ext
15375 LIBS
=$ac_get_soname_save_LIBS
15377 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15378 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15379 if test "${ac_cv_lib_soname_curses+set}" = set; then
15381 cat >>confdefs.h
<<_ACEOF
15382 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15387 echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15388 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6
15389 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15390 echo $ECHO_N "(cached) $ECHO_C" >&6
15392 ac_get_soname_save_LIBS
=$LIBS
15393 LIBS
="-ljpeg $LIBS"
15394 cat >conftest.
$ac_ext <<_ACEOF
15397 cat confdefs.h
>>conftest.
$ac_ext
15398 cat >>conftest.
$ac_ext <<_ACEOF
15399 /* end confdefs.h. */
15401 /* Override any gcc2 internal prototype to avoid an error. */
15405 /* We use char because int might match the return type of a gcc2
15406 builtin and then its argument prototype would still apply. */
15407 char jpeg_start_decompress ();
15411 jpeg_start_decompress ();
15416 rm -f conftest.
$ac_objext conftest
$ac_exeext
15417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15418 (eval $ac_link) 2>conftest.er1
15420 grep -v '^ *+' conftest.er1
>conftest.err
15422 cat conftest.err
>&5
15423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 (exit $ac_status); } &&
15425 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15427 (eval $ac_try) 2>&5
15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); }; } &&
15431 { ac_try
='test -s conftest$ac_exeext'
15432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15433 (eval $ac_try) 2>&5
15435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436 (exit $ac_status); }; }; then
15437 ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15438 if test "x$ac_cv_lib_soname_jpeg" = "x"
15440 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15443 echo "$as_me: failed program was:" >&5
15444 sed 's/^/| /' conftest.
$ac_ext >&5
15446 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15448 rm -f conftest.err conftest.
$ac_objext \
15449 conftest
$ac_exeext conftest.
$ac_ext
15450 LIBS
=$ac_get_soname_save_LIBS
15452 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15453 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6
15454 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15456 cat >>confdefs.h
<<_ACEOF
15457 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15462 echo "$as_me:$LINENO: checking for -lungif soname" >&5
15463 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6
15464 if test "${ac_cv_lib_soname_ungif+set}" = set; then
15465 echo $ECHO_N "(cached) $ECHO_C" >&6
15467 ac_get_soname_save_LIBS
=$LIBS
15468 LIBS
="-lungif $LIBS"
15469 cat >conftest.
$ac_ext <<_ACEOF
15472 cat confdefs.h
>>conftest.
$ac_ext
15473 cat >>conftest.
$ac_ext <<_ACEOF
15474 /* end confdefs.h. */
15476 /* Override any gcc2 internal prototype to avoid an error. */
15480 /* We use char because int might match the return type of a gcc2
15481 builtin and then its argument prototype would still apply. */
15491 rm -f conftest.
$ac_objext conftest
$ac_exeext
15492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15493 (eval $ac_link) 2>conftest.er1
15495 grep -v '^ *+' conftest.er1
>conftest.err
15497 cat conftest.err
>&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); } &&
15500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15502 (eval $ac_try) 2>&5
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); }; } &&
15506 { ac_try
='test -s conftest$ac_exeext'
15507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15508 (eval $ac_try) 2>&5
15510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15511 (exit $ac_status); }; }; then
15512 ac_cv_lib_soname_ungif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed -e "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15513 if test "x$ac_cv_lib_soname_ungif" = "x"
15515 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
15518 echo "$as_me: failed program was:" >&5
15519 sed 's/^/| /' conftest.
$ac_ext >&5
15521 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
15523 rm -f conftest.err conftest.
$ac_objext \
15524 conftest
$ac_exeext conftest.
$ac_ext
15525 LIBS
=$ac_get_soname_save_LIBS
15527 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
15528 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6
15529 if test "${ac_cv_lib_soname_ungif+set}" = set; then
15531 cat >>confdefs.h
<<_ACEOF
15532 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
15537 echo "$as_me:$LINENO: checking for -lgif soname" >&5
15538 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6
15539 if test "${ac_cv_lib_soname_gif+set}" = set; then
15540 echo $ECHO_N "(cached) $ECHO_C" >&6
15542 ac_get_soname_save_LIBS
=$LIBS
15544 cat >conftest.
$ac_ext <<_ACEOF
15547 cat confdefs.h
>>conftest.
$ac_ext
15548 cat >>conftest.
$ac_ext <<_ACEOF
15549 /* end confdefs.h. */
15551 /* Override any gcc2 internal prototype to avoid an error. */
15555 /* We use char because int might match the return type of a gcc2
15556 builtin and then its argument prototype would still apply. */
15566 rm -f conftest.
$ac_objext conftest
$ac_exeext
15567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15568 (eval $ac_link) 2>conftest.er1
15570 grep -v '^ *+' conftest.er1
>conftest.err
15572 cat conftest.err
>&5
15573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15574 (exit $ac_status); } &&
15575 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15577 (eval $ac_try) 2>&5
15579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15580 (exit $ac_status); }; } &&
15581 { ac_try
='test -s conftest$ac_exeext'
15582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15583 (eval $ac_try) 2>&5
15585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15586 (exit $ac_status); }; }; then
15587 ac_cv_lib_soname_gif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed -e "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15588 if test "x$ac_cv_lib_soname_gif" = "x"
15590 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
15593 echo "$as_me: failed program was:" >&5
15594 sed 's/^/| /' conftest.
$ac_ext >&5
15596 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
15598 rm -f conftest.err conftest.
$ac_objext \
15599 conftest
$ac_exeext conftest.
$ac_ext
15600 LIBS
=$ac_get_soname_save_LIBS
15602 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
15603 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6
15604 if test "${ac_cv_lib_soname_gif+set}" = set; then
15606 cat >>confdefs.h
<<_ACEOF
15607 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
15612 echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15613 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6
15614 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15615 echo $ECHO_N "(cached) $ECHO_C" >&6
15617 ac_get_soname_save_LIBS
=$LIBS
15618 LIBS
="-lcapi20 $LIBS"
15619 cat >conftest.
$ac_ext <<_ACEOF
15622 cat confdefs.h
>>conftest.
$ac_ext
15623 cat >>conftest.
$ac_ext <<_ACEOF
15624 /* end confdefs.h. */
15626 /* Override any gcc2 internal prototype to avoid an error. */
15630 /* We use char because int might match the return type of a gcc2
15631 builtin and then its argument prototype would still apply. */
15632 char capi20_isinstalled ();
15636 capi20_isinstalled ();
15641 rm -f conftest.
$ac_objext conftest
$ac_exeext
15642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15643 (eval $ac_link) 2>conftest.er1
15645 grep -v '^ *+' conftest.er1
>conftest.err
15647 cat conftest.err
>&5
15648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15649 (exit $ac_status); } &&
15650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15652 (eval $ac_try) 2>&5
15654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15655 (exit $ac_status); }; } &&
15656 { ac_try
='test -s conftest$ac_exeext'
15657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15658 (eval $ac_try) 2>&5
15660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15661 (exit $ac_status); }; }; then
15662 ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.$LIBEXT | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15663 if test "x$ac_cv_lib_soname_capi20" = "x"
15665 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
15668 echo "$as_me: failed program was:" >&5
15669 sed 's/^/| /' conftest.
$ac_ext >&5
15671 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
15673 rm -f conftest.err conftest.
$ac_objext \
15674 conftest
$ac_exeext conftest.
$ac_ext
15675 LIBS
=$ac_get_soname_save_LIBS
15677 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15678 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6
15679 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15681 cat >>confdefs.h
<<_ACEOF
15682 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15822 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15823 echo "$as_me:$LINENO: checking for $ac_func" >&5
15824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15825 if eval "test \"\${$as_ac_var+set}\" = set"; then
15826 echo $ECHO_N "(cached) $ECHO_C" >&6
15828 cat >conftest.
$ac_ext <<_ACEOF
15831 cat confdefs.h
>>conftest.
$ac_ext
15832 cat >>conftest.
$ac_ext <<_ACEOF
15833 /* end confdefs.h. */
15834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15836 #define $ac_func innocuous_$ac_func
15838 /* System header to define __stub macros and hopefully few prototypes,
15839 which can conflict with char $ac_func (); below.
15840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15841 <limits.h> exists even on freestanding compilers. */
15844 # include <limits.h>
15846 # include <assert.h>
15851 /* Override any gcc2 internal prototype to avoid an error. */
15856 /* We use char because int might match the return type of a gcc2
15857 builtin and then its argument prototype would still apply. */
15859 /* The GNU C library defines this for functions which it implements
15860 to always fail with ENOSYS. Some functions are actually named
15861 something starting with __ and the normal name is an alias. */
15862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15865 char (*f) () = $ac_func;
15874 return f != $ac_func;
15879 rm -f conftest.
$ac_objext conftest
$ac_exeext
15880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15881 (eval $ac_link) 2>conftest.er1
15883 grep -v '^ *+' conftest.er1
>conftest.err
15885 cat conftest.err
>&5
15886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); } &&
15888 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15894 { ac_try
='test -s conftest$ac_exeext'
15895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15896 (eval $ac_try) 2>&5
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); }; }; then
15900 eval "$as_ac_var=yes"
15902 echo "$as_me: failed program was:" >&5
15903 sed 's/^/| /' conftest.
$ac_ext >&5
15905 eval "$as_ac_var=no"
15907 rm -f conftest.err conftest.
$ac_objext \
15908 conftest
$ac_exeext conftest.
$ac_ext
15910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15912 if test `eval echo '${'$as_ac_var'}'` = yes; then
15913 cat >>confdefs.h
<<_ACEOF
15914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15923 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15924 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15925 if test "${ac_cv_c_const+set}" = set; then
15926 echo $ECHO_N "(cached) $ECHO_C" >&6
15928 cat >conftest.
$ac_ext <<_ACEOF
15931 cat confdefs.h
>>conftest.
$ac_ext
15932 cat >>conftest.
$ac_ext <<_ACEOF
15933 /* end confdefs.h. */
15938 /* FIXME: Include the comments suggested by Paul. */
15939 #ifndef __cplusplus
15940 /* Ultrix mips cc rejects this. */
15941 typedef int charset[2];
15943 /* SunOS 4.1.1 cc rejects this. */
15944 char const *const *ccp;
15946 /* NEC SVR4.0.2 mips cc rejects this. */
15947 struct point {int x, y;};
15948 static struct point const zero = {0,0};
15949 /* AIX XL C 1.02.0.0 rejects this.
15950 It does not let you subtract one const X* pointer from another in
15951 an arm of an if-expression whose if-part is not a constant
15953 const char *g = "string";
15954 ccp = &g + (g ? g-g : 0);
15955 /* HPUX 7.0 cc rejects these. */
15958 ccp = (char const *const *) p;
15959 { /* SCO 3.2v4 cc rejects this. */
15961 char const *s = 0 ? (char *) 0 : (char const *) 0;
15965 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15966 int x[] = {25, 17};
15967 const int *foo = &x[0];
15970 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15971 typedef const int *iptr;
15975 { /* AIX XL C 1.02.0.0 rejects this saying
15976 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15977 struct s { int j; const int *ap[3]; };
15978 struct s *b; b->j = 5;
15980 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15981 const int foo = 10;
15989 rm -f conftest.
$ac_objext
15990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15991 (eval $ac_compile) 2>conftest.er1
15993 grep -v '^ *+' conftest.er1
>conftest.err
15995 cat conftest.err
>&5
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); } &&
15998 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16000 (eval $ac_try) 2>&5
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); }; } &&
16004 { ac_try
='test -s conftest.$ac_objext'
16005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16006 (eval $ac_try) 2>&5
16008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); }; }; then
16012 echo "$as_me: failed program was:" >&5
16013 sed 's/^/| /' conftest.
$ac_ext >&5
16017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16019 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16020 echo "${ECHO_T}$ac_cv_c_const" >&6
16021 if test $ac_cv_c_const = no
; then
16023 cat >>confdefs.h
<<\_ACEOF
16029 echo "$as_me:$LINENO: checking for inline" >&5
16030 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16031 if test "${ac_cv_c_inline+set}" = set; then
16032 echo $ECHO_N "(cached) $ECHO_C" >&6
16035 for ac_kw
in inline __inline__ __inline
; do
16036 cat >conftest.
$ac_ext <<_ACEOF
16039 cat confdefs.h
>>conftest.
$ac_ext
16040 cat >>conftest.
$ac_ext <<_ACEOF
16041 /* end confdefs.h. */
16042 #ifndef __cplusplus
16044 static $ac_kw foo_t static_foo () {return 0; }
16045 $ac_kw foo_t foo () {return 0; }
16049 rm -f conftest.
$ac_objext
16050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16051 (eval $ac_compile) 2>conftest.er1
16053 grep -v '^ *+' conftest.er1
>conftest.err
16055 cat conftest.err
>&5
16056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16057 (exit $ac_status); } &&
16058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16060 (eval $ac_try) 2>&5
16062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16063 (exit $ac_status); }; } &&
16064 { ac_try
='test -s conftest.$ac_objext'
16065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16066 (eval $ac_try) 2>&5
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); }; }; then
16070 ac_cv_c_inline
=$ac_kw; break
16072 echo "$as_me: failed program was:" >&5
16073 sed 's/^/| /' conftest.
$ac_ext >&5
16076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16080 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16081 echo "${ECHO_T}$ac_cv_c_inline" >&6
16084 case $ac_cv_c_inline in
16087 case $ac_cv_c_inline in
16089 *) ac_val
=$ac_cv_c_inline;;
16091 cat >>confdefs.h
<<_ACEOF
16092 #ifndef __cplusplus
16093 #define inline $ac_val
16099 echo "$as_me:$LINENO: checking for mode_t" >&5
16100 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
16101 if test "${ac_cv_type_mode_t+set}" = set; then
16102 echo $ECHO_N "(cached) $ECHO_C" >&6
16104 cat >conftest.
$ac_ext <<_ACEOF
16107 cat confdefs.h
>>conftest.
$ac_ext
16108 cat >>conftest.
$ac_ext <<_ACEOF
16109 /* end confdefs.h. */
16110 $ac_includes_default
16116 if (sizeof (mode_t))
16122 rm -f conftest.
$ac_objext
16123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16124 (eval $ac_compile) 2>conftest.er1
16126 grep -v '^ *+' conftest.er1
>conftest.err
16128 cat conftest.err
>&5
16129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130 (exit $ac_status); } &&
16131 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16133 (eval $ac_try) 2>&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); }; } &&
16137 { ac_try
='test -s conftest.$ac_objext'
16138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16139 (eval $ac_try) 2>&5
16141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); }; }; then
16143 ac_cv_type_mode_t
=yes
16145 echo "$as_me: failed program was:" >&5
16146 sed 's/^/| /' conftest.
$ac_ext >&5
16148 ac_cv_type_mode_t
=no
16150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16152 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16153 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
16154 if test $ac_cv_type_mode_t = yes; then
16156 cat >>confdefs.h
<<_ACEOF
16157 #define HAVE_MODE_T 1
16162 echo "$as_me:$LINENO: checking for off_t" >&5
16163 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
16164 if test "${ac_cv_type_off_t+set}" = set; then
16165 echo $ECHO_N "(cached) $ECHO_C" >&6
16167 cat >conftest.
$ac_ext <<_ACEOF
16170 cat confdefs.h
>>conftest.
$ac_ext
16171 cat >>conftest.
$ac_ext <<_ACEOF
16172 /* end confdefs.h. */
16173 $ac_includes_default
16179 if (sizeof (off_t))
16185 rm -f conftest.
$ac_objext
16186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16187 (eval $ac_compile) 2>conftest.er1
16189 grep -v '^ *+' conftest.er1
>conftest.err
16191 cat conftest.err
>&5
16192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16193 (exit $ac_status); } &&
16194 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16196 (eval $ac_try) 2>&5
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); }; } &&
16200 { ac_try
='test -s conftest.$ac_objext'
16201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16202 (eval $ac_try) 2>&5
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); }; }; then
16206 ac_cv_type_off_t
=yes
16208 echo "$as_me: failed program was:" >&5
16209 sed 's/^/| /' conftest.
$ac_ext >&5
16211 ac_cv_type_off_t
=no
16213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16215 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16216 echo "${ECHO_T}$ac_cv_type_off_t" >&6
16217 if test $ac_cv_type_off_t = yes; then
16219 cat >>confdefs.h
<<_ACEOF
16220 #define HAVE_OFF_T 1
16225 echo "$as_me:$LINENO: checking for pid_t" >&5
16226 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
16227 if test "${ac_cv_type_pid_t+set}" = set; then
16228 echo $ECHO_N "(cached) $ECHO_C" >&6
16230 cat >conftest.
$ac_ext <<_ACEOF
16233 cat confdefs.h
>>conftest.
$ac_ext
16234 cat >>conftest.
$ac_ext <<_ACEOF
16235 /* end confdefs.h. */
16236 $ac_includes_default
16242 if (sizeof (pid_t))
16248 rm -f conftest.
$ac_objext
16249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16250 (eval $ac_compile) 2>conftest.er1
16252 grep -v '^ *+' conftest.er1
>conftest.err
16254 cat conftest.err
>&5
16255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16256 (exit $ac_status); } &&
16257 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16259 (eval $ac_try) 2>&5
16261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16262 (exit $ac_status); }; } &&
16263 { ac_try
='test -s conftest.$ac_objext'
16264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16265 (eval $ac_try) 2>&5
16267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268 (exit $ac_status); }; }; then
16269 ac_cv_type_pid_t
=yes
16271 echo "$as_me: failed program was:" >&5
16272 sed 's/^/| /' conftest.
$ac_ext >&5
16274 ac_cv_type_pid_t
=no
16276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16278 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16279 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
16280 if test $ac_cv_type_pid_t = yes; then
16282 cat >>confdefs.h
<<_ACEOF
16283 #define HAVE_PID_T 1
16288 echo "$as_me:$LINENO: checking for size_t" >&5
16289 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16290 if test "${ac_cv_type_size_t+set}" = set; then
16291 echo $ECHO_N "(cached) $ECHO_C" >&6
16293 cat >conftest.
$ac_ext <<_ACEOF
16296 cat confdefs.h
>>conftest.
$ac_ext
16297 cat >>conftest.
$ac_ext <<_ACEOF
16298 /* end confdefs.h. */
16299 $ac_includes_default
16305 if (sizeof (size_t))
16311 rm -f conftest.
$ac_objext
16312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16313 (eval $ac_compile) 2>conftest.er1
16315 grep -v '^ *+' conftest.er1
>conftest.err
16317 cat conftest.err
>&5
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); } &&
16320 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16322 (eval $ac_try) 2>&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); }; } &&
16326 { ac_try
='test -s conftest.$ac_objext'
16327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16328 (eval $ac_try) 2>&5
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); }; }; then
16332 ac_cv_type_size_t
=yes
16334 echo "$as_me: failed program was:" >&5
16335 sed 's/^/| /' conftest.
$ac_ext >&5
16337 ac_cv_type_size_t
=no
16339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16341 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16342 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16343 if test $ac_cv_type_size_t = yes; then
16345 cat >>confdefs.h
<<_ACEOF
16346 #define HAVE_SIZE_T 1
16351 echo "$as_me:$LINENO: checking for ssize_t" >&5
16352 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
16353 if test "${ac_cv_type_ssize_t+set}" = set; then
16354 echo $ECHO_N "(cached) $ECHO_C" >&6
16356 cat >conftest.
$ac_ext <<_ACEOF
16359 cat confdefs.h
>>conftest.
$ac_ext
16360 cat >>conftest.
$ac_ext <<_ACEOF
16361 /* end confdefs.h. */
16362 $ac_includes_default
16368 if (sizeof (ssize_t))
16374 rm -f conftest.
$ac_objext
16375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16376 (eval $ac_compile) 2>conftest.er1
16378 grep -v '^ *+' conftest.er1
>conftest.err
16380 cat conftest.err
>&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); } &&
16383 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16385 (eval $ac_try) 2>&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); }; } &&
16389 { ac_try
='test -s conftest.$ac_objext'
16390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16391 (eval $ac_try) 2>&5
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); }; }; then
16395 ac_cv_type_ssize_t
=yes
16397 echo "$as_me: failed program was:" >&5
16398 sed 's/^/| /' conftest.
$ac_ext >&5
16400 ac_cv_type_ssize_t
=no
16402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16404 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16405 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
16406 if test $ac_cv_type_ssize_t = yes; then
16408 cat >>confdefs.h
<<_ACEOF
16409 #define HAVE_SSIZE_T 1
16414 echo "$as_me:$LINENO: checking for long long" >&5
16415 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16416 if test "${ac_cv_type_long_long+set}" = set; then
16417 echo $ECHO_N "(cached) $ECHO_C" >&6
16419 cat >conftest.
$ac_ext <<_ACEOF
16422 cat confdefs.h
>>conftest.
$ac_ext
16423 cat >>conftest.
$ac_ext <<_ACEOF
16424 /* end confdefs.h. */
16425 $ac_includes_default
16429 if ((long long *) 0)
16431 if (sizeof (long long))
16437 rm -f conftest.
$ac_objext
16438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16439 (eval $ac_compile) 2>conftest.er1
16441 grep -v '^ *+' conftest.er1
>conftest.err
16443 cat conftest.err
>&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); } &&
16446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16452 { ac_try
='test -s conftest.$ac_objext'
16453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16454 (eval $ac_try) 2>&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); }; }; then
16458 ac_cv_type_long_long
=yes
16460 echo "$as_me: failed program was:" >&5
16461 sed 's/^/| /' conftest.
$ac_ext >&5
16463 ac_cv_type_long_long
=no
16465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16467 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16468 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16469 if test $ac_cv_type_long_long = yes; then
16471 cat >>confdefs.h
<<_ACEOF
16472 #define HAVE_LONG_LONG 1
16477 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
16478 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
16479 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
16480 echo $ECHO_N "(cached) $ECHO_C" >&6
16482 cat >conftest.
$ac_ext <<_ACEOF
16485 cat confdefs.h
>>conftest.
$ac_ext
16486 cat >>conftest.
$ac_ext <<_ACEOF
16487 /* end confdefs.h. */
16488 $ac_includes_default
16492 if ((fsblkcnt_t *) 0)
16494 if (sizeof (fsblkcnt_t))
16500 rm -f conftest.
$ac_objext
16501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16502 (eval $ac_compile) 2>conftest.er1
16504 grep -v '^ *+' conftest.er1
>conftest.err
16506 cat conftest.err
>&5
16507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16508 (exit $ac_status); } &&
16509 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16511 (eval $ac_try) 2>&5
16513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16514 (exit $ac_status); }; } &&
16515 { ac_try
='test -s conftest.$ac_objext'
16516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16517 (eval $ac_try) 2>&5
16519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16520 (exit $ac_status); }; }; then
16521 ac_cv_type_fsblkcnt_t
=yes
16523 echo "$as_me: failed program was:" >&5
16524 sed 's/^/| /' conftest.
$ac_ext >&5
16526 ac_cv_type_fsblkcnt_t
=no
16528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16530 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
16531 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
16532 if test $ac_cv_type_fsblkcnt_t = yes; then
16534 cat >>confdefs.h
<<_ACEOF
16535 #define HAVE_FSBLKCNT_T 1
16540 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
16541 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
16542 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
16543 echo $ECHO_N "(cached) $ECHO_C" >&6
16545 cat >conftest.
$ac_ext <<_ACEOF
16548 cat confdefs.h
>>conftest.
$ac_ext
16549 cat >>conftest.
$ac_ext <<_ACEOF
16550 /* end confdefs.h. */
16551 $ac_includes_default
16555 if ((fsfilcnt_t *) 0)
16557 if (sizeof (fsfilcnt_t))
16563 rm -f conftest.
$ac_objext
16564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16565 (eval $ac_compile) 2>conftest.er1
16567 grep -v '^ *+' conftest.er1
>conftest.err
16569 cat conftest.err
>&5
16570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16571 (exit $ac_status); } &&
16572 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16574 (eval $ac_try) 2>&5
16576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16577 (exit $ac_status); }; } &&
16578 { ac_try
='test -s conftest.$ac_objext'
16579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16580 (eval $ac_try) 2>&5
16582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16583 (exit $ac_status); }; }; then
16584 ac_cv_type_fsfilcnt_t
=yes
16586 echo "$as_me: failed program was:" >&5
16587 sed 's/^/| /' conftest.
$ac_ext >&5
16589 ac_cv_type_fsfilcnt_t
=no
16591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16593 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
16594 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
16595 if test $ac_cv_type_fsfilcnt_t = yes; then
16597 cat >>confdefs.h
<<_ACEOF
16598 #define HAVE_FSFILCNT_T 1
16604 echo "$as_me:$LINENO: checking for sigset_t" >&5
16605 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6
16606 if test "${ac_cv_type_sigset_t+set}" = set; then
16607 echo $ECHO_N "(cached) $ECHO_C" >&6
16609 cat >conftest.
$ac_ext <<_ACEOF
16612 cat confdefs.h
>>conftest.
$ac_ext
16613 cat >>conftest.
$ac_ext <<_ACEOF
16614 /* end confdefs.h. */
16615 #include <signal.h>
16620 if ((sigset_t *) 0)
16622 if (sizeof (sigset_t))
16628 rm -f conftest.
$ac_objext
16629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16630 (eval $ac_compile) 2>conftest.er1
16632 grep -v '^ *+' conftest.er1
>conftest.err
16634 cat conftest.err
>&5
16635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16636 (exit $ac_status); } &&
16637 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16639 (eval $ac_try) 2>&5
16641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642 (exit $ac_status); }; } &&
16643 { ac_try
='test -s conftest.$ac_objext'
16644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16645 (eval $ac_try) 2>&5
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); }; }; then
16649 ac_cv_type_sigset_t
=yes
16651 echo "$as_me: failed program was:" >&5
16652 sed 's/^/| /' conftest.
$ac_ext >&5
16654 ac_cv_type_sigset_t
=no
16656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16658 echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
16659 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6
16660 if test $ac_cv_type_sigset_t = yes; then
16662 cat >>confdefs.h
<<_ACEOF
16663 #define HAVE_SIGSET_T 1
16669 echo "$as_me:$LINENO: checking for request_sense" >&5
16670 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6
16671 if test "${ac_cv_type_request_sense+set}" = set; then
16672 echo $ECHO_N "(cached) $ECHO_C" >&6
16674 cat >conftest.
$ac_ext <<_ACEOF
16677 cat confdefs.h
>>conftest.
$ac_ext
16678 cat >>conftest.
$ac_ext <<_ACEOF
16679 /* end confdefs.h. */
16680 #include <linux/cdrom.h>
16685 if ((request_sense *) 0)
16687 if (sizeof (request_sense))
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_request_sense
=yes
16716 echo "$as_me: failed program was:" >&5
16717 sed 's/^/| /' conftest.
$ac_ext >&5
16719 ac_cv_type_request_sense
=no
16721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16723 echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
16724 echo "${ECHO_T}$ac_cv_type_request_sense" >&6
16725 if test $ac_cv_type_request_sense = yes; then
16727 cat >>confdefs.h
<<_ACEOF
16728 #define HAVE_REQUEST_SENSE 1
16735 echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
16736 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6
16737 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
16738 echo $ECHO_N "(cached) $ECHO_C" >&6
16740 cat >conftest.
$ac_ext <<_ACEOF
16743 cat confdefs.h
>>conftest.
$ac_ext
16744 cat >>conftest.
$ac_ext <<_ACEOF
16745 /* end confdefs.h. */
16746 #ifdef HAVE_LINUX_INPUT_H
16747 #include <linux/input.h>
16753 static struct ff_effect ac_aggr;
16754 if (ac_aggr.direction)
16760 rm -f conftest.
$ac_objext
16761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16762 (eval $ac_compile) 2>conftest.er1
16764 grep -v '^ *+' conftest.er1
>conftest.err
16766 cat conftest.err
>&5
16767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16768 (exit $ac_status); } &&
16769 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16771 (eval $ac_try) 2>&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); }; } &&
16775 { ac_try
='test -s conftest.$ac_objext'
16776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16777 (eval $ac_try) 2>&5
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); }; }; then
16781 ac_cv_member_struct_ff_effect_direction
=yes
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.
$ac_ext >&5
16786 cat >conftest.
$ac_ext <<_ACEOF
16789 cat confdefs.h
>>conftest.
$ac_ext
16790 cat >>conftest.
$ac_ext <<_ACEOF
16791 /* end confdefs.h. */
16792 #ifdef HAVE_LINUX_INPUT_H
16793 #include <linux/input.h>
16799 static struct ff_effect ac_aggr;
16800 if (sizeof ac_aggr.direction)
16806 rm -f conftest.
$ac_objext
16807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16808 (eval $ac_compile) 2>conftest.er1
16810 grep -v '^ *+' conftest.er1
>conftest.err
16812 cat conftest.err
>&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); } &&
16815 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16817 (eval $ac_try) 2>&5
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); }; } &&
16821 { ac_try
='test -s conftest.$ac_objext'
16822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16823 (eval $ac_try) 2>&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); }; }; then
16827 ac_cv_member_struct_ff_effect_direction
=yes
16829 echo "$as_me: failed program was:" >&5
16830 sed 's/^/| /' conftest.
$ac_ext >&5
16832 ac_cv_member_struct_ff_effect_direction
=no
16834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16838 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
16839 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6
16840 if test $ac_cv_member_struct_ff_effect_direction = yes; then
16842 cat >>confdefs.h
<<_ACEOF
16843 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16850 echo "$as_me:$LINENO: checking for sigaddset" >&5
16851 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6
16852 if test "${wine_cv_have_sigaddset+set}" = set; then
16853 echo $ECHO_N "(cached) $ECHO_C" >&6
16855 cat >conftest.
$ac_ext <<_ACEOF
16858 cat confdefs.h
>>conftest.
$ac_ext
16859 cat >>conftest.
$ac_ext <<_ACEOF
16860 /* end confdefs.h. */
16861 #include <signal.h>
16865 sigset_t set; sigaddset(&set,SIGTERM);
16870 rm -f conftest.
$ac_objext conftest
$ac_exeext
16871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16872 (eval $ac_link) 2>conftest.er1
16874 grep -v '^ *+' conftest.er1
>conftest.err
16876 cat conftest.err
>&5
16877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16878 (exit $ac_status); } &&
16879 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16881 (eval $ac_try) 2>&5
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); }; } &&
16885 { ac_try
='test -s conftest$ac_exeext'
16886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16887 (eval $ac_try) 2>&5
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); }; }; then
16891 wine_cv_have_sigaddset
=yes
16893 echo "$as_me: failed program was:" >&5
16894 sed 's/^/| /' conftest.
$ac_ext >&5
16896 wine_cv_have_sigaddset
=no
16898 rm -f conftest.err conftest.
$ac_objext \
16899 conftest
$ac_exeext conftest.
$ac_ext
16901 echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
16902 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6
16903 if test "$wine_cv_have_sigaddset" = "yes"
16906 cat >>confdefs.h
<<\_ACEOF
16907 #define HAVE_SIGADDSET 1
16913 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16914 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
16915 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
16916 echo $ECHO_N "(cached) $ECHO_C" >&6
16918 cat >conftest.
$ac_ext <<_ACEOF
16921 cat confdefs.h
>>conftest.
$ac_ext
16922 cat >>conftest.
$ac_ext <<_ACEOF
16923 /* end confdefs.h. */
16933 struct hostent *result;
16940 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16941 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16947 rm -f conftest.
$ac_objext conftest
$ac_exeext
16948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16949 (eval $ac_link) 2>conftest.er1
16951 grep -v '^ *+' conftest.er1
>conftest.err
16953 cat conftest.err
>&5
16954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16955 (exit $ac_status); } &&
16956 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16958 (eval $ac_try) 2>&5
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); }; } &&
16962 { ac_try
='test -s conftest$ac_exeext'
16963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16964 (eval $ac_try) 2>&5
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); }; }; then
16968 wine_cv_linux_gethostbyname_r_6
=yes
16970 echo "$as_me: failed program was:" >&5
16971 sed 's/^/| /' conftest.
$ac_ext >&5
16973 wine_cv_linux_gethostbyname_r_6
=no
16976 rm -f conftest.err conftest.
$ac_objext \
16977 conftest
$ac_exeext conftest.
$ac_ext
16980 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
16981 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
16982 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16985 cat >>confdefs.h
<<\_ACEOF
16986 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
16991 if test "$ac_cv_header_linux_joystick_h" = "yes"
16993 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16994 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
16995 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
16996 echo $ECHO_N "(cached) $ECHO_C" >&6
16998 cat >conftest.
$ac_ext <<_ACEOF
17001 cat confdefs.h
>>conftest.
$ac_ext
17002 cat >>conftest.
$ac_ext <<_ACEOF
17003 /* end confdefs.h. */
17005 #include <sys/ioctl.h>
17006 #include <linux/joystick.h>
17008 struct js_event blub;
17009 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17010 #error "no 2.2 header"
17021 rm -f conftest.
$ac_objext
17022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17023 (eval $ac_compile) 2>conftest.er1
17025 grep -v '^ *+' conftest.er1
>conftest.err
17027 cat conftest.err
>&5
17028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17029 (exit $ac_status); } &&
17030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17032 (eval $ac_try) 2>&5
17034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17035 (exit $ac_status); }; } &&
17036 { ac_try
='test -s conftest.$ac_objext'
17037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17038 (eval $ac_try) 2>&5
17040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041 (exit $ac_status); }; }; then
17042 wine_cv_linux_joystick_22_api
=yes
17044 echo "$as_me: failed program was:" >&5
17045 sed 's/^/| /' conftest.
$ac_ext >&5
17047 wine_cv_linux_joystick_22_api
=no
17049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17052 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17053 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
17054 if test "$wine_cv_linux_joystick_22_api" = "yes"
17057 cat >>confdefs.h
<<\_ACEOF
17058 #define HAVE_LINUX_22_JOYSTICK_API 1
17065 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17066 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
17067 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17068 echo $ECHO_N "(cached) $ECHO_C" >&6
17070 cat >conftest.
$ac_ext <<_ACEOF
17073 cat confdefs.h
>>conftest.
$ac_ext
17074 cat >>conftest.
$ac_ext <<_ACEOF
17075 /* end confdefs.h. */
17076 #include <sys/types.h>
17077 #ifdef HAVE_SYS_PARAM_H
17078 # include <sys/param.h>
17080 #ifdef HAVE_SYS_MOUNT_H
17081 # include <sys/mount.h>
17083 #ifdef HAVE_SYS_VFS_H
17084 # include <sys/vfs.h>
17086 #ifdef HAVE_SYS_STATFS_H
17087 # include <sys/statfs.h>
17093 static struct statfs ac_aggr;
17094 if (ac_aggr.f_bfree)
17100 rm -f conftest.
$ac_objext
17101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17102 (eval $ac_compile) 2>conftest.er1
17104 grep -v '^ *+' conftest.er1
>conftest.err
17106 cat conftest.err
>&5
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); } &&
17109 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17111 (eval $ac_try) 2>&5
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); }; } &&
17115 { ac_try
='test -s conftest.$ac_objext'
17116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17117 (eval $ac_try) 2>&5
17119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17120 (exit $ac_status); }; }; then
17121 ac_cv_member_struct_statfs_f_bfree
=yes
17123 echo "$as_me: failed program was:" >&5
17124 sed 's/^/| /' conftest.
$ac_ext >&5
17126 cat >conftest.
$ac_ext <<_ACEOF
17129 cat confdefs.h
>>conftest.
$ac_ext
17130 cat >>conftest.
$ac_ext <<_ACEOF
17131 /* end confdefs.h. */
17132 #include <sys/types.h>
17133 #ifdef HAVE_SYS_PARAM_H
17134 # include <sys/param.h>
17136 #ifdef HAVE_SYS_MOUNT_H
17137 # include <sys/mount.h>
17139 #ifdef HAVE_SYS_VFS_H
17140 # include <sys/vfs.h>
17142 #ifdef HAVE_SYS_STATFS_H
17143 # include <sys/statfs.h>
17149 static struct statfs ac_aggr;
17150 if (sizeof ac_aggr.f_bfree)
17156 rm -f conftest.
$ac_objext
17157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17158 (eval $ac_compile) 2>conftest.er1
17160 grep -v '^ *+' conftest.er1
>conftest.err
17162 cat conftest.err
>&5
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); } &&
17165 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17167 (eval $ac_try) 2>&5
17169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17170 (exit $ac_status); }; } &&
17171 { ac_try
='test -s conftest.$ac_objext'
17172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17173 (eval $ac_try) 2>&5
17175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17176 (exit $ac_status); }; }; then
17177 ac_cv_member_struct_statfs_f_bfree
=yes
17179 echo "$as_me: failed program was:" >&5
17180 sed 's/^/| /' conftest.
$ac_ext >&5
17182 ac_cv_member_struct_statfs_f_bfree
=no
17184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17188 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17189 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
17190 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17192 cat >>confdefs.h
<<_ACEOF
17193 #define HAVE_STRUCT_STATFS_F_BFREE 1
17198 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17199 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
17200 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17201 echo $ECHO_N "(cached) $ECHO_C" >&6
17203 cat >conftest.
$ac_ext <<_ACEOF
17206 cat confdefs.h
>>conftest.
$ac_ext
17207 cat >>conftest.
$ac_ext <<_ACEOF
17208 /* end confdefs.h. */
17209 #include <sys/types.h>
17210 #ifdef HAVE_SYS_PARAM_H
17211 # include <sys/param.h>
17213 #ifdef HAVE_SYS_MOUNT_H
17214 # include <sys/mount.h>
17216 #ifdef HAVE_SYS_VFS_H
17217 # include <sys/vfs.h>
17219 #ifdef HAVE_SYS_STATFS_H
17220 # include <sys/statfs.h>
17226 static struct statfs ac_aggr;
17227 if (ac_aggr.f_bavail)
17233 rm -f conftest.
$ac_objext
17234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17235 (eval $ac_compile) 2>conftest.er1
17237 grep -v '^ *+' conftest.er1
>conftest.err
17239 cat conftest.err
>&5
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); } &&
17242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17244 (eval $ac_try) 2>&5
17246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17247 (exit $ac_status); }; } &&
17248 { ac_try
='test -s conftest.$ac_objext'
17249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17250 (eval $ac_try) 2>&5
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); }; }; then
17254 ac_cv_member_struct_statfs_f_bavail
=yes
17256 echo "$as_me: failed program was:" >&5
17257 sed 's/^/| /' conftest.
$ac_ext >&5
17259 cat >conftest.
$ac_ext <<_ACEOF
17262 cat confdefs.h
>>conftest.
$ac_ext
17263 cat >>conftest.
$ac_ext <<_ACEOF
17264 /* end confdefs.h. */
17265 #include <sys/types.h>
17266 #ifdef HAVE_SYS_PARAM_H
17267 # include <sys/param.h>
17269 #ifdef HAVE_SYS_MOUNT_H
17270 # include <sys/mount.h>
17272 #ifdef HAVE_SYS_VFS_H
17273 # include <sys/vfs.h>
17275 #ifdef HAVE_SYS_STATFS_H
17276 # include <sys/statfs.h>
17282 static struct statfs ac_aggr;
17283 if (sizeof ac_aggr.f_bavail)
17289 rm -f conftest.
$ac_objext
17290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17291 (eval $ac_compile) 2>conftest.er1
17293 grep -v '^ *+' conftest.er1
>conftest.err
17295 cat conftest.err
>&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); } &&
17298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17300 (eval $ac_try) 2>&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); }; } &&
17304 { ac_try
='test -s conftest.$ac_objext'
17305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17306 (eval $ac_try) 2>&5
17308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17309 (exit $ac_status); }; }; then
17310 ac_cv_member_struct_statfs_f_bavail
=yes
17312 echo "$as_me: failed program was:" >&5
17313 sed 's/^/| /' conftest.
$ac_ext >&5
17315 ac_cv_member_struct_statfs_f_bavail
=no
17317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17321 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17322 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
17323 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17325 cat >>confdefs.h
<<_ACEOF
17326 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17331 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17332 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
17333 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17334 echo $ECHO_N "(cached) $ECHO_C" >&6
17336 cat >conftest.
$ac_ext <<_ACEOF
17339 cat confdefs.h
>>conftest.
$ac_ext
17340 cat >>conftest.
$ac_ext <<_ACEOF
17341 /* end confdefs.h. */
17342 #include <sys/types.h>
17343 #ifdef HAVE_SYS_PARAM_H
17344 # include <sys/param.h>
17346 #ifdef HAVE_SYS_MOUNT_H
17347 # include <sys/mount.h>
17349 #ifdef HAVE_SYS_VFS_H
17350 # include <sys/vfs.h>
17352 #ifdef HAVE_SYS_STATFS_H
17353 # include <sys/statfs.h>
17359 static struct statfs ac_aggr;
17360 if (ac_aggr.f_frsize)
17366 rm -f conftest.
$ac_objext
17367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17368 (eval $ac_compile) 2>conftest.er1
17370 grep -v '^ *+' conftest.er1
>conftest.err
17372 cat conftest.err
>&5
17373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17374 (exit $ac_status); } &&
17375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17377 (eval $ac_try) 2>&5
17379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17380 (exit $ac_status); }; } &&
17381 { ac_try
='test -s conftest.$ac_objext'
17382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17383 (eval $ac_try) 2>&5
17385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17386 (exit $ac_status); }; }; then
17387 ac_cv_member_struct_statfs_f_frsize
=yes
17389 echo "$as_me: failed program was:" >&5
17390 sed 's/^/| /' conftest.
$ac_ext >&5
17392 cat >conftest.
$ac_ext <<_ACEOF
17395 cat confdefs.h
>>conftest.
$ac_ext
17396 cat >>conftest.
$ac_ext <<_ACEOF
17397 /* end confdefs.h. */
17398 #include <sys/types.h>
17399 #ifdef HAVE_SYS_PARAM_H
17400 # include <sys/param.h>
17402 #ifdef HAVE_SYS_MOUNT_H
17403 # include <sys/mount.h>
17405 #ifdef HAVE_SYS_VFS_H
17406 # include <sys/vfs.h>
17408 #ifdef HAVE_SYS_STATFS_H
17409 # include <sys/statfs.h>
17415 static struct statfs ac_aggr;
17416 if (sizeof ac_aggr.f_frsize)
17422 rm -f conftest.
$ac_objext
17423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17424 (eval $ac_compile) 2>conftest.er1
17426 grep -v '^ *+' conftest.er1
>conftest.err
17428 cat conftest.err
>&5
17429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17430 (exit $ac_status); } &&
17431 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17433 (eval $ac_try) 2>&5
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); }; } &&
17437 { ac_try
='test -s conftest.$ac_objext'
17438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17439 (eval $ac_try) 2>&5
17441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17442 (exit $ac_status); }; }; then
17443 ac_cv_member_struct_statfs_f_frsize
=yes
17445 echo "$as_me: failed program was:" >&5
17446 sed 's/^/| /' conftest.
$ac_ext >&5
17448 ac_cv_member_struct_statfs_f_frsize
=no
17450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17454 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17455 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
17456 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17458 cat >>confdefs.h
<<_ACEOF
17459 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17464 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17465 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
17466 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17467 echo $ECHO_N "(cached) $ECHO_C" >&6
17469 cat >conftest.
$ac_ext <<_ACEOF
17472 cat confdefs.h
>>conftest.
$ac_ext
17473 cat >>conftest.
$ac_ext <<_ACEOF
17474 /* end confdefs.h. */
17475 #include <sys/types.h>
17476 #ifdef HAVE_SYS_PARAM_H
17477 # include <sys/param.h>
17479 #ifdef HAVE_SYS_MOUNT_H
17480 # include <sys/mount.h>
17482 #ifdef HAVE_SYS_VFS_H
17483 # include <sys/vfs.h>
17485 #ifdef HAVE_SYS_STATFS_H
17486 # include <sys/statfs.h>
17492 static struct statfs ac_aggr;
17493 if (ac_aggr.f_ffree)
17499 rm -f conftest.
$ac_objext
17500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17501 (eval $ac_compile) 2>conftest.er1
17503 grep -v '^ *+' conftest.er1
>conftest.err
17505 cat conftest.err
>&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); } &&
17508 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17510 (eval $ac_try) 2>&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); }; } &&
17514 { ac_try
='test -s conftest.$ac_objext'
17515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17516 (eval $ac_try) 2>&5
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); }; }; then
17520 ac_cv_member_struct_statfs_f_ffree
=yes
17522 echo "$as_me: failed program was:" >&5
17523 sed 's/^/| /' conftest.
$ac_ext >&5
17525 cat >conftest.
$ac_ext <<_ACEOF
17528 cat confdefs.h
>>conftest.
$ac_ext
17529 cat >>conftest.
$ac_ext <<_ACEOF
17530 /* end confdefs.h. */
17531 #include <sys/types.h>
17532 #ifdef HAVE_SYS_PARAM_H
17533 # include <sys/param.h>
17535 #ifdef HAVE_SYS_MOUNT_H
17536 # include <sys/mount.h>
17538 #ifdef HAVE_SYS_VFS_H
17539 # include <sys/vfs.h>
17541 #ifdef HAVE_SYS_STATFS_H
17542 # include <sys/statfs.h>
17548 static struct statfs ac_aggr;
17549 if (sizeof ac_aggr.f_ffree)
17555 rm -f conftest.
$ac_objext
17556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17557 (eval $ac_compile) 2>conftest.er1
17559 grep -v '^ *+' conftest.er1
>conftest.err
17561 cat conftest.err
>&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); } &&
17564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17566 (eval $ac_try) 2>&5
17568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569 (exit $ac_status); }; } &&
17570 { ac_try
='test -s conftest.$ac_objext'
17571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17572 (eval $ac_try) 2>&5
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); }; }; then
17576 ac_cv_member_struct_statfs_f_ffree
=yes
17578 echo "$as_me: failed program was:" >&5
17579 sed 's/^/| /' conftest.
$ac_ext >&5
17581 ac_cv_member_struct_statfs_f_ffree
=no
17583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17587 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
17588 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
17589 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
17591 cat >>confdefs.h
<<_ACEOF
17592 #define HAVE_STRUCT_STATFS_F_FFREE 1
17597 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
17598 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
17599 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
17600 echo $ECHO_N "(cached) $ECHO_C" >&6
17602 cat >conftest.
$ac_ext <<_ACEOF
17605 cat confdefs.h
>>conftest.
$ac_ext
17606 cat >>conftest.
$ac_ext <<_ACEOF
17607 /* end confdefs.h. */
17608 #include <sys/types.h>
17609 #ifdef HAVE_SYS_PARAM_H
17610 # include <sys/param.h>
17612 #ifdef HAVE_SYS_MOUNT_H
17613 # include <sys/mount.h>
17615 #ifdef HAVE_SYS_VFS_H
17616 # include <sys/vfs.h>
17618 #ifdef HAVE_SYS_STATFS_H
17619 # include <sys/statfs.h>
17625 static struct statfs ac_aggr;
17626 if (ac_aggr.f_favail)
17632 rm -f conftest.
$ac_objext
17633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17634 (eval $ac_compile) 2>conftest.er1
17636 grep -v '^ *+' conftest.er1
>conftest.err
17638 cat conftest.err
>&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); } &&
17641 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17643 (eval $ac_try) 2>&5
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); }; } &&
17647 { ac_try
='test -s conftest.$ac_objext'
17648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17649 (eval $ac_try) 2>&5
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); }; }; then
17653 ac_cv_member_struct_statfs_f_favail
=yes
17655 echo "$as_me: failed program was:" >&5
17656 sed 's/^/| /' conftest.
$ac_ext >&5
17658 cat >conftest.
$ac_ext <<_ACEOF
17661 cat confdefs.h
>>conftest.
$ac_ext
17662 cat >>conftest.
$ac_ext <<_ACEOF
17663 /* end confdefs.h. */
17664 #include <sys/types.h>
17665 #ifdef HAVE_SYS_PARAM_H
17666 # include <sys/param.h>
17668 #ifdef HAVE_SYS_MOUNT_H
17669 # include <sys/mount.h>
17671 #ifdef HAVE_SYS_VFS_H
17672 # include <sys/vfs.h>
17674 #ifdef HAVE_SYS_STATFS_H
17675 # include <sys/statfs.h>
17681 static struct statfs ac_aggr;
17682 if (sizeof ac_aggr.f_favail)
17688 rm -f conftest.
$ac_objext
17689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17690 (eval $ac_compile) 2>conftest.er1
17692 grep -v '^ *+' conftest.er1
>conftest.err
17694 cat conftest.err
>&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); } &&
17697 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17699 (eval $ac_try) 2>&5
17701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17702 (exit $ac_status); }; } &&
17703 { ac_try
='test -s conftest.$ac_objext'
17704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17705 (eval $ac_try) 2>&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); }; }; then
17709 ac_cv_member_struct_statfs_f_favail
=yes
17711 echo "$as_me: failed program was:" >&5
17712 sed 's/^/| /' conftest.
$ac_ext >&5
17714 ac_cv_member_struct_statfs_f_favail
=no
17716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17720 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
17721 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
17722 if test $ac_cv_member_struct_statfs_f_favail = yes; then
17724 cat >>confdefs.h
<<_ACEOF
17725 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17730 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
17731 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
17732 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
17733 echo $ECHO_N "(cached) $ECHO_C" >&6
17735 cat >conftest.
$ac_ext <<_ACEOF
17738 cat confdefs.h
>>conftest.
$ac_ext
17739 cat >>conftest.
$ac_ext <<_ACEOF
17740 /* end confdefs.h. */
17741 #include <sys/types.h>
17742 #ifdef HAVE_SYS_PARAM_H
17743 # include <sys/param.h>
17745 #ifdef HAVE_SYS_MOUNT_H
17746 # include <sys/mount.h>
17748 #ifdef HAVE_SYS_VFS_H
17749 # include <sys/vfs.h>
17751 #ifdef HAVE_SYS_STATFS_H
17752 # include <sys/statfs.h>
17758 static struct statfs ac_aggr;
17759 if (ac_aggr.f_namelen)
17765 rm -f conftest.
$ac_objext
17766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17767 (eval $ac_compile) 2>conftest.er1
17769 grep -v '^ *+' conftest.er1
>conftest.err
17771 cat conftest.err
>&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); } &&
17774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776 (eval $ac_try) 2>&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); }; } &&
17780 { ac_try
='test -s conftest.$ac_objext'
17781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17782 (eval $ac_try) 2>&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); }; }; then
17786 ac_cv_member_struct_statfs_f_namelen
=yes
17788 echo "$as_me: failed program was:" >&5
17789 sed 's/^/| /' conftest.
$ac_ext >&5
17791 cat >conftest.
$ac_ext <<_ACEOF
17794 cat confdefs.h
>>conftest.
$ac_ext
17795 cat >>conftest.
$ac_ext <<_ACEOF
17796 /* end confdefs.h. */
17797 #include <sys/types.h>
17798 #ifdef HAVE_SYS_PARAM_H
17799 # include <sys/param.h>
17801 #ifdef HAVE_SYS_MOUNT_H
17802 # include <sys/mount.h>
17804 #ifdef HAVE_SYS_VFS_H
17805 # include <sys/vfs.h>
17807 #ifdef HAVE_SYS_STATFS_H
17808 # include <sys/statfs.h>
17814 static struct statfs ac_aggr;
17815 if (sizeof ac_aggr.f_namelen)
17821 rm -f conftest.
$ac_objext
17822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17823 (eval $ac_compile) 2>conftest.er1
17825 grep -v '^ *+' conftest.er1
>conftest.err
17827 cat conftest.err
>&5
17828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17829 (exit $ac_status); } &&
17830 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17832 (eval $ac_try) 2>&5
17834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17835 (exit $ac_status); }; } &&
17836 { ac_try
='test -s conftest.$ac_objext'
17837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17838 (eval $ac_try) 2>&5
17840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841 (exit $ac_status); }; }; then
17842 ac_cv_member_struct_statfs_f_namelen
=yes
17844 echo "$as_me: failed program was:" >&5
17845 sed 's/^/| /' conftest.
$ac_ext >&5
17847 ac_cv_member_struct_statfs_f_namelen
=no
17849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17853 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
17854 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
17855 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
17857 cat >>confdefs.h
<<_ACEOF
17858 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17865 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
17866 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
17867 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
17868 echo $ECHO_N "(cached) $ECHO_C" >&6
17870 cat >conftest.
$ac_ext <<_ACEOF
17873 cat confdefs.h
>>conftest.
$ac_ext
17874 cat >>conftest.
$ac_ext <<_ACEOF
17875 /* end confdefs.h. */
17876 #ifdef HAVE_SYS_STATVFS_H
17877 #include <sys/statvfs.h>
17883 static struct statvfs ac_aggr;
17884 if (ac_aggr.f_blocks)
17890 rm -f conftest.
$ac_objext
17891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17892 (eval $ac_compile) 2>conftest.er1
17894 grep -v '^ *+' conftest.er1
>conftest.err
17896 cat conftest.err
>&5
17897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898 (exit $ac_status); } &&
17899 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17901 (eval $ac_try) 2>&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); }; } &&
17905 { ac_try
='test -s conftest.$ac_objext'
17906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17907 (eval $ac_try) 2>&5
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); }; }; then
17911 ac_cv_member_struct_statvfs_f_blocks
=yes
17913 echo "$as_me: failed program was:" >&5
17914 sed 's/^/| /' conftest.
$ac_ext >&5
17916 cat >conftest.
$ac_ext <<_ACEOF
17919 cat confdefs.h
>>conftest.
$ac_ext
17920 cat >>conftest.
$ac_ext <<_ACEOF
17921 /* end confdefs.h. */
17922 #ifdef HAVE_SYS_STATVFS_H
17923 #include <sys/statvfs.h>
17929 static struct statvfs ac_aggr;
17930 if (sizeof ac_aggr.f_blocks)
17936 rm -f conftest.
$ac_objext
17937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17938 (eval $ac_compile) 2>conftest.er1
17940 grep -v '^ *+' conftest.er1
>conftest.err
17942 cat conftest.err
>&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); } &&
17945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17947 (eval $ac_try) 2>&5
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); }; } &&
17951 { ac_try
='test -s conftest.$ac_objext'
17952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17953 (eval $ac_try) 2>&5
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); }; }; then
17957 ac_cv_member_struct_statvfs_f_blocks
=yes
17959 echo "$as_me: failed program was:" >&5
17960 sed 's/^/| /' conftest.
$ac_ext >&5
17962 ac_cv_member_struct_statvfs_f_blocks
=no
17964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17968 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
17969 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
17970 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
17972 cat >>confdefs.h
<<_ACEOF
17973 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17980 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
17981 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
17982 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
17983 echo $ECHO_N "(cached) $ECHO_C" >&6
17985 cat >conftest.
$ac_ext <<_ACEOF
17988 cat confdefs.h
>>conftest.
$ac_ext
17989 cat >>conftest.
$ac_ext <<_ACEOF
17990 /* end confdefs.h. */
17991 #include <sys/types.h>
17992 #ifdef HAVE_SYS_SOCKET_H
17993 # include <sys/socket.h>
17995 #ifdef HAVE_SYS_UN_H
17996 # include <sys/un.h>
18002 static struct msghdr ac_aggr;
18003 if (ac_aggr.msg_accrights)
18009 rm -f conftest.
$ac_objext
18010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18011 (eval $ac_compile) 2>conftest.er1
18013 grep -v '^ *+' conftest.er1
>conftest.err
18015 cat conftest.err
>&5
18016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017 (exit $ac_status); } &&
18018 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18020 (eval $ac_try) 2>&5
18022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023 (exit $ac_status); }; } &&
18024 { ac_try
='test -s conftest.$ac_objext'
18025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18026 (eval $ac_try) 2>&5
18028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18029 (exit $ac_status); }; }; then
18030 ac_cv_member_struct_msghdr_msg_accrights
=yes
18032 echo "$as_me: failed program was:" >&5
18033 sed 's/^/| /' conftest.
$ac_ext >&5
18035 cat >conftest.
$ac_ext <<_ACEOF
18038 cat confdefs.h
>>conftest.
$ac_ext
18039 cat >>conftest.
$ac_ext <<_ACEOF
18040 /* end confdefs.h. */
18041 #include <sys/types.h>
18042 #ifdef HAVE_SYS_SOCKET_H
18043 # include <sys/socket.h>
18045 #ifdef HAVE_SYS_UN_H
18046 # include <sys/un.h>
18052 static struct msghdr ac_aggr;
18053 if (sizeof ac_aggr.msg_accrights)
18059 rm -f conftest.
$ac_objext
18060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18061 (eval $ac_compile) 2>conftest.er1
18063 grep -v '^ *+' conftest.er1
>conftest.err
18065 cat conftest.err
>&5
18066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18067 (exit $ac_status); } &&
18068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18070 (eval $ac_try) 2>&5
18072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073 (exit $ac_status); }; } &&
18074 { ac_try
='test -s conftest.$ac_objext'
18075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18076 (eval $ac_try) 2>&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); }; }; then
18080 ac_cv_member_struct_msghdr_msg_accrights
=yes
18082 echo "$as_me: failed program was:" >&5
18083 sed 's/^/| /' conftest.
$ac_ext >&5
18085 ac_cv_member_struct_msghdr_msg_accrights
=no
18087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18091 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18092 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
18093 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18095 cat >>confdefs.h
<<_ACEOF
18096 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18101 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18102 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
18103 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18104 echo $ECHO_N "(cached) $ECHO_C" >&6
18106 cat >conftest.
$ac_ext <<_ACEOF
18109 cat confdefs.h
>>conftest.
$ac_ext
18110 cat >>conftest.
$ac_ext <<_ACEOF
18111 /* end confdefs.h. */
18112 #include <sys/types.h>
18113 #ifdef HAVE_SYS_SOCKET_H
18114 # include <sys/socket.h>
18116 #ifdef HAVE_SYS_UN_H
18117 # include <sys/un.h>
18123 static struct sockaddr ac_aggr;
18124 if (ac_aggr.sa_len)
18130 rm -f conftest.
$ac_objext
18131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18132 (eval $ac_compile) 2>conftest.er1
18134 grep -v '^ *+' conftest.er1
>conftest.err
18136 cat conftest.err
>&5
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); } &&
18139 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18141 (eval $ac_try) 2>&5
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); }; } &&
18145 { ac_try
='test -s conftest.$ac_objext'
18146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18147 (eval $ac_try) 2>&5
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); }; }; then
18151 ac_cv_member_struct_sockaddr_sa_len
=yes
18153 echo "$as_me: failed program was:" >&5
18154 sed 's/^/| /' conftest.
$ac_ext >&5
18156 cat >conftest.
$ac_ext <<_ACEOF
18159 cat confdefs.h
>>conftest.
$ac_ext
18160 cat >>conftest.
$ac_ext <<_ACEOF
18161 /* end confdefs.h. */
18162 #include <sys/types.h>
18163 #ifdef HAVE_SYS_SOCKET_H
18164 # include <sys/socket.h>
18166 #ifdef HAVE_SYS_UN_H
18167 # include <sys/un.h>
18173 static struct sockaddr ac_aggr;
18174 if (sizeof ac_aggr.sa_len)
18180 rm -f conftest.
$ac_objext
18181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18182 (eval $ac_compile) 2>conftest.er1
18184 grep -v '^ *+' conftest.er1
>conftest.err
18186 cat conftest.err
>&5
18187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188 (exit $ac_status); } &&
18189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18191 (eval $ac_try) 2>&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); }; } &&
18195 { ac_try
='test -s conftest.$ac_objext'
18196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18197 (eval $ac_try) 2>&5
18199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200 (exit $ac_status); }; }; then
18201 ac_cv_member_struct_sockaddr_sa_len
=yes
18203 echo "$as_me: failed program was:" >&5
18204 sed 's/^/| /' conftest.
$ac_ext >&5
18206 ac_cv_member_struct_sockaddr_sa_len
=no
18208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18212 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18213 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
18214 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18216 cat >>confdefs.h
<<_ACEOF
18217 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18222 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18223 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
18224 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18225 echo $ECHO_N "(cached) $ECHO_C" >&6
18227 cat >conftest.
$ac_ext <<_ACEOF
18230 cat confdefs.h
>>conftest.
$ac_ext
18231 cat >>conftest.
$ac_ext <<_ACEOF
18232 /* end confdefs.h. */
18233 #include <sys/types.h>
18234 #ifdef HAVE_SYS_SOCKET_H
18235 # include <sys/socket.h>
18237 #ifdef HAVE_SYS_UN_H
18238 # include <sys/un.h>
18244 static struct sockaddr_un ac_aggr;
18245 if (ac_aggr.sun_len)
18251 rm -f conftest.
$ac_objext
18252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18253 (eval $ac_compile) 2>conftest.er1
18255 grep -v '^ *+' conftest.er1
>conftest.err
18257 cat conftest.err
>&5
18258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259 (exit $ac_status); } &&
18260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18262 (eval $ac_try) 2>&5
18264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265 (exit $ac_status); }; } &&
18266 { ac_try
='test -s conftest.$ac_objext'
18267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18268 (eval $ac_try) 2>&5
18270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271 (exit $ac_status); }; }; then
18272 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18274 echo "$as_me: failed program was:" >&5
18275 sed 's/^/| /' conftest.
$ac_ext >&5
18277 cat >conftest.
$ac_ext <<_ACEOF
18280 cat confdefs.h
>>conftest.
$ac_ext
18281 cat >>conftest.
$ac_ext <<_ACEOF
18282 /* end confdefs.h. */
18283 #include <sys/types.h>
18284 #ifdef HAVE_SYS_SOCKET_H
18285 # include <sys/socket.h>
18287 #ifdef HAVE_SYS_UN_H
18288 # include <sys/un.h>
18294 static struct sockaddr_un ac_aggr;
18295 if (sizeof ac_aggr.sun_len)
18301 rm -f conftest.
$ac_objext
18302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18303 (eval $ac_compile) 2>conftest.er1
18305 grep -v '^ *+' conftest.er1
>conftest.err
18307 cat conftest.err
>&5
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); } &&
18310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18312 (eval $ac_try) 2>&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); }; } &&
18316 { ac_try
='test -s conftest.$ac_objext'
18317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18318 (eval $ac_try) 2>&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); }; }; then
18322 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18324 echo "$as_me: failed program was:" >&5
18325 sed 's/^/| /' conftest.
$ac_ext >&5
18327 ac_cv_member_struct_sockaddr_un_sun_len
=no
18329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18333 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18334 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
18335 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18337 cat >>confdefs.h
<<_ACEOF
18338 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18345 echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18346 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6
18347 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18348 echo $ECHO_N "(cached) $ECHO_C" >&6
18350 cat >conftest.
$ac_ext <<_ACEOF
18353 cat confdefs.h
>>conftest.
$ac_ext
18354 cat >>conftest.
$ac_ext <<_ACEOF
18355 /* end confdefs.h. */
18356 #include <sys/types.h>
18357 #ifdef HAVE_SCSI_SG_H
18358 #include <scsi/sg.h>
18364 static scsireq_t ac_aggr;
18371 rm -f conftest.
$ac_objext
18372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18373 (eval $ac_compile) 2>conftest.er1
18375 grep -v '^ *+' conftest.er1
>conftest.err
18377 cat conftest.err
>&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); } &&
18380 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18382 (eval $ac_try) 2>&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); }; } &&
18386 { ac_try
='test -s conftest.$ac_objext'
18387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18388 (eval $ac_try) 2>&5
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); }; }; then
18392 ac_cv_member_scsireq_t_cmd
=yes
18394 echo "$as_me: failed program was:" >&5
18395 sed 's/^/| /' conftest.
$ac_ext >&5
18397 cat >conftest.
$ac_ext <<_ACEOF
18400 cat confdefs.h
>>conftest.
$ac_ext
18401 cat >>conftest.
$ac_ext <<_ACEOF
18402 /* end confdefs.h. */
18403 #include <sys/types.h>
18404 #ifdef HAVE_SCSI_SG_H
18405 #include <scsi/sg.h>
18411 static scsireq_t ac_aggr;
18412 if (sizeof ac_aggr.cmd)
18418 rm -f conftest.
$ac_objext
18419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18420 (eval $ac_compile) 2>conftest.er1
18422 grep -v '^ *+' conftest.er1
>conftest.err
18424 cat conftest.err
>&5
18425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18426 (exit $ac_status); } &&
18427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18429 (eval $ac_try) 2>&5
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); }; } &&
18433 { ac_try
='test -s conftest.$ac_objext'
18434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18435 (eval $ac_try) 2>&5
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); }; }; then
18439 ac_cv_member_scsireq_t_cmd
=yes
18441 echo "$as_me: failed program was:" >&5
18442 sed 's/^/| /' conftest.
$ac_ext >&5
18444 ac_cv_member_scsireq_t_cmd
=no
18446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18450 echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18451 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6
18452 if test $ac_cv_member_scsireq_t_cmd = yes; then
18454 cat >>confdefs.h
<<_ACEOF
18455 #define HAVE_SCSIREQ_T_CMD 1
18460 echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18461 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6
18462 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18463 echo $ECHO_N "(cached) $ECHO_C" >&6
18465 cat >conftest.
$ac_ext <<_ACEOF
18468 cat confdefs.h
>>conftest.
$ac_ext
18469 cat >>conftest.
$ac_ext <<_ACEOF
18470 /* end confdefs.h. */
18471 #include <sys/types.h>
18472 #ifdef HAVE_SCSI_SG_H
18473 #include <scsi/sg.h>
18479 static sg_io_hdr_t ac_aggr;
18480 if (ac_aggr.interface_id)
18486 rm -f conftest.
$ac_objext
18487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18488 (eval $ac_compile) 2>conftest.er1
18490 grep -v '^ *+' conftest.er1
>conftest.err
18492 cat conftest.err
>&5
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); } &&
18495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18497 (eval $ac_try) 2>&5
18499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18500 (exit $ac_status); }; } &&
18501 { ac_try
='test -s conftest.$ac_objext'
18502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18503 (eval $ac_try) 2>&5
18505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18506 (exit $ac_status); }; }; then
18507 ac_cv_member_sg_io_hdr_t_interface_id
=yes
18509 echo "$as_me: failed program was:" >&5
18510 sed 's/^/| /' conftest.
$ac_ext >&5
18512 cat >conftest.
$ac_ext <<_ACEOF
18515 cat confdefs.h
>>conftest.
$ac_ext
18516 cat >>conftest.
$ac_ext <<_ACEOF
18517 /* end confdefs.h. */
18518 #include <sys/types.h>
18519 #ifdef HAVE_SCSI_SG_H
18520 #include <scsi/sg.h>
18526 static sg_io_hdr_t ac_aggr;
18527 if (sizeof ac_aggr.interface_id)
18533 rm -f conftest.
$ac_objext
18534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18535 (eval $ac_compile) 2>conftest.er1
18537 grep -v '^ *+' conftest.er1
>conftest.err
18539 cat conftest.err
>&5
18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); } &&
18542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18544 (eval $ac_try) 2>&5
18546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18547 (exit $ac_status); }; } &&
18548 { ac_try
='test -s conftest.$ac_objext'
18549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18550 (eval $ac_try) 2>&5
18552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18553 (exit $ac_status); }; }; then
18554 ac_cv_member_sg_io_hdr_t_interface_id
=yes
18556 echo "$as_me: failed program was:" >&5
18557 sed 's/^/| /' conftest.
$ac_ext >&5
18559 ac_cv_member_sg_io_hdr_t_interface_id
=no
18561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18565 echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18566 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6
18567 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
18569 cat >>confdefs.h
<<_ACEOF
18570 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18577 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18578 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
18579 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18580 echo $ECHO_N "(cached) $ECHO_C" >&6
18582 cat >conftest.
$ac_ext <<_ACEOF
18585 cat confdefs.h
>>conftest.
$ac_ext
18586 cat >>conftest.
$ac_ext <<_ACEOF
18587 /* end confdefs.h. */
18588 #include <signal.h>
18593 static siginfo_t ac_aggr;
18600 rm -f conftest.
$ac_objext
18601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18602 (eval $ac_compile) 2>conftest.er1
18604 grep -v '^ *+' conftest.er1
>conftest.err
18606 cat conftest.err
>&5
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); } &&
18609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18611 (eval $ac_try) 2>&5
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); }; } &&
18615 { ac_try
='test -s conftest.$ac_objext'
18616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18617 (eval $ac_try) 2>&5
18619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18620 (exit $ac_status); }; }; then
18621 ac_cv_member_siginfo_t_si_fd
=yes
18623 echo "$as_me: failed program was:" >&5
18624 sed 's/^/| /' conftest.
$ac_ext >&5
18626 cat >conftest.
$ac_ext <<_ACEOF
18629 cat confdefs.h
>>conftest.
$ac_ext
18630 cat >>conftest.
$ac_ext <<_ACEOF
18631 /* end confdefs.h. */
18632 #include <signal.h>
18637 static siginfo_t ac_aggr;
18638 if (sizeof ac_aggr.si_fd)
18644 rm -f conftest.
$ac_objext
18645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18646 (eval $ac_compile) 2>conftest.er1
18648 grep -v '^ *+' conftest.er1
>conftest.err
18650 cat conftest.err
>&5
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); } &&
18653 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18655 (eval $ac_try) 2>&5
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); }; } &&
18659 { ac_try
='test -s conftest.$ac_objext'
18660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18661 (eval $ac_try) 2>&5
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); }; }; then
18665 ac_cv_member_siginfo_t_si_fd
=yes
18667 echo "$as_me: failed program was:" >&5
18668 sed 's/^/| /' conftest.
$ac_ext >&5
18670 ac_cv_member_siginfo_t_si_fd
=no
18672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18676 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
18677 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
18678 if test $ac_cv_member_siginfo_t_si_fd = yes; then
18680 cat >>confdefs.h
<<_ACEOF
18681 #define HAVE_SIGINFO_T_SI_FD 1
18688 echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
18689 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6
18690 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
18691 echo $ECHO_N "(cached) $ECHO_C" >&6
18693 cat >conftest.
$ac_ext <<_ACEOF
18696 cat confdefs.h
>>conftest.
$ac_ext
18697 cat >>conftest.
$ac_ext <<_ACEOF
18698 /* end confdefs.h. */
18699 #include <sys/types.h>
18700 #ifdef HAVE_SYS_MTIO_H
18701 #include <sys/mtio.h>
18707 static struct mtget ac_aggr;
18708 if (ac_aggr.mt_blksiz)
18714 rm -f conftest.
$ac_objext
18715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18716 (eval $ac_compile) 2>conftest.er1
18718 grep -v '^ *+' conftest.er1
>conftest.err
18720 cat conftest.err
>&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); } &&
18723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18725 (eval $ac_try) 2>&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); }; } &&
18729 { ac_try
='test -s conftest.$ac_objext'
18730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18731 (eval $ac_try) 2>&5
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); }; }; then
18735 ac_cv_member_struct_mtget_mt_blksiz
=yes
18737 echo "$as_me: failed program was:" >&5
18738 sed 's/^/| /' conftest.
$ac_ext >&5
18740 cat >conftest.
$ac_ext <<_ACEOF
18743 cat confdefs.h
>>conftest.
$ac_ext
18744 cat >>conftest.
$ac_ext <<_ACEOF
18745 /* end confdefs.h. */
18746 #include <sys/types.h>
18747 #ifdef HAVE_SYS_MTIO_H
18748 #include <sys/mtio.h>
18754 static struct mtget ac_aggr;
18755 if (sizeof ac_aggr.mt_blksiz)
18761 rm -f conftest.
$ac_objext
18762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18763 (eval $ac_compile) 2>conftest.er1
18765 grep -v '^ *+' conftest.er1
>conftest.err
18767 cat conftest.err
>&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); } &&
18770 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18772 (eval $ac_try) 2>&5
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); }; } &&
18776 { ac_try
='test -s conftest.$ac_objext'
18777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18778 (eval $ac_try) 2>&5
18780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18781 (exit $ac_status); }; }; then
18782 ac_cv_member_struct_mtget_mt_blksiz
=yes
18784 echo "$as_me: failed program was:" >&5
18785 sed 's/^/| /' conftest.
$ac_ext >&5
18787 ac_cv_member_struct_mtget_mt_blksiz
=no
18789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18793 echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
18794 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6
18795 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
18797 cat >>confdefs.h
<<_ACEOF
18798 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18803 echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
18804 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6
18805 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
18806 echo $ECHO_N "(cached) $ECHO_C" >&6
18808 cat >conftest.
$ac_ext <<_ACEOF
18811 cat confdefs.h
>>conftest.
$ac_ext
18812 cat >>conftest.
$ac_ext <<_ACEOF
18813 /* end confdefs.h. */
18814 #include <sys/types.h>
18815 #ifdef HAVE_SYS_MTIO_H
18816 #include <sys/mtio.h>
18822 static struct mtget ac_aggr;
18823 if (ac_aggr.mt_gstat)
18829 rm -f conftest.
$ac_objext
18830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18831 (eval $ac_compile) 2>conftest.er1
18833 grep -v '^ *+' conftest.er1
>conftest.err
18835 cat conftest.err
>&5
18836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18837 (exit $ac_status); } &&
18838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18840 (eval $ac_try) 2>&5
18842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18843 (exit $ac_status); }; } &&
18844 { ac_try
='test -s conftest.$ac_objext'
18845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18846 (eval $ac_try) 2>&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); }; }; then
18850 ac_cv_member_struct_mtget_mt_gstat
=yes
18852 echo "$as_me: failed program was:" >&5
18853 sed 's/^/| /' conftest.
$ac_ext >&5
18855 cat >conftest.
$ac_ext <<_ACEOF
18858 cat confdefs.h
>>conftest.
$ac_ext
18859 cat >>conftest.
$ac_ext <<_ACEOF
18860 /* end confdefs.h. */
18861 #include <sys/types.h>
18862 #ifdef HAVE_SYS_MTIO_H
18863 #include <sys/mtio.h>
18869 static struct mtget ac_aggr;
18870 if (sizeof ac_aggr.mt_gstat)
18876 rm -f conftest.
$ac_objext
18877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18878 (eval $ac_compile) 2>conftest.er1
18880 grep -v '^ *+' conftest.er1
>conftest.err
18882 cat conftest.err
>&5
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); } &&
18885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18887 (eval $ac_try) 2>&5
18889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18890 (exit $ac_status); }; } &&
18891 { ac_try
='test -s conftest.$ac_objext'
18892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18893 (eval $ac_try) 2>&5
18895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18896 (exit $ac_status); }; }; then
18897 ac_cv_member_struct_mtget_mt_gstat
=yes
18899 echo "$as_me: failed program was:" >&5
18900 sed 's/^/| /' conftest.
$ac_ext >&5
18902 ac_cv_member_struct_mtget_mt_gstat
=no
18904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18908 echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
18909 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6
18910 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
18912 cat >>confdefs.h
<<_ACEOF
18913 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18918 echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
18919 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6
18920 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
18921 echo $ECHO_N "(cached) $ECHO_C" >&6
18923 cat >conftest.
$ac_ext <<_ACEOF
18926 cat confdefs.h
>>conftest.
$ac_ext
18927 cat >>conftest.
$ac_ext <<_ACEOF
18928 /* end confdefs.h. */
18929 #include <sys/types.h>
18930 #ifdef HAVE_SYS_MTIO_H
18931 #include <sys/mtio.h>
18937 static struct mtget ac_aggr;
18938 if (ac_aggr.mt_blkno)
18944 rm -f conftest.
$ac_objext
18945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18946 (eval $ac_compile) 2>conftest.er1
18948 grep -v '^ *+' conftest.er1
>conftest.err
18950 cat conftest.err
>&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); } &&
18953 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18955 (eval $ac_try) 2>&5
18957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18958 (exit $ac_status); }; } &&
18959 { ac_try
='test -s conftest.$ac_objext'
18960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18961 (eval $ac_try) 2>&5
18963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18964 (exit $ac_status); }; }; then
18965 ac_cv_member_struct_mtget_mt_blkno
=yes
18967 echo "$as_me: failed program was:" >&5
18968 sed 's/^/| /' conftest.
$ac_ext >&5
18970 cat >conftest.
$ac_ext <<_ACEOF
18973 cat confdefs.h
>>conftest.
$ac_ext
18974 cat >>conftest.
$ac_ext <<_ACEOF
18975 /* end confdefs.h. */
18976 #include <sys/types.h>
18977 #ifdef HAVE_SYS_MTIO_H
18978 #include <sys/mtio.h>
18984 static struct mtget ac_aggr;
18985 if (sizeof ac_aggr.mt_blkno)
18991 rm -f conftest.
$ac_objext
18992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18993 (eval $ac_compile) 2>conftest.er1
18995 grep -v '^ *+' conftest.er1
>conftest.err
18997 cat conftest.err
>&5
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); } &&
19000 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19002 (eval $ac_try) 2>&5
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); }; } &&
19006 { ac_try
='test -s conftest.$ac_objext'
19007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19008 (eval $ac_try) 2>&5
19010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19011 (exit $ac_status); }; }; then
19012 ac_cv_member_struct_mtget_mt_blkno
=yes
19014 echo "$as_me: failed program was:" >&5
19015 sed 's/^/| /' conftest.
$ac_ext >&5
19017 ac_cv_member_struct_mtget_mt_blkno
=no
19019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19023 echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19024 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6
19025 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19027 cat >>confdefs.h
<<_ACEOF
19028 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19035 echo "$as_me:$LINENO: checking for struct option.name" >&5
19036 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19037 if test "${ac_cv_member_struct_option_name+set}" = set; then
19038 echo $ECHO_N "(cached) $ECHO_C" >&6
19040 cat >conftest.
$ac_ext <<_ACEOF
19043 cat confdefs.h
>>conftest.
$ac_ext
19044 cat >>conftest.
$ac_ext <<_ACEOF
19045 /* end confdefs.h. */
19046 #ifdef HAVE_GETOPT_H
19047 #include <getopt.h>
19053 static struct option ac_aggr;
19060 rm -f conftest.
$ac_objext
19061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19062 (eval $ac_compile) 2>conftest.er1
19064 grep -v '^ *+' conftest.er1
>conftest.err
19066 cat conftest.err
>&5
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); } &&
19069 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19071 (eval $ac_try) 2>&5
19073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19074 (exit $ac_status); }; } &&
19075 { ac_try
='test -s conftest.$ac_objext'
19076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19077 (eval $ac_try) 2>&5
19079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080 (exit $ac_status); }; }; then
19081 ac_cv_member_struct_option_name
=yes
19083 echo "$as_me: failed program was:" >&5
19084 sed 's/^/| /' conftest.
$ac_ext >&5
19086 cat >conftest.
$ac_ext <<_ACEOF
19089 cat confdefs.h
>>conftest.
$ac_ext
19090 cat >>conftest.
$ac_ext <<_ACEOF
19091 /* end confdefs.h. */
19092 #ifdef HAVE_GETOPT_H
19093 #include <getopt.h>
19099 static struct option ac_aggr;
19100 if (sizeof ac_aggr.name)
19106 rm -f conftest.
$ac_objext
19107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19108 (eval $ac_compile) 2>conftest.er1
19110 grep -v '^ *+' conftest.er1
>conftest.err
19112 cat conftest.err
>&5
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); } &&
19115 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19117 (eval $ac_try) 2>&5
19119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120 (exit $ac_status); }; } &&
19121 { ac_try
='test -s conftest.$ac_objext'
19122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19123 (eval $ac_try) 2>&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); }; }; then
19127 ac_cv_member_struct_option_name
=yes
19129 echo "$as_me: failed program was:" >&5
19130 sed 's/^/| /' conftest.
$ac_ext >&5
19132 ac_cv_member_struct_option_name
=no
19134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19138 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19139 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19140 if test $ac_cv_member_struct_option_name = yes; then
19142 cat >>confdefs.h
<<_ACEOF
19143 #define HAVE_STRUCT_OPTION_NAME 1
19150 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19151 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19152 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19153 echo $ECHO_N "(cached) $ECHO_C" >&6
19155 cat >conftest.
$ac_ext <<_ACEOF
19158 cat confdefs.h
>>conftest.
$ac_ext
19159 cat >>conftest.
$ac_ext <<_ACEOF
19160 /* end confdefs.h. */
19161 $ac_includes_default
19165 static struct stat ac_aggr;
19166 if (ac_aggr.st_blocks)
19172 rm -f conftest.
$ac_objext
19173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19174 (eval $ac_compile) 2>conftest.er1
19176 grep -v '^ *+' conftest.er1
>conftest.err
19178 cat conftest.err
>&5
19179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19180 (exit $ac_status); } &&
19181 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19183 (eval $ac_try) 2>&5
19185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186 (exit $ac_status); }; } &&
19187 { ac_try
='test -s conftest.$ac_objext'
19188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19189 (eval $ac_try) 2>&5
19191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192 (exit $ac_status); }; }; then
19193 ac_cv_member_struct_stat_st_blocks
=yes
19195 echo "$as_me: failed program was:" >&5
19196 sed 's/^/| /' conftest.
$ac_ext >&5
19198 cat >conftest.
$ac_ext <<_ACEOF
19201 cat confdefs.h
>>conftest.
$ac_ext
19202 cat >>conftest.
$ac_ext <<_ACEOF
19203 /* end confdefs.h. */
19204 $ac_includes_default
19208 static struct stat ac_aggr;
19209 if (sizeof ac_aggr.st_blocks)
19215 rm -f conftest.
$ac_objext
19216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19217 (eval $ac_compile) 2>conftest.er1
19219 grep -v '^ *+' conftest.er1
>conftest.err
19221 cat conftest.err
>&5
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); } &&
19224 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19226 (eval $ac_try) 2>&5
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); }; } &&
19230 { ac_try
='test -s conftest.$ac_objext'
19231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19232 (eval $ac_try) 2>&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); }; }; then
19236 ac_cv_member_struct_stat_st_blocks
=yes
19238 echo "$as_me: failed program was:" >&5
19239 sed 's/^/| /' conftest.
$ac_ext >&5
19241 ac_cv_member_struct_stat_st_blocks
=no
19243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19247 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19248 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19249 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19251 cat >>confdefs.h
<<_ACEOF
19252 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19259 echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19260 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6
19261 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19262 echo $ECHO_N "(cached) $ECHO_C" >&6
19264 cat >conftest.
$ac_ext <<_ACEOF
19267 cat confdefs.h
>>conftest.
$ac_ext
19268 cat >>conftest.
$ac_ext <<_ACEOF
19269 /* end confdefs.h. */
19270 #ifdef HAVE_SYS_TYPES_H
19271 #include <sys/types.h>
19273 #ifdef HAVE_NETINET_IN_H
19274 #include <netinet/in.h>
19280 static struct sockaddr_in6 ac_aggr;
19281 if (ac_aggr.sin6_scope_id)
19287 rm -f conftest.
$ac_objext
19288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19289 (eval $ac_compile) 2>conftest.er1
19291 grep -v '^ *+' conftest.er1
>conftest.err
19293 cat conftest.err
>&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); } &&
19296 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19298 (eval $ac_try) 2>&5
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); }; } &&
19302 { ac_try
='test -s conftest.$ac_objext'
19303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19304 (eval $ac_try) 2>&5
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); }; }; then
19308 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19310 echo "$as_me: failed program was:" >&5
19311 sed 's/^/| /' conftest.
$ac_ext >&5
19313 cat >conftest.
$ac_ext <<_ACEOF
19316 cat confdefs.h
>>conftest.
$ac_ext
19317 cat >>conftest.
$ac_ext <<_ACEOF
19318 /* end confdefs.h. */
19319 #ifdef HAVE_SYS_TYPES_H
19320 #include <sys/types.h>
19322 #ifdef HAVE_NETINET_IN_H
19323 #include <netinet/in.h>
19329 static struct sockaddr_in6 ac_aggr;
19330 if (sizeof ac_aggr.sin6_scope_id)
19336 rm -f conftest.
$ac_objext
19337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19338 (eval $ac_compile) 2>conftest.er1
19340 grep -v '^ *+' conftest.er1
>conftest.err
19342 cat conftest.err
>&5
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); } &&
19345 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19347 (eval $ac_try) 2>&5
19349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19350 (exit $ac_status); }; } &&
19351 { ac_try
='test -s conftest.$ac_objext'
19352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19353 (eval $ac_try) 2>&5
19355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19356 (exit $ac_status); }; }; then
19357 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19359 echo "$as_me: failed program was:" >&5
19360 sed 's/^/| /' conftest.
$ac_ext >&5
19362 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
19364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19368 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19369 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6
19370 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19372 cat >>confdefs.h
<<_ACEOF
19373 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19380 echo "$as_me:$LINENO: checking for timezone variable" >&5
19381 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6
19382 if test "${ac_cv_have_timezone+set}" = set; then
19383 echo $ECHO_N "(cached) $ECHO_C" >&6
19385 cat >conftest.
$ac_ext <<_ACEOF
19388 cat confdefs.h
>>conftest.
$ac_ext
19389 cat >>conftest.
$ac_ext <<_ACEOF
19390 /* end confdefs.h. */
19400 rm -f conftest.
$ac_objext conftest
$ac_exeext
19401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19402 (eval $ac_link) 2>conftest.er1
19404 grep -v '^ *+' conftest.er1
>conftest.err
19406 cat conftest.err
>&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); } &&
19409 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19411 (eval $ac_try) 2>&5
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); }; } &&
19415 { ac_try
='test -s conftest$ac_exeext'
19416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19417 (eval $ac_try) 2>&5
19419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19420 (exit $ac_status); }; }; then
19421 ac_cv_have_timezone
="yes"
19423 echo "$as_me: failed program was:" >&5
19424 sed 's/^/| /' conftest.
$ac_ext >&5
19426 ac_cv_have_timezone
="no"
19428 rm -f conftest.err conftest.
$ac_objext \
19429 conftest
$ac_exeext conftest.
$ac_ext
19431 echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19432 echo "${ECHO_T}$ac_cv_have_timezone" >&6
19433 if test "$ac_cv_have_timezone" = "yes"
19436 cat >>confdefs.h
<<\_ACEOF
19437 #define HAVE_TIMEZONE 1
19441 echo "$as_me:$LINENO: checking for daylight variable" >&5
19442 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6
19443 if test "${ac_cv_have_daylight+set}" = set; then
19444 echo $ECHO_N "(cached) $ECHO_C" >&6
19446 cat >conftest.
$ac_ext <<_ACEOF
19449 cat confdefs.h
>>conftest.
$ac_ext
19450 cat >>conftest.
$ac_ext <<_ACEOF
19451 /* end confdefs.h. */
19461 rm -f conftest.
$ac_objext conftest
$ac_exeext
19462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19463 (eval $ac_link) 2>conftest.er1
19465 grep -v '^ *+' conftest.er1
>conftest.err
19467 cat conftest.err
>&5
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); } &&
19470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; } &&
19476 { ac_try
='test -s conftest$ac_exeext'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; }; then
19482 ac_cv_have_daylight
="yes"
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.
$ac_ext >&5
19487 ac_cv_have_daylight
="no"
19489 rm -f conftest.err conftest.
$ac_objext \
19490 conftest
$ac_exeext conftest.
$ac_ext
19492 echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
19493 echo "${ECHO_T}$ac_cv_have_daylight" >&6
19494 if test "$ac_cv_have_daylight" = "yes"
19497 cat >>confdefs.h
<<\_ACEOF
19498 #define HAVE_DAYLIGHT 1
19505 *i
[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19506 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
19507 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19508 echo $ECHO_N "(cached) $ECHO_C" >&6
19510 cat >conftest.
$ac_ext <<_ACEOF
19513 cat confdefs.h
>>conftest.
$ac_ext
19514 cat >>conftest.
$ac_ext <<_ACEOF
19515 /* end confdefs.h. */
19520 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19521 $EGREP "yes" >/dev
/null
2>&1; then
19522 ac_cv_cpp_def___i386__
=yes
19524 ac_cv_cpp_def___i386__
=no
19529 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19530 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
19531 if test $ac_cv_cpp_def___i386__ = yes; then
19532 CFLAGS
="$CFLAGS -D__i386__"
19533 LINTFLAGS
="$LINTFLAGS -D__i386__"
19536 *x86_64
*) echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
19537 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6
19538 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
19539 echo $ECHO_N "(cached) $ECHO_C" >&6
19541 cat >conftest.
$ac_ext <<_ACEOF
19544 cat confdefs.h
>>conftest.
$ac_ext
19545 cat >>conftest.
$ac_ext <<_ACEOF
19546 /* end confdefs.h. */
19551 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19552 $EGREP "yes" >/dev
/null
2>&1; then
19553 ac_cv_cpp_def___x86_64__
=yes
19555 ac_cv_cpp_def___x86_64__
=no
19560 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
19561 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6
19562 if test $ac_cv_cpp_def___x86_64__ = yes; then
19563 CFLAGS
="$CFLAGS -D__x86_64__"
19564 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
19567 *alpha
*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19568 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
19569 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19570 echo $ECHO_N "(cached) $ECHO_C" >&6
19572 cat >conftest.
$ac_ext <<_ACEOF
19575 cat confdefs.h
>>conftest.
$ac_ext
19576 cat >>conftest.
$ac_ext <<_ACEOF
19577 /* end confdefs.h. */
19582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19583 $EGREP "yes" >/dev
/null
2>&1; then
19584 ac_cv_cpp_def___ALPHA__
=yes
19586 ac_cv_cpp_def___ALPHA__
=no
19591 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
19592 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
19593 if test $ac_cv_cpp_def___ALPHA__ = yes; then
19594 CFLAGS
="$CFLAGS -D__ALPHA__"
19595 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
19598 *sparc
*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
19599 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
19600 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
19601 echo $ECHO_N "(cached) $ECHO_C" >&6
19603 cat >conftest.
$ac_ext <<_ACEOF
19606 cat confdefs.h
>>conftest.
$ac_ext
19607 cat >>conftest.
$ac_ext <<_ACEOF
19608 /* end confdefs.h. */
19613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19614 $EGREP "yes" >/dev
/null
2>&1; then
19615 ac_cv_cpp_def___sparc__
=yes
19617 ac_cv_cpp_def___sparc__
=no
19622 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
19623 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
19624 if test $ac_cv_cpp_def___sparc__ = yes; then
19625 CFLAGS
="$CFLAGS -D__sparc__"
19626 LINTFLAGS
="$LINTFLAGS -D__sparc__"
19629 *powerpc
*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
19630 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
19631 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
19632 echo $ECHO_N "(cached) $ECHO_C" >&6
19634 cat >conftest.
$ac_ext <<_ACEOF
19637 cat confdefs.h
>>conftest.
$ac_ext
19638 cat >>conftest.
$ac_ext <<_ACEOF
19639 /* end confdefs.h. */
19640 #ifndef __powerpc__
19644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19645 $EGREP "yes" >/dev
/null
2>&1; then
19646 ac_cv_cpp_def___powerpc__
=yes
19648 ac_cv_cpp_def___powerpc__
=no
19653 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
19654 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
19655 if test $ac_cv_cpp_def___powerpc__ = yes; then
19656 CFLAGS
="$CFLAGS -D__powerpc__"
19657 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
19662 case $host_vendor in
19663 *sun
*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
19664 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
19665 if test "${ac_cv_cpp_def___sun__+set}" = set; then
19666 echo $ECHO_N "(cached) $ECHO_C" >&6
19668 cat >conftest.
$ac_ext <<_ACEOF
19671 cat confdefs.h
>>conftest.
$ac_ext
19672 cat >>conftest.
$ac_ext <<_ACEOF
19673 /* end confdefs.h. */
19678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19679 $EGREP "yes" >/dev
/null
2>&1; then
19680 ac_cv_cpp_def___sun__
=yes
19682 ac_cv_cpp_def___sun__
=no
19687 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
19688 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
19689 if test $ac_cv_cpp_def___sun__ = yes; then
19690 CFLAGS
="$CFLAGS -D__sun__"
19691 LINTFLAGS
="$LINTFLAGS -D__sun__"
19700 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
19702 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
19704 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
19706 ac_config_commands
="$ac_config_commands dlls/user/resources"
19708 ac_config_commands
="$ac_config_commands dlls/wineps/data"
19710 ac_config_commands
="$ac_config_commands include/wine"
19713 MAKE_RULES
=Make.rules
19716 MAKE_DLL_RULES
=dlls
/Makedll.rules
19719 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
19722 MAKE_TEST_RULES
=dlls
/Maketest.rules
19725 MAKE_LIB_RULES
=libs
/Makelib.rules
19728 MAKE_PROG_RULES
=programs
/Makeprog.rules
19731 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/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/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/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/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/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/mciwave/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/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"
19734 cat >confcache
<<\_ACEOF
19735 # This file is a shell script that caches the results of configure
19736 # tests run on this system so they can be shared between configure
19737 # scripts and configure runs, see configure's option --config-cache.
19738 # It is not useful on other systems. If it contains results you don't
19739 # want to keep, you may remove or edit it.
19741 # config.status only pays attention to the cache file if you give it
19742 # the --recheck option to rerun configure.
19744 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19745 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19746 # following values.
19750 # The following way of writing the cache mishandles newlines in values,
19751 # but we know of no workaround that is simple, portable, and efficient.
19752 # So, don't put newlines in cache variables' values.
19753 # Ultrix sh set writes to stderr and can't be redirected directly,
19754 # and sets the high bit in the cache file unless we assign to the vars.
19757 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19759 # `set' does not quote correctly, so add quotes (double-quote
19760 # substitution turns \\\\ into \\, and sed turns \\ into \).
19763 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19766 # `set' quotes correctly as required by POSIX, so do not add quotes.
19768 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19775 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19777 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19779 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19780 if test -w $cache_file; then
19781 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19782 cat confcache
>$cache_file
19784 echo "not updating unwritable cache $cache_file"
19789 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19790 # Let make expand exec_prefix.
19791 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19793 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19794 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19795 # trailing colons and then remove the whole line if VPATH becomes empty
19796 # (actually we leave an empty line to preserve line numbers).
19797 if test "x$srcdir" = x.
; then
19798 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
19799 s/:*\$(srcdir):*/:/;
19800 s/:*\${srcdir}:*/:/;
19802 s/^\([^=]*=[ ]*\):*/\1/;
19808 DEFS
=-DHAVE_CONFIG_H
19812 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19813 # 1. Remove the extension, and $U if already installed.
19814 ac_i
=`echo "$ac_i" |
19815 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19817 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
19818 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
19820 LIBOBJS
=$ac_libobjs
19822 LTLIBOBJS
=$ac_ltlibobjs
19826 : ${CONFIG_STATUS=./config.status}
19827 ac_clean_files_save
=$ac_clean_files
19828 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19829 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19830 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19831 cat >$CONFIG_STATUS <<_ACEOF
19833 # Generated by $as_me.
19834 # Run this file to recreate the current configuration.
19835 # Compiler output produced by configure, useful for debugging
19836 # configure, is in config.log if it exists.
19839 ac_cs_recheck=false
19841 SHELL=\${CONFIG_SHELL-$SHELL}
19844 cat >>$CONFIG_STATUS <<\_ACEOF
19845 ## --------------------- ##
19846 ## M4sh Initialization. ##
19847 ## --------------------- ##
19849 # Be Bourne compatible
19850 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19853 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19854 # is contrary to our usage. Disable this feature.
19855 alias -g '${1+"$@"}'='"$@"'
19856 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
19859 DUALCASE
=1; export DUALCASE
# for MKS sh
19861 # Support unset when possible.
19862 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19869 # Work around bugs in pre-3.0 UWIN ksh.
19870 $as_unset ENV MAIL MAILPATH
19877 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19878 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19879 LC_TELEPHONE LC_TIME
19881 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19882 eval $as_var=C
; export $as_var
19888 # Required to use basename.
19889 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19895 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
19896 as_basename
=basename
19902 # Name of the executable.
19903 as_me
=`$as_basename "$0" ||
19904 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19905 X"$0" : 'X\(//\)$' \| \
19906 X"$0" : 'X\(/\)$' \| \
19907 . : '\(.\)' 2>/dev/null ||
19909 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19910 /^X\/\(\/\/\)$/{ s//\1/; q; }
19911 /^X\/\(\/\).*/{ s//\1/; q; }
19915 # PATH needs CR, and LINENO needs CR and PATH.
19916 # Avoid depending upon Character Ranges.
19917 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19918 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19919 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19920 as_cr_digits
='0123456789'
19921 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19923 # The user is always right.
19924 if test "${PATH_SEPARATOR+set}" != set; then
19925 echo "#! /bin/sh" >conf$$.sh
19926 echo "exit 0" >>conf$$.sh
19928 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19937 as_lineno_1
=$LINENO
19938 as_lineno_2
=$LINENO
19939 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
19940 test "x$as_lineno_1" != "x$as_lineno_2" &&
19941 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
19942 # Find who we are. Look in the path if we contain no path at all
19945 *[\\/]* ) as_myself
=$0 ;;
19946 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19947 for as_dir
in $PATH
19950 test -z "$as_dir" && as_dir
=.
19951 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
19956 # We did not find ourselves, most probably we were run as `sh COMMAND'
19957 # in which case we are not to be found in the path.
19958 if test "x$as_myself" = x
; then
19961 if test ! -f "$as_myself"; then
19962 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19963 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19964 { (exit 1); exit 1; }; }
19966 case $CONFIG_SHELL in
19968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19969 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
19972 test -z "$as_dir" && as_dir
=.
19973 for as_base
in sh bash ksh sh5
; do
19976 if ("$as_dir/$as_base" -c '
19977 as_lineno_1=$LINENO
19978 as_lineno_2=$LINENO
19979 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19980 test "x$as_lineno_1" != "x$as_lineno_2" &&
19981 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
19982 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
19983 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
19984 CONFIG_SHELL
=$as_dir/$as_base
19985 export CONFIG_SHELL
19986 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19994 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19995 # uniformly replaced by the line number. The first 'sed' inserts a
19996 # line-number line before each line; the second 'sed' does the real
19997 # work. The second script uses 'N' to pair each line-number line
19998 # with the numbered line, and appends trailing '-' during
19999 # substitution so that $LINENO is not a special case at line end.
20000 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20001 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20002 sed '=' <$as_myself |
20007 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20010 s,^['$as_cr_digits']*\n,,
20011 ' >$as_me.lineno
&&
20012 chmod +x
$as_me.lineno ||
20013 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20014 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20015 { (exit 1); exit 1; }; }
20017 # Don't try to exec as it changes $[0], causing all sort of problems
20018 # (the dirname of $[0] is not the place where we might find the
20019 # original and so on. Autoconf is especially sensible to this).
20021 # Exit status is that of the last command.
20026 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20027 *c
*,-n*) ECHO_N
= ECHO_C
='
20029 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20030 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20033 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20039 rm -f conf$$ conf$$.exe conf$$.
file
20041 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20042 # We could just check for DJGPP; but this test a) works b) is more generic
20043 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20044 if test -f conf$$.exe
; then
20045 # Don't use ln at all; we don't have any links
20050 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20055 rm -f conf$$ conf$$.exe conf$$.
file
20057 if mkdir
-p .
2>/dev
/null
; then
20060 test -d .
/-p && rmdir .
/-p
20064 as_executable_p
="test -f"
20066 # Sed expression to map a string onto a valid CPP name.
20067 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20069 # Sed expression to map a string onto a valid variable name.
20070 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20074 # We need space, tab and new line, in precisely that order.
20084 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20085 # report actual input values of CONFIG_FILES etc. instead of their
20086 # values after options handling. Logging --version etc. is OK.
20090 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20091 ## Running $as_me. ##
20096 This file was extended by Wine $as_me 0.9.12, which was
20097 generated by GNU Autoconf 2.59. Invocation command line was
20099 CONFIG_FILES = $CONFIG_FILES
20100 CONFIG_HEADERS = $CONFIG_HEADERS
20101 CONFIG_LINKS = $CONFIG_LINKS
20102 CONFIG_COMMANDS = $CONFIG_COMMANDS
20106 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20110 # Files that config.status was made for.
20111 if test -n "$ac_config_files"; then
20112 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20115 if test -n "$ac_config_headers"; then
20116 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20119 if test -n "$ac_config_links"; then
20120 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20123 if test -n "$ac_config_commands"; then
20124 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20127 cat >>$CONFIG_STATUS <<\_ACEOF
20130 \`$as_me' instantiates files from templates according to the
20131 current configuration.
20133 Usage: $0 [OPTIONS] [FILE]...
20135 -h, --help print this help, then exit
20136 -V, --version print version number, then exit
20137 -q, --quiet do not print progress messages
20138 -d, --debug don't remove temporary files
20139 --recheck update $as_me by reconfiguring in the same conditions
20140 --file=FILE[:TEMPLATE]
20141 instantiate the configuration file FILE
20142 --header=FILE[:TEMPLATE]
20143 instantiate the configuration header FILE
20145 Configuration files:
20148 Configuration headers:
20151 Configuration commands:
20154 Report bugs to <bug-autoconf@gnu.org>."
20157 cat >>$CONFIG_STATUS <<_ACEOF
20159 Wine config.status 0.9.12
20160 configured by $0, generated by GNU Autoconf 2.59,
20161 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20163 Copyright (C) 2003 Free Software Foundation, Inc.
20164 This config.status script is free software; the Free Software Foundation
20165 gives unlimited permission to copy, distribute and modify it."
20170 cat >>$CONFIG_STATUS <<\_ACEOF
20171 # If no file are specified by the user, then we need to provide default
20172 # value. By we need to know if files were specified by the user.
20178 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20179 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20187 *) # This is not an option, so the user has probably given explicit
20190 ac_need_defaults
=false
;;
20194 # Handling of the options.
20196 cat >>$CONFIG_STATUS <<\_ACEOF
20197 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20199 --version |
--vers* |
-V )
20200 echo "$ac_cs_version"; exit 0 ;;
20202 # Conflict between --help and --header
20203 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20204 Try \`$0 --help' for more information." >&5
20205 echo "$as_me: error: ambiguous option: $1
20206 Try \`$0 --help' for more information." >&2;}
20207 { (exit 1); exit 1; }; };;
20208 --help |
--hel |
-h )
20209 echo "$ac_cs_usage"; exit 0 ;;
20210 --debug |
--d* |
-d )
20212 --file |
--fil |
--fi |
--f )
20214 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20215 ac_need_defaults
=false
;;
20216 --header |
--heade |
--head |
--hea )
20218 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20219 ac_need_defaults
=false
;;
20220 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20221 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20224 # This is an error.
20225 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20226 Try \`$0 --help' for more information." >&5
20227 echo "$as_me: error: unrecognized option: $1
20228 Try \`$0 --help' for more information." >&2;}
20229 { (exit 1); exit 1; }; } ;;
20231 *) ac_config_targets
="$ac_config_targets $1" ;;
20237 ac_configure_extra_args
=
20239 if $ac_cs_silent; then
20241 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20245 cat >>$CONFIG_STATUS <<_ACEOF
20246 if \$ac_cs_recheck; then
20247 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20248 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20257 cat >>$CONFIG_STATUS <<\_ACEOF
20258 for ac_config_target
in $ac_config_targets
20260 case "$ac_config_target" in
20261 # Handling of arguments.
20262 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
20263 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
20264 "dlls/Makeimplib.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
20265 "dlls/Maketest.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
20266 "libs/Makelib.rules" ) CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
20267 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
20268 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20269 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
20270 "dlls/activeds/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
20271 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20272 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20273 "dlls/advpack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
20274 "dlls/advpack/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
20275 "dlls/amstream/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
20276 "dlls/atl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
20277 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20278 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20279 "dlls/cabinet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20280 "dlls/cabinet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
20281 "dlls/capi2032/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20282 "dlls/cards/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
20283 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20284 "dlls/comcat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
20285 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20286 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20287 "dlls/comdlg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
20288 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20289 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20290 "dlls/crypt32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
20291 "dlls/cryptdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
20292 "dlls/ctl3d32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
20293 "dlls/d3d8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20294 "dlls/d3d9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20295 "dlls/d3d9/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
20296 "dlls/d3dim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20297 "dlls/d3drm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20298 "dlls/d3dx8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20299 "dlls/d3dxof/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20300 "dlls/dbghelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20301 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20302 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20303 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20304 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
20305 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
20306 "dlls/dinput/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
20307 "dlls/dinput8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20308 "dlls/dmband/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
20309 "dlls/dmcompos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20310 "dlls/dmime/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
20311 "dlls/dmloader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20312 "dlls/dmscript/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20313 "dlls/dmstyle/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20314 "dlls/dmsynth/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20315 "dlls/dmusic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20316 "dlls/dmusic32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20317 "dlls/dnsapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
20318 "dlls/dnsapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
20319 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
20320 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20321 "dlls/dpnet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20322 "dlls/dpnhpast/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20323 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
20324 "dlls/dsound/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20325 "dlls/dswave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
20326 "dlls/dxdiagn/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20327 "dlls/dxerr8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20328 "dlls/dxerr9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20329 "dlls/dxguid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20330 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
20331 "dlls/gdi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20332 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
20333 "dlls/glut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
20334 "dlls/hhctrl.ocx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20335 "dlls/iccvid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20336 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
20337 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20338 "dlls/imaadp32.acm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
20339 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20340 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
20341 "dlls/iphlpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20342 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20343 "dlls/itss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
20344 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
20345 "dlls/kernel/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20346 "dlls/lz32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
20347 "dlls/lz32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
20348 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20349 "dlls/mapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20350 "dlls/mciavi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
20351 "dlls/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
20352 "dlls/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
20353 "dlls/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
20354 "dlls/mlang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
20355 "dlls/mlang/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20356 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20357 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20358 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
20359 "dlls/msacm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
20360 "dlls/msacm32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
20361 "dlls/msadp32.acm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
20362 "dlls/mscms/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
20363 "dlls/mscms/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
20364 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20365 "dlls/msftedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
20366 "dlls/msg711.acm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
20367 "dlls/mshtml/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20368 "dlls/mshtml/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
20369 "dlls/msi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
20370 "dlls/msi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
20371 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20372 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
20373 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20374 "dlls/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20375 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20376 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20377 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20378 "dlls/msvcrt40/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20379 "dlls/msvcrtd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20380 "dlls/msvcrtd/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20381 "dlls/msvfw32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
20382 "dlls/msvidc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20383 "dlls/mswsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20384 "dlls/msxml3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
20385 "dlls/msxml3/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
20386 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20387 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20388 "dlls/newdev/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
20389 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20390 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20391 "dlls/objsel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
20392 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20393 "dlls/odbccp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
20394 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
20395 "dlls/ole32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
20396 "dlls/oleacc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20397 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20398 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20399 "dlls/olecli32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
20400 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20401 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20402 "dlls/olesvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
20403 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20404 "dlls/powrprof/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
20405 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
20406 "dlls/psapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
20407 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
20408 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
20409 "dlls/quartz/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
20410 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20411 "dlls/riched20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
20412 "dlls/riched20/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
20413 "dlls/riched32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
20414 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20415 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20416 "dlls/rsabase/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20417 "dlls/rsabase/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
20418 "dlls/rsaenh/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
20419 "dlls/rsaenh/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
20420 "dlls/secur32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
20421 "dlls/secur32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
20422 "dlls/security/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
20423 "dlls/sensapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
20424 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
20425 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20426 "dlls/setupapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
20427 "dlls/sfc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
20428 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20429 "dlls/shdocvw/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
20430 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
20431 "dlls/shell32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20432 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20433 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20434 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20435 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20436 "dlls/spoolss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
20437 "dlls/stdole2.tlb/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
20438 "dlls/stdole32.tlb/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
20439 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
20440 "dlls/strmiids/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
20441 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20442 "dlls/twain_32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
20443 "dlls/unicows/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
20444 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
20445 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20446 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20447 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
20448 "dlls/user/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20449 "dlls/usp10/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
20450 "dlls/usp10/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
20451 "dlls/uuid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
20452 "dlls/uxtheme/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20453 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20454 "dlls/vdmdbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
20455 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
20456 "dlls/version/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
20457 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20458 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20459 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20460 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20461 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20462 "dlls/w32skrnl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
20463 "dlls/winecrt0/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
20464 "dlls/wined3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20465 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
20466 "dlls/winemp3.acm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
20467 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
20468 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
20469 "dlls/wininet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20470 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
20471 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20472 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
20473 "dlls/winmm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20474 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
20475 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20476 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20477 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20478 "dlls/winmm/wineesd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
20479 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20480 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20481 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20482 "dlls/winnls32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
20483 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
20484 "dlls/winspool/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20485 "dlls/wintab32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20486 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20487 "dlls/wldap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
20488 "dlls/wnaspi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
20489 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
20490 "dlls/ws2_32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
20491 "dlls/ws2_32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
20492 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
20493 "dlls/wtsapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
20494 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
20495 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
20496 "fonts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
20497 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20498 "libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
20499 "libs/port/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
20500 "libs/unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/unicode/Makefile" ;;
20501 "libs/wine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
20502 "libs/wpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
20503 "loader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
20504 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
20505 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
20506 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
20507 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
20508 "programs/eject/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
20509 "programs/expand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
20510 "programs/explorer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
20511 "programs/hh/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
20512 "programs/icinfo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
20513 "programs/iexplore/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
20514 "programs/msiexec/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
20515 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
20516 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
20517 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
20518 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
20519 "programs/rpcss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
20520 "programs/rundll32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
20521 "programs/start/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
20522 "programs/taskmgr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
20523 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
20524 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
20525 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
20526 "programs/wineboot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
20527 "programs/winebrowser/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
20528 "programs/winecfg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
20529 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
20530 "programs/winedbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
20531 "programs/winefile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
20532 "programs/winemenubuilder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
20533 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
20534 "programs/winepath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
20535 "programs/winetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
20536 "programs/winevdm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
20537 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
20538 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
20539 "programs/wordpad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
20540 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
20541 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
20542 "tools/widl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
20543 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
20544 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
20545 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
20546 "tools/winegcc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
20547 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
20548 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
20549 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
20550 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
20551 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
20552 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
20553 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
20554 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
20555 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
20556 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20557 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20558 { (exit 1); exit 1; }; };;
20562 # If the user did not use the arguments to specify the items to instantiate,
20563 # then the envvar interface is used. Set only those that are not.
20564 # We use the long form for the default assignment because of an extremely
20565 # bizarre bug on SunOS 4.1.3.
20566 if $ac_need_defaults; then
20567 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20568 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20569 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20572 # Have a temporary directory for convenience. Make it in the build tree
20573 # simply because there is no reason to put it here, and in addition,
20574 # creating and moving files from /tmp can sometimes cause problems.
20575 # Create a temporary directory, and hook for its removal unless debugging.
20578 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20579 trap '{ (exit 1); exit 1; }' 1 2 13 15
20582 # Create a (secure) tmp directory for tmp files.
20585 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20586 test -n "$tmp" && test -d "$tmp"
20589 tmp
=.
/confstat$$
-$RANDOM
20590 (umask 077 && mkdir
$tmp)
20593 echo "$me: cannot create a temporary directory in ." >&2
20594 { (exit 1); exit 1; }
20599 cat >>$CONFIG_STATUS <<_ACEOF
20602 # CONFIG_FILES section.
20605 # No need to generate the scripts if there are no CONFIG_FILES.
20606 # This happens for instance when ./config.status config.h
20607 if test -n "\$CONFIG_FILES"; then
20608 # Protect against being on the right side of a sed subst in config.status.
20609 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20610 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20611 s,@SHELL@,$SHELL,;t t
20612 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20613 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20614 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20615 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20616 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20617 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20618 s,@exec_prefix@,$exec_prefix,;t t
20619 s,@prefix@,$prefix,;t t
20620 s,@program_transform_name@,$program_transform_name,;t t
20621 s,@bindir@,$bindir,;t t
20622 s,@sbindir@,$sbindir,;t t
20623 s,@libexecdir@,$libexecdir,;t t
20624 s,@datadir@,$datadir,;t t
20625 s,@sysconfdir@,$sysconfdir,;t t
20626 s,@sharedstatedir@,$sharedstatedir,;t t
20627 s,@localstatedir@,$localstatedir,;t t
20628 s,@libdir@,$libdir,;t t
20629 s,@includedir@,$includedir,;t t
20630 s,@oldincludedir@,$oldincludedir,;t t
20631 s,@infodir@,$infodir,;t t
20632 s,@mandir@,$mandir,;t t
20633 s,@build_alias@,$build_alias,;t t
20634 s,@host_alias@,$host_alias,;t t
20635 s,@target_alias@,$target_alias,;t t
20636 s,@DEFS@,$DEFS,;t t
20637 s,@ECHO_C@,$ECHO_C,;t t
20638 s,@ECHO_N@,$ECHO_N,;t t
20639 s,@ECHO_T@,$ECHO_T,;t t
20640 s,@LIBS@,$LIBS,;t t
20641 s,@build@,$build,;t t
20642 s,@build_cpu@,$build_cpu,;t t
20643 s,@build_vendor@,$build_vendor,;t t
20644 s,@build_os@,$build_os,;t t
20645 s,@host@,$host,;t t
20646 s,@host_cpu@,$host_cpu,;t t
20647 s,@host_vendor@,$host_vendor,;t t
20648 s,@host_os@,$host_os,;t t
20649 s,@WIN16_FILES@,$WIN16_FILES,;t t
20650 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
20651 s,@SET_MAKE@,$SET_MAKE,;t t
20653 s,@CFLAGS@,$CFLAGS,;t t
20654 s,@LDFLAGS@,$LDFLAGS,;t t
20655 s,@CPPFLAGS@,$CPPFLAGS,;t t
20656 s,@ac_ct_CC@,$ac_ct_CC,;t t
20657 s,@EXEEXT@,$EXEEXT,;t t
20658 s,@OBJEXT@,$OBJEXT,;t t
20660 s,@CXXFLAGS@,$CXXFLAGS,;t t
20661 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20662 s,@CPPBIN@,$CPPBIN,;t t
20663 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
20664 s,@TOOLSDIR@,$TOOLSDIR,;t t
20666 s,@X_CFLAGS@,$X_CFLAGS,;t t
20667 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
20668 s,@X_LIBS@,$X_LIBS,;t t
20669 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
20671 s,@LEXLIB@,$LEXLIB,;t t
20672 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20673 s,@XLEX@,$XLEX,;t t
20674 s,@BISON@,$BISON,;t t
20676 s,@ac_ct_AS@,$ac_ct_AS,;t t
20678 s,@ac_ct_LD@,$ac_ct_LD,;t t
20680 s,@ac_ct_AR@,$ac_ct_AR,;t t
20681 s,@RANLIB@,$RANLIB,;t t
20682 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20683 s,@STRIP@,$STRIP,;t t
20684 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20685 s,@WINDRES@,$WINDRES,;t t
20686 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
20687 s,@LN_S@,$LN_S,;t t
20689 s,@EGREP@,$EGREP,;t t
20690 s,@LDCONFIG@,$LDCONFIG,;t t
20691 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20692 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20693 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20694 s,@LINT@,$LINT,;t t
20695 s,@LINTFLAGS@,$LINTFLAGS,;t t
20696 s,@FONTFORGE@,$FONTFORGE,;t t
20697 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
20698 s,@PRELINK@,$PRELINK,;t t
20699 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
20700 s,@XLIB@,$XLIB,;t t
20701 s,@XFILES@,$XFILES,;t t
20702 s,@OPENGLFILES@,$OPENGLFILES,;t t
20703 s,@GLU32FILES@,$GLU32FILES,;t t
20704 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
20705 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
20706 s,@GLUT32FILES@,$GLUT32FILES,;t t
20707 s,@NASLIBS@,$NASLIBS,;t t
20708 s,@XML2LIBS@,$XML2LIBS,;t t
20709 s,@XML2INCL@,$XML2INCL,;t t
20710 s,@XSLTLIBS@,$XSLTLIBS,;t t
20711 s,@XSLTINCL@,$XSLTINCL,;t t
20712 s,@HALINCL@,$HALINCL,;t t
20713 s,@CURSESLIBS@,$CURSESLIBS,;t t
20714 s,@sane_devel@,$sane_devel,;t t
20715 s,@SANELIBS@,$SANELIBS,;t t
20716 s,@SANEINCL@,$SANEINCL,;t t
20717 s,@ICULIBS@,$ICULIBS,;t t
20718 s,@RESOLVLIBS@,$RESOLVLIBS,;t t
20719 s,@LCMSLIBS@,$LCMSLIBS,;t t
20720 s,@LDAPLIBS@,$LDAPLIBS,;t t
20721 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
20722 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
20723 s,@ft_devel@,$ft_devel,;t t
20724 s,@ft_devel2@,$ft_devel2,;t t
20725 s,@FONTSSUBDIRS@,$FONTSSUBDIRS,;t t
20726 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
20727 s,@ARTSLIBS@,$ARTSLIBS,;t t
20728 s,@ARTSINCL@,$ARTSINCL,;t t
20729 s,@ESDCONFIG@,$ESDCONFIG,;t t
20730 s,@ESDLIBS@,$ESDLIBS,;t t
20731 s,@ESDINCL@,$ESDINCL,;t t
20732 s,@ALSALIBS@,$ALSALIBS,;t t
20733 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
20734 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
20735 s,@BUILTINFLAG@,$BUILTINFLAG,;t t
20736 s,@DLLEXT@,$DLLEXT,;t t
20737 s,@DLLFLAGS@,$DLLFLAGS,;t t
20738 s,@DLLIBS@,$DLLIBS,;t t
20739 s,@LDSHARED@,$LDSHARED,;t t
20740 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
20741 s,@LIBEXT@,$LIBEXT,;t t
20742 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
20743 s,@DLLTOOL@,$DLLTOOL,;t t
20744 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
20745 s,@DLLWRAP@,$DLLWRAP,;t t
20746 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
20747 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
20748 s,@LDEXERPATH@,$LDEXERPATH,;t t
20749 s,@LDDLLRPATH@,$LDDLLRPATH,;t t
20750 s,@COREFOUNDATIONLIB@,$COREFOUNDATIONLIB,;t t
20751 s,@IOKITLIB@,$IOKITLIB,;t t
20752 s,@CROSSTEST@,$CROSSTEST,;t t
20753 s,@CROSSCC@,$CROSSCC,;t t
20754 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
20755 s,@LDPATH@,$LDPATH,;t t
20756 s,@CRTLIBS@,$CRTLIBS,;t t
20757 s,@SOCKETLIBS@,$SOCKETLIBS,;t t
20758 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
20759 s,@EXTRA_BINARIES@,$EXTRA_BINARIES,;t t
20761 s,@LIBOBJS@,$LIBOBJS,;t t
20762 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20763 /@MAKE_RULES@/r $MAKE_RULES
20764 s,@MAKE_RULES@,,;t t
20765 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
20766 s,@MAKE_DLL_RULES@,,;t t
20767 /@MAKE_IMPLIB_RULES@/r $MAKE_IMPLIB_RULES
20768 s,@MAKE_IMPLIB_RULES@,,;t t
20769 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
20770 s,@MAKE_TEST_RULES@,,;t t
20771 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
20772 s,@MAKE_LIB_RULES@,,;t t
20773 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
20774 s,@MAKE_PROG_RULES@,,;t t
20779 cat >>$CONFIG_STATUS <<\_ACEOF
20780 # Split the substitutions into bite-sized pieces for seds with
20781 # small command number limits, like on Digital OSF/1 and HP-UX.
20782 ac_max_sed_lines
=48
20783 ac_sed_frag
=1 # Number of current file.
20784 ac_beg
=1 # First line for current file.
20785 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20788 while $ac_more_lines; do
20789 if test $ac_beg -gt 1; then
20790 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20792 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20794 if test ! -s $tmp/subs.frag
; then
20795 ac_more_lines
=false
20797 # The purpose of the label and of the branching condition is to
20798 # speed up the sed processing (if there are no `@' at all, there
20799 # is no need to browse any of the substitutions).
20800 # These are the two extra sed commands mentioned above.
20802 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20803 if test -z "$ac_sed_cmds"; then
20804 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20806 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20808 ac_sed_frag
=`expr $ac_sed_frag + 1`
20810 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20813 if test -z "$ac_sed_cmds"; then
20816 fi # test -n "$CONFIG_FILES"
20819 cat >>$CONFIG_STATUS <<\_ACEOF
20820 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20821 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20823 - |
*:- |
*:-:* ) # input from stdin
20825 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20826 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20827 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20828 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20829 * ) ac_file_in
=$ac_file.
in ;;
20832 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20833 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20834 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20835 X"$ac_file" : 'X\(//\)[^/]' \| \
20836 X"$ac_file" : 'X\(//\)$' \| \
20837 X"$ac_file" : 'X\(/\)' \| \
20838 . : '\(.\)' 2>/dev/null ||
20840 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20841 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20842 /^X\(\/\/\)$/{ s//\1/; q; }
20843 /^X\(\/\).*/{ s//\1/; q; }
20845 { if $as_mkdir_p; then
20850 while test ! -d "$as_dir"; do
20851 as_dirs
="$as_dir $as_dirs"
20852 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20853 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20854 X"$as_dir" : 'X\(//\)[^/]' \| \
20855 X"$as_dir" : 'X\(//\)$' \| \
20856 X"$as_dir" : 'X\(/\)' \| \
20857 . : '\(.\)' 2>/dev/null ||
20859 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20860 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20861 /^X\(\/\/\)$/{ s//\1/; q; }
20862 /^X\(\/\).*/{ s//\1/; q; }
20865 test ! -n "$as_dirs" || mkdir
$as_dirs
20866 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20867 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20868 { (exit 1); exit 1; }; }; }
20872 if test "$ac_dir" != .
; then
20873 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20874 # A "../" for each directory in $ac_dir_suffix.
20875 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20877 ac_dir_suffix
= ac_top_builddir
=
20881 .
) # No --srcdir option. We are building in place.
20883 if test -z "$ac_top_builddir"; then
20886 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20888 [\\/]* | ?
:[\\/]* ) # Absolute path.
20889 ac_srcdir
=$srcdir$ac_dir_suffix;
20890 ac_top_srcdir
=$srcdir ;;
20891 *) # Relative path.
20892 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20893 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20896 # Do not use `cd foo && pwd` to compute absolute paths, because
20897 # the directories may not exist.
20899 .
) ac_abs_builddir
="$ac_dir";;
20902 .
) ac_abs_builddir
=`pwd`;;
20903 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20904 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20907 case $ac_abs_builddir in
20908 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20910 case ${ac_top_builddir}.
in
20911 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20912 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20913 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20916 case $ac_abs_builddir in
20917 .
) ac_abs_srcdir
=$ac_srcdir;;
20920 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20921 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20922 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20925 case $ac_abs_builddir in
20926 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20928 case $ac_top_srcdir in
20929 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20930 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20931 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20937 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20938 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
20941 # Let's still pretend it is `configure' which instantiates (i.e., don't
20942 # use $as_me), people would be surprised to read:
20943 # /* config.h. Generated by config.status. */
20944 if test x
"$ac_file" = x-
; then
20947 configure_input
="$ac_file. "
20949 configure_input
=$configure_input"Generated from `echo $ac_file_in |
20950 sed 's,.*/,,'` by configure."
20952 # First look for the input files in the build tree, otherwise in the
20954 ac_file_inputs
=`IFS=:
20955 for f in $ac_file_in; do
20957 -) echo $tmp/stdin ;;
20959 # Absolute (can't be DOS-style, as IFS=:)
20960 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20961 echo "$as_me: error: cannot find input file: $f" >&2;}
20962 { (exit 1); exit 1; }; }
20965 if test -f "$f"; then
20968 elif test -f "$srcdir/$f"; then
20973 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20974 echo "$as_me: error: cannot find input file: $f" >&2;}
20975 { (exit 1); exit 1; }; }
20978 done` ||
{ (exit 1); exit 1; }
20980 if test x
"$ac_file" != x-
; then
20981 { echo "$as_me:$LINENO: creating $ac_file" >&5
20982 echo "$as_me: creating $ac_file" >&6;}
20986 cat >>$CONFIG_STATUS <<_ACEOF
20990 cat >>$CONFIG_STATUS <<\_ACEOF
20992 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20993 s
,@configure_input@
,$configure_input,;t t
20994 s
,@srcdir@
,$ac_srcdir,;t t
20995 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20996 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20997 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20998 s
,@builddir@
,$ac_builddir,;t t
20999 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21000 s
,@top_builddir@
,$ac_top_builddir,;t t
21001 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21002 s
,@INSTALL@
,$ac_INSTALL,;t t
21003 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21005 if test x"$ac_file" != x-; then
21006 mv $tmp/out $ac_file
21014 cat >>$CONFIG_STATUS <<\_ACEOF
21017 # CONFIG_HEADER section.
21020 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21021 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21023 # ac_d sets the value in "#define NAME VALUE" lines.
21024 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21025 ac_dB
='[ ].*$,\1#\2'
21028 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21029 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21030 ac_uB
='$,\1#\2define\3'
21034 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21035 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21037 - |
*:- |
*:-:* ) # input from stdin
21039 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21040 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21041 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21042 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21043 * ) ac_file_in
=$ac_file.
in ;;
21046 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21047 echo "$as_me: creating $ac_file" >&6;}
21049 # First look for the input files in the build tree, otherwise in the
21051 ac_file_inputs
=`IFS=:
21052 for f in $ac_file_in; do
21054 -) echo $tmp/stdin ;;
21056 # Absolute (can't be DOS-style, as IFS=:)
21057 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21058 echo "$as_me: error: cannot find input file: $f" >&2;}
21059 { (exit 1); exit 1; }; }
21060 # Do quote $f, to prevent DOS paths from being IFS'd.
21063 if test -f "$f"; then
21066 elif test -f "$srcdir/$f"; then
21071 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21072 echo "$as_me: error: cannot find input file: $f" >&2;}
21073 { (exit 1); exit 1; }; }
21076 done` ||
{ (exit 1); exit 1; }
21077 # Remove the trailing spaces.
21078 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21082 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21083 # `conftest.undefs', that substitutes the proper values into
21084 # config.h.in to produce config.h. The first handles `#define'
21085 # templates, and the second `#undef' templates.
21086 # And first: Protect against being on the right side of a sed subst in
21087 # config.status. Protect against being in an unquoted here document
21088 # in config.status.
21089 rm -f conftest.defines conftest.undefs
21090 # Using a here document instead of a string reduces the quoting nightmare.
21091 # Putting comments in sed scripts is not portable.
21093 # `end' is used to avoid that the second main sed command (meant for
21094 # 0-ary CPP macros) applies to n-ary macro definitions.
21095 # See the Autoconf documentation for `clear'.
21096 cat >confdef2sed.
sed <<\_ACEOF
21101 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21103 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21106 # If some macros were called several times there might be several times
21107 # the same #defines, which is useless. Nevertheless, we may not want to
21108 # sort them, since we want the *last* AC-DEFINE to be honored.
21109 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21110 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21111 rm -f confdef2sed.sed
21113 # This sed command replaces #undef with comments. This is necessary, for
21114 # example, in the case of _POSIX_SOURCE, which is predefined and required
21115 # on some systems where configure will not decide to define it.
21116 cat >>conftest.undefs <<\_ACEOF
21117 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21120 # Break up conftest.defines because some shells have a limit on the size
21121 # of here documents, and old seds have small limits too (100 cmds).
21122 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21123 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21124 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21125 echo ' :' >>$CONFIG_STATUS
21126 rm -f conftest.tail
21127 while grep . conftest.defines >/dev/null
21129 # Write a limited-size here document to $tmp/defines.sed.
21130 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21131 # Speed up: don't consider the non `#define' lines.
21132 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21133 # Work around the forget-to-reset-the-flag bug.
21134 echo 't clr' >>$CONFIG_STATUS
21135 echo ': clr' >>$CONFIG_STATUS
21136 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21138 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21140 mv $tmp/out $tmp/in
21142 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21143 rm -f conftest.defines
21144 mv conftest.
tail conftest.defines
21146 rm -f conftest.defines
21147 echo ' fi # grep' >>$CONFIG_STATUS
21148 echo >>$CONFIG_STATUS
21150 # Break up conftest.undefs because some shells have a limit on the size
21151 # of here documents, and old seds have small limits too (100 cmds).
21152 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21153 rm -f conftest.
tail
21154 while grep . conftest.undefs
>/dev
/null
21156 # Write a limited-size here document to $tmp/undefs.sed.
21157 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21158 # Speed up: don't consider the non
`#undef'
21159 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21160 # Work around the forget-to-reset-the-flag bug.
21161 echo 't clr' >>$CONFIG_STATUS
21162 echo ': clr' >>$CONFIG_STATUS
21163 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21165 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21167 mv $tmp/out $tmp/in
21169 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21170 rm -f conftest.undefs
21171 mv conftest.tail conftest.undefs
21173 rm -f conftest.undefs
21175 cat >>$CONFIG_STATUS <<\_ACEOF
21176 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21177 # use $as_me), people would be surprised to read:
21178 # /* config.h. Generated by config.status. */
21179 if test x
"$ac_file" = x-
; then
21180 echo "/* Generated by configure. */" >$tmp/config.h
21182 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21184 cat $tmp/in >>$tmp/config.h
21186 if test x
"$ac_file" != x-
; then
21187 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21188 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21189 echo "$as_me: $ac_file is unchanged" >&6;}
21191 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21192 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21193 X"$ac_file" : 'X\(//\)[^/]' \| \
21194 X"$ac_file" : 'X\(//\)$' \| \
21195 X"$ac_file" : 'X\(/\)' \| \
21196 . : '\(.\)' 2>/dev/null ||
21198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21199 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21200 /^X\(\/\/\)$/{ s//\1/; q; }
21201 /^X\(\/\).*/{ s//\1/; q; }
21203 { if $as_mkdir_p; then
21208 while test ! -d "$as_dir"; do
21209 as_dirs
="$as_dir $as_dirs"
21210 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21211 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21212 X"$as_dir" : 'X\(//\)[^/]' \| \
21213 X"$as_dir" : 'X\(//\)$' \| \
21214 X"$as_dir" : 'X\(/\)' \| \
21215 . : '\(.\)' 2>/dev/null ||
21217 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21218 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21219 /^X\(\/\/\)$/{ s//\1/; q; }
21220 /^X\(\/\).*/{ s//\1/; q; }
21223 test ! -n "$as_dirs" || mkdir
$as_dirs
21224 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21225 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21226 { (exit 1); exit 1; }; }; }
21229 mv $tmp/config.h
$ac_file
21233 rm -f $tmp/config.h
21237 cat >>$CONFIG_STATUS <<\_ACEOF
21240 # CONFIG_COMMANDS section.
21242 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21243 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21244 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21245 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21246 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21247 X"$ac_dest" : 'X\(//\)[^/]' \| \
21248 X"$ac_dest" : 'X\(//\)$' \| \
21249 X"$ac_dest" : 'X\(/\)' \| \
21250 . : '\(.\)' 2>/dev/null ||
21252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21253 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21254 /^X\(\/\/\)$/{ s//\1/; q; }
21255 /^X\(\/\).*/{ s//\1/; q; }
21257 { if $as_mkdir_p; then
21262 while test ! -d "$as_dir"; do
21263 as_dirs
="$as_dir $as_dirs"
21264 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21265 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21266 X"$as_dir" : 'X\(//\)[^/]' \| \
21267 X"$as_dir" : 'X\(//\)$' \| \
21268 X"$as_dir" : 'X\(/\)' \| \
21269 . : '\(.\)' 2>/dev/null ||
21271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21272 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21273 /^X\(\/\/\)$/{ s//\1/; q; }
21274 /^X\(\/\).*/{ s//\1/; q; }
21277 test ! -n "$as_dirs" || mkdir
$as_dirs
21278 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21279 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21280 { (exit 1); exit 1; }; }; }
21284 if test "$ac_dir" != .
; then
21285 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21286 # A "../" for each directory in $ac_dir_suffix.
21287 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21289 ac_dir_suffix
= ac_top_builddir
=
21293 .
) # No --srcdir option. We are building in place.
21295 if test -z "$ac_top_builddir"; then
21298 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21300 [\\/]* | ?
:[\\/]* ) # Absolute path.
21301 ac_srcdir
=$srcdir$ac_dir_suffix;
21302 ac_top_srcdir
=$srcdir ;;
21303 *) # Relative path.
21304 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21305 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21308 # Do not use `cd foo && pwd` to compute absolute paths, because
21309 # the directories may not exist.
21311 .
) ac_abs_builddir
="$ac_dir";;
21314 .
) ac_abs_builddir
=`pwd`;;
21315 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21316 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21319 case $ac_abs_builddir in
21320 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21322 case ${ac_top_builddir}.
in
21323 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21324 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21325 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21328 case $ac_abs_builddir in
21329 .
) ac_abs_srcdir
=$ac_srcdir;;
21332 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21333 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21334 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21337 case $ac_abs_builddir in
21338 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21340 case $ac_top_srcdir in
21341 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21342 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21343 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21348 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21349 echo "$as_me: executing $ac_dest commands" >&6;}
21351 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21352 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
21353 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21354 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
21355 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21356 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
21357 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21358 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
21359 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21360 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
21361 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
21362 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
21367 cat >>$CONFIG_STATUS <<\_ACEOF
21369 { (exit 0); exit 0; }
21371 chmod +x
$CONFIG_STATUS
21372 ac_clean_files
=$ac_clean_files_save
21375 # configure is writing to config.log, and then calls config.status.
21376 # config.status does its own redirection, appending to config.log.
21377 # Unfortunately, on DOS this fails, as config.log is still kept open
21378 # by configure, so config.status won't be able to write to it; its
21379 # output is simply discarded. So we exec the FD to /dev/null,
21380 # effectively closing config.log, so it can be properly (re)opened and
21381 # appended to by config.status. When coming back to configure, we
21382 # need to make the FD available again.
21383 if test "$no_create" != yes; then
21385 ac_config_status_args
=
21386 test "$silent" = yes &&
21387 ac_config_status_args
="$ac_config_status_args --quiet"
21389 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21391 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21392 # would make configure fail if this is the last instruction.
21393 $ac_cs_success ||
{ (exit 1); exit 1; }
21398 if test "$have_x" = "no"
21401 echo "*** Warning: X development files not found. Wine will be built without"
21402 echo "*** X support, which currently does not work, and would probably not be"
21403 echo "*** what you want anyway. You will need to install devel packages of"
21404 echo "*** Xlib/Xfree86 at the very least."
21408 if test "$wine_cv_opengl_version_OK" = "no"
21411 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21412 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21416 if test "$wine_cv_msg_freetype" = "yes"
21419 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21420 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21421 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21422 echo "*** enable Wine to use TrueType fonts."
21426 if test "$wine_cv_msg_fonts" = "yes"
21429 echo "*** Warning: Freetype or Fontforge is missing."
21430 echo "*** Fonts will not be built. Dialog text may be invisible or unaligned."
21434 if test -z "$ALSALIBS" -a \
21435 -z "$ARTSC_LIBS" -a \
21436 -z "$AUDIOIOLIBS" -a \
21438 -z "$ESD_LIBS" -a \
21439 -z "$ac_cv_lib_soname_jack" -a \
21440 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
21441 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
21442 "$ac_cv_header_soundcard_h" != "yes"
21444 echo "*** No sound system was found. Windows applications will be silent."
21445 echo "*** The currently supported sound systems are:"
21446 echo "*** ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS"
21451 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."