2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20040914.
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
='20040914'
273 PACKAGE_STRING
='Wine 20040914'
274 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
276 ac_unique_file
="server/atom.c"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS WIN16_FILES WIN16_INSTALL build build_cpu build_vendor build_os host host_cpu host_vendor host_os SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPPBIN ac_ct_CPPBIN TOOLSDIR CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LEX LEXLIB LEX_OUTPUT_ROOT XLEX BISON AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES LN_S LN EGREP LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS DB2HTML DB2PDF DB2PS DB2TXT FONTFORGE LIBPTHREAD XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS ft_devel ft_devel2 FREETYPELIBS FREETYPEINCL FONTSSUBDIRS ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS LCMSLIBS CAPI4LINUXLIBS EXTRACFLAGS DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLLFLAGS LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS LDLIBWINEFLAGS COREFOUNDATIONLIB IOKITLIB CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS SOCKETLIBS WINE_BINARIES MAIN_BINARY LDD ALLOCA LIBOBJS LTLIBOBJS'
315 ac_subst_files
='MAKE_RULES MAKE_DLL_RULES MAKE_TEST_RULES MAKE_LIB_RULES MAKE_PROG_RULES'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CXX_set
=${CXX+set}
772 ac_env_CXX_value
=$CXX
773 ac_cv_env_CXX_set
=${CXX+set}
774 ac_cv_env_CXX_value
=$CXX
775 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
776 ac_env_CXXFLAGS_value
=$CXXFLAGS
777 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
778 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
779 ac_env_CPP_set
=${CPP+set}
780 ac_env_CPP_value
=$CPP
781 ac_cv_env_CPP_set
=${CPP+set}
782 ac_cv_env_CPP_value
=$CPP
785 # Report the --help message.
787 if test "$ac_init_help" = "long"; then
788 # Omit some internal or obsolete options to make the list less imposing.
789 # This message is too long to be a string in the A/UX 3.1 sh.
791 \`configure' configures Wine 20040914 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 20040914:";;
861 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
862 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
863 --disable-win16 do not include Win16 support
864 --disable-debug compile out all debugging messages
865 --disable-trace compile out TRACE messages
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 20040914
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 20040914, 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-debug or --disable-debug was given.
1371 if test "${enable_debug+set}" = set; then
1372 enableval="$enable_debug"
1375 # Check whether --enable-trace or --disable-trace was given.
1376 if test "${enable_trace+set}" = set; then
1377 enableval="$enable_trace"
1382 # Check whether --with-opengl or --without-opengl was given.
1383 if test "${with_opengl+set}" = set; then
1384 withval="$with_opengl"
1388 # Check whether --with-curses or --without-curses was given.
1389 if test "${with_curses+set}" = set; then
1390 withval="$with_curses"
1394 # Check whether --with-wine-tools or --without-wine-tools was given.
1395 if test "${with_wine_tools+set}" = set; then
1396 withval="$with_wine_tools"
1400 WIN16_FILES="\$(WIN16_FILES)"
1402 WIN16_INSTALL="\$(WIN16_INSTALL)"
1404 if test "x$enable_win16" = "xno"
1409 if test "x$enable_debug" = "xno"
1412 cat >>confdefs.h <<\_ACEOF
1413 #define NO_DEBUG_MSGS 1
1417 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1420 cat >>confdefs.h <<\_ACEOF
1421 #define NO_TRACE_MSGS 1
1427 # Make sure we can run config.sub.
1428 $ac_config_sub sun4 >/dev/null 2>&1 ||
1429 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1430 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1431 { (exit 1); exit 1; }; }
1433 echo "$as_me:$LINENO: checking build system type" >&5
1434 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1435 if test "${ac_cv_build+set}" = set; then
1436 echo $ECHO_N "(cached) $ECHO_C" >&6
1438 ac_cv_build_alias=$build_alias
1439 test -z "$ac_cv_build_alias" &&
1440 ac_cv_build_alias=`$ac_config_guess`
1441 test -z "$ac_cv_build_alias" &&
1442 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1443 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1444 { (exit 1); exit 1; }; }
1445 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1446 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1447 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1448 { (exit 1); exit 1; }; }
1451 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1452 echo "${ECHO_T}$ac_cv_build" >&6
1454 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1455 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1456 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1459 echo "$as_me:$LINENO: checking host system type" >&5
1460 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1461 if test "${ac_cv_host+set}" = set; then
1462 echo $ECHO_N "(cached) $ECHO_C" >&6
1464 ac_cv_host_alias=$host_alias
1465 test -z "$ac_cv_host_alias" &&
1466 ac_cv_host_alias=$ac_cv_build_alias
1467 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1468 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1469 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1470 { (exit 1); exit 1; }; }
1473 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1474 echo "${ECHO_T}$ac_cv_host" >&6
1476 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1477 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1478 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
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/Intrinsic.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/Intrinsic.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/Intrinsic.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/libXt.
$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 docbook2html db2html
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_DB2HTML+set}" = set; then
5586 echo $ECHO_N "(cached) $ECHO_C" >&6
5588 if test -n "$DB2HTML"; then
5589 ac_cv_prog_DB2HTML
="$DB2HTML" # 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_DB2HTML
="$ac_prog"
5599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5607 DB2HTML
=$ac_cv_prog_DB2HTML
5608 if test -n "$DB2HTML"; then
5609 echo "$as_me:$LINENO: result: $DB2HTML" >&5
5610 echo "${ECHO_T}$DB2HTML" >&6
5612 echo "$as_me:$LINENO: result: no" >&5
5613 echo "${ECHO_T}no" >&6
5616 test -n "$DB2HTML" && break
5618 test -n "$DB2HTML" || DB2HTML
="false"
5620 for ac_prog
in docbook2pdf db2pdf
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_DB2PDF+set}" = set; then
5627 echo $ECHO_N "(cached) $ECHO_C" >&6
5629 if test -n "$DB2PDF"; then
5630 ac_cv_prog_DB2PDF
="$DB2PDF" # 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_DB2PDF
="$ac_prog"
5640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5648 DB2PDF
=$ac_cv_prog_DB2PDF
5649 if test -n "$DB2PDF"; then
5650 echo "$as_me:$LINENO: result: $DB2PDF" >&5
5651 echo "${ECHO_T}$DB2PDF" >&6
5653 echo "$as_me:$LINENO: result: no" >&5
5654 echo "${ECHO_T}no" >&6
5657 test -n "$DB2PDF" && break
5659 test -n "$DB2PDF" || DB2PDF
="false"
5661 for ac_prog
in docbook2ps db2ps
5663 # Extract the first word of "$ac_prog", so it can be a program name with args.
5664 set dummy
$ac_prog; ac_word
=$2
5665 echo "$as_me:$LINENO: checking for $ac_word" >&5
5666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5667 if test "${ac_cv_prog_DB2PS+set}" = set; then
5668 echo $ECHO_N "(cached) $ECHO_C" >&6
5670 if test -n "$DB2PS"; then
5671 ac_cv_prog_DB2PS
="$DB2PS" # Let the user override the test.
5673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5677 test -z "$as_dir" && as_dir
=.
5678 for ac_exec_ext
in '' $ac_executable_extensions; do
5679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5680 ac_cv_prog_DB2PS
="$ac_prog"
5681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5689 DB2PS
=$ac_cv_prog_DB2PS
5690 if test -n "$DB2PS"; then
5691 echo "$as_me:$LINENO: result: $DB2PS" >&5
5692 echo "${ECHO_T}$DB2PS" >&6
5694 echo "$as_me:$LINENO: result: no" >&5
5695 echo "${ECHO_T}no" >&6
5698 test -n "$DB2PS" && break
5700 test -n "$DB2PS" || DB2PS
="false"
5702 for ac_prog
in docbook2txt db2txt
5704 # Extract the first word of "$ac_prog", so it can be a program name with args.
5705 set dummy
$ac_prog; ac_word
=$2
5706 echo "$as_me:$LINENO: checking for $ac_word" >&5
5707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5708 if test "${ac_cv_prog_DB2TXT+set}" = set; then
5709 echo $ECHO_N "(cached) $ECHO_C" >&6
5711 if test -n "$DB2TXT"; then
5712 ac_cv_prog_DB2TXT
="$DB2TXT" # Let the user override the test.
5714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5718 test -z "$as_dir" && as_dir
=.
5719 for ac_exec_ext
in '' $ac_executable_extensions; do
5720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5721 ac_cv_prog_DB2TXT
="$ac_prog"
5722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5730 DB2TXT
=$ac_cv_prog_DB2TXT
5731 if test -n "$DB2TXT"; then
5732 echo "$as_me:$LINENO: result: $DB2TXT" >&5
5733 echo "${ECHO_T}$DB2TXT" >&6
5735 echo "$as_me:$LINENO: result: no" >&5
5736 echo "${ECHO_T}no" >&6
5739 test -n "$DB2TXT" && break
5741 test -n "$DB2TXT" || DB2TXT
="false"
5743 for ac_prog
in fontforge
5745 # Extract the first word of "$ac_prog", so it can be a program name with args.
5746 set dummy
$ac_prog; ac_word
=$2
5747 echo "$as_me:$LINENO: checking for $ac_word" >&5
5748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5749 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
5750 echo $ECHO_N "(cached) $ECHO_C" >&6
5752 if test -n "$FONTFORGE"; then
5753 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5759 test -z "$as_dir" && as_dir
=.
5760 for ac_exec_ext
in '' $ac_executable_extensions; do
5761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5762 ac_cv_prog_FONTFORGE
="$ac_prog"
5763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5771 FONTFORGE
=$ac_cv_prog_FONTFORGE
5772 if test -n "$FONTFORGE"; then
5773 echo "$as_me:$LINENO: result: $FONTFORGE" >&5
5774 echo "${ECHO_T}$FONTFORGE" >&6
5776 echo "$as_me:$LINENO: result: no" >&5
5777 echo "${ECHO_T}no" >&6
5780 test -n "$FONTFORGE" && break
5782 test -n "$FONTFORGE" || FONTFORGE
="false"
5787 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5788 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5789 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5790 echo $ECHO_N "(cached) $ECHO_C" >&6
5792 ac_check_lib_save_LIBS
=$LIBS
5794 cat >conftest.
$ac_ext <<_ACEOF
5797 cat confdefs.h
>>conftest.
$ac_ext
5798 cat >>conftest.
$ac_ext <<_ACEOF
5799 /* end confdefs.h. */
5801 /* Override any gcc2 internal prototype to avoid an error. */
5805 /* We use char because int might match the return type of a gcc2
5806 builtin and then its argument prototype would still apply. */
5807 char i386_set_ldt ();
5816 rm -f conftest.
$ac_objext conftest
$ac_exeext
5817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5818 (eval $ac_link) 2>conftest.er1
5820 grep -v '^ *+' conftest.er1
>conftest.err
5822 cat conftest.err
>&5
5823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5824 (exit $ac_status); } &&
5825 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5830 (exit $ac_status); }; } &&
5831 { ac_try
='test -s conftest$ac_exeext'
5832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836 (exit $ac_status); }; }; then
5837 ac_cv_lib_i386_i386_set_ldt
=yes
5839 echo "$as_me: failed program was:" >&5
5840 sed 's/^/| /' conftest.
$ac_ext >&5
5842 ac_cv_lib_i386_i386_set_ldt
=no
5844 rm -f conftest.err conftest.
$ac_objext \
5845 conftest
$ac_exeext conftest.
$ac_ext
5846 LIBS
=$ac_check_lib_save_LIBS
5848 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5849 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5850 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5851 cat >>confdefs.h
<<_ACEOF
5852 #define HAVE_LIBI386 1
5860 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5861 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5862 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5863 echo $ECHO_N "(cached) $ECHO_C" >&6
5865 ac_check_lib_save_LIBS
=$LIBS
5866 LIBS
="-lossaudio $LIBS"
5867 cat >conftest.
$ac_ext <<_ACEOF
5870 cat confdefs.h
>>conftest.
$ac_ext
5871 cat >>conftest.
$ac_ext <<_ACEOF
5872 /* end confdefs.h. */
5874 /* Override any gcc2 internal prototype to avoid an error. */
5878 /* We use char because int might match the return type of a gcc2
5879 builtin and then its argument prototype would still apply. */
5889 rm -f conftest.
$ac_objext conftest
$ac_exeext
5890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5891 (eval $ac_link) 2>conftest.er1
5893 grep -v '^ *+' conftest.er1
>conftest.err
5895 cat conftest.err
>&5
5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897 (exit $ac_status); } &&
5898 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5903 (exit $ac_status); }; } &&
5904 { ac_try
='test -s conftest$ac_exeext'
5905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5909 (exit $ac_status); }; }; then
5910 ac_cv_lib_ossaudio__oss_ioctl
=yes
5912 echo "$as_me: failed program was:" >&5
5913 sed 's/^/| /' conftest.
$ac_ext >&5
5915 ac_cv_lib_ossaudio__oss_ioctl
=no
5917 rm -f conftest.err conftest.
$ac_objext \
5918 conftest
$ac_exeext conftest.
$ac_ext
5919 LIBS
=$ac_check_lib_save_LIBS
5921 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5922 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5923 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5924 cat >>confdefs.h
<<_ACEOF
5925 #define HAVE_LIBOSSAUDIO 1
5928 LIBS
="-lossaudio $LIBS"
5933 for ac_func
in iswalnum
5935 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5936 echo "$as_me:$LINENO: checking for $ac_func" >&5
5937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5938 if eval "test \"\${$as_ac_var+set}\" = set"; then
5939 echo $ECHO_N "(cached) $ECHO_C" >&6
5941 cat >conftest.
$ac_ext <<_ACEOF
5944 cat confdefs.h
>>conftest.
$ac_ext
5945 cat >>conftest.
$ac_ext <<_ACEOF
5946 /* end confdefs.h. */
5947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5949 #define $ac_func innocuous_$ac_func
5951 /* System header to define __stub macros and hopefully few prototypes,
5952 which can conflict with char $ac_func (); below.
5953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5954 <limits.h> exists even on freestanding compilers. */
5957 # include <limits.h>
5959 # include <assert.h>
5964 /* Override any gcc2 internal prototype to avoid an error. */
5969 /* We use char because int might match the return type of a gcc2
5970 builtin and then its argument prototype would still apply. */
5972 /* The GNU C library defines this for functions which it implements
5973 to always fail with ENOSYS. Some functions are actually named
5974 something starting with __ and the normal name is an alias. */
5975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5978 char (*f) () = $ac_func;
5987 return f != $ac_func;
5992 rm -f conftest.
$ac_objext conftest
$ac_exeext
5993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5994 (eval $ac_link) 2>conftest.er1
5996 grep -v '^ *+' conftest.er1
>conftest.err
5998 cat conftest.err
>&5
5999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6000 (exit $ac_status); } &&
6001 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006 (exit $ac_status); }; } &&
6007 { ac_try
='test -s conftest$ac_exeext'
6008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6012 (exit $ac_status); }; }; then
6013 eval "$as_ac_var=yes"
6015 echo "$as_me: failed program was:" >&5
6016 sed 's/^/| /' conftest.
$ac_ext >&5
6018 eval "$as_ac_var=no"
6020 rm -f conftest.err conftest.
$ac_objext \
6021 conftest
$ac_exeext conftest.
$ac_ext
6023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6025 if test `eval echo '${'$as_ac_var'}'` = yes; then
6026 cat >>confdefs.h
<<_ACEOF
6027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6032 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
6033 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
6034 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
6035 echo $ECHO_N "(cached) $ECHO_C" >&6
6037 ac_check_lib_save_LIBS
=$LIBS
6039 cat >conftest.
$ac_ext <<_ACEOF
6042 cat confdefs.h
>>conftest.
$ac_ext
6043 cat >>conftest.
$ac_ext <<_ACEOF
6044 /* end confdefs.h. */
6046 /* Override any gcc2 internal prototype to avoid an error. */
6050 /* We use char because int might match the return type of a gcc2
6051 builtin and then its argument prototype would still apply. */
6061 rm -f conftest.
$ac_objext conftest
$ac_exeext
6062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6063 (eval $ac_link) 2>conftest.er1
6065 grep -v '^ *+' conftest.er1
>conftest.err
6067 cat conftest.err
>&5
6068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6069 (exit $ac_status); } &&
6070 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075 (exit $ac_status); }; } &&
6076 { ac_try
='test -s conftest$ac_exeext'
6077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); }; }; then
6082 ac_cv_lib_w_iswalnum
=yes
6084 echo "$as_me: failed program was:" >&5
6085 sed 's/^/| /' conftest.
$ac_ext >&5
6087 ac_cv_lib_w_iswalnum
=no
6089 rm -f conftest.err conftest.
$ac_objext \
6090 conftest
$ac_exeext conftest.
$ac_ext
6091 LIBS
=$ac_check_lib_save_LIBS
6093 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
6094 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
6095 if test $ac_cv_lib_w_iswalnum = yes; then
6096 cat >>confdefs.h
<<_ACEOF
6108 for ac_func
in gethostbyname
6110 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6111 echo "$as_me:$LINENO: checking for $ac_func" >&5
6112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6113 if eval "test \"\${$as_ac_var+set}\" = set"; then
6114 echo $ECHO_N "(cached) $ECHO_C" >&6
6116 cat >conftest.
$ac_ext <<_ACEOF
6119 cat confdefs.h
>>conftest.
$ac_ext
6120 cat >>conftest.
$ac_ext <<_ACEOF
6121 /* end confdefs.h. */
6122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6124 #define $ac_func innocuous_$ac_func
6126 /* System header to define __stub macros and hopefully few prototypes,
6127 which can conflict with char $ac_func (); below.
6128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6129 <limits.h> exists even on freestanding compilers. */
6132 # include <limits.h>
6134 # include <assert.h>
6139 /* Override any gcc2 internal prototype to avoid an error. */
6144 /* We use char because int might match the return type of a gcc2
6145 builtin and then its argument prototype would still apply. */
6147 /* The GNU C library defines this for functions which it implements
6148 to always fail with ENOSYS. Some functions are actually named
6149 something starting with __ and the normal name is an alias. */
6150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6153 char (*f) () = $ac_func;
6162 return f != $ac_func;
6167 rm -f conftest.
$ac_objext conftest
$ac_exeext
6168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6169 (eval $ac_link) 2>conftest.er1
6171 grep -v '^ *+' conftest.er1
>conftest.err
6173 cat conftest.err
>&5
6174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6175 (exit $ac_status); } &&
6176 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181 (exit $ac_status); }; } &&
6182 { ac_try
='test -s conftest$ac_exeext'
6183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6187 (exit $ac_status); }; }; then
6188 eval "$as_ac_var=yes"
6190 echo "$as_me: failed program was:" >&5
6191 sed 's/^/| /' conftest.
$ac_ext >&5
6193 eval "$as_ac_var=no"
6195 rm -f conftest.err conftest.
$ac_objext \
6196 conftest
$ac_exeext conftest.
$ac_ext
6198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6200 if test `eval echo '${'$as_ac_var'}'` = yes; then
6201 cat >>confdefs.h
<<_ACEOF
6202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6207 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6208 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6209 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6210 echo $ECHO_N "(cached) $ECHO_C" >&6
6212 ac_check_lib_save_LIBS
=$LIBS
6214 cat >conftest.
$ac_ext <<_ACEOF
6217 cat confdefs.h
>>conftest.
$ac_ext
6218 cat >>conftest.
$ac_ext <<_ACEOF
6219 /* end confdefs.h. */
6221 /* Override any gcc2 internal prototype to avoid an error. */
6225 /* We use char because int might match the return type of a gcc2
6226 builtin and then its argument prototype would still apply. */
6227 char gethostbyname ();
6236 rm -f conftest.
$ac_objext conftest
$ac_exeext
6237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6238 (eval $ac_link) 2>conftest.er1
6240 grep -v '^ *+' conftest.er1
>conftest.err
6242 cat conftest.err
>&5
6243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6244 (exit $ac_status); } &&
6245 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250 (exit $ac_status); }; } &&
6251 { ac_try
='test -s conftest$ac_exeext'
6252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 (exit $ac_status); }; }; then
6257 ac_cv_lib_nsl_gethostbyname
=yes
6259 echo "$as_me: failed program was:" >&5
6260 sed 's/^/| /' conftest.
$ac_ext >&5
6262 ac_cv_lib_nsl_gethostbyname
=no
6264 rm -f conftest.err conftest.
$ac_objext \
6265 conftest
$ac_exeext conftest.
$ac_ext
6266 LIBS
=$ac_check_lib_save_LIBS
6268 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6269 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6270 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6271 cat >>confdefs.h
<<_ACEOF
6272 #define HAVE_LIBNSL 1
6283 for ac_func
in connect
6285 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6286 echo "$as_me:$LINENO: checking for $ac_func" >&5
6287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6288 if eval "test \"\${$as_ac_var+set}\" = set"; then
6289 echo $ECHO_N "(cached) $ECHO_C" >&6
6291 cat >conftest.
$ac_ext <<_ACEOF
6294 cat confdefs.h
>>conftest.
$ac_ext
6295 cat >>conftest.
$ac_ext <<_ACEOF
6296 /* end confdefs.h. */
6297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6299 #define $ac_func innocuous_$ac_func
6301 /* System header to define __stub macros and hopefully few prototypes,
6302 which can conflict with char $ac_func (); below.
6303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6304 <limits.h> exists even on freestanding compilers. */
6307 # include <limits.h>
6309 # include <assert.h>
6314 /* Override any gcc2 internal prototype to avoid an error. */
6319 /* We use char because int might match the return type of a gcc2
6320 builtin and then its argument prototype would still apply. */
6322 /* The GNU C library defines this for functions which it implements
6323 to always fail with ENOSYS. Some functions are actually named
6324 something starting with __ and the normal name is an alias. */
6325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6328 char (*f) () = $ac_func;
6337 return f != $ac_func;
6342 rm -f conftest.
$ac_objext conftest
$ac_exeext
6343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6344 (eval $ac_link) 2>conftest.er1
6346 grep -v '^ *+' conftest.er1
>conftest.err
6348 cat conftest.err
>&5
6349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6350 (exit $ac_status); } &&
6351 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6356 (exit $ac_status); }; } &&
6357 { ac_try
='test -s conftest$ac_exeext'
6358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); }; }; then
6363 eval "$as_ac_var=yes"
6365 echo "$as_me: failed program was:" >&5
6366 sed 's/^/| /' conftest.
$ac_ext >&5
6368 eval "$as_ac_var=no"
6370 rm -f conftest.err conftest.
$ac_objext \
6371 conftest
$ac_exeext conftest.
$ac_ext
6373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6375 if test `eval echo '${'$as_ac_var'}'` = yes; then
6376 cat >>confdefs.h
<<_ACEOF
6377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6382 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6383 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6384 if test "${ac_cv_lib_socket_connect+set}" = set; then
6385 echo $ECHO_N "(cached) $ECHO_C" >&6
6387 ac_check_lib_save_LIBS
=$LIBS
6388 LIBS
="-lsocket $LIBS"
6389 cat >conftest.
$ac_ext <<_ACEOF
6392 cat confdefs.h
>>conftest.
$ac_ext
6393 cat >>conftest.
$ac_ext <<_ACEOF
6394 /* end confdefs.h. */
6396 /* Override any gcc2 internal prototype to avoid an error. */
6400 /* We use char because int might match the return type of a gcc2
6401 builtin and then its argument prototype would still apply. */
6411 rm -f conftest.
$ac_objext conftest
$ac_exeext
6412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6413 (eval $ac_link) 2>conftest.er1
6415 grep -v '^ *+' conftest.er1
>conftest.err
6417 cat conftest.err
>&5
6418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6419 (exit $ac_status); } &&
6420 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6425 (exit $ac_status); }; } &&
6426 { ac_try
='test -s conftest$ac_exeext'
6427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431 (exit $ac_status); }; }; then
6432 ac_cv_lib_socket_connect
=yes
6434 echo "$as_me: failed program was:" >&5
6435 sed 's/^/| /' conftest.
$ac_ext >&5
6437 ac_cv_lib_socket_connect
=no
6439 rm -f conftest.err conftest.
$ac_objext \
6440 conftest
$ac_exeext conftest.
$ac_ext
6441 LIBS
=$ac_check_lib_save_LIBS
6443 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6444 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6445 if test $ac_cv_lib_socket_connect = yes; then
6446 cat >>confdefs.h
<<_ACEOF
6447 #define HAVE_LIBSOCKET 1
6450 LIBS
="-lsocket $LIBS"
6458 for ac_func
in inet_aton
6460 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6461 echo "$as_me:$LINENO: checking for $ac_func" >&5
6462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6463 if eval "test \"\${$as_ac_var+set}\" = set"; then
6464 echo $ECHO_N "(cached) $ECHO_C" >&6
6466 cat >conftest.
$ac_ext <<_ACEOF
6469 cat confdefs.h
>>conftest.
$ac_ext
6470 cat >>conftest.
$ac_ext <<_ACEOF
6471 /* end confdefs.h. */
6472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6474 #define $ac_func innocuous_$ac_func
6476 /* System header to define __stub macros and hopefully few prototypes,
6477 which can conflict with char $ac_func (); below.
6478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6479 <limits.h> exists even on freestanding compilers. */
6482 # include <limits.h>
6484 # include <assert.h>
6489 /* Override any gcc2 internal prototype to avoid an error. */
6494 /* We use char because int might match the return type of a gcc2
6495 builtin and then its argument prototype would still apply. */
6497 /* The GNU C library defines this for functions which it implements
6498 to always fail with ENOSYS. Some functions are actually named
6499 something starting with __ and the normal name is an alias. */
6500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6503 char (*f) () = $ac_func;
6512 return f != $ac_func;
6517 rm -f conftest.
$ac_objext conftest
$ac_exeext
6518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6519 (eval $ac_link) 2>conftest.er1
6521 grep -v '^ *+' conftest.er1
>conftest.err
6523 cat conftest.err
>&5
6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); } &&
6526 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); }; } &&
6532 { ac_try
='test -s conftest$ac_exeext'
6533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6537 (exit $ac_status); }; }; then
6538 eval "$as_ac_var=yes"
6540 echo "$as_me: failed program was:" >&5
6541 sed 's/^/| /' conftest.
$ac_ext >&5
6543 eval "$as_ac_var=no"
6545 rm -f conftest.err conftest.
$ac_objext \
6546 conftest
$ac_exeext conftest.
$ac_ext
6548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6550 if test `eval echo '${'$as_ac_var'}'` = yes; then
6551 cat >>confdefs.h
<<_ACEOF
6552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6557 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6558 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6559 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6560 echo $ECHO_N "(cached) $ECHO_C" >&6
6562 ac_check_lib_save_LIBS
=$LIBS
6563 LIBS
="-lresolv $LIBS"
6564 cat >conftest.
$ac_ext <<_ACEOF
6567 cat confdefs.h
>>conftest.
$ac_ext
6568 cat >>conftest.
$ac_ext <<_ACEOF
6569 /* end confdefs.h. */
6571 /* Override any gcc2 internal prototype to avoid an error. */
6575 /* We use char because int might match the return type of a gcc2
6576 builtin and then its argument prototype would still apply. */
6586 rm -f conftest.
$ac_objext conftest
$ac_exeext
6587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6588 (eval $ac_link) 2>conftest.er1
6590 grep -v '^ *+' conftest.er1
>conftest.err
6592 cat conftest.err
>&5
6593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6594 (exit $ac_status); } &&
6595 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6600 (exit $ac_status); }; } &&
6601 { ac_try
='test -s conftest$ac_exeext'
6602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606 (exit $ac_status); }; }; then
6607 ac_cv_lib_resolv_inet_aton
=yes
6609 echo "$as_me: failed program was:" >&5
6610 sed 's/^/| /' conftest.
$ac_ext >&5
6612 ac_cv_lib_resolv_inet_aton
=no
6614 rm -f conftest.err conftest.
$ac_objext \
6615 conftest
$ac_exeext conftest.
$ac_ext
6616 LIBS
=$ac_check_lib_save_LIBS
6618 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6619 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6620 if test $ac_cv_lib_resolv_inet_aton = yes; then
6621 cat >>confdefs.h
<<_ACEOF
6622 #define HAVE_LIBRESOLV 1
6625 LIBS
="-lresolv $LIBS"
6633 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6634 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6635 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6636 echo $ECHO_N "(cached) $ECHO_C" >&6
6638 ac_check_lib_save_LIBS
=$LIBS
6640 cat >conftest.
$ac_ext <<_ACEOF
6643 cat confdefs.h
>>conftest.
$ac_ext
6644 cat >>conftest.
$ac_ext <<_ACEOF
6645 /* end confdefs.h. */
6647 /* Override any gcc2 internal prototype to avoid an error. */
6651 /* We use char because int might match the return type of a gcc2
6652 builtin and then its argument prototype would still apply. */
6653 char _xpg4_setrunelocale ();
6657 _xpg4_setrunelocale ();
6662 rm -f conftest.
$ac_objext conftest
$ac_exeext
6663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6664 (eval $ac_link) 2>conftest.er1
6666 grep -v '^ *+' conftest.er1
>conftest.err
6668 cat conftest.err
>&5
6669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6670 (exit $ac_status); } &&
6671 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6676 (exit $ac_status); }; } &&
6677 { ac_try
='test -s conftest$ac_exeext'
6678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6682 (exit $ac_status); }; }; then
6683 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
6685 echo "$as_me: failed program was:" >&5
6686 sed 's/^/| /' conftest.
$ac_ext >&5
6688 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
6690 rm -f conftest.err conftest.
$ac_objext \
6691 conftest
$ac_exeext conftest.
$ac_ext
6692 LIBS
=$ac_check_lib_save_LIBS
6694 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6695 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6696 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6697 cat >>confdefs.h
<<_ACEOF
6698 #define HAVE_LIBXPG4 1
6706 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6707 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6708 if test "${ac_cv_lib_poll_poll+set}" = set; then
6709 echo $ECHO_N "(cached) $ECHO_C" >&6
6711 ac_check_lib_save_LIBS
=$LIBS
6713 cat >conftest.
$ac_ext <<_ACEOF
6716 cat confdefs.h
>>conftest.
$ac_ext
6717 cat >>conftest.
$ac_ext <<_ACEOF
6718 /* end confdefs.h. */
6720 /* Override any gcc2 internal prototype to avoid an error. */
6724 /* We use char because int might match the return type of a gcc2
6725 builtin and then its argument prototype would still apply. */
6735 rm -f conftest.
$ac_objext conftest
$ac_exeext
6736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6737 (eval $ac_link) 2>conftest.er1
6739 grep -v '^ *+' conftest.er1
>conftest.err
6741 cat conftest.err
>&5
6742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6743 (exit $ac_status); } &&
6744 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6749 (exit $ac_status); }; } &&
6750 { ac_try
='test -s conftest$ac_exeext'
6751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6755 (exit $ac_status); }; }; then
6756 ac_cv_lib_poll_poll
=yes
6758 echo "$as_me: failed program was:" >&5
6759 sed 's/^/| /' conftest.
$ac_ext >&5
6761 ac_cv_lib_poll_poll
=no
6763 rm -f conftest.err conftest.
$ac_objext \
6764 conftest
$ac_exeext conftest.
$ac_ext
6765 LIBS
=$ac_check_lib_save_LIBS
6767 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6768 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6769 if test $ac_cv_lib_poll_poll = yes; then
6770 cat >>confdefs.h
<<_ACEOF
6771 #define HAVE_LIBPOLL 1
6779 echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
6780 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6
6781 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
6782 echo $ECHO_N "(cached) $ECHO_C" >&6
6784 ac_check_lib_save_LIBS
=$LIBS
6785 LIBS
="-lresolv $LIBS"
6786 cat >conftest.
$ac_ext <<_ACEOF
6789 cat confdefs.h
>>conftest.
$ac_ext
6790 cat >>conftest.
$ac_ext <<_ACEOF
6791 /* end confdefs.h. */
6793 /* Override any gcc2 internal prototype to avoid an error. */
6797 /* We use char because int might match the return type of a gcc2
6798 builtin and then its argument prototype would still apply. */
6808 rm -f conftest.
$ac_objext conftest
$ac_exeext
6809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6810 (eval $ac_link) 2>conftest.er1
6812 grep -v '^ *+' conftest.er1
>conftest.err
6814 cat conftest.err
>&5
6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816 (exit $ac_status); } &&
6817 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6822 (exit $ac_status); }; } &&
6823 { ac_try
='test -s conftest$ac_exeext'
6824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6828 (exit $ac_status); }; }; then
6829 ac_cv_lib_resolv_res_9_init
=yes
6831 echo "$as_me: failed program was:" >&5
6832 sed 's/^/| /' conftest.
$ac_ext >&5
6834 ac_cv_lib_resolv_res_9_init
=no
6836 rm -f conftest.err conftest.
$ac_objext \
6837 conftest
$ac_exeext conftest.
$ac_ext
6838 LIBS
=$ac_check_lib_save_LIBS
6840 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
6841 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6
6842 if test $ac_cv_lib_resolv_res_9_init = yes; then
6843 cat >>confdefs.h
<<_ACEOF
6844 #define HAVE_LIBRESOLV 1
6847 LIBS
="-lresolv $LIBS"
6851 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6852 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6853 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6854 echo $ECHO_N "(cached) $ECHO_C" >&6
6856 ac_check_lib_save_LIBS
=$LIBS
6857 LIBS
="-lpthread $LIBS"
6858 cat >conftest.
$ac_ext <<_ACEOF
6861 cat confdefs.h
>>conftest.
$ac_ext
6862 cat >>conftest.
$ac_ext <<_ACEOF
6863 /* end confdefs.h. */
6865 /* Override any gcc2 internal prototype to avoid an error. */
6869 /* We use char because int might match the return type of a gcc2
6870 builtin and then its argument prototype would still apply. */
6871 char pthread_create ();
6880 rm -f conftest.
$ac_objext conftest
$ac_exeext
6881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6882 (eval $ac_link) 2>conftest.er1
6884 grep -v '^ *+' conftest.er1
>conftest.err
6886 cat conftest.err
>&5
6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); } &&
6889 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894 (exit $ac_status); }; } &&
6895 { ac_try
='test -s conftest$ac_exeext'
6896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6900 (exit $ac_status); }; }; then
6901 ac_cv_lib_pthread_pthread_create
=yes
6903 echo "$as_me: failed program was:" >&5
6904 sed 's/^/| /' conftest.
$ac_ext >&5
6906 ac_cv_lib_pthread_pthread_create
=no
6908 rm -f conftest.err conftest.
$ac_objext \
6909 conftest
$ac_exeext conftest.
$ac_ext
6910 LIBS
=$ac_check_lib_save_LIBS
6912 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6913 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6914 if test $ac_cv_lib_pthread_pthread_create = yes; then
6915 LIBPTHREAD
="-lpthread"
6929 if test "$have_x" = "yes"
6932 ac_save_CPPFLAGS
="$CPPFLAGS"
6933 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
6935 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6936 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6937 if test "${ac_cv_header_stdc+set}" = set; then
6938 echo $ECHO_N "(cached) $ECHO_C" >&6
6940 cat >conftest.
$ac_ext <<_ACEOF
6943 cat confdefs.h
>>conftest.
$ac_ext
6944 cat >>conftest.
$ac_ext <<_ACEOF
6945 /* end confdefs.h. */
6959 rm -f conftest.
$ac_objext
6960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6961 (eval $ac_compile) 2>conftest.er1
6963 grep -v '^ *+' conftest.er1
>conftest.err
6965 cat conftest.err
>&5
6966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6967 (exit $ac_status); } &&
6968 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); }; } &&
6974 { ac_try
='test -s conftest.$ac_objext'
6975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6979 (exit $ac_status); }; }; then
6980 ac_cv_header_stdc
=yes
6982 echo "$as_me: failed program was:" >&5
6983 sed 's/^/| /' conftest.
$ac_ext >&5
6985 ac_cv_header_stdc
=no
6987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6989 if test $ac_cv_header_stdc = yes; then
6990 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6991 cat >conftest.
$ac_ext <<_ACEOF
6994 cat confdefs.h
>>conftest.
$ac_ext
6995 cat >>conftest.
$ac_ext <<_ACEOF
6996 /* end confdefs.h. */
7000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7001 $EGREP "memchr" >/dev
/null
2>&1; then
7004 ac_cv_header_stdc
=no
7010 if test $ac_cv_header_stdc = yes; then
7011 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7012 cat >conftest.
$ac_ext <<_ACEOF
7015 cat confdefs.h
>>conftest.
$ac_ext
7016 cat >>conftest.
$ac_ext <<_ACEOF
7017 /* end confdefs.h. */
7021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7022 $EGREP "free" >/dev
/null
2>&1; then
7025 ac_cv_header_stdc
=no
7031 if test $ac_cv_header_stdc = yes; then
7032 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7033 if test "$cross_compiling" = yes; then
7036 cat >conftest.
$ac_ext <<_ACEOF
7039 cat confdefs.h
>>conftest.
$ac_ext
7040 cat >>conftest.
$ac_ext <<_ACEOF
7041 /* end confdefs.h. */
7043 #if ((' ' & 0x0FF) == 0x020)
7044 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7045 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7047 # define ISLOWER(c) \
7048 (('a' <= (c) && (c) <= 'i') \
7049 || ('j' <= (c) && (c) <= 'r') \
7050 || ('s' <= (c) && (c) <= 'z'))
7051 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7054 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7059 for (i = 0; i < 256; i++)
7060 if (XOR (islower (i), ISLOWER (i))
7061 || toupper (i) != TOUPPER (i))
7066 rm -f conftest
$ac_exeext
7067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7068 (eval $ac_link) 2>&5
7070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7071 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076 (exit $ac_status); }; }; then
7079 echo "$as_me: program exited with status $ac_status" >&5
7080 echo "$as_me: failed program was:" >&5
7081 sed 's/^/| /' conftest.
$ac_ext >&5
7084 ac_cv_header_stdc
=no
7086 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7090 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7091 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7092 if test $ac_cv_header_stdc = yes; then
7094 cat >>confdefs.h
<<\_ACEOF
7095 #define STDC_HEADERS 1
7100 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7110 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7111 inttypes.h stdint.h unistd.h
7113 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7114 echo "$as_me:$LINENO: checking for $ac_header" >&5
7115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7117 echo $ECHO_N "(cached) $ECHO_C" >&6
7119 cat >conftest.
$ac_ext <<_ACEOF
7122 cat confdefs.h
>>conftest.
$ac_ext
7123 cat >>conftest.
$ac_ext <<_ACEOF
7124 /* end confdefs.h. */
7125 $ac_includes_default
7127 #include <$ac_header>
7129 rm -f conftest.
$ac_objext
7130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7131 (eval $ac_compile) 2>conftest.er1
7133 grep -v '^ *+' conftest.er1
>conftest.err
7135 cat conftest.err
>&5
7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137 (exit $ac_status); } &&
7138 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143 (exit $ac_status); }; } &&
7144 { ac_try
='test -s conftest.$ac_objext'
7145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7149 (exit $ac_status); }; }; then
7150 eval "$as_ac_Header=yes"
7152 echo "$as_me: failed program was:" >&5
7153 sed 's/^/| /' conftest.
$ac_ext >&5
7155 eval "$as_ac_Header=no"
7157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7162 cat >>confdefs.h
<<_ACEOF
7163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7172 for ac_header
in X11
/Xlib.h
7174 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7175 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7176 echo "$as_me:$LINENO: checking for $ac_header" >&5
7177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7179 echo $ECHO_N "(cached) $ECHO_C" >&6
7181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7182 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7184 # Is the header compilable?
7185 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7186 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7187 cat >conftest.
$ac_ext <<_ACEOF
7190 cat confdefs.h
>>conftest.
$ac_ext
7191 cat >>conftest.
$ac_ext <<_ACEOF
7192 /* end confdefs.h. */
7193 $ac_includes_default
7194 #include <$ac_header>
7196 rm -f conftest.
$ac_objext
7197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7198 (eval $ac_compile) 2>conftest.er1
7200 grep -v '^ *+' conftest.er1
>conftest.err
7202 cat conftest.err
>&5
7203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7204 (exit $ac_status); } &&
7205 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7210 (exit $ac_status); }; } &&
7211 { ac_try
='test -s conftest.$ac_objext'
7212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7216 (exit $ac_status); }; }; then
7217 ac_header_compiler
=yes
7219 echo "$as_me: failed program was:" >&5
7220 sed 's/^/| /' conftest.
$ac_ext >&5
7222 ac_header_compiler
=no
7224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7225 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7226 echo "${ECHO_T}$ac_header_compiler" >&6
7228 # Is the header present?
7229 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7230 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7231 cat >conftest.
$ac_ext <<_ACEOF
7234 cat confdefs.h
>>conftest.
$ac_ext
7235 cat >>conftest.
$ac_ext <<_ACEOF
7236 /* end confdefs.h. */
7237 #include <$ac_header>
7239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7240 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7242 grep -v '^ *+' conftest.er1
>conftest.err
7244 cat conftest.err
>&5
7245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246 (exit $ac_status); } >/dev
/null
; then
7247 if test -s conftest.err
; then
7248 ac_cpp_err
=$ac_c_preproc_warn_flag
7249 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7256 if test -z "$ac_cpp_err"; then
7257 ac_header_preproc
=yes
7259 echo "$as_me: failed program was:" >&5
7260 sed 's/^/| /' conftest.
$ac_ext >&5
7262 ac_header_preproc
=no
7264 rm -f conftest.err conftest.
$ac_ext
7265 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7266 echo "${ECHO_T}$ac_header_preproc" >&6
7268 # So? What about this header?
7269 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7271 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7272 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7273 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7274 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7275 ac_header_preproc
=yes
7278 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7279 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7280 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7281 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7282 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7283 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7284 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7285 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7287 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7288 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7289 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7292 ## ------------------------------------ ##
7293 ## Report this to wine-devel@winehq.org ##
7294 ## ------------------------------------ ##
7297 sed "s/^/$as_me: WARNING: /" >&2
7300 echo "$as_me:$LINENO: checking for $ac_header" >&5
7301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7303 echo $ECHO_N "(cached) $ECHO_C" >&6
7305 eval "$as_ac_Header=\$ac_header_preproc"
7307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7311 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7312 cat >>confdefs.h
<<_ACEOF
7313 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7326 for ac_header
in X11
/XKBlib.h \
7328 X11
/extensions
/shape.h \
7329 X11
/extensions
/XInput.h \
7330 X11
/extensions
/XShm.h \
7331 X11
/extensions
/Xrandr.h \
7332 X11
/extensions
/Xrender.h \
7333 X11
/extensions
/Xvlib.h \
7334 X11
/extensions
/xf86dga.h \
7335 X11
/extensions
/xf86vmode.h
7337 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7338 echo "$as_me:$LINENO: checking for $ac_header" >&5
7339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7341 echo $ECHO_N "(cached) $ECHO_C" >&6
7343 cat >conftest.
$ac_ext <<_ACEOF
7346 cat confdefs.h
>>conftest.
$ac_ext
7347 cat >>conftest.
$ac_ext <<_ACEOF
7348 /* end confdefs.h. */
7349 #include <X11/Xlib.h>
7350 #ifdef HAVE_X11_XUTIL_H
7351 # include <X11/Xutil.h>
7354 #include <$ac_header>
7356 rm -f conftest.
$ac_objext
7357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7358 (eval $ac_compile) 2>conftest.er1
7360 grep -v '^ *+' conftest.er1
>conftest.err
7362 cat conftest.err
>&5
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); } &&
7365 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); }; } &&
7371 { ac_try
='test -s conftest.$ac_objext'
7372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7376 (exit $ac_status); }; }; then
7377 eval "$as_ac_Header=yes"
7379 echo "$as_me: failed program was:" >&5
7380 sed 's/^/| /' conftest.
$ac_ext >&5
7382 eval "$as_ac_Header=no"
7384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7388 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7389 cat >>confdefs.h
<<_ACEOF
7390 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7398 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7400 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7401 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7402 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7403 echo $ECHO_N "(cached) $ECHO_C" >&6
7405 ac_check_lib_save_LIBS
=$LIBS
7406 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7407 cat >conftest.
$ac_ext <<_ACEOF
7410 cat confdefs.h
>>conftest.
$ac_ext
7411 cat >>conftest.
$ac_ext <<_ACEOF
7412 /* end confdefs.h. */
7414 /* Override any gcc2 internal prototype to avoid an error. */
7418 /* We use char because int might match the return type of a gcc2
7419 builtin and then its argument prototype would still apply. */
7420 char XkbQueryExtension ();
7424 XkbQueryExtension ();
7429 rm -f conftest.
$ac_objext conftest
$ac_exeext
7430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7431 (eval $ac_link) 2>conftest.er1
7433 grep -v '^ *+' conftest.er1
>conftest.err
7435 cat conftest.err
>&5
7436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437 (exit $ac_status); } &&
7438 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443 (exit $ac_status); }; } &&
7444 { ac_try
='test -s conftest$ac_exeext'
7445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7449 (exit $ac_status); }; }; then
7450 ac_cv_lib_X11_XkbQueryExtension
=yes
7452 echo "$as_me: failed program was:" >&5
7453 sed 's/^/| /' conftest.
$ac_ext >&5
7455 ac_cv_lib_X11_XkbQueryExtension
=no
7457 rm -f conftest.err conftest.
$ac_objext \
7458 conftest
$ac_exeext conftest.
$ac_ext
7459 LIBS
=$ac_check_lib_save_LIBS
7461 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7462 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7463 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7465 cat >>confdefs.h
<<\_ACEOF
7473 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7475 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7476 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7477 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7478 echo $ECHO_N "(cached) $ECHO_C" >&6
7480 ac_check_lib_save_LIBS
=$LIBS
7481 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7482 cat >conftest.
$ac_ext <<_ACEOF
7485 cat confdefs.h
>>conftest.
$ac_ext
7486 cat >>conftest.
$ac_ext <<_ACEOF
7487 /* end confdefs.h. */
7489 /* Override any gcc2 internal prototype to avoid an error. */
7493 /* We use char because int might match the return type of a gcc2
7494 builtin and then its argument prototype would still apply. */
7495 char XShmQueryExtension ();
7499 XShmQueryExtension ();
7504 rm -f conftest.
$ac_objext conftest
$ac_exeext
7505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7506 (eval $ac_link) 2>conftest.er1
7508 grep -v '^ *+' conftest.er1
>conftest.err
7510 cat conftest.err
>&5
7511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 (exit $ac_status); } &&
7513 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7518 (exit $ac_status); }; } &&
7519 { ac_try
='test -s conftest$ac_exeext'
7520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7524 (exit $ac_status); }; }; then
7525 ac_cv_lib_Xext_XShmQueryExtension
=yes
7527 echo "$as_me: failed program was:" >&5
7528 sed 's/^/| /' conftest.
$ac_ext >&5
7530 ac_cv_lib_Xext_XShmQueryExtension
=no
7532 rm -f conftest.err conftest.
$ac_objext \
7533 conftest
$ac_exeext conftest.
$ac_ext
7534 LIBS
=$ac_check_lib_save_LIBS
7536 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7537 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7538 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7540 cat >>confdefs.h
<<\_ACEOF
7541 #define HAVE_LIBXXSHM 1
7548 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7550 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7551 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7552 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7553 echo $ECHO_N "(cached) $ECHO_C" >&6
7555 ac_check_lib_save_LIBS
=$LIBS
7556 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7557 cat >conftest.
$ac_ext <<_ACEOF
7560 cat confdefs.h
>>conftest.
$ac_ext
7561 cat >>conftest.
$ac_ext <<_ACEOF
7562 /* end confdefs.h. */
7564 /* Override any gcc2 internal prototype to avoid an error. */
7568 /* We use char because int might match the return type of a gcc2
7569 builtin and then its argument prototype would still apply. */
7570 char XShapeQueryExtension ();
7574 XShapeQueryExtension ();
7579 rm -f conftest.
$ac_objext conftest
$ac_exeext
7580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7581 (eval $ac_link) 2>conftest.er1
7583 grep -v '^ *+' conftest.er1
>conftest.err
7585 cat conftest.err
>&5
7586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7587 (exit $ac_status); } &&
7588 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7593 (exit $ac_status); }; } &&
7594 { ac_try
='test -s conftest$ac_exeext'
7595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7599 (exit $ac_status); }; }; then
7600 ac_cv_lib_Xext_XShapeQueryExtension
=yes
7602 echo "$as_me: failed program was:" >&5
7603 sed 's/^/| /' conftest.
$ac_ext >&5
7605 ac_cv_lib_Xext_XShapeQueryExtension
=no
7607 rm -f conftest.err conftest.
$ac_objext \
7608 conftest
$ac_exeext conftest.
$ac_ext
7609 LIBS
=$ac_check_lib_save_LIBS
7611 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7612 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
7613 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7615 cat >>confdefs.h
<<\_ACEOF
7616 #define HAVE_LIBXSHAPE 1
7623 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
7625 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
7626 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7627 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
7628 echo $ECHO_N "(cached) $ECHO_C" >&6
7630 ac_check_lib_save_LIBS
=$LIBS
7631 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7632 cat >conftest.
$ac_ext <<_ACEOF
7635 cat confdefs.h
>>conftest.
$ac_ext
7636 cat >>conftest.
$ac_ext <<_ACEOF
7637 /* end confdefs.h. */
7639 /* Override any gcc2 internal prototype to avoid an error. */
7643 /* We use char because int might match the return type of a gcc2
7644 builtin and then its argument prototype would still apply. */
7645 char XDGAQueryExtension ();
7649 XDGAQueryExtension ();
7654 rm -f conftest.
$ac_objext conftest
$ac_exeext
7655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7656 (eval $ac_link) 2>conftest.er1
7658 grep -v '^ *+' conftest.er1
>conftest.err
7660 cat conftest.err
>&5
7661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662 (exit $ac_status); } &&
7663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7668 (exit $ac_status); }; } &&
7669 { ac_try
='test -s conftest$ac_exeext'
7670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7674 (exit $ac_status); }; }; then
7675 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
7677 echo "$as_me: failed program was:" >&5
7678 sed 's/^/| /' conftest.
$ac_ext >&5
7680 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
7682 rm -f conftest.err conftest.
$ac_objext \
7683 conftest
$ac_exeext conftest.
$ac_ext
7684 LIBS
=$ac_check_lib_save_LIBS
7686 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
7687 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
7688 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
7690 cat >>confdefs.h
<<\_ACEOF
7691 #define HAVE_LIBXXF86DGA2 1
7694 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
7697 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
7698 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7699 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
7700 echo $ECHO_N "(cached) $ECHO_C" >&6
7702 ac_check_lib_save_LIBS
=$LIBS
7703 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7705 cat >conftest.
$ac_ext <<_ACEOF
7708 cat confdefs.h
>>conftest.
$ac_ext
7709 cat >>conftest.
$ac_ext <<_ACEOF
7710 /* end confdefs.h. */
7712 /* Override any gcc2 internal prototype to avoid an error. */
7716 /* We use char because int might match the return type of a gcc2
7717 builtin and then its argument prototype would still apply. */
7718 char XF86DGAQueryExtension ();
7722 XF86DGAQueryExtension ();
7727 rm -f conftest.
$ac_objext conftest
$ac_exeext
7728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7729 (eval $ac_link) 2>conftest.er1
7731 grep -v '^ *+' conftest.er1
>conftest.err
7733 cat conftest.err
>&5
7734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7735 (exit $ac_status); } &&
7736 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741 (exit $ac_status); }; } &&
7742 { ac_try
='test -s conftest$ac_exeext'
7743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7747 (exit $ac_status); }; }; then
7748 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=yes
7750 echo "$as_me: failed program was:" >&5
7751 sed 's/^/| /' conftest.
$ac_ext >&5
7753 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=no
7755 rm -f conftest.err conftest.
$ac_objext \
7756 conftest
$ac_exeext conftest.
$ac_ext
7757 LIBS
=$ac_check_lib_save_LIBS
7759 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
7760 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
7761 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
7763 cat >>confdefs.h
<<\_ACEOF
7764 #define HAVE_LIBXXF86DGA 1
7767 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
7776 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7778 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7779 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7780 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7781 echo $ECHO_N "(cached) $ECHO_C" >&6
7783 ac_check_lib_save_LIBS
=$LIBS
7784 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7785 cat >conftest.
$ac_ext <<_ACEOF
7788 cat confdefs.h
>>conftest.
$ac_ext
7789 cat >>conftest.
$ac_ext <<_ACEOF
7790 /* end confdefs.h. */
7792 /* Override any gcc2 internal prototype to avoid an error. */
7796 /* We use char because int might match the return type of a gcc2
7797 builtin and then its argument prototype would still apply. */
7798 char XF86VidModeQueryExtension ();
7802 XF86VidModeQueryExtension ();
7807 rm -f conftest.
$ac_objext conftest
$ac_exeext
7808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7809 (eval $ac_link) 2>conftest.er1
7811 grep -v '^ *+' conftest.er1
>conftest.err
7813 cat conftest.err
>&5
7814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7815 (exit $ac_status); } &&
7816 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7821 (exit $ac_status); }; } &&
7822 { ac_try
='test -s conftest$ac_exeext'
7823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7827 (exit $ac_status); }; }; then
7828 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
7830 echo "$as_me: failed program was:" >&5
7831 sed 's/^/| /' conftest.
$ac_ext >&5
7833 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
7835 rm -f conftest.err conftest.
$ac_objext \
7836 conftest
$ac_exeext conftest.
$ac_ext
7837 LIBS
=$ac_check_lib_save_LIBS
7839 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7840 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7841 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
7843 cat >>confdefs.h
<<\_ACEOF
7844 #define HAVE_LIBXXF86VM 1
7847 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
7853 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
7855 cat >conftest.
$ac_ext <<_ACEOF
7858 cat confdefs.h
>>conftest.
$ac_ext
7859 cat >>conftest.
$ac_ext <<_ACEOF
7860 /* end confdefs.h. */
7861 #include <X11/Xlib.h>
7862 #include <X11/extensions/Xrandr.h>
7866 static typeof(XRRSetScreenConfigAndRate) * func;
7871 rm -f conftest.
$ac_objext
7872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7873 (eval $ac_compile) 2>conftest.er1
7875 grep -v '^ *+' conftest.er1
>conftest.err
7877 cat conftest.err
>&5
7878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7879 (exit $ac_status); } &&
7880 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7885 (exit $ac_status); }; } &&
7886 { ac_try
='test -s conftest.$ac_objext'
7887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7891 (exit $ac_status); }; }; then
7893 cat >>confdefs.h
<<\_ACEOF
7894 #define HAVE_LIBXRANDR 1
7898 echo "$as_me: failed program was:" >&5
7899 sed 's/^/| /' conftest.
$ac_ext >&5
7902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7905 if test "$ac_cv_header_X11_extensions_Xvlib_h" = "yes"
7907 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
7908 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
7909 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
7910 echo $ECHO_N "(cached) $ECHO_C" >&6
7912 ac_check_lib_save_LIBS
=$LIBS
7913 LIBS
="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7914 cat >conftest.
$ac_ext <<_ACEOF
7917 cat confdefs.h
>>conftest.
$ac_ext
7918 cat >>conftest.
$ac_ext <<_ACEOF
7919 /* end confdefs.h. */
7921 /* Override any gcc2 internal prototype to avoid an error. */
7925 /* We use char because int might match the return type of a gcc2
7926 builtin and then its argument prototype would still apply. */
7927 char XvShmCreateImage ();
7931 XvShmCreateImage ();
7936 rm -f conftest.
$ac_objext conftest
$ac_exeext
7937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7938 (eval $ac_link) 2>conftest.er1
7940 grep -v '^ *+' conftest.er1
>conftest.err
7942 cat conftest.err
>&5
7943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7944 (exit $ac_status); } &&
7945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7950 (exit $ac_status); }; } &&
7951 { ac_try
='test -s conftest$ac_exeext'
7952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7956 (exit $ac_status); }; }; then
7957 ac_cv_lib_Xv_XvShmCreateImage
=yes
7959 echo "$as_me: failed program was:" >&5
7960 sed 's/^/| /' conftest.
$ac_ext >&5
7962 ac_cv_lib_Xv_XvShmCreateImage
=no
7964 rm -f conftest.err conftest.
$ac_objext \
7965 conftest
$ac_exeext conftest.
$ac_ext
7966 LIBS
=$ac_check_lib_save_LIBS
7968 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
7969 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
7970 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
7972 cat >>confdefs.h
<<\_ACEOF
7973 #define HAVE_XVIDEO 1
7976 X_PRE_LIBS
="$X_PRE_LIBS -lXv"
7987 if test "x$with_opengl" != "xno"
7989 if test -f /usr
/X11R
6/lib
/libGL.a
-a ! -f /usr
/X11R
6/lib
/libGL.so
7991 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
7992 This prevents linking to OpenGL. Delete the file and restart configure." >&5
7993 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
7994 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
7995 { (exit 1); exit 1; }; }
8000 for ac_header
in GL
/gl.h GL
/glx.h
8002 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8004 echo "$as_me:$LINENO: checking for $ac_header" >&5
8005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8007 echo $ECHO_N "(cached) $ECHO_C" >&6
8009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8012 # Is the header compilable?
8013 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8014 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8015 cat >conftest.
$ac_ext <<_ACEOF
8018 cat confdefs.h
>>conftest.
$ac_ext
8019 cat >>conftest.
$ac_ext <<_ACEOF
8020 /* end confdefs.h. */
8021 $ac_includes_default
8022 #include <$ac_header>
8024 rm -f conftest.
$ac_objext
8025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8026 (eval $ac_compile) 2>conftest.er1
8028 grep -v '^ *+' conftest.er1
>conftest.err
8030 cat conftest.err
>&5
8031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8032 (exit $ac_status); } &&
8033 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8038 (exit $ac_status); }; } &&
8039 { ac_try
='test -s conftest.$ac_objext'
8040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8044 (exit $ac_status); }; }; then
8045 ac_header_compiler
=yes
8047 echo "$as_me: failed program was:" >&5
8048 sed 's/^/| /' conftest.
$ac_ext >&5
8050 ac_header_compiler
=no
8052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8053 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8054 echo "${ECHO_T}$ac_header_compiler" >&6
8056 # Is the header present?
8057 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8058 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8059 cat >conftest.
$ac_ext <<_ACEOF
8062 cat confdefs.h
>>conftest.
$ac_ext
8063 cat >>conftest.
$ac_ext <<_ACEOF
8064 /* end confdefs.h. */
8065 #include <$ac_header>
8067 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8068 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8070 grep -v '^ *+' conftest.er1
>conftest.err
8072 cat conftest.err
>&5
8073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8074 (exit $ac_status); } >/dev
/null
; then
8075 if test -s conftest.err
; then
8076 ac_cpp_err
=$ac_c_preproc_warn_flag
8077 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8084 if test -z "$ac_cpp_err"; then
8085 ac_header_preproc
=yes
8087 echo "$as_me: failed program was:" >&5
8088 sed 's/^/| /' conftest.
$ac_ext >&5
8090 ac_header_preproc
=no
8092 rm -f conftest.err conftest.
$ac_ext
8093 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8094 echo "${ECHO_T}$ac_header_preproc" >&6
8096 # So? What about this header?
8097 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8099 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8100 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8101 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8102 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8103 ac_header_preproc
=yes
8106 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8107 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8108 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8109 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8110 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8111 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8112 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8113 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8114 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8115 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8116 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8117 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8120 ## ------------------------------------ ##
8121 ## Report this to wine-devel@winehq.org ##
8122 ## ------------------------------------ ##
8125 sed "s/^/$as_me: WARNING: /" >&2
8128 echo "$as_me:$LINENO: checking for $ac_header" >&5
8129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8131 echo $ECHO_N "(cached) $ECHO_C" >&6
8133 eval "$as_ac_Header=\$ac_header_preproc"
8135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8139 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8140 cat >>confdefs.h
<<_ACEOF
8141 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8148 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8151 for ac_header
in GL
/glext.h
8153 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8154 echo "$as_me:$LINENO: checking for $ac_header" >&5
8155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8157 echo $ECHO_N "(cached) $ECHO_C" >&6
8159 cat >conftest.
$ac_ext <<_ACEOF
8162 cat confdefs.h
>>conftest.
$ac_ext
8163 cat >>conftest.
$ac_ext <<_ACEOF
8164 /* end confdefs.h. */
8167 #include <$ac_header>
8169 rm -f conftest.
$ac_objext
8170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8171 (eval $ac_compile) 2>conftest.er1
8173 grep -v '^ *+' conftest.er1
>conftest.err
8175 cat conftest.err
>&5
8176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8177 (exit $ac_status); } &&
8178 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8183 (exit $ac_status); }; } &&
8184 { ac_try
='test -s conftest.$ac_objext'
8185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189 (exit $ac_status); }; }; then
8190 eval "$as_ac_Header=yes"
8192 echo "$as_me: failed program was:" >&5
8193 sed 's/^/| /' conftest.
$ac_ext >&5
8195 eval "$as_ac_Header=no"
8197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8202 cat >>confdefs.h
<<_ACEOF
8203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8210 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8211 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8212 if test "${wine_cv_opengl_version_OK+set}" = set; then
8213 echo $ECHO_N "(cached) $ECHO_C" >&6
8215 cat >conftest.
$ac_ext <<_ACEOF
8218 cat confdefs.h
>>conftest.
$ac_ext
8219 cat >>conftest.
$ac_ext <<_ACEOF
8220 /* end confdefs.h. */
8225 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8230 rm -f conftest.
$ac_objext
8231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8232 (eval $ac_compile) 2>conftest.er1
8234 grep -v '^ *+' conftest.er1
>conftest.err
8236 cat conftest.err
>&5
8237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8238 (exit $ac_status); } &&
8239 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8244 (exit $ac_status); }; } &&
8245 { ac_try
='test -s conftest.$ac_objext'
8246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8250 (exit $ac_status); }; }; then
8251 wine_cv_opengl_version_OK
="yes"
8253 echo "$as_me: failed program was:" >&5
8254 sed 's/^/| /' conftest.
$ac_ext >&5
8256 wine_cv_opengl_version_OK
="no"
8259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8262 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8263 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8265 if test "$wine_cv_opengl_version_OK" = "yes"
8267 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8268 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8269 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8270 echo $ECHO_N "(cached) $ECHO_C" >&6
8272 ac_check_lib_save_LIBS
=$LIBS
8273 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8274 cat >conftest.
$ac_ext <<_ACEOF
8277 cat confdefs.h
>>conftest.
$ac_ext
8278 cat >>conftest.
$ac_ext <<_ACEOF
8279 /* end confdefs.h. */
8281 /* Override any gcc2 internal prototype to avoid an error. */
8285 /* We use char because int might match the return type of a gcc2
8286 builtin and then its argument prototype would still apply. */
8287 char glXCreateContext ();
8291 glXCreateContext ();
8296 rm -f conftest.
$ac_objext conftest
$ac_exeext
8297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8298 (eval $ac_link) 2>conftest.er1
8300 grep -v '^ *+' conftest.er1
>conftest.err
8302 cat conftest.err
>&5
8303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8304 (exit $ac_status); } &&
8305 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8310 (exit $ac_status); }; } &&
8311 { ac_try
='test -s conftest$ac_exeext'
8312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8316 (exit $ac_status); }; }; then
8317 ac_cv_lib_GL_glXCreateContext
=yes
8319 echo "$as_me: failed program was:" >&5
8320 sed 's/^/| /' conftest.
$ac_ext >&5
8322 ac_cv_lib_GL_glXCreateContext
=no
8324 rm -f conftest.err conftest.
$ac_objext \
8325 conftest
$ac_exeext conftest.
$ac_ext
8326 LIBS
=$ac_check_lib_save_LIBS
8328 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8329 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8330 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8336 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8338 OPENGLFILES
='$(OPENGLFILES)'
8340 cat >>confdefs.h
<<\_ACEOF
8341 #define HAVE_OPENGL 1
8345 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
8346 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
8347 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
8348 echo $ECHO_N "(cached) $ECHO_C" >&6
8350 ac_check_lib_save_LIBS
=$LIBS
8351 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8352 cat >conftest.
$ac_ext <<_ACEOF
8355 cat confdefs.h
>>conftest.
$ac_ext
8356 cat >>conftest.
$ac_ext <<_ACEOF
8357 /* end confdefs.h. */
8359 /* Override any gcc2 internal prototype to avoid an error. */
8363 /* We use char because int might match the return type of a gcc2
8364 builtin and then its argument prototype would still apply. */
8365 char glXGetProcAddressARB ();
8369 glXGetProcAddressARB ();
8374 rm -f conftest.
$ac_objext conftest
$ac_exeext
8375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8376 (eval $ac_link) 2>conftest.er1
8378 grep -v '^ *+' conftest.er1
>conftest.err
8380 cat conftest.err
>&5
8381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382 (exit $ac_status); } &&
8383 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8388 (exit $ac_status); }; } &&
8389 { ac_try
='test -s conftest$ac_exeext'
8390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8394 (exit $ac_status); }; }; then
8395 ac_cv_lib_GL_glXGetProcAddressARB
=yes
8397 echo "$as_me: failed program was:" >&5
8398 sed 's/^/| /' conftest.
$ac_ext >&5
8400 ac_cv_lib_GL_glXGetProcAddressARB
=no
8402 rm -f conftest.err conftest.
$ac_objext \
8403 conftest
$ac_exeext conftest.
$ac_ext
8404 LIBS
=$ac_check_lib_save_LIBS
8406 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
8407 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
8408 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
8410 cat >>confdefs.h
<<\_ACEOF
8411 #define HAVE_GLX_GETPROCADDRESS 1
8417 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
8419 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
8420 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
8421 if test "${wine_cv_extension_prototypes+set}" = set; then
8422 echo $ECHO_N "(cached) $ECHO_C" >&6
8424 cat >conftest.
$ac_ext <<_ACEOF
8427 cat confdefs.h
>>conftest.
$ac_ext
8428 cat >>conftest.
$ac_ext <<_ACEOF
8429 /* end confdefs.h. */
8431 #ifdef HAVE_GL_GLEXT_H
8432 # include <GL/glext.h>
8438 PFNGLCOLORTABLEEXTPROC test_proc;
8443 rm -f conftest.
$ac_objext
8444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8445 (eval $ac_compile) 2>conftest.er1
8447 grep -v '^ *+' conftest.er1
>conftest.err
8449 cat conftest.err
>&5
8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451 (exit $ac_status); } &&
8452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8457 (exit $ac_status); }; } &&
8458 { ac_try
='test -s conftest.$ac_objext'
8459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8463 (exit $ac_status); }; }; then
8464 wine_cv_extension_prototypes
="yes"
8466 echo "$as_me: failed program was:" >&5
8467 sed 's/^/| /' conftest.
$ac_ext >&5
8469 wine_cv_extension_prototypes
="no"
8472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8475 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
8476 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
8477 if test "$wine_cv_extension_prototypes" = "yes"
8480 cat >>confdefs.h
<<\_ACEOF
8481 #define HAVE_GLEXT_PROTOTYPES 1
8488 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8489 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8490 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8491 echo $ECHO_N "(cached) $ECHO_C" >&6
8493 ac_check_lib_save_LIBS
=$LIBS
8494 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8496 cat >conftest.
$ac_ext <<_ACEOF
8499 cat confdefs.h
>>conftest.
$ac_ext
8500 cat >>conftest.
$ac_ext <<_ACEOF
8501 /* end confdefs.h. */
8503 /* Override any gcc2 internal prototype to avoid an error. */
8507 /* We use char because int might match the return type of a gcc2
8508 builtin and then its argument prototype would still apply. */
8518 rm -f conftest.
$ac_objext conftest
$ac_exeext
8519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8520 (eval $ac_link) 2>conftest.er1
8522 grep -v '^ *+' conftest.er1
>conftest.err
8524 cat conftest.err
>&5
8525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8526 (exit $ac_status); } &&
8527 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8532 (exit $ac_status); }; } &&
8533 { ac_try
='test -s conftest$ac_exeext'
8534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); }; }; then
8539 ac_cv_lib_GLU_gluLookAt
=yes
8541 echo "$as_me: failed program was:" >&5
8542 sed 's/^/| /' conftest.
$ac_ext >&5
8544 ac_cv_lib_GLU_gluLookAt
=no
8546 rm -f conftest.err conftest.
$ac_objext \
8547 conftest
$ac_exeext conftest.
$ac_ext
8548 LIBS
=$ac_check_lib_save_LIBS
8550 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8551 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8552 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8553 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
8554 GLU32FILES
='$(GLU32FILES)'
8560 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8561 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8562 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8563 echo $ECHO_N "(cached) $ECHO_C" >&6
8565 ac_check_lib_save_LIBS
=$LIBS
8566 LIBS
="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8567 cat >conftest.
$ac_ext <<_ACEOF
8570 cat confdefs.h
>>conftest.
$ac_ext
8571 cat >>conftest.
$ac_ext <<_ACEOF
8572 /* end confdefs.h. */
8574 /* Override any gcc2 internal prototype to avoid an error. */
8578 /* We use char because int might match the return type of a gcc2
8579 builtin and then its argument prototype would still apply. */
8580 char glutMainLoop ();
8589 rm -f conftest.
$ac_objext conftest
$ac_exeext
8590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8591 (eval $ac_link) 2>conftest.er1
8593 grep -v '^ *+' conftest.er1
>conftest.err
8595 cat conftest.err
>&5
8596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8597 (exit $ac_status); } &&
8598 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603 (exit $ac_status); }; } &&
8604 { ac_try
='test -s conftest$ac_exeext'
8605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8609 (exit $ac_status); }; }; then
8610 ac_cv_lib_glut_glutMainLoop
=yes
8612 echo "$as_me: failed program was:" >&5
8613 sed 's/^/| /' conftest.
$ac_ext >&5
8615 ac_cv_lib_glut_glutMainLoop
=no
8617 rm -f conftest.err conftest.
$ac_objext \
8618 conftest
$ac_exeext conftest.
$ac_ext
8619 LIBS
=$ac_check_lib_save_LIBS
8621 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
8622 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
8623 if test $ac_cv_lib_glut_glutMainLoop = yes; then
8624 GLUT_LIBS
="-lglut -lXmu -lXi"
8626 GLUT32FILES
='$(GLUT32FILES)'
8636 for ac_header
in audio
/audiolib.h
8638 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8640 echo "$as_me:$LINENO: checking for $ac_header" >&5
8641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8643 echo $ECHO_N "(cached) $ECHO_C" >&6
8645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8648 # Is the header compilable?
8649 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8650 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8651 cat >conftest.
$ac_ext <<_ACEOF
8654 cat confdefs.h
>>conftest.
$ac_ext
8655 cat >>conftest.
$ac_ext <<_ACEOF
8656 /* end confdefs.h. */
8657 $ac_includes_default
8658 #include <$ac_header>
8660 rm -f conftest.
$ac_objext
8661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8662 (eval $ac_compile) 2>conftest.er1
8664 grep -v '^ *+' conftest.er1
>conftest.err
8666 cat conftest.err
>&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); } &&
8669 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8674 (exit $ac_status); }; } &&
8675 { ac_try
='test -s conftest.$ac_objext'
8676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680 (exit $ac_status); }; }; then
8681 ac_header_compiler
=yes
8683 echo "$as_me: failed program was:" >&5
8684 sed 's/^/| /' conftest.
$ac_ext >&5
8686 ac_header_compiler
=no
8688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8689 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8690 echo "${ECHO_T}$ac_header_compiler" >&6
8692 # Is the header present?
8693 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8694 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8695 cat >conftest.
$ac_ext <<_ACEOF
8698 cat confdefs.h
>>conftest.
$ac_ext
8699 cat >>conftest.
$ac_ext <<_ACEOF
8700 /* end confdefs.h. */
8701 #include <$ac_header>
8703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8704 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8706 grep -v '^ *+' conftest.er1
>conftest.err
8708 cat conftest.err
>&5
8709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710 (exit $ac_status); } >/dev
/null
; then
8711 if test -s conftest.err
; then
8712 ac_cpp_err
=$ac_c_preproc_warn_flag
8713 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8720 if test -z "$ac_cpp_err"; then
8721 ac_header_preproc
=yes
8723 echo "$as_me: failed program was:" >&5
8724 sed 's/^/| /' conftest.
$ac_ext >&5
8726 ac_header_preproc
=no
8728 rm -f conftest.err conftest.
$ac_ext
8729 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8730 echo "${ECHO_T}$ac_header_preproc" >&6
8732 # So? What about this header?
8733 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8735 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8736 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8738 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8739 ac_header_preproc
=yes
8742 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8743 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8744 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8745 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8746 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8747 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8748 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8749 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8750 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8751 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8752 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8753 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8756 ## ------------------------------------ ##
8757 ## Report this to wine-devel@winehq.org ##
8758 ## ------------------------------------ ##
8761 sed "s/^/$as_me: WARNING: /" >&2
8764 echo "$as_me:$LINENO: checking for $ac_header" >&5
8765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8767 echo $ECHO_N "(cached) $ECHO_C" >&6
8769 eval "$as_ac_Header=\$ac_header_preproc"
8771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8775 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8776 cat >>confdefs.h
<<_ACEOF
8777 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8780 for ac_header
in audio
/soundlib.h
8782 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8783 echo "$as_me:$LINENO: checking for $ac_header" >&5
8784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8786 echo $ECHO_N "(cached) $ECHO_C" >&6
8788 cat >conftest.
$ac_ext <<_ACEOF
8791 cat confdefs.h
>>conftest.
$ac_ext
8792 cat >>conftest.
$ac_ext <<_ACEOF
8793 /* end confdefs.h. */
8794 #include <audio/audiolib.h>
8796 #include <$ac_header>
8798 rm -f conftest.
$ac_objext
8799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8800 (eval $ac_compile) 2>conftest.er1
8802 grep -v '^ *+' conftest.er1
>conftest.err
8804 cat conftest.err
>&5
8805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8806 (exit $ac_status); } &&
8807 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); }; } &&
8813 { ac_try
='test -s conftest.$ac_objext'
8814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818 (exit $ac_status); }; }; then
8819 eval "$as_ac_Header=yes"
8821 echo "$as_me: failed program was:" >&5
8822 sed 's/^/| /' conftest.
$ac_ext >&5
8824 eval "$as_ac_Header=no"
8826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8830 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8831 cat >>confdefs.h
<<_ACEOF
8832 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8839 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8840 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8841 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8842 echo $ECHO_N "(cached) $ECHO_C" >&6
8844 ac_check_lib_save_LIBS
=$LIBS
8845 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8846 cat >conftest.
$ac_ext <<_ACEOF
8849 cat confdefs.h
>>conftest.
$ac_ext
8850 cat >>conftest.
$ac_ext <<_ACEOF
8851 /* end confdefs.h. */
8853 /* Override any gcc2 internal prototype to avoid an error. */
8857 /* We use char because int might match the return type of a gcc2
8858 builtin and then its argument prototype would still apply. */
8859 char AuCreateFlow ();
8868 rm -f conftest.
$ac_objext conftest
$ac_exeext
8869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8870 (eval $ac_link) 2>conftest.er1
8872 grep -v '^ *+' conftest.er1
>conftest.err
8874 cat conftest.err
>&5
8875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8876 (exit $ac_status); } &&
8877 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8882 (exit $ac_status); }; } &&
8883 { ac_try
='test -s conftest$ac_exeext'
8884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888 (exit $ac_status); }; }; then
8889 ac_cv_lib_audio_AuCreateFlow
=yes
8891 echo "$as_me: failed program was:" >&5
8892 sed 's/^/| /' conftest.
$ac_ext >&5
8894 ac_cv_lib_audio_AuCreateFlow
=no
8896 rm -f conftest.err conftest.
$ac_objext \
8897 conftest
$ac_exeext conftest.
$ac_ext
8898 LIBS
=$ac_check_lib_save_LIBS
8900 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8901 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8902 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8904 cat >>confdefs.h
<<\_ACEOF
8908 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8916 CPPFLAGS
="$ac_save_CPPFLAGS"
8925 if test "x$with_curses" != "xno"
8928 for ac_header
in ncurses.h
8930 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8932 echo "$as_me:$LINENO: checking for $ac_header" >&5
8933 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8934 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8935 echo $ECHO_N "(cached) $ECHO_C" >&6
8937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8938 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8940 # Is the header compilable?
8941 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8942 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8943 cat >conftest.
$ac_ext <<_ACEOF
8946 cat confdefs.h
>>conftest.
$ac_ext
8947 cat >>conftest.
$ac_ext <<_ACEOF
8948 /* end confdefs.h. */
8949 $ac_includes_default
8950 #include <$ac_header>
8952 rm -f conftest.
$ac_objext
8953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8954 (eval $ac_compile) 2>conftest.er1
8956 grep -v '^ *+' conftest.er1
>conftest.err
8958 cat conftest.err
>&5
8959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8960 (exit $ac_status); } &&
8961 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8966 (exit $ac_status); }; } &&
8967 { ac_try
='test -s conftest.$ac_objext'
8968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); }; }; then
8973 ac_header_compiler
=yes
8975 echo "$as_me: failed program was:" >&5
8976 sed 's/^/| /' conftest.
$ac_ext >&5
8978 ac_header_compiler
=no
8980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8981 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8982 echo "${ECHO_T}$ac_header_compiler" >&6
8984 # Is the header present?
8985 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8986 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8987 cat >conftest.
$ac_ext <<_ACEOF
8990 cat confdefs.h
>>conftest.
$ac_ext
8991 cat >>conftest.
$ac_ext <<_ACEOF
8992 /* end confdefs.h. */
8993 #include <$ac_header>
8995 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8996 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8998 grep -v '^ *+' conftest.er1
>conftest.err
9000 cat conftest.err
>&5
9001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9002 (exit $ac_status); } >/dev
/null
; then
9003 if test -s conftest.err
; then
9004 ac_cpp_err
=$ac_c_preproc_warn_flag
9005 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9012 if test -z "$ac_cpp_err"; then
9013 ac_header_preproc
=yes
9015 echo "$as_me: failed program was:" >&5
9016 sed 's/^/| /' conftest.
$ac_ext >&5
9018 ac_header_preproc
=no
9020 rm -f conftest.err conftest.
$ac_ext
9021 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9022 echo "${ECHO_T}$ac_header_preproc" >&6
9024 # So? What about this header?
9025 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9027 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9028 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9030 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9031 ac_header_preproc
=yes
9034 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9035 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9036 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9037 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9038 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9039 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9040 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9041 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9043 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9044 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9045 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9048 ## ------------------------------------ ##
9049 ## Report this to wine-devel@winehq.org ##
9050 ## ------------------------------------ ##
9053 sed "s/^/$as_me: WARNING: /" >&2
9056 echo "$as_me:$LINENO: checking for $ac_header" >&5
9057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9059 echo $ECHO_N "(cached) $ECHO_C" >&6
9061 eval "$as_ac_Header=\$ac_header_preproc"
9063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9068 cat >>confdefs.h
<<_ACEOF
9069 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9071 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9072 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9073 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9074 echo $ECHO_N "(cached) $ECHO_C" >&6
9076 ac_check_lib_save_LIBS
=$LIBS
9077 LIBS
="-lncurses $LIBS"
9078 cat >conftest.
$ac_ext <<_ACEOF
9081 cat confdefs.h
>>conftest.
$ac_ext
9082 cat >>conftest.
$ac_ext <<_ACEOF
9083 /* end confdefs.h. */
9085 /* Override any gcc2 internal prototype to avoid an error. */
9089 /* We use char because int might match the return type of a gcc2
9090 builtin and then its argument prototype would still apply. */
9100 rm -f conftest.
$ac_objext conftest
$ac_exeext
9101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9102 (eval $ac_link) 2>conftest.er1
9104 grep -v '^ *+' conftest.er1
>conftest.err
9106 cat conftest.err
>&5
9107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9108 (exit $ac_status); } &&
9109 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9114 (exit $ac_status); }; } &&
9115 { ac_try
='test -s conftest$ac_exeext'
9116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); }; }; then
9121 ac_cv_lib_ncurses_waddch
=yes
9123 echo "$as_me: failed program was:" >&5
9124 sed 's/^/| /' conftest.
$ac_ext >&5
9126 ac_cv_lib_ncurses_waddch
=no
9128 rm -f conftest.err conftest.
$ac_objext \
9129 conftest
$ac_exeext conftest.
$ac_ext
9130 LIBS
=$ac_check_lib_save_LIBS
9132 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9133 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9134 if test $ac_cv_lib_ncurses_waddch = yes; then
9136 cat >>confdefs.h
<<\_ACEOF
9137 #define HAVE_LIBNCURSES 1
9140 CURSESLIBS
="-lncurses"
9143 for ac_header
in curses.h
9145 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9147 echo "$as_me:$LINENO: checking for $ac_header" >&5
9148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9150 echo $ECHO_N "(cached) $ECHO_C" >&6
9152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9155 # Is the header compilable?
9156 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9157 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9158 cat >conftest.
$ac_ext <<_ACEOF
9161 cat confdefs.h
>>conftest.
$ac_ext
9162 cat >>conftest.
$ac_ext <<_ACEOF
9163 /* end confdefs.h. */
9164 $ac_includes_default
9165 #include <$ac_header>
9167 rm -f conftest.
$ac_objext
9168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9169 (eval $ac_compile) 2>conftest.er1
9171 grep -v '^ *+' conftest.er1
>conftest.err
9173 cat conftest.err
>&5
9174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9175 (exit $ac_status); } &&
9176 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9181 (exit $ac_status); }; } &&
9182 { ac_try
='test -s conftest.$ac_objext'
9183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9187 (exit $ac_status); }; }; then
9188 ac_header_compiler
=yes
9190 echo "$as_me: failed program was:" >&5
9191 sed 's/^/| /' conftest.
$ac_ext >&5
9193 ac_header_compiler
=no
9195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9196 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9197 echo "${ECHO_T}$ac_header_compiler" >&6
9199 # Is the header present?
9200 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9201 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9202 cat >conftest.
$ac_ext <<_ACEOF
9205 cat confdefs.h
>>conftest.
$ac_ext
9206 cat >>conftest.
$ac_ext <<_ACEOF
9207 /* end confdefs.h. */
9208 #include <$ac_header>
9210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9211 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9213 grep -v '^ *+' conftest.er1
>conftest.err
9215 cat conftest.err
>&5
9216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9217 (exit $ac_status); } >/dev
/null
; then
9218 if test -s conftest.err
; then
9219 ac_cpp_err
=$ac_c_preproc_warn_flag
9220 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9227 if test -z "$ac_cpp_err"; then
9228 ac_header_preproc
=yes
9230 echo "$as_me: failed program was:" >&5
9231 sed 's/^/| /' conftest.
$ac_ext >&5
9233 ac_header_preproc
=no
9235 rm -f conftest.err conftest.
$ac_ext
9236 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9237 echo "${ECHO_T}$ac_header_preproc" >&6
9239 # So? What about this header?
9240 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9242 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9243 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9244 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9245 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9246 ac_header_preproc
=yes
9249 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9250 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9251 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9252 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9253 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9254 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9255 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9256 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9258 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9259 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9260 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9263 ## ------------------------------------ ##
9264 ## Report this to wine-devel@winehq.org ##
9265 ## ------------------------------------ ##
9268 sed "s/^/$as_me: WARNING: /" >&2
9271 echo "$as_me:$LINENO: checking for $ac_header" >&5
9272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9274 echo $ECHO_N "(cached) $ECHO_C" >&6
9276 eval "$as_ac_Header=\$ac_header_preproc"
9278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9282 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9283 cat >>confdefs.h
<<_ACEOF
9284 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9286 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9287 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9288 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9289 echo $ECHO_N "(cached) $ECHO_C" >&6
9291 ac_check_lib_save_LIBS
=$LIBS
9292 LIBS
="-lcurses $LIBS"
9293 cat >conftest.
$ac_ext <<_ACEOF
9296 cat confdefs.h
>>conftest.
$ac_ext
9297 cat >>conftest.
$ac_ext <<_ACEOF
9298 /* end confdefs.h. */
9300 /* Override any gcc2 internal prototype to avoid an error. */
9304 /* We use char because int might match the return type of a gcc2
9305 builtin and then its argument prototype would still apply. */
9315 rm -f conftest.
$ac_objext conftest
$ac_exeext
9316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9317 (eval $ac_link) 2>conftest.er1
9319 grep -v '^ *+' conftest.er1
>conftest.err
9321 cat conftest.err
>&5
9322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 (exit $ac_status); } &&
9324 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329 (exit $ac_status); }; } &&
9330 { ac_try
='test -s conftest$ac_exeext'
9331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9335 (exit $ac_status); }; }; then
9336 ac_cv_lib_curses_waddch
=yes
9338 echo "$as_me: failed program was:" >&5
9339 sed 's/^/| /' conftest.
$ac_ext >&5
9341 ac_cv_lib_curses_waddch
=no
9343 rm -f conftest.err conftest.
$ac_objext \
9344 conftest
$ac_exeext conftest.
$ac_ext
9345 LIBS
=$ac_check_lib_save_LIBS
9347 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9348 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9349 if test $ac_cv_lib_curses_waddch = yes; then
9351 cat >>confdefs.h
<<\_ACEOF
9352 #define HAVE_LIBCURSES 1
9355 CURSESLIBS
="-lcurses"
9369 LIBS
="$CURSESLIBS $LIBS"
9372 for ac_func
in getbkgd resizeterm
9374 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9375 echo "$as_me:$LINENO: checking for $ac_func" >&5
9376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9377 if eval "test \"\${$as_ac_var+set}\" = set"; then
9378 echo $ECHO_N "(cached) $ECHO_C" >&6
9380 cat >conftest.
$ac_ext <<_ACEOF
9383 cat confdefs.h
>>conftest.
$ac_ext
9384 cat >>conftest.
$ac_ext <<_ACEOF
9385 /* end confdefs.h. */
9386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9388 #define $ac_func innocuous_$ac_func
9390 /* System header to define __stub macros and hopefully few prototypes,
9391 which can conflict with char $ac_func (); below.
9392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9393 <limits.h> exists even on freestanding compilers. */
9396 # include <limits.h>
9398 # include <assert.h>
9403 /* Override any gcc2 internal prototype to avoid an error. */
9408 /* We use char because int might match the return type of a gcc2
9409 builtin and then its argument prototype would still apply. */
9411 /* The GNU C library defines this for functions which it implements
9412 to always fail with ENOSYS. Some functions are actually named
9413 something starting with __ and the normal name is an alias. */
9414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9417 char (*f) () = $ac_func;
9426 return f != $ac_func;
9431 rm -f conftest.
$ac_objext conftest
$ac_exeext
9432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9433 (eval $ac_link) 2>conftest.er1
9435 grep -v '^ *+' conftest.er1
>conftest.err
9437 cat conftest.err
>&5
9438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9439 (exit $ac_status); } &&
9440 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9445 (exit $ac_status); }; } &&
9446 { ac_try
='test -s conftest$ac_exeext'
9447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9451 (exit $ac_status); }; }; then
9452 eval "$as_ac_var=yes"
9454 echo "$as_me: failed program was:" >&5
9455 sed 's/^/| /' conftest.
$ac_ext >&5
9457 eval "$as_ac_var=no"
9459 rm -f conftest.err conftest.
$ac_objext \
9460 conftest
$ac_exeext conftest.
$ac_ext
9462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9464 if test `eval echo '${'$as_ac_var'}'` = yes; then
9465 cat >>confdefs.h
<<_ACEOF
9466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9476 # Extract the first word of "sane-config", so it can be a program name with args.
9477 set dummy sane-config
; ac_word
=$2
9478 echo "$as_me:$LINENO: checking for $ac_word" >&5
9479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9480 if test "${ac_cv_prog_sane_devel+set}" = set; then
9481 echo $ECHO_N "(cached) $ECHO_C" >&6
9483 if test -n "$sane_devel"; then
9484 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9490 test -z "$as_dir" && as_dir
=.
9491 for ac_exec_ext
in '' $ac_executable_extensions; do
9492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9493 ac_cv_prog_sane_devel
="sane-config"
9494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9500 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9503 sane_devel
=$ac_cv_prog_sane_devel
9504 if test -n "$sane_devel"; then
9505 echo "$as_me:$LINENO: result: $sane_devel" >&5
9506 echo "${ECHO_T}$sane_devel" >&6
9508 echo "$as_me:$LINENO: result: no" >&5
9509 echo "${ECHO_T}no" >&6
9512 if test "$sane_devel" = "no"
9517 SANELIBS
="`$sane_devel --libs`"
9518 SANEINCL
="`$sane_devel --cflags`"
9519 ac_save_CPPFLAGS
="$CPPFLAGS"
9520 ac_save_LIBS
="$LIBS"
9521 CPPFLAGS
="$CPPFLAGS $SANEINCL"
9522 LIBS
="$LIBS $SANELIBS"
9523 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9524 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9525 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9526 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9527 echo $ECHO_N "(cached) $ECHO_C" >&6
9529 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9530 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9532 # Is the header compilable?
9533 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9534 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9535 cat >conftest.
$ac_ext <<_ACEOF
9538 cat confdefs.h
>>conftest.
$ac_ext
9539 cat >>conftest.
$ac_ext <<_ACEOF
9540 /* end confdefs.h. */
9541 $ac_includes_default
9542 #include <sane/sane.h>
9544 rm -f conftest.
$ac_objext
9545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9546 (eval $ac_compile) 2>conftest.er1
9548 grep -v '^ *+' conftest.er1
>conftest.err
9550 cat conftest.err
>&5
9551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9552 (exit $ac_status); } &&
9553 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558 (exit $ac_status); }; } &&
9559 { ac_try
='test -s conftest.$ac_objext'
9560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9564 (exit $ac_status); }; }; then
9565 ac_header_compiler
=yes
9567 echo "$as_me: failed program was:" >&5
9568 sed 's/^/| /' conftest.
$ac_ext >&5
9570 ac_header_compiler
=no
9572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9573 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9574 echo "${ECHO_T}$ac_header_compiler" >&6
9576 # Is the header present?
9577 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9578 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9579 cat >conftest.
$ac_ext <<_ACEOF
9582 cat confdefs.h
>>conftest.
$ac_ext
9583 cat >>conftest.
$ac_ext <<_ACEOF
9584 /* end confdefs.h. */
9585 #include <sane/sane.h>
9587 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9588 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9590 grep -v '^ *+' conftest.er1
>conftest.err
9592 cat conftest.err
>&5
9593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9594 (exit $ac_status); } >/dev
/null
; then
9595 if test -s conftest.err
; then
9596 ac_cpp_err
=$ac_c_preproc_warn_flag
9597 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9604 if test -z "$ac_cpp_err"; then
9605 ac_header_preproc
=yes
9607 echo "$as_me: failed program was:" >&5
9608 sed 's/^/| /' conftest.
$ac_ext >&5
9610 ac_header_preproc
=no
9612 rm -f conftest.err conftest.
$ac_ext
9613 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9614 echo "${ECHO_T}$ac_header_preproc" >&6
9616 # So? What about this header?
9617 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9619 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9620 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9621 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9622 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9623 ac_header_preproc
=yes
9626 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9627 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9628 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9629 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9630 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9631 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9632 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9633 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9634 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9635 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9636 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9637 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9640 ## ------------------------------------ ##
9641 ## Report this to wine-devel@winehq.org ##
9642 ## ------------------------------------ ##
9645 sed "s/^/$as_me: WARNING: /" >&2
9648 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9649 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9650 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9651 echo $ECHO_N "(cached) $ECHO_C" >&6
9653 ac_cv_header_sane_sane_h
=$ac_header_preproc
9655 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9656 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9659 if test $ac_cv_header_sane_sane_h = yes; then
9660 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9661 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9662 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9663 echo $ECHO_N "(cached) $ECHO_C" >&6
9665 ac_check_lib_save_LIBS
=$LIBS
9667 cat >conftest.
$ac_ext <<_ACEOF
9670 cat confdefs.h
>>conftest.
$ac_ext
9671 cat >>conftest.
$ac_ext <<_ACEOF
9672 /* end confdefs.h. */
9674 /* Override any gcc2 internal prototype to avoid an error. */
9678 /* We use char because int might match the return type of a gcc2
9679 builtin and then its argument prototype would still apply. */
9689 rm -f conftest.
$ac_objext conftest
$ac_exeext
9690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9691 (eval $ac_link) 2>conftest.er1
9693 grep -v '^ *+' conftest.er1
>conftest.err
9695 cat conftest.err
>&5
9696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9697 (exit $ac_status); } &&
9698 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703 (exit $ac_status); }; } &&
9704 { ac_try
='test -s conftest$ac_exeext'
9705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709 (exit $ac_status); }; }; then
9710 ac_cv_lib_sane_sane_open
=yes
9712 echo "$as_me: failed program was:" >&5
9713 sed 's/^/| /' conftest.
$ac_ext >&5
9715 ac_cv_lib_sane_sane_open
=no
9717 rm -f conftest.err conftest.
$ac_objext \
9718 conftest
$ac_exeext conftest.
$ac_ext
9719 LIBS
=$ac_check_lib_save_LIBS
9721 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9722 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9723 if test $ac_cv_lib_sane_sane_open = yes; then
9725 cat >>confdefs.h
<<\_ACEOF
9740 LIBS
="$ac_save_LIBS"
9741 CPPFLAGS
="$ac_save_CPPFLAGS"
9747 for ac_header
in unicode
/ubidi.h
9749 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9751 echo "$as_me:$LINENO: checking for $ac_header" >&5
9752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9754 echo $ECHO_N "(cached) $ECHO_C" >&6
9756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9757 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9759 # Is the header compilable?
9760 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9761 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9762 cat >conftest.
$ac_ext <<_ACEOF
9765 cat confdefs.h
>>conftest.
$ac_ext
9766 cat >>conftest.
$ac_ext <<_ACEOF
9767 /* end confdefs.h. */
9768 $ac_includes_default
9769 #include <$ac_header>
9771 rm -f conftest.
$ac_objext
9772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9773 (eval $ac_compile) 2>conftest.er1
9775 grep -v '^ *+' conftest.er1
>conftest.err
9777 cat conftest.err
>&5
9778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); } &&
9780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 (exit $ac_status); }; } &&
9786 { ac_try
='test -s conftest.$ac_objext'
9787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9791 (exit $ac_status); }; }; then
9792 ac_header_compiler
=yes
9794 echo "$as_me: failed program was:" >&5
9795 sed 's/^/| /' conftest.
$ac_ext >&5
9797 ac_header_compiler
=no
9799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9800 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9801 echo "${ECHO_T}$ac_header_compiler" >&6
9803 # Is the header present?
9804 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9805 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9806 cat >conftest.
$ac_ext <<_ACEOF
9809 cat confdefs.h
>>conftest.
$ac_ext
9810 cat >>conftest.
$ac_ext <<_ACEOF
9811 /* end confdefs.h. */
9812 #include <$ac_header>
9814 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9815 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9817 grep -v '^ *+' conftest.er1
>conftest.err
9819 cat conftest.err
>&5
9820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9821 (exit $ac_status); } >/dev
/null
; then
9822 if test -s conftest.err
; then
9823 ac_cpp_err
=$ac_c_preproc_warn_flag
9824 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9831 if test -z "$ac_cpp_err"; then
9832 ac_header_preproc
=yes
9834 echo "$as_me: failed program was:" >&5
9835 sed 's/^/| /' conftest.
$ac_ext >&5
9837 ac_header_preproc
=no
9839 rm -f conftest.err conftest.
$ac_ext
9840 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9841 echo "${ECHO_T}$ac_header_preproc" >&6
9843 # So? What about this header?
9844 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9846 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9847 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9848 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9849 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9850 ac_header_preproc
=yes
9853 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9854 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9855 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9856 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9857 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9858 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9859 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9860 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9861 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9862 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9863 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9864 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9867 ## ------------------------------------ ##
9868 ## Report this to wine-devel@winehq.org ##
9869 ## ------------------------------------ ##
9872 sed "s/^/$as_me: WARNING: /" >&2
9875 echo "$as_me:$LINENO: checking for $ac_header" >&5
9876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9878 echo $ECHO_N "(cached) $ECHO_C" >&6
9880 eval "$as_ac_Header=\$ac_header_preproc"
9882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9886 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9887 cat >>confdefs.h
<<_ACEOF
9888 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9895 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
9898 ICU_LIB_DIR
="${ICU_LIB_DIR-/usr/lib}"
9899 ICUUC_LIB
="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
9900 ICUDATA_LIB
="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
9901 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
9902 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
9903 LIBS
="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9904 cat >conftest.
$ac_ext <<_ACEOF
9907 cat confdefs.h
>>conftest.
$ac_ext
9908 cat >>conftest.
$ac_ext <<_ACEOF
9909 /* end confdefs.h. */
9910 #include <unicode/ubidi.h>
9919 rm -f conftest.
$ac_objext conftest
$ac_exeext
9920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9921 (eval $ac_link) 2>conftest.er1
9923 grep -v '^ *+' conftest.er1
>conftest.err
9925 cat conftest.err
>&5
9926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9927 (exit $ac_status); } &&
9928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9933 (exit $ac_status); }; } &&
9934 { ac_try
='test -s conftest$ac_exeext'
9935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939 (exit $ac_status); }; }; then
9941 cat >>confdefs.h
<<\_ACEOF
9945 ICULIBS
="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9947 echo "$as_me:$LINENO: result: yes" >&5
9948 echo "${ECHO_T}yes" >&6
9950 echo "$as_me: failed program was:" >&5
9951 sed 's/^/| /' conftest.
$ac_ext >&5
9953 echo "$as_me:$LINENO: result: no" >&5
9954 echo "${ECHO_T}no" >&6
9956 rm -f conftest.err conftest.
$ac_objext \
9957 conftest
$ac_exeext conftest.
$ac_ext
9961 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
9962 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
9963 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
9964 echo $ECHO_N "(cached) $ECHO_C" >&6
9966 ac_check_lib_save_LIBS
=$LIBS
9967 LIBS
="-lfreetype $X_LIBS $LIBS"
9968 cat >conftest.
$ac_ext <<_ACEOF
9971 cat confdefs.h
>>conftest.
$ac_ext
9972 cat >>conftest.
$ac_ext <<_ACEOF
9973 /* end confdefs.h. */
9975 /* Override any gcc2 internal prototype to avoid an error. */
9979 /* We use char because int might match the return type of a gcc2
9980 builtin and then its argument prototype would still apply. */
9981 char FT_Init_FreeType ();
9985 FT_Init_FreeType ();
9990 rm -f conftest.
$ac_objext conftest
$ac_exeext
9991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9992 (eval $ac_link) 2>conftest.er1
9994 grep -v '^ *+' conftest.er1
>conftest.err
9996 cat conftest.err
>&5
9997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9998 (exit $ac_status); } &&
9999 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10001 (eval $ac_try) 2>&5
10003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10004 (exit $ac_status); }; } &&
10005 { ac_try
='test -s conftest$ac_exeext'
10006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10007 (eval $ac_try) 2>&5
10009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10010 (exit $ac_status); }; }; then
10011 ac_cv_lib_freetype_FT_Init_FreeType
=yes
10013 echo "$as_me: failed program was:" >&5
10014 sed 's/^/| /' conftest.
$ac_ext >&5
10016 ac_cv_lib_freetype_FT_Init_FreeType
=no
10018 rm -f conftest.err conftest.
$ac_objext \
10019 conftest
$ac_exeext conftest.
$ac_ext
10020 LIBS
=$ac_check_lib_save_LIBS
10022 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10023 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
10024 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10030 if test "$ft_lib" = "no"
10034 wine_cv_msg_freetype
=no
10036 # Extract the first word of "freetype-config", so it can be a program name with args.
10037 set dummy freetype-config
; ac_word
=$2
10038 echo "$as_me:$LINENO: checking for $ac_word" >&5
10039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10040 if test "${ac_cv_prog_ft_devel+set}" = set; then
10041 echo $ECHO_N "(cached) $ECHO_C" >&6
10043 if test -n "$ft_devel"; then
10044 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10047 for as_dir
in $PATH
10050 test -z "$as_dir" && as_dir
=.
10051 for ac_exec_ext
in '' $ac_executable_extensions; do
10052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10053 ac_cv_prog_ft_devel
="freetype-config"
10054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10060 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
10063 ft_devel
=$ac_cv_prog_ft_devel
10064 if test -n "$ft_devel"; then
10065 echo "$as_me:$LINENO: result: $ft_devel" >&5
10066 echo "${ECHO_T}$ft_devel" >&6
10068 echo "$as_me:$LINENO: result: no" >&5
10069 echo "${ECHO_T}no" >&6
10072 if test "$ft_devel" = "no"
10074 # Extract the first word of "freetype2-config", so it can be a program name with args.
10075 set dummy freetype2-config
; ac_word
=$2
10076 echo "$as_me:$LINENO: checking for $ac_word" >&5
10077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10078 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10079 echo $ECHO_N "(cached) $ECHO_C" >&6
10081 if test -n "$ft_devel2"; then
10082 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
10084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10085 for as_dir
in $PATH
10088 test -z "$as_dir" && as_dir
=.
10089 for ac_exec_ext
in '' $ac_executable_extensions; do
10090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10091 ac_cv_prog_ft_devel2
="freetype2-config"
10092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10098 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
10101 ft_devel2
=$ac_cv_prog_ft_devel2
10102 if test -n "$ft_devel2"; then
10103 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10104 echo "${ECHO_T}$ft_devel2" >&6
10106 echo "$as_me:$LINENO: result: no" >&5
10107 echo "${ECHO_T}no" >&6
10110 if test "$ft_devel2" = "freetype2-config"
10112 ft_devel
=$ft_devel2
10115 if test "$ft_devel" = "no"
10119 wine_cv_msg_freetype
=yes
10121 FREETYPELIBS
=`$ft_devel --libs`
10122 FREETYPEINCL
=`$ft_devel --cflags`
10123 ac_save_CPPFLAGS
="$CPPFLAGS"
10124 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
10135 for ac_header
in ft2build.h \
10136 freetype
/freetype.h \
10137 freetype
/ftglyph.h \
10138 freetype
/tttables.h \
10139 freetype
/ftnames.h \
10140 freetype
/ftsnames.h \
10141 freetype
/ttnameid.h \
10142 freetype
/ftoutln.h \
10143 freetype
/ftwinfnt.h \
10144 freetype
/internal
/sfnt.h
10146 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10147 echo "$as_me:$LINENO: checking for $ac_header" >&5
10148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10150 echo $ECHO_N "(cached) $ECHO_C" >&6
10152 cat >conftest.
$ac_ext <<_ACEOF
10155 cat confdefs.h
>>conftest.
$ac_ext
10156 cat >>conftest.
$ac_ext <<_ACEOF
10157 /* end confdefs.h. */
10158 #if HAVE_FT2BUILD_H
10159 #include <ft2build.h>
10162 #include <$ac_header>
10164 rm -f conftest.
$ac_objext
10165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10166 (eval $ac_compile) 2>conftest.er1
10168 grep -v '^ *+' conftest.er1
>conftest.err
10170 cat conftest.err
>&5
10171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172 (exit $ac_status); } &&
10173 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10175 (eval $ac_try) 2>&5
10177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10178 (exit $ac_status); }; } &&
10179 { ac_try
='test -s conftest.$ac_objext'
10180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10181 (eval $ac_try) 2>&5
10183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10184 (exit $ac_status); }; }; then
10185 eval "$as_ac_Header=yes"
10187 echo "$as_me: failed program was:" >&5
10188 sed 's/^/| /' conftest.
$ac_ext >&5
10190 eval "$as_ac_Header=no"
10192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10196 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10197 cat >>confdefs.h
<<_ACEOF
10198 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10205 cat >conftest.
$ac_ext <<_ACEOF
10208 cat confdefs.h
>>conftest.
$ac_ext
10209 cat >>conftest.
$ac_ext <<_ACEOF
10210 /* end confdefs.h. */
10211 #include <ft2build.h>
10212 #include <freetype/fttrigon.h>
10214 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10215 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10217 grep -v '^ *+' conftest.er1
>conftest.err
10219 cat conftest.err
>&5
10220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10221 (exit $ac_status); } >/dev
/null
; then
10222 if test -s conftest.err
; then
10223 ac_cpp_err
=$ac_c_preproc_warn_flag
10224 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10231 if test -z "$ac_cpp_err"; then
10233 cat >>confdefs.h
<<\_ACEOF
10234 #define HAVE_FREETYPE_FTTRIGON_H 1
10237 wine_cv_fttrigon
=yes
10239 echo "$as_me: failed program was:" >&5
10240 sed 's/^/| /' conftest.
$ac_ext >&5
10242 wine_cv_fttrigon
=no
10244 rm -f conftest.err conftest.
$ac_ext
10245 CPPFLAGS
="$ac_save_CPPFLAGS"
10246 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10249 cat >>confdefs.h
<<\_ACEOF
10250 #define HAVE_FREETYPE 1
10253 wine_cv_msg_freetype
=no
10257 wine_cv_msg_freetype
=yes
10264 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
10266 FONTSSUBDIRS
="fonts"
10270 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10271 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10272 if test "${ac_cv_c_ppdev+set}" = set; then
10273 echo $ECHO_N "(cached) $ECHO_C" >&6
10275 cat >conftest.
$ac_ext <<_ACEOF
10278 cat confdefs.h
>>conftest.
$ac_ext
10279 cat >>conftest.
$ac_ext <<_ACEOF
10280 /* end confdefs.h. */
10281 #include <linux/ppdev.h>
10285 ioctl (1,PPCLAIM,0)
10290 rm -f conftest.
$ac_objext
10291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10292 (eval $ac_compile) 2>conftest.er1
10294 grep -v '^ *+' conftest.er1
>conftest.err
10296 cat conftest.err
>&5
10297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10298 (exit $ac_status); } &&
10299 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10301 (eval $ac_try) 2>&5
10303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10304 (exit $ac_status); }; } &&
10305 { ac_try
='test -s conftest.$ac_objext'
10306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10307 (eval $ac_try) 2>&5
10309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10310 (exit $ac_status); }; }; then
10311 ac_cv_c_ppdev
="yes"
10313 echo "$as_me: failed program was:" >&5
10314 sed 's/^/| /' conftest.
$ac_ext >&5
10318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10321 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10322 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10323 if test "$ac_cv_c_ppdev" = "yes"
10326 cat >>confdefs.h
<<\_ACEOF
10327 #define HAVE_PPDEV 1
10332 echo "$as_me:$LINENO: checking for va_copy" >&5
10333 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10334 if test "${ac_cv_c_va_copy+set}" = set; then
10335 echo $ECHO_N "(cached) $ECHO_C" >&6
10337 cat >conftest.
$ac_ext <<_ACEOF
10340 cat confdefs.h
>>conftest.
$ac_ext
10341 cat >>conftest.
$ac_ext <<_ACEOF
10342 /* end confdefs.h. */
10343 #include <stdarg.h>
10354 rm -f conftest.
$ac_objext conftest
$ac_exeext
10355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10356 (eval $ac_link) 2>conftest.er1
10358 grep -v '^ *+' conftest.er1
>conftest.err
10360 cat conftest.err
>&5
10361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10362 (exit $ac_status); } &&
10363 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10365 (eval $ac_try) 2>&5
10367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10368 (exit $ac_status); }; } &&
10369 { ac_try
='test -s conftest$ac_exeext'
10370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10371 (eval $ac_try) 2>&5
10373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10374 (exit $ac_status); }; }; then
10375 ac_cv_c_va_copy
="yes"
10377 echo "$as_me: failed program was:" >&5
10378 sed 's/^/| /' conftest.
$ac_ext >&5
10380 ac_cv_c_va_copy
="no"
10382 rm -f conftest.err conftest.
$ac_objext \
10383 conftest
$ac_exeext conftest.
$ac_ext
10386 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10387 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10388 if test "$ac_cv_c_va_copy" = "yes"
10391 cat >>confdefs.h
<<\_ACEOF
10392 #define HAVE_VA_COPY 1
10396 echo "$as_me:$LINENO: checking for __va_copy" >&5
10397 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10398 if test "${ac_cv_c___va_copy+set}" = set; then
10399 echo $ECHO_N "(cached) $ECHO_C" >&6
10401 cat >conftest.
$ac_ext <<_ACEOF
10404 cat confdefs.h
>>conftest.
$ac_ext
10405 cat >>conftest.
$ac_ext <<_ACEOF
10406 /* end confdefs.h. */
10407 #include <stdarg.h>
10412 __va_copy(ap1,ap2);
10418 rm -f conftest.
$ac_objext conftest
$ac_exeext
10419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10420 (eval $ac_link) 2>conftest.er1
10422 grep -v '^ *+' conftest.er1
>conftest.err
10424 cat conftest.err
>&5
10425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10426 (exit $ac_status); } &&
10427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10429 (eval $ac_try) 2>&5
10431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432 (exit $ac_status); }; } &&
10433 { ac_try
='test -s conftest$ac_exeext'
10434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10435 (eval $ac_try) 2>&5
10437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10438 (exit $ac_status); }; }; then
10439 ac_cv_c___va_copy
="yes"
10441 echo "$as_me: failed program was:" >&5
10442 sed 's/^/| /' conftest.
$ac_ext >&5
10444 ac_cv_c___va_copy
="no"
10446 rm -f conftest.err conftest.
$ac_objext \
10447 conftest
$ac_exeext conftest.
$ac_ext
10450 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10451 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10452 if test "$ac_cv_c___va_copy" = "yes"
10455 cat >>confdefs.h
<<\_ACEOF
10456 #define HAVE___VA_COPY 1
10461 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10462 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10463 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10464 echo $ECHO_N "(cached) $ECHO_C" >&6
10466 cat >conftest.
$ac_ext <<_ACEOF
10469 cat confdefs.h
>>conftest.
$ac_ext
10470 cat >>conftest.
$ac_ext <<_ACEOF
10471 /* end confdefs.h. */
10472 #include <setjmp.h>
10477 sigsetjmp( buf, 1 );
10478 siglongjmp( buf, 1 );
10483 rm -f conftest.
$ac_objext conftest
$ac_exeext
10484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10485 (eval $ac_link) 2>conftest.er1
10487 grep -v '^ *+' conftest.er1
>conftest.err
10489 cat conftest.err
>&5
10490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10491 (exit $ac_status); } &&
10492 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10494 (eval $ac_try) 2>&5
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); }; } &&
10498 { ac_try
='test -s conftest$ac_exeext'
10499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10500 (eval $ac_try) 2>&5
10502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10503 (exit $ac_status); }; }; then
10504 ac_cv_c_sigsetjmp
="yes"
10506 echo "$as_me: failed program was:" >&5
10507 sed 's/^/| /' conftest.
$ac_ext >&5
10509 ac_cv_c_sigsetjmp
="no"
10511 rm -f conftest.err conftest.
$ac_objext \
10512 conftest
$ac_exeext conftest.
$ac_ext
10515 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10516 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10517 if test "$ac_cv_c_sigsetjmp" = "yes"
10520 cat >>confdefs.h
<<\_ACEOF
10521 #define HAVE_SIGSETJMP 1
10526 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10527 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10528 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10529 echo $ECHO_N "(cached) $ECHO_C" >&6
10531 cat >conftest.
$ac_ext <<_ACEOF
10534 cat confdefs.h
>>conftest.
$ac_ext
10535 cat >>conftest.
$ac_ext <<_ACEOF
10536 /* end confdefs.h. */
10537 #define _GNU_SOURCE
10538 #include <pthread.h>
10543 if ((pthread_rwlock_t *) 0)
10545 if (sizeof (pthread_rwlock_t))
10551 rm -f conftest.
$ac_objext
10552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10553 (eval $ac_compile) 2>conftest.er1
10555 grep -v '^ *+' conftest.er1
>conftest.err
10557 cat conftest.err
>&5
10558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559 (exit $ac_status); } &&
10560 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10562 (eval $ac_try) 2>&5
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); }; } &&
10566 { ac_try
='test -s conftest.$ac_objext'
10567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10568 (eval $ac_try) 2>&5
10570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10571 (exit $ac_status); }; }; then
10572 ac_cv_type_pthread_rwlock_t
=yes
10574 echo "$as_me: failed program was:" >&5
10575 sed 's/^/| /' conftest.
$ac_ext >&5
10577 ac_cv_type_pthread_rwlock_t
=no
10579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10581 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10582 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10583 if test $ac_cv_type_pthread_rwlock_t = yes; then
10585 cat >>confdefs.h
<<_ACEOF
10586 #define HAVE_PTHREAD_RWLOCK_T 1
10591 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
10592 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
10593 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
10594 echo $ECHO_N "(cached) $ECHO_C" >&6
10596 cat >conftest.
$ac_ext <<_ACEOF
10599 cat confdefs.h
>>conftest.
$ac_ext
10600 cat >>conftest.
$ac_ext <<_ACEOF
10601 /* end confdefs.h. */
10602 #define _GNU_SOURCE
10603 #include <pthread.h>
10608 if ((pthread_rwlockattr_t *) 0)
10610 if (sizeof (pthread_rwlockattr_t))
10616 rm -f conftest.
$ac_objext
10617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10618 (eval $ac_compile) 2>conftest.er1
10620 grep -v '^ *+' conftest.er1
>conftest.err
10622 cat conftest.err
>&5
10623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624 (exit $ac_status); } &&
10625 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10627 (eval $ac_try) 2>&5
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }; } &&
10631 { ac_try
='test -s conftest.$ac_objext'
10632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10633 (eval $ac_try) 2>&5
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); }; }; then
10637 ac_cv_type_pthread_rwlockattr_t
=yes
10639 echo "$as_me: failed program was:" >&5
10640 sed 's/^/| /' conftest.
$ac_ext >&5
10642 ac_cv_type_pthread_rwlockattr_t
=no
10644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10646 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
10647 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
10648 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
10650 cat >>confdefs.h
<<_ACEOF
10651 #define HAVE_PTHREAD_RWLOCKATTR_T 1
10658 ac_save_LIBS
="$LIBS"
10659 LIBS
="$LIBS $LIBPTHREAD"
10664 pthread_getattr_np \
10665 pthread_get_stackaddr_np \
10666 pthread_get_stacksize_np \
10669 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10670 echo "$as_me:$LINENO: checking for $ac_func" >&5
10671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10672 if eval "test \"\${$as_ac_var+set}\" = set"; then
10673 echo $ECHO_N "(cached) $ECHO_C" >&6
10675 cat >conftest.
$ac_ext <<_ACEOF
10678 cat confdefs.h
>>conftest.
$ac_ext
10679 cat >>conftest.
$ac_ext <<_ACEOF
10680 /* end confdefs.h. */
10681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10683 #define $ac_func innocuous_$ac_func
10685 /* System header to define __stub macros and hopefully few prototypes,
10686 which can conflict with char $ac_func (); below.
10687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10688 <limits.h> exists even on freestanding compilers. */
10691 # include <limits.h>
10693 # include <assert.h>
10698 /* Override any gcc2 internal prototype to avoid an error. */
10703 /* We use char because int might match the return type of a gcc2
10704 builtin and then its argument prototype would still apply. */
10706 /* The GNU C library defines this for functions which it implements
10707 to always fail with ENOSYS. Some functions are actually named
10708 something starting with __ and the normal name is an alias. */
10709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10712 char (*f) () = $ac_func;
10721 return f != $ac_func;
10726 rm -f conftest.
$ac_objext conftest
$ac_exeext
10727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10728 (eval $ac_link) 2>conftest.er1
10730 grep -v '^ *+' conftest.er1
>conftest.err
10732 cat conftest.err
>&5
10733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10734 (exit $ac_status); } &&
10735 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10737 (eval $ac_try) 2>&5
10739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10740 (exit $ac_status); }; } &&
10741 { ac_try
='test -s conftest$ac_exeext'
10742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10743 (eval $ac_try) 2>&5
10745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10746 (exit $ac_status); }; }; then
10747 eval "$as_ac_var=yes"
10749 echo "$as_me: failed program was:" >&5
10750 sed 's/^/| /' conftest.
$ac_ext >&5
10752 eval "$as_ac_var=no"
10754 rm -f conftest.err conftest.
$ac_objext \
10755 conftest
$ac_exeext conftest.
$ac_ext
10757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10759 if test `eval echo '${'$as_ac_var'}'` = yes; then
10760 cat >>confdefs.h
<<_ACEOF
10761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10767 LIBS
="$ac_save_LIBS"
10772 for ac_header
in sys
/soundcard.h machine
/soundcard.h soundcard.h
10774 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10776 echo "$as_me:$LINENO: checking for $ac_header" >&5
10777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10779 echo $ECHO_N "(cached) $ECHO_C" >&6
10781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10784 # Is the header compilable?
10785 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10786 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10787 cat >conftest.
$ac_ext <<_ACEOF
10790 cat confdefs.h
>>conftest.
$ac_ext
10791 cat >>conftest.
$ac_ext <<_ACEOF
10792 /* end confdefs.h. */
10793 $ac_includes_default
10794 #include <$ac_header>
10796 rm -f conftest.
$ac_objext
10797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10798 (eval $ac_compile) 2>conftest.er1
10800 grep -v '^ *+' conftest.er1
>conftest.err
10802 cat conftest.err
>&5
10803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10804 (exit $ac_status); } &&
10805 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10807 (eval $ac_try) 2>&5
10809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 (exit $ac_status); }; } &&
10811 { ac_try
='test -s conftest.$ac_objext'
10812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10813 (eval $ac_try) 2>&5
10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 (exit $ac_status); }; }; then
10817 ac_header_compiler
=yes
10819 echo "$as_me: failed program was:" >&5
10820 sed 's/^/| /' conftest.
$ac_ext >&5
10822 ac_header_compiler
=no
10824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10825 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10826 echo "${ECHO_T}$ac_header_compiler" >&6
10828 # Is the header present?
10829 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10830 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10831 cat >conftest.
$ac_ext <<_ACEOF
10834 cat confdefs.h
>>conftest.
$ac_ext
10835 cat >>conftest.
$ac_ext <<_ACEOF
10836 /* end confdefs.h. */
10837 #include <$ac_header>
10839 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10840 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10842 grep -v '^ *+' conftest.er1
>conftest.err
10844 cat conftest.err
>&5
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); } >/dev
/null
; then
10847 if test -s conftest.err
; then
10848 ac_cpp_err
=$ac_c_preproc_warn_flag
10849 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10856 if test -z "$ac_cpp_err"; then
10857 ac_header_preproc
=yes
10859 echo "$as_me: failed program was:" >&5
10860 sed 's/^/| /' conftest.
$ac_ext >&5
10862 ac_header_preproc
=no
10864 rm -f conftest.err conftest.
$ac_ext
10865 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10866 echo "${ECHO_T}$ac_header_preproc" >&6
10868 # So? What about this header?
10869 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10871 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10872 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10873 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10874 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10875 ac_header_preproc
=yes
10878 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10879 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10880 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10881 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10882 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10883 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10884 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10885 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10886 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10887 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10888 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10889 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10892 ## ------------------------------------ ##
10893 ## Report this to wine-devel@winehq.org ##
10894 ## ------------------------------------ ##
10897 sed "s/^/$as_me: WARNING: /" >&2
10900 echo "$as_me:$LINENO: checking for $ac_header" >&5
10901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10903 echo $ECHO_N "(cached) $ECHO_C" >&6
10905 eval "$as_ac_Header=\$ac_header_preproc"
10907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10911 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10912 cat >>confdefs.h
<<_ACEOF
10913 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10921 echo "$as_me:$LINENO: checking for Open Sound System" >&5
10922 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
10923 if test "${ac_cv_c_opensoundsystem+set}" = set; then
10924 echo $ECHO_N "(cached) $ECHO_C" >&6
10926 cat >conftest.
$ac_ext <<_ACEOF
10929 cat confdefs.h
>>conftest.
$ac_ext
10930 cat >>conftest.
$ac_ext <<_ACEOF
10931 /* end confdefs.h. */
10933 #if defined(HAVE_SYS_SOUNDCARD_H)
10934 #include <sys/soundcard.h>
10935 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10936 #include <machine/soundcard.h>
10937 #elif defined(HAVE_SOUNDCARD_H)
10938 #include <soundcard.h>
10946 /* check for one of the Open Sound System specific SNDCTL_ defines */
10947 #if !defined(SNDCTL_DSP_STEREO)
10948 #error No open sound system
10955 rm -f conftest.
$ac_objext
10956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10957 (eval $ac_compile) 2>conftest.er1
10959 grep -v '^ *+' conftest.er1
>conftest.err
10961 cat conftest.err
>&5
10962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10963 (exit $ac_status); } &&
10964 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10966 (eval $ac_try) 2>&5
10968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10969 (exit $ac_status); }; } &&
10970 { ac_try
='test -s conftest.$ac_objext'
10971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10972 (eval $ac_try) 2>&5
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); }; }; then
10976 ac_cv_c_opensoundsystem
="yes"
10978 echo "$as_me: failed program was:" >&5
10979 sed 's/^/| /' conftest.
$ac_ext >&5
10981 ac_cv_c_opensoundsystem
="no"
10983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10985 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
10986 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
10988 if test "$ac_cv_c_opensoundsystem" = "yes"
10991 cat >>confdefs.h
<<\_ACEOF
10997 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
10998 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
10999 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
11000 echo $ECHO_N "(cached) $ECHO_C" >&6
11002 cat >conftest.
$ac_ext <<_ACEOF
11005 cat confdefs.h
>>conftest.
$ac_ext
11006 cat >>conftest.
$ac_ext <<_ACEOF
11007 /* end confdefs.h. */
11009 #if defined(HAVE_SYS_SOUNDCARD_H)
11010 #include <sys/soundcard.h>
11011 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11012 #include <machine/soundcard.h>
11013 #elif defined(HAVE_SOUNDCARD_H)
11014 #include <soundcard.h>
11022 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
11023 #if !defined(SNDCTL_SEQ_SYNC)
11024 #error No open sound system MIDI interface
11031 rm -f conftest.
$ac_objext
11032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11033 (eval $ac_compile) 2>conftest.er1
11035 grep -v '^ *+' conftest.er1
>conftest.err
11037 cat conftest.err
>&5
11038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11039 (exit $ac_status); } &&
11040 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11042 (eval $ac_try) 2>&5
11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); }; } &&
11046 { ac_try
='test -s conftest.$ac_objext'
11047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11048 (eval $ac_try) 2>&5
11050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); }; }; then
11052 ac_cv_c_opensoundsystem_midi
="yes"
11054 echo "$as_me: failed program was:" >&5
11055 sed 's/^/| /' conftest.
$ac_ext >&5
11057 ac_cv_c_opensoundsystem_midi
="no"
11059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11061 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
11062 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
11064 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
11067 cat >>confdefs.h
<<\_ACEOF
11068 #define HAVE_OSS_MIDI 1
11073 # Extract the first word of "artsc-config", so it can be a program name with args.
11074 set dummy artsc-config
; ac_word
=$2
11075 echo "$as_me:$LINENO: checking for $ac_word" >&5
11076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11077 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11078 echo $ECHO_N "(cached) $ECHO_C" >&6
11080 case $ARTSCCONFIG in
11082 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
11085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11086 for as_dir
in $PATH
11089 test -z "$as_dir" && as_dir
=.
11090 for ac_exec_ext
in '' $ac_executable_extensions; do
11091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11092 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
11093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11102 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
11104 if test -n "$ARTSCCONFIG"; then
11105 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11106 echo "${ECHO_T}$ARTSCCONFIG" >&6
11108 echo "$as_me:$LINENO: result: no" >&5
11109 echo "${ECHO_T}no" >&6
11112 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
11115 for i
in `$ARTSCCONFIG --cflags`
11118 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
11121 ARTSC_LIBS
=`$ARTSCCONFIG --libs`
11122 save_CFLAGS
="$CFLAGS"
11123 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
11124 cat >conftest.
$ac_ext <<_ACEOF
11127 cat confdefs.h
>>conftest.
$ac_ext
11128 cat >>conftest.
$ac_ext <<_ACEOF
11129 /* end confdefs.h. */
11134 arts_stream_t stream;
11139 rm -f conftest.
$ac_objext
11140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11141 (eval $ac_compile) 2>conftest.er1
11143 grep -v '^ *+' conftest.er1
>conftest.err
11145 cat conftest.err
>&5
11146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11147 (exit $ac_status); } &&
11148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11150 (eval $ac_try) 2>&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); }; } &&
11154 { ac_try
='test -s conftest.$ac_objext'
11155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11156 (eval $ac_try) 2>&5
11158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11159 (exit $ac_status); }; }; then
11160 ARTSLIBS
=$ARTSC_LIBS
11162 ARTSINCL
=$ARTSC_CFLAGS
11165 cat >>confdefs.h
<<\_ACEOF
11166 #define HAVE_ARTS 1
11170 echo "$as_me: failed program was:" >&5
11171 sed 's/^/| /' conftest.
$ac_ext >&5
11174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11175 CFLAGS
="$save_CFLAGS"
11182 for ac_header
in alsa
/asoundlib.h sys
/asoundlib.h
11184 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11186 echo "$as_me:$LINENO: checking for $ac_header" >&5
11187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11192 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11194 # Is the header compilable?
11195 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11196 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11197 cat >conftest.
$ac_ext <<_ACEOF
11200 cat confdefs.h
>>conftest.
$ac_ext
11201 cat >>conftest.
$ac_ext <<_ACEOF
11202 /* end confdefs.h. */
11203 $ac_includes_default
11204 #include <$ac_header>
11206 rm -f conftest.
$ac_objext
11207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11208 (eval $ac_compile) 2>conftest.er1
11210 grep -v '^ *+' conftest.er1
>conftest.err
11212 cat conftest.err
>&5
11213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11214 (exit $ac_status); } &&
11215 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11217 (eval $ac_try) 2>&5
11219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11220 (exit $ac_status); }; } &&
11221 { ac_try
='test -s conftest.$ac_objext'
11222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11223 (eval $ac_try) 2>&5
11225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226 (exit $ac_status); }; }; then
11227 ac_header_compiler
=yes
11229 echo "$as_me: failed program was:" >&5
11230 sed 's/^/| /' conftest.
$ac_ext >&5
11232 ac_header_compiler
=no
11234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11235 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11236 echo "${ECHO_T}$ac_header_compiler" >&6
11238 # Is the header present?
11239 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11240 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11241 cat >conftest.
$ac_ext <<_ACEOF
11244 cat confdefs.h
>>conftest.
$ac_ext
11245 cat >>conftest.
$ac_ext <<_ACEOF
11246 /* end confdefs.h. */
11247 #include <$ac_header>
11249 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11250 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11252 grep -v '^ *+' conftest.er1
>conftest.err
11254 cat conftest.err
>&5
11255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11256 (exit $ac_status); } >/dev
/null
; then
11257 if test -s conftest.err
; then
11258 ac_cpp_err
=$ac_c_preproc_warn_flag
11259 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11266 if test -z "$ac_cpp_err"; then
11267 ac_header_preproc
=yes
11269 echo "$as_me: failed program was:" >&5
11270 sed 's/^/| /' conftest.
$ac_ext >&5
11272 ac_header_preproc
=no
11274 rm -f conftest.err conftest.
$ac_ext
11275 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11276 echo "${ECHO_T}$ac_header_preproc" >&6
11278 # So? What about this header?
11279 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11281 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11282 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11283 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11284 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11285 ac_header_preproc
=yes
11288 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11289 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11290 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11291 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11292 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11293 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11294 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11295 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11297 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11298 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11299 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11302 ## ------------------------------------ ##
11303 ## Report this to wine-devel@winehq.org ##
11304 ## ------------------------------------ ##
11307 sed "s/^/$as_me: WARNING: /" >&2
11310 echo "$as_me:$LINENO: checking for $ac_header" >&5
11311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11313 echo $ECHO_N "(cached) $ECHO_C" >&6
11315 eval "$as_ac_Header=\$ac_header_preproc"
11317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11318 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11322 cat >>confdefs.h
<<_ACEOF
11323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11330 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11332 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
11333 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
11334 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
11335 echo $ECHO_N "(cached) $ECHO_C" >&6
11337 ac_check_lib_save_LIBS
=$LIBS
11338 LIBS
="-lasound $LIBS"
11339 cat >conftest.
$ac_ext <<_ACEOF
11342 cat confdefs.h
>>conftest.
$ac_ext
11343 cat >>conftest.
$ac_ext <<_ACEOF
11344 /* end confdefs.h. */
11346 /* Override any gcc2 internal prototype to avoid an error. */
11350 /* We use char because int might match the return type of a gcc2
11351 builtin and then its argument prototype would still apply. */
11352 char snd_pcm_open ();
11361 rm -f conftest.
$ac_objext conftest
$ac_exeext
11362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11363 (eval $ac_link) 2>conftest.er1
11365 grep -v '^ *+' conftest.er1
>conftest.err
11367 cat conftest.err
>&5
11368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11369 (exit $ac_status); } &&
11370 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11372 (eval $ac_try) 2>&5
11374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11375 (exit $ac_status); }; } &&
11376 { ac_try
='test -s conftest$ac_exeext'
11377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11378 (eval $ac_try) 2>&5
11380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11381 (exit $ac_status); }; }; then
11382 ac_cv_lib_asound_snd_pcm_open
=yes
11384 echo "$as_me: failed program was:" >&5
11385 sed 's/^/| /' conftest.
$ac_ext >&5
11387 ac_cv_lib_asound_snd_pcm_open
=no
11389 rm -f conftest.err conftest.
$ac_objext \
11390 conftest
$ac_exeext conftest.
$ac_ext
11391 LIBS
=$ac_check_lib_save_LIBS
11393 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
11394 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
11395 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
11397 cat >>confdefs.h
<<\_ACEOF
11398 #define HAVE_ALSA 1
11401 ALSALIBS
="-lasound"
11410 for ac_header
in libaudioio.h
11412 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11414 echo "$as_me:$LINENO: checking for $ac_header" >&5
11415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11417 echo $ECHO_N "(cached) $ECHO_C" >&6
11419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11420 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11422 # Is the header compilable?
11423 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11424 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11425 cat >conftest.
$ac_ext <<_ACEOF
11428 cat confdefs.h
>>conftest.
$ac_ext
11429 cat >>conftest.
$ac_ext <<_ACEOF
11430 /* end confdefs.h. */
11431 $ac_includes_default
11432 #include <$ac_header>
11434 rm -f conftest.
$ac_objext
11435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11436 (eval $ac_compile) 2>conftest.er1
11438 grep -v '^ *+' conftest.er1
>conftest.err
11440 cat conftest.err
>&5
11441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11442 (exit $ac_status); } &&
11443 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11445 (eval $ac_try) 2>&5
11447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11448 (exit $ac_status); }; } &&
11449 { ac_try
='test -s conftest.$ac_objext'
11450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11451 (eval $ac_try) 2>&5
11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454 (exit $ac_status); }; }; then
11455 ac_header_compiler
=yes
11457 echo "$as_me: failed program was:" >&5
11458 sed 's/^/| /' conftest.
$ac_ext >&5
11460 ac_header_compiler
=no
11462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11463 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11464 echo "${ECHO_T}$ac_header_compiler" >&6
11466 # Is the header present?
11467 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11468 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11469 cat >conftest.
$ac_ext <<_ACEOF
11472 cat confdefs.h
>>conftest.
$ac_ext
11473 cat >>conftest.
$ac_ext <<_ACEOF
11474 /* end confdefs.h. */
11475 #include <$ac_header>
11477 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11478 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11480 grep -v '^ *+' conftest.er1
>conftest.err
11482 cat conftest.err
>&5
11483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11484 (exit $ac_status); } >/dev
/null
; then
11485 if test -s conftest.err
; then
11486 ac_cpp_err
=$ac_c_preproc_warn_flag
11487 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11494 if test -z "$ac_cpp_err"; then
11495 ac_header_preproc
=yes
11497 echo "$as_me: failed program was:" >&5
11498 sed 's/^/| /' conftest.
$ac_ext >&5
11500 ac_header_preproc
=no
11502 rm -f conftest.err conftest.
$ac_ext
11503 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11504 echo "${ECHO_T}$ac_header_preproc" >&6
11506 # So? What about this header?
11507 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11509 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11510 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11511 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11512 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11513 ac_header_preproc
=yes
11516 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11517 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11518 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11519 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11520 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11521 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11522 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11523 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11524 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11525 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11526 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11527 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11530 ## ------------------------------------ ##
11531 ## Report this to wine-devel@winehq.org ##
11532 ## ------------------------------------ ##
11535 sed "s/^/$as_me: WARNING: /" >&2
11538 echo "$as_me:$LINENO: checking for $ac_header" >&5
11539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11541 echo $ECHO_N "(cached) $ECHO_C" >&6
11543 eval "$as_ac_Header=\$ac_header_preproc"
11545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11546 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11549 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11550 cat >>confdefs.h
<<_ACEOF
11551 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11553 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
11554 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
11555 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
11556 echo $ECHO_N "(cached) $ECHO_C" >&6
11558 ac_check_lib_save_LIBS
=$LIBS
11559 LIBS
="-laudioio $LIBS"
11560 cat >conftest.
$ac_ext <<_ACEOF
11563 cat confdefs.h
>>conftest.
$ac_ext
11564 cat >>conftest.
$ac_ext <<_ACEOF
11565 /* end confdefs.h. */
11567 /* Override any gcc2 internal prototype to avoid an error. */
11571 /* We use char because int might match the return type of a gcc2
11572 builtin and then its argument prototype would still apply. */
11573 char AudioIOGetVersion ();
11577 AudioIOGetVersion ();
11582 rm -f conftest.
$ac_objext conftest
$ac_exeext
11583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11584 (eval $ac_link) 2>conftest.er1
11586 grep -v '^ *+' conftest.er1
>conftest.err
11588 cat conftest.err
>&5
11589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11590 (exit $ac_status); } &&
11591 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11593 (eval $ac_try) 2>&5
11595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596 (exit $ac_status); }; } &&
11597 { ac_try
='test -s conftest$ac_exeext'
11598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11599 (eval $ac_try) 2>&5
11601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11602 (exit $ac_status); }; }; then
11603 ac_cv_lib_audioio_AudioIOGetVersion
=yes
11605 echo "$as_me: failed program was:" >&5
11606 sed 's/^/| /' conftest.
$ac_ext >&5
11608 ac_cv_lib_audioio_AudioIOGetVersion
=no
11610 rm -f conftest.err conftest.
$ac_objext \
11611 conftest
$ac_exeext conftest.
$ac_ext
11612 LIBS
=$ac_check_lib_save_LIBS
11614 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
11615 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
11616 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
11617 AUDIOIOLIBS
="-laudioio"
11619 cat >>confdefs.h
<<\_ACEOF
11620 #define HAVE_LIBAUDIOIO 1
11632 for ac_header
in lcms.h
11634 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11636 echo "$as_me:$LINENO: checking for $ac_header" >&5
11637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11639 echo $ECHO_N "(cached) $ECHO_C" >&6
11641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11644 # Is the header compilable?
11645 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11646 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11647 cat >conftest.
$ac_ext <<_ACEOF
11650 cat confdefs.h
>>conftest.
$ac_ext
11651 cat >>conftest.
$ac_ext <<_ACEOF
11652 /* end confdefs.h. */
11653 $ac_includes_default
11654 #include <$ac_header>
11656 rm -f conftest.
$ac_objext
11657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11658 (eval $ac_compile) 2>conftest.er1
11660 grep -v '^ *+' conftest.er1
>conftest.err
11662 cat conftest.err
>&5
11663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664 (exit $ac_status); } &&
11665 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11667 (eval $ac_try) 2>&5
11669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11670 (exit $ac_status); }; } &&
11671 { ac_try
='test -s conftest.$ac_objext'
11672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11673 (eval $ac_try) 2>&5
11675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11676 (exit $ac_status); }; }; then
11677 ac_header_compiler
=yes
11679 echo "$as_me: failed program was:" >&5
11680 sed 's/^/| /' conftest.
$ac_ext >&5
11682 ac_header_compiler
=no
11684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11685 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11686 echo "${ECHO_T}$ac_header_compiler" >&6
11688 # Is the header present?
11689 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11690 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11691 cat >conftest.
$ac_ext <<_ACEOF
11694 cat confdefs.h
>>conftest.
$ac_ext
11695 cat >>conftest.
$ac_ext <<_ACEOF
11696 /* end confdefs.h. */
11697 #include <$ac_header>
11699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11700 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11702 grep -v '^ *+' conftest.er1
>conftest.err
11704 cat conftest.err
>&5
11705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11706 (exit $ac_status); } >/dev
/null
; then
11707 if test -s conftest.err
; then
11708 ac_cpp_err
=$ac_c_preproc_warn_flag
11709 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11716 if test -z "$ac_cpp_err"; then
11717 ac_header_preproc
=yes
11719 echo "$as_me: failed program was:" >&5
11720 sed 's/^/| /' conftest.
$ac_ext >&5
11722 ac_header_preproc
=no
11724 rm -f conftest.err conftest.
$ac_ext
11725 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11726 echo "${ECHO_T}$ac_header_preproc" >&6
11728 # So? What about this header?
11729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11731 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11732 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11733 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11734 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11735 ac_header_preproc
=yes
11738 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11739 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11740 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11741 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11742 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11743 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11744 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11745 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11747 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11748 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11749 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11752 ## ------------------------------------ ##
11753 ## Report this to wine-devel@winehq.org ##
11754 ## ------------------------------------ ##
11757 sed "s/^/$as_me: WARNING: /" >&2
11760 echo "$as_me:$LINENO: checking for $ac_header" >&5
11761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11763 echo $ECHO_N "(cached) $ECHO_C" >&6
11765 eval "$as_ac_Header=\$ac_header_preproc"
11767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11772 cat >>confdefs.h
<<_ACEOF
11773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11775 echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
11776 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6
11777 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
11778 echo $ECHO_N "(cached) $ECHO_C" >&6
11780 ac_check_lib_save_LIBS
=$LIBS
11781 LIBS
="-llcms $LIBS"
11782 cat >conftest.
$ac_ext <<_ACEOF
11785 cat confdefs.h
>>conftest.
$ac_ext
11786 cat >>conftest.
$ac_ext <<_ACEOF
11787 /* end confdefs.h. */
11789 /* Override any gcc2 internal prototype to avoid an error. */
11793 /* We use char because int might match the return type of a gcc2
11794 builtin and then its argument prototype would still apply. */
11795 char cmsOpenProfileFromFile ();
11799 cmsOpenProfileFromFile ();
11804 rm -f conftest.
$ac_objext conftest
$ac_exeext
11805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11806 (eval $ac_link) 2>conftest.er1
11808 grep -v '^ *+' conftest.er1
>conftest.err
11810 cat conftest.err
>&5
11811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11812 (exit $ac_status); } &&
11813 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11815 (eval $ac_try) 2>&5
11817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11818 (exit $ac_status); }; } &&
11819 { ac_try
='test -s conftest$ac_exeext'
11820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11821 (eval $ac_try) 2>&5
11823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 (exit $ac_status); }; }; then
11825 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
11827 echo "$as_me: failed program was:" >&5
11828 sed 's/^/| /' conftest.
$ac_ext >&5
11830 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
11832 rm -f conftest.err conftest.
$ac_objext \
11833 conftest
$ac_exeext conftest.
$ac_ext
11834 LIBS
=$ac_check_lib_save_LIBS
11836 echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
11837 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6
11838 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
11840 cat >>confdefs.h
<<\_ACEOF
11841 #define HAVE_LCMS 1
11857 for ac_header
in capi20.h
11859 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11861 echo "$as_me:$LINENO: checking for $ac_header" >&5
11862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11864 echo $ECHO_N "(cached) $ECHO_C" >&6
11866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11869 # Is the header compilable?
11870 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11871 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11872 cat >conftest.
$ac_ext <<_ACEOF
11875 cat confdefs.h
>>conftest.
$ac_ext
11876 cat >>conftest.
$ac_ext <<_ACEOF
11877 /* end confdefs.h. */
11878 $ac_includes_default
11879 #include <$ac_header>
11881 rm -f conftest.
$ac_objext
11882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11883 (eval $ac_compile) 2>conftest.er1
11885 grep -v '^ *+' conftest.er1
>conftest.err
11887 cat conftest.err
>&5
11888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11889 (exit $ac_status); } &&
11890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11892 (eval $ac_try) 2>&5
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); }; } &&
11896 { ac_try
='test -s conftest.$ac_objext'
11897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11898 (eval $ac_try) 2>&5
11900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11901 (exit $ac_status); }; }; then
11902 ac_header_compiler
=yes
11904 echo "$as_me: failed program was:" >&5
11905 sed 's/^/| /' conftest.
$ac_ext >&5
11907 ac_header_compiler
=no
11909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11910 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11911 echo "${ECHO_T}$ac_header_compiler" >&6
11913 # Is the header present?
11914 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11915 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11916 cat >conftest.
$ac_ext <<_ACEOF
11919 cat confdefs.h
>>conftest.
$ac_ext
11920 cat >>conftest.
$ac_ext <<_ACEOF
11921 /* end confdefs.h. */
11922 #include <$ac_header>
11924 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11925 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11927 grep -v '^ *+' conftest.er1
>conftest.err
11929 cat conftest.err
>&5
11930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11931 (exit $ac_status); } >/dev
/null
; then
11932 if test -s conftest.err
; then
11933 ac_cpp_err
=$ac_c_preproc_warn_flag
11934 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11941 if test -z "$ac_cpp_err"; then
11942 ac_header_preproc
=yes
11944 echo "$as_me: failed program was:" >&5
11945 sed 's/^/| /' conftest.
$ac_ext >&5
11947 ac_header_preproc
=no
11949 rm -f conftest.err conftest.
$ac_ext
11950 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11951 echo "${ECHO_T}$ac_header_preproc" >&6
11953 # So? What about this header?
11954 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11956 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11957 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11958 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11959 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11960 ac_header_preproc
=yes
11963 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11964 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11965 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11966 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11967 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11968 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11969 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11970 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11972 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11973 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11974 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11977 ## ------------------------------------ ##
11978 ## Report this to wine-devel@winehq.org ##
11979 ## ------------------------------------ ##
11982 sed "s/^/$as_me: WARNING: /" >&2
11985 echo "$as_me:$LINENO: checking for $ac_header" >&5
11986 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11987 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11988 echo $ECHO_N "(cached) $ECHO_C" >&6
11990 eval "$as_ac_Header=\$ac_header_preproc"
11992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11993 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11996 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11997 cat >>confdefs.h
<<_ACEOF
11998 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12002 for ac_header
in linux
/capi.h
12004 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12006 echo "$as_me:$LINENO: checking for $ac_header" >&5
12007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12009 echo $ECHO_N "(cached) $ECHO_C" >&6
12011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12012 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12014 # Is the header compilable?
12015 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12016 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12017 cat >conftest.
$ac_ext <<_ACEOF
12020 cat confdefs.h
>>conftest.
$ac_ext
12021 cat >>conftest.
$ac_ext <<_ACEOF
12022 /* end confdefs.h. */
12023 $ac_includes_default
12024 #include <$ac_header>
12026 rm -f conftest.
$ac_objext
12027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12028 (eval $ac_compile) 2>conftest.er1
12030 grep -v '^ *+' conftest.er1
>conftest.err
12032 cat conftest.err
>&5
12033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12034 (exit $ac_status); } &&
12035 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12037 (eval $ac_try) 2>&5
12039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040 (exit $ac_status); }; } &&
12041 { ac_try
='test -s conftest.$ac_objext'
12042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12043 (eval $ac_try) 2>&5
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); }; }; then
12047 ac_header_compiler
=yes
12049 echo "$as_me: failed program was:" >&5
12050 sed 's/^/| /' conftest.
$ac_ext >&5
12052 ac_header_compiler
=no
12054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12055 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12056 echo "${ECHO_T}$ac_header_compiler" >&6
12058 # Is the header present?
12059 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12060 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12061 cat >conftest.
$ac_ext <<_ACEOF
12064 cat confdefs.h
>>conftest.
$ac_ext
12065 cat >>conftest.
$ac_ext <<_ACEOF
12066 /* end confdefs.h. */
12067 #include <$ac_header>
12069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12070 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12072 grep -v '^ *+' conftest.er1
>conftest.err
12074 cat conftest.err
>&5
12075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12076 (exit $ac_status); } >/dev
/null
; then
12077 if test -s conftest.err
; then
12078 ac_cpp_err
=$ac_c_preproc_warn_flag
12079 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12086 if test -z "$ac_cpp_err"; then
12087 ac_header_preproc
=yes
12089 echo "$as_me: failed program was:" >&5
12090 sed 's/^/| /' conftest.
$ac_ext >&5
12092 ac_header_preproc
=no
12094 rm -f conftest.err conftest.
$ac_ext
12095 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12096 echo "${ECHO_T}$ac_header_preproc" >&6
12098 # So? What about this header?
12099 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12101 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12102 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12103 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12104 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12105 ac_header_preproc
=yes
12108 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12109 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12110 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12111 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12112 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12113 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12114 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12115 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12116 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12117 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12118 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12119 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12122 ## ------------------------------------ ##
12123 ## Report this to wine-devel@winehq.org ##
12124 ## ------------------------------------ ##
12127 sed "s/^/$as_me: WARNING: /" >&2
12130 echo "$as_me:$LINENO: checking for $ac_header" >&5
12131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12133 echo $ECHO_N "(cached) $ECHO_C" >&6
12135 eval "$as_ac_Header=\$ac_header_preproc"
12137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12141 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12142 cat >>confdefs.h
<<_ACEOF
12143 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12146 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12147 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
12148 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12149 echo $ECHO_N "(cached) $ECHO_C" >&6
12151 ac_check_lib_save_LIBS
=$LIBS
12152 LIBS
="-lcapi20 $LIBS"
12153 cat >conftest.
$ac_ext <<_ACEOF
12156 cat confdefs.h
>>conftest.
$ac_ext
12157 cat >>conftest.
$ac_ext <<_ACEOF
12158 /* end confdefs.h. */
12160 /* Override any gcc2 internal prototype to avoid an error. */
12164 /* We use char because int might match the return type of a gcc2
12165 builtin and then its argument prototype would still apply. */
12166 char capi20_register ();
12170 capi20_register ();
12175 rm -f conftest.
$ac_objext conftest
$ac_exeext
12176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12177 (eval $ac_link) 2>conftest.er1
12179 grep -v '^ *+' conftest.er1
>conftest.err
12181 cat conftest.err
>&5
12182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 (exit $ac_status); } &&
12184 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12186 (eval $ac_try) 2>&5
12188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189 (exit $ac_status); }; } &&
12190 { ac_try
='test -s conftest$ac_exeext'
12191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12192 (eval $ac_try) 2>&5
12194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12195 (exit $ac_status); }; }; then
12196 ac_cv_lib_capi20_capi20_register
=yes
12198 echo "$as_me: failed program was:" >&5
12199 sed 's/^/| /' conftest.
$ac_ext >&5
12201 ac_cv_lib_capi20_capi20_register
=no
12203 rm -f conftest.err conftest.
$ac_objext \
12204 conftest
$ac_exeext conftest.
$ac_ext
12205 LIBS
=$ac_check_lib_save_LIBS
12207 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12208 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12209 if test $ac_cv_lib_capi20_capi20_register = yes; then
12212 cat >>confdefs.h
<<\_ACEOF
12213 #define HAVE_CAPI4LINUX 1
12216 CAPI4LINUXLIBS
="-lcapi20"
12233 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
12234 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
12235 if test "${ac_cv_mmap64_works+set}" = set; then
12236 echo $ECHO_N "(cached) $ECHO_C" >&6
12238 if test "$cross_compiling" = yes; then
12239 ac_cv_mmap64_works
="no"
12241 cat >conftest.
$ac_ext <<_ACEOF
12244 cat confdefs.h
>>conftest.
$ac_ext
12245 cat >>conftest.
$ac_ext <<_ACEOF
12246 /* end confdefs.h. */
12248 #define _FILE_OFFSET_BITS 64
12250 #include <unistd.h>
12252 #include <sys/mman.h>
12255 int main(int argc,char **argv) {
12256 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
12257 if (fd == -1) exit(1);
12259 unlink("conftest.map");
12261 write(fd,"test",4);
12263 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
12269 fprintf(stderr,"success!\n");
12275 rm -f conftest
$ac_exeext
12276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12277 (eval $ac_link) 2>&5
12279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12282 (eval $ac_try) 2>&5
12284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12285 (exit $ac_status); }; }; then
12286 ac_cv_mmap64_works
="yes"
12288 echo "$as_me: program exited with status $ac_status" >&5
12289 echo "$as_me: failed program was:" >&5
12290 sed 's/^/| /' conftest.
$ac_ext >&5
12292 ( exit $ac_status )
12293 ac_cv_mmap64_works
="no"
12295 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12298 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12299 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12301 if test "$ac_cv_mmap64_works" = "yes"
12304 cat >>confdefs.h
<<\_ACEOF
12305 #define _FILE_OFFSET_BITS 64
12313 if test "x${GCC}" = "xyes"
12315 EXTRACFLAGS
="-Wall -pipe"
12317 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12318 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12319 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12320 echo $ECHO_N "(cached) $ECHO_C" >&6
12322 if test "$cross_compiling" = yes; then
12323 ac_cv_c_gcc_strength_bug
="yes"
12325 cat >conftest.
$ac_ext <<_ACEOF
12328 cat confdefs.h
>>conftest.
$ac_ext
12329 cat >>conftest.
$ac_ext <<_ACEOF
12330 /* end confdefs.h. */
12332 int L[4] = {0,1,2,3};
12334 static int Array[3];
12335 unsigned int B = 3;
12337 for(i=0; i<B; i++) Array[i] = i - 3;
12338 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12341 exit( Array[1] != -2 || L[2] != 3);
12344 rm -f conftest
$ac_exeext
12345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12346 (eval $ac_link) 2>&5
12348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12351 (eval $ac_try) 2>&5
12353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12354 (exit $ac_status); }; }; then
12355 ac_cv_c_gcc_strength_bug
="no"
12357 echo "$as_me: program exited with status $ac_status" >&5
12358 echo "$as_me: failed program was:" >&5
12359 sed 's/^/| /' conftest.
$ac_ext >&5
12361 ( exit $ac_status )
12362 ac_cv_c_gcc_strength_bug
="yes"
12364 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12367 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12368 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12369 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12371 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12374 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12375 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12376 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12377 echo $ECHO_N "(cached) $ECHO_C" >&6
12379 ac_wine_try_cflags_saved
=$CFLAGS
12380 CFLAGS
="$CFLAGS -fshort-wchar"
12381 cat >conftest.
$ac_ext <<_ACEOF
12384 cat confdefs.h
>>conftest.
$ac_ext
12385 cat >>conftest.
$ac_ext <<_ACEOF
12386 /* end confdefs.h. */
12396 rm -f conftest.
$ac_objext conftest
$ac_exeext
12397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12398 (eval $ac_link) 2>conftest.er1
12400 grep -v '^ *+' conftest.er1
>conftest.err
12402 cat conftest.err
>&5
12403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12404 (exit $ac_status); } &&
12405 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12407 (eval $ac_try) 2>&5
12409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410 (exit $ac_status); }; } &&
12411 { ac_try
='test -s conftest$ac_exeext'
12412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12413 (eval $ac_try) 2>&5
12415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12416 (exit $ac_status); }; }; then
12417 ac_cv_c_gcc_fshort_wchar
="yes"
12419 echo "$as_me: failed program was:" >&5
12420 sed 's/^/| /' conftest.
$ac_ext >&5
12422 ac_cv_c_gcc_fshort_wchar
="no"
12424 rm -f conftest.err conftest.
$ac_objext \
12425 conftest
$ac_exeext conftest.
$ac_ext
12426 CFLAGS
=$ac_wine_try_cflags_saved
12428 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12429 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12430 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12433 cat >>confdefs.h
<<\_ACEOF
12434 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12439 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12440 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12441 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12442 echo $ECHO_N "(cached) $ECHO_C" >&6
12444 ac_wine_try_cflags_saved
=$CFLAGS
12445 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
12446 cat >conftest.
$ac_ext <<_ACEOF
12449 cat confdefs.h
>>conftest.
$ac_ext
12450 cat >>conftest.
$ac_ext <<_ACEOF
12451 /* end confdefs.h. */
12461 rm -f conftest.
$ac_objext conftest
$ac_exeext
12462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12463 (eval $ac_link) 2>conftest.er1
12465 grep -v '^ *+' conftest.er1
>conftest.err
12467 cat conftest.err
>&5
12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); } &&
12470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12472 (eval $ac_try) 2>&5
12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475 (exit $ac_status); }; } &&
12476 { ac_try
='test -s conftest$ac_exeext'
12477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12478 (eval $ac_try) 2>&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); }; }; then
12482 ac_cv_c_gcc_stack_boundary
="yes"
12484 echo "$as_me: failed program was:" >&5
12485 sed 's/^/| /' conftest.
$ac_ext >&5
12487 ac_cv_c_gcc_stack_boundary
="no"
12489 rm -f conftest.err conftest.
$ac_objext \
12490 conftest
$ac_exeext conftest.
$ac_ext
12491 CFLAGS
=$ac_wine_try_cflags_saved
12493 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12494 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12495 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12497 EXTRACFLAGS
="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12500 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12501 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12502 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12503 echo $ECHO_N "(cached) $ECHO_C" >&6
12505 ac_wine_try_cflags_saved
=$CFLAGS
12506 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12507 cat >conftest.
$ac_ext <<_ACEOF
12510 cat confdefs.h
>>conftest.
$ac_ext
12511 cat >>conftest.
$ac_ext <<_ACEOF
12512 /* end confdefs.h. */
12522 rm -f conftest.
$ac_objext conftest
$ac_exeext
12523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12524 (eval $ac_link) 2>conftest.er1
12526 grep -v '^ *+' conftest.er1
>conftest.err
12528 cat conftest.err
>&5
12529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12530 (exit $ac_status); } &&
12531 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12533 (eval $ac_try) 2>&5
12535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536 (exit $ac_status); }; } &&
12537 { ac_try
='test -s conftest$ac_exeext'
12538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12539 (eval $ac_try) 2>&5
12541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12542 (exit $ac_status); }; }; then
12543 ac_cv_c_gcc_no_strict_aliasing
="yes"
12545 echo "$as_me: failed program was:" >&5
12546 sed 's/^/| /' conftest.
$ac_ext >&5
12548 ac_cv_c_gcc_no_strict_aliasing
="no"
12550 rm -f conftest.err conftest.
$ac_objext \
12551 conftest
$ac_exeext conftest.
$ac_ext
12552 CFLAGS
=$ac_wine_try_cflags_saved
12554 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12555 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12556 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12558 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12561 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12562 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12563 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12564 echo $ECHO_N "(cached) $ECHO_C" >&6
12566 ac_wine_try_cflags_saved
=$CFLAGS
12567 CFLAGS
="$CFLAGS -gstabs+"
12568 cat >conftest.
$ac_ext <<_ACEOF
12571 cat confdefs.h
>>conftest.
$ac_ext
12572 cat >>conftest.
$ac_ext <<_ACEOF
12573 /* end confdefs.h. */
12583 rm -f conftest.
$ac_objext conftest
$ac_exeext
12584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12585 (eval $ac_link) 2>conftest.er1
12587 grep -v '^ *+' conftest.er1
>conftest.err
12589 cat conftest.err
>&5
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); } &&
12592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12594 (eval $ac_try) 2>&5
12596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12597 (exit $ac_status); }; } &&
12598 { ac_try
='test -s conftest$ac_exeext'
12599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12600 (eval $ac_try) 2>&5
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); }; }; then
12604 ac_cv_c_gcc_gstabs
="yes"
12606 echo "$as_me: failed program was:" >&5
12607 sed 's/^/| /' conftest.
$ac_ext >&5
12609 ac_cv_c_gcc_gstabs
="no"
12611 rm -f conftest.err conftest.
$ac_objext \
12612 conftest
$ac_exeext conftest.
$ac_ext
12613 CFLAGS
=$ac_wine_try_cflags_saved
12615 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12616 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12617 if test "$ac_cv_c_gcc_gstabs" = "yes"
12619 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12622 saved_CFLAGS
="$CFLAGS"
12623 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12624 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12625 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12626 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12627 echo $ECHO_N "(cached) $ECHO_C" >&6
12629 cat >conftest.
$ac_ext <<_ACEOF
12632 cat confdefs.h
>>conftest.
$ac_ext
12633 cat >>conftest.
$ac_ext <<_ACEOF
12634 /* end confdefs.h. */
12635 #include <string.h>
12644 rm -f conftest.
$ac_objext
12645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12646 (eval $ac_compile) 2>conftest.er1
12648 grep -v '^ *+' conftest.er1
>conftest.err
12650 cat conftest.err
>&5
12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); } &&
12653 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12655 (eval $ac_try) 2>&5
12657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658 (exit $ac_status); }; } &&
12659 { ac_try
='test -s conftest.$ac_objext'
12660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12661 (eval $ac_try) 2>&5
12663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664 (exit $ac_status); }; }; then
12665 ac_cv_c_string_h_warnings
=no
12667 echo "$as_me: failed program was:" >&5
12668 sed 's/^/| /' conftest.
$ac_ext >&5
12670 ac_cv_c_string_h_warnings
=yes
12672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12674 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12675 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12676 CFLAGS
="$saved_CFLAGS"
12677 if test "$ac_cv_c_string_h_warnings" = "no"
12679 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12684 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12685 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12686 if test "${ac_cv_asm_func_def+set}" = set; then
12687 echo $ECHO_N "(cached) $ECHO_C" >&6
12689 cat >conftest.
$ac_ext <<_ACEOF
12692 cat confdefs.h
>>conftest.
$ac_ext
12693 cat >>conftest.
$ac_ext <<_ACEOF
12694 /* end confdefs.h. */
12695 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"); }
12705 rm -f conftest.
$ac_objext conftest
$ac_exeext
12706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12707 (eval $ac_link) 2>conftest.er1
12709 grep -v '^ *+' conftest.er1
>conftest.err
12711 cat conftest.err
>&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); } &&
12714 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12716 (eval $ac_try) 2>&5
12718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12719 (exit $ac_status); }; } &&
12720 { ac_try
='test -s conftest$ac_exeext'
12721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12722 (eval $ac_try) 2>&5
12724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12725 (exit $ac_status); }; }; then
12726 ac_cv_asm_func_def
=".def"
12728 echo "$as_me: failed program was:" >&5
12729 sed 's/^/| /' conftest.
$ac_ext >&5
12731 cat >conftest.
$ac_ext <<_ACEOF
12734 cat confdefs.h
>>conftest.
$ac_ext
12735 cat >>conftest.
$ac_ext <<_ACEOF
12736 /* end confdefs.h. */
12737 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12747 rm -f conftest.
$ac_objext conftest
$ac_exeext
12748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12749 (eval $ac_link) 2>conftest.er1
12751 grep -v '^ *+' conftest.er1
>conftest.err
12753 cat conftest.err
>&5
12754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12755 (exit $ac_status); } &&
12756 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12758 (eval $ac_try) 2>&5
12760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12761 (exit $ac_status); }; } &&
12762 { ac_try
='test -s conftest$ac_exeext'
12763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12764 (eval $ac_try) 2>&5
12766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); }; }; then
12768 ac_cv_asm_func_def
=".type @function"
12770 echo "$as_me: failed program was:" >&5
12771 sed 's/^/| /' conftest.
$ac_ext >&5
12773 cat >conftest.
$ac_ext <<_ACEOF
12776 cat confdefs.h
>>conftest.
$ac_ext
12777 cat >>conftest.
$ac_ext <<_ACEOF
12778 /* end confdefs.h. */
12779 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12789 rm -f conftest.
$ac_objext conftest
$ac_exeext
12790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12791 (eval $ac_link) 2>conftest.er1
12793 grep -v '^ *+' conftest.er1
>conftest.err
12795 cat conftest.err
>&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); } &&
12798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12800 (eval $ac_try) 2>&5
12802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12803 (exit $ac_status); }; } &&
12804 { ac_try
='test -s conftest$ac_exeext'
12805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12806 (eval $ac_try) 2>&5
12808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12809 (exit $ac_status); }; }; then
12810 ac_cv_asm_func_def
=".type 2"
12812 echo "$as_me: failed program was:" >&5
12813 sed 's/^/| /' conftest.
$ac_ext >&5
12815 ac_cv_asm_func_def
="unknown"
12817 rm -f conftest.err conftest.
$ac_objext \
12818 conftest
$ac_exeext conftest.
$ac_ext
12820 rm -f conftest.err conftest.
$ac_objext \
12821 conftest
$ac_exeext conftest.
$ac_ext
12823 rm -f conftest.err conftest.
$ac_objext \
12824 conftest
$ac_exeext conftest.
$ac_ext
12826 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12827 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
12831 case "$ac_cv_asm_func_def" in
12833 cat >>confdefs.h
<<\_ACEOF
12834 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12838 cat >>confdefs.h
<<\_ACEOF
12839 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12843 cat >>confdefs.h
<<\_ACEOF
12844 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12848 cat >>confdefs.h
<<\_ACEOF
12849 #define __ASM_FUNC(name) ""
12855 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12856 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
12857 if test "${ac_cv_c_extern_prefix+set}" = set; then
12858 echo $ECHO_N "(cached) $ECHO_C" >&6
12860 cat >conftest.
$ac_ext <<_ACEOF
12863 cat confdefs.h
>>conftest.
$ac_ext
12864 cat >>conftest.
$ac_ext <<_ACEOF
12865 /* end confdefs.h. */
12866 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12867 extern int ac_test;
12871 if (ac_test) return 1
12876 rm -f conftest.
$ac_objext conftest
$ac_exeext
12877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12878 (eval $ac_link) 2>conftest.er1
12880 grep -v '^ *+' conftest.er1
>conftest.err
12882 cat conftest.err
>&5
12883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12884 (exit $ac_status); } &&
12885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12887 (eval $ac_try) 2>&5
12889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890 (exit $ac_status); }; } &&
12891 { ac_try
='test -s conftest$ac_exeext'
12892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12893 (eval $ac_try) 2>&5
12895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12896 (exit $ac_status); }; }; then
12897 ac_cv_c_extern_prefix
="yes"
12899 echo "$as_me: failed program was:" >&5
12900 sed 's/^/| /' conftest.
$ac_ext >&5
12902 ac_cv_c_extern_prefix
="no"
12904 rm -f conftest.err conftest.
$ac_objext \
12905 conftest
$ac_exeext conftest.
$ac_ext
12907 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12908 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
12912 if test "$ac_cv_c_extern_prefix" = "yes"
12914 cat >>confdefs.h
<<\_ACEOF
12915 #define __ASM_NAME(name) "_" name
12919 cat >>confdefs.h
<<\_ACEOF
12920 #define __ASM_NAME(name) name
12926 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
12927 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
12928 if test "${ac_cv_c_asm_string+set}" = set; then
12929 echo $ECHO_N "(cached) $ECHO_C" >&6
12931 cat >conftest.
$ac_ext <<_ACEOF
12934 cat confdefs.h
>>conftest.
$ac_ext
12935 cat >>conftest.
$ac_ext <<_ACEOF
12936 /* end confdefs.h. */
12937 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
12947 rm -f conftest.
$ac_objext conftest
$ac_exeext
12948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12949 (eval $ac_link) 2>conftest.er1
12951 grep -v '^ *+' conftest.er1
>conftest.err
12953 cat conftest.err
>&5
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); } &&
12956 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12958 (eval $ac_try) 2>&5
12960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12961 (exit $ac_status); }; } &&
12962 { ac_try
='test -s conftest$ac_exeext'
12963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12964 (eval $ac_try) 2>&5
12966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12967 (exit $ac_status); }; }; then
12968 ac_cv_c_asm_string
=".string"
12970 echo "$as_me: failed program was:" >&5
12971 sed 's/^/| /' conftest.
$ac_ext >&5
12973 cat >conftest.
$ac_ext <<_ACEOF
12976 cat confdefs.h
>>conftest.
$ac_ext
12977 cat >>conftest.
$ac_ext <<_ACEOF
12978 /* end confdefs.h. */
12979 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
12989 rm -f conftest.
$ac_objext conftest
$ac_exeext
12990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12991 (eval $ac_link) 2>conftest.er1
12993 grep -v '^ *+' conftest.er1
>conftest.err
12995 cat conftest.err
>&5
12996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 (exit $ac_status); } &&
12998 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13000 (eval $ac_try) 2>&5
13002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003 (exit $ac_status); }; } &&
13004 { ac_try
='test -s conftest$ac_exeext'
13005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13006 (eval $ac_try) 2>&5
13008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13009 (exit $ac_status); }; }; then
13010 ac_cv_c_asm_string
=".asciz"
13012 echo "$as_me: failed program was:" >&5
13013 sed 's/^/| /' conftest.
$ac_ext >&5
13015 cat >conftest.
$ac_ext <<_ACEOF
13018 cat confdefs.h
>>conftest.
$ac_ext
13019 cat >>conftest.
$ac_ext <<_ACEOF
13020 /* end confdefs.h. */
13021 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
13031 rm -f conftest.
$ac_objext conftest
$ac_exeext
13032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13033 (eval $ac_link) 2>conftest.er1
13035 grep -v '^ *+' conftest.er1
>conftest.err
13037 cat conftest.err
>&5
13038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13039 (exit $ac_status); } &&
13040 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13042 (eval $ac_try) 2>&5
13044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13045 (exit $ac_status); }; } &&
13046 { ac_try
='test -s conftest$ac_exeext'
13047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13048 (eval $ac_try) 2>&5
13050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13051 (exit $ac_status); }; }; then
13052 ac_cv_c_asm_string
=".ascii"
13054 echo "$as_me: failed program was:" >&5
13055 sed 's/^/| /' conftest.
$ac_ext >&5
13057 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
13058 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
13059 { (exit 1); exit 1; }; }
13061 rm -f conftest.err conftest.
$ac_objext \
13062 conftest
$ac_exeext conftest.
$ac_ext
13064 rm -f conftest.err conftest.
$ac_objext \
13065 conftest
$ac_exeext conftest.
$ac_ext
13067 rm -f conftest.err conftest.
$ac_objext \
13068 conftest
$ac_exeext conftest.
$ac_ext
13070 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
13071 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
13074 cat >>confdefs.h
<<_ACEOF
13075 #define __ASM_STRING "$ac_cv_c_asm_string"
13080 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
13081 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
13082 if test "${ac_cv_c_asm_short+set}" = set; then
13083 echo $ECHO_N "(cached) $ECHO_C" >&6
13085 cat >conftest.
$ac_ext <<_ACEOF
13088 cat confdefs.h
>>conftest.
$ac_ext
13089 cat >>conftest.
$ac_ext <<_ACEOF
13090 /* end confdefs.h. */
13091 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
13101 rm -f conftest.
$ac_objext conftest
$ac_exeext
13102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13103 (eval $ac_link) 2>conftest.er1
13105 grep -v '^ *+' conftest.er1
>conftest.err
13107 cat conftest.err
>&5
13108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13109 (exit $ac_status); } &&
13110 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13112 (eval $ac_try) 2>&5
13114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13115 (exit $ac_status); }; } &&
13116 { ac_try
='test -s conftest$ac_exeext'
13117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13118 (eval $ac_try) 2>&5
13120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13121 (exit $ac_status); }; }; then
13122 ac_cv_c_asm_short
=".short"
13124 echo "$as_me: failed program was:" >&5
13125 sed 's/^/| /' conftest.
$ac_ext >&5
13127 cat >conftest.
$ac_ext <<_ACEOF
13130 cat confdefs.h
>>conftest.
$ac_ext
13131 cat >>conftest.
$ac_ext <<_ACEOF
13132 /* end confdefs.h. */
13133 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
13143 rm -f conftest.
$ac_objext conftest
$ac_exeext
13144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13145 (eval $ac_link) 2>conftest.er1
13147 grep -v '^ *+' conftest.er1
>conftest.err
13149 cat conftest.err
>&5
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); } &&
13152 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13154 (eval $ac_try) 2>&5
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); }; } &&
13158 { ac_try
='test -s conftest$ac_exeext'
13159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13160 (eval $ac_try) 2>&5
13162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163 (exit $ac_status); }; }; then
13164 ac_cv_c_asm_short
=".half"
13166 echo "$as_me: failed program was:" >&5
13167 sed 's/^/| /' conftest.
$ac_ext >&5
13169 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
13170 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
13171 { (exit 1); exit 1; }; }
13173 rm -f conftest.err conftest.
$ac_objext \
13174 conftest
$ac_exeext conftest.
$ac_ext
13176 rm -f conftest.err conftest.
$ac_objext \
13177 conftest
$ac_exeext conftest.
$ac_ext
13179 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
13180 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
13183 cat >>confdefs.h
<<_ACEOF
13184 #define __ASM_SHORT "$ac_cv_c_asm_short"
13189 echo "$as_me:$LINENO: checking for .size in assembler" >&5
13190 echo $ECHO_N "checking for .size in assembler... $ECHO_C" >&6
13191 if test "${ac_cv_c_asm_size+set}" = set; then
13192 echo $ECHO_N "(cached) $ECHO_C" >&6
13194 cat >conftest.
$ac_ext <<_ACEOF
13197 cat confdefs.h
>>conftest.
$ac_ext
13198 cat >>conftest.
$ac_ext <<_ACEOF
13199 /* end confdefs.h. */
13200 void ac_asm(void) { asm(".globl _ac_test\n.size _ac_test, . - _ac_test"); }
13210 rm -f conftest.
$ac_objext conftest
$ac_exeext
13211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13212 (eval $ac_link) 2>conftest.er1
13214 grep -v '^ *+' conftest.er1
>conftest.err
13216 cat conftest.err
>&5
13217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 (exit $ac_status); } &&
13219 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13221 (eval $ac_try) 2>&5
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); }; } &&
13225 { ac_try
='test -s conftest$ac_exeext'
13226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13227 (eval $ac_try) 2>&5
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); }; }; then
13231 ac_cv_c_asm_size
="yes"
13233 echo "$as_me: failed program was:" >&5
13234 sed 's/^/| /' conftest.
$ac_ext >&5
13236 ac_cv_c_asm_size
="no"
13238 rm -f conftest.err conftest.
$ac_objext \
13239 conftest
$ac_exeext conftest.
$ac_ext
13241 echo "$as_me:$LINENO: result: $ac_cv_c_asm_size" >&5
13242 echo "${ECHO_T}$ac_cv_c_asm_size" >&6
13244 if test "$ac_cv_c_asm_size" = "yes"
13247 cat >>confdefs.h
<<\_ACEOF
13248 #define HAVE_ASM_DOT_SIZE 1
13256 DLLFLAGS
="-D_REENTRANT"
13271 if test -n "$ac_tool_prefix"; then
13272 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13273 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
13274 echo "$as_me:$LINENO: checking for $ac_word" >&5
13275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13276 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13277 echo $ECHO_N "(cached) $ECHO_C" >&6
13279 if test -n "$DLLTOOL"; then
13280 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13283 for as_dir
in $PATH
13286 test -z "$as_dir" && as_dir
=.
13287 for ac_exec_ext
in '' $ac_executable_extensions; do
13288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13289 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
13290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13298 DLLTOOL
=$ac_cv_prog_DLLTOOL
13299 if test -n "$DLLTOOL"; then
13300 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13301 echo "${ECHO_T}$DLLTOOL" >&6
13303 echo "$as_me:$LINENO: result: no" >&5
13304 echo "${ECHO_T}no" >&6
13308 if test -z "$ac_cv_prog_DLLTOOL"; then
13309 ac_ct_DLLTOOL
=$DLLTOOL
13310 # Extract the first word of "dlltool", so it can be a program name with args.
13311 set dummy dlltool
; ac_word
=$2
13312 echo "$as_me:$LINENO: checking for $ac_word" >&5
13313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13314 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13315 echo $ECHO_N "(cached) $ECHO_C" >&6
13317 if test -n "$ac_ct_DLLTOOL"; then
13318 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
13320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13321 for as_dir
in $PATH
13324 test -z "$as_dir" && as_dir
=.
13325 for ac_exec_ext
in '' $ac_executable_extensions; do
13326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13327 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
13328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13334 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
13337 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
13338 if test -n "$ac_ct_DLLTOOL"; then
13339 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13340 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13342 echo "$as_me:$LINENO: result: no" >&5
13343 echo "${ECHO_T}no" >&6
13346 DLLTOOL
=$ac_ct_DLLTOOL
13348 DLLTOOL
="$ac_cv_prog_DLLTOOL"
13351 if test -n "$ac_tool_prefix"; then
13352 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13353 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
13354 echo "$as_me:$LINENO: checking for $ac_word" >&5
13355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13356 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13357 echo $ECHO_N "(cached) $ECHO_C" >&6
13359 if test -n "$DLLWRAP"; then
13360 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
13362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13363 for as_dir
in $PATH
13366 test -z "$as_dir" && as_dir
=.
13367 for ac_exec_ext
in '' $ac_executable_extensions; do
13368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13369 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
13370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13378 DLLWRAP
=$ac_cv_prog_DLLWRAP
13379 if test -n "$DLLWRAP"; then
13380 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13381 echo "${ECHO_T}$DLLWRAP" >&6
13383 echo "$as_me:$LINENO: result: no" >&5
13384 echo "${ECHO_T}no" >&6
13388 if test -z "$ac_cv_prog_DLLWRAP"; then
13389 ac_ct_DLLWRAP
=$DLLWRAP
13390 # Extract the first word of "dllwrap", so it can be a program name with args.
13391 set dummy dllwrap
; ac_word
=$2
13392 echo "$as_me:$LINENO: checking for $ac_word" >&5
13393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13394 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13395 echo $ECHO_N "(cached) $ECHO_C" >&6
13397 if test -n "$ac_ct_DLLWRAP"; then
13398 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
13400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13401 for as_dir
in $PATH
13404 test -z "$as_dir" && as_dir
=.
13405 for ac_exec_ext
in '' $ac_executable_extensions; do
13406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13407 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
13408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13414 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP
="false"
13417 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
13418 if test -n "$ac_ct_DLLWRAP"; then
13419 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13420 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13422 echo "$as_me:$LINENO: result: no" >&5
13423 echo "${ECHO_T}no" >&6
13426 DLLWRAP
=$ac_ct_DLLWRAP
13428 DLLWRAP
="$ac_cv_prog_DLLWRAP"
13431 if test "$DLLWRAP" = "false"; then
13442 for ac_header
in dlfcn.h
13444 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13446 echo "$as_me:$LINENO: checking for $ac_header" >&5
13447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13449 echo $ECHO_N "(cached) $ECHO_C" >&6
13451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13454 # Is the header compilable?
13455 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13456 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13457 cat >conftest.
$ac_ext <<_ACEOF
13460 cat confdefs.h
>>conftest.
$ac_ext
13461 cat >>conftest.
$ac_ext <<_ACEOF
13462 /* end confdefs.h. */
13463 $ac_includes_default
13464 #include <$ac_header>
13466 rm -f conftest.
$ac_objext
13467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13468 (eval $ac_compile) 2>conftest.er1
13470 grep -v '^ *+' conftest.er1
>conftest.err
13472 cat conftest.err
>&5
13473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 (exit $ac_status); } &&
13475 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13477 (eval $ac_try) 2>&5
13479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13480 (exit $ac_status); }; } &&
13481 { ac_try
='test -s conftest.$ac_objext'
13482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13483 (eval $ac_try) 2>&5
13485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13486 (exit $ac_status); }; }; then
13487 ac_header_compiler
=yes
13489 echo "$as_me: failed program was:" >&5
13490 sed 's/^/| /' conftest.
$ac_ext >&5
13492 ac_header_compiler
=no
13494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13495 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13496 echo "${ECHO_T}$ac_header_compiler" >&6
13498 # Is the header present?
13499 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13500 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13501 cat >conftest.
$ac_ext <<_ACEOF
13504 cat confdefs.h
>>conftest.
$ac_ext
13505 cat >>conftest.
$ac_ext <<_ACEOF
13506 /* end confdefs.h. */
13507 #include <$ac_header>
13509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13510 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13512 grep -v '^ *+' conftest.er1
>conftest.err
13514 cat conftest.err
>&5
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); } >/dev
/null
; then
13517 if test -s conftest.err
; then
13518 ac_cpp_err
=$ac_c_preproc_warn_flag
13519 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13526 if test -z "$ac_cpp_err"; then
13527 ac_header_preproc
=yes
13529 echo "$as_me: failed program was:" >&5
13530 sed 's/^/| /' conftest.
$ac_ext >&5
13532 ac_header_preproc
=no
13534 rm -f conftest.err conftest.
$ac_ext
13535 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13536 echo "${ECHO_T}$ac_header_preproc" >&6
13538 # So? What about this header?
13539 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13541 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13542 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13543 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13544 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13545 ac_header_preproc
=yes
13548 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13549 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13550 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13551 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13552 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13553 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13554 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13555 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13556 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13557 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13558 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13559 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13562 ## ------------------------------------ ##
13563 ## Report this to wine-devel@winehq.org ##
13564 ## ------------------------------------ ##
13567 sed "s/^/$as_me: WARNING: /" >&2
13570 echo "$as_me:$LINENO: checking for $ac_header" >&5
13571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13573 echo $ECHO_N "(cached) $ECHO_C" >&6
13575 eval "$as_ac_Header=\$ac_header_preproc"
13577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13582 cat >>confdefs.h
<<_ACEOF
13583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13586 for ac_func
in dlopen
13588 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13589 echo "$as_me:$LINENO: checking for $ac_func" >&5
13590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13591 if eval "test \"\${$as_ac_var+set}\" = set"; then
13592 echo $ECHO_N "(cached) $ECHO_C" >&6
13594 cat >conftest.
$ac_ext <<_ACEOF
13597 cat confdefs.h
>>conftest.
$ac_ext
13598 cat >>conftest.
$ac_ext <<_ACEOF
13599 /* end confdefs.h. */
13600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13602 #define $ac_func innocuous_$ac_func
13604 /* System header to define __stub macros and hopefully few prototypes,
13605 which can conflict with char $ac_func (); below.
13606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13607 <limits.h> exists even on freestanding compilers. */
13610 # include <limits.h>
13612 # include <assert.h>
13617 /* Override any gcc2 internal prototype to avoid an error. */
13622 /* We use char because int might match the return type of a gcc2
13623 builtin and then its argument prototype would still apply. */
13625 /* The GNU C library defines this for functions which it implements
13626 to always fail with ENOSYS. Some functions are actually named
13627 something starting with __ and the normal name is an alias. */
13628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13631 char (*f) () = $ac_func;
13640 return f != $ac_func;
13645 rm -f conftest.
$ac_objext conftest
$ac_exeext
13646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13647 (eval $ac_link) 2>conftest.er1
13649 grep -v '^ *+' conftest.er1
>conftest.err
13651 cat conftest.err
>&5
13652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13653 (exit $ac_status); } &&
13654 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13656 (eval $ac_try) 2>&5
13658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13659 (exit $ac_status); }; } &&
13660 { ac_try
='test -s conftest$ac_exeext'
13661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13662 (eval $ac_try) 2>&5
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); }; }; then
13666 eval "$as_ac_var=yes"
13668 echo "$as_me: failed program was:" >&5
13669 sed 's/^/| /' conftest.
$ac_ext >&5
13671 eval "$as_ac_var=no"
13673 rm -f conftest.err conftest.
$ac_objext \
13674 conftest
$ac_exeext conftest.
$ac_ext
13676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13678 if test `eval echo '${'$as_ac_var'}'` = yes; then
13679 cat >>confdefs.h
<<_ACEOF
13680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13684 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13685 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13686 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13687 echo $ECHO_N "(cached) $ECHO_C" >&6
13689 ac_check_lib_save_LIBS
=$LIBS
13691 cat >conftest.
$ac_ext <<_ACEOF
13694 cat confdefs.h
>>conftest.
$ac_ext
13695 cat >>conftest.
$ac_ext <<_ACEOF
13696 /* end confdefs.h. */
13698 /* Override any gcc2 internal prototype to avoid an error. */
13702 /* We use char because int might match the return type of a gcc2
13703 builtin and then its argument prototype would still apply. */
13713 rm -f conftest.
$ac_objext conftest
$ac_exeext
13714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13715 (eval $ac_link) 2>conftest.er1
13717 grep -v '^ *+' conftest.er1
>conftest.err
13719 cat conftest.err
>&5
13720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13721 (exit $ac_status); } &&
13722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13724 (eval $ac_try) 2>&5
13726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13727 (exit $ac_status); }; } &&
13728 { ac_try
='test -s conftest$ac_exeext'
13729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13730 (eval $ac_try) 2>&5
13732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13733 (exit $ac_status); }; }; then
13734 ac_cv_lib_dl_dlopen
=yes
13736 echo "$as_me: failed program was:" >&5
13737 sed 's/^/| /' conftest.
$ac_ext >&5
13739 ac_cv_lib_dl_dlopen
=no
13741 rm -f conftest.err conftest.
$ac_objext \
13742 conftest
$ac_exeext conftest.
$ac_ext
13743 LIBS
=$ac_check_lib_save_LIBS
13745 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13746 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13747 if test $ac_cv_lib_dl_dlopen = yes; then
13749 cat >>confdefs.h
<<\_ACEOF
13750 #define HAVE_DLOPEN 1
13768 if test "$LIBEXT" = "so"
13770 DLLFLAGS
="$DLLFLAGS -fPIC"
13772 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13773 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13774 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13775 echo $ECHO_N "(cached) $ECHO_C" >&6
13777 ac_wine_try_cflags_saved
=$CFLAGS
13778 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13779 cat >conftest.
$ac_ext <<_ACEOF
13782 rm -f conftest.
$ac_objext conftest
$ac_exeext
13783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13784 (eval $ac_link) 2>conftest.er1
13786 grep -v '^ *+' conftest.er1
>conftest.err
13788 cat conftest.err
>&5
13789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13790 (exit $ac_status); } &&
13791 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13793 (eval $ac_try) 2>&5
13795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13796 (exit $ac_status); }; } &&
13797 { ac_try
='test -s conftest$ac_exeext'
13798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13799 (eval $ac_try) 2>&5
13801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13802 (exit $ac_status); }; }; then
13803 ac_cv_c_dll_gnuelf
="yes"
13805 echo "$as_me: failed program was:" >&5
13806 sed 's/^/| /' conftest.
$ac_ext >&5
13808 ac_cv_c_dll_gnuelf
="no"
13810 rm -f conftest.err conftest.
$ac_objext \
13811 conftest
$ac_exeext conftest.
$ac_ext
13812 CFLAGS
=$ac_wine_try_cflags_saved
13814 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13815 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
13816 if test "$ac_cv_c_dll_gnuelf" = "yes"
13818 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13819 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
13820 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
13821 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
13822 if test "${ac_cv_c_dll_zdefs+set}" = set; then
13823 echo $ECHO_N "(cached) $ECHO_C" >&6
13825 ac_wine_try_cflags_saved
=$CFLAGS
13826 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13827 cat >conftest.
$ac_ext <<_ACEOF
13830 cat confdefs.h
>>conftest.
$ac_ext
13831 cat >>conftest.
$ac_ext <<_ACEOF
13832 /* end confdefs.h. */
13842 rm -f conftest.
$ac_objext conftest
$ac_exeext
13843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13844 (eval $ac_link) 2>conftest.er1
13846 grep -v '^ *+' conftest.er1
>conftest.err
13848 cat conftest.err
>&5
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); } &&
13851 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13853 (eval $ac_try) 2>&5
13855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13856 (exit $ac_status); }; } &&
13857 { ac_try
='test -s conftest$ac_exeext'
13858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13859 (eval $ac_try) 2>&5
13861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13862 (exit $ac_status); }; }; then
13863 ac_cv_c_dll_zdefs
="yes"
13865 echo "$as_me: failed program was:" >&5
13866 sed 's/^/| /' conftest.
$ac_ext >&5
13868 ac_cv_c_dll_zdefs
="no"
13870 rm -f conftest.err conftest.
$ac_objext \
13871 conftest
$ac_exeext conftest.
$ac_ext
13872 CFLAGS
=$ac_wine_try_cflags_saved
13874 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
13875 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
13876 if test "$ac_cv_c_dll_zdefs" = "yes"
13878 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
13881 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
13882 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
13883 if test "${ac_cv_c_dll_init_fini+set}" = set; then
13884 echo $ECHO_N "(cached) $ECHO_C" >&6
13886 ac_wine_try_cflags_saved
=$CFLAGS
13887 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13888 cat >conftest.
$ac_ext <<_ACEOF
13891 cat confdefs.h
>>conftest.
$ac_ext
13892 cat >>conftest.
$ac_ext <<_ACEOF
13893 /* end confdefs.h. */
13903 rm -f conftest.
$ac_objext conftest
$ac_exeext
13904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13905 (eval $ac_link) 2>conftest.er1
13907 grep -v '^ *+' conftest.er1
>conftest.err
13909 cat conftest.err
>&5
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); } &&
13912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13914 (eval $ac_try) 2>&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); }; } &&
13918 { ac_try
='test -s conftest$ac_exeext'
13919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13920 (eval $ac_try) 2>&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); }; }; then
13924 ac_cv_c_dll_init_fini
="yes"
13926 echo "$as_me: failed program was:" >&5
13927 sed 's/^/| /' conftest.
$ac_ext >&5
13929 ac_cv_c_dll_init_fini
="no"
13931 rm -f conftest.err conftest.
$ac_objext \
13932 conftest
$ac_exeext conftest.
$ac_ext
13933 CFLAGS
=$ac_wine_try_cflags_saved
13935 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
13936 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
13937 if test "$ac_cv_c_dll_init_fini" = "yes"
13939 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13942 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
13943 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
13944 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
13945 echo $ECHO_N "(cached) $ECHO_C" >&6
13947 echo '{ global: *; };' >conftest.map
13948 ac_wine_try_cflags_saved
=$CFLAGS
13949 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13950 cat >conftest.
$ac_ext <<_ACEOF
13953 cat confdefs.h
>>conftest.
$ac_ext
13954 cat >>conftest.
$ac_ext <<_ACEOF
13955 /* end confdefs.h. */
13965 rm -f conftest.
$ac_objext conftest
$ac_exeext
13966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13967 (eval $ac_link) 2>conftest.er1
13969 grep -v '^ *+' conftest.er1
>conftest.err
13971 cat conftest.err
>&5
13972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13973 (exit $ac_status); } &&
13974 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13976 (eval $ac_try) 2>&5
13978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13979 (exit $ac_status); }; } &&
13980 { ac_try
='test -s conftest$ac_exeext'
13981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13982 (eval $ac_try) 2>&5
13984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985 (exit $ac_status); }; }; then
13986 ac_cv_c_ld_version_scripts
="yes"
13988 echo "$as_me: failed program was:" >&5
13989 sed 's/^/| /' conftest.
$ac_ext >&5
13991 ac_cv_c_ld_version_scripts
="no"
13993 rm -f conftest.err conftest.
$ac_objext \
13994 conftest
$ac_exeext conftest.
$ac_ext
13995 CFLAGS
=$ac_wine_try_cflags_saved
13998 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
13999 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
14000 if test "$ac_cv_c_ld_version_scripts" = "yes"
14002 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
14005 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
14006 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
14007 if test "${ac_cv_c_export_dynamic+set}" = set; then
14008 echo $ECHO_N "(cached) $ECHO_C" >&6
14010 ac_wine_try_cflags_saved
=$CFLAGS
14011 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
14012 cat >conftest.
$ac_ext <<_ACEOF
14015 cat confdefs.h
>>conftest.
$ac_ext
14016 cat >>conftest.
$ac_ext <<_ACEOF
14017 /* end confdefs.h. */
14027 rm -f conftest.
$ac_objext conftest
$ac_exeext
14028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14029 (eval $ac_link) 2>conftest.er1
14031 grep -v '^ *+' conftest.er1
>conftest.err
14033 cat conftest.err
>&5
14034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14035 (exit $ac_status); } &&
14036 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14038 (eval $ac_try) 2>&5
14040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14041 (exit $ac_status); }; } &&
14042 { ac_try
='test -s conftest$ac_exeext'
14043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14044 (eval $ac_try) 2>&5
14046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); }; }; then
14048 ac_cv_c_export_dynamic
="yes"
14050 echo "$as_me: failed program was:" >&5
14051 sed 's/^/| /' conftest.
$ac_ext >&5
14053 ac_cv_c_export_dynamic
="no"
14055 rm -f conftest.err conftest.
$ac_objext \
14056 conftest
$ac_exeext conftest.
$ac_ext
14057 CFLAGS
=$ac_wine_try_cflags_saved
14059 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
14060 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
14061 if test "$ac_cv_c_export_dynamic" = "yes"
14063 LDEXECFLAGS
="-Wl,--export-dynamic"
14069 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x77f00000" >&5
14070 echo $ECHO_N "checking whether we can relocate the executable to 0x77f00000... $ECHO_C" >&6
14071 if test "${ac_cv_ld_reloc_exec+set}" = set; then
14072 echo $ECHO_N "(cached) $ECHO_C" >&6
14074 ac_wine_try_cflags_saved
=$CFLAGS
14075 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x77f00400"
14076 cat >conftest.
$ac_ext <<_ACEOF
14079 cat confdefs.h
>>conftest.
$ac_ext
14080 cat >>conftest.
$ac_ext <<_ACEOF
14081 /* end confdefs.h. */
14091 rm -f conftest.
$ac_objext conftest
$ac_exeext
14092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14093 (eval $ac_link) 2>conftest.er1
14095 grep -v '^ *+' conftest.er1
>conftest.err
14097 cat conftest.err
>&5
14098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 (exit $ac_status); } &&
14100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14102 (eval $ac_try) 2>&5
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); }; } &&
14106 { ac_try
='test -s conftest$ac_exeext'
14107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14108 (eval $ac_try) 2>&5
14110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14111 (exit $ac_status); }; }; then
14112 ac_cv_ld_reloc_exec
="yes"
14114 echo "$as_me: failed program was:" >&5
14115 sed 's/^/| /' conftest.
$ac_ext >&5
14117 ac_cv_ld_reloc_exec
="no"
14119 rm -f conftest.err conftest.
$ac_objext \
14120 conftest
$ac_exeext conftest.
$ac_ext
14121 CFLAGS
=$ac_wine_try_cflags_saved
14123 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
14124 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
14125 if test "$ac_cv_ld_reloc_exec" = "yes"
14127 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x77f00400"
14133 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14134 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
14135 if test "${ac_cv_c_dll_unixware+set}" = set; then
14136 echo $ECHO_N "(cached) $ECHO_C" >&6
14138 ac_wine_try_cflags_saved
=$CFLAGS
14139 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14140 cat >conftest.
$ac_ext <<_ACEOF
14143 rm -f conftest.
$ac_objext conftest
$ac_exeext
14144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14145 (eval $ac_link) 2>conftest.er1
14147 grep -v '^ *+' conftest.er1
>conftest.err
14149 cat conftest.err
>&5
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); } &&
14152 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14154 (eval $ac_try) 2>&5
14156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14157 (exit $ac_status); }; } &&
14158 { ac_try
='test -s conftest$ac_exeext'
14159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14160 (eval $ac_try) 2>&5
14162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14163 (exit $ac_status); }; }; then
14164 ac_cv_c_dll_unixware
="yes"
14166 echo "$as_me: failed program was:" >&5
14167 sed 's/^/| /' conftest.
$ac_ext >&5
14169 ac_cv_c_dll_unixware
="no"
14171 rm -f conftest.err conftest.
$ac_objext \
14172 conftest
$ac_exeext conftest.
$ac_ext
14173 CFLAGS
=$ac_wine_try_cflags_saved
14175 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
14176 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
14177 if test "$ac_cv_c_dll_unixware" = "yes"
14179 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
14180 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
14183 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
14184 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
14185 if test "${ac_cv_c_dll_macho+set}" = set; then
14186 echo $ECHO_N "(cached) $ECHO_C" >&6
14188 ac_wine_try_cflags_saved
=$CFLAGS
14189 CFLAGS
="$CFLAGS -bundle"
14190 cat >conftest.
$ac_ext <<_ACEOF
14193 rm -f conftest.
$ac_objext conftest
$ac_exeext
14194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14195 (eval $ac_link) 2>conftest.er1
14197 grep -v '^ *+' conftest.er1
>conftest.err
14199 cat conftest.err
>&5
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); } &&
14202 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14204 (eval $ac_try) 2>&5
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); }; } &&
14208 { ac_try
='test -s conftest$ac_exeext'
14209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14210 (eval $ac_try) 2>&5
14212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14213 (exit $ac_status); }; }; then
14214 ac_cv_c_dll_macho
="yes"
14216 echo "$as_me: failed program was:" >&5
14217 sed 's/^/| /' conftest.
$ac_ext >&5
14219 ac_cv_c_dll_macho
="no"
14221 rm -f conftest.err conftest.
$ac_objext \
14222 conftest
$ac_exeext conftest.
$ac_ext
14223 CFLAGS
=$ac_wine_try_cflags_saved
14225 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
14226 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
14227 if test "$ac_cv_c_dll_macho" = "yes"
14230 LDDLLFLAGS
="-bundle -flat_namespace -undefined suppress"
14231 LDSHARED
="\$(CC) -dynamiclib"
14232 CFLAGS
="$CFLAGS -ffixed-r13 -no-cpp-precomp"
14233 STRIP
="$STRIP -u -r"
14234 LDEXECFLAGS
="-seg1addr 0x120000"
14236 LDLIBWINEFLAGS
="-seg1addr 0x140000"
14238 COREFOUNDATIONLIB
="-framework CoreFoundation"
14240 IOKITLIB
="-framework IOKit"
14242 IOKITLIB
= "$IOKITLIB $COREFOUNDATIONLIB"
14244 echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
14245 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6
14246 if test "${ac_cv_c_dll_hpux+set}" = set; then
14247 echo $ECHO_N "(cached) $ECHO_C" >&6
14249 ac_wine_try_cflags_saved
=$CFLAGS
14250 CFLAGS
="$CFLAGS -shared"
14251 cat >conftest.
$ac_ext <<_ACEOF
14254 rm -f conftest.
$ac_objext conftest
$ac_exeext
14255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14256 (eval $ac_link) 2>conftest.er1
14258 grep -v '^ *+' conftest.er1
>conftest.err
14260 cat conftest.err
>&5
14261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14262 (exit $ac_status); } &&
14263 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14265 (eval $ac_try) 2>&5
14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14268 (exit $ac_status); }; } &&
14269 { ac_try
='test -s conftest$ac_exeext'
14270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14271 (eval $ac_try) 2>&5
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); }; }; then
14275 ac_cv_c_dll_hpux
="yes"
14277 echo "$as_me: failed program was:" >&5
14278 sed 's/^/| /' conftest.
$ac_ext >&5
14280 ac_cv_c_dll_hpux
="no"
14282 rm -f conftest.err conftest.
$ac_objext \
14283 conftest
$ac_exeext conftest.
$ac_ext
14284 CFLAGS
=$ac_wine_try_cflags_saved
14286 echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
14287 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6
14288 if test "$ac_cv_c_dll_hpux" = "yes"
14291 LDDLLFLAGS
="-shared"
14292 LDSHARED
="\$(CC) -shared"
14301 if test "$cross_compiling" = "no"
14303 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
14305 # Extract the first word of "$ac_prog", so it can be a program name with args.
14306 set dummy
$ac_prog; ac_word
=$2
14307 echo "$as_me:$LINENO: checking for $ac_word" >&5
14308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14309 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14310 echo $ECHO_N "(cached) $ECHO_C" >&6
14312 if test -n "$CROSSCC"; then
14313 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
14315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14316 for as_dir
in $PATH
14319 test -z "$as_dir" && as_dir
=.
14320 for ac_exec_ext
in '' $ac_executable_extensions; do
14321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14322 ac_cv_prog_CROSSCC
="$ac_prog"
14323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14331 CROSSCC
=$ac_cv_prog_CROSSCC
14332 if test -n "$CROSSCC"; then
14333 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14334 echo "${ECHO_T}$CROSSCC" >&6
14336 echo "$as_me:$LINENO: result: no" >&5
14337 echo "${ECHO_T}no" >&6
14340 test -n "$CROSSCC" && break
14342 test -n "$CROSSCC" || CROSSCC
="false"
14344 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14346 # Extract the first word of "$ac_prog", so it can be a program name with args.
14347 set dummy
$ac_prog; ac_word
=$2
14348 echo "$as_me:$LINENO: checking for $ac_word" >&5
14349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14350 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14351 echo $ECHO_N "(cached) $ECHO_C" >&6
14353 if test -n "$DLLTOOL"; then
14354 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14357 for as_dir
in $PATH
14360 test -z "$as_dir" && as_dir
=.
14361 for ac_exec_ext
in '' $ac_executable_extensions; do
14362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14363 ac_cv_prog_DLLTOOL
="$ac_prog"
14364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14372 DLLTOOL
=$ac_cv_prog_DLLTOOL
14373 if test -n "$DLLTOOL"; then
14374 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14375 echo "${ECHO_T}$DLLTOOL" >&6
14377 echo "$as_me:$LINENO: result: no" >&5
14378 echo "${ECHO_T}no" >&6
14381 test -n "$DLLTOOL" && break
14383 test -n "$DLLTOOL" || DLLTOOL
="false"
14385 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
14387 # Extract the first word of "$ac_prog", so it can be a program name with args.
14388 set dummy
$ac_prog; ac_word
=$2
14389 echo "$as_me:$LINENO: checking for $ac_word" >&5
14390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14391 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14392 echo $ECHO_N "(cached) $ECHO_C" >&6
14394 if test -n "$CROSSWINDRES"; then
14395 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
14397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14398 for as_dir
in $PATH
14401 test -z "$as_dir" && as_dir
=.
14402 for ac_exec_ext
in '' $ac_executable_extensions; do
14403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14404 ac_cv_prog_CROSSWINDRES
="$ac_prog"
14405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14413 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
14414 if test -n "$CROSSWINDRES"; then
14415 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14416 echo "${ECHO_T}$CROSSWINDRES" >&6
14418 echo "$as_me:$LINENO: result: no" >&5
14419 echo "${ECHO_T}no" >&6
14422 test -n "$CROSSWINDRES" && break
14424 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
14426 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
14431 if test "$LIBEXT" = "a"; then
14432 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14433 It is currently not possible to build Wine without shared library
14434 (.so) support to allow transparent switch between .so and .dll files.
14435 If you are using Linux, you will need a newer binutils.
14437 echo "$as_me: error: could not find a way to build shared libraries.
14438 It is currently not possible to build Wine without shared library
14439 (.so) support to allow transparent switch between .so and .dll files.
14440 If you are using Linux, you will need a newer binutils.
14442 { (exit 1); exit 1; }; }
14447 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14450 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14453 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14461 SOCKETLIBS
="-lws2_32"
14468 WINE_BINARIES
="wine-glibc wine-kthread wine-pthread wine-preloader"
14470 MAIN_BINARY
="wine-glibc"
14474 WINE_BINARIES
="wine-pthread"
14476 MAIN_BINARY
="wine-pthread"
14480 WINE_BINARIES
="wine-kthread"
14482 MAIN_BINARY
="wine-kthread"
14488 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14490 # Extract the first word of "ldd", so it can be a program name with args.
14491 set dummy ldd
; ac_word
=$2
14492 echo "$as_me:$LINENO: checking for $ac_word" >&5
14493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14494 if test "${ac_cv_path_LDD+set}" = set; then
14495 echo $ECHO_N "(cached) $ECHO_C" >&6
14499 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
14502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14503 as_dummy
="/sbin:/usr/sbin:$PATH"
14504 for as_dir
in $as_dummy
14507 test -z "$as_dir" && as_dir
=.
14508 for ac_exec_ext
in '' $ac_executable_extensions; do
14509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14510 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
14511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14517 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
14521 LDD
=$ac_cv_path_LDD
14523 if test -n "$LDD"; then
14524 echo "$as_me:$LINENO: result: $LDD" >&5
14525 echo "${ECHO_T}$LDD" >&6
14527 echo "$as_me:$LINENO: result: no" >&5
14528 echo "${ECHO_T}no" >&6
14532 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14533 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14534 if test "${ac_cv_lib_soname_X11+set}" = set; then
14535 echo $ECHO_N "(cached) $ECHO_C" >&6
14537 ac_get_soname_save_LIBS
=$LIBS
14538 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14539 cat >conftest.
$ac_ext <<_ACEOF
14542 cat confdefs.h
>>conftest.
$ac_ext
14543 cat >>conftest.
$ac_ext <<_ACEOF
14544 /* end confdefs.h. */
14546 /* Override any gcc2 internal prototype to avoid an error. */
14550 /* We use char because int might match the return type of a gcc2
14551 builtin and then its argument prototype would still apply. */
14552 char XCreateWindow ();
14561 rm -f conftest.
$ac_objext conftest
$ac_exeext
14562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14563 (eval $ac_link) 2>conftest.er1
14565 grep -v '^ *+' conftest.er1
>conftest.err
14567 cat conftest.err
>&5
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); } &&
14570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14572 (eval $ac_try) 2>&5
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); }; } &&
14576 { ac_try
='test -s conftest$ac_exeext'
14577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14578 (eval $ac_try) 2>&5
14580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581 (exit $ac_status); }; }; then
14582 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"`
14583 if test "x$ac_cv_lib_soname_X11" = "x"
14585 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14588 echo "$as_me: failed program was:" >&5
14589 sed 's/^/| /' conftest.
$ac_ext >&5
14591 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14593 rm -f conftest.err conftest.
$ac_objext \
14594 conftest
$ac_exeext conftest.
$ac_ext
14595 LIBS
=$ac_get_soname_save_LIBS
14597 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14598 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14599 if test "x$ac_cv_lib_soname_X11" != xNONE
14601 cat >>confdefs.h
<<_ACEOF
14602 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14606 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14607 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14608 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14609 echo $ECHO_N "(cached) $ECHO_C" >&6
14611 ac_get_soname_save_LIBS
=$LIBS
14612 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14613 cat >conftest.
$ac_ext <<_ACEOF
14616 cat confdefs.h
>>conftest.
$ac_ext
14617 cat >>conftest.
$ac_ext <<_ACEOF
14618 /* end confdefs.h. */
14620 /* Override any gcc2 internal prototype to avoid an error. */
14624 /* We use char because int might match the return type of a gcc2
14625 builtin and then its argument prototype would still apply. */
14626 char XextCreateExtension ();
14630 XextCreateExtension ();
14635 rm -f conftest.
$ac_objext conftest
$ac_exeext
14636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14637 (eval $ac_link) 2>conftest.er1
14639 grep -v '^ *+' conftest.er1
>conftest.err
14641 cat conftest.err
>&5
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); } &&
14644 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14646 (eval $ac_try) 2>&5
14648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649 (exit $ac_status); }; } &&
14650 { ac_try
='test -s conftest$ac_exeext'
14651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14652 (eval $ac_try) 2>&5
14654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14655 (exit $ac_status); }; }; then
14656 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"`
14657 if test "x$ac_cv_lib_soname_Xext" = "x"
14659 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14662 echo "$as_me: failed program was:" >&5
14663 sed 's/^/| /' conftest.
$ac_ext >&5
14665 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14667 rm -f conftest.err conftest.
$ac_objext \
14668 conftest
$ac_exeext conftest.
$ac_ext
14669 LIBS
=$ac_get_soname_save_LIBS
14671 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14672 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14673 if test "x$ac_cv_lib_soname_Xext" != xNONE
14675 cat >>confdefs.h
<<_ACEOF
14676 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14680 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14681 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14682 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14683 echo $ECHO_N "(cached) $ECHO_C" >&6
14685 ac_get_soname_save_LIBS
=$LIBS
14686 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14687 cat >conftest.
$ac_ext <<_ACEOF
14690 cat confdefs.h
>>conftest.
$ac_ext
14691 cat >>conftest.
$ac_ext <<_ACEOF
14692 /* end confdefs.h. */
14694 /* Override any gcc2 internal prototype to avoid an error. */
14698 /* We use char because int might match the return type of a gcc2
14699 builtin and then its argument prototype would still apply. */
14700 char XOpenDevice ();
14709 rm -f conftest.
$ac_objext conftest
$ac_exeext
14710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14711 (eval $ac_link) 2>conftest.er1
14713 grep -v '^ *+' conftest.er1
>conftest.err
14715 cat conftest.err
>&5
14716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14717 (exit $ac_status); } &&
14718 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14720 (eval $ac_try) 2>&5
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); }; } &&
14724 { ac_try
='test -s conftest$ac_exeext'
14725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14726 (eval $ac_try) 2>&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); }; }; then
14730 ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"`
14731 if test "x$ac_cv_lib_soname_Xi" = "x"
14733 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14736 echo "$as_me: failed program was:" >&5
14737 sed 's/^/| /' conftest.
$ac_ext >&5
14739 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14741 rm -f conftest.err conftest.
$ac_objext \
14742 conftest
$ac_exeext conftest.
$ac_ext
14743 LIBS
=$ac_get_soname_save_LIBS
14745 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14746 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14747 if test "x$ac_cv_lib_soname_Xi" != xNONE
14749 cat >>confdefs.h
<<_ACEOF
14750 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14754 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14755 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14756 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14757 echo $ECHO_N "(cached) $ECHO_C" >&6
14759 ac_get_soname_save_LIBS
=$LIBS
14760 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14761 cat >conftest.
$ac_ext <<_ACEOF
14764 cat confdefs.h
>>conftest.
$ac_ext
14765 cat >>conftest.
$ac_ext <<_ACEOF
14766 /* end confdefs.h. */
14768 /* Override any gcc2 internal prototype to avoid an error. */
14772 /* We use char because int might match the return type of a gcc2
14773 builtin and then its argument prototype would still apply. */
14774 char XRenderQueryExtension ();
14778 XRenderQueryExtension ();
14783 rm -f conftest.
$ac_objext conftest
$ac_exeext
14784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14785 (eval $ac_link) 2>conftest.er1
14787 grep -v '^ *+' conftest.er1
>conftest.err
14789 cat conftest.err
>&5
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); } &&
14792 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14794 (eval $ac_try) 2>&5
14796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14797 (exit $ac_status); }; } &&
14798 { ac_try
='test -s conftest$ac_exeext'
14799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14800 (eval $ac_try) 2>&5
14802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14803 (exit $ac_status); }; }; then
14804 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"`
14805 if test "x$ac_cv_lib_soname_Xrender" = "x"
14807 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14810 echo "$as_me: failed program was:" >&5
14811 sed 's/^/| /' conftest.
$ac_ext >&5
14813 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14815 rm -f conftest.err conftest.
$ac_objext \
14816 conftest
$ac_exeext conftest.
$ac_ext
14817 LIBS
=$ac_get_soname_save_LIBS
14819 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14820 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14821 if test "x$ac_cv_lib_soname_Xrender" != xNONE
14823 cat >>confdefs.h
<<_ACEOF
14824 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14828 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14829 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
14830 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14831 echo $ECHO_N "(cached) $ECHO_C" >&6
14833 ac_get_soname_save_LIBS
=$LIBS
14834 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14835 cat >conftest.
$ac_ext <<_ACEOF
14838 cat confdefs.h
>>conftest.
$ac_ext
14839 cat >>conftest.
$ac_ext <<_ACEOF
14840 /* end confdefs.h. */
14842 /* Override any gcc2 internal prototype to avoid an error. */
14846 /* We use char because int might match the return type of a gcc2
14847 builtin and then its argument prototype would still apply. */
14848 char XRRQueryExtension ();
14852 XRRQueryExtension ();
14857 rm -f conftest.
$ac_objext conftest
$ac_exeext
14858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14859 (eval $ac_link) 2>conftest.er1
14861 grep -v '^ *+' conftest.er1
>conftest.err
14863 cat conftest.err
>&5
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); } &&
14866 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14868 (eval $ac_try) 2>&5
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); }; } &&
14872 { ac_try
='test -s conftest$ac_exeext'
14873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14874 (eval $ac_try) 2>&5
14876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14877 (exit $ac_status); }; }; then
14878 ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"`
14879 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14881 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
14884 echo "$as_me: failed program was:" >&5
14885 sed 's/^/| /' conftest.
$ac_ext >&5
14887 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
14889 rm -f conftest.err conftest.
$ac_objext \
14890 conftest
$ac_exeext conftest.
$ac_ext
14891 LIBS
=$ac_get_soname_save_LIBS
14893 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14894 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
14895 if test "x$ac_cv_lib_soname_Xrandr" != xNONE
14897 cat >>confdefs.h
<<_ACEOF
14898 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14902 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14903 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14904 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14905 echo $ECHO_N "(cached) $ECHO_C" >&6
14907 ac_get_soname_save_LIBS
=$LIBS
14908 LIBS
="-lfreetype $X_LIBS $LIBS"
14909 cat >conftest.
$ac_ext <<_ACEOF
14912 cat confdefs.h
>>conftest.
$ac_ext
14913 cat >>conftest.
$ac_ext <<_ACEOF
14914 /* end confdefs.h. */
14916 /* Override any gcc2 internal prototype to avoid an error. */
14920 /* We use char because int might match the return type of a gcc2
14921 builtin and then its argument prototype would still apply. */
14922 char FT_Init_FreeType ();
14926 FT_Init_FreeType ();
14931 rm -f conftest.
$ac_objext conftest
$ac_exeext
14932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14933 (eval $ac_link) 2>conftest.er1
14935 grep -v '^ *+' conftest.er1
>conftest.err
14937 cat conftest.err
>&5
14938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14939 (exit $ac_status); } &&
14940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14942 (eval $ac_try) 2>&5
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); }; } &&
14946 { ac_try
='test -s conftest$ac_exeext'
14947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14948 (eval $ac_try) 2>&5
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); }; }; then
14952 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"`
14953 if test "x$ac_cv_lib_soname_freetype" = "x"
14955 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
14958 echo "$as_me: failed program was:" >&5
14959 sed 's/^/| /' conftest.
$ac_ext >&5
14961 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
14963 rm -f conftest.err conftest.
$ac_objext \
14964 conftest
$ac_exeext conftest.
$ac_ext
14965 LIBS
=$ac_get_soname_save_LIBS
14967 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14968 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
14969 if test "x$ac_cv_lib_soname_freetype" != xNONE
14971 cat >>confdefs.h
<<_ACEOF
14972 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14976 echo "$as_me:$LINENO: checking for -lGL soname" >&5
14977 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
14978 if test "${ac_cv_lib_soname_GL+set}" = set; then
14979 echo $ECHO_N "(cached) $ECHO_C" >&6
14981 ac_get_soname_save_LIBS
=$LIBS
14982 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14983 cat >conftest.
$ac_ext <<_ACEOF
14986 cat confdefs.h
>>conftest.
$ac_ext
14987 cat >>conftest.
$ac_ext <<_ACEOF
14988 /* end confdefs.h. */
14990 /* Override any gcc2 internal prototype to avoid an error. */
14994 /* We use char because int might match the return type of a gcc2
14995 builtin and then its argument prototype would still apply. */
14996 char glXQueryExtension ();
15000 glXQueryExtension ();
15005 rm -f conftest.
$ac_objext conftest
$ac_exeext
15006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15007 (eval $ac_link) 2>conftest.er1
15009 grep -v '^ *+' conftest.er1
>conftest.err
15011 cat conftest.err
>&5
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); } &&
15014 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15016 (eval $ac_try) 2>&5
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); }; } &&
15020 { ac_try
='test -s conftest$ac_exeext'
15021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15022 (eval $ac_try) 2>&5
15024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15025 (exit $ac_status); }; }; then
15026 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"`
15027 if test "x$ac_cv_lib_soname_GL" = "x"
15029 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
15032 echo "$as_me: failed program was:" >&5
15033 sed 's/^/| /' conftest.
$ac_ext >&5
15035 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
15037 rm -f conftest.err conftest.
$ac_objext \
15038 conftest
$ac_exeext conftest.
$ac_ext
15039 LIBS
=$ac_get_soname_save_LIBS
15041 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
15042 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
15043 if test "x$ac_cv_lib_soname_GL" != xNONE
15045 cat >>confdefs.h
<<_ACEOF
15046 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
15050 echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
15051 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6
15052 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15053 echo $ECHO_N "(cached) $ECHO_C" >&6
15055 ac_get_soname_save_LIBS
=$LIBS
15056 LIBS
="-ltxc_dxtn $LIBS"
15057 cat >conftest.
$ac_ext <<_ACEOF
15060 cat confdefs.h
>>conftest.
$ac_ext
15061 cat >>conftest.
$ac_ext <<_ACEOF
15062 /* end confdefs.h. */
15064 /* Override any gcc2 internal prototype to avoid an error. */
15068 /* We use char because int might match the return type of a gcc2
15069 builtin and then its argument prototype would still apply. */
15070 char fetch_2d_texel_rgba_dxt1 ();
15074 fetch_2d_texel_rgba_dxt1 ();
15079 rm -f conftest.
$ac_objext conftest
$ac_exeext
15080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15081 (eval $ac_link) 2>conftest.er1
15083 grep -v '^ *+' conftest.er1
>conftest.err
15085 cat conftest.err
>&5
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); } &&
15088 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15090 (eval $ac_try) 2>&5
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); }; } &&
15094 { ac_try
='test -s conftest$ac_exeext'
15095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15096 (eval $ac_try) 2>&5
15098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15099 (exit $ac_status); }; }; then
15100 ac_cv_lib_soname_txc_dxtn
=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"`
15101 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
15103 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
15106 echo "$as_me: failed program was:" >&5
15107 sed 's/^/| /' conftest.
$ac_ext >&5
15109 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
15111 rm -f conftest.err conftest.
$ac_objext \
15112 conftest
$ac_exeext conftest.
$ac_ext
15113 LIBS
=$ac_get_soname_save_LIBS
15115 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15116 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6
15117 if test "x$ac_cv_lib_soname_txc_dxtn" != xNONE
15119 cat >>confdefs.h
<<_ACEOF
15120 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15124 echo "$as_me:$LINENO: checking for -lcups soname" >&5
15125 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
15126 if test "${ac_cv_lib_soname_cups+set}" = set; then
15127 echo $ECHO_N "(cached) $ECHO_C" >&6
15129 ac_get_soname_save_LIBS
=$LIBS
15130 LIBS
="-lcups $LIBS"
15131 cat >conftest.
$ac_ext <<_ACEOF
15134 cat confdefs.h
>>conftest.
$ac_ext
15135 cat >>conftest.
$ac_ext <<_ACEOF
15136 /* end confdefs.h. */
15138 /* Override any gcc2 internal prototype to avoid an error. */
15142 /* We use char because int might match the return type of a gcc2
15143 builtin and then its argument prototype would still apply. */
15144 char cupsGetDefault ();
15153 rm -f conftest.
$ac_objext conftest
$ac_exeext
15154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15155 (eval $ac_link) 2>conftest.er1
15157 grep -v '^ *+' conftest.er1
>conftest.err
15159 cat conftest.err
>&5
15160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15161 (exit $ac_status); } &&
15162 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15164 (eval $ac_try) 2>&5
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); }; } &&
15168 { ac_try
='test -s conftest$ac_exeext'
15169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15170 (eval $ac_try) 2>&5
15172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15173 (exit $ac_status); }; }; then
15174 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"`
15175 if test "x$ac_cv_lib_soname_cups" = "x"
15177 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
15180 echo "$as_me: failed program was:" >&5
15181 sed 's/^/| /' conftest.
$ac_ext >&5
15183 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
15185 rm -f conftest.err conftest.
$ac_objext \
15186 conftest
$ac_exeext conftest.
$ac_ext
15187 LIBS
=$ac_get_soname_save_LIBS
15189 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15190 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
15191 if test "x$ac_cv_lib_soname_cups" != xNONE
15193 cat >>confdefs.h
<<_ACEOF
15194 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15198 echo "$as_me:$LINENO: checking for -ljack soname" >&5
15199 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
15200 if test "${ac_cv_lib_soname_jack+set}" = set; then
15201 echo $ECHO_N "(cached) $ECHO_C" >&6
15203 ac_get_soname_save_LIBS
=$LIBS
15204 LIBS
="-ljack $LIBS"
15205 cat >conftest.
$ac_ext <<_ACEOF
15208 cat confdefs.h
>>conftest.
$ac_ext
15209 cat >>conftest.
$ac_ext <<_ACEOF
15210 /* end confdefs.h. */
15212 /* Override any gcc2 internal prototype to avoid an error. */
15216 /* We use char because int might match the return type of a gcc2
15217 builtin and then its argument prototype would still apply. */
15218 char jack_client_new ();
15222 jack_client_new ();
15227 rm -f conftest.
$ac_objext conftest
$ac_exeext
15228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15229 (eval $ac_link) 2>conftest.er1
15231 grep -v '^ *+' conftest.er1
>conftest.err
15233 cat conftest.err
>&5
15234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15235 (exit $ac_status); } &&
15236 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15238 (eval $ac_try) 2>&5
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); }; } &&
15242 { ac_try
='test -s conftest$ac_exeext'
15243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15244 (eval $ac_try) 2>&5
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); }; }; then
15248 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"`
15249 if test "x$ac_cv_lib_soname_jack" = "x"
15251 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15254 echo "$as_me: failed program was:" >&5
15255 sed 's/^/| /' conftest.
$ac_ext >&5
15257 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15259 rm -f conftest.err conftest.
$ac_objext \
15260 conftest
$ac_exeext conftest.
$ac_ext
15261 LIBS
=$ac_get_soname_save_LIBS
15263 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15264 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15265 if test "x$ac_cv_lib_soname_jack" != xNONE
15267 cat >>confdefs.h
<<_ACEOF
15268 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15272 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15273 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15274 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15275 echo $ECHO_N "(cached) $ECHO_C" >&6
15277 ac_get_soname_save_LIBS
=$LIBS
15278 LIBS
="-lfontconfig $LIBS"
15279 cat >conftest.
$ac_ext <<_ACEOF
15282 cat confdefs.h
>>conftest.
$ac_ext
15283 cat >>conftest.
$ac_ext <<_ACEOF
15284 /* end confdefs.h. */
15286 /* Override any gcc2 internal prototype to avoid an error. */
15290 /* We use char because int might match the return type of a gcc2
15291 builtin and then its argument prototype would still apply. */
15301 rm -f conftest.
$ac_objext conftest
$ac_exeext
15302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15303 (eval $ac_link) 2>conftest.er1
15305 grep -v '^ *+' conftest.er1
>conftest.err
15307 cat conftest.err
>&5
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); } &&
15310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15312 (eval $ac_try) 2>&5
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); }; } &&
15316 { ac_try
='test -s conftest$ac_exeext'
15317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15318 (eval $ac_try) 2>&5
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); }; }; then
15322 ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"`
15323 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15325 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15328 echo "$as_me: failed program was:" >&5
15329 sed 's/^/| /' conftest.
$ac_ext >&5
15331 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15333 rm -f conftest.err conftest.
$ac_objext \
15334 conftest
$ac_exeext conftest.
$ac_ext
15335 LIBS
=$ac_get_soname_save_LIBS
15337 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15338 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15339 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
15341 cat >>confdefs.h
<<_ACEOF
15342 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15346 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15347 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15348 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15349 echo $ECHO_N "(cached) $ECHO_C" >&6
15351 ac_get_soname_save_LIBS
=$LIBS
15353 cat >conftest.
$ac_ext <<_ACEOF
15356 cat confdefs.h
>>conftest.
$ac_ext
15357 cat >>conftest.
$ac_ext <<_ACEOF
15358 /* end confdefs.h. */
15360 /* Override any gcc2 internal prototype to avoid an error. */
15364 /* We use char because int might match the return type of a gcc2
15365 builtin and then its argument prototype would still apply. */
15366 char SSL_library_init ();
15370 SSL_library_init ();
15375 rm -f conftest.
$ac_objext conftest
$ac_exeext
15376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15377 (eval $ac_link) 2>conftest.er1
15379 grep -v '^ *+' conftest.er1
>conftest.err
15381 cat conftest.err
>&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); } &&
15384 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15386 (eval $ac_try) 2>&5
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); }; } &&
15390 { ac_try
='test -s conftest$ac_exeext'
15391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15392 (eval $ac_try) 2>&5
15394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15395 (exit $ac_status); }; }; then
15396 ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"`
15397 if test "x$ac_cv_lib_soname_ssl" = "x"
15399 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15402 echo "$as_me: failed program was:" >&5
15403 sed 's/^/| /' conftest.
$ac_ext >&5
15405 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15407 rm -f conftest.err conftest.
$ac_objext \
15408 conftest
$ac_exeext conftest.
$ac_ext
15409 LIBS
=$ac_get_soname_save_LIBS
15411 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15412 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15413 if test "x$ac_cv_lib_soname_ssl" != xNONE
15415 cat >>confdefs.h
<<_ACEOF
15416 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15420 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15421 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15422 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15423 echo $ECHO_N "(cached) $ECHO_C" >&6
15425 ac_get_soname_save_LIBS
=$LIBS
15426 LIBS
="-lcrypto $LIBS"
15427 cat >conftest.
$ac_ext <<_ACEOF
15430 cat confdefs.h
>>conftest.
$ac_ext
15431 cat >>conftest.
$ac_ext <<_ACEOF
15432 /* end confdefs.h. */
15434 /* Override any gcc2 internal prototype to avoid an error. */
15438 /* We use char because int might match the return type of a gcc2
15439 builtin and then its argument prototype would still apply. */
15440 char BIO_new_socket ();
15449 rm -f conftest.
$ac_objext conftest
$ac_exeext
15450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15451 (eval $ac_link) 2>conftest.er1
15453 grep -v '^ *+' conftest.er1
>conftest.err
15455 cat conftest.err
>&5
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); } &&
15458 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15460 (eval $ac_try) 2>&5
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); }; } &&
15464 { ac_try
='test -s conftest$ac_exeext'
15465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15466 (eval $ac_try) 2>&5
15468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 (exit $ac_status); }; }; then
15470 ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"`
15471 if test "x$ac_cv_lib_soname_crypto" = "x"
15473 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15476 echo "$as_me: failed program was:" >&5
15477 sed 's/^/| /' conftest.
$ac_ext >&5
15479 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15481 rm -f conftest.err conftest.
$ac_objext \
15482 conftest
$ac_exeext conftest.
$ac_ext
15483 LIBS
=$ac_get_soname_save_LIBS
15485 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15486 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15487 if test "x$ac_cv_lib_soname_crypto" != xNONE
15489 cat >>confdefs.h
<<_ACEOF
15490 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15494 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15495 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15496 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15497 echo $ECHO_N "(cached) $ECHO_C" >&6
15499 ac_get_soname_save_LIBS
=$LIBS
15500 LIBS
="-lncurses $LIBS"
15501 cat >conftest.
$ac_ext <<_ACEOF
15504 cat confdefs.h
>>conftest.
$ac_ext
15505 cat >>conftest.
$ac_ext <<_ACEOF
15506 /* end confdefs.h. */
15508 /* Override any gcc2 internal prototype to avoid an error. */
15512 /* We use char because int might match the return type of a gcc2
15513 builtin and then its argument prototype would still apply. */
15523 rm -f conftest.
$ac_objext conftest
$ac_exeext
15524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15525 (eval $ac_link) 2>conftest.er1
15527 grep -v '^ *+' conftest.er1
>conftest.err
15529 cat conftest.err
>&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); } &&
15532 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; } &&
15538 { ac_try
='test -s conftest$ac_exeext'
15539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15540 (eval $ac_try) 2>&5
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); }; }; then
15544 ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"`
15545 if test "x$ac_cv_lib_soname_ncurses" = "x"
15547 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15550 echo "$as_me: failed program was:" >&5
15551 sed 's/^/| /' conftest.
$ac_ext >&5
15553 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15555 rm -f conftest.err conftest.
$ac_objext \
15556 conftest
$ac_exeext conftest.
$ac_ext
15557 LIBS
=$ac_get_soname_save_LIBS
15559 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15560 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15561 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15563 cat >>confdefs.h
<<_ACEOF
15564 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15568 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15569 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15570 if test "${ac_cv_lib_soname_curses+set}" = set; then
15571 echo $ECHO_N "(cached) $ECHO_C" >&6
15573 ac_get_soname_save_LIBS
=$LIBS
15574 LIBS
="-lcurses $LIBS"
15575 cat >conftest.
$ac_ext <<_ACEOF
15578 cat confdefs.h
>>conftest.
$ac_ext
15579 cat >>conftest.
$ac_ext <<_ACEOF
15580 /* end confdefs.h. */
15582 /* Override any gcc2 internal prototype to avoid an error. */
15586 /* We use char because int might match the return type of a gcc2
15587 builtin and then its argument prototype would still apply. */
15597 rm -f conftest.
$ac_objext conftest
$ac_exeext
15598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15599 (eval $ac_link) 2>conftest.er1
15601 grep -v '^ *+' conftest.er1
>conftest.err
15603 cat conftest.err
>&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); } &&
15606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15608 (eval $ac_try) 2>&5
15610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15611 (exit $ac_status); }; } &&
15612 { ac_try
='test -s conftest$ac_exeext'
15613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15614 (eval $ac_try) 2>&5
15616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617 (exit $ac_status); }; }; then
15618 ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"`
15619 if test "x$ac_cv_lib_soname_curses" = "x"
15621 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15624 echo "$as_me: failed program was:" >&5
15625 sed 's/^/| /' conftest.
$ac_ext >&5
15627 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15629 rm -f conftest.err conftest.
$ac_objext \
15630 conftest
$ac_exeext conftest.
$ac_ext
15631 LIBS
=$ac_get_soname_save_LIBS
15633 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15634 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15635 if test "x$ac_cv_lib_soname_curses" != xNONE
15637 cat >>confdefs.h
<<_ACEOF
15638 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15642 echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15643 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6
15644 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15645 echo $ECHO_N "(cached) $ECHO_C" >&6
15647 ac_get_soname_save_LIBS
=$LIBS
15648 LIBS
="-ljpeg $LIBS"
15649 cat >conftest.
$ac_ext <<_ACEOF
15652 cat confdefs.h
>>conftest.
$ac_ext
15653 cat >>conftest.
$ac_ext <<_ACEOF
15654 /* end confdefs.h. */
15656 /* Override any gcc2 internal prototype to avoid an error. */
15660 /* We use char because int might match the return type of a gcc2
15661 builtin and then its argument prototype would still apply. */
15662 char jpeg_start_decompress ();
15666 jpeg_start_decompress ();
15671 rm -f conftest.
$ac_objext conftest
$ac_exeext
15672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15673 (eval $ac_link) 2>conftest.er1
15675 grep -v '^ *+' conftest.er1
>conftest.err
15677 cat conftest.err
>&5
15678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15679 (exit $ac_status); } &&
15680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15682 (eval $ac_try) 2>&5
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); }; } &&
15686 { ac_try
='test -s conftest$ac_exeext'
15687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15688 (eval $ac_try) 2>&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); }; }; then
15692 ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"`
15693 if test "x$ac_cv_lib_soname_jpeg" = "x"
15695 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15698 echo "$as_me: failed program was:" >&5
15699 sed 's/^/| /' conftest.
$ac_ext >&5
15701 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15703 rm -f conftest.err conftest.
$ac_objext \
15704 conftest
$ac_exeext conftest.
$ac_ext
15705 LIBS
=$ac_get_soname_save_LIBS
15707 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15708 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6
15709 if test "x$ac_cv_lib_soname_jpeg" != xNONE
15711 cat >>confdefs.h
<<_ACEOF
15712 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15716 echo "$as_me:$LINENO: checking for -lungif soname" >&5
15717 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6
15718 if test "${ac_cv_lib_soname_ungif+set}" = set; then
15719 echo $ECHO_N "(cached) $ECHO_C" >&6
15721 ac_get_soname_save_LIBS
=$LIBS
15722 LIBS
="-lungif $LIBS"
15723 cat >conftest.
$ac_ext <<_ACEOF
15726 cat confdefs.h
>>conftest.
$ac_ext
15727 cat >>conftest.
$ac_ext <<_ACEOF
15728 /* end confdefs.h. */
15730 /* Override any gcc2 internal prototype to avoid an error. */
15734 /* We use char because int might match the return type of a gcc2
15735 builtin and then its argument prototype would still apply. */
15745 rm -f conftest.
$ac_objext conftest
$ac_exeext
15746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15747 (eval $ac_link) 2>conftest.er1
15749 grep -v '^ *+' conftest.er1
>conftest.err
15751 cat conftest.err
>&5
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); } &&
15754 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15756 (eval $ac_try) 2>&5
15758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759 (exit $ac_status); }; } &&
15760 { ac_try
='test -s conftest$ac_exeext'
15761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15762 (eval $ac_try) 2>&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); }; }; then
15766 ac_cv_lib_soname_ungif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"`
15767 if test "x$ac_cv_lib_soname_ungif" = "x"
15769 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
15772 echo "$as_me: failed program was:" >&5
15773 sed 's/^/| /' conftest.
$ac_ext >&5
15775 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
15777 rm -f conftest.err conftest.
$ac_objext \
15778 conftest
$ac_exeext conftest.
$ac_ext
15779 LIBS
=$ac_get_soname_save_LIBS
15781 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
15782 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6
15783 if test "x$ac_cv_lib_soname_ungif" != xNONE
15785 cat >>confdefs.h
<<_ACEOF
15786 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
15790 echo "$as_me:$LINENO: checking for -lgif soname" >&5
15791 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6
15792 if test "${ac_cv_lib_soname_gif+set}" = set; then
15793 echo $ECHO_N "(cached) $ECHO_C" >&6
15795 ac_get_soname_save_LIBS
=$LIBS
15797 cat >conftest.
$ac_ext <<_ACEOF
15800 cat confdefs.h
>>conftest.
$ac_ext
15801 cat >>conftest.
$ac_ext <<_ACEOF
15802 /* end confdefs.h. */
15804 /* Override any gcc2 internal prototype to avoid an error. */
15808 /* We use char because int might match the return type of a gcc2
15809 builtin and then its argument prototype would still apply. */
15819 rm -f conftest.
$ac_objext conftest
$ac_exeext
15820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15821 (eval $ac_link) 2>conftest.er1
15823 grep -v '^ *+' conftest.er1
>conftest.err
15825 cat conftest.err
>&5
15826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15827 (exit $ac_status); } &&
15828 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15830 (eval $ac_try) 2>&5
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); }; } &&
15834 { ac_try
='test -s conftest$ac_exeext'
15835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15836 (eval $ac_try) 2>&5
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); }; }; then
15840 ac_cv_lib_soname_gif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"`
15841 if test "x$ac_cv_lib_soname_gif" = "x"
15843 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
15846 echo "$as_me: failed program was:" >&5
15847 sed 's/^/| /' conftest.
$ac_ext >&5
15849 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
15851 rm -f conftest.err conftest.
$ac_objext \
15852 conftest
$ac_exeext conftest.
$ac_ext
15853 LIBS
=$ac_get_soname_save_LIBS
15855 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
15856 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6
15857 if test "x$ac_cv_lib_soname_gif" != xNONE
15859 cat >>confdefs.h
<<_ACEOF
15860 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
15867 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15868 # for constant arguments. Useless!
15869 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15870 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15871 if test "${ac_cv_working_alloca_h+set}" = set; then
15872 echo $ECHO_N "(cached) $ECHO_C" >&6
15874 cat >conftest.
$ac_ext <<_ACEOF
15877 cat confdefs.h
>>conftest.
$ac_ext
15878 cat >>conftest.
$ac_ext <<_ACEOF
15879 /* end confdefs.h. */
15880 #include <alloca.h>
15884 char *p = (char *) alloca (2 * sizeof (int));
15889 rm -f conftest.
$ac_objext conftest
$ac_exeext
15890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15891 (eval $ac_link) 2>conftest.er1
15893 grep -v '^ *+' conftest.er1
>conftest.err
15895 cat conftest.err
>&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); } &&
15898 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15900 (eval $ac_try) 2>&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); }; } &&
15904 { ac_try
='test -s conftest$ac_exeext'
15905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15906 (eval $ac_try) 2>&5
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); }; }; then
15910 ac_cv_working_alloca_h
=yes
15912 echo "$as_me: failed program was:" >&5
15913 sed 's/^/| /' conftest.
$ac_ext >&5
15915 ac_cv_working_alloca_h
=no
15917 rm -f conftest.err conftest.
$ac_objext \
15918 conftest
$ac_exeext conftest.
$ac_ext
15920 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15921 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15922 if test $ac_cv_working_alloca_h = yes; then
15924 cat >>confdefs.h
<<\_ACEOF
15925 #define HAVE_ALLOCA_H 1
15930 echo "$as_me:$LINENO: checking for alloca" >&5
15931 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15932 if test "${ac_cv_func_alloca_works+set}" = set; then
15933 echo $ECHO_N "(cached) $ECHO_C" >&6
15935 cat >conftest.
$ac_ext <<_ACEOF
15938 cat confdefs.h
>>conftest.
$ac_ext
15939 cat >>conftest.
$ac_ext <<_ACEOF
15940 /* end confdefs.h. */
15942 # define alloca __builtin_alloca
15945 # include <malloc.h>
15946 # define alloca _alloca
15949 # include <alloca.h>
15954 # ifndef alloca /* predefined by HP cc +Olibcalls */
15965 char *p = (char *) alloca (1);
15970 rm -f conftest.
$ac_objext conftest
$ac_exeext
15971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15972 (eval $ac_link) 2>conftest.er1
15974 grep -v '^ *+' conftest.er1
>conftest.err
15976 cat conftest.err
>&5
15977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978 (exit $ac_status); } &&
15979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15981 (eval $ac_try) 2>&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); }; } &&
15985 { ac_try
='test -s conftest$ac_exeext'
15986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15987 (eval $ac_try) 2>&5
15989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15990 (exit $ac_status); }; }; then
15991 ac_cv_func_alloca_works
=yes
15993 echo "$as_me: failed program was:" >&5
15994 sed 's/^/| /' conftest.
$ac_ext >&5
15996 ac_cv_func_alloca_works
=no
15998 rm -f conftest.err conftest.
$ac_objext \
15999 conftest
$ac_exeext conftest.
$ac_ext
16001 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
16002 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
16004 if test $ac_cv_func_alloca_works = yes; then
16006 cat >>confdefs.h
<<\_ACEOF
16007 #define HAVE_ALLOCA 1
16011 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16012 # that cause trouble. Some versions do not even contain alloca or
16013 # contain a buggy version. If you still want to use their alloca,
16014 # use ar to extract alloca.o from them instead of compiling alloca.c.
16016 ALLOCA
=alloca.
$ac_objext
16018 cat >>confdefs.h
<<\_ACEOF
16023 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
16024 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
16025 if test "${ac_cv_os_cray+set}" = set; then
16026 echo $ECHO_N "(cached) $ECHO_C" >&6
16028 cat >conftest.
$ac_ext <<_ACEOF
16031 cat confdefs.h
>>conftest.
$ac_ext
16032 cat >>conftest.
$ac_ext <<_ACEOF
16033 /* end confdefs.h. */
16034 #if defined(CRAY) && ! defined(CRAY2)
16041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16042 $EGREP "webecray" >/dev
/null
2>&1; then
16050 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
16051 echo "${ECHO_T}$ac_cv_os_cray" >&6
16052 if test $ac_cv_os_cray = yes; then
16053 for ac_func
in _getb67 GETB67 getb67
; do
16054 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16055 echo "$as_me:$LINENO: checking for $ac_func" >&5
16056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16057 if eval "test \"\${$as_ac_var+set}\" = set"; then
16058 echo $ECHO_N "(cached) $ECHO_C" >&6
16060 cat >conftest.
$ac_ext <<_ACEOF
16063 cat confdefs.h
>>conftest.
$ac_ext
16064 cat >>conftest.
$ac_ext <<_ACEOF
16065 /* end confdefs.h. */
16066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16068 #define $ac_func innocuous_$ac_func
16070 /* System header to define __stub macros and hopefully few prototypes,
16071 which can conflict with char $ac_func (); below.
16072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16073 <limits.h> exists even on freestanding compilers. */
16076 # include <limits.h>
16078 # include <assert.h>
16083 /* Override any gcc2 internal prototype to avoid an error. */
16088 /* We use char because int might match the return type of a gcc2
16089 builtin and then its argument prototype would still apply. */
16091 /* The GNU C library defines this for functions which it implements
16092 to always fail with ENOSYS. Some functions are actually named
16093 something starting with __ and the normal name is an alias. */
16094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16097 char (*f) () = $ac_func;
16106 return f != $ac_func;
16111 rm -f conftest.
$ac_objext conftest
$ac_exeext
16112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16113 (eval $ac_link) 2>conftest.er1
16115 grep -v '^ *+' conftest.er1
>conftest.err
16117 cat conftest.err
>&5
16118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16119 (exit $ac_status); } &&
16120 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16122 (eval $ac_try) 2>&5
16124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 (exit $ac_status); }; } &&
16126 { ac_try
='test -s conftest$ac_exeext'
16127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16128 (eval $ac_try) 2>&5
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 (exit $ac_status); }; }; then
16132 eval "$as_ac_var=yes"
16134 echo "$as_me: failed program was:" >&5
16135 sed 's/^/| /' conftest.
$ac_ext >&5
16137 eval "$as_ac_var=no"
16139 rm -f conftest.err conftest.
$ac_objext \
16140 conftest
$ac_exeext conftest.
$ac_ext
16142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16144 if test `eval echo '${'$as_ac_var'}'` = yes; then
16146 cat >>confdefs.h
<<_ACEOF
16147 #define CRAY_STACKSEG_END $ac_func
16156 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16157 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
16158 if test "${ac_cv_c_stack_direction+set}" = set; then
16159 echo $ECHO_N "(cached) $ECHO_C" >&6
16161 if test "$cross_compiling" = yes; then
16162 ac_cv_c_stack_direction
=0
16164 cat >conftest.
$ac_ext <<_ACEOF
16167 cat confdefs.h
>>conftest.
$ac_ext
16168 cat >>conftest.
$ac_ext <<_ACEOF
16169 /* end confdefs.h. */
16171 find_stack_direction ()
16173 static char *addr = 0;
16178 return find_stack_direction ();
16181 return (&dummy > addr) ? 1 : -1;
16187 exit (find_stack_direction () < 0);
16190 rm -f conftest
$ac_exeext
16191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16192 (eval $ac_link) 2>&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16197 (eval $ac_try) 2>&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); }; }; then
16201 ac_cv_c_stack_direction
=1
16203 echo "$as_me: program exited with status $ac_status" >&5
16204 echo "$as_me: failed program was:" >&5
16205 sed 's/^/| /' conftest.
$ac_ext >&5
16207 ( exit $ac_status )
16208 ac_cv_c_stack_direction
=-1
16210 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16213 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16214 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16216 cat >>confdefs.h
<<_ACEOF
16217 #define STACK_DIRECTION $ac_cv_c_stack_direction
16340 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16341 echo "$as_me:$LINENO: checking for $ac_func" >&5
16342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16343 if eval "test \"\${$as_ac_var+set}\" = set"; then
16344 echo $ECHO_N "(cached) $ECHO_C" >&6
16346 cat >conftest.
$ac_ext <<_ACEOF
16349 cat confdefs.h
>>conftest.
$ac_ext
16350 cat >>conftest.
$ac_ext <<_ACEOF
16351 /* end confdefs.h. */
16352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16354 #define $ac_func innocuous_$ac_func
16356 /* System header to define __stub macros and hopefully few prototypes,
16357 which can conflict with char $ac_func (); below.
16358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16359 <limits.h> exists even on freestanding compilers. */
16362 # include <limits.h>
16364 # include <assert.h>
16369 /* Override any gcc2 internal prototype to avoid an error. */
16374 /* We use char because int might match the return type of a gcc2
16375 builtin and then its argument prototype would still apply. */
16377 /* The GNU C library defines this for functions which it implements
16378 to always fail with ENOSYS. Some functions are actually named
16379 something starting with __ and the normal name is an alias. */
16380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16383 char (*f) () = $ac_func;
16392 return f != $ac_func;
16397 rm -f conftest.
$ac_objext conftest
$ac_exeext
16398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16399 (eval $ac_link) 2>conftest.er1
16401 grep -v '^ *+' conftest.er1
>conftest.err
16403 cat conftest.err
>&5
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); } &&
16406 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16408 (eval $ac_try) 2>&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); }; } &&
16412 { ac_try
='test -s conftest$ac_exeext'
16413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414 (eval $ac_try) 2>&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }; }; then
16418 eval "$as_ac_var=yes"
16420 echo "$as_me: failed program was:" >&5
16421 sed 's/^/| /' conftest.
$ac_ext >&5
16423 eval "$as_ac_var=no"
16425 rm -f conftest.err conftest.
$ac_objext \
16426 conftest
$ac_exeext conftest.
$ac_ext
16428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16430 if test `eval echo '${'$as_ac_var'}'` = yes; then
16431 cat >>confdefs.h
<<_ACEOF
16432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16535 fontconfig
/fontconfig.h \
16559 netinet
/in_systm.h \
16561 netinet
/tcp_fsm.h \
16571 scsi
/scsi_ioctl.h \
16616 valgrind
/memcheck.h
16619 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16621 echo "$as_me:$LINENO: checking for $ac_header" >&5
16622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16624 echo $ECHO_N "(cached) $ECHO_C" >&6
16626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16629 # Is the header compilable?
16630 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16631 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16632 cat >conftest.
$ac_ext <<_ACEOF
16635 cat confdefs.h
>>conftest.
$ac_ext
16636 cat >>conftest.
$ac_ext <<_ACEOF
16637 /* end confdefs.h. */
16638 $ac_includes_default
16639 #include <$ac_header>
16641 rm -f conftest.
$ac_objext
16642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16643 (eval $ac_compile) 2>conftest.er1
16645 grep -v '^ *+' conftest.er1
>conftest.err
16647 cat conftest.err
>&5
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); } &&
16650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16652 (eval $ac_try) 2>&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); }; } &&
16656 { ac_try
='test -s conftest.$ac_objext'
16657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16658 (eval $ac_try) 2>&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); }; }; then
16662 ac_header_compiler
=yes
16664 echo "$as_me: failed program was:" >&5
16665 sed 's/^/| /' conftest.
$ac_ext >&5
16667 ac_header_compiler
=no
16669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16670 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16671 echo "${ECHO_T}$ac_header_compiler" >&6
16673 # Is the header present?
16674 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16675 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16676 cat >conftest.
$ac_ext <<_ACEOF
16679 cat confdefs.h
>>conftest.
$ac_ext
16680 cat >>conftest.
$ac_ext <<_ACEOF
16681 /* end confdefs.h. */
16682 #include <$ac_header>
16684 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16685 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16687 grep -v '^ *+' conftest.er1
>conftest.err
16689 cat conftest.err
>&5
16690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16691 (exit $ac_status); } >/dev
/null
; then
16692 if test -s conftest.err
; then
16693 ac_cpp_err
=$ac_c_preproc_warn_flag
16694 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16701 if test -z "$ac_cpp_err"; then
16702 ac_header_preproc
=yes
16704 echo "$as_me: failed program was:" >&5
16705 sed 's/^/| /' conftest.
$ac_ext >&5
16707 ac_header_preproc
=no
16709 rm -f conftest.err conftest.
$ac_ext
16710 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16711 echo "${ECHO_T}$ac_header_preproc" >&6
16713 # So? What about this header?
16714 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16716 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16717 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16719 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16720 ac_header_preproc
=yes
16723 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16724 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16725 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16726 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16727 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16728 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16729 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16730 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16732 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16733 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16734 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16737 ## ------------------------------------ ##
16738 ## Report this to wine-devel@winehq.org ##
16739 ## ------------------------------------ ##
16742 sed "s/^/$as_me: WARNING: /" >&2
16745 echo "$as_me:$LINENO: checking for $ac_header" >&5
16746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16748 echo $ECHO_N "(cached) $ECHO_C" >&6
16750 eval "$as_ac_Header=\$ac_header_preproc"
16752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16753 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16756 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16757 cat >>confdefs.h
<<_ACEOF
16758 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16765 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
16766 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
16767 if test "${ac_cv_header_stat_broken+set}" = set; then
16768 echo $ECHO_N "(cached) $ECHO_C" >&6
16770 cat >conftest.
$ac_ext <<_ACEOF
16773 cat confdefs.h
>>conftest.
$ac_ext
16774 cat >>conftest.
$ac_ext <<_ACEOF
16775 /* end confdefs.h. */
16776 #include <sys/types.h>
16777 #include <sys/stat.h>
16779 #if defined(S_ISBLK) && defined(S_IFDIR)
16780 # if S_ISBLK (S_IFDIR)
16785 #if defined(S_ISBLK) && defined(S_IFCHR)
16786 # if S_ISBLK (S_IFCHR)
16791 #if defined(S_ISLNK) && defined(S_IFREG)
16792 # if S_ISLNK (S_IFREG)
16797 #if defined(S_ISSOCK) && defined(S_IFREG)
16798 # if S_ISSOCK (S_IFREG)
16804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16805 $EGREP "You lose" >/dev
/null
2>&1; then
16806 ac_cv_header_stat_broken
=yes
16808 ac_cv_header_stat_broken
=no
16813 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
16814 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
16815 if test $ac_cv_header_stat_broken = yes; then
16817 cat >>confdefs.h
<<\_ACEOF
16818 #define STAT_MACROS_BROKEN 1
16827 for ac_header
in sys
/mount.h sys
/user.h
16829 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16830 echo "$as_me:$LINENO: checking for $ac_header" >&5
16831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16833 echo $ECHO_N "(cached) $ECHO_C" >&6
16835 cat >conftest.
$ac_ext <<_ACEOF
16838 cat confdefs.h
>>conftest.
$ac_ext
16839 cat >>conftest.
$ac_ext <<_ACEOF
16840 /* end confdefs.h. */
16841 #include <sys/types.h>
16842 #if HAVE_SYS_PARAM_H
16843 # include <sys/param.h>
16846 #include <$ac_header>
16848 rm -f conftest.
$ac_objext
16849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16850 (eval $ac_compile) 2>conftest.er1
16852 grep -v '^ *+' conftest.er1
>conftest.err
16854 cat conftest.err
>&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); } &&
16857 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16859 (eval $ac_try) 2>&5
16861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16862 (exit $ac_status); }; } &&
16863 { ac_try
='test -s conftest.$ac_objext'
16864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16865 (eval $ac_try) 2>&5
16867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16868 (exit $ac_status); }; }; then
16869 eval "$as_ac_Header=yes"
16871 echo "$as_me: failed program was:" >&5
16872 sed 's/^/| /' conftest.
$ac_ext >&5
16874 eval "$as_ac_Header=no"
16876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16881 cat >>confdefs.h
<<_ACEOF
16882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16895 for ac_header
in net
/if.h net
/if_arp.h net
/if_dl.h net
/if_types.h net
/route.h
16897 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16898 echo "$as_me:$LINENO: checking for $ac_header" >&5
16899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16901 echo $ECHO_N "(cached) $ECHO_C" >&6
16903 cat >conftest.
$ac_ext <<_ACEOF
16906 cat confdefs.h
>>conftest.
$ac_ext
16907 cat >>conftest.
$ac_ext <<_ACEOF
16908 /* end confdefs.h. */
16909 #include <sys/types.h>
16910 #if HAVE_SYS_SOCKET_H
16911 # include <sys/socket.h>
16914 #include <$ac_header>
16916 rm -f conftest.
$ac_objext
16917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16918 (eval $ac_compile) 2>conftest.er1
16920 grep -v '^ *+' conftest.er1
>conftest.err
16922 cat conftest.err
>&5
16923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924 (exit $ac_status); } &&
16925 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16927 (eval $ac_try) 2>&5
16929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); }; } &&
16931 { ac_try
='test -s conftest.$ac_objext'
16932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16933 (eval $ac_try) 2>&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); }; }; then
16937 eval "$as_ac_Header=yes"
16939 echo "$as_me: failed program was:" >&5
16940 sed 's/^/| /' conftest.
$ac_ext >&5
16942 eval "$as_ac_Header=no"
16944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16948 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16949 cat >>confdefs.h
<<_ACEOF
16950 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16959 for ac_header
in resolv.h
16961 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16962 echo "$as_me:$LINENO: checking for $ac_header" >&5
16963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16965 echo $ECHO_N "(cached) $ECHO_C" >&6
16967 cat >conftest.
$ac_ext <<_ACEOF
16970 cat confdefs.h
>>conftest.
$ac_ext
16971 cat >>conftest.
$ac_ext <<_ACEOF
16972 /* end confdefs.h. */
16973 #include <sys/types.h>
16974 #if HAVE_SYS_SOCKET_H
16975 # include <sys/socket.h>
16977 #if HAVE_NETINET_IN_H
16978 # include <netinet/in.h>
16980 #if HAVE_ARPA_NAMESER_H
16981 # include <arpa/nameser.h>
16984 #include <$ac_header>
16986 rm -f conftest.
$ac_objext
16987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16988 (eval $ac_compile) 2>conftest.er1
16990 grep -v '^ *+' conftest.er1
>conftest.err
16992 cat conftest.err
>&5
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); } &&
16995 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16997 (eval $ac_try) 2>&5
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); }; } &&
17001 { ac_try
='test -s conftest.$ac_objext'
17002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003 (eval $ac_try) 2>&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); }; }; then
17007 eval "$as_ac_Header=yes"
17009 echo "$as_me: failed program was:" >&5
17010 sed 's/^/| /' conftest.
$ac_ext >&5
17012 eval "$as_ac_Header=no"
17014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17019 cat >>confdefs.h
<<_ACEOF
17020 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17029 for ac_header
in netinet
/ip.h
17031 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17032 echo "$as_me:$LINENO: checking for $ac_header" >&5
17033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17035 echo $ECHO_N "(cached) $ECHO_C" >&6
17037 cat >conftest.
$ac_ext <<_ACEOF
17040 cat confdefs.h
>>conftest.
$ac_ext
17041 cat >>conftest.
$ac_ext <<_ACEOF
17042 /* end confdefs.h. */
17043 #include <sys/types.h>
17044 #if HAVE_SYS_SOCKET_H
17045 # include <sys/socket.h>
17047 #if HAVE_NETINET_IN_SYSTM_H
17048 # include <netinet/in_systm.h>
17051 #include <$ac_header>
17053 rm -f conftest.
$ac_objext
17054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17055 (eval $ac_compile) 2>conftest.er1
17057 grep -v '^ *+' conftest.er1
>conftest.err
17059 cat conftest.err
>&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); } &&
17062 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17064 (eval $ac_try) 2>&5
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); }; } &&
17068 { ac_try
='test -s conftest.$ac_objext'
17069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17070 (eval $ac_try) 2>&5
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); }; }; then
17074 eval "$as_ac_Header=yes"
17076 echo "$as_me: failed program was:" >&5
17077 sed 's/^/| /' conftest.
$ac_ext >&5
17079 eval "$as_ac_Header=no"
17081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17084 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17085 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17086 cat >>confdefs.h
<<_ACEOF
17087 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17096 for ac_header
in ucontext.h
17098 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17099 echo "$as_me:$LINENO: checking for $ac_header" >&5
17100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17102 echo $ECHO_N "(cached) $ECHO_C" >&6
17104 cat >conftest.
$ac_ext <<_ACEOF
17107 cat confdefs.h
>>conftest.
$ac_ext
17108 cat >>conftest.
$ac_ext <<_ACEOF
17109 /* end confdefs.h. */
17110 #include <signal.h>
17112 #include <$ac_header>
17114 rm -f conftest.
$ac_objext
17115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17116 (eval $ac_compile) 2>conftest.er1
17118 grep -v '^ *+' conftest.er1
>conftest.err
17120 cat conftest.err
>&5
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); } &&
17123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17125 (eval $ac_try) 2>&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); }; } &&
17129 { ac_try
='test -s conftest.$ac_objext'
17130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17131 (eval $ac_try) 2>&5
17133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134 (exit $ac_status); }; }; then
17135 eval "$as_ac_Header=yes"
17137 echo "$as_me: failed program was:" >&5
17138 sed 's/^/| /' conftest.
$ac_ext >&5
17140 eval "$as_ac_Header=no"
17142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17146 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17147 cat >>confdefs.h
<<_ACEOF
17148 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17157 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
17158 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
17159 if test "${ac_cv_c_ipx_gnu+set}" = set; then
17160 echo $ECHO_N "(cached) $ECHO_C" >&6
17162 cat >conftest.
$ac_ext <<_ACEOF
17165 cat confdefs.h
>>conftest.
$ac_ext
17166 cat >>conftest.
$ac_ext <<_ACEOF
17167 /* end confdefs.h. */
17168 #include <sys/types.h>
17169 #ifdef HAVE_SYS_SOCKET_H
17170 # include <sys/socket.h>
17172 #include <netipx/ipx.h>
17176 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
17181 rm -f conftest.
$ac_objext
17182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17183 (eval $ac_compile) 2>conftest.er1
17185 grep -v '^ *+' conftest.er1
>conftest.err
17187 cat conftest.err
>&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } &&
17190 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17192 (eval $ac_try) 2>&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); }; } &&
17196 { ac_try
='test -s conftest.$ac_objext'
17197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17198 (eval $ac_try) 2>&5
17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201 (exit $ac_status); }; }; then
17202 ac_cv_c_ipx_gnu
="yes"
17204 echo "$as_me: failed program was:" >&5
17205 sed 's/^/| /' conftest.
$ac_ext >&5
17207 ac_cv_c_ipx_gnu
="no"
17209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17212 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
17213 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
17214 if test "$ac_cv_c_ipx_gnu" = "yes"
17217 cat >>confdefs.h
<<\_ACEOF
17218 #define HAVE_IPX_GNU 1
17223 if test "$ac_cv_c_ipx_gnu" = "no"
17225 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
17226 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
17227 if test "${ac_cv_c_ipx_linux+set}" = set; then
17228 echo $ECHO_N "(cached) $ECHO_C" >&6
17230 cat >conftest.
$ac_ext <<_ACEOF
17233 cat confdefs.h
>>conftest.
$ac_ext
17234 cat >>conftest.
$ac_ext <<_ACEOF
17235 /* end confdefs.h. */
17236 #include <sys/types.h>
17237 #ifdef HAVE_SYS_SOCKET_H
17238 # include <sys/socket.h>
17240 #include <asm/types.h>
17241 #include <linux/ipx.h>
17245 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
17250 rm -f conftest.
$ac_objext
17251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17252 (eval $ac_compile) 2>conftest.er1
17254 grep -v '^ *+' conftest.er1
>conftest.err
17256 cat conftest.err
>&5
17257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17258 (exit $ac_status); } &&
17259 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17261 (eval $ac_try) 2>&5
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); }; } &&
17265 { ac_try
='test -s conftest.$ac_objext'
17266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17267 (eval $ac_try) 2>&5
17269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17270 (exit $ac_status); }; }; then
17271 ac_cv_c_ipx_linux
="yes"
17273 echo "$as_me: failed program was:" >&5
17274 sed 's/^/| /' conftest.
$ac_ext >&5
17276 ac_cv_c_ipx_linux
="no"
17278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17281 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
17282 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
17283 if test "$ac_cv_c_ipx_linux" = "yes"
17286 cat >>confdefs.h
<<\_ACEOF
17287 #define HAVE_IPX_LINUX 1
17294 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17295 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17296 if test "${ac_cv_c_const+set}" = set; then
17297 echo $ECHO_N "(cached) $ECHO_C" >&6
17299 cat >conftest.
$ac_ext <<_ACEOF
17302 cat confdefs.h
>>conftest.
$ac_ext
17303 cat >>conftest.
$ac_ext <<_ACEOF
17304 /* end confdefs.h. */
17309 /* FIXME: Include the comments suggested by Paul. */
17310 #ifndef __cplusplus
17311 /* Ultrix mips cc rejects this. */
17312 typedef int charset[2];
17314 /* SunOS 4.1.1 cc rejects this. */
17315 char const *const *ccp;
17317 /* NEC SVR4.0.2 mips cc rejects this. */
17318 struct point {int x, y;};
17319 static struct point const zero = {0,0};
17320 /* AIX XL C 1.02.0.0 rejects this.
17321 It does not let you subtract one const X* pointer from another in
17322 an arm of an if-expression whose if-part is not a constant
17324 const char *g = "string";
17325 ccp = &g + (g ? g-g : 0);
17326 /* HPUX 7.0 cc rejects these. */
17329 ccp = (char const *const *) p;
17330 { /* SCO 3.2v4 cc rejects this. */
17332 char const *s = 0 ? (char *) 0 : (char const *) 0;
17336 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17337 int x[] = {25, 17};
17338 const int *foo = &x[0];
17341 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17342 typedef const int *iptr;
17346 { /* AIX XL C 1.02.0.0 rejects this saying
17347 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17348 struct s { int j; const int *ap[3]; };
17349 struct s *b; b->j = 5;
17351 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17352 const int foo = 10;
17360 rm -f conftest.
$ac_objext
17361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17362 (eval $ac_compile) 2>conftest.er1
17364 grep -v '^ *+' conftest.er1
>conftest.err
17366 cat conftest.err
>&5
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); } &&
17369 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17371 (eval $ac_try) 2>&5
17373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17374 (exit $ac_status); }; } &&
17375 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17383 echo "$as_me: failed program was:" >&5
17384 sed 's/^/| /' conftest.
$ac_ext >&5
17388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17390 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17391 echo "${ECHO_T}$ac_cv_c_const" >&6
17392 if test $ac_cv_c_const = no
; then
17394 cat >>confdefs.h
<<\_ACEOF
17400 echo "$as_me:$LINENO: checking for inline" >&5
17401 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17402 if test "${ac_cv_c_inline+set}" = set; then
17403 echo $ECHO_N "(cached) $ECHO_C" >&6
17406 for ac_kw
in inline __inline__ __inline
; do
17407 cat >conftest.
$ac_ext <<_ACEOF
17410 cat confdefs.h
>>conftest.
$ac_ext
17411 cat >>conftest.
$ac_ext <<_ACEOF
17412 /* end confdefs.h. */
17413 #ifndef __cplusplus
17415 static $ac_kw foo_t static_foo () {return 0; }
17416 $ac_kw foo_t foo () {return 0; }
17420 rm -f conftest.
$ac_objext
17421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17422 (eval $ac_compile) 2>conftest.er1
17424 grep -v '^ *+' conftest.er1
>conftest.err
17426 cat conftest.err
>&5
17427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17428 (exit $ac_status); } &&
17429 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17431 (eval $ac_try) 2>&5
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); }; } &&
17435 { ac_try
='test -s conftest.$ac_objext'
17436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17437 (eval $ac_try) 2>&5
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); }; }; then
17441 ac_cv_c_inline
=$ac_kw; break
17443 echo "$as_me: failed program was:" >&5
17444 sed 's/^/| /' conftest.
$ac_ext >&5
17447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17451 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17452 echo "${ECHO_T}$ac_cv_c_inline" >&6
17455 case $ac_cv_c_inline in
17458 case $ac_cv_c_inline in
17460 *) ac_val
=$ac_cv_c_inline;;
17462 cat >>confdefs.h
<<_ACEOF
17463 #ifndef __cplusplus
17464 #define inline $ac_val
17470 echo "$as_me:$LINENO: checking for mode_t" >&5
17471 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
17472 if test "${ac_cv_type_mode_t+set}" = set; then
17473 echo $ECHO_N "(cached) $ECHO_C" >&6
17475 cat >conftest.
$ac_ext <<_ACEOF
17478 cat confdefs.h
>>conftest.
$ac_ext
17479 cat >>conftest.
$ac_ext <<_ACEOF
17480 /* end confdefs.h. */
17481 $ac_includes_default
17487 if (sizeof (mode_t))
17493 rm -f conftest.
$ac_objext
17494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17495 (eval $ac_compile) 2>conftest.er1
17497 grep -v '^ *+' conftest.er1
>conftest.err
17499 cat conftest.err
>&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } &&
17502 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17504 (eval $ac_try) 2>&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; } &&
17508 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17514 ac_cv_type_mode_t
=yes
17516 echo "$as_me: failed program was:" >&5
17517 sed 's/^/| /' conftest.
$ac_ext >&5
17519 ac_cv_type_mode_t
=no
17521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17523 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17524 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
17525 if test $ac_cv_type_mode_t = yes; then
17527 cat >>confdefs.h
<<_ACEOF
17528 #define HAVE_MODE_T 1
17533 echo "$as_me:$LINENO: checking for off_t" >&5
17534 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
17535 if test "${ac_cv_type_off_t+set}" = set; then
17536 echo $ECHO_N "(cached) $ECHO_C" >&6
17538 cat >conftest.
$ac_ext <<_ACEOF
17541 cat confdefs.h
>>conftest.
$ac_ext
17542 cat >>conftest.
$ac_ext <<_ACEOF
17543 /* end confdefs.h. */
17544 $ac_includes_default
17550 if (sizeof (off_t))
17556 rm -f conftest.
$ac_objext
17557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17558 (eval $ac_compile) 2>conftest.er1
17560 grep -v '^ *+' conftest.er1
>conftest.err
17562 cat conftest.err
>&5
17563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17564 (exit $ac_status); } &&
17565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17567 (eval $ac_try) 2>&5
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); }; } &&
17571 { ac_try
='test -s conftest.$ac_objext'
17572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17573 (eval $ac_try) 2>&5
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); }; }; then
17577 ac_cv_type_off_t
=yes
17579 echo "$as_me: failed program was:" >&5
17580 sed 's/^/| /' conftest.
$ac_ext >&5
17582 ac_cv_type_off_t
=no
17584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17586 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17587 echo "${ECHO_T}$ac_cv_type_off_t" >&6
17588 if test $ac_cv_type_off_t = yes; then
17590 cat >>confdefs.h
<<_ACEOF
17591 #define HAVE_OFF_T 1
17596 echo "$as_me:$LINENO: checking for pid_t" >&5
17597 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17598 if test "${ac_cv_type_pid_t+set}" = set; then
17599 echo $ECHO_N "(cached) $ECHO_C" >&6
17601 cat >conftest.
$ac_ext <<_ACEOF
17604 cat confdefs.h
>>conftest.
$ac_ext
17605 cat >>conftest.
$ac_ext <<_ACEOF
17606 /* end confdefs.h. */
17607 $ac_includes_default
17613 if (sizeof (pid_t))
17619 rm -f conftest.
$ac_objext
17620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17621 (eval $ac_compile) 2>conftest.er1
17623 grep -v '^ *+' conftest.er1
>conftest.err
17625 cat conftest.err
>&5
17626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17627 (exit $ac_status); } &&
17628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17630 (eval $ac_try) 2>&5
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); }; } &&
17634 { ac_try
='test -s conftest.$ac_objext'
17635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17636 (eval $ac_try) 2>&5
17638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639 (exit $ac_status); }; }; then
17640 ac_cv_type_pid_t
=yes
17642 echo "$as_me: failed program was:" >&5
17643 sed 's/^/| /' conftest.
$ac_ext >&5
17645 ac_cv_type_pid_t
=no
17647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17649 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17650 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
17651 if test $ac_cv_type_pid_t = yes; then
17653 cat >>confdefs.h
<<_ACEOF
17654 #define HAVE_PID_T 1
17659 echo "$as_me:$LINENO: checking for size_t" >&5
17660 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17661 if test "${ac_cv_type_size_t+set}" = set; then
17662 echo $ECHO_N "(cached) $ECHO_C" >&6
17664 cat >conftest.
$ac_ext <<_ACEOF
17667 cat confdefs.h
>>conftest.
$ac_ext
17668 cat >>conftest.
$ac_ext <<_ACEOF
17669 /* end confdefs.h. */
17670 $ac_includes_default
17676 if (sizeof (size_t))
17682 rm -f conftest.
$ac_objext
17683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17684 (eval $ac_compile) 2>conftest.er1
17686 grep -v '^ *+' conftest.er1
>conftest.err
17688 cat conftest.err
>&5
17689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17690 (exit $ac_status); } &&
17691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17693 (eval $ac_try) 2>&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); }; } &&
17697 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17703 ac_cv_type_size_t
=yes
17705 echo "$as_me: failed program was:" >&5
17706 sed 's/^/| /' conftest.
$ac_ext >&5
17708 ac_cv_type_size_t
=no
17710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17712 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17713 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17714 if test $ac_cv_type_size_t = yes; then
17716 cat >>confdefs.h
<<_ACEOF
17717 #define HAVE_SIZE_T 1
17722 echo "$as_me:$LINENO: checking for ssize_t" >&5
17723 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17724 if test "${ac_cv_type_ssize_t+set}" = set; then
17725 echo $ECHO_N "(cached) $ECHO_C" >&6
17727 cat >conftest.
$ac_ext <<_ACEOF
17730 cat confdefs.h
>>conftest.
$ac_ext
17731 cat >>conftest.
$ac_ext <<_ACEOF
17732 /* end confdefs.h. */
17733 $ac_includes_default
17739 if (sizeof (ssize_t))
17745 rm -f conftest.
$ac_objext
17746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17747 (eval $ac_compile) 2>conftest.er1
17749 grep -v '^ *+' conftest.er1
>conftest.err
17751 cat conftest.err
>&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); } &&
17754 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17756 (eval $ac_try) 2>&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); }; } &&
17760 { ac_try
='test -s conftest.$ac_objext'
17761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17762 (eval $ac_try) 2>&5
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); }; }; then
17766 ac_cv_type_ssize_t
=yes
17768 echo "$as_me: failed program was:" >&5
17769 sed 's/^/| /' conftest.
$ac_ext >&5
17771 ac_cv_type_ssize_t
=no
17773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17775 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17776 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
17777 if test $ac_cv_type_ssize_t = yes; then
17779 cat >>confdefs.h
<<_ACEOF
17780 #define HAVE_SSIZE_T 1
17785 echo "$as_me:$LINENO: checking for long long" >&5
17786 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17787 if test "${ac_cv_type_long_long+set}" = set; then
17788 echo $ECHO_N "(cached) $ECHO_C" >&6
17790 cat >conftest.
$ac_ext <<_ACEOF
17793 cat confdefs.h
>>conftest.
$ac_ext
17794 cat >>conftest.
$ac_ext <<_ACEOF
17795 /* end confdefs.h. */
17796 $ac_includes_default
17800 if ((long long *) 0)
17802 if (sizeof (long long))
17808 rm -f conftest.
$ac_objext
17809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17810 (eval $ac_compile) 2>conftest.er1
17812 grep -v '^ *+' conftest.er1
>conftest.err
17814 cat conftest.err
>&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); } &&
17817 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17819 (eval $ac_try) 2>&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); }; } &&
17823 { ac_try
='test -s conftest.$ac_objext'
17824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17825 (eval $ac_try) 2>&5
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); }; }; then
17829 ac_cv_type_long_long
=yes
17831 echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.
$ac_ext >&5
17834 ac_cv_type_long_long
=no
17836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17838 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17839 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17840 if test $ac_cv_type_long_long = yes; then
17842 cat >>confdefs.h
<<_ACEOF
17843 #define HAVE_LONG_LONG 1
17848 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17849 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
17850 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17851 echo $ECHO_N "(cached) $ECHO_C" >&6
17853 cat >conftest.
$ac_ext <<_ACEOF
17856 cat confdefs.h
>>conftest.
$ac_ext
17857 cat >>conftest.
$ac_ext <<_ACEOF
17858 /* end confdefs.h. */
17859 $ac_includes_default
17863 if ((fsblkcnt_t *) 0)
17865 if (sizeof (fsblkcnt_t))
17871 rm -f conftest.
$ac_objext
17872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17873 (eval $ac_compile) 2>conftest.er1
17875 grep -v '^ *+' conftest.er1
>conftest.err
17877 cat conftest.err
>&5
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); } &&
17880 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17882 (eval $ac_try) 2>&5
17884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885 (exit $ac_status); }; } &&
17886 { ac_try
='test -s conftest.$ac_objext'
17887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17888 (eval $ac_try) 2>&5
17890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17891 (exit $ac_status); }; }; then
17892 ac_cv_type_fsblkcnt_t
=yes
17894 echo "$as_me: failed program was:" >&5
17895 sed 's/^/| /' conftest.
$ac_ext >&5
17897 ac_cv_type_fsblkcnt_t
=no
17899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17901 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17902 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
17903 if test $ac_cv_type_fsblkcnt_t = yes; then
17905 cat >>confdefs.h
<<_ACEOF
17906 #define HAVE_FSBLKCNT_T 1
17911 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17912 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
17913 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17914 echo $ECHO_N "(cached) $ECHO_C" >&6
17916 cat >conftest.
$ac_ext <<_ACEOF
17919 cat confdefs.h
>>conftest.
$ac_ext
17920 cat >>conftest.
$ac_ext <<_ACEOF
17921 /* end confdefs.h. */
17922 $ac_includes_default
17926 if ((fsfilcnt_t *) 0)
17928 if (sizeof (fsfilcnt_t))
17934 rm -f conftest.
$ac_objext
17935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17936 (eval $ac_compile) 2>conftest.er1
17938 grep -v '^ *+' conftest.er1
>conftest.err
17940 cat conftest.err
>&5
17941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942 (exit $ac_status); } &&
17943 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17945 (eval $ac_try) 2>&5
17947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17948 (exit $ac_status); }; } &&
17949 { ac_try
='test -s conftest.$ac_objext'
17950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17951 (eval $ac_try) 2>&5
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); }; }; then
17955 ac_cv_type_fsfilcnt_t
=yes
17957 echo "$as_me: failed program was:" >&5
17958 sed 's/^/| /' conftest.
$ac_ext >&5
17960 ac_cv_type_fsfilcnt_t
=no
17962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17964 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17965 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
17966 if test $ac_cv_type_fsfilcnt_t = yes; then
17968 cat >>confdefs.h
<<_ACEOF
17969 #define HAVE_FSFILCNT_T 1
17976 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17977 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17978 if test "${wine_cv_linux_input_h+set}" = set; then
17979 echo $ECHO_N "(cached) $ECHO_C" >&6
17981 cat >conftest.
$ac_ext <<_ACEOF
17984 cat confdefs.h
>>conftest.
$ac_ext
17985 cat >>conftest.
$ac_ext <<_ACEOF
17986 /* end confdefs.h. */
17988 #include <linux/input.h>
17994 int foo = EVIOCGBIT(EV_ABS,42);
17995 int bar = BTN_PINKIE;
18002 rm -f conftest.
$ac_objext
18003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18004 (eval $ac_compile) 2>conftest.er1
18006 grep -v '^ *+' conftest.er1
>conftest.err
18008 cat conftest.err
>&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); } &&
18011 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18013 (eval $ac_try) 2>&5
18015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016 (exit $ac_status); }; } &&
18017 { ac_try
='test -s conftest.$ac_objext'
18018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18019 (eval $ac_try) 2>&5
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); }; }; then
18023 wine_cv_linux_input_h
=yes
18025 echo "$as_me: failed program was:" >&5
18026 sed 's/^/| /' conftest.
$ac_ext >&5
18028 wine_cv_linux_input_h
=no
18030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18033 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
18034 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
18035 if test "$wine_cv_linux_input_h" = "yes"
18038 cat >>confdefs.h
<<\_ACEOF
18039 #define HAVE_CORRECT_LINUXINPUT_H 1
18045 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18046 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
18047 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18048 echo $ECHO_N "(cached) $ECHO_C" >&6
18050 cat >conftest.
$ac_ext <<_ACEOF
18053 cat confdefs.h
>>conftest.
$ac_ext
18054 cat >>conftest.
$ac_ext <<_ACEOF
18055 /* end confdefs.h. */
18065 struct hostent *result;
18072 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18073 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18079 rm -f conftest.
$ac_objext conftest
$ac_exeext
18080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18081 (eval $ac_link) 2>conftest.er1
18083 grep -v '^ *+' conftest.er1
>conftest.err
18085 cat conftest.err
>&5
18086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18087 (exit $ac_status); } &&
18088 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18090 (eval $ac_try) 2>&5
18092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18093 (exit $ac_status); }; } &&
18094 { ac_try
='test -s conftest$ac_exeext'
18095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18096 (eval $ac_try) 2>&5
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); }; }; then
18100 wine_cv_linux_gethostbyname_r_6
=yes
18102 echo "$as_me: failed program was:" >&5
18103 sed 's/^/| /' conftest.
$ac_ext >&5
18105 wine_cv_linux_gethostbyname_r_6
=no
18108 rm -f conftest.err conftest.
$ac_objext \
18109 conftest
$ac_exeext conftest.
$ac_ext
18112 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18113 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
18114 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18117 cat >>confdefs.h
<<\_ACEOF
18118 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18123 if test "$ac_cv_header_linux_joystick_h" = "yes"
18125 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18126 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
18127 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18128 echo $ECHO_N "(cached) $ECHO_C" >&6
18130 cat >conftest.
$ac_ext <<_ACEOF
18133 cat confdefs.h
>>conftest.
$ac_ext
18134 cat >>conftest.
$ac_ext <<_ACEOF
18135 /* end confdefs.h. */
18137 #include <sys/ioctl.h>
18138 #include <linux/joystick.h>
18140 struct js_event blub;
18141 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18142 #error "no 2.2 header"
18153 rm -f conftest.
$ac_objext
18154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18155 (eval $ac_compile) 2>conftest.er1
18157 grep -v '^ *+' conftest.er1
>conftest.err
18159 cat conftest.err
>&5
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); } &&
18162 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18164 (eval $ac_try) 2>&5
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); }; } &&
18168 { ac_try
='test -s conftest.$ac_objext'
18169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18170 (eval $ac_try) 2>&5
18172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173 (exit $ac_status); }; }; then
18174 wine_cv_linux_joystick_22_api
=yes
18176 echo "$as_me: failed program was:" >&5
18177 sed 's/^/| /' conftest.
$ac_ext >&5
18179 wine_cv_linux_joystick_22_api
=no
18181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18184 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18185 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
18186 if test "$wine_cv_linux_joystick_22_api" = "yes"
18189 cat >>confdefs.h
<<\_ACEOF
18190 #define HAVE_LINUX_22_JOYSTICK_API 1
18197 if test "$ac_cv_header_sys_vfs_h" = "yes"
18199 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
18200 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
18201 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
18202 echo $ECHO_N "(cached) $ECHO_C" >&6
18204 cat >conftest.
$ac_ext <<_ACEOF
18207 cat confdefs.h
>>conftest.
$ac_ext
18208 cat >>conftest.
$ac_ext <<_ACEOF
18209 /* end confdefs.h. */
18211 #include <sys/types.h>
18212 #ifdef HAVE_SYS_PARAM_H
18213 # include <sys/param.h>
18215 #include <sys/vfs.h>
18221 struct statfs stfs;
18223 memset(&stfs,0,sizeof(stfs));
18229 rm -f conftest.
$ac_objext
18230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18231 (eval $ac_compile) 2>conftest.er1
18233 grep -v '^ *+' conftest.er1
>conftest.err
18235 cat conftest.err
>&5
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); } &&
18238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18240 (eval $ac_try) 2>&5
18242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18243 (exit $ac_status); }; } &&
18244 { ac_try
='test -s conftest.$ac_objext'
18245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18246 (eval $ac_try) 2>&5
18248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18249 (exit $ac_status); }; }; then
18250 wine_cv_sys_vfs_has_statfs
=yes
18252 echo "$as_me: failed program was:" >&5
18253 sed 's/^/| /' conftest.
$ac_ext >&5
18255 wine_cv_sys_vfs_has_statfs
=no
18258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18261 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
18262 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
18263 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
18266 cat >>confdefs.h
<<\_ACEOF
18267 #define STATFS_DEFINED_BY_SYS_VFS 1
18273 if test "$ac_cv_header_sys_statfs_h" = "yes"
18275 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
18276 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
18277 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
18278 echo $ECHO_N "(cached) $ECHO_C" >&6
18280 cat >conftest.
$ac_ext <<_ACEOF
18283 cat confdefs.h
>>conftest.
$ac_ext
18284 cat >>conftest.
$ac_ext <<_ACEOF
18285 /* end confdefs.h. */
18287 #include <sys/types.h>
18288 #ifdef HAVE_SYS_PARAM_H
18289 # include <sys/param.h>
18291 #include <sys/statfs.h>
18297 struct statfs stfs;
18303 rm -f conftest.
$ac_objext
18304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18305 (eval $ac_compile) 2>conftest.er1
18307 grep -v '^ *+' conftest.er1
>conftest.err
18309 cat conftest.err
>&5
18310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18311 (exit $ac_status); } &&
18312 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18314 (eval $ac_try) 2>&5
18316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18317 (exit $ac_status); }; } &&
18318 { ac_try
='test -s conftest.$ac_objext'
18319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18320 (eval $ac_try) 2>&5
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); }; }; then
18324 wine_cv_sys_statfs_has_statfs
=yes
18326 echo "$as_me: failed program was:" >&5
18327 sed 's/^/| /' conftest.
$ac_ext >&5
18329 wine_cv_sys_statfs_has_statfs
=no
18332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18335 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
18336 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
18337 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
18340 cat >>confdefs.h
<<\_ACEOF
18341 #define STATFS_DEFINED_BY_SYS_STATFS 1
18347 if test "$ac_cv_header_sys_mount_h" = "yes"
18349 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
18350 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
18351 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
18352 echo $ECHO_N "(cached) $ECHO_C" >&6
18354 cat >conftest.
$ac_ext <<_ACEOF
18357 cat confdefs.h
>>conftest.
$ac_ext
18358 cat >>conftest.
$ac_ext <<_ACEOF
18359 /* end confdefs.h. */
18361 #include <sys/types.h>
18362 #ifdef HAVE_SYS_PARAM_H
18363 # include <sys/param.h>
18365 #include <sys/mount.h>
18371 struct statfs stfs;
18377 rm -f conftest.
$ac_objext
18378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18379 (eval $ac_compile) 2>conftest.er1
18381 grep -v '^ *+' conftest.er1
>conftest.err
18383 cat conftest.err
>&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); } &&
18386 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
18392 { ac_try
='test -s conftest.$ac_objext'
18393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18394 (eval $ac_try) 2>&5
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); }; }; then
18398 wine_cv_sys_mount_has_statfs
=yes
18400 echo "$as_me: failed program was:" >&5
18401 sed 's/^/| /' conftest.
$ac_ext >&5
18403 wine_cv_sys_mount_has_statfs
=no
18406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18409 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
18410 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
18411 if test "$wine_cv_sys_mount_has_statfs" = "yes"
18414 cat >>confdefs.h
<<\_ACEOF
18415 #define STATFS_DEFINED_BY_SYS_MOUNT 1
18422 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18423 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
18424 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18425 echo $ECHO_N "(cached) $ECHO_C" >&6
18427 cat >conftest.
$ac_ext <<_ACEOF
18430 cat confdefs.h
>>conftest.
$ac_ext
18431 cat >>conftest.
$ac_ext <<_ACEOF
18432 /* end confdefs.h. */
18433 #include <sys/types.h>
18434 #ifdef HAVE_SYS_PARAM_H
18435 # include <sys/param.h>
18437 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18438 # include <sys/mount.h>
18440 # ifdef STATFS_DEFINED_BY_SYS_VFS
18441 # include <sys/vfs.h>
18443 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18444 # include <sys/statfs.h>
18452 static struct statfs ac_aggr;
18453 if (ac_aggr.f_bfree)
18459 rm -f conftest.
$ac_objext
18460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18461 (eval $ac_compile) 2>conftest.er1
18463 grep -v '^ *+' conftest.er1
>conftest.err
18465 cat conftest.err
>&5
18466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18467 (exit $ac_status); } &&
18468 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18470 (eval $ac_try) 2>&5
18472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18473 (exit $ac_status); }; } &&
18474 { ac_try
='test -s conftest.$ac_objext'
18475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18476 (eval $ac_try) 2>&5
18478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18479 (exit $ac_status); }; }; then
18480 ac_cv_member_struct_statfs_f_bfree
=yes
18482 echo "$as_me: failed program was:" >&5
18483 sed 's/^/| /' conftest.
$ac_ext >&5
18485 cat >conftest.
$ac_ext <<_ACEOF
18488 cat confdefs.h
>>conftest.
$ac_ext
18489 cat >>conftest.
$ac_ext <<_ACEOF
18490 /* end confdefs.h. */
18491 #include <sys/types.h>
18492 #ifdef HAVE_SYS_PARAM_H
18493 # include <sys/param.h>
18495 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18496 # include <sys/mount.h>
18498 # ifdef STATFS_DEFINED_BY_SYS_VFS
18499 # include <sys/vfs.h>
18501 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18502 # include <sys/statfs.h>
18510 static struct statfs ac_aggr;
18511 if (sizeof ac_aggr.f_bfree)
18517 rm -f conftest.
$ac_objext
18518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18519 (eval $ac_compile) 2>conftest.er1
18521 grep -v '^ *+' conftest.er1
>conftest.err
18523 cat conftest.err
>&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } &&
18526 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18528 (eval $ac_try) 2>&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); }; } &&
18532 { ac_try
='test -s conftest.$ac_objext'
18533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18534 (eval $ac_try) 2>&5
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); }; }; then
18538 ac_cv_member_struct_statfs_f_bfree
=yes
18540 echo "$as_me: failed program was:" >&5
18541 sed 's/^/| /' conftest.
$ac_ext >&5
18543 ac_cv_member_struct_statfs_f_bfree
=no
18545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18549 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18550 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
18551 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18553 cat >>confdefs.h
<<_ACEOF
18554 #define HAVE_STRUCT_STATFS_F_BFREE 1
18559 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18560 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
18561 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18562 echo $ECHO_N "(cached) $ECHO_C" >&6
18564 cat >conftest.
$ac_ext <<_ACEOF
18567 cat confdefs.h
>>conftest.
$ac_ext
18568 cat >>conftest.
$ac_ext <<_ACEOF
18569 /* end confdefs.h. */
18570 #include <sys/types.h>
18571 #ifdef HAVE_SYS_PARAM_H
18572 # include <sys/param.h>
18574 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18575 # include <sys/mount.h>
18577 # ifdef STATFS_DEFINED_BY_SYS_VFS
18578 # include <sys/vfs.h>
18580 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18581 # include <sys/statfs.h>
18589 static struct statfs ac_aggr;
18590 if (ac_aggr.f_bavail)
18596 rm -f conftest.
$ac_objext
18597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18598 (eval $ac_compile) 2>conftest.er1
18600 grep -v '^ *+' conftest.er1
>conftest.err
18602 cat conftest.err
>&5
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); } &&
18605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18607 (eval $ac_try) 2>&5
18609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18610 (exit $ac_status); }; } &&
18611 { ac_try
='test -s conftest.$ac_objext'
18612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18613 (eval $ac_try) 2>&5
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); }; }; then
18617 ac_cv_member_struct_statfs_f_bavail
=yes
18619 echo "$as_me: failed program was:" >&5
18620 sed 's/^/| /' conftest.
$ac_ext >&5
18622 cat >conftest.
$ac_ext <<_ACEOF
18625 cat confdefs.h
>>conftest.
$ac_ext
18626 cat >>conftest.
$ac_ext <<_ACEOF
18627 /* end confdefs.h. */
18628 #include <sys/types.h>
18629 #ifdef HAVE_SYS_PARAM_H
18630 # include <sys/param.h>
18632 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18633 # include <sys/mount.h>
18635 # ifdef STATFS_DEFINED_BY_SYS_VFS
18636 # include <sys/vfs.h>
18638 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18639 # include <sys/statfs.h>
18647 static struct statfs ac_aggr;
18648 if (sizeof ac_aggr.f_bavail)
18654 rm -f conftest.
$ac_objext
18655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18656 (eval $ac_compile) 2>conftest.er1
18658 grep -v '^ *+' conftest.er1
>conftest.err
18660 cat conftest.err
>&5
18661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18662 (exit $ac_status); } &&
18663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18665 (eval $ac_try) 2>&5
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); }; } &&
18669 { ac_try
='test -s conftest.$ac_objext'
18670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18671 (eval $ac_try) 2>&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); }; }; then
18675 ac_cv_member_struct_statfs_f_bavail
=yes
18677 echo "$as_me: failed program was:" >&5
18678 sed 's/^/| /' conftest.
$ac_ext >&5
18680 ac_cv_member_struct_statfs_f_bavail
=no
18682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18686 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18687 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18688 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18690 cat >>confdefs.h
<<_ACEOF
18691 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18696 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18697 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
18698 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18699 echo $ECHO_N "(cached) $ECHO_C" >&6
18701 cat >conftest.
$ac_ext <<_ACEOF
18704 cat confdefs.h
>>conftest.
$ac_ext
18705 cat >>conftest.
$ac_ext <<_ACEOF
18706 /* end confdefs.h. */
18707 #include <sys/types.h>
18708 #ifdef HAVE_SYS_PARAM_H
18709 # include <sys/param.h>
18711 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18712 # include <sys/mount.h>
18714 # ifdef STATFS_DEFINED_BY_SYS_VFS
18715 # include <sys/vfs.h>
18717 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18718 # include <sys/statfs.h>
18726 static struct statfs ac_aggr;
18727 if (ac_aggr.f_frsize)
18733 rm -f conftest.
$ac_objext
18734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18735 (eval $ac_compile) 2>conftest.er1
18737 grep -v '^ *+' conftest.er1
>conftest.err
18739 cat conftest.err
>&5
18740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741 (exit $ac_status); } &&
18742 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18744 (eval $ac_try) 2>&5
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); }; } &&
18748 { ac_try
='test -s conftest.$ac_objext'
18749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18750 (eval $ac_try) 2>&5
18752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18753 (exit $ac_status); }; }; then
18754 ac_cv_member_struct_statfs_f_frsize
=yes
18756 echo "$as_me: failed program was:" >&5
18757 sed 's/^/| /' conftest.
$ac_ext >&5
18759 cat >conftest.
$ac_ext <<_ACEOF
18762 cat confdefs.h
>>conftest.
$ac_ext
18763 cat >>conftest.
$ac_ext <<_ACEOF
18764 /* end confdefs.h. */
18765 #include <sys/types.h>
18766 #ifdef HAVE_SYS_PARAM_H
18767 # include <sys/param.h>
18769 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18770 # include <sys/mount.h>
18772 # ifdef STATFS_DEFINED_BY_SYS_VFS
18773 # include <sys/vfs.h>
18775 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18776 # include <sys/statfs.h>
18784 static struct statfs ac_aggr;
18785 if (sizeof ac_aggr.f_frsize)
18791 rm -f conftest.
$ac_objext
18792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18793 (eval $ac_compile) 2>conftest.er1
18795 grep -v '^ *+' conftest.er1
>conftest.err
18797 cat conftest.err
>&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); } &&
18800 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18802 (eval $ac_try) 2>&5
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); }; } &&
18806 { ac_try
='test -s conftest.$ac_objext'
18807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18808 (eval $ac_try) 2>&5
18810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); }; }; then
18812 ac_cv_member_struct_statfs_f_frsize
=yes
18814 echo "$as_me: failed program was:" >&5
18815 sed 's/^/| /' conftest.
$ac_ext >&5
18817 ac_cv_member_struct_statfs_f_frsize
=no
18819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18823 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18824 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
18825 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18827 cat >>confdefs.h
<<_ACEOF
18828 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18833 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18834 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
18835 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18836 echo $ECHO_N "(cached) $ECHO_C" >&6
18838 cat >conftest.
$ac_ext <<_ACEOF
18841 cat confdefs.h
>>conftest.
$ac_ext
18842 cat >>conftest.
$ac_ext <<_ACEOF
18843 /* end confdefs.h. */
18844 #include <sys/types.h>
18845 #ifdef HAVE_SYS_PARAM_H
18846 # include <sys/param.h>
18848 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18849 # include <sys/mount.h>
18851 # ifdef STATFS_DEFINED_BY_SYS_VFS
18852 # include <sys/vfs.h>
18854 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18855 # include <sys/statfs.h>
18863 static struct statfs ac_aggr;
18864 if (ac_aggr.f_ffree)
18870 rm -f conftest.
$ac_objext
18871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18872 (eval $ac_compile) 2>conftest.er1
18874 grep -v '^ *+' conftest.er1
>conftest.err
18876 cat conftest.err
>&5
18877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878 (exit $ac_status); } &&
18879 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18881 (eval $ac_try) 2>&5
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); }; } &&
18885 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18891 ac_cv_member_struct_statfs_f_ffree
=yes
18893 echo "$as_me: failed program was:" >&5
18894 sed 's/^/| /' conftest.
$ac_ext >&5
18896 cat >conftest.
$ac_ext <<_ACEOF
18899 cat confdefs.h
>>conftest.
$ac_ext
18900 cat >>conftest.
$ac_ext <<_ACEOF
18901 /* end confdefs.h. */
18902 #include <sys/types.h>
18903 #ifdef HAVE_SYS_PARAM_H
18904 # include <sys/param.h>
18906 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18907 # include <sys/mount.h>
18909 # ifdef STATFS_DEFINED_BY_SYS_VFS
18910 # include <sys/vfs.h>
18912 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18913 # include <sys/statfs.h>
18921 static struct statfs ac_aggr;
18922 if (sizeof ac_aggr.f_ffree)
18928 rm -f conftest.
$ac_objext
18929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18930 (eval $ac_compile) 2>conftest.er1
18932 grep -v '^ *+' conftest.er1
>conftest.err
18934 cat conftest.err
>&5
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); } &&
18937 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18939 (eval $ac_try) 2>&5
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); }; } &&
18943 { ac_try
='test -s conftest.$ac_objext'
18944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18945 (eval $ac_try) 2>&5
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); }; }; then
18949 ac_cv_member_struct_statfs_f_ffree
=yes
18951 echo "$as_me: failed program was:" >&5
18952 sed 's/^/| /' conftest.
$ac_ext >&5
18954 ac_cv_member_struct_statfs_f_ffree
=no
18956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18960 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18961 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
18962 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18964 cat >>confdefs.h
<<_ACEOF
18965 #define HAVE_STRUCT_STATFS_F_FFREE 1
18970 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18971 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
18972 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18973 echo $ECHO_N "(cached) $ECHO_C" >&6
18975 cat >conftest.
$ac_ext <<_ACEOF
18978 cat confdefs.h
>>conftest.
$ac_ext
18979 cat >>conftest.
$ac_ext <<_ACEOF
18980 /* end confdefs.h. */
18981 #include <sys/types.h>
18982 #ifdef HAVE_SYS_PARAM_H
18983 # include <sys/param.h>
18985 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18986 # include <sys/mount.h>
18988 # ifdef STATFS_DEFINED_BY_SYS_VFS
18989 # include <sys/vfs.h>
18991 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18992 # include <sys/statfs.h>
19000 static struct statfs ac_aggr;
19001 if (ac_aggr.f_favail)
19007 rm -f conftest.
$ac_objext
19008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19009 (eval $ac_compile) 2>conftest.er1
19011 grep -v '^ *+' conftest.er1
>conftest.err
19013 cat conftest.err
>&5
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); } &&
19016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19018 (eval $ac_try) 2>&5
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); }; } &&
19022 { ac_try
='test -s conftest.$ac_objext'
19023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19024 (eval $ac_try) 2>&5
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); }; }; then
19028 ac_cv_member_struct_statfs_f_favail
=yes
19030 echo "$as_me: failed program was:" >&5
19031 sed 's/^/| /' conftest.
$ac_ext >&5
19033 cat >conftest.
$ac_ext <<_ACEOF
19036 cat confdefs.h
>>conftest.
$ac_ext
19037 cat >>conftest.
$ac_ext <<_ACEOF
19038 /* end confdefs.h. */
19039 #include <sys/types.h>
19040 #ifdef HAVE_SYS_PARAM_H
19041 # include <sys/param.h>
19043 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
19044 # include <sys/mount.h>
19046 # ifdef STATFS_DEFINED_BY_SYS_VFS
19047 # include <sys/vfs.h>
19049 # ifdef STATFS_DEFINED_BY_SYS_STATFS
19050 # include <sys/statfs.h>
19058 static struct statfs ac_aggr;
19059 if (sizeof ac_aggr.f_favail)
19065 rm -f conftest.
$ac_objext
19066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19067 (eval $ac_compile) 2>conftest.er1
19069 grep -v '^ *+' conftest.er1
>conftest.err
19071 cat conftest.err
>&5
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); } &&
19074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19076 (eval $ac_try) 2>&5
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); }; } &&
19080 { ac_try
='test -s conftest.$ac_objext'
19081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19082 (eval $ac_try) 2>&5
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); }; }; then
19086 ac_cv_member_struct_statfs_f_favail
=yes
19088 echo "$as_me: failed program was:" >&5
19089 sed 's/^/| /' conftest.
$ac_ext >&5
19091 ac_cv_member_struct_statfs_f_favail
=no
19093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19097 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19098 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
19099 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19101 cat >>confdefs.h
<<_ACEOF
19102 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19107 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19108 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
19109 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19110 echo $ECHO_N "(cached) $ECHO_C" >&6
19112 cat >conftest.
$ac_ext <<_ACEOF
19115 cat confdefs.h
>>conftest.
$ac_ext
19116 cat >>conftest.
$ac_ext <<_ACEOF
19117 /* end confdefs.h. */
19118 #include <sys/types.h>
19119 #ifdef HAVE_SYS_PARAM_H
19120 # include <sys/param.h>
19122 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
19123 # include <sys/mount.h>
19125 # ifdef STATFS_DEFINED_BY_SYS_VFS
19126 # include <sys/vfs.h>
19128 # ifdef STATFS_DEFINED_BY_SYS_STATFS
19129 # include <sys/statfs.h>
19137 static struct statfs ac_aggr;
19138 if (ac_aggr.f_namelen)
19144 rm -f conftest.
$ac_objext
19145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19146 (eval $ac_compile) 2>conftest.er1
19148 grep -v '^ *+' conftest.er1
>conftest.err
19150 cat conftest.err
>&5
19151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19152 (exit $ac_status); } &&
19153 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19155 (eval $ac_try) 2>&5
19157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19158 (exit $ac_status); }; } &&
19159 { ac_try
='test -s conftest.$ac_objext'
19160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19161 (eval $ac_try) 2>&5
19163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19164 (exit $ac_status); }; }; then
19165 ac_cv_member_struct_statfs_f_namelen
=yes
19167 echo "$as_me: failed program was:" >&5
19168 sed 's/^/| /' conftest.
$ac_ext >&5
19170 cat >conftest.
$ac_ext <<_ACEOF
19173 cat confdefs.h
>>conftest.
$ac_ext
19174 cat >>conftest.
$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19176 #include <sys/types.h>
19177 #ifdef HAVE_SYS_PARAM_H
19178 # include <sys/param.h>
19180 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
19181 # include <sys/mount.h>
19183 # ifdef STATFS_DEFINED_BY_SYS_VFS
19184 # include <sys/vfs.h>
19186 # ifdef STATFS_DEFINED_BY_SYS_STATFS
19187 # include <sys/statfs.h>
19195 static struct statfs ac_aggr;
19196 if (sizeof ac_aggr.f_namelen)
19202 rm -f conftest.
$ac_objext
19203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19204 (eval $ac_compile) 2>conftest.er1
19206 grep -v '^ *+' conftest.er1
>conftest.err
19208 cat conftest.err
>&5
19209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19210 (exit $ac_status); } &&
19211 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19213 (eval $ac_try) 2>&5
19215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19216 (exit $ac_status); }; } &&
19217 { ac_try
='test -s conftest.$ac_objext'
19218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19219 (eval $ac_try) 2>&5
19221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19222 (exit $ac_status); }; }; then
19223 ac_cv_member_struct_statfs_f_namelen
=yes
19225 echo "$as_me: failed program was:" >&5
19226 sed 's/^/| /' conftest.
$ac_ext >&5
19228 ac_cv_member_struct_statfs_f_namelen
=no
19230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19234 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19235 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
19236 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19238 cat >>confdefs.h
<<_ACEOF
19239 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19246 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19247 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
19248 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19249 echo $ECHO_N "(cached) $ECHO_C" >&6
19251 cat >conftest.
$ac_ext <<_ACEOF
19254 cat confdefs.h
>>conftest.
$ac_ext
19255 cat >>conftest.
$ac_ext <<_ACEOF
19256 /* end confdefs.h. */
19257 #ifdef HAVE_SYS_STATVFS_H
19258 #include <sys/statvfs.h>
19264 static struct statvfs ac_aggr;
19265 if (ac_aggr.f_blocks)
19271 rm -f conftest.
$ac_objext
19272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19273 (eval $ac_compile) 2>conftest.er1
19275 grep -v '^ *+' conftest.er1
>conftest.err
19277 cat conftest.err
>&5
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); } &&
19280 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19282 (eval $ac_try) 2>&5
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); }; } &&
19286 { ac_try
='test -s conftest.$ac_objext'
19287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19288 (eval $ac_try) 2>&5
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); }; }; then
19292 ac_cv_member_struct_statvfs_f_blocks
=yes
19294 echo "$as_me: failed program was:" >&5
19295 sed 's/^/| /' conftest.
$ac_ext >&5
19297 cat >conftest.
$ac_ext <<_ACEOF
19300 cat confdefs.h
>>conftest.
$ac_ext
19301 cat >>conftest.
$ac_ext <<_ACEOF
19302 /* end confdefs.h. */
19303 #ifdef HAVE_SYS_STATVFS_H
19304 #include <sys/statvfs.h>
19310 static struct statvfs ac_aggr;
19311 if (sizeof ac_aggr.f_blocks)
19317 rm -f conftest.
$ac_objext
19318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19319 (eval $ac_compile) 2>conftest.er1
19321 grep -v '^ *+' conftest.er1
>conftest.err
19323 cat conftest.err
>&5
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); } &&
19326 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19328 (eval $ac_try) 2>&5
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); }; } &&
19332 { ac_try
='test -s conftest.$ac_objext'
19333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19334 (eval $ac_try) 2>&5
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); }; }; then
19338 ac_cv_member_struct_statvfs_f_blocks
=yes
19340 echo "$as_me: failed program was:" >&5
19341 sed 's/^/| /' conftest.
$ac_ext >&5
19343 ac_cv_member_struct_statvfs_f_blocks
=no
19345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19349 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19350 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
19351 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19353 cat >>confdefs.h
<<_ACEOF
19354 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19361 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19362 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
19363 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19364 echo $ECHO_N "(cached) $ECHO_C" >&6
19366 cat >conftest.
$ac_ext <<_ACEOF
19369 cat confdefs.h
>>conftest.
$ac_ext
19370 cat >>conftest.
$ac_ext <<_ACEOF
19371 /* end confdefs.h. */
19372 #include <sys/types.h>
19373 #ifdef HAVE_SYS_SOCKET_H
19374 # include <sys/socket.h>
19376 #ifdef HAVE_SYS_UN_H
19377 # include <sys/un.h>
19383 static struct msghdr ac_aggr;
19384 if (ac_aggr.msg_accrights)
19390 rm -f conftest.
$ac_objext
19391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19392 (eval $ac_compile) 2>conftest.er1
19394 grep -v '^ *+' conftest.er1
>conftest.err
19396 cat conftest.err
>&5
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); } &&
19399 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19401 (eval $ac_try) 2>&5
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); }; } &&
19405 { ac_try
='test -s conftest.$ac_objext'
19406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19407 (eval $ac_try) 2>&5
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); }; }; then
19411 ac_cv_member_struct_msghdr_msg_accrights
=yes
19413 echo "$as_me: failed program was:" >&5
19414 sed 's/^/| /' conftest.
$ac_ext >&5
19416 cat >conftest.
$ac_ext <<_ACEOF
19419 cat confdefs.h
>>conftest.
$ac_ext
19420 cat >>conftest.
$ac_ext <<_ACEOF
19421 /* end confdefs.h. */
19422 #include <sys/types.h>
19423 #ifdef HAVE_SYS_SOCKET_H
19424 # include <sys/socket.h>
19426 #ifdef HAVE_SYS_UN_H
19427 # include <sys/un.h>
19433 static struct msghdr ac_aggr;
19434 if (sizeof ac_aggr.msg_accrights)
19440 rm -f conftest.
$ac_objext
19441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19442 (eval $ac_compile) 2>conftest.er1
19444 grep -v '^ *+' conftest.er1
>conftest.err
19446 cat conftest.err
>&5
19447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448 (exit $ac_status); } &&
19449 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19451 (eval $ac_try) 2>&5
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); }; } &&
19455 { ac_try
='test -s conftest.$ac_objext'
19456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19457 (eval $ac_try) 2>&5
19459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19460 (exit $ac_status); }; }; then
19461 ac_cv_member_struct_msghdr_msg_accrights
=yes
19463 echo "$as_me: failed program was:" >&5
19464 sed 's/^/| /' conftest.
$ac_ext >&5
19466 ac_cv_member_struct_msghdr_msg_accrights
=no
19468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19472 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19473 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
19474 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19476 cat >>confdefs.h
<<_ACEOF
19477 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19482 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19483 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
19484 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19485 echo $ECHO_N "(cached) $ECHO_C" >&6
19487 cat >conftest.
$ac_ext <<_ACEOF
19490 cat confdefs.h
>>conftest.
$ac_ext
19491 cat >>conftest.
$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 #include <sys/types.h>
19494 #ifdef HAVE_SYS_SOCKET_H
19495 # include <sys/socket.h>
19497 #ifdef HAVE_SYS_UN_H
19498 # include <sys/un.h>
19504 static struct sockaddr ac_aggr;
19505 if (ac_aggr.sa_len)
19511 rm -f conftest.
$ac_objext
19512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19513 (eval $ac_compile) 2>conftest.er1
19515 grep -v '^ *+' conftest.er1
>conftest.err
19517 cat conftest.err
>&5
19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); } &&
19520 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19522 (eval $ac_try) 2>&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); }; } &&
19526 { ac_try
='test -s conftest.$ac_objext'
19527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19528 (eval $ac_try) 2>&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); }; }; then
19532 ac_cv_member_struct_sockaddr_sa_len
=yes
19534 echo "$as_me: failed program was:" >&5
19535 sed 's/^/| /' conftest.
$ac_ext >&5
19537 cat >conftest.
$ac_ext <<_ACEOF
19540 cat confdefs.h
>>conftest.
$ac_ext
19541 cat >>conftest.
$ac_ext <<_ACEOF
19542 /* end confdefs.h. */
19543 #include <sys/types.h>
19544 #ifdef HAVE_SYS_SOCKET_H
19545 # include <sys/socket.h>
19547 #ifdef HAVE_SYS_UN_H
19548 # include <sys/un.h>
19554 static struct sockaddr ac_aggr;
19555 if (sizeof ac_aggr.sa_len)
19561 rm -f conftest.
$ac_objext
19562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19563 (eval $ac_compile) 2>conftest.er1
19565 grep -v '^ *+' conftest.er1
>conftest.err
19567 cat conftest.err
>&5
19568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 (exit $ac_status); } &&
19570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19572 (eval $ac_try) 2>&5
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); }; } &&
19576 { ac_try
='test -s conftest.$ac_objext'
19577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19578 (eval $ac_try) 2>&5
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); }; }; then
19582 ac_cv_member_struct_sockaddr_sa_len
=yes
19584 echo "$as_me: failed program was:" >&5
19585 sed 's/^/| /' conftest.
$ac_ext >&5
19587 ac_cv_member_struct_sockaddr_sa_len
=no
19589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19593 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19594 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
19595 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19597 cat >>confdefs.h
<<_ACEOF
19598 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19603 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19604 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
19605 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19606 echo $ECHO_N "(cached) $ECHO_C" >&6
19608 cat >conftest.
$ac_ext <<_ACEOF
19611 cat confdefs.h
>>conftest.
$ac_ext
19612 cat >>conftest.
$ac_ext <<_ACEOF
19613 /* end confdefs.h. */
19614 #include <sys/types.h>
19615 #ifdef HAVE_SYS_SOCKET_H
19616 # include <sys/socket.h>
19618 #ifdef HAVE_SYS_UN_H
19619 # include <sys/un.h>
19625 static struct sockaddr_un ac_aggr;
19626 if (ac_aggr.sun_len)
19632 rm -f conftest.
$ac_objext
19633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19634 (eval $ac_compile) 2>conftest.er1
19636 grep -v '^ *+' conftest.er1
>conftest.err
19638 cat conftest.err
>&5
19639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640 (exit $ac_status); } &&
19641 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19643 (eval $ac_try) 2>&5
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); }; } &&
19647 { ac_try
='test -s conftest.$ac_objext'
19648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19649 (eval $ac_try) 2>&5
19651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19652 (exit $ac_status); }; }; then
19653 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19655 echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.
$ac_ext >&5
19658 cat >conftest.
$ac_ext <<_ACEOF
19661 cat confdefs.h
>>conftest.
$ac_ext
19662 cat >>conftest.
$ac_ext <<_ACEOF
19663 /* end confdefs.h. */
19664 #include <sys/types.h>
19665 #ifdef HAVE_SYS_SOCKET_H
19666 # include <sys/socket.h>
19668 #ifdef HAVE_SYS_UN_H
19669 # include <sys/un.h>
19675 static struct sockaddr_un ac_aggr;
19676 if (sizeof ac_aggr.sun_len)
19682 rm -f conftest.
$ac_objext
19683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19684 (eval $ac_compile) 2>conftest.er1
19686 grep -v '^ *+' conftest.er1
>conftest.err
19688 cat conftest.err
>&5
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); } &&
19691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19693 (eval $ac_try) 2>&5
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); }; } &&
19697 { ac_try
='test -s conftest.$ac_objext'
19698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19699 (eval $ac_try) 2>&5
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); }; }; then
19703 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19705 echo "$as_me: failed program was:" >&5
19706 sed 's/^/| /' conftest.
$ac_ext >&5
19708 ac_cv_member_struct_sockaddr_un_sun_len
=no
19710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19714 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19715 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
19716 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19718 cat >>confdefs.h
<<_ACEOF
19719 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19726 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19727 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
19728 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19729 echo $ECHO_N "(cached) $ECHO_C" >&6
19731 cat >conftest.
$ac_ext <<_ACEOF
19734 cat confdefs.h
>>conftest.
$ac_ext
19735 cat >>conftest.
$ac_ext <<_ACEOF
19736 /* end confdefs.h. */
19737 #include <signal.h>
19742 static siginfo_t ac_aggr;
19749 rm -f conftest.
$ac_objext
19750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19751 (eval $ac_compile) 2>conftest.er1
19753 grep -v '^ *+' conftest.er1
>conftest.err
19755 cat conftest.err
>&5
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); } &&
19758 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19760 (eval $ac_try) 2>&5
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); }; } &&
19764 { ac_try
='test -s conftest.$ac_objext'
19765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19766 (eval $ac_try) 2>&5
19768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19769 (exit $ac_status); }; }; then
19770 ac_cv_member_siginfo_t_si_fd
=yes
19772 echo "$as_me: failed program was:" >&5
19773 sed 's/^/| /' conftest.
$ac_ext >&5
19775 cat >conftest.
$ac_ext <<_ACEOF
19778 cat confdefs.h
>>conftest.
$ac_ext
19779 cat >>conftest.
$ac_ext <<_ACEOF
19780 /* end confdefs.h. */
19781 #include <signal.h>
19786 static siginfo_t ac_aggr;
19787 if (sizeof ac_aggr.si_fd)
19793 rm -f conftest.
$ac_objext
19794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19795 (eval $ac_compile) 2>conftest.er1
19797 grep -v '^ *+' conftest.er1
>conftest.err
19799 cat conftest.err
>&5
19800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19801 (exit $ac_status); } &&
19802 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19804 (eval $ac_try) 2>&5
19806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19807 (exit $ac_status); }; } &&
19808 { ac_try
='test -s conftest.$ac_objext'
19809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19810 (eval $ac_try) 2>&5
19812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19813 (exit $ac_status); }; }; then
19814 ac_cv_member_siginfo_t_si_fd
=yes
19816 echo "$as_me: failed program was:" >&5
19817 sed 's/^/| /' conftest.
$ac_ext >&5
19819 ac_cv_member_siginfo_t_si_fd
=no
19821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19825 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19826 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
19827 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19829 cat >>confdefs.h
<<_ACEOF
19830 #define HAVE_SIGINFO_T_SI_FD 1
19837 echo "$as_me:$LINENO: checking for struct option.name" >&5
19838 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19839 if test "${ac_cv_member_struct_option_name+set}" = set; then
19840 echo $ECHO_N "(cached) $ECHO_C" >&6
19842 cat >conftest.
$ac_ext <<_ACEOF
19845 cat confdefs.h
>>conftest.
$ac_ext
19846 cat >>conftest.
$ac_ext <<_ACEOF
19847 /* end confdefs.h. */
19848 #ifdef HAVE_GETOPT_H
19849 #include <getopt.h>
19855 static struct option ac_aggr;
19862 rm -f conftest.
$ac_objext
19863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19864 (eval $ac_compile) 2>conftest.er1
19866 grep -v '^ *+' conftest.er1
>conftest.err
19868 cat conftest.err
>&5
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); } &&
19871 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19873 (eval $ac_try) 2>&5
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); }; } &&
19877 { ac_try
='test -s conftest.$ac_objext'
19878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19879 (eval $ac_try) 2>&5
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); }; }; then
19883 ac_cv_member_struct_option_name
=yes
19885 echo "$as_me: failed program was:" >&5
19886 sed 's/^/| /' conftest.
$ac_ext >&5
19888 cat >conftest.
$ac_ext <<_ACEOF
19891 cat confdefs.h
>>conftest.
$ac_ext
19892 cat >>conftest.
$ac_ext <<_ACEOF
19893 /* end confdefs.h. */
19894 #ifdef HAVE_GETOPT_H
19895 #include <getopt.h>
19901 static struct option ac_aggr;
19902 if (sizeof ac_aggr.name)
19908 rm -f conftest.
$ac_objext
19909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19910 (eval $ac_compile) 2>conftest.er1
19912 grep -v '^ *+' conftest.er1
>conftest.err
19914 cat conftest.err
>&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); } &&
19917 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19919 (eval $ac_try) 2>&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); }; } &&
19923 { ac_try
='test -s conftest.$ac_objext'
19924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19925 (eval $ac_try) 2>&5
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); }; }; then
19929 ac_cv_member_struct_option_name
=yes
19931 echo "$as_me: failed program was:" >&5
19932 sed 's/^/| /' conftest.
$ac_ext >&5
19934 ac_cv_member_struct_option_name
=no
19936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19940 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19941 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19942 if test $ac_cv_member_struct_option_name = yes; then
19944 cat >>confdefs.h
<<_ACEOF
19945 #define HAVE_STRUCT_OPTION_NAME 1
19952 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19953 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19954 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19955 echo $ECHO_N "(cached) $ECHO_C" >&6
19957 cat >conftest.
$ac_ext <<_ACEOF
19960 cat confdefs.h
>>conftest.
$ac_ext
19961 cat >>conftest.
$ac_ext <<_ACEOF
19962 /* end confdefs.h. */
19963 $ac_includes_default
19967 static struct stat ac_aggr;
19968 if (ac_aggr.st_blocks)
19974 rm -f conftest.
$ac_objext
19975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19976 (eval $ac_compile) 2>conftest.er1
19978 grep -v '^ *+' conftest.er1
>conftest.err
19980 cat conftest.err
>&5
19981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19982 (exit $ac_status); } &&
19983 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19985 (eval $ac_try) 2>&5
19987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19988 (exit $ac_status); }; } &&
19989 { ac_try
='test -s conftest.$ac_objext'
19990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19991 (eval $ac_try) 2>&5
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); }; }; then
19995 ac_cv_member_struct_stat_st_blocks
=yes
19997 echo "$as_me: failed program was:" >&5
19998 sed 's/^/| /' conftest.
$ac_ext >&5
20000 cat >conftest.
$ac_ext <<_ACEOF
20003 cat confdefs.h
>>conftest.
$ac_ext
20004 cat >>conftest.
$ac_ext <<_ACEOF
20005 /* end confdefs.h. */
20006 $ac_includes_default
20010 static struct stat ac_aggr;
20011 if (sizeof ac_aggr.st_blocks)
20017 rm -f conftest.
$ac_objext
20018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20019 (eval $ac_compile) 2>conftest.er1
20021 grep -v '^ *+' conftest.er1
>conftest.err
20023 cat conftest.err
>&5
20024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20025 (exit $ac_status); } &&
20026 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20028 (eval $ac_try) 2>&5
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); }; } &&
20032 { ac_try
='test -s conftest.$ac_objext'
20033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20034 (eval $ac_try) 2>&5
20036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); }; }; then
20038 ac_cv_member_struct_stat_st_blocks
=yes
20040 echo "$as_me: failed program was:" >&5
20041 sed 's/^/| /' conftest.
$ac_ext >&5
20043 ac_cv_member_struct_stat_st_blocks
=no
20045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20049 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20050 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
20051 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20053 cat >>confdefs.h
<<_ACEOF
20054 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20063 *i
[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20064 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
20065 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20066 echo $ECHO_N "(cached) $ECHO_C" >&6
20068 cat >conftest.
$ac_ext <<_ACEOF
20071 cat confdefs.h
>>conftest.
$ac_ext
20072 cat >>conftest.
$ac_ext <<_ACEOF
20073 /* end confdefs.h. */
20078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20079 $EGREP "yes" >/dev
/null
2>&1; then
20080 ac_cv_cpp_def___i386__
=yes
20082 ac_cv_cpp_def___i386__
=no
20087 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20088 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
20089 if test $ac_cv_cpp_def___i386__ = yes; then
20090 CFLAGS
="$CFLAGS -D__i386__"
20091 LINTFLAGS
="$LINTFLAGS -D__i386__"
20094 *alpha
*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20095 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
20096 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20097 echo $ECHO_N "(cached) $ECHO_C" >&6
20099 cat >conftest.
$ac_ext <<_ACEOF
20102 cat confdefs.h
>>conftest.
$ac_ext
20103 cat >>conftest.
$ac_ext <<_ACEOF
20104 /* end confdefs.h. */
20109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20110 $EGREP "yes" >/dev
/null
2>&1; then
20111 ac_cv_cpp_def___ALPHA__
=yes
20113 ac_cv_cpp_def___ALPHA__
=no
20118 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20119 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
20120 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20121 CFLAGS
="$CFLAGS -D__ALPHA__"
20122 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
20125 *sparc
*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20126 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
20127 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20128 echo $ECHO_N "(cached) $ECHO_C" >&6
20130 cat >conftest.
$ac_ext <<_ACEOF
20133 cat confdefs.h
>>conftest.
$ac_ext
20134 cat >>conftest.
$ac_ext <<_ACEOF
20135 /* end confdefs.h. */
20140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20141 $EGREP "yes" >/dev
/null
2>&1; then
20142 ac_cv_cpp_def___sparc__
=yes
20144 ac_cv_cpp_def___sparc__
=no
20149 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20150 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
20151 if test $ac_cv_cpp_def___sparc__ = yes; then
20152 CFLAGS
="$CFLAGS -D__sparc__"
20153 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20156 *powerpc
*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20157 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
20158 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20159 echo $ECHO_N "(cached) $ECHO_C" >&6
20161 cat >conftest.
$ac_ext <<_ACEOF
20164 cat confdefs.h
>>conftest.
$ac_ext
20165 cat >>conftest.
$ac_ext <<_ACEOF
20166 /* end confdefs.h. */
20167 #ifndef __powerpc__
20171 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20172 $EGREP "yes" >/dev
/null
2>&1; then
20173 ac_cv_cpp_def___powerpc__
=yes
20175 ac_cv_cpp_def___powerpc__
=no
20180 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20181 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
20182 if test $ac_cv_cpp_def___powerpc__ = yes; then
20183 CFLAGS
="$CFLAGS -D__powerpc__"
20184 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20189 case $host_vendor in
20190 *sun
*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20191 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
20192 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20193 echo $ECHO_N "(cached) $ECHO_C" >&6
20195 cat >conftest.
$ac_ext <<_ACEOF
20198 cat confdefs.h
>>conftest.
$ac_ext
20199 cat >>conftest.
$ac_ext <<_ACEOF
20200 /* end confdefs.h. */
20205 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20206 $EGREP "yes" >/dev
/null
2>&1; then
20207 ac_cv_cpp_def___sun__
=yes
20209 ac_cv_cpp_def___sun__
=no
20214 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20215 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
20216 if test $ac_cv_cpp_def___sun__ = yes; then
20217 CFLAGS
="$CFLAGS -D__sun__"
20218 LINTFLAGS
="$LINTFLAGS -D__sun__"
20227 ac_config_commands
="$ac_config_commands dlls/ddraw/d3ddevice"
20229 ac_config_commands
="$ac_config_commands dlls/ddraw/dclipper"
20231 ac_config_commands
="$ac_config_commands dlls/ddraw/ddraw"
20233 ac_config_commands
="$ac_config_commands dlls/ddraw/direct3d"
20235 ac_config_commands
="$ac_config_commands dlls/ddraw/dpalette"
20237 ac_config_commands
="$ac_config_commands dlls/ddraw/dsurface"
20239 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
20241 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
20243 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
20245 ac_config_commands
="$ac_config_commands dlls/user/dde"
20247 ac_config_commands
="$ac_config_commands dlls/user/resources"
20249 ac_config_commands
="$ac_config_commands dlls/wineps/data"
20251 ac_config_commands
="$ac_config_commands include/wine"
20253 ac_config_commands
="$ac_config_commands misc"
20255 ac_config_commands
="$ac_config_commands programs/regedit/tests"
20257 ac_config_commands
="$ac_config_commands windows"
20260 MAKE_RULES
=Make.rules
20263 MAKE_DLL_RULES
=dlls
/Makedll.rules
20266 MAKE_TEST_RULES
=dlls
/Maketest.rules
20269 MAKE_LIB_RULES
=libs
/Makelib.rules
20272 MAKE_PROG_RULES
=programs
/Makeprog.rules
20275 ac_config_files
="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/hhctrl.ocx/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msacm/tests/Makefile dlls/mscms/Makefile dlls/msdmo/Makefile dlls/mshtml/Makefile dlls/msi/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvidc32/Makefile dlls/msvideo/Makefile dlls/mswsock/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/Makefile dlls/opengl32/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/rasapi32/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/secur32/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
20278 cat >confcache
<<\_ACEOF
20279 # This file is a shell script that caches the results of configure
20280 # tests run on this system so they can be shared between configure
20281 # scripts and configure runs, see configure's option --config-cache.
20282 # It is not useful on other systems. If it contains results you don't
20283 # want to keep, you may remove or edit it.
20285 # config.status only pays attention to the cache file if you give it
20286 # the --recheck option to rerun configure.
20288 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20289 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20290 # following values.
20294 # The following way of writing the cache mishandles newlines in values,
20295 # but we know of no workaround that is simple, portable, and efficient.
20296 # So, don't put newlines in cache variables' values.
20297 # Ultrix sh set writes to stderr and can't be redirected directly,
20298 # and sets the high bit in the cache file unless we assign to the vars.
20301 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20303 # `set' does not quote correctly, so add quotes (double-quote
20304 # substitution turns \\\\ into \\, and sed turns \\ into \).
20307 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20310 # `set' quotes correctly as required by POSIX, so do not add quotes.
20312 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20319 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20321 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20323 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20324 if test -w $cache_file; then
20325 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20326 cat confcache
>$cache_file
20328 echo "not updating unwritable cache $cache_file"
20333 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20334 # Let make expand exec_prefix.
20335 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20337 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20338 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20339 # trailing colons and then remove the whole line if VPATH becomes empty
20340 # (actually we leave an empty line to preserve line numbers).
20341 if test "x$srcdir" = x.
; then
20342 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20343 s/:*\$(srcdir):*/:/;
20344 s/:*\${srcdir}:*/:/;
20346 s/^\([^=]*=[ ]*\):*/\1/;
20352 DEFS
=-DHAVE_CONFIG_H
20356 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20357 # 1. Remove the extension, and $U if already installed.
20358 ac_i
=`echo "$ac_i" |
20359 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20361 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
20362 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
20364 LIBOBJS
=$ac_libobjs
20366 LTLIBOBJS
=$ac_ltlibobjs
20370 : ${CONFIG_STATUS=./config.status}
20371 ac_clean_files_save
=$ac_clean_files
20372 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20373 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20374 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20375 cat >$CONFIG_STATUS <<_ACEOF
20377 # Generated by $as_me.
20378 # Run this file to recreate the current configuration.
20379 # Compiler output produced by configure, useful for debugging
20380 # configure, is in config.log if it exists.
20383 ac_cs_recheck=false
20385 SHELL=\${CONFIG_SHELL-$SHELL}
20388 cat >>$CONFIG_STATUS <<\_ACEOF
20389 ## --------------------- ##
20390 ## M4sh Initialization. ##
20391 ## --------------------- ##
20393 # Be Bourne compatible
20394 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20397 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20398 # is contrary to our usage. Disable this feature.
20399 alias -g '${1+"$@"}'='"$@"'
20400 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20403 DUALCASE
=1; export DUALCASE
# for MKS sh
20405 # Support unset when possible.
20406 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20413 # Work around bugs in pre-3.0 UWIN ksh.
20414 $as_unset ENV MAIL MAILPATH
20421 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20422 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20423 LC_TELEPHONE LC_TIME
20425 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20426 eval $as_var=C
; export $as_var
20432 # Required to use basename.
20433 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20439 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20440 as_basename
=basename
20446 # Name of the executable.
20447 as_me
=`$as_basename "$0" ||
20448 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20449 X"$0" : 'X\(//\)$' \| \
20450 X"$0" : 'X\(/\)$' \| \
20451 . : '\(.\)' 2>/dev/null ||
20453 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20454 /^X\/\(\/\/\)$/{ s//\1/; q; }
20455 /^X\/\(\/\).*/{ s//\1/; q; }
20459 # PATH needs CR, and LINENO needs CR and PATH.
20460 # Avoid depending upon Character Ranges.
20461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20464 as_cr_digits
='0123456789'
20465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20467 # The user is always right.
20468 if test "${PATH_SEPARATOR+set}" != set; then
20469 echo "#! /bin/sh" >conf$$.sh
20470 echo "exit 0" >>conf$$.sh
20472 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20481 as_lineno_1
=$LINENO
20482 as_lineno_2
=$LINENO
20483 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20484 test "x$as_lineno_1" != "x$as_lineno_2" &&
20485 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20486 # Find who we are. Look in the path if we contain no path at all
20489 *[\\/]* ) as_myself
=$0 ;;
20490 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20491 for as_dir
in $PATH
20494 test -z "$as_dir" && as_dir
=.
20495 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20500 # We did not find ourselves, most probably we were run as `sh COMMAND'
20501 # in which case we are not to be found in the path.
20502 if test "x$as_myself" = x
; then
20505 if test ! -f "$as_myself"; then
20506 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20507 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20508 { (exit 1); exit 1; }; }
20510 case $CONFIG_SHELL in
20512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20513 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20516 test -z "$as_dir" && as_dir
=.
20517 for as_base
in sh bash ksh sh5
; do
20520 if ("$as_dir/$as_base" -c '
20521 as_lineno_1=$LINENO
20522 as_lineno_2=$LINENO
20523 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20524 test "x$as_lineno_1" != "x$as_lineno_2" &&
20525 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20526 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20527 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20528 CONFIG_SHELL
=$as_dir/$as_base
20529 export CONFIG_SHELL
20530 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20538 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20539 # uniformly replaced by the line number. The first 'sed' inserts a
20540 # line-number line before each line; the second 'sed' does the real
20541 # work. The second script uses 'N' to pair each line-number line
20542 # with the numbered line, and appends trailing '-' during
20543 # substitution so that $LINENO is not a special case at line end.
20544 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20545 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20546 sed '=' <$as_myself |
20551 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20554 s,^['$as_cr_digits']*\n,,
20555 ' >$as_me.lineno
&&
20556 chmod +x
$as_me.lineno ||
20557 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20558 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20559 { (exit 1); exit 1; }; }
20561 # Don't try to exec as it changes $[0], causing all sort of problems
20562 # (the dirname of $[0] is not the place where we might find the
20563 # original and so on. Autoconf is especially sensible to this).
20565 # Exit status is that of the last command.
20570 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20571 *c
*,-n*) ECHO_N
= ECHO_C
='
20573 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20574 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20577 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20583 rm -f conf$$ conf$$.exe conf$$.
file
20585 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20586 # We could just check for DJGPP; but this test a) works b) is more generic
20587 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20588 if test -f conf$$.exe
; then
20589 # Don't use ln at all; we don't have any links
20594 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20599 rm -f conf$$ conf$$.exe conf$$.
file
20601 if mkdir
-p .
2>/dev
/null
; then
20604 test -d .
/-p && rmdir .
/-p
20608 as_executable_p
="test -f"
20610 # Sed expression to map a string onto a valid CPP name.
20611 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20613 # Sed expression to map a string onto a valid variable name.
20614 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20618 # We need space, tab and new line, in precisely that order.
20628 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20629 # report actual input values of CONFIG_FILES etc. instead of their
20630 # values after options handling. Logging --version etc. is OK.
20634 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20635 ## Running $as_me. ##
20640 This file was extended by Wine $as_me 20040914, which was
20641 generated by GNU Autoconf 2.59. Invocation command line was
20643 CONFIG_FILES = $CONFIG_FILES
20644 CONFIG_HEADERS = $CONFIG_HEADERS
20645 CONFIG_LINKS = $CONFIG_LINKS
20646 CONFIG_COMMANDS = $CONFIG_COMMANDS
20650 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20654 # Files that config.status was made for.
20655 if test -n "$ac_config_files"; then
20656 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20659 if test -n "$ac_config_headers"; then
20660 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20663 if test -n "$ac_config_links"; then
20664 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20667 if test -n "$ac_config_commands"; then
20668 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20671 cat >>$CONFIG_STATUS <<\_ACEOF
20674 \`$as_me' instantiates files from templates according to the
20675 current configuration.
20677 Usage: $0 [OPTIONS] [FILE]...
20679 -h, --help print this help, then exit
20680 -V, --version print version number, then exit
20681 -q, --quiet do not print progress messages
20682 -d, --debug don't remove temporary files
20683 --recheck update $as_me by reconfiguring in the same conditions
20684 --file=FILE[:TEMPLATE]
20685 instantiate the configuration file FILE
20686 --header=FILE[:TEMPLATE]
20687 instantiate the configuration header FILE
20689 Configuration files:
20692 Configuration headers:
20695 Configuration commands:
20698 Report bugs to <bug-autoconf@gnu.org>."
20701 cat >>$CONFIG_STATUS <<_ACEOF
20703 Wine config.status 20040914
20704 configured by $0, generated by GNU Autoconf 2.59,
20705 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20707 Copyright (C) 2003 Free Software Foundation, Inc.
20708 This config.status script is free software; the Free Software Foundation
20709 gives unlimited permission to copy, distribute and modify it."
20714 cat >>$CONFIG_STATUS <<\_ACEOF
20715 # If no file are specified by the user, then we need to provide default
20716 # value. By we need to know if files were specified by the user.
20722 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20723 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20731 *) # This is not an option, so the user has probably given explicit
20734 ac_need_defaults
=false
;;
20738 # Handling of the options.
20740 cat >>$CONFIG_STATUS <<\_ACEOF
20741 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20743 --version |
--vers* |
-V )
20744 echo "$ac_cs_version"; exit 0 ;;
20746 # Conflict between --help and --header
20747 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20748 Try \`$0 --help' for more information." >&5
20749 echo "$as_me: error: ambiguous option: $1
20750 Try \`$0 --help' for more information." >&2;}
20751 { (exit 1); exit 1; }; };;
20752 --help |
--hel |
-h )
20753 echo "$ac_cs_usage"; exit 0 ;;
20754 --debug |
--d* |
-d )
20756 --file |
--fil |
--fi |
--f )
20758 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20759 ac_need_defaults
=false
;;
20760 --header |
--heade |
--head |
--hea )
20762 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20763 ac_need_defaults
=false
;;
20764 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20765 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20768 # This is an error.
20769 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20770 Try \`$0 --help' for more information." >&5
20771 echo "$as_me: error: unrecognized option: $1
20772 Try \`$0 --help' for more information." >&2;}
20773 { (exit 1); exit 1; }; } ;;
20775 *) ac_config_targets
="$ac_config_targets $1" ;;
20781 ac_configure_extra_args
=
20783 if $ac_cs_silent; then
20785 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20789 cat >>$CONFIG_STATUS <<_ACEOF
20790 if \$ac_cs_recheck; then
20791 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20792 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20801 cat >>$CONFIG_STATUS <<\_ACEOF
20802 for ac_config_target
in $ac_config_targets
20804 case "$ac_config_target" in
20805 # Handling of arguments.
20806 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
20807 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
20808 "dlls/Maketest.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
20809 "libs/Makelib.rules" ) CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
20810 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
20811 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20812 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
20813 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20814 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20815 "dlls/amstream/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
20816 "dlls/atl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
20817 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20818 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20819 "dlls/cabinet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20820 "dlls/capi2032/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20821 "dlls/cards/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
20822 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20823 "dlls/comcat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
20824 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20825 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20826 "dlls/commdlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/commdlg/Makefile" ;;
20827 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20828 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20829 "dlls/ctl3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
20830 "dlls/d3d8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20831 "dlls/d3d9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20832 "dlls/d3dim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20833 "dlls/d3drm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20834 "dlls/d3dx8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20835 "dlls/d3dxof/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20836 "dlls/dbghelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20837 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20838 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20839 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20840 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
20841 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
20842 "dlls/dinput8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20843 "dlls/dmband/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
20844 "dlls/dmcompos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20845 "dlls/dmime/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
20846 "dlls/dmloader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20847 "dlls/dmscript/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20848 "dlls/dmstyle/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20849 "dlls/dmsynth/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20850 "dlls/dmusic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20851 "dlls/dmusic32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20852 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
20853 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20854 "dlls/dpnet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20855 "dlls/dpnhpast/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20856 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
20857 "dlls/dsound/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20858 "dlls/dswave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
20859 "dlls/dxdiagn/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20860 "dlls/dxerr8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20861 "dlls/dxerr9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20862 "dlls/dxguid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20863 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
20864 "dlls/gdi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20865 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
20866 "dlls/glut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
20867 "dlls/hhctrl.ocx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20868 "dlls/iccvid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20869 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
20870 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20871 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20872 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
20873 "dlls/iphlpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20874 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20875 "dlls/itss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
20876 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
20877 "dlls/kernel/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20878 "dlls/lzexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
20879 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20880 "dlls/mapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20881 "dlls/mlang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
20882 "dlls/mlang/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20883 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20884 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20885 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
20886 "dlls/msacm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/Makefile" ;;
20887 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
20888 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
20889 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
20890 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
20891 "dlls/msacm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/tests/Makefile" ;;
20892 "dlls/mscms/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
20893 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20894 "dlls/mshtml/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20895 "dlls/msi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
20896 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20897 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
20898 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20899 "dlls/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20900 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20901 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20902 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20903 "dlls/msvcrt40/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20904 "dlls/msvcrtd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20905 "dlls/msvcrtd/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20906 "dlls/msvidc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20907 "dlls/msvideo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/Makefile" ;;
20908 "dlls/mswsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20909 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20910 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20911 "dlls/newdev/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
20912 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20913 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20914 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20915 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
20916 "dlls/ole32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
20917 "dlls/oleacc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20918 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20919 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20920 "dlls/olecli/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli/Makefile" ;;
20921 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20922 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20923 "dlls/olesvr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr/Makefile" ;;
20924 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20925 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
20926 "dlls/psapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
20927 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
20928 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
20929 "dlls/quartz/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
20930 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20931 "dlls/richedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/richedit/Makefile" ;;
20932 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20933 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20934 "dlls/rsabase/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20935 "dlls/rsabase/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
20936 "dlls/secur32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
20937 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
20938 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20939 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20940 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
20941 "dlls/shell32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20942 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20943 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20944 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20945 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20946 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
20947 "dlls/strmiids/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
20948 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20949 "dlls/ttydrv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
20950 "dlls/twain/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain/Makefile" ;;
20951 "dlls/unicows/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
20952 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
20953 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20954 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20955 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
20956 "dlls/user/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20957 "dlls/uuid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
20958 "dlls/uxtheme/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20959 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20960 "dlls/vdmdbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
20961 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
20962 "dlls/version/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
20963 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20964 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20965 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20966 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20967 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20968 "dlls/win32s/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/win32s/Makefile" ;;
20969 "dlls/winaspi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winaspi/Makefile" ;;
20970 "dlls/wined3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20971 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
20972 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
20973 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
20974 "dlls/wininet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20975 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
20976 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20977 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
20978 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
20979 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
20980 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
20981 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
20982 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
20983 "dlls/winmm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20984 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
20985 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20986 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20987 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20988 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20989 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20990 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20991 "dlls/winnls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls/Makefile" ;;
20992 "dlls/winsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/Makefile" ;;
20993 "dlls/winsock/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
20994 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
20995 "dlls/winspool/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20996 "dlls/wintab32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20997 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20998 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
20999 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21000 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
21001 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
21002 "fonts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
21003 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
21004 "libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
21005 "libs/port/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
21006 "libs/unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/unicode/Makefile" ;;
21007 "libs/wine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
21008 "libs/wpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
21009 "loader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
21010 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
21011 "programs/avitools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/avitools/Makefile" ;;
21012 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
21013 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21014 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
21015 "programs/expand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
21016 "programs/msiexec/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
21017 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
21018 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
21019 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
21020 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21021 "programs/rpcss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
21022 "programs/rundll32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
21023 "programs/start/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
21024 "programs/taskmgr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21025 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21026 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
21027 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
21028 "programs/wineboot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
21029 "programs/winebrowser/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21030 "programs/winecfg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
21031 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21032 "programs/winedbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
21033 "programs/winefile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
21034 "programs/winemenubuilder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21035 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
21036 "programs/winepath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
21037 "programs/winetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
21038 "programs/winevdm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
21039 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
21040 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
21041 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
21042 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
21043 "tools/widl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
21044 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
21045 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
21046 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
21047 "tools/winegcc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
21048 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
21049 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
21050 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
21051 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
21052 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
21053 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
21054 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
21055 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
21056 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
21057 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
21058 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
21059 "dlls/user/dde" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/dde" ;;
21060 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
21061 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
21062 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
21063 "misc" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS misc" ;;
21064 "programs/regedit/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regedit/tests" ;;
21065 "windows" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS windows" ;;
21066 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
21067 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21068 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21069 { (exit 1); exit 1; }; };;
21073 # If the user did not use the arguments to specify the items to instantiate,
21074 # then the envvar interface is used. Set only those that are not.
21075 # We use the long form for the default assignment because of an extremely
21076 # bizarre bug on SunOS 4.1.3.
21077 if $ac_need_defaults; then
21078 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21079 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21080 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21083 # Have a temporary directory for convenience. Make it in the build tree
21084 # simply because there is no reason to put it here, and in addition,
21085 # creating and moving files from /tmp can sometimes cause problems.
21086 # Create a temporary directory, and hook for its removal unless debugging.
21089 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21090 trap '{ (exit 1); exit 1; }' 1 2 13 15
21093 # Create a (secure) tmp directory for tmp files.
21096 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21097 test -n "$tmp" && test -d "$tmp"
21100 tmp
=.
/confstat$$
-$RANDOM
21101 (umask 077 && mkdir
$tmp)
21104 echo "$me: cannot create a temporary directory in ." >&2
21105 { (exit 1); exit 1; }
21110 cat >>$CONFIG_STATUS <<_ACEOF
21113 # CONFIG_FILES section.
21116 # No need to generate the scripts if there are no CONFIG_FILES.
21117 # This happens for instance when ./config.status config.h
21118 if test -n "\$CONFIG_FILES"; then
21119 # Protect against being on the right side of a sed subst in config.status.
21120 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21121 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21122 s,@SHELL@,$SHELL,;t t
21123 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21124 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21125 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21126 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21127 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21128 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21129 s,@exec_prefix@,$exec_prefix,;t t
21130 s,@prefix@,$prefix,;t t
21131 s,@program_transform_name@,$program_transform_name,;t t
21132 s,@bindir@,$bindir,;t t
21133 s,@sbindir@,$sbindir,;t t
21134 s,@libexecdir@,$libexecdir,;t t
21135 s,@datadir@,$datadir,;t t
21136 s,@sysconfdir@,$sysconfdir,;t t
21137 s,@sharedstatedir@,$sharedstatedir,;t t
21138 s,@localstatedir@,$localstatedir,;t t
21139 s,@libdir@,$libdir,;t t
21140 s,@includedir@,$includedir,;t t
21141 s,@oldincludedir@,$oldincludedir,;t t
21142 s,@infodir@,$infodir,;t t
21143 s,@mandir@,$mandir,;t t
21144 s,@build_alias@,$build_alias,;t t
21145 s,@host_alias@,$host_alias,;t t
21146 s,@target_alias@,$target_alias,;t t
21147 s,@DEFS@,$DEFS,;t t
21148 s,@ECHO_C@,$ECHO_C,;t t
21149 s,@ECHO_N@,$ECHO_N,;t t
21150 s,@ECHO_T@,$ECHO_T,;t t
21151 s,@LIBS@,$LIBS,;t t
21152 s,@WIN16_FILES@,$WIN16_FILES,;t t
21153 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
21154 s,@build@,$build,;t t
21155 s,@build_cpu@,$build_cpu,;t t
21156 s,@build_vendor@,$build_vendor,;t t
21157 s,@build_os@,$build_os,;t t
21158 s,@host@,$host,;t t
21159 s,@host_cpu@,$host_cpu,;t t
21160 s,@host_vendor@,$host_vendor,;t t
21161 s,@host_os@,$host_os,;t t
21162 s,@SET_MAKE@,$SET_MAKE,;t t
21164 s,@CFLAGS@,$CFLAGS,;t t
21165 s,@LDFLAGS@,$LDFLAGS,;t t
21166 s,@CPPFLAGS@,$CPPFLAGS,;t t
21167 s,@ac_ct_CC@,$ac_ct_CC,;t t
21168 s,@EXEEXT@,$EXEEXT,;t t
21169 s,@OBJEXT@,$OBJEXT,;t t
21171 s,@CXXFLAGS@,$CXXFLAGS,;t t
21172 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21173 s,@CPPBIN@,$CPPBIN,;t t
21174 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
21175 s,@TOOLSDIR@,$TOOLSDIR,;t t
21177 s,@X_CFLAGS@,$X_CFLAGS,;t t
21178 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
21179 s,@X_LIBS@,$X_LIBS,;t t
21180 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
21182 s,@LEXLIB@,$LEXLIB,;t t
21183 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
21184 s,@XLEX@,$XLEX,;t t
21185 s,@BISON@,$BISON,;t t
21187 s,@ac_ct_AS@,$ac_ct_AS,;t t
21189 s,@ac_ct_LD@,$ac_ct_LD,;t t
21191 s,@ac_ct_AR@,$ac_ct_AR,;t t
21192 s,@RANLIB@,$RANLIB,;t t
21193 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21194 s,@STRIP@,$STRIP,;t t
21195 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21196 s,@WINDRES@,$WINDRES,;t t
21197 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
21198 s,@LN_S@,$LN_S,;t t
21200 s,@EGREP@,$EGREP,;t t
21201 s,@LDCONFIG@,$LDCONFIG,;t t
21202 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21203 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21204 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21205 s,@LINT@,$LINT,;t t
21206 s,@LINTFLAGS@,$LINTFLAGS,;t t
21207 s,@DB2HTML@,$DB2HTML,;t t
21208 s,@DB2PDF@,$DB2PDF,;t t
21209 s,@DB2PS@,$DB2PS,;t t
21210 s,@DB2TXT@,$DB2TXT,;t t
21211 s,@FONTFORGE@,$FONTFORGE,;t t
21212 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
21213 s,@XLIB@,$XLIB,;t t
21214 s,@XFILES@,$XFILES,;t t
21215 s,@OPENGLFILES@,$OPENGLFILES,;t t
21216 s,@GLU32FILES@,$GLU32FILES,;t t
21217 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
21218 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
21219 s,@GLUT32FILES@,$GLUT32FILES,;t t
21220 s,@NASLIBS@,$NASLIBS,;t t
21221 s,@CURSESLIBS@,$CURSESLIBS,;t t
21222 s,@sane_devel@,$sane_devel,;t t
21223 s,@SANELIBS@,$SANELIBS,;t t
21224 s,@SANEINCL@,$SANEINCL,;t t
21225 s,@ICULIBS@,$ICULIBS,;t t
21226 s,@ft_devel@,$ft_devel,;t t
21227 s,@ft_devel2@,$ft_devel2,;t t
21228 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
21229 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
21230 s,@FONTSSUBDIRS@,$FONTSSUBDIRS,;t t
21231 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
21232 s,@ARTSLIBS@,$ARTSLIBS,;t t
21233 s,@ARTSINCL@,$ARTSINCL,;t t
21234 s,@ALSALIBS@,$ALSALIBS,;t t
21235 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
21236 s,@LCMSLIBS@,$LCMSLIBS,;t t
21237 s,@CAPI4LINUXLIBS@,$CAPI4LINUXLIBS,;t t
21238 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
21239 s,@DLLEXT@,$DLLEXT,;t t
21240 s,@DLLFLAGS@,$DLLFLAGS,;t t
21241 s,@DLLIBS@,$DLLIBS,;t t
21242 s,@LDSHARED@,$LDSHARED,;t t
21243 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
21244 s,@LIBEXT@,$LIBEXT,;t t
21245 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
21246 s,@DLLTOOL@,$DLLTOOL,;t t
21247 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
21248 s,@DLLWRAP@,$DLLWRAP,;t t
21249 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
21250 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
21251 s,@LDLIBWINEFLAGS@,$LDLIBWINEFLAGS,;t t
21252 s,@COREFOUNDATIONLIB@,$COREFOUNDATIONLIB,;t t
21253 s,@IOKITLIB@,$IOKITLIB,;t t
21254 s,@CROSSTEST@,$CROSSTEST,;t t
21255 s,@CROSSCC@,$CROSSCC,;t t
21256 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
21257 s,@LDPATH@,$LDPATH,;t t
21258 s,@CRTLIBS@,$CRTLIBS,;t t
21259 s,@SOCKETLIBS@,$SOCKETLIBS,;t t
21260 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
21261 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
21263 s,@ALLOCA@,$ALLOCA,;t t
21264 s,@LIBOBJS@,$LIBOBJS,;t t
21265 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21266 /@MAKE_RULES@/r $MAKE_RULES
21267 s,@MAKE_RULES@,,;t t
21268 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
21269 s,@MAKE_DLL_RULES@,,;t t
21270 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
21271 s,@MAKE_TEST_RULES@,,;t t
21272 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
21273 s,@MAKE_LIB_RULES@,,;t t
21274 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
21275 s,@MAKE_PROG_RULES@,,;t t
21280 cat >>$CONFIG_STATUS <<\_ACEOF
21281 # Split the substitutions into bite-sized pieces for seds with
21282 # small command number limits, like on Digital OSF/1 and HP-UX.
21283 ac_max_sed_lines
=48
21284 ac_sed_frag
=1 # Number of current file.
21285 ac_beg
=1 # First line for current file.
21286 ac_end
=$ac_max_sed_lines # Line after last line for current file.
21289 while $ac_more_lines; do
21290 if test $ac_beg -gt 1; then
21291 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21293 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21295 if test ! -s $tmp/subs.frag
; then
21296 ac_more_lines
=false
21298 # The purpose of the label and of the branching condition is to
21299 # speed up the sed processing (if there are no `@' at all, there
21300 # is no need to browse any of the substitutions).
21301 # These are the two extra sed commands mentioned above.
21303 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
21304 if test -z "$ac_sed_cmds"; then
21305 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
21307 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21309 ac_sed_frag
=`expr $ac_sed_frag + 1`
21311 ac_end
=`expr $ac_end + $ac_max_sed_lines`
21314 if test -z "$ac_sed_cmds"; then
21317 fi # test -n "$CONFIG_FILES"
21320 cat >>$CONFIG_STATUS <<\_ACEOF
21321 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
21322 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21324 - |
*:- |
*:-:* ) # input from stdin
21326 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21327 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21328 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21329 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21330 * ) ac_file_in
=$ac_file.
in ;;
21333 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21334 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21335 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21336 X"$ac_file" : 'X\(//\)[^/]' \| \
21337 X"$ac_file" : 'X\(//\)$' \| \
21338 X"$ac_file" : 'X\(/\)' \| \
21339 . : '\(.\)' 2>/dev/null ||
21341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21342 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21343 /^X\(\/\/\)$/{ s//\1/; q; }
21344 /^X\(\/\).*/{ s//\1/; q; }
21346 { if $as_mkdir_p; then
21351 while test ! -d "$as_dir"; do
21352 as_dirs
="$as_dir $as_dirs"
21353 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21354 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21355 X"$as_dir" : 'X\(//\)[^/]' \| \
21356 X"$as_dir" : 'X\(//\)$' \| \
21357 X"$as_dir" : 'X\(/\)' \| \
21358 . : '\(.\)' 2>/dev/null ||
21360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21361 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21362 /^X\(\/\/\)$/{ s//\1/; q; }
21363 /^X\(\/\).*/{ s//\1/; q; }
21366 test ! -n "$as_dirs" || mkdir
$as_dirs
21367 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21368 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21369 { (exit 1); exit 1; }; }; }
21373 if test "$ac_dir" != .
; then
21374 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21375 # A "../" for each directory in $ac_dir_suffix.
21376 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21378 ac_dir_suffix
= ac_top_builddir
=
21382 .
) # No --srcdir option. We are building in place.
21384 if test -z "$ac_top_builddir"; then
21387 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21389 [\\/]* | ?
:[\\/]* ) # Absolute path.
21390 ac_srcdir
=$srcdir$ac_dir_suffix;
21391 ac_top_srcdir
=$srcdir ;;
21392 *) # Relative path.
21393 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21394 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21397 # Do not use `cd foo && pwd` to compute absolute paths, because
21398 # the directories may not exist.
21400 .
) ac_abs_builddir
="$ac_dir";;
21403 .
) ac_abs_builddir
=`pwd`;;
21404 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21405 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21408 case $ac_abs_builddir in
21409 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21411 case ${ac_top_builddir}.
in
21412 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21413 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21414 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21417 case $ac_abs_builddir in
21418 .
) ac_abs_srcdir
=$ac_srcdir;;
21421 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21422 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21423 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21426 case $ac_abs_builddir in
21427 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21429 case $ac_top_srcdir in
21430 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21431 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21432 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21438 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21439 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21442 # Let's still pretend it is `configure' which instantiates (i.e., don't
21443 # use $as_me), people would be surprised to read:
21444 # /* config.h. Generated by config.status. */
21445 if test x
"$ac_file" = x-
; then
21448 configure_input
="$ac_file. "
21450 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21451 sed 's,.*/,,'` by configure."
21453 # First look for the input files in the build tree, otherwise in the
21455 ac_file_inputs
=`IFS=:
21456 for f in $ac_file_in; do
21458 -) echo $tmp/stdin ;;
21460 # Absolute (can't be DOS-style, as IFS=:)
21461 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21462 echo "$as_me: error: cannot find input file: $f" >&2;}
21463 { (exit 1); exit 1; }; }
21466 if test -f "$f"; then
21469 elif test -f "$srcdir/$f"; then
21474 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21475 echo "$as_me: error: cannot find input file: $f" >&2;}
21476 { (exit 1); exit 1; }; }
21479 done` ||
{ (exit 1); exit 1; }
21481 if test x
"$ac_file" != x-
; then
21482 { echo "$as_me:$LINENO: creating $ac_file" >&5
21483 echo "$as_me: creating $ac_file" >&6;}
21487 cat >>$CONFIG_STATUS <<_ACEOF
21491 cat >>$CONFIG_STATUS <<\_ACEOF
21493 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21494 s
,@configure_input@
,$configure_input,;t t
21495 s
,@srcdir@
,$ac_srcdir,;t t
21496 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21497 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21498 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21499 s
,@builddir@
,$ac_builddir,;t t
21500 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21501 s
,@top_builddir@
,$ac_top_builddir,;t t
21502 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21503 s
,@INSTALL@
,$ac_INSTALL,;t t
21504 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21506 if test x"$ac_file" != x-; then
21507 mv $tmp/out $ac_file
21515 cat >>$CONFIG_STATUS <<\_ACEOF
21518 # CONFIG_HEADER section.
21521 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21522 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21524 # ac_d sets the value in "#define NAME VALUE" lines.
21525 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21526 ac_dB
='[ ].*$,\1#\2'
21529 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21530 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21531 ac_uB
='$,\1#\2define\3'
21535 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21536 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21538 - |
*:- |
*:-:* ) # input from stdin
21540 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21541 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21542 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21543 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21544 * ) ac_file_in
=$ac_file.
in ;;
21547 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21548 echo "$as_me: creating $ac_file" >&6;}
21550 # First look for the input files in the build tree, otherwise in the
21552 ac_file_inputs
=`IFS=:
21553 for f in $ac_file_in; do
21555 -) echo $tmp/stdin ;;
21557 # Absolute (can't be DOS-style, as IFS=:)
21558 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21559 echo "$as_me: error: cannot find input file: $f" >&2;}
21560 { (exit 1); exit 1; }; }
21561 # Do quote $f, to prevent DOS paths from being IFS'd.
21564 if test -f "$f"; then
21567 elif test -f "$srcdir/$f"; then
21572 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21573 echo "$as_me: error: cannot find input file: $f" >&2;}
21574 { (exit 1); exit 1; }; }
21577 done` ||
{ (exit 1); exit 1; }
21578 # Remove the trailing spaces.
21579 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21583 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21584 # `conftest.undefs', that substitutes the proper values into
21585 # config.h.in to produce config.h. The first handles `#define'
21586 # templates, and the second `#undef' templates.
21587 # And first: Protect against being on the right side of a sed subst in
21588 # config.status. Protect against being in an unquoted here document
21589 # in config.status.
21590 rm -f conftest.defines conftest.undefs
21591 # Using a here document instead of a string reduces the quoting nightmare.
21592 # Putting comments in sed scripts is not portable.
21594 # `end' is used to avoid that the second main sed command (meant for
21595 # 0-ary CPP macros) applies to n-ary macro definitions.
21596 # See the Autoconf documentation for `clear'.
21597 cat >confdef2sed.
sed <<\_ACEOF
21602 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21604 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21607 # If some macros were called several times there might be several times
21608 # the same #defines, which is useless. Nevertheless, we may not want to
21609 # sort them, since we want the *last* AC-DEFINE to be honored.
21610 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21611 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21612 rm -f confdef2sed.sed
21614 # This sed command replaces #undef with comments. This is necessary, for
21615 # example, in the case of _POSIX_SOURCE, which is predefined and required
21616 # on some systems where configure will not decide to define it.
21617 cat >>conftest.undefs <<\_ACEOF
21618 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21621 # Break up conftest.defines because some shells have a limit on the size
21622 # of here documents, and old seds have small limits too (100 cmds).
21623 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21624 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21625 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21626 echo ' :' >>$CONFIG_STATUS
21627 rm -f conftest.tail
21628 while grep . conftest.defines >/dev/null
21630 # Write a limited-size here document to $tmp/defines.sed.
21631 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21632 # Speed up: don't consider the non `#define' lines.
21633 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21634 # Work around the forget-to-reset-the-flag bug.
21635 echo 't clr' >>$CONFIG_STATUS
21636 echo ': clr' >>$CONFIG_STATUS
21637 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21639 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21641 mv $tmp/out $tmp/in
21643 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21644 rm -f conftest.defines
21645 mv conftest.
tail conftest.defines
21647 rm -f conftest.defines
21648 echo ' fi # grep' >>$CONFIG_STATUS
21649 echo >>$CONFIG_STATUS
21651 # Break up conftest.undefs because some shells have a limit on the size
21652 # of here documents, and old seds have small limits too (100 cmds).
21653 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21654 rm -f conftest.
tail
21655 while grep . conftest.undefs
>/dev
/null
21657 # Write a limited-size here document to $tmp/undefs.sed.
21658 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21659 # Speed up: don't consider the non
`#undef'
21660 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21661 # Work around the forget-to-reset-the-flag bug.
21662 echo 't clr' >>$CONFIG_STATUS
21663 echo ': clr' >>$CONFIG_STATUS
21664 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21666 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21668 mv $tmp/out $tmp/in
21670 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21671 rm -f conftest.undefs
21672 mv conftest.tail conftest.undefs
21674 rm -f conftest.undefs
21676 cat >>$CONFIG_STATUS <<\_ACEOF
21677 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21678 # use $as_me), people would be surprised to read:
21679 # /* config.h. Generated by config.status. */
21680 if test x
"$ac_file" = x-
; then
21681 echo "/* Generated by configure. */" >$tmp/config.h
21683 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21685 cat $tmp/in >>$tmp/config.h
21687 if test x
"$ac_file" != x-
; then
21688 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21689 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21690 echo "$as_me: $ac_file is unchanged" >&6;}
21692 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21693 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21694 X"$ac_file" : 'X\(//\)[^/]' \| \
21695 X"$ac_file" : 'X\(//\)$' \| \
21696 X"$ac_file" : 'X\(/\)' \| \
21697 . : '\(.\)' 2>/dev/null ||
21699 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21700 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21701 /^X\(\/\/\)$/{ s//\1/; q; }
21702 /^X\(\/\).*/{ s//\1/; q; }
21704 { if $as_mkdir_p; then
21709 while test ! -d "$as_dir"; do
21710 as_dirs
="$as_dir $as_dirs"
21711 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21712 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21713 X"$as_dir" : 'X\(//\)[^/]' \| \
21714 X"$as_dir" : 'X\(//\)$' \| \
21715 X"$as_dir" : 'X\(/\)' \| \
21716 . : '\(.\)' 2>/dev/null ||
21718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21720 /^X\(\/\/\)$/{ s//\1/; q; }
21721 /^X\(\/\).*/{ s//\1/; q; }
21724 test ! -n "$as_dirs" || mkdir
$as_dirs
21725 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21726 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21727 { (exit 1); exit 1; }; }; }
21730 mv $tmp/config.h
$ac_file
21734 rm -f $tmp/config.h
21738 cat >>$CONFIG_STATUS <<\_ACEOF
21741 # CONFIG_COMMANDS section.
21743 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21744 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21745 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21746 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21747 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21748 X"$ac_dest" : 'X\(//\)[^/]' \| \
21749 X"$ac_dest" : 'X\(//\)$' \| \
21750 X"$ac_dest" : 'X\(/\)' \| \
21751 . : '\(.\)' 2>/dev/null ||
21753 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21754 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21755 /^X\(\/\/\)$/{ s//\1/; q; }
21756 /^X\(\/\).*/{ s//\1/; q; }
21758 { if $as_mkdir_p; then
21763 while test ! -d "$as_dir"; do
21764 as_dirs
="$as_dir $as_dirs"
21765 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21766 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21767 X"$as_dir" : 'X\(//\)[^/]' \| \
21768 X"$as_dir" : 'X\(//\)$' \| \
21769 X"$as_dir" : 'X\(/\)' \| \
21770 . : '\(.\)' 2>/dev/null ||
21772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21773 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21774 /^X\(\/\/\)$/{ s//\1/; q; }
21775 /^X\(\/\).*/{ s//\1/; q; }
21778 test ! -n "$as_dirs" || mkdir
$as_dirs
21779 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21780 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21781 { (exit 1); exit 1; }; }; }
21785 if test "$ac_dir" != .
; then
21786 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21787 # A "../" for each directory in $ac_dir_suffix.
21788 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21790 ac_dir_suffix
= ac_top_builddir
=
21794 .
) # No --srcdir option. We are building in place.
21796 if test -z "$ac_top_builddir"; then
21799 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21801 [\\/]* | ?
:[\\/]* ) # Absolute path.
21802 ac_srcdir
=$srcdir$ac_dir_suffix;
21803 ac_top_srcdir
=$srcdir ;;
21804 *) # Relative path.
21805 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21806 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21809 # Do not use `cd foo && pwd` to compute absolute paths, because
21810 # the directories may not exist.
21812 .
) ac_abs_builddir
="$ac_dir";;
21815 .
) ac_abs_builddir
=`pwd`;;
21816 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21817 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21820 case $ac_abs_builddir in
21821 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21823 case ${ac_top_builddir}.
in
21824 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21825 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21826 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21829 case $ac_abs_builddir in
21830 .
) ac_abs_srcdir
=$ac_srcdir;;
21833 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21834 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21835 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21838 case $ac_abs_builddir in
21839 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21841 case $ac_top_srcdir in
21842 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21843 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21844 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21849 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21850 echo "$as_me: executing $ac_dest commands" >&6;}
21852 dlls
/ddraw
/d3ddevice
) test -d "dlls/ddraw/d3ddevice" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
21853 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir
"dlls/ddraw/d3ddevice") ;;
21854 dlls
/ddraw
/dclipper
) test -d "dlls/ddraw/dclipper" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
21855 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir
"dlls/ddraw/dclipper") ;;
21856 dlls
/ddraw
/ddraw
) test -d "dlls/ddraw/ddraw" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
21857 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir
"dlls/ddraw/ddraw") ;;
21858 dlls
/ddraw
/direct3d
) test -d "dlls/ddraw/direct3d" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
21859 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir
"dlls/ddraw/direct3d") ;;
21860 dlls
/ddraw
/dpalette
) test -d "dlls/ddraw/dpalette" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
21861 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir
"dlls/ddraw/dpalette") ;;
21862 dlls
/ddraw
/dsurface
) test -d "dlls/ddraw/dsurface" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
21863 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir
"dlls/ddraw/dsurface") ;;
21864 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21865 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
21866 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21867 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
21868 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21869 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
21870 dlls
/user
/dde
) test -d "dlls/user/dde" ||
({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
21871 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir
"dlls/user/dde") ;;
21872 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21873 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
21874 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21875 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
21876 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
21877 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
21878 misc
) test -d "misc" ||
({ echo "$as_me:$LINENO: creating misc" >&5
21879 echo "$as_me: creating misc" >&6;} && mkdir
"misc") ;;
21880 programs
/regedit
/tests
) test -d "programs/regedit/tests" ||
({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
21881 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir
"programs/regedit/tests") ;;
21882 windows
) test -d "windows" ||
({ echo "$as_me:$LINENO: creating windows" >&5
21883 echo "$as_me: creating windows" >&6;} && mkdir
"windows") ;;
21888 cat >>$CONFIG_STATUS <<\_ACEOF
21890 { (exit 0); exit 0; }
21892 chmod +x
$CONFIG_STATUS
21893 ac_clean_files
=$ac_clean_files_save
21896 # configure is writing to config.log, and then calls config.status.
21897 # config.status does its own redirection, appending to config.log.
21898 # Unfortunately, on DOS this fails, as config.log is still kept open
21899 # by configure, so config.status won't be able to write to it; its
21900 # output is simply discarded. So we exec the FD to /dev/null,
21901 # effectively closing config.log, so it can be properly (re)opened and
21902 # appended to by config.status. When coming back to configure, we
21903 # need to make the FD available again.
21904 if test "$no_create" != yes; then
21906 ac_config_status_args
=
21907 test "$silent" = yes &&
21908 ac_config_status_args
="$ac_config_status_args --quiet"
21910 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21912 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21913 # would make configure fail if this is the last instruction.
21914 $ac_cs_success ||
{ (exit 1); exit 1; }
21918 if test "$have_x" = "no"
21921 echo "*** Warning: X development files not found. Wine will be built without"
21922 echo "*** X support, which currently does not work, and would probably not be"
21923 echo "*** what you want anyway. You will need to install devel packages of"
21924 echo "*** Xlib/Xfree86 at the very least."
21927 if test "$wine_cv_opengl_version_OK" = "no"
21930 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21931 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21934 if test "$wine_cv_msg_freetype" = "yes"
21937 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21938 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21939 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21940 echo "*** enable Wine to use TrueType fonts."
21944 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."