2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 0.9.12.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
271 PACKAGE_TARNAME
='wine'
272 PACKAGE_VERSION
='0.9.12'
273 PACKAGE_STRING
='Wine 0.9.12'
274 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
276 ac_unique_file
="server/atom.c"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os WIN16_FILES WIN16_INSTALL SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPPBIN ac_ct_CPPBIN TOOLSDIR CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LEX LEXLIB LEX_OUTPUT_ROOT XLEX BISON AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES LN_S LN EGREP LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS FONTFORGE PKG_CONFIG PRELINK LIBPTHREAD XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS XML2LIBS XML2INCL XSLTLIBS XSLTINCL HALINCL CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS RESOLVLIBS LCMSLIBS LDAPLIBS FREETYPELIBS FREETYPEINCL ft_devel ft_devel2 FONTSSUBDIRS ARTSCCONFIG ARTSLIBS ARTSINCL ESDCONFIG ESDLIBS ESDINCL ALSALIBS AUDIOIOLIBS EXTRACFLAGS BUILTINFLAG DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLLFLAGS LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS LDEXERPATH LDDLLRPATH COREFOUNDATIONLIB IOKITLIB CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS SOCKETLIBS MAIN_BINARY EXTRA_BINARIES LDD LIBOBJS LTLIBOBJS'
315 ac_subst_files
='MAKE_RULES MAKE_DLL_RULES MAKE_IMPLIB_RULES MAKE_TEST_RULES MAKE_LIB_RULES MAKE_PROG_RULES'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CXX_set
=${CXX+set}
772 ac_env_CXX_value
=$CXX
773 ac_cv_env_CXX_set
=${CXX+set}
774 ac_cv_env_CXX_value
=$CXX
775 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
776 ac_env_CXXFLAGS_value
=$CXXFLAGS
777 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
778 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
779 ac_env_CPP_set
=${CPP+set}
780 ac_env_CPP_value
=$CPP
781 ac_cv_env_CPP_set
=${CPP+set}
782 ac_cv_env_CPP_value
=$CPP
785 # Report the --help message.
787 if test "$ac_init_help" = "long"; then
788 # Omit some internal or obsolete options to make the list less imposing.
789 # This message is too long to be a string in the A/UX 3.1 sh.
791 \`configure' configures Wine 0.9.12 to adapt to many kinds of systems.
793 Usage: $0 [OPTION]... [VAR=VALUE]...
795 To assign environment variables (e.g., CC, CFLAGS...), specify them as
796 VAR=VALUE. See below for descriptions of some of the useful variables.
798 Defaults for the options are specified in brackets.
801 -h, --help display this help and exit
802 --help=short display options specific to this package
803 --help=recursive display the short help of all the included packages
804 -V, --version display version information and exit
805 -q, --quiet, --silent do not print \`checking...' messages
806 --cache-file=FILE cache test results in FILE [disabled]
807 -C, --config-cache alias for \`--cache-file=config.cache'
808 -n, --no-create do not create output files
809 --srcdir=DIR find the sources in DIR [configure dir or \`..']
814 Installation directories:
815 --prefix=PREFIX install architecture-independent files in PREFIX
817 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
820 By default, \`make install' will install all the files in
821 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
822 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
823 for instance \`--prefix=\$HOME'.
825 For better control, use the options below.
827 Fine tuning of the installation directories:
828 --bindir=DIR user executables [EPREFIX/bin]
829 --sbindir=DIR system admin executables [EPREFIX/sbin]
830 --libexecdir=DIR program executables [EPREFIX/libexec]
831 --datadir=DIR read-only architecture-independent data [PREFIX/share]
832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
834 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
835 --libdir=DIR object code libraries [EPREFIX/lib]
836 --includedir=DIR C header files [PREFIX/include]
837 --oldincludedir=DIR C header files for non-gcc [/usr/include]
838 --infodir=DIR info documentation [PREFIX/info]
839 --mandir=DIR man documentation [PREFIX/man]
845 --x-includes=DIR X include files are
in DIR
846 --x-libraries=DIR X library files are
in DIR
849 --build=BUILD configure
for building on BUILD
[guessed
]
850 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
854 if test -n "$ac_init_help"; then
855 case $ac_init_help in
856 short | recursive
) echo "Configuration of Wine 0.9.12:";;
861 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
862 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
863 --disable-win16 do not include Win16 support
864 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
868 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
869 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
870 --without-opengl do not use OpenGL
871 --without-curses do not use curses
872 --with-wine-tools=<dir> use Wine tools from directory <dir>
873 --with-x use the X Window System
875 Some influential environment variables:
876 CC C compiler command
877 CFLAGS C compiler flags
878 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
879 nonstandard directory <lib dir>
880 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
881 headers in a nonstandard directory <include dir>
882 CXX C++ compiler command
883 CXXFLAGS C++ compiler flags
886 Use these variables to override the choices made by `configure' or to
help
887 it to
find libraries and programs with nonstandard names
/locations.
889 Report bugs to
<wine-devel@winehq.org
>.
893 if test "$ac_init_help" = "recursive"; then
894 # If there are subdirs, report their specific --help.
896 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
897 test -d $ac_dir ||
continue
900 if test "$ac_dir" != .
; then
901 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
902 # A "../" for each directory in $ac_dir_suffix.
903 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
905 ac_dir_suffix
= ac_top_builddir
=
909 .
) # No --srcdir option. We are building in place.
911 if test -z "$ac_top_builddir"; then
914 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
916 [\\/]* | ?
:[\\/]* ) # Absolute path.
917 ac_srcdir
=$srcdir$ac_dir_suffix;
918 ac_top_srcdir
=$srcdir ;;
920 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
921 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
924 # Do not use `cd foo && pwd` to compute absolute paths, because
925 # the directories may not exist.
927 .
) ac_abs_builddir
="$ac_dir";;
930 .
) ac_abs_builddir
=`pwd`;;
931 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
932 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
935 case $ac_abs_builddir in
936 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
938 case ${ac_top_builddir}.
in
939 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
940 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
941 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
944 case $ac_abs_builddir in
945 .
) ac_abs_srcdir
=$ac_srcdir;;
948 .
) ac_abs_srcdir
=$ac_abs_builddir;;
949 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
950 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
953 case $ac_abs_builddir in
954 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
956 case $ac_top_srcdir in
957 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
958 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
959 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
964 # Check for guested configure; otherwise get Cygnus style configure.
965 if test -f $ac_srcdir/configure.gnu
; then
967 $SHELL $ac_srcdir/configure.gnu
--help=recursive
968 elif test -f $ac_srcdir/configure
; then
970 $SHELL $ac_srcdir/configure
--help=recursive
971 elif test -f $ac_srcdir/configure.ac ||
972 test -f $ac_srcdir/configure.
in; then
976 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
982 test -n "$ac_init_help" && exit 0
983 if $ac_init_version; then
985 Wine configure
0.9.12
986 generated by GNU Autoconf
2.59
988 Copyright
(C
) 2003 Free Software Foundation
, Inc.
989 This configure
script is free software
; the Free Software Foundation
990 gives unlimited permission to copy
, distribute and modify it.
996 This file contains any messages produced by compilers while
997 running configure, to aid debugging if configure makes a mistake.
999 It was created by Wine $as_me 0.9.12, which was
1000 generated by GNU Autoconf 2.59. Invocation command line was
1011 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1012 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1013 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1014 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1015 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1017 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1018 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1020 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1021 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1022 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1023 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1024 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1025 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1026 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1034 test -z "$as_dir" && as_dir
=.
1035 echo "PATH: $as_dir"
1050 # Keep a trace of the command line.
1051 # Strip out --no-create and --no-recursion so they do not pile up.
1052 # Strip out --silent because we don't want to record it for future runs.
1053 # Also quote any args containing shell meta-characters.
1054 # Make two passes to allow for proper duplicate-argument suppression.
1059 ac_must_keep_next
=false
1065 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1066 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1067 |
-silent |
--silent |
--silen |
--sile |
--sil)
1069 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1070 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1073 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1075 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1076 if test $ac_must_keep_next = true
; then
1077 ac_must_keep_next
=false
# Got value, back to normal.
1080 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1081 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1082 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1083 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1084 case "$ac_configure_args0 " in
1085 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1088 -* ) ac_must_keep_next
=true
;;
1091 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1092 # Get rid of the leading space.
1098 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1099 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1101 # When interrupted or exit'd, cleanup temporary files, and complete
1102 # config.log. We remove comments because anyway the quotes in there
1103 # would cause problems or look ugly.
1104 # WARNING: Be sure not to use single quotes in there, as some shells,
1105 # such as our DU 5.0 friend, will then `close' the trap.
1106 trap 'exit_status=$?
1107 # Save into config.log some information that might help in debugging.
1112 ## ---------------- ##
1113 ## Cache variables. ##
1114 ## ---------------- ##
1117 # The following way of writing the cache mishandles newlines in values,
1120 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1123 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1128 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1135 ## ----------------- ##
1136 ## Output variables. ##
1137 ## ----------------- ##
1140 for ac_var in $ac_subst_vars
1142 eval ac_val=$`echo $ac_var`
1143 echo "$ac_var='"'"'$ac_val'"'"'"
1147 if test -n "$ac_subst_files"; then
1154 for ac_var in $ac_subst_files
1156 eval ac_val=$`echo $ac_var`
1157 echo "$ac_var='"'"'$ac_val'"'"'"
1162 if test -s confdefs.h; then
1169 sed "/^$/d" confdefs.h | sort
1172 test "$ac_signal" != 0 &&
1173 echo "$as_me: caught signal $ac_signal"
1174 echo "$as_me: exit $exit_status"
1176 rm -f core *.core &&
1177 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1180 for ac_signal
in 1 2 13 15; do
1181 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1185 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1186 rm -rf conftest
* confdefs.h
1187 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1190 # Predefined preprocessor variables.
1192 cat >>confdefs.h
<<_ACEOF
1193 #define PACKAGE_NAME "$PACKAGE_NAME"
1197 cat >>confdefs.h
<<_ACEOF
1198 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1202 cat >>confdefs.h
<<_ACEOF
1203 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1207 cat >>confdefs.h
<<_ACEOF
1208 #define PACKAGE_STRING "$PACKAGE_STRING"
1212 cat >>confdefs.h
<<_ACEOF
1213 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1217 # Let the site file select an alternate cache file if it wants to.
1218 # Prefer explicitly selected file to automatically selected ones.
1219 if test -z "$CONFIG_SITE"; then
1220 if test "x$prefix" != xNONE
; then
1221 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1223 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1226 for ac_site_file
in $CONFIG_SITE; do
1227 if test -r "$ac_site_file"; then
1228 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1229 echo "$as_me: loading site script $ac_site_file" >&6;}
1230 sed 's/^/| /' "$ac_site_file" >&5
1235 if test -r "$cache_file"; then
1236 # Some versions of bash will fail to source /dev/null (special
1237 # files actually), so we avoid doing that.
1238 if test -f "$cache_file"; then
1239 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1240 echo "$as_me: loading cache $cache_file" >&6;}
1242 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1243 *) . .
/$cache_file;;
1247 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1248 echo "$as_me: creating cache $cache_file" >&6;}
1252 # Check that the precious variables saved in the cache have kept the same
1254 ac_cache_corrupted
=false
1255 for ac_var
in `(set) 2>&1 |
1256 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1257 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1258 eval ac_new_set
=\
$ac_env_${ac_var}_set
1259 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1260 eval ac_new_val
="\$ac_env_${ac_var}_value"
1261 case $ac_old_set,$ac_new_set in
1263 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1264 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1265 ac_cache_corrupted
=: ;;
1267 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1268 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1269 ac_cache_corrupted
=: ;;
1272 if test "x$ac_old_val" != "x$ac_new_val"; then
1273 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1274 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1275 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1276 echo "$as_me: former value: $ac_old_val" >&2;}
1277 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1278 echo "$as_me: current value: $ac_new_val" >&2;}
1279 ac_cache_corrupted
=:
1282 # Pass precious variables to config.status.
1283 if test "$ac_new_set" = set; then
1285 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1287 *) ac_arg
=$ac_var=$ac_new_val ;;
1289 case " $ac_configure_args " in
1290 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1291 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1295 if $ac_cache_corrupted; then
1296 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1297 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1298 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1299 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1300 { (exit 1); exit 1; }; }
1304 ac_cpp
='$CPP $CPPFLAGS'
1305 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1306 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1307 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1336 ac_config_headers
="$ac_config_headers include/config.h"
1339 for ac_dir
in tools
$srcdir/tools
; do
1340 if test -f $ac_dir/install-sh
; then
1342 ac_install_sh
="$ac_aux_dir/install-sh -c"
1344 elif test -f $ac_dir/install.sh
; then
1346 ac_install_sh
="$ac_aux_dir/install.sh -c"
1348 elif test -f $ac_dir/shtool
; then
1350 ac_install_sh
="$ac_aux_dir/shtool install -c"
1354 if test -z "$ac_aux_dir"; then
1355 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1356 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1357 { (exit 1); exit 1; }; }
1359 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1360 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1361 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1365 # Check whether --enable-win16 or --disable-win16 was given.
1366 if test "${enable_win16+set}" = set; then
1367 enableval
="$enable_win16"
1370 # Check whether --enable-win64 or --disable-win64 was given.
1371 if test "${enable_win64+set}" = set; then
1372 enableval
="$enable_win64"
1377 # Check whether --with-opengl or --without-opengl was given.
1378 if test "${with_opengl+set}" = set; then
1379 withval
="$with_opengl"
1383 # Check whether --with-curses or --without-curses was given.
1384 if test "${with_curses+set}" = set; then
1385 withval
="$with_curses"
1389 # Check whether --with-wine-tools or --without-wine-tools was given.
1390 if test "${with_wine_tools+set}" = set; then
1391 withval
="$with_wine_tools"
1395 # Make sure we can run config.sub.
1396 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1397 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1398 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1399 { (exit 1); exit 1; }; }
1401 echo "$as_me:$LINENO: checking build system type" >&5
1402 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1403 if test "${ac_cv_build+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1406 ac_cv_build_alias
=$build_alias
1407 test -z "$ac_cv_build_alias" &&
1408 ac_cv_build_alias
=`$ac_config_guess`
1409 test -z "$ac_cv_build_alias" &&
1410 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1411 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1412 { (exit 1); exit 1; }; }
1413 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1414 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1415 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1416 { (exit 1); exit 1; }; }
1419 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1420 echo "${ECHO_T}$ac_cv_build" >&6
1422 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1423 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1424 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1427 echo "$as_me:$LINENO: checking host system type" >&5
1428 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1429 if test "${ac_cv_host+set}" = set; then
1430 echo $ECHO_N "(cached) $ECHO_C" >&6
1432 ac_cv_host_alias
=$host_alias
1433 test -z "$ac_cv_host_alias" &&
1434 ac_cv_host_alias
=$ac_cv_build_alias
1435 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1436 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1437 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1438 { (exit 1); exit 1; }; }
1441 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1442 echo "${ECHO_T}$ac_cv_host" >&6
1444 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1445 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1446 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1451 if test "x$enable_win64" != "xyes"
1453 test -n "$CC" || CC
="gcc -m32"
1454 test -n "$LD" || LD
="ld -m elf_i386"
1455 test -n "$AS" || AS
="as --32"
1463 if test "x$enable_win16" != "xno"
1470 WIN16_FILES
="\$(WIN16_FILES)"
1472 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1474 if test "x$enable_win16" != "xyes"
1481 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1482 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1483 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1484 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1485 echo $ECHO_N "(cached) $ECHO_C" >&6
1487 cat >conftest.
make <<\_ACEOF
1489 @
echo 'ac_maketemp="$(MAKE)"'
1491 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1492 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1493 if test -n "$ac_maketemp"; then
1494 eval ac_cv_prog_make_
${ac_make}_set
=yes
1496 eval ac_cv_prog_make_
${ac_make}_set
=no
1500 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1501 echo "$as_me:$LINENO: result: yes" >&5
1502 echo "${ECHO_T}yes" >&6
1505 echo "$as_me:$LINENO: result: no" >&5
1506 echo "${ECHO_T}no" >&6
1507 SET_MAKE
="MAKE=${MAKE-make}"
1511 ac_cpp
='$CPP $CPPFLAGS'
1512 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1513 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1514 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1515 if test -n "$ac_tool_prefix"; then
1516 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1517 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1518 echo "$as_me:$LINENO: checking for $ac_word" >&5
1519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1520 if test "${ac_cv_prog_CC+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 if test -n "$CC"; then
1524 ac_cv_prog_CC
="$CC" # Let the user override the test.
1526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1530 test -z "$as_dir" && as_dir
=.
1531 for ac_exec_ext
in '' $ac_executable_extensions; do
1532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1533 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1543 if test -n "$CC"; then
1544 echo "$as_me:$LINENO: result: $CC" >&5
1545 echo "${ECHO_T}$CC" >&6
1547 echo "$as_me:$LINENO: result: no" >&5
1548 echo "${ECHO_T}no" >&6
1552 if test -z "$ac_cv_prog_CC"; then
1554 # Extract the first word of "gcc", so it can be a program name with args.
1555 set dummy gcc
; ac_word
=$2
1556 echo "$as_me:$LINENO: checking for $ac_word" >&5
1557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1558 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1559 echo $ECHO_N "(cached) $ECHO_C" >&6
1561 if test -n "$ac_ct_CC"; then
1562 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1568 test -z "$as_dir" && as_dir
=.
1569 for ac_exec_ext
in '' $ac_executable_extensions; do
1570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1571 ac_cv_prog_ac_ct_CC
="gcc"
1572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1580 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1581 if test -n "$ac_ct_CC"; then
1582 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1583 echo "${ECHO_T}$ac_ct_CC" >&6
1585 echo "$as_me:$LINENO: result: no" >&5
1586 echo "${ECHO_T}no" >&6
1594 if test -z "$CC"; then
1595 if test -n "$ac_tool_prefix"; then
1596 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1597 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1598 echo "$as_me:$LINENO: checking for $ac_word" >&5
1599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1600 if test "${ac_cv_prog_CC+set}" = set; then
1601 echo $ECHO_N "(cached) $ECHO_C" >&6
1603 if test -n "$CC"; then
1604 ac_cv_prog_CC
="$CC" # Let the user override the test.
1606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1610 test -z "$as_dir" && as_dir
=.
1611 for ac_exec_ext
in '' $ac_executable_extensions; do
1612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1613 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1623 if test -n "$CC"; then
1624 echo "$as_me:$LINENO: result: $CC" >&5
1625 echo "${ECHO_T}$CC" >&6
1627 echo "$as_me:$LINENO: result: no" >&5
1628 echo "${ECHO_T}no" >&6
1632 if test -z "$ac_cv_prog_CC"; then
1634 # Extract the first word of "cc", so it can be a program name with args.
1635 set dummy cc
; ac_word
=$2
1636 echo "$as_me:$LINENO: checking for $ac_word" >&5
1637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1638 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1639 echo $ECHO_N "(cached) $ECHO_C" >&6
1641 if test -n "$ac_ct_CC"; then
1642 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1648 test -z "$as_dir" && as_dir
=.
1649 for ac_exec_ext
in '' $ac_executable_extensions; do
1650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1651 ac_cv_prog_ac_ct_CC
="cc"
1652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1660 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1661 if test -n "$ac_ct_CC"; then
1662 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1663 echo "${ECHO_T}$ac_ct_CC" >&6
1665 echo "$as_me:$LINENO: result: no" >&5
1666 echo "${ECHO_T}no" >&6
1675 if test -z "$CC"; then
1676 # Extract the first word of "cc", so it can be a program name with args.
1677 set dummy cc
; ac_word
=$2
1678 echo "$as_me:$LINENO: checking for $ac_word" >&5
1679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1680 if test "${ac_cv_prog_CC+set}" = set; then
1681 echo $ECHO_N "(cached) $ECHO_C" >&6
1683 if test -n "$CC"; then
1684 ac_cv_prog_CC
="$CC" # Let the user override the test.
1687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1691 test -z "$as_dir" && as_dir
=.
1692 for ac_exec_ext
in '' $ac_executable_extensions; do
1693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1694 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1695 ac_prog_rejected
=yes
1699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1705 if test $ac_prog_rejected = yes; then
1706 # We found a bogon in the path, so make sure we never use it.
1707 set dummy
$ac_cv_prog_CC
1709 if test $# != 0; then
1710 # We chose a different compiler from the bogus one.
1711 # However, it has the same basename, so the bogon will be chosen
1712 # first if we set CC to just the basename; use the full file name.
1714 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1720 if test -n "$CC"; then
1721 echo "$as_me:$LINENO: result: $CC" >&5
1722 echo "${ECHO_T}$CC" >&6
1724 echo "$as_me:$LINENO: result: no" >&5
1725 echo "${ECHO_T}no" >&6
1729 if test -z "$CC"; then
1730 if test -n "$ac_tool_prefix"; then
1733 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1734 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1735 echo "$as_me:$LINENO: checking for $ac_word" >&5
1736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1737 if test "${ac_cv_prog_CC+set}" = set; then
1738 echo $ECHO_N "(cached) $ECHO_C" >&6
1740 if test -n "$CC"; then
1741 ac_cv_prog_CC
="$CC" # Let the user override the test.
1743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1747 test -z "$as_dir" && as_dir
=.
1748 for ac_exec_ext
in '' $ac_executable_extensions; do
1749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1750 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1760 if test -n "$CC"; then
1761 echo "$as_me:$LINENO: result: $CC" >&5
1762 echo "${ECHO_T}$CC" >&6
1764 echo "$as_me:$LINENO: result: no" >&5
1765 echo "${ECHO_T}no" >&6
1768 test -n "$CC" && break
1771 if test -z "$CC"; then
1775 # Extract the first word of "$ac_prog", so it can be a program name with args.
1776 set dummy
$ac_prog; ac_word
=$2
1777 echo "$as_me:$LINENO: checking for $ac_word" >&5
1778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1779 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1780 echo $ECHO_N "(cached) $ECHO_C" >&6
1782 if test -n "$ac_ct_CC"; then
1783 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1789 test -z "$as_dir" && as_dir
=.
1790 for ac_exec_ext
in '' $ac_executable_extensions; do
1791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1792 ac_cv_prog_ac_ct_CC
="$ac_prog"
1793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1801 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1802 if test -n "$ac_ct_CC"; then
1803 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1804 echo "${ECHO_T}$ac_ct_CC" >&6
1806 echo "$as_me:$LINENO: result: no" >&5
1807 echo "${ECHO_T}no" >&6
1810 test -n "$ac_ct_CC" && break
1819 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1820 See \`config.log' for more details." >&5
1821 echo "$as_me: error: no acceptable C compiler found in \$PATH
1822 See \`config.log' for more details." >&2;}
1823 { (exit 1); exit 1; }; }
1825 # Provide some information about the compiler.
1826 echo "$as_me:$LINENO:" \
1827 "checking for C compiler version" >&5
1828 ac_compiler
=`set X $ac_compile; echo $2`
1829 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1830 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1833 (exit $ac_status); }
1834 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1835 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1838 (exit $ac_status); }
1839 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1840 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1843 (exit $ac_status); }
1845 cat >conftest.
$ac_ext <<_ACEOF
1848 cat confdefs.h
>>conftest.
$ac_ext
1849 cat >>conftest.
$ac_ext <<_ACEOF
1850 /* end confdefs.h. */
1860 ac_clean_files_save
=$ac_clean_files
1861 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1862 # Try to create an executable without -o first, disregard a.out.
1863 # It will help us diagnose broken compilers, and finding out an intuition
1865 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1866 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1867 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1868 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1869 (eval $ac_link_default) 2>&5
1871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1872 (exit $ac_status); }; then
1873 # Find the output, starting from the most likely. This scheme is
1874 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1877 # Be careful to initialize this variable, since it used to be cached.
1878 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1880 # b.out is created by i960 compilers.
1881 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1883 test -f "$ac_file" ||
continue
1885 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1888 # This is the source file.
1891 # We found the default executable, but exeext='' is most
1895 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1896 # FIXME: I believe we export ac_cv_exeext for Libtool,
1897 # but it would be cool to find out if it's true. Does anybody
1898 # maintain Libtool? --akim.
1906 echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.
$ac_ext >&5
1909 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1910 See \`config.log' for more details." >&5
1911 echo "$as_me: error: C compiler cannot create executables
1912 See \`config.log' for more details." >&2;}
1913 { (exit 77); exit 77; }; }
1916 ac_exeext
=$ac_cv_exeext
1917 echo "$as_me:$LINENO: result: $ac_file" >&5
1918 echo "${ECHO_T}$ac_file" >&6
1920 # Check the compiler produces executables we can run. If not, either
1921 # the compiler is broken, or we cross compile.
1922 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1923 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1924 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1925 # If not cross compiling, check that we can run a simple program.
1926 if test "$cross_compiling" != yes; then
1927 if { ac_try
='./$ac_file'
1928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1932 (exit $ac_status); }; }; then
1935 if test "$cross_compiling" = maybe
; then
1938 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1939 If you meant to cross compile, use \`--host'.
1940 See \`config.log' for more details." >&5
1941 echo "$as_me: error: cannot run C compiled programs.
1942 If you meant to cross compile, use \`--host'.
1943 See \`config.log' for more details." >&2;}
1944 { (exit 1); exit 1; }; }
1948 echo "$as_me:$LINENO: result: yes" >&5
1949 echo "${ECHO_T}yes" >&6
1951 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1952 ac_clean_files
=$ac_clean_files_save
1953 # Check the compiler produces executables we can run. If not, either
1954 # the compiler is broken, or we cross compile.
1955 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1956 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1957 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1958 echo "${ECHO_T}$cross_compiling" >&6
1960 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1961 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1963 (eval $ac_link) 2>&5
1965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1966 (exit $ac_status); }; then
1967 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1968 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1969 # work properly (i.e., refer to `conftest.exe'), while it won't with
1971 for ac_file
in conftest.exe conftest conftest.
*; do
1972 test -f "$ac_file" ||
continue
1974 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1975 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1982 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1983 See \`config.log' for more details." >&5
1984 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1985 See \`config.log' for more details." >&2;}
1986 { (exit 1); exit 1; }; }
1989 rm -f conftest
$ac_cv_exeext
1990 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1991 echo "${ECHO_T}$ac_cv_exeext" >&6
1993 rm -f conftest.
$ac_ext
1994 EXEEXT
=$ac_cv_exeext
1996 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1997 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1998 if test "${ac_cv_objext+set}" = set; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6
2001 cat >conftest.
$ac_ext <<_ACEOF
2004 cat confdefs.h
>>conftest.
$ac_ext
2005 cat >>conftest.
$ac_ext <<_ACEOF
2006 /* end confdefs.h. */
2016 rm -f conftest.o conftest.obj
2017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2018 (eval $ac_compile) 2>&5
2020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2021 (exit $ac_status); }; then
2022 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2024 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2025 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2030 echo "$as_me: failed program was:" >&5
2031 sed 's/^/| /' conftest.
$ac_ext >&5
2033 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2034 See \`config.log' for more details." >&5
2035 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2036 See \`config.log' for more details." >&2;}
2037 { (exit 1); exit 1; }; }
2040 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2042 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2043 echo "${ECHO_T}$ac_cv_objext" >&6
2044 OBJEXT
=$ac_cv_objext
2046 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2047 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2048 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 cat >conftest.
$ac_ext <<_ACEOF
2054 cat confdefs.h
>>conftest.
$ac_ext
2055 cat >>conftest.
$ac_ext <<_ACEOF
2056 /* end confdefs.h. */
2069 rm -f conftest.
$ac_objext
2070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2071 (eval $ac_compile) 2>conftest.er1
2073 grep -v '^ *+' conftest.er1
>conftest.err
2075 cat conftest.err
>&5
2076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2077 (exit $ac_status); } &&
2078 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083 (exit $ac_status); }; } &&
2084 { ac_try
='test -s conftest.$ac_objext'
2085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); }; }; then
2092 echo "$as_me: failed program was:" >&5
2093 sed 's/^/| /' conftest.
$ac_ext >&5
2097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2098 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2101 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2102 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2103 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2104 ac_test_CFLAGS
=${CFLAGS+set}
2105 ac_save_CFLAGS
=$CFLAGS
2107 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2108 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2109 if test "${ac_cv_prog_cc_g+set}" = set; then
2110 echo $ECHO_N "(cached) $ECHO_C" >&6
2112 cat >conftest.
$ac_ext <<_ACEOF
2115 cat confdefs.h
>>conftest.
$ac_ext
2116 cat >>conftest.
$ac_ext <<_ACEOF
2117 /* end confdefs.h. */
2127 rm -f conftest.
$ac_objext
2128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2129 (eval $ac_compile) 2>conftest.er1
2131 grep -v '^ *+' conftest.er1
>conftest.err
2133 cat conftest.err
>&5
2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 (exit $ac_status); } &&
2136 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2141 (exit $ac_status); }; } &&
2142 { ac_try
='test -s conftest.$ac_objext'
2143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147 (exit $ac_status); }; }; then
2150 echo "$as_me: failed program was:" >&5
2151 sed 's/^/| /' conftest.
$ac_ext >&5
2155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2157 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2158 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2159 if test "$ac_test_CFLAGS" = set; then
2160 CFLAGS
=$ac_save_CFLAGS
2161 elif test $ac_cv_prog_cc_g = yes; then
2162 if test "$GCC" = yes; then
2168 if test "$GCC" = yes; then
2174 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2175 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2176 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2177 echo $ECHO_N "(cached) $ECHO_C" >&6
2179 ac_cv_prog_cc_stdc
=no
2181 cat >conftest.
$ac_ext <<_ACEOF
2184 cat confdefs.h
>>conftest.
$ac_ext
2185 cat >>conftest.
$ac_ext <<_ACEOF
2186 /* end confdefs.h. */
2189 #include <sys/types.h>
2190 #include <sys/stat.h>
2191 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2192 struct buf { int x; };
2193 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2194 static char *e (p, i)
2200 static char *f (char * (*g) (char **, int), char **p, ...)
2205 s = g (p, va_arg (v,int));
2210 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2211 function prototypes and stuff, but not '\xHH' hex character constants.
2212 These don't provoke an error unfortunately, instead are silently treated
2213 as 'x'. The following induces an error, until -std1 is added to get
2214 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2215 array size at least. It's necessary to write '\x00'==0 to get something
2216 that's true only with -std1. */
2217 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2219 int test (int i, double x);
2220 struct s1 {int (*f) (int a);};
2221 struct s2 {int (*f) (double a);};
2222 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2228 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2233 # Don't try gcc -ansi; that turns off useful extensions and
2234 # breaks some systems' header files.
2235 # AIX -qlanglvl=ansi
2236 # Ultrix and OSF/1 -std1
2237 # HP-UX 10.20 and later -Ae
2238 # HP-UX older versions -Aa -D_HPUX_SOURCE
2239 # SVR4 -Xc -D__EXTENSIONS__
2240 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2242 CC
="$ac_save_CC $ac_arg"
2243 rm -f conftest.
$ac_objext
2244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2245 (eval $ac_compile) 2>conftest.er1
2247 grep -v '^ *+' conftest.er1
>conftest.err
2249 cat conftest.err
>&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); } &&
2252 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2257 (exit $ac_status); }; } &&
2258 { ac_try
='test -s conftest.$ac_objext'
2259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }; }; then
2264 ac_cv_prog_cc_stdc
=$ac_arg
2267 echo "$as_me: failed program was:" >&5
2268 sed 's/^/| /' conftest.
$ac_ext >&5
2271 rm -f conftest.err conftest.
$ac_objext
2273 rm -f conftest.
$ac_ext conftest.
$ac_objext
2278 case "x$ac_cv_prog_cc_stdc" in
2280 echo "$as_me:$LINENO: result: none needed" >&5
2281 echo "${ECHO_T}none needed" >&6 ;;
2283 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2284 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2285 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2288 # Some people use a C++ compiler to compile C. Since we use `exit',
2289 # in C++ we need to declare it. In case someone uses the same compiler
2290 # for both compiling C and C++ we need to have the C++ compiler decide
2291 # the declaration of exit, since it's the most demanding environment.
2292 cat >conftest.
$ac_ext <<_ACEOF
2297 rm -f conftest.
$ac_objext
2298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2299 (eval $ac_compile) 2>conftest.er1
2301 grep -v '^ *+' conftest.er1
>conftest.err
2303 cat conftest.err
>&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); } &&
2306 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311 (exit $ac_status); }; } &&
2312 { ac_try
='test -s conftest.$ac_objext'
2313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317 (exit $ac_status); }; }; then
2318 for ac_declaration
in \
2320 'extern "C" void std::exit (int) throw (); using std::exit;' \
2321 'extern "C" void std::exit (int); using std::exit;' \
2322 'extern "C" void exit (int) throw ();' \
2323 'extern "C" void exit (int);' \
2326 cat >conftest.
$ac_ext <<_ACEOF
2329 cat confdefs.h
>>conftest.
$ac_ext
2330 cat >>conftest.
$ac_ext <<_ACEOF
2331 /* end confdefs.h. */
2342 rm -f conftest.
$ac_objext
2343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2344 (eval $ac_compile) 2>conftest.er1
2346 grep -v '^ *+' conftest.er1
>conftest.err
2348 cat conftest.err
>&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); } &&
2351 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }; } &&
2357 { ac_try
='test -s conftest.$ac_objext'
2358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }; }; then
2365 echo "$as_me: failed program was:" >&5
2366 sed 's/^/| /' conftest.
$ac_ext >&5
2370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2371 cat >conftest.
$ac_ext <<_ACEOF
2374 cat confdefs.h
>>conftest.
$ac_ext
2375 cat >>conftest.
$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2386 rm -f conftest.
$ac_objext
2387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2388 (eval $ac_compile) 2>conftest.er1
2390 grep -v '^ *+' conftest.er1
>conftest.err
2392 cat conftest.err
>&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); } &&
2395 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2400 (exit $ac_status); }; } &&
2401 { ac_try
='test -s conftest.$ac_objext'
2402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }; }; then
2409 echo "$as_me: failed program was:" >&5
2410 sed 's/^/| /' conftest.
$ac_ext >&5
2413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2416 if test -n "$ac_declaration"; then
2417 echo '#ifdef __cplusplus' >>confdefs.h
2418 echo $ac_declaration >>confdefs.h
2419 echo '#endif' >>confdefs.h
2423 echo "$as_me: failed program was:" >&5
2424 sed 's/^/| /' conftest.
$ac_ext >&5
2427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2429 ac_cpp
='$CPP $CPPFLAGS'
2430 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2431 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2432 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2435 ac_cpp
='$CXXCPP $CPPFLAGS'
2436 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2437 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2438 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2439 if test -n "$ac_tool_prefix"; then
2440 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2442 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2443 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2444 echo "$as_me:$LINENO: checking for $ac_word" >&5
2445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2446 if test "${ac_cv_prog_CXX+set}" = set; then
2447 echo $ECHO_N "(cached) $ECHO_C" >&6
2449 if test -n "$CXX"; then
2450 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2456 test -z "$as_dir" && as_dir
=.
2457 for ac_exec_ext
in '' $ac_executable_extensions; do
2458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2459 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2469 if test -n "$CXX"; then
2470 echo "$as_me:$LINENO: result: $CXX" >&5
2471 echo "${ECHO_T}$CXX" >&6
2473 echo "$as_me:$LINENO: result: no" >&5
2474 echo "${ECHO_T}no" >&6
2477 test -n "$CXX" && break
2480 if test -z "$CXX"; then
2482 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2484 # Extract the first word of "$ac_prog", so it can be a program name with args.
2485 set dummy
$ac_prog; ac_word
=$2
2486 echo "$as_me:$LINENO: checking for $ac_word" >&5
2487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2488 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2489 echo $ECHO_N "(cached) $ECHO_C" >&6
2491 if test -n "$ac_ct_CXX"; then
2492 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2498 test -z "$as_dir" && as_dir
=.
2499 for ac_exec_ext
in '' $ac_executable_extensions; do
2500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2501 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2510 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2511 if test -n "$ac_ct_CXX"; then
2512 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2513 echo "${ECHO_T}$ac_ct_CXX" >&6
2515 echo "$as_me:$LINENO: result: no" >&5
2516 echo "${ECHO_T}no" >&6
2519 test -n "$ac_ct_CXX" && break
2521 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2527 # Provide some information about the compiler.
2528 echo "$as_me:$LINENO:" \
2529 "checking for C++ compiler version" >&5
2530 ac_compiler
=`set X $ac_compile; echo $2`
2531 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2532 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }
2536 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2537 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }
2541 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2542 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }
2547 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2548 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2549 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2550 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 cat >conftest.
$ac_ext <<_ACEOF
2555 cat confdefs.h
>>conftest.
$ac_ext
2556 cat >>conftest.
$ac_ext <<_ACEOF
2557 /* end confdefs.h. */
2570 rm -f conftest.
$ac_objext
2571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2572 (eval $ac_compile) 2>conftest.er1
2574 grep -v '^ *+' conftest.er1
>conftest.err
2576 cat conftest.err
>&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); } &&
2579 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); }; } &&
2585 { ac_try
='test -s conftest.$ac_objext'
2586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); }; }; then
2593 echo "$as_me: failed program was:" >&5
2594 sed 's/^/| /' conftest.
$ac_ext >&5
2598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2599 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2602 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2603 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2604 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2605 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2606 ac_save_CXXFLAGS
=$CXXFLAGS
2608 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2609 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2610 if test "${ac_cv_prog_cxx_g+set}" = set; then
2611 echo $ECHO_N "(cached) $ECHO_C" >&6
2613 cat >conftest.
$ac_ext <<_ACEOF
2616 cat confdefs.h
>>conftest.
$ac_ext
2617 cat >>conftest.
$ac_ext <<_ACEOF
2618 /* end confdefs.h. */
2628 rm -f conftest.
$ac_objext
2629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2630 (eval $ac_compile) 2>conftest.er1
2632 grep -v '^ *+' conftest.er1
>conftest.err
2634 cat conftest.err
>&5
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); } &&
2637 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; } &&
2643 { ac_try
='test -s conftest.$ac_objext'
2644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); }; }; then
2649 ac_cv_prog_cxx_g
=yes
2651 echo "$as_me: failed program was:" >&5
2652 sed 's/^/| /' conftest.
$ac_ext >&5
2656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2658 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2659 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2660 if test "$ac_test_CXXFLAGS" = set; then
2661 CXXFLAGS
=$ac_save_CXXFLAGS
2662 elif test $ac_cv_prog_cxx_g = yes; then
2663 if test "$GXX" = yes; then
2669 if test "$GXX" = yes; then
2675 for ac_declaration
in \
2677 'extern "C" void std::exit (int) throw (); using std::exit;' \
2678 'extern "C" void std::exit (int); using std::exit;' \
2679 'extern "C" void exit (int) throw ();' \
2680 'extern "C" void exit (int);' \
2683 cat >conftest.
$ac_ext <<_ACEOF
2686 cat confdefs.h
>>conftest.
$ac_ext
2687 cat >>conftest.
$ac_ext <<_ACEOF
2688 /* end confdefs.h. */
2699 rm -f conftest.
$ac_objext
2700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2701 (eval $ac_compile) 2>conftest.er1
2703 grep -v '^ *+' conftest.er1
>conftest.err
2705 cat conftest.err
>&5
2706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707 (exit $ac_status); } &&
2708 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); }; } &&
2714 { ac_try
='test -s conftest.$ac_objext'
2715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); }; }; then
2722 echo "$as_me: failed program was:" >&5
2723 sed 's/^/| /' conftest.
$ac_ext >&5
2727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2728 cat >conftest.
$ac_ext <<_ACEOF
2731 cat confdefs.h
>>conftest.
$ac_ext
2732 cat >>conftest.
$ac_ext <<_ACEOF
2733 /* end confdefs.h. */
2743 rm -f conftest.
$ac_objext
2744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2745 (eval $ac_compile) 2>conftest.er1
2747 grep -v '^ *+' conftest.er1
>conftest.err
2749 cat conftest.err
>&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); } &&
2752 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757 (exit $ac_status); }; } &&
2758 { ac_try
='test -s conftest.$ac_objext'
2759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); }; }; then
2766 echo "$as_me: failed program was:" >&5
2767 sed 's/^/| /' conftest.
$ac_ext >&5
2770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2773 if test -n "$ac_declaration"; then
2774 echo '#ifdef __cplusplus' >>confdefs.h
2775 echo $ac_declaration >>confdefs.h
2776 echo '#endif' >>confdefs.h
2780 ac_cpp
='$CPP $CPPFLAGS'
2781 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2782 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2783 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2785 if test -n "$ac_tool_prefix"; then
2786 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
2787 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
2788 echo "$as_me:$LINENO: checking for $ac_word" >&5
2789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2790 if test "${ac_cv_prog_CPPBIN+set}" = set; then
2791 echo $ECHO_N "(cached) $ECHO_C" >&6
2793 if test -n "$CPPBIN"; then
2794 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
2796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2800 test -z "$as_dir" && as_dir
=.
2801 for ac_exec_ext
in '' $ac_executable_extensions; do
2802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2803 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
2804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2812 CPPBIN
=$ac_cv_prog_CPPBIN
2813 if test -n "$CPPBIN"; then
2814 echo "$as_me:$LINENO: result: $CPPBIN" >&5
2815 echo "${ECHO_T}$CPPBIN" >&6
2817 echo "$as_me:$LINENO: result: no" >&5
2818 echo "${ECHO_T}no" >&6
2822 if test -z "$ac_cv_prog_CPPBIN"; then
2823 ac_ct_CPPBIN
=$CPPBIN
2824 # Extract the first word of "cpp", so it can be a program name with args.
2825 set dummy cpp
; ac_word
=$2
2826 echo "$as_me:$LINENO: checking for $ac_word" >&5
2827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2828 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
2829 echo $ECHO_N "(cached) $ECHO_C" >&6
2831 if test -n "$ac_ct_CPPBIN"; then
2832 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
2834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2838 test -z "$as_dir" && as_dir
=.
2839 for ac_exec_ext
in '' $ac_executable_extensions; do
2840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2841 ac_cv_prog_ac_ct_CPPBIN
="cpp"
2842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2848 test -z "$ac_cv_prog_ac_ct_CPPBIN" && ac_cv_prog_ac_ct_CPPBIN
="cpp"
2851 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
2852 if test -n "$ac_ct_CPPBIN"; then
2853 echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
2854 echo "${ECHO_T}$ac_ct_CPPBIN" >&6
2856 echo "$as_me:$LINENO: result: no" >&5
2857 echo "${ECHO_T}no" >&6
2860 CPPBIN
=$ac_ct_CPPBIN
2862 CPPBIN
="$ac_cv_prog_CPPBIN"
2866 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2867 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2868 if test "${wine_cv_toolsdir+set}" = set; then
2869 echo $ECHO_N "(cached) $ECHO_C" >&6
2871 if test -z "$with_wine_tools"; then
2872 if test "$cross_compiling" = "yes"; then
2873 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2874 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2875 { (exit 1); exit 1; }; }
2877 wine_cv_toolsdir
="\$(TOPOBJDIR)"
2879 elif test -d "$with_wine_tools/tools/winebuild"; then
2880 case $with_wine_tools in
2881 /*) wine_cv_toolsdir
="$with_wine_tools" ;;
2882 *) wine_cv_toolsdir
="\$(TOPOBJDIR)/$with_wine_tools" ;;
2885 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2886 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2887 { (exit 1); exit 1; }; }
2890 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2891 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2892 TOOLSDIR
=$wine_cv_toolsdir
2897 ac_cpp
='$CPP $CPPFLAGS'
2898 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2899 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2900 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2901 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2902 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2903 # On Suns, sometimes $CPP names a directory.
2904 if test -n "$CPP" && test -d "$CPP"; then
2907 if test -z "$CPP"; then
2908 if test "${ac_cv_prog_CPP+set}" = set; then
2909 echo $ECHO_N "(cached) $ECHO_C" >&6
2911 # Double quotes because CPP needs to be expanded
2912 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2915 for ac_c_preproc_warn_flag
in '' yes
2917 # Use a header file that comes with gcc, so configuring glibc
2918 # with a fresh cross-compiler works.
2919 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2920 # <limits.h> exists even on freestanding compilers.
2921 # On the NeXT, cc -E runs the code through the compiler's parser,
2922 # not just through cpp. "Syntax error" is here to catch this case.
2923 cat >conftest.
$ac_ext <<_ACEOF
2926 cat confdefs.h
>>conftest.
$ac_ext
2927 cat >>conftest.
$ac_ext <<_ACEOF
2928 /* end confdefs.h. */
2930 # include <limits.h>
2932 # include <assert.h>
2936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2937 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2939 grep -v '^ *+' conftest.er1
>conftest.err
2941 cat conftest.err
>&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); } >/dev
/null
; then
2944 if test -s conftest.err
; then
2945 ac_cpp_err
=$ac_c_preproc_warn_flag
2946 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2953 if test -z "$ac_cpp_err"; then
2956 echo "$as_me: failed program was:" >&5
2957 sed 's/^/| /' conftest.
$ac_ext >&5
2959 # Broken: fails on valid input.
2962 rm -f conftest.err conftest.
$ac_ext
2964 # OK, works on sane cases. Now check whether non-existent headers
2965 # can be detected and how.
2966 cat >conftest.
$ac_ext <<_ACEOF
2969 cat confdefs.h
>>conftest.
$ac_ext
2970 cat >>conftest.
$ac_ext <<_ACEOF
2971 /* end confdefs.h. */
2972 #include <ac_nonexistent.h>
2974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2975 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2977 grep -v '^ *+' conftest.er1
>conftest.err
2979 cat conftest.err
>&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); } >/dev
/null
; then
2982 if test -s conftest.err
; then
2983 ac_cpp_err
=$ac_c_preproc_warn_flag
2984 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2991 if test -z "$ac_cpp_err"; then
2992 # Broken: success on invalid input.
2995 echo "$as_me: failed program was:" >&5
2996 sed 's/^/| /' conftest.
$ac_ext >&5
2998 # Passes both tests.
3002 rm -f conftest.err conftest.
$ac_ext
3005 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3006 rm -f conftest.err conftest.
$ac_ext
3007 if $ac_preproc_ok; then
3019 echo "$as_me:$LINENO: result: $CPP" >&5
3020 echo "${ECHO_T}$CPP" >&6
3022 for ac_c_preproc_warn_flag
in '' yes
3024 # Use a header file that comes with gcc, so configuring glibc
3025 # with a fresh cross-compiler works.
3026 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3027 # <limits.h> exists even on freestanding compilers.
3028 # On the NeXT, cc -E runs the code through the compiler's parser,
3029 # not just through cpp. "Syntax error" is here to catch this case.
3030 cat >conftest.
$ac_ext <<_ACEOF
3033 cat confdefs.h
>>conftest.
$ac_ext
3034 cat >>conftest.
$ac_ext <<_ACEOF
3035 /* end confdefs.h. */
3037 # include <limits.h>
3039 # include <assert.h>
3043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3044 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3046 grep -v '^ *+' conftest.er1
>conftest.err
3048 cat conftest.err
>&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); } >/dev
/null
; then
3051 if test -s conftest.err
; then
3052 ac_cpp_err
=$ac_c_preproc_warn_flag
3053 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3060 if test -z "$ac_cpp_err"; then
3063 echo "$as_me: failed program was:" >&5
3064 sed 's/^/| /' conftest.
$ac_ext >&5
3066 # Broken: fails on valid input.
3069 rm -f conftest.err conftest.
$ac_ext
3071 # OK, works on sane cases. Now check whether non-existent headers
3072 # can be detected and how.
3073 cat >conftest.
$ac_ext <<_ACEOF
3076 cat confdefs.h
>>conftest.
$ac_ext
3077 cat >>conftest.
$ac_ext <<_ACEOF
3078 /* end confdefs.h. */
3079 #include <ac_nonexistent.h>
3081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3082 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3084 grep -v '^ *+' conftest.er1
>conftest.err
3086 cat conftest.err
>&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); } >/dev
/null
; then
3089 if test -s conftest.err
; then
3090 ac_cpp_err
=$ac_c_preproc_warn_flag
3091 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3098 if test -z "$ac_cpp_err"; then
3099 # Broken: success on invalid input.
3102 echo "$as_me: failed program was:" >&5
3103 sed 's/^/| /' conftest.
$ac_ext >&5
3105 # Passes both tests.
3109 rm -f conftest.err conftest.
$ac_ext
3112 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3113 rm -f conftest.err conftest.
$ac_ext
3114 if $ac_preproc_ok; then
3117 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3118 See \`config.log' for more details." >&5
3119 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3120 See \`config.log' for more details." >&2;}
3121 { (exit 1); exit 1; }; }
3125 ac_cpp
='$CPP $CPPFLAGS'
3126 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3127 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3128 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3132 if test "x$ac_path_x_has_been_run" != xyes
; then
3133 echo "$as_me:$LINENO: checking for X" >&5
3134 echo $ECHO_N "checking for X... $ECHO_C" >&6
3136 ac_path_x_has_been_run
=yes
3138 # Check whether --with-x or --without-x was given.
3139 if test "${with_x+set}" = set; then
3143 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3144 if test "x$with_x" = xno
; then
3145 # The user explicitly disabled X.
3148 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
3149 # Both variables are already set.
3152 if test "${ac_cv_have_x+set}" = set; then
3153 echo $ECHO_N "(cached) $ECHO_C" >&6
3155 # One or both of the vars are not set, and there is no cached value.
3156 ac_x_includes
=no ac_x_libraries
=no
3158 if mkdir conftest.dir
; then
3160 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3161 cat >Imakefile
<<'_ACEOF'
3163 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3165 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
3166 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3167 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3168 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3169 for ac_extension
in a so sl
; do
3170 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
3171 test -f $ac_im_libdir/libX11.
$ac_extension; then
3172 ac_im_usrlibdir
=$ac_im_libdir; break
3175 # Screen out bogus values from the imake configuration. They are
3176 # bogus both because they are the default anyway, and because
3177 # using them would break gcc on systems where it needs fixed includes.
3178 case $ac_im_incroot in
3180 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
3182 case $ac_im_usrlibdir in
3184 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
3191 # Standard set of common directories for X headers.
3192 # Check X11 before X11Rn because it is often a symlink to the current release.
3204 /usr/local/X11/include
3205 /usr/local/X11R6/include
3206 /usr/local/X11R5/include
3207 /usr/local/X11R4/include
3209 /usr/local/include/X11
3210 /usr/local/include/X11R6
3211 /usr/local/include/X11R5
3212 /usr/local/include/X11R4
3216 /usr/XFree86/include/X11
3220 /usr/unsupported/include
3222 /usr/local/x11r5/include
3223 /usr/lpp/Xamples/include
3225 /usr/openwin/include
3226 /usr/openwin/share/include'
3228 if test "$ac_x_includes" = no
; then
3229 # Guess where to find include files, by looking for a specified header file.
3230 # First, try using that file with no special directory specified.
3231 cat >conftest.
$ac_ext <<_ACEOF
3234 cat confdefs.h
>>conftest.
$ac_ext
3235 cat >>conftest.
$ac_ext <<_ACEOF
3236 /* end confdefs.h. */
3237 #include <X11/Xlib.h>
3239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3240 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3242 grep -v '^ *+' conftest.er1
>conftest.err
3244 cat conftest.err
>&5
3245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 (exit $ac_status); } >/dev
/null
; then
3247 if test -s conftest.err
; then
3248 ac_cpp_err
=$ac_c_preproc_warn_flag
3249 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3256 if test -z "$ac_cpp_err"; then
3257 # We can compile using X headers with no special include directory.
3260 echo "$as_me: failed program was:" >&5
3261 sed 's/^/| /' conftest.
$ac_ext >&5
3263 for ac_dir
in $ac_x_header_dirs; do
3264 if test -r "$ac_dir/X11/Xlib.h"; then
3265 ac_x_includes
=$ac_dir
3270 rm -f conftest.err conftest.
$ac_ext
3271 fi # $ac_x_includes = no
3273 if test "$ac_x_libraries" = no
; then
3274 # Check for the libraries.
3275 # See if we find them without any special options.
3276 # Don't add to $LIBS permanently.
3279 cat >conftest.
$ac_ext <<_ACEOF
3282 cat confdefs.h
>>conftest.
$ac_ext
3283 cat >>conftest.
$ac_ext <<_ACEOF
3284 /* end confdefs.h. */
3285 #include <X11/Xlib.h>
3294 rm -f conftest.
$ac_objext conftest
$ac_exeext
3295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3296 (eval $ac_link) 2>conftest.er1
3298 grep -v '^ *+' conftest.er1
>conftest.err
3300 cat conftest.err
>&5
3301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); } &&
3303 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308 (exit $ac_status); }; } &&
3309 { ac_try
='test -s conftest$ac_exeext'
3310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314 (exit $ac_status); }; }; then
3316 # We can link X programs with no special library path.
3319 echo "$as_me: failed program was:" >&5
3320 sed 's/^/| /' conftest.
$ac_ext >&5
3323 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3325 # Don't even attempt the hair of trying to link an X program!
3326 for ac_extension
in a so sl
; do
3327 if test -r $ac_dir/libX11.
$ac_extension; then
3328 ac_x_libraries
=$ac_dir
3334 rm -f conftest.err conftest.
$ac_objext \
3335 conftest
$ac_exeext conftest.
$ac_ext
3336 fi # $ac_x_libraries = no
3338 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
3339 # Didn't find X anywhere. Cache the known absence of X.
3340 ac_cv_have_x
="have_x=no"
3342 # Record where we found X for the cache.
3343 ac_cv_have_x
="have_x=yes \
3344 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3349 eval "$ac_cv_have_x"
3352 if test "$have_x" != yes; then
3353 echo "$as_me:$LINENO: result: $have_x" >&5
3354 echo "${ECHO_T}$have_x" >&6
3357 # If each of the values was on the command line, it overrides each guess.
3358 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
3359 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
3360 # Update the cache value to reflect the command line values.
3361 ac_cv_have_x
="have_x=yes \
3362 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3363 # It might be that x_includes is empty (headers are found in the
3364 # standard search path. Then output the corresponding message
3365 ac_out_x_includes
=$x_includes
3366 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
3367 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
3368 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
3372 if test "$no_x" = yes; then
3373 # Not all programs may use this symbol, but it does not hurt to define it.
3375 cat >>confdefs.h
<<\_ACEOF
3376 #define X_DISPLAY_MISSING 1
3379 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
3381 if test -n "$x_includes"; then
3382 X_CFLAGS
="$X_CFLAGS -I$x_includes"
3385 # It would also be nice to do this for all -L options, not just this one.
3386 if test -n "$x_libraries"; then
3387 X_LIBS
="$X_LIBS -L$x_libraries"
3388 # For Solaris; some versions of Sun CC require a space after -R and
3389 # others require no space. Words are not sufficient . . . .
3390 case `(uname -sr) 2>/dev/null` in
3392 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3393 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3394 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
3395 cat >conftest.
$ac_ext <<_ACEOF
3398 cat confdefs.h
>>conftest.
$ac_ext
3399 cat >>conftest.
$ac_ext <<_ACEOF
3400 /* end confdefs.h. */
3410 rm -f conftest.
$ac_objext conftest
$ac_exeext
3411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3412 (eval $ac_link) 2>conftest.er1
3414 grep -v '^ *+' conftest.er1
>conftest.err
3416 cat conftest.err
>&5
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); } &&
3419 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); }; } &&
3425 { ac_try
='test -s conftest$ac_exeext'
3426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430 (exit $ac_status); }; }; then
3433 echo "$as_me: failed program was:" >&5
3434 sed 's/^/| /' conftest.
$ac_ext >&5
3438 rm -f conftest.err conftest.
$ac_objext \
3439 conftest
$ac_exeext conftest.
$ac_ext
3440 if test $ac_R_nospace = yes; then
3441 echo "$as_me:$LINENO: result: no" >&5
3442 echo "${ECHO_T}no" >&6
3443 X_LIBS
="$X_LIBS -R$x_libraries"
3445 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3446 cat >conftest.
$ac_ext <<_ACEOF
3449 cat confdefs.h
>>conftest.
$ac_ext
3450 cat >>conftest.
$ac_ext <<_ACEOF
3451 /* end confdefs.h. */
3461 rm -f conftest.
$ac_objext conftest
$ac_exeext
3462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3463 (eval $ac_link) 2>conftest.er1
3465 grep -v '^ *+' conftest.er1
>conftest.err
3467 cat conftest.err
>&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); } &&
3470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475 (exit $ac_status); }; } &&
3476 { ac_try
='test -s conftest$ac_exeext'
3477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); }; }; then
3484 echo "$as_me: failed program was:" >&5
3485 sed 's/^/| /' conftest.
$ac_ext >&5
3489 rm -f conftest.err conftest.
$ac_objext \
3490 conftest
$ac_exeext conftest.
$ac_ext
3491 if test $ac_R_space = yes; then
3492 echo "$as_me:$LINENO: result: yes" >&5
3493 echo "${ECHO_T}yes" >&6
3494 X_LIBS
="$X_LIBS -R $x_libraries"
3496 echo "$as_me:$LINENO: result: neither works" >&5
3497 echo "${ECHO_T}neither works" >&6
3504 # Check for system-dependent libraries X programs must link with.
3505 # Do this before checking for the system-independent R6 libraries
3506 # (-lICE), since we may need -lsocket or whatever for X linking.
3508 if test "$ISC" = yes; then
3509 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
3511 # Martyn Johnson says this is needed for Ultrix, if the X
3512 # libraries were built with DECnet support. And Karl Berry says
3513 # the Alpha needs dnet_stub (dnet does not exist).
3514 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
3515 cat >conftest.
$ac_ext <<_ACEOF
3518 cat confdefs.h
>>conftest.
$ac_ext
3519 cat >>conftest.
$ac_ext <<_ACEOF
3520 /* end confdefs.h. */
3522 /* Override any gcc2 internal prototype to avoid an error. */
3526 /* We use char because int might match the return type of a gcc2
3527 builtin and then its argument prototype would still apply. */
3528 char XOpenDisplay ();
3537 rm -f conftest.
$ac_objext conftest
$ac_exeext
3538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3539 (eval $ac_link) 2>conftest.er1
3541 grep -v '^ *+' conftest.er1
>conftest.err
3543 cat conftest.err
>&5
3544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 (exit $ac_status); } &&
3546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551 (exit $ac_status); }; } &&
3552 { ac_try
='test -s conftest$ac_exeext'
3553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); }; }; then
3560 echo "$as_me: failed program was:" >&5
3561 sed 's/^/| /' conftest.
$ac_ext >&5
3563 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3564 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3565 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3566 echo $ECHO_N "(cached) $ECHO_C" >&6
3568 ac_check_lib_save_LIBS
=$LIBS
3570 cat >conftest.
$ac_ext <<_ACEOF
3573 cat confdefs.h
>>conftest.
$ac_ext
3574 cat >>conftest.
$ac_ext <<_ACEOF
3575 /* end confdefs.h. */
3577 /* Override any gcc2 internal prototype to avoid an error. */
3581 /* We use char because int might match the return type of a gcc2
3582 builtin and then its argument prototype would still apply. */
3592 rm -f conftest.
$ac_objext conftest
$ac_exeext
3593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3594 (eval $ac_link) 2>conftest.er1
3596 grep -v '^ *+' conftest.er1
>conftest.err
3598 cat conftest.err
>&5
3599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600 (exit $ac_status); } &&
3601 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); }; } &&
3607 { ac_try
='test -s conftest$ac_exeext'
3608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); }; }; then
3613 ac_cv_lib_dnet_dnet_ntoa
=yes
3615 echo "$as_me: failed program was:" >&5
3616 sed 's/^/| /' conftest.
$ac_ext >&5
3618 ac_cv_lib_dnet_dnet_ntoa
=no
3620 rm -f conftest.err conftest.
$ac_objext \
3621 conftest
$ac_exeext conftest.
$ac_ext
3622 LIBS
=$ac_check_lib_save_LIBS
3624 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3625 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3626 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3627 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
3630 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
3631 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3632 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3633 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3634 echo $ECHO_N "(cached) $ECHO_C" >&6
3636 ac_check_lib_save_LIBS
=$LIBS
3637 LIBS
="-ldnet_stub $LIBS"
3638 cat >conftest.
$ac_ext <<_ACEOF
3641 cat confdefs.h
>>conftest.
$ac_ext
3642 cat >>conftest.
$ac_ext <<_ACEOF
3643 /* end confdefs.h. */
3645 /* Override any gcc2 internal prototype to avoid an error. */
3649 /* We use char because int might match the return type of a gcc2
3650 builtin and then its argument prototype would still apply. */
3660 rm -f conftest.
$ac_objext conftest
$ac_exeext
3661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3662 (eval $ac_link) 2>conftest.er1
3664 grep -v '^ *+' conftest.er1
>conftest.err
3666 cat conftest.err
>&5
3667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3668 (exit $ac_status); } &&
3669 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3674 (exit $ac_status); }; } &&
3675 { ac_try
='test -s conftest$ac_exeext'
3676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 (exit $ac_status); }; }; then
3681 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
3683 echo "$as_me: failed program was:" >&5
3684 sed 's/^/| /' conftest.
$ac_ext >&5
3686 ac_cv_lib_dnet_stub_dnet_ntoa
=no
3688 rm -f conftest.err conftest.
$ac_objext \
3689 conftest
$ac_exeext conftest.
$ac_ext
3690 LIBS
=$ac_check_lib_save_LIBS
3692 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3693 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3694 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3695 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
3700 rm -f conftest.err conftest.
$ac_objext \
3701 conftest
$ac_exeext conftest.
$ac_ext
3702 LIBS
="$ac_xsave_LIBS"
3704 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3705 # to get the SysV transport functions.
3706 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3708 # The nsl library prevents programs from opening the X display
3709 # on Irix 5.2, according to T.E. Dickey.
3710 # The functions gethostbyname, getservbyname, and inet_addr are
3711 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3712 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3713 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3714 if test "${ac_cv_func_gethostbyname+set}" = set; then
3715 echo $ECHO_N "(cached) $ECHO_C" >&6
3717 cat >conftest.
$ac_ext <<_ACEOF
3720 cat confdefs.h
>>conftest.
$ac_ext
3721 cat >>conftest.
$ac_ext <<_ACEOF
3722 /* end confdefs.h. */
3723 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3725 #define gethostbyname innocuous_gethostbyname
3727 /* System header to define __stub macros and hopefully few prototypes,
3728 which can conflict with char gethostbyname (); below.
3729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3730 <limits.h> exists even on freestanding compilers. */
3733 # include <limits.h>
3735 # include <assert.h>
3738 #undef gethostbyname
3740 /* Override any gcc2 internal prototype to avoid an error. */
3745 /* We use char because int might match the return type of a gcc2
3746 builtin and then its argument prototype would still apply. */
3747 char gethostbyname ();
3748 /* The GNU C library defines this for functions which it implements
3749 to always fail with ENOSYS. Some functions are actually named
3750 something starting with __ and the normal name is an alias. */
3751 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3754 char (*f) () = gethostbyname;
3763 return f != gethostbyname;
3768 rm -f conftest.
$ac_objext conftest
$ac_exeext
3769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3770 (eval $ac_link) 2>conftest.er1
3772 grep -v '^ *+' conftest.er1
>conftest.err
3774 cat conftest.err
>&5
3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 (exit $ac_status); } &&
3777 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 (exit $ac_status); }; } &&
3783 { ac_try
='test -s conftest$ac_exeext'
3784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3788 (exit $ac_status); }; }; then
3789 ac_cv_func_gethostbyname
=yes
3791 echo "$as_me: failed program was:" >&5
3792 sed 's/^/| /' conftest.
$ac_ext >&5
3794 ac_cv_func_gethostbyname
=no
3796 rm -f conftest.err conftest.
$ac_objext \
3797 conftest
$ac_exeext conftest.
$ac_ext
3799 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3800 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3802 if test $ac_cv_func_gethostbyname = no
; then
3803 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3804 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3805 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3806 echo $ECHO_N "(cached) $ECHO_C" >&6
3808 ac_check_lib_save_LIBS
=$LIBS
3810 cat >conftest.
$ac_ext <<_ACEOF
3813 cat confdefs.h
>>conftest.
$ac_ext
3814 cat >>conftest.
$ac_ext <<_ACEOF
3815 /* end confdefs.h. */
3817 /* Override any gcc2 internal prototype to avoid an error. */
3821 /* We use char because int might match the return type of a gcc2
3822 builtin and then its argument prototype would still apply. */
3823 char gethostbyname ();
3832 rm -f conftest.
$ac_objext conftest
$ac_exeext
3833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3834 (eval $ac_link) 2>conftest.er1
3836 grep -v '^ *+' conftest.er1
>conftest.err
3838 cat conftest.err
>&5
3839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3840 (exit $ac_status); } &&
3841 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); }; } &&
3847 { ac_try
='test -s conftest$ac_exeext'
3848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852 (exit $ac_status); }; }; then
3853 ac_cv_lib_nsl_gethostbyname
=yes
3855 echo "$as_me: failed program was:" >&5
3856 sed 's/^/| /' conftest.
$ac_ext >&5
3858 ac_cv_lib_nsl_gethostbyname
=no
3860 rm -f conftest.err conftest.
$ac_objext \
3861 conftest
$ac_exeext conftest.
$ac_ext
3862 LIBS
=$ac_check_lib_save_LIBS
3864 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3865 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3866 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3867 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3870 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3871 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3872 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3873 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3874 echo $ECHO_N "(cached) $ECHO_C" >&6
3876 ac_check_lib_save_LIBS
=$LIBS
3878 cat >conftest.
$ac_ext <<_ACEOF
3881 cat confdefs.h
>>conftest.
$ac_ext
3882 cat >>conftest.
$ac_ext <<_ACEOF
3883 /* end confdefs.h. */
3885 /* Override any gcc2 internal prototype to avoid an error. */
3889 /* We use char because int might match the return type of a gcc2
3890 builtin and then its argument prototype would still apply. */
3891 char gethostbyname ();
3900 rm -f conftest.
$ac_objext conftest
$ac_exeext
3901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3902 (eval $ac_link) 2>conftest.er1
3904 grep -v '^ *+' conftest.er1
>conftest.err
3906 cat conftest.err
>&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); } &&
3909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); }; } &&
3915 { ac_try
='test -s conftest$ac_exeext'
3916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); }; }; then
3921 ac_cv_lib_bsd_gethostbyname
=yes
3923 echo "$as_me: failed program was:" >&5
3924 sed 's/^/| /' conftest.
$ac_ext >&5
3926 ac_cv_lib_bsd_gethostbyname
=no
3928 rm -f conftest.err conftest.
$ac_objext \
3929 conftest
$ac_exeext conftest.
$ac_ext
3930 LIBS
=$ac_check_lib_save_LIBS
3932 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3933 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3934 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3935 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3941 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3942 # socket/setsockopt and other routines are undefined under SCO ODT
3943 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3944 # on later versions), says Simon Leinen: it contains gethostby*
3945 # variants that don't use the name server (or something). -lsocket
3946 # must be given before -lnsl if both are needed. We assume that
3947 # if connect needs -lnsl, so does gethostbyname.
3948 echo "$as_me:$LINENO: checking for connect" >&5
3949 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3950 if test "${ac_cv_func_connect+set}" = set; then
3951 echo $ECHO_N "(cached) $ECHO_C" >&6
3953 cat >conftest.
$ac_ext <<_ACEOF
3956 cat confdefs.h
>>conftest.
$ac_ext
3957 cat >>conftest.
$ac_ext <<_ACEOF
3958 /* end confdefs.h. */
3959 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3961 #define connect innocuous_connect
3963 /* System header to define __stub macros and hopefully few prototypes,
3964 which can conflict with char connect (); below.
3965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3966 <limits.h> exists even on freestanding compilers. */
3969 # include <limits.h>
3971 # include <assert.h>
3976 /* Override any gcc2 internal prototype to avoid an error. */
3981 /* We use char because int might match the return type of a gcc2
3982 builtin and then its argument prototype would still apply. */
3984 /* The GNU C library defines this for functions which it implements
3985 to always fail with ENOSYS. Some functions are actually named
3986 something starting with __ and the normal name is an alias. */
3987 #if defined (__stub_connect) || defined (__stub___connect)
3990 char (*f) () = connect;
3999 return f != connect;
4004 rm -f conftest.
$ac_objext conftest
$ac_exeext
4005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4006 (eval $ac_link) 2>conftest.er1
4008 grep -v '^ *+' conftest.er1
>conftest.err
4010 cat conftest.err
>&5
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); } &&
4013 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018 (exit $ac_status); }; } &&
4019 { ac_try
='test -s conftest$ac_exeext'
4020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); }; }; then
4025 ac_cv_func_connect
=yes
4027 echo "$as_me: failed program was:" >&5
4028 sed 's/^/| /' conftest.
$ac_ext >&5
4030 ac_cv_func_connect
=no
4032 rm -f conftest.err conftest.
$ac_objext \
4033 conftest
$ac_exeext conftest.
$ac_ext
4035 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4036 echo "${ECHO_T}$ac_cv_func_connect" >&6
4038 if test $ac_cv_func_connect = no
; then
4039 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4040 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4041 if test "${ac_cv_lib_socket_connect+set}" = set; then
4042 echo $ECHO_N "(cached) $ECHO_C" >&6
4044 ac_check_lib_save_LIBS
=$LIBS
4045 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4046 cat >conftest.
$ac_ext <<_ACEOF
4049 cat confdefs.h
>>conftest.
$ac_ext
4050 cat >>conftest.
$ac_ext <<_ACEOF
4051 /* end confdefs.h. */
4053 /* Override any gcc2 internal prototype to avoid an error. */
4057 /* We use char because int might match the return type of a gcc2
4058 builtin and then its argument prototype would still apply. */
4068 rm -f conftest.
$ac_objext conftest
$ac_exeext
4069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4070 (eval $ac_link) 2>conftest.er1
4072 grep -v '^ *+' conftest.er1
>conftest.err
4074 cat conftest.err
>&5
4075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076 (exit $ac_status); } &&
4077 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); }; } &&
4083 { ac_try
='test -s conftest$ac_exeext'
4084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088 (exit $ac_status); }; }; then
4089 ac_cv_lib_socket_connect
=yes
4091 echo "$as_me: failed program was:" >&5
4092 sed 's/^/| /' conftest.
$ac_ext >&5
4094 ac_cv_lib_socket_connect
=no
4096 rm -f conftest.err conftest.
$ac_objext \
4097 conftest
$ac_exeext conftest.
$ac_ext
4098 LIBS
=$ac_check_lib_save_LIBS
4100 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4101 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4102 if test $ac_cv_lib_socket_connect = yes; then
4103 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
4108 # Guillermo Gomez says -lposix is necessary on A/UX.
4109 echo "$as_me:$LINENO: checking for remove" >&5
4110 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4111 if test "${ac_cv_func_remove+set}" = set; then
4112 echo $ECHO_N "(cached) $ECHO_C" >&6
4114 cat >conftest.
$ac_ext <<_ACEOF
4117 cat confdefs.h
>>conftest.
$ac_ext
4118 cat >>conftest.
$ac_ext <<_ACEOF
4119 /* end confdefs.h. */
4120 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4122 #define remove innocuous_remove
4124 /* System header to define __stub macros and hopefully few prototypes,
4125 which can conflict with char remove (); below.
4126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4127 <limits.h> exists even on freestanding compilers. */
4130 # include <limits.h>
4132 # include <assert.h>
4137 /* Override any gcc2 internal prototype to avoid an error. */
4142 /* We use char because int might match the return type of a gcc2
4143 builtin and then its argument prototype would still apply. */
4145 /* The GNU C library defines this for functions which it implements
4146 to always fail with ENOSYS. Some functions are actually named
4147 something starting with __ and the normal name is an alias. */
4148 #if defined (__stub_remove) || defined (__stub___remove)
4151 char (*f) () = remove;
4165 rm -f conftest.
$ac_objext conftest
$ac_exeext
4166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4167 (eval $ac_link) 2>conftest.er1
4169 grep -v '^ *+' conftest.er1
>conftest.err
4171 cat conftest.err
>&5
4172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173 (exit $ac_status); } &&
4174 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179 (exit $ac_status); }; } &&
4180 { ac_try
='test -s conftest$ac_exeext'
4181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4185 (exit $ac_status); }; }; then
4186 ac_cv_func_remove
=yes
4188 echo "$as_me: failed program was:" >&5
4189 sed 's/^/| /' conftest.
$ac_ext >&5
4191 ac_cv_func_remove
=no
4193 rm -f conftest.err conftest.
$ac_objext \
4194 conftest
$ac_exeext conftest.
$ac_ext
4196 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4197 echo "${ECHO_T}$ac_cv_func_remove" >&6
4199 if test $ac_cv_func_remove = no
; then
4200 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4201 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4202 if test "${ac_cv_lib_posix_remove+set}" = set; then
4203 echo $ECHO_N "(cached) $ECHO_C" >&6
4205 ac_check_lib_save_LIBS
=$LIBS
4206 LIBS
="-lposix $LIBS"
4207 cat >conftest.
$ac_ext <<_ACEOF
4210 cat confdefs.h
>>conftest.
$ac_ext
4211 cat >>conftest.
$ac_ext <<_ACEOF
4212 /* end confdefs.h. */
4214 /* Override any gcc2 internal prototype to avoid an error. */
4218 /* We use char because int might match the return type of a gcc2
4219 builtin and then its argument prototype would still apply. */
4229 rm -f conftest.
$ac_objext conftest
$ac_exeext
4230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4231 (eval $ac_link) 2>conftest.er1
4233 grep -v '^ *+' conftest.er1
>conftest.err
4235 cat conftest.err
>&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); } &&
4238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); }; } &&
4244 { ac_try
='test -s conftest$ac_exeext'
4245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249 (exit $ac_status); }; }; then
4250 ac_cv_lib_posix_remove
=yes
4252 echo "$as_me: failed program was:" >&5
4253 sed 's/^/| /' conftest.
$ac_ext >&5
4255 ac_cv_lib_posix_remove
=no
4257 rm -f conftest.err conftest.
$ac_objext \
4258 conftest
$ac_exeext conftest.
$ac_ext
4259 LIBS
=$ac_check_lib_save_LIBS
4261 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4262 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4263 if test $ac_cv_lib_posix_remove = yes; then
4264 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
4269 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4270 echo "$as_me:$LINENO: checking for shmat" >&5
4271 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4272 if test "${ac_cv_func_shmat+set}" = set; then
4273 echo $ECHO_N "(cached) $ECHO_C" >&6
4275 cat >conftest.
$ac_ext <<_ACEOF
4278 cat confdefs.h
>>conftest.
$ac_ext
4279 cat >>conftest.
$ac_ext <<_ACEOF
4280 /* end confdefs.h. */
4281 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4283 #define shmat innocuous_shmat
4285 /* System header to define __stub macros and hopefully few prototypes,
4286 which can conflict with char shmat (); below.
4287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4288 <limits.h> exists even on freestanding compilers. */
4291 # include <limits.h>
4293 # include <assert.h>
4298 /* Override any gcc2 internal prototype to avoid an error. */
4303 /* We use char because int might match the return type of a gcc2
4304 builtin and then its argument prototype would still apply. */
4306 /* The GNU C library defines this for functions which it implements
4307 to always fail with ENOSYS. Some functions are actually named
4308 something starting with __ and the normal name is an alias. */
4309 #if defined (__stub_shmat) || defined (__stub___shmat)
4312 char (*f) () = shmat;
4326 rm -f conftest.
$ac_objext conftest
$ac_exeext
4327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4328 (eval $ac_link) 2>conftest.er1
4330 grep -v '^ *+' conftest.er1
>conftest.err
4332 cat conftest.err
>&5
4333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4334 (exit $ac_status); } &&
4335 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340 (exit $ac_status); }; } &&
4341 { ac_try
='test -s conftest$ac_exeext'
4342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346 (exit $ac_status); }; }; then
4347 ac_cv_func_shmat
=yes
4349 echo "$as_me: failed program was:" >&5
4350 sed 's/^/| /' conftest.
$ac_ext >&5
4354 rm -f conftest.err conftest.
$ac_objext \
4355 conftest
$ac_exeext conftest.
$ac_ext
4357 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4358 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4360 if test $ac_cv_func_shmat = no
; then
4361 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4362 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4363 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4364 echo $ECHO_N "(cached) $ECHO_C" >&6
4366 ac_check_lib_save_LIBS
=$LIBS
4368 cat >conftest.
$ac_ext <<_ACEOF
4371 cat confdefs.h
>>conftest.
$ac_ext
4372 cat >>conftest.
$ac_ext <<_ACEOF
4373 /* end confdefs.h. */
4375 /* Override any gcc2 internal prototype to avoid an error. */
4379 /* We use char because int might match the return type of a gcc2
4380 builtin and then its argument prototype would still apply. */
4390 rm -f conftest.
$ac_objext conftest
$ac_exeext
4391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4392 (eval $ac_link) 2>conftest.er1
4394 grep -v '^ *+' conftest.er1
>conftest.err
4396 cat conftest.err
>&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); } &&
4399 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404 (exit $ac_status); }; } &&
4405 { ac_try
='test -s conftest$ac_exeext'
4406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410 (exit $ac_status); }; }; then
4411 ac_cv_lib_ipc_shmat
=yes
4413 echo "$as_me: failed program was:" >&5
4414 sed 's/^/| /' conftest.
$ac_ext >&5
4416 ac_cv_lib_ipc_shmat
=no
4418 rm -f conftest.err conftest.
$ac_objext \
4419 conftest
$ac_exeext conftest.
$ac_ext
4420 LIBS
=$ac_check_lib_save_LIBS
4422 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4423 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4424 if test $ac_cv_lib_ipc_shmat = yes; then
4425 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
4431 # Check for libraries that X11R6 Xt/Xaw programs need.
4432 ac_save_LDFLAGS
=$LDFLAGS
4433 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
4434 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4435 # check for ICE first), but we must link in the order -lSM -lICE or
4436 # we get undefined symbols. So assume we have SM if we have ICE.
4437 # These have to be linked with before -lX11, unlike the other
4438 # libraries we check for below, so use a different variable.
4439 # John Interrante, Karl Berry
4440 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4441 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4442 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4443 echo $ECHO_N "(cached) $ECHO_C" >&6
4445 ac_check_lib_save_LIBS
=$LIBS
4446 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
4447 cat >conftest.
$ac_ext <<_ACEOF
4450 cat confdefs.h
>>conftest.
$ac_ext
4451 cat >>conftest.
$ac_ext <<_ACEOF
4452 /* end confdefs.h. */
4454 /* Override any gcc2 internal prototype to avoid an error. */
4458 /* We use char because int might match the return type of a gcc2
4459 builtin and then its argument prototype would still apply. */
4460 char IceConnectionNumber ();
4464 IceConnectionNumber ();
4469 rm -f conftest.
$ac_objext conftest
$ac_exeext
4470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4471 (eval $ac_link) 2>conftest.er1
4473 grep -v '^ *+' conftest.er1
>conftest.err
4475 cat conftest.err
>&5
4476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477 (exit $ac_status); } &&
4478 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483 (exit $ac_status); }; } &&
4484 { ac_try
='test -s conftest$ac_exeext'
4485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4489 (exit $ac_status); }; }; then
4490 ac_cv_lib_ICE_IceConnectionNumber
=yes
4492 echo "$as_me: failed program was:" >&5
4493 sed 's/^/| /' conftest.
$ac_ext >&5
4495 ac_cv_lib_ICE_IceConnectionNumber
=no
4497 rm -f conftest.err conftest.
$ac_objext \
4498 conftest
$ac_exeext conftest.
$ac_ext
4499 LIBS
=$ac_check_lib_save_LIBS
4501 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4502 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4503 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4504 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4507 LDFLAGS
=$ac_save_LDFLAGS
4511 for ac_prog
in flex
lex
4513 # Extract the first word of "$ac_prog", so it can be a program name with args.
4514 set dummy
$ac_prog; ac_word
=$2
4515 echo "$as_me:$LINENO: checking for $ac_word" >&5
4516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4517 if test "${ac_cv_prog_LEX+set}" = set; then
4518 echo $ECHO_N "(cached) $ECHO_C" >&6
4520 if test -n "$LEX"; then
4521 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4527 test -z "$as_dir" && as_dir
=.
4528 for ac_exec_ext
in '' $ac_executable_extensions; do
4529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4530 ac_cv_prog_LEX
="$ac_prog"
4531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4540 if test -n "$LEX"; then
4541 echo "$as_me:$LINENO: result: $LEX" >&5
4542 echo "${ECHO_T}$LEX" >&6
4544 echo "$as_me:$LINENO: result: no" >&5
4545 echo "${ECHO_T}no" >&6
4548 test -n "$LEX" && break
4550 test -n "$LEX" || LEX
=":"
4552 if test -z "$LEXLIB"
4554 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4555 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4556 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4557 echo $ECHO_N "(cached) $ECHO_C" >&6
4559 ac_check_lib_save_LIBS
=$LIBS
4561 cat >conftest.
$ac_ext <<_ACEOF
4564 cat confdefs.h
>>conftest.
$ac_ext
4565 cat >>conftest.
$ac_ext <<_ACEOF
4566 /* end confdefs.h. */
4568 /* Override any gcc2 internal prototype to avoid an error. */
4572 /* We use char because int might match the return type of a gcc2
4573 builtin and then its argument prototype would still apply. */
4583 rm -f conftest.
$ac_objext conftest
$ac_exeext
4584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4585 (eval $ac_link) 2>conftest.er1
4587 grep -v '^ *+' conftest.er1
>conftest.err
4589 cat conftest.err
>&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); } &&
4592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); }; } &&
4598 { ac_try
='test -s conftest$ac_exeext'
4599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603 (exit $ac_status); }; }; then
4604 ac_cv_lib_fl_yywrap
=yes
4606 echo "$as_me: failed program was:" >&5
4607 sed 's/^/| /' conftest.
$ac_ext >&5
4609 ac_cv_lib_fl_yywrap
=no
4611 rm -f conftest.err conftest.
$ac_objext \
4612 conftest
$ac_exeext conftest.
$ac_ext
4613 LIBS
=$ac_check_lib_save_LIBS
4615 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4616 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4617 if test $ac_cv_lib_fl_yywrap = yes; then
4620 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4621 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4622 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4623 echo $ECHO_N "(cached) $ECHO_C" >&6
4625 ac_check_lib_save_LIBS
=$LIBS
4627 cat >conftest.
$ac_ext <<_ACEOF
4630 cat confdefs.h
>>conftest.
$ac_ext
4631 cat >>conftest.
$ac_ext <<_ACEOF
4632 /* end confdefs.h. */
4634 /* Override any gcc2 internal prototype to avoid an error. */
4638 /* We use char because int might match the return type of a gcc2
4639 builtin and then its argument prototype would still apply. */
4649 rm -f conftest.
$ac_objext conftest
$ac_exeext
4650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4651 (eval $ac_link) 2>conftest.er1
4653 grep -v '^ *+' conftest.er1
>conftest.err
4655 cat conftest.err
>&5
4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657 (exit $ac_status); } &&
4658 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); }; } &&
4664 { ac_try
='test -s conftest$ac_exeext'
4665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); }; }; then
4670 ac_cv_lib_l_yywrap
=yes
4672 echo "$as_me: failed program was:" >&5
4673 sed 's/^/| /' conftest.
$ac_ext >&5
4675 ac_cv_lib_l_yywrap
=no
4677 rm -f conftest.err conftest.
$ac_objext \
4678 conftest
$ac_exeext conftest.
$ac_ext
4679 LIBS
=$ac_check_lib_save_LIBS
4681 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4682 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4683 if test $ac_cv_lib_l_yywrap = yes; then
4691 if test "x$LEX" != "x:"; then
4692 echo "$as_me:$LINENO: checking lex output file root" >&5
4693 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4694 if test "${ac_cv_prog_lex_root+set}" = set; then
4695 echo $ECHO_N "(cached) $ECHO_C" >&6
4697 # The minimal lex program is just a single line: %%. But some broken lexes
4698 # (Solaris, I think it was) want two %% lines, so accommodate them.
4699 cat >conftest.l
<<_ACEOF
4703 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4704 (eval $LEX conftest.l
) 2>&5
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); }
4708 if test -f lex.yy.c
; then
4709 ac_cv_prog_lex_root
=lex.yy
4710 elif test -f lexyy.c
; then
4711 ac_cv_prog_lex_root
=lexyy
4713 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4714 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4715 { (exit 1); exit 1; }; }
4718 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4719 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4721 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4723 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4724 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4725 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4726 echo $ECHO_N "(cached) $ECHO_C" >&6
4728 # POSIX says lex can declare yytext either as a pointer or an array; the
4729 # default is implementation-dependent. Figure out which it is, since
4730 # not all implementations provide the %pointer and %array declarations.
4731 ac_cv_prog_lex_yytext_pointer
=no
4732 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4734 LIBS
="$LIBS $LEXLIB"
4735 cat >conftest.
$ac_ext <<_ACEOF
4736 `cat $LEX_OUTPUT_ROOT.c`
4738 rm -f conftest.
$ac_objext conftest
$ac_exeext
4739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4740 (eval $ac_link) 2>conftest.er1
4742 grep -v '^ *+' conftest.er1
>conftest.err
4744 cat conftest.err
>&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); } &&
4747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); }; } &&
4753 { ac_try
='test -s conftest$ac_exeext'
4754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); }; }; then
4759 ac_cv_prog_lex_yytext_pointer
=yes
4761 echo "$as_me: failed program was:" >&5
4762 sed 's/^/| /' conftest.
$ac_ext >&5
4765 rm -f conftest.err conftest.
$ac_objext \
4766 conftest
$ac_exeext conftest.
$ac_ext
4768 rm -f "${LEX_OUTPUT_ROOT}.c"
4771 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4772 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4773 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4775 cat >>confdefs.h
<<\_ACEOF
4776 #define YYTEXT_POINTER 1
4783 for ac_prog
in $LEX flex
lex
4785 # Extract the first word of "$ac_prog", so it can be a program name with args.
4786 set dummy
$ac_prog; ac_word
=$2
4787 echo "$as_me:$LINENO: checking for $ac_word" >&5
4788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4789 if test "${ac_cv_prog_XLEX+set}" = set; then
4790 echo $ECHO_N "(cached) $ECHO_C" >&6
4792 if test -n "$XLEX"; then
4793 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
4795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4799 test -z "$as_dir" && as_dir
=.
4800 for ac_exec_ext
in '' $ac_executable_extensions; do
4801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4802 ac_cv_prog_XLEX
="$ac_prog"
4803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4811 XLEX
=$ac_cv_prog_XLEX
4812 if test -n "$XLEX"; then
4813 echo "$as_me:$LINENO: result: $XLEX" >&5
4814 echo "${ECHO_T}$XLEX" >&6
4816 echo "$as_me:$LINENO: result: no" >&5
4817 echo "${ECHO_T}no" >&6
4820 test -n "$XLEX" && break
4822 test -n "$XLEX" || XLEX
="none"
4824 if test "$XLEX" = "none"
4826 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4827 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4828 { (exit 1); exit 1; }; }
4831 for ac_prog
in bison
4833 # Extract the first word of "$ac_prog", so it can be a program name with args.
4834 set dummy
$ac_prog; ac_word
=$2
4835 echo "$as_me:$LINENO: checking for $ac_word" >&5
4836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4837 if test "${ac_cv_prog_BISON+set}" = set; then
4838 echo $ECHO_N "(cached) $ECHO_C" >&6
4840 if test -n "$BISON"; then
4841 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4847 test -z "$as_dir" && as_dir
=.
4848 for ac_exec_ext
in '' $ac_executable_extensions; do
4849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4850 ac_cv_prog_BISON
="$ac_prog"
4851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4859 BISON
=$ac_cv_prog_BISON
4860 if test -n "$BISON"; then
4861 echo "$as_me:$LINENO: result: $BISON" >&5
4862 echo "${ECHO_T}$BISON" >&6
4864 echo "$as_me:$LINENO: result: no" >&5
4865 echo "${ECHO_T}no" >&6
4868 test -n "$BISON" && break
4870 test -n "$BISON" || BISON
="none"
4872 if test "$BISON" = "none"
4874 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
4875 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
4876 { (exit 1); exit 1; }; }
4879 if test -n "$ac_tool_prefix"; then
4880 for ac_prog
in gas as
4882 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4883 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4884 echo "$as_me:$LINENO: checking for $ac_word" >&5
4885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4886 if test "${ac_cv_prog_AS+set}" = set; then
4887 echo $ECHO_N "(cached) $ECHO_C" >&6
4889 if test -n "$AS"; then
4890 ac_cv_prog_AS
="$AS" # Let the user override the test.
4892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4896 test -z "$as_dir" && as_dir
=.
4897 for ac_exec_ext
in '' $ac_executable_extensions; do
4898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4899 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
4900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4909 if test -n "$AS"; then
4910 echo "$as_me:$LINENO: result: $AS" >&5
4911 echo "${ECHO_T}$AS" >&6
4913 echo "$as_me:$LINENO: result: no" >&5
4914 echo "${ECHO_T}no" >&6
4917 test -n "$AS" && break
4920 if test -z "$AS"; then
4922 for ac_prog
in gas as
4924 # Extract the first word of "$ac_prog", so it can be a program name with args.
4925 set dummy
$ac_prog; ac_word
=$2
4926 echo "$as_me:$LINENO: checking for $ac_word" >&5
4927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4928 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4929 echo $ECHO_N "(cached) $ECHO_C" >&6
4931 if test -n "$ac_ct_AS"; then
4932 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4938 test -z "$as_dir" && as_dir
=.
4939 for ac_exec_ext
in '' $ac_executable_extensions; do
4940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4941 ac_cv_prog_ac_ct_AS
="$ac_prog"
4942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4950 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4951 if test -n "$ac_ct_AS"; then
4952 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4953 echo "${ECHO_T}$ac_ct_AS" >&6
4955 echo "$as_me:$LINENO: result: no" >&5
4956 echo "${ECHO_T}no" >&6
4959 test -n "$ac_ct_AS" && break
4961 test -n "$ac_ct_AS" || ac_ct_AS
="as"
4966 if test -n "$ac_tool_prefix"; then
4967 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4968 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4969 echo "$as_me:$LINENO: checking for $ac_word" >&5
4970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4971 if test "${ac_cv_prog_LD+set}" = set; then
4972 echo $ECHO_N "(cached) $ECHO_C" >&6
4974 if test -n "$LD"; then
4975 ac_cv_prog_LD
="$LD" # Let the user override the test.
4977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4981 test -z "$as_dir" && as_dir
=.
4982 for ac_exec_ext
in '' $ac_executable_extensions; do
4983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4984 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4994 if test -n "$LD"; then
4995 echo "$as_me:$LINENO: result: $LD" >&5
4996 echo "${ECHO_T}$LD" >&6
4998 echo "$as_me:$LINENO: result: no" >&5
4999 echo "${ECHO_T}no" >&6
5003 if test -z "$ac_cv_prog_LD"; then
5005 # Extract the first word of "ld", so it can be a program name with args.
5006 set dummy ld
; ac_word
=$2
5007 echo "$as_me:$LINENO: checking for $ac_word" >&5
5008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5009 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5010 echo $ECHO_N "(cached) $ECHO_C" >&6
5012 if test -n "$ac_ct_LD"; then
5013 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5019 test -z "$as_dir" && as_dir
=.
5020 for ac_exec_ext
in '' $ac_executable_extensions; do
5021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5022 ac_cv_prog_ac_ct_LD
="ld"
5023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD
="ld"
5032 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5033 if test -n "$ac_ct_LD"; then
5034 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5035 echo "${ECHO_T}$ac_ct_LD" >&6
5037 echo "$as_me:$LINENO: result: no" >&5
5038 echo "${ECHO_T}no" >&6
5046 if test -n "$ac_tool_prefix"; then
5047 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5048 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5049 echo "$as_me:$LINENO: checking for $ac_word" >&5
5050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5051 if test "${ac_cv_prog_AR+set}" = set; then
5052 echo $ECHO_N "(cached) $ECHO_C" >&6
5054 if test -n "$AR"; then
5055 ac_cv_prog_AR
="$AR" # Let the user override the test.
5057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5061 test -z "$as_dir" && as_dir
=.
5062 for ac_exec_ext
in '' $ac_executable_extensions; do
5063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5064 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5074 if test -n "$AR"; then
5075 echo "$as_me:$LINENO: result: $AR" >&5
5076 echo "${ECHO_T}$AR" >&6
5078 echo "$as_me:$LINENO: result: no" >&5
5079 echo "${ECHO_T}no" >&6
5083 if test -z "$ac_cv_prog_AR"; then
5085 # Extract the first word of "ar", so it can be a program name with args.
5086 set dummy
ar; ac_word
=$2
5087 echo "$as_me:$LINENO: checking for $ac_word" >&5
5088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5089 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5090 echo $ECHO_N "(cached) $ECHO_C" >&6
5092 if test -n "$ac_ct_AR"; then
5093 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5099 test -z "$as_dir" && as_dir
=.
5100 for ac_exec_ext
in '' $ac_executable_extensions; do
5101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5102 ac_cv_prog_ac_ct_AR
="ar"
5103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5109 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
5112 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5113 if test -n "$ac_ct_AR"; then
5114 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5115 echo "${ECHO_T}$ac_ct_AR" >&6
5117 echo "$as_me:$LINENO: result: no" >&5
5118 echo "${ECHO_T}no" >&6
5126 if test -n "$ac_tool_prefix"; then
5127 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5128 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5129 echo "$as_me:$LINENO: checking for $ac_word" >&5
5130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5131 if test "${ac_cv_prog_RANLIB+set}" = set; then
5132 echo $ECHO_N "(cached) $ECHO_C" >&6
5134 if test -n "$RANLIB"; then
5135 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5141 test -z "$as_dir" && as_dir
=.
5142 for ac_exec_ext
in '' $ac_executable_extensions; do
5143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5144 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 RANLIB
=$ac_cv_prog_RANLIB
5154 if test -n "$RANLIB"; then
5155 echo "$as_me:$LINENO: result: $RANLIB" >&5
5156 echo "${ECHO_T}$RANLIB" >&6
5158 echo "$as_me:$LINENO: result: no" >&5
5159 echo "${ECHO_T}no" >&6
5163 if test -z "$ac_cv_prog_RANLIB"; then
5164 ac_ct_RANLIB
=$RANLIB
5165 # Extract the first word of "ranlib", so it can be a program name with args.
5166 set dummy ranlib
; ac_word
=$2
5167 echo "$as_me:$LINENO: checking for $ac_word" >&5
5168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5169 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5170 echo $ECHO_N "(cached) $ECHO_C" >&6
5172 if test -n "$ac_ct_RANLIB"; then
5173 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5179 test -z "$as_dir" && as_dir
=.
5180 for ac_exec_ext
in '' $ac_executable_extensions; do
5181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5182 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5189 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5192 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5193 if test -n "$ac_ct_RANLIB"; then
5194 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5195 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5201 RANLIB
=$ac_ct_RANLIB
5203 RANLIB
="$ac_cv_prog_RANLIB"
5206 if test -n "$ac_tool_prefix"; then
5207 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5208 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5209 echo "$as_me:$LINENO: checking for $ac_word" >&5
5210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5211 if test "${ac_cv_prog_STRIP+set}" = set; then
5212 echo $ECHO_N "(cached) $ECHO_C" >&6
5214 if test -n "$STRIP"; then
5215 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5221 test -z "$as_dir" && as_dir
=.
5222 for ac_exec_ext
in '' $ac_executable_extensions; do
5223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5224 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5233 STRIP
=$ac_cv_prog_STRIP
5234 if test -n "$STRIP"; then
5235 echo "$as_me:$LINENO: result: $STRIP" >&5
5236 echo "${ECHO_T}$STRIP" >&6
5238 echo "$as_me:$LINENO: result: no" >&5
5239 echo "${ECHO_T}no" >&6
5243 if test -z "$ac_cv_prog_STRIP"; then
5245 # Extract the first word of "strip", so it can be a program name with args.
5246 set dummy strip
; ac_word
=$2
5247 echo "$as_me:$LINENO: checking for $ac_word" >&5
5248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5249 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5250 echo $ECHO_N "(cached) $ECHO_C" >&6
5252 if test -n "$ac_ct_STRIP"; then
5253 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5259 test -z "$as_dir" && as_dir
=.
5260 for ac_exec_ext
in '' $ac_executable_extensions; do
5261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5262 ac_cv_prog_ac_ct_STRIP
="strip"
5263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="strip"
5272 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5273 if test -n "$ac_ct_STRIP"; then
5274 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5275 echo "${ECHO_T}$ac_ct_STRIP" >&6
5277 echo "$as_me:$LINENO: result: no" >&5
5278 echo "${ECHO_T}no" >&6
5283 STRIP
="$ac_cv_prog_STRIP"
5286 if test -n "$ac_tool_prefix"; then
5287 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5288 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5289 echo "$as_me:$LINENO: checking for $ac_word" >&5
5290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5291 if test "${ac_cv_prog_WINDRES+set}" = set; then
5292 echo $ECHO_N "(cached) $ECHO_C" >&6
5294 if test -n "$WINDRES"; then
5295 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5301 test -z "$as_dir" && as_dir
=.
5302 for ac_exec_ext
in '' $ac_executable_extensions; do
5303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5304 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5313 WINDRES
=$ac_cv_prog_WINDRES
5314 if test -n "$WINDRES"; then
5315 echo "$as_me:$LINENO: result: $WINDRES" >&5
5316 echo "${ECHO_T}$WINDRES" >&6
5318 echo "$as_me:$LINENO: result: no" >&5
5319 echo "${ECHO_T}no" >&6
5323 if test -z "$ac_cv_prog_WINDRES"; then
5324 ac_ct_WINDRES
=$WINDRES
5325 # Extract the first word of "windres", so it can be a program name with args.
5326 set dummy windres
; ac_word
=$2
5327 echo "$as_me:$LINENO: checking for $ac_word" >&5
5328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5329 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5330 echo $ECHO_N "(cached) $ECHO_C" >&6
5332 if test -n "$ac_ct_WINDRES"; then
5333 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5339 test -z "$as_dir" && as_dir
=.
5340 for ac_exec_ext
in '' $ac_executable_extensions; do
5341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5342 ac_cv_prog_ac_ct_WINDRES
="windres"
5343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5349 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES
="false"
5352 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5353 if test -n "$ac_ct_WINDRES"; then
5354 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5355 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5357 echo "$as_me:$LINENO: result: no" >&5
5358 echo "${ECHO_T}no" >&6
5361 WINDRES
=$ac_ct_WINDRES
5363 WINDRES
="$ac_cv_prog_WINDRES"
5366 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5367 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5369 if test "$LN_S" = "ln -s"; then
5370 echo "$as_me:$LINENO: result: yes" >&5
5371 echo "${ECHO_T}yes" >&6
5373 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5374 echo "${ECHO_T}no, using $LN_S" >&6
5377 echo "$as_me:$LINENO: checking whether ln works" >&5
5378 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
5379 rm -f conf$$ conf$$.
file
5381 if ln conf$$.
file conf$$
2>/dev
/null
; then
5384 echo "$as_me:$LINENO: result: yes" >&5
5385 echo "${ECHO_T}yes" >&6
5389 echo "$as_me:$LINENO: result: no, using $LN" >&5
5390 echo "${ECHO_T}no, using $LN" >&6
5392 rm -f conf$$ conf$$.
file
5393 echo "$as_me:$LINENO: checking for egrep" >&5
5394 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5395 if test "${ac_cv_prog_egrep+set}" = set; then
5396 echo $ECHO_N "(cached) $ECHO_C" >&6
5398 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5399 then ac_cv_prog_egrep
='grep -E'
5400 else ac_cv_prog_egrep
='egrep'
5403 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5404 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5405 EGREP
=$ac_cv_prog_egrep
5408 # Extract the first word of "ldconfig", so it can be a program name with args.
5409 set dummy ldconfig
; ac_word
=$2
5410 echo "$as_me:$LINENO: checking for $ac_word" >&5
5411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5412 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5413 echo $ECHO_N "(cached) $ECHO_C" >&6
5417 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5421 for as_dir
in /sbin
/usr
/sbin
$PATH
5424 test -z "$as_dir" && as_dir
=.
5425 for ac_exec_ext
in '' $ac_executable_extensions; do
5426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5427 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5434 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5438 LDCONFIG
=$ac_cv_path_LDCONFIG
5440 if test -n "$LDCONFIG"; then
5441 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5442 echo "${ECHO_T}$LDCONFIG" >&6
5444 echo "$as_me:$LINENO: result: no" >&5
5445 echo "${ECHO_T}no" >&6
5448 # Find a good install program. We prefer a C program (faster),
5449 # so one script is as good as another. But avoid the broken or
5450 # incompatible versions:
5451 # SysV /etc/install, /usr/sbin/install
5452 # SunOS /usr/etc/install
5453 # IRIX /sbin/install
5455 # AmigaOS /C/install, which installs bootblocks on floppy discs
5456 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5457 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5458 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5459 # OS/2's system install, which has a completely different semantic
5460 # ./install, which can be erroneously created by make from ./install.sh.
5461 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5462 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5463 if test -z "$INSTALL"; then
5464 if test "${ac_cv_path_install+set}" = set; then
5465 echo $ECHO_N "(cached) $ECHO_C" >&6
5467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5471 test -z "$as_dir" && as_dir
=.
5472 # Account for people who put trailing slashes in PATH elements.
5474 .
/ | .
// |
/cC
/* | \
5475 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5476 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5479 # OSF1 and SCO ODT 3.0 have their own names for install.
5480 # Don't use installbsd from OSF since it installs stuff as root
5482 for ac_prog
in ginstall scoinst
install; do
5483 for ac_exec_ext
in '' $ac_executable_extensions; do
5484 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5485 if test $ac_prog = install &&
5486 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5487 # AIX install. It has an incompatible calling convention.
5489 elif test $ac_prog = install &&
5490 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5491 # program-specific install script used by HP pwplus--don't use.
5494 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5506 if test "${ac_cv_path_install+set}" = set; then
5507 INSTALL
=$ac_cv_path_install
5509 # As a last resort, use the slow shell script. We don't cache a
5510 # path for INSTALL within a source directory, because that will
5511 # break other packages using the cache if that directory is
5512 # removed, or if the path is relative.
5513 INSTALL
=$ac_install_sh
5516 echo "$as_me:$LINENO: result: $INSTALL" >&5
5517 echo "${ECHO_T}$INSTALL" >&6
5519 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5520 # It thinks the first close brace ends the variable substitution.
5521 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5523 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5525 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5528 [\\/$
]* | ?
:[\\/]* ) ;;
5529 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
5532 for ac_prog
in lclint lint
5534 # Extract the first word of "$ac_prog", so it can be a program name with args.
5535 set dummy
$ac_prog; ac_word
=$2
5536 echo "$as_me:$LINENO: checking for $ac_word" >&5
5537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5538 if test "${ac_cv_prog_LINT+set}" = set; then
5539 echo $ECHO_N "(cached) $ECHO_C" >&6
5541 if test -n "$LINT"; then
5542 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
5544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5548 test -z "$as_dir" && as_dir
=.
5549 for ac_exec_ext
in '' $ac_executable_extensions; do
5550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5551 ac_cv_prog_LINT
="$ac_prog"
5552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5560 LINT
=$ac_cv_prog_LINT
5561 if test -n "$LINT"; then
5562 echo "$as_me:$LINENO: result: $LINT" >&5
5563 echo "${ECHO_T}$LINT" >&6
5565 echo "$as_me:$LINENO: result: no" >&5
5566 echo "${ECHO_T}no" >&6
5569 test -n "$LINT" && break
5572 if test "$LINT" = "lint"
5574 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5579 for ac_prog
in fontforge
5581 # Extract the first word of "$ac_prog", so it can be a program name with args.
5582 set dummy
$ac_prog; ac_word
=$2
5583 echo "$as_me:$LINENO: checking for $ac_word" >&5
5584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5585 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
5586 echo $ECHO_N "(cached) $ECHO_C" >&6
5588 if test -n "$FONTFORGE"; then
5589 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5595 test -z "$as_dir" && as_dir
=.
5596 for ac_exec_ext
in '' $ac_executable_extensions; do
5597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5598 ac_cv_prog_FONTFORGE
="$ac_prog"
5599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5607 FONTFORGE
=$ac_cv_prog_FONTFORGE
5608 if test -n "$FONTFORGE"; then
5609 echo "$as_me:$LINENO: result: $FONTFORGE" >&5
5610 echo "${ECHO_T}$FONTFORGE" >&6
5612 echo "$as_me:$LINENO: result: no" >&5
5613 echo "${ECHO_T}no" >&6
5616 test -n "$FONTFORGE" && break
5618 test -n "$FONTFORGE" || FONTFORGE
="false"
5620 for ac_prog
in pkg-config
5622 # Extract the first word of "$ac_prog", so it can be a program name with args.
5623 set dummy
$ac_prog; ac_word
=$2
5624 echo "$as_me:$LINENO: checking for $ac_word" >&5
5625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5626 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
5627 echo $ECHO_N "(cached) $ECHO_C" >&6
5629 if test -n "$PKG_CONFIG"; then
5630 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5636 test -z "$as_dir" && as_dir
=.
5637 for ac_exec_ext
in '' $ac_executable_extensions; do
5638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5639 ac_cv_prog_PKG_CONFIG
="$ac_prog"
5640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5648 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5649 if test -n "$PKG_CONFIG"; then
5650 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5651 echo "${ECHO_T}$PKG_CONFIG" >&6
5653 echo "$as_me:$LINENO: result: no" >&5
5654 echo "${ECHO_T}no" >&6
5657 test -n "$PKG_CONFIG" && break
5659 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
5664 for ac_prog
in prelink
5666 # Extract the first word of "$ac_prog", so it can be a program name with args.
5667 set dummy
$ac_prog; ac_word
=$2
5668 echo "$as_me:$LINENO: checking for $ac_word" >&5
5669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5670 if test "${ac_cv_prog_PRELINK+set}" = set; then
5671 echo $ECHO_N "(cached) $ECHO_C" >&6
5673 if test -n "$PRELINK"; then
5674 ac_cv_prog_PRELINK
="$PRELINK" # Let the user override the test.
5676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5677 for as_dir
in /sbin
/usr
/sbin
$PATH
5680 test -z "$as_dir" && as_dir
=.
5681 for ac_exec_ext
in '' $ac_executable_extensions; do
5682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5683 ac_cv_prog_PRELINK
="$ac_prog"
5684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5692 PRELINK
=$ac_cv_prog_PRELINK
5693 if test -n "$PRELINK"; then
5694 echo "$as_me:$LINENO: result: $PRELINK" >&5
5695 echo "${ECHO_T}$PRELINK" >&6
5697 echo "$as_me:$LINENO: result: no" >&5
5698 echo "${ECHO_T}no" >&6
5701 test -n "$PRELINK" && break
5703 test -n "$PRELINK" || PRELINK
="false"
5710 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5711 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5712 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5713 echo $ECHO_N "(cached) $ECHO_C" >&6
5715 ac_check_lib_save_LIBS
=$LIBS
5717 cat >conftest.
$ac_ext <<_ACEOF
5720 cat confdefs.h
>>conftest.
$ac_ext
5721 cat >>conftest.
$ac_ext <<_ACEOF
5722 /* end confdefs.h. */
5724 /* Override any gcc2 internal prototype to avoid an error. */
5728 /* We use char because int might match the return type of a gcc2
5729 builtin and then its argument prototype would still apply. */
5730 char i386_set_ldt ();
5739 rm -f conftest.
$ac_objext conftest
$ac_exeext
5740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5741 (eval $ac_link) 2>conftest.er1
5743 grep -v '^ *+' conftest.er1
>conftest.err
5745 cat conftest.err
>&5
5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); } &&
5748 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5753 (exit $ac_status); }; } &&
5754 { ac_try
='test -s conftest$ac_exeext'
5755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759 (exit $ac_status); }; }; then
5760 ac_cv_lib_i386_i386_set_ldt
=yes
5762 echo "$as_me: failed program was:" >&5
5763 sed 's/^/| /' conftest.
$ac_ext >&5
5765 ac_cv_lib_i386_i386_set_ldt
=no
5767 rm -f conftest.err conftest.
$ac_objext \
5768 conftest
$ac_exeext conftest.
$ac_ext
5769 LIBS
=$ac_check_lib_save_LIBS
5771 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5772 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5773 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5774 cat >>confdefs.h
<<_ACEOF
5775 #define HAVE_LIBI386 1
5783 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5784 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5785 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5786 echo $ECHO_N "(cached) $ECHO_C" >&6
5788 ac_check_lib_save_LIBS
=$LIBS
5789 LIBS
="-lossaudio $LIBS"
5790 cat >conftest.
$ac_ext <<_ACEOF
5793 cat confdefs.h
>>conftest.
$ac_ext
5794 cat >>conftest.
$ac_ext <<_ACEOF
5795 /* end confdefs.h. */
5797 /* Override any gcc2 internal prototype to avoid an error. */
5801 /* We use char because int might match the return type of a gcc2
5802 builtin and then its argument prototype would still apply. */
5812 rm -f conftest.
$ac_objext conftest
$ac_exeext
5813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5814 (eval $ac_link) 2>conftest.er1
5816 grep -v '^ *+' conftest.er1
>conftest.err
5818 cat conftest.err
>&5
5819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5820 (exit $ac_status); } &&
5821 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826 (exit $ac_status); }; } &&
5827 { ac_try
='test -s conftest$ac_exeext'
5828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832 (exit $ac_status); }; }; then
5833 ac_cv_lib_ossaudio__oss_ioctl
=yes
5835 echo "$as_me: failed program was:" >&5
5836 sed 's/^/| /' conftest.
$ac_ext >&5
5838 ac_cv_lib_ossaudio__oss_ioctl
=no
5840 rm -f conftest.err conftest.
$ac_objext \
5841 conftest
$ac_exeext conftest.
$ac_ext
5842 LIBS
=$ac_check_lib_save_LIBS
5844 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5845 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5846 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5847 cat >>confdefs.h
<<_ACEOF
5848 #define HAVE_LIBOSSAUDIO 1
5851 LIBS
="-lossaudio $LIBS"
5856 for ac_func
in gethostbyname
5858 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5859 echo "$as_me:$LINENO: checking for $ac_func" >&5
5860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5861 if eval "test \"\${$as_ac_var+set}\" = set"; then
5862 echo $ECHO_N "(cached) $ECHO_C" >&6
5864 cat >conftest.
$ac_ext <<_ACEOF
5867 cat confdefs.h
>>conftest.
$ac_ext
5868 cat >>conftest.
$ac_ext <<_ACEOF
5869 /* end confdefs.h. */
5870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5872 #define $ac_func innocuous_$ac_func
5874 /* System header to define __stub macros and hopefully few prototypes,
5875 which can conflict with char $ac_func (); below.
5876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5877 <limits.h> exists even on freestanding compilers. */
5880 # include <limits.h>
5882 # include <assert.h>
5887 /* Override any gcc2 internal prototype to avoid an error. */
5892 /* We use char because int might match the return type of a gcc2
5893 builtin and then its argument prototype would still apply. */
5895 /* The GNU C library defines this for functions which it implements
5896 to always fail with ENOSYS. Some functions are actually named
5897 something starting with __ and the normal name is an alias. */
5898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5901 char (*f) () = $ac_func;
5910 return f != $ac_func;
5915 rm -f conftest.
$ac_objext conftest
$ac_exeext
5916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5917 (eval $ac_link) 2>conftest.er1
5919 grep -v '^ *+' conftest.er1
>conftest.err
5921 cat conftest.err
>&5
5922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5923 (exit $ac_status); } &&
5924 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929 (exit $ac_status); }; } &&
5930 { ac_try
='test -s conftest$ac_exeext'
5931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935 (exit $ac_status); }; }; then
5936 eval "$as_ac_var=yes"
5938 echo "$as_me: failed program was:" >&5
5939 sed 's/^/| /' conftest.
$ac_ext >&5
5941 eval "$as_ac_var=no"
5943 rm -f conftest.err conftest.
$ac_objext \
5944 conftest
$ac_exeext conftest.
$ac_ext
5946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5948 if test `eval echo '${'$as_ac_var'}'` = yes; then
5949 cat >>confdefs.h
<<_ACEOF
5950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5955 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5956 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5957 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5958 echo $ECHO_N "(cached) $ECHO_C" >&6
5960 ac_check_lib_save_LIBS
=$LIBS
5962 cat >conftest.
$ac_ext <<_ACEOF
5965 cat confdefs.h
>>conftest.
$ac_ext
5966 cat >>conftest.
$ac_ext <<_ACEOF
5967 /* end confdefs.h. */
5969 /* Override any gcc2 internal prototype to avoid an error. */
5973 /* We use char because int might match the return type of a gcc2
5974 builtin and then its argument prototype would still apply. */
5975 char gethostbyname ();
5984 rm -f conftest.
$ac_objext conftest
$ac_exeext
5985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5986 (eval $ac_link) 2>conftest.er1
5988 grep -v '^ *+' conftest.er1
>conftest.err
5990 cat conftest.err
>&5
5991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992 (exit $ac_status); } &&
5993 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998 (exit $ac_status); }; } &&
5999 { ac_try
='test -s conftest$ac_exeext'
6000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004 (exit $ac_status); }; }; then
6005 ac_cv_lib_nsl_gethostbyname
=yes
6007 echo "$as_me: failed program was:" >&5
6008 sed 's/^/| /' conftest.
$ac_ext >&5
6010 ac_cv_lib_nsl_gethostbyname
=no
6012 rm -f conftest.err conftest.
$ac_objext \
6013 conftest
$ac_exeext conftest.
$ac_ext
6014 LIBS
=$ac_check_lib_save_LIBS
6016 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6017 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6018 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6019 cat >>confdefs.h
<<_ACEOF
6020 #define HAVE_LIBNSL 1
6031 for ac_func
in connect
6033 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6034 echo "$as_me:$LINENO: checking for $ac_func" >&5
6035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6036 if eval "test \"\${$as_ac_var+set}\" = set"; then
6037 echo $ECHO_N "(cached) $ECHO_C" >&6
6039 cat >conftest.
$ac_ext <<_ACEOF
6042 cat confdefs.h
>>conftest.
$ac_ext
6043 cat >>conftest.
$ac_ext <<_ACEOF
6044 /* end confdefs.h. */
6045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6047 #define $ac_func innocuous_$ac_func
6049 /* System header to define __stub macros and hopefully few prototypes,
6050 which can conflict with char $ac_func (); below.
6051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6052 <limits.h> exists even on freestanding compilers. */
6055 # include <limits.h>
6057 # include <assert.h>
6062 /* Override any gcc2 internal prototype to avoid an error. */
6067 /* We use char because int might match the return type of a gcc2
6068 builtin and then its argument prototype would still apply. */
6070 /* The GNU C library defines this for functions which it implements
6071 to always fail with ENOSYS. Some functions are actually named
6072 something starting with __ and the normal name is an alias. */
6073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6076 char (*f) () = $ac_func;
6085 return f != $ac_func;
6090 rm -f conftest.
$ac_objext conftest
$ac_exeext
6091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6092 (eval $ac_link) 2>conftest.er1
6094 grep -v '^ *+' conftest.er1
>conftest.err
6096 cat conftest.err
>&5
6097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6098 (exit $ac_status); } &&
6099 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6104 (exit $ac_status); }; } &&
6105 { ac_try
='test -s conftest$ac_exeext'
6106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6110 (exit $ac_status); }; }; then
6111 eval "$as_ac_var=yes"
6113 echo "$as_me: failed program was:" >&5
6114 sed 's/^/| /' conftest.
$ac_ext >&5
6116 eval "$as_ac_var=no"
6118 rm -f conftest.err conftest.
$ac_objext \
6119 conftest
$ac_exeext conftest.
$ac_ext
6121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6123 if test `eval echo '${'$as_ac_var'}'` = yes; then
6124 cat >>confdefs.h
<<_ACEOF
6125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6130 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6131 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6132 if test "${ac_cv_lib_socket_connect+set}" = set; then
6133 echo $ECHO_N "(cached) $ECHO_C" >&6
6135 ac_check_lib_save_LIBS
=$LIBS
6136 LIBS
="-lsocket $LIBS"
6137 cat >conftest.
$ac_ext <<_ACEOF
6140 cat confdefs.h
>>conftest.
$ac_ext
6141 cat >>conftest.
$ac_ext <<_ACEOF
6142 /* end confdefs.h. */
6144 /* Override any gcc2 internal prototype to avoid an error. */
6148 /* We use char because int might match the return type of a gcc2
6149 builtin and then its argument prototype would still apply. */
6159 rm -f conftest.
$ac_objext conftest
$ac_exeext
6160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6161 (eval $ac_link) 2>conftest.er1
6163 grep -v '^ *+' conftest.er1
>conftest.err
6165 cat conftest.err
>&5
6166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 (exit $ac_status); } &&
6168 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); }; } &&
6174 { ac_try
='test -s conftest$ac_exeext'
6175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); }; }; then
6180 ac_cv_lib_socket_connect
=yes
6182 echo "$as_me: failed program was:" >&5
6183 sed 's/^/| /' conftest.
$ac_ext >&5
6185 ac_cv_lib_socket_connect
=no
6187 rm -f conftest.err conftest.
$ac_objext \
6188 conftest
$ac_exeext conftest.
$ac_ext
6189 LIBS
=$ac_check_lib_save_LIBS
6191 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6192 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6193 if test $ac_cv_lib_socket_connect = yes; then
6194 cat >>confdefs.h
<<_ACEOF
6195 #define HAVE_LIBSOCKET 1
6198 LIBS
="-lsocket $LIBS"
6206 for ac_func
in inet_aton
6208 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6209 echo "$as_me:$LINENO: checking for $ac_func" >&5
6210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6211 if eval "test \"\${$as_ac_var+set}\" = set"; then
6212 echo $ECHO_N "(cached) $ECHO_C" >&6
6214 cat >conftest.
$ac_ext <<_ACEOF
6217 cat confdefs.h
>>conftest.
$ac_ext
6218 cat >>conftest.
$ac_ext <<_ACEOF
6219 /* end confdefs.h. */
6220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6222 #define $ac_func innocuous_$ac_func
6224 /* System header to define __stub macros and hopefully few prototypes,
6225 which can conflict with char $ac_func (); below.
6226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6227 <limits.h> exists even on freestanding compilers. */
6230 # include <limits.h>
6232 # include <assert.h>
6237 /* Override any gcc2 internal prototype to avoid an error. */
6242 /* We use char because int might match the return type of a gcc2
6243 builtin and then its argument prototype would still apply. */
6245 /* The GNU C library defines this for functions which it implements
6246 to always fail with ENOSYS. Some functions are actually named
6247 something starting with __ and the normal name is an alias. */
6248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6251 char (*f) () = $ac_func;
6260 return f != $ac_func;
6265 rm -f conftest.
$ac_objext conftest
$ac_exeext
6266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6267 (eval $ac_link) 2>conftest.er1
6269 grep -v '^ *+' conftest.er1
>conftest.err
6271 cat conftest.err
>&5
6272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6273 (exit $ac_status); } &&
6274 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6279 (exit $ac_status); }; } &&
6280 { ac_try
='test -s conftest$ac_exeext'
6281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 (exit $ac_status); }; }; then
6286 eval "$as_ac_var=yes"
6288 echo "$as_me: failed program was:" >&5
6289 sed 's/^/| /' conftest.
$ac_ext >&5
6291 eval "$as_ac_var=no"
6293 rm -f conftest.err conftest.
$ac_objext \
6294 conftest
$ac_exeext conftest.
$ac_ext
6296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6298 if test `eval echo '${'$as_ac_var'}'` = yes; then
6299 cat >>confdefs.h
<<_ACEOF
6300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6305 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6306 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6307 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6308 echo $ECHO_N "(cached) $ECHO_C" >&6
6310 ac_check_lib_save_LIBS
=$LIBS
6311 LIBS
="-lresolv $LIBS"
6312 cat >conftest.
$ac_ext <<_ACEOF
6315 cat confdefs.h
>>conftest.
$ac_ext
6316 cat >>conftest.
$ac_ext <<_ACEOF
6317 /* end confdefs.h. */
6319 /* Override any gcc2 internal prototype to avoid an error. */
6323 /* We use char because int might match the return type of a gcc2
6324 builtin and then its argument prototype would still apply. */
6334 rm -f conftest.
$ac_objext conftest
$ac_exeext
6335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6336 (eval $ac_link) 2>conftest.er1
6338 grep -v '^ *+' conftest.er1
>conftest.err
6340 cat conftest.err
>&5
6341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342 (exit $ac_status); } &&
6343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348 (exit $ac_status); }; } &&
6349 { ac_try
='test -s conftest$ac_exeext'
6350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6354 (exit $ac_status); }; }; then
6355 ac_cv_lib_resolv_inet_aton
=yes
6357 echo "$as_me: failed program was:" >&5
6358 sed 's/^/| /' conftest.
$ac_ext >&5
6360 ac_cv_lib_resolv_inet_aton
=no
6362 rm -f conftest.err conftest.
$ac_objext \
6363 conftest
$ac_exeext conftest.
$ac_ext
6364 LIBS
=$ac_check_lib_save_LIBS
6366 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6367 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6368 if test $ac_cv_lib_resolv_inet_aton = yes; then
6369 cat >>confdefs.h
<<_ACEOF
6370 #define HAVE_LIBRESOLV 1
6373 LIBS
="-lresolv $LIBS"
6381 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6382 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6383 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6384 echo $ECHO_N "(cached) $ECHO_C" >&6
6386 ac_check_lib_save_LIBS
=$LIBS
6388 cat >conftest.
$ac_ext <<_ACEOF
6391 cat confdefs.h
>>conftest.
$ac_ext
6392 cat >>conftest.
$ac_ext <<_ACEOF
6393 /* end confdefs.h. */
6395 /* Override any gcc2 internal prototype to avoid an error. */
6399 /* We use char because int might match the return type of a gcc2
6400 builtin and then its argument prototype would still apply. */
6401 char _xpg4_setrunelocale ();
6405 _xpg4_setrunelocale ();
6410 rm -f conftest.
$ac_objext conftest
$ac_exeext
6411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6412 (eval $ac_link) 2>conftest.er1
6414 grep -v '^ *+' conftest.er1
>conftest.err
6416 cat conftest.err
>&5
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); } &&
6419 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6424 (exit $ac_status); }; } &&
6425 { ac_try
='test -s conftest$ac_exeext'
6426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); }; }; then
6431 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
6433 echo "$as_me: failed program was:" >&5
6434 sed 's/^/| /' conftest.
$ac_ext >&5
6436 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
6438 rm -f conftest.err conftest.
$ac_objext \
6439 conftest
$ac_exeext conftest.
$ac_ext
6440 LIBS
=$ac_check_lib_save_LIBS
6442 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6443 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6444 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6445 cat >>confdefs.h
<<_ACEOF
6446 #define HAVE_LIBXPG4 1
6454 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6455 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6456 if test "${ac_cv_lib_poll_poll+set}" = set; then
6457 echo $ECHO_N "(cached) $ECHO_C" >&6
6459 ac_check_lib_save_LIBS
=$LIBS
6461 cat >conftest.
$ac_ext <<_ACEOF
6464 cat confdefs.h
>>conftest.
$ac_ext
6465 cat >>conftest.
$ac_ext <<_ACEOF
6466 /* end confdefs.h. */
6468 /* Override any gcc2 internal prototype to avoid an error. */
6472 /* We use char because int might match the return type of a gcc2
6473 builtin and then its argument prototype would still apply. */
6483 rm -f conftest.
$ac_objext conftest
$ac_exeext
6484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6485 (eval $ac_link) 2>conftest.er1
6487 grep -v '^ *+' conftest.er1
>conftest.err
6489 cat conftest.err
>&5
6490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6491 (exit $ac_status); } &&
6492 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6497 (exit $ac_status); }; } &&
6498 { ac_try
='test -s conftest$ac_exeext'
6499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6503 (exit $ac_status); }; }; then
6504 ac_cv_lib_poll_poll
=yes
6506 echo "$as_me: failed program was:" >&5
6507 sed 's/^/| /' conftest.
$ac_ext >&5
6509 ac_cv_lib_poll_poll
=no
6511 rm -f conftest.err conftest.
$ac_objext \
6512 conftest
$ac_exeext conftest.
$ac_ext
6513 LIBS
=$ac_check_lib_save_LIBS
6515 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6516 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6517 if test $ac_cv_lib_poll_poll = yes; then
6518 cat >>confdefs.h
<<_ACEOF
6519 #define HAVE_LIBPOLL 1
6527 echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
6528 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6
6529 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
6530 echo $ECHO_N "(cached) $ECHO_C" >&6
6532 ac_check_lib_save_LIBS
=$LIBS
6533 LIBS
="-lresolv $LIBS"
6534 cat >conftest.
$ac_ext <<_ACEOF
6537 cat confdefs.h
>>conftest.
$ac_ext
6538 cat >>conftest.
$ac_ext <<_ACEOF
6539 /* end confdefs.h. */
6541 /* Override any gcc2 internal prototype to avoid an error. */
6545 /* We use char because int might match the return type of a gcc2
6546 builtin and then its argument prototype would still apply. */
6556 rm -f conftest.
$ac_objext conftest
$ac_exeext
6557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6558 (eval $ac_link) 2>conftest.er1
6560 grep -v '^ *+' conftest.er1
>conftest.err
6562 cat conftest.err
>&5
6563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564 (exit $ac_status); } &&
6565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570 (exit $ac_status); }; } &&
6571 { ac_try
='test -s conftest$ac_exeext'
6572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6576 (exit $ac_status); }; }; then
6577 ac_cv_lib_resolv_res_9_init
=yes
6579 echo "$as_me: failed program was:" >&5
6580 sed 's/^/| /' conftest.
$ac_ext >&5
6582 ac_cv_lib_resolv_res_9_init
=no
6584 rm -f conftest.err conftest.
$ac_objext \
6585 conftest
$ac_exeext conftest.
$ac_ext
6586 LIBS
=$ac_check_lib_save_LIBS
6588 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
6589 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6
6590 if test $ac_cv_lib_resolv_res_9_init = yes; then
6591 cat >>confdefs.h
<<_ACEOF
6592 #define HAVE_LIBRESOLV 1
6595 LIBS
="-lresolv $LIBS"
6599 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6600 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6601 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6602 echo $ECHO_N "(cached) $ECHO_C" >&6
6604 ac_check_lib_save_LIBS
=$LIBS
6605 LIBS
="-lpthread $LIBS"
6606 cat >conftest.
$ac_ext <<_ACEOF
6609 cat confdefs.h
>>conftest.
$ac_ext
6610 cat >>conftest.
$ac_ext <<_ACEOF
6611 /* end confdefs.h. */
6613 /* Override any gcc2 internal prototype to avoid an error. */
6617 /* We use char because int might match the return type of a gcc2
6618 builtin and then its argument prototype would still apply. */
6619 char pthread_create ();
6628 rm -f conftest.
$ac_objext conftest
$ac_exeext
6629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6630 (eval $ac_link) 2>conftest.er1
6632 grep -v '^ *+' conftest.er1
>conftest.err
6634 cat conftest.err
>&5
6635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6636 (exit $ac_status); } &&
6637 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642 (exit $ac_status); }; } &&
6643 { ac_try
='test -s conftest$ac_exeext'
6644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); }; }; then
6649 ac_cv_lib_pthread_pthread_create
=yes
6651 echo "$as_me: failed program was:" >&5
6652 sed 's/^/| /' conftest.
$ac_ext >&5
6654 ac_cv_lib_pthread_pthread_create
=no
6656 rm -f conftest.err conftest.
$ac_objext \
6657 conftest
$ac_exeext conftest.
$ac_ext
6658 LIBS
=$ac_check_lib_save_LIBS
6660 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6661 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6662 if test $ac_cv_lib_pthread_pthread_create = yes; then
6663 LIBPTHREAD
="-lpthread"
6680 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6681 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6682 if test "${ac_cv_header_stdc+set}" = set; then
6683 echo $ECHO_N "(cached) $ECHO_C" >&6
6685 cat >conftest.
$ac_ext <<_ACEOF
6688 cat confdefs.h
>>conftest.
$ac_ext
6689 cat >>conftest.
$ac_ext <<_ACEOF
6690 /* end confdefs.h. */
6704 rm -f conftest.
$ac_objext
6705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6706 (eval $ac_compile) 2>conftest.er1
6708 grep -v '^ *+' conftest.er1
>conftest.err
6710 cat conftest.err
>&5
6711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6712 (exit $ac_status); } &&
6713 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6718 (exit $ac_status); }; } &&
6719 { ac_try
='test -s conftest.$ac_objext'
6720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6724 (exit $ac_status); }; }; then
6725 ac_cv_header_stdc
=yes
6727 echo "$as_me: failed program was:" >&5
6728 sed 's/^/| /' conftest.
$ac_ext >&5
6730 ac_cv_header_stdc
=no
6732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6734 if test $ac_cv_header_stdc = yes; then
6735 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6736 cat >conftest.
$ac_ext <<_ACEOF
6739 cat confdefs.h
>>conftest.
$ac_ext
6740 cat >>conftest.
$ac_ext <<_ACEOF
6741 /* end confdefs.h. */
6745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6746 $EGREP "memchr" >/dev
/null
2>&1; then
6749 ac_cv_header_stdc
=no
6755 if test $ac_cv_header_stdc = yes; then
6756 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6757 cat >conftest.
$ac_ext <<_ACEOF
6760 cat confdefs.h
>>conftest.
$ac_ext
6761 cat >>conftest.
$ac_ext <<_ACEOF
6762 /* end confdefs.h. */
6766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6767 $EGREP "free" >/dev
/null
2>&1; then
6770 ac_cv_header_stdc
=no
6776 if test $ac_cv_header_stdc = yes; then
6777 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6778 if test "$cross_compiling" = yes; then
6781 cat >conftest.
$ac_ext <<_ACEOF
6784 cat confdefs.h
>>conftest.
$ac_ext
6785 cat >>conftest.
$ac_ext <<_ACEOF
6786 /* end confdefs.h. */
6788 #if ((' ' & 0x0FF) == 0x020)
6789 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6790 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6792 # define ISLOWER(c) \
6793 (('a' <= (c) && (c) <= 'i') \
6794 || ('j' <= (c) && (c) <= 'r') \
6795 || ('s' <= (c) && (c) <= 'z'))
6796 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6799 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6804 for (i = 0; i < 256; i++)
6805 if (XOR (islower (i), ISLOWER (i))
6806 || toupper (i) != TOUPPER (i))
6811 rm -f conftest
$ac_exeext
6812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6813 (eval $ac_link) 2>&5
6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 (exit $ac_status); }; }; then
6824 echo "$as_me: program exited with status $ac_status" >&5
6825 echo "$as_me: failed program was:" >&5
6826 sed 's/^/| /' conftest.
$ac_ext >&5
6829 ac_cv_header_stdc
=no
6831 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6835 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6836 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6837 if test $ac_cv_header_stdc = yes; then
6839 cat >>confdefs.h
<<\_ACEOF
6840 #define STDC_HEADERS 1
6845 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6855 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6856 inttypes.h stdint.h unistd.h
6858 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6859 echo "$as_me:$LINENO: checking for $ac_header" >&5
6860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6862 echo $ECHO_N "(cached) $ECHO_C" >&6
6864 cat >conftest.
$ac_ext <<_ACEOF
6867 cat confdefs.h
>>conftest.
$ac_ext
6868 cat >>conftest.
$ac_ext <<_ACEOF
6869 /* end confdefs.h. */
6870 $ac_includes_default
6872 #include <$ac_header>
6874 rm -f conftest.
$ac_objext
6875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6876 (eval $ac_compile) 2>conftest.er1
6878 grep -v '^ *+' conftest.er1
>conftest.err
6880 cat conftest.err
>&5
6881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6882 (exit $ac_status); } &&
6883 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); }; } &&
6889 { ac_try
='test -s conftest.$ac_objext'
6890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894 (exit $ac_status); }; }; then
6895 eval "$as_ac_Header=yes"
6897 echo "$as_me: failed program was:" >&5
6898 sed 's/^/| /' conftest.
$ac_ext >&5
6900 eval "$as_ac_Header=no"
6902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6906 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6907 cat >>confdefs.h
<<_ACEOF
6908 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7033 fontconfig
/fontconfig.h \
7059 machine
/soundcard.h \
7064 netinet
/in_systm.h \
7127 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7129 echo "$as_me:$LINENO: checking for $ac_header" >&5
7130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7132 echo $ECHO_N "(cached) $ECHO_C" >&6
7134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7135 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7137 # Is the header compilable?
7138 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7139 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7140 cat >conftest.
$ac_ext <<_ACEOF
7143 cat confdefs.h
>>conftest.
$ac_ext
7144 cat >>conftest.
$ac_ext <<_ACEOF
7145 /* end confdefs.h. */
7146 $ac_includes_default
7147 #include <$ac_header>
7149 rm -f conftest.
$ac_objext
7150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7151 (eval $ac_compile) 2>conftest.er1
7153 grep -v '^ *+' conftest.er1
>conftest.err
7155 cat conftest.err
>&5
7156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7157 (exit $ac_status); } &&
7158 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7163 (exit $ac_status); }; } &&
7164 { ac_try
='test -s conftest.$ac_objext'
7165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7169 (exit $ac_status); }; }; then
7170 ac_header_compiler
=yes
7172 echo "$as_me: failed program was:" >&5
7173 sed 's/^/| /' conftest.
$ac_ext >&5
7175 ac_header_compiler
=no
7177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7178 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7179 echo "${ECHO_T}$ac_header_compiler" >&6
7181 # Is the header present?
7182 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7183 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7184 cat >conftest.
$ac_ext <<_ACEOF
7187 cat confdefs.h
>>conftest.
$ac_ext
7188 cat >>conftest.
$ac_ext <<_ACEOF
7189 /* end confdefs.h. */
7190 #include <$ac_header>
7192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7193 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7195 grep -v '^ *+' conftest.er1
>conftest.err
7197 cat conftest.err
>&5
7198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7199 (exit $ac_status); } >/dev
/null
; then
7200 if test -s conftest.err
; then
7201 ac_cpp_err
=$ac_c_preproc_warn_flag
7202 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7209 if test -z "$ac_cpp_err"; then
7210 ac_header_preproc
=yes
7212 echo "$as_me: failed program was:" >&5
7213 sed 's/^/| /' conftest.
$ac_ext >&5
7215 ac_header_preproc
=no
7217 rm -f conftest.err conftest.
$ac_ext
7218 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7219 echo "${ECHO_T}$ac_header_preproc" >&6
7221 # So? What about this header?
7222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7224 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7225 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7227 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7228 ac_header_preproc
=yes
7231 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7232 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7233 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7234 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7235 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7236 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7237 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7238 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7240 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7241 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7242 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7245 ## ------------------------------------ ##
7246 ## Report this to wine-devel@winehq.org ##
7247 ## ------------------------------------ ##
7250 sed "s/^/$as_me: WARNING: /" >&2
7253 echo "$as_me:$LINENO: checking for $ac_header" >&5
7254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7256 echo $ECHO_N "(cached) $ECHO_C" >&6
7258 eval "$as_ac_Header=\$ac_header_preproc"
7260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7264 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7265 cat >>confdefs.h
<<_ACEOF
7266 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7273 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7274 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
7275 if test "${ac_cv_header_stat_broken+set}" = set; then
7276 echo $ECHO_N "(cached) $ECHO_C" >&6
7278 cat >conftest.
$ac_ext <<_ACEOF
7281 cat confdefs.h
>>conftest.
$ac_ext
7282 cat >>conftest.
$ac_ext <<_ACEOF
7283 /* end confdefs.h. */
7284 #include <sys/types.h>
7285 #include <sys/stat.h>
7287 #if defined(S_ISBLK) && defined(S_IFDIR)
7288 # if S_ISBLK (S_IFDIR)
7293 #if defined(S_ISBLK) && defined(S_IFCHR)
7294 # if S_ISBLK (S_IFCHR)
7299 #if defined(S_ISLNK) && defined(S_IFREG)
7300 # if S_ISLNK (S_IFREG)
7305 #if defined(S_ISSOCK) && defined(S_IFREG)
7306 # if S_ISSOCK (S_IFREG)
7312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7313 $EGREP "You lose" >/dev
/null
2>&1; then
7314 ac_cv_header_stat_broken
=yes
7316 ac_cv_header_stat_broken
=no
7321 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7322 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
7323 if test $ac_cv_header_stat_broken = yes; then
7325 cat >>confdefs.h
<<\_ACEOF
7326 #define STAT_MACROS_BROKEN 1
7337 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7339 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7340 echo "$as_me:$LINENO: checking for $ac_header" >&5
7341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7343 echo $ECHO_N "(cached) $ECHO_C" >&6
7345 cat >conftest.
$ac_ext <<_ACEOF
7348 cat confdefs.h
>>conftest.
$ac_ext
7349 cat >>conftest.
$ac_ext <<_ACEOF
7350 /* end confdefs.h. */
7351 #include <sys/types.h>
7352 #if HAVE_SYS_PARAM_H
7353 # include <sys/param.h>
7356 #include <$ac_header>
7358 rm -f conftest.
$ac_objext
7359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7360 (eval $ac_compile) 2>conftest.er1
7362 grep -v '^ *+' conftest.er1
>conftest.err
7364 cat conftest.err
>&5
7365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7366 (exit $ac_status); } &&
7367 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372 (exit $ac_status); }; } &&
7373 { ac_try
='test -s conftest.$ac_objext'
7374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378 (exit $ac_status); }; }; then
7379 eval "$as_ac_Header=yes"
7381 echo "$as_me: failed program was:" >&5
7382 sed 's/^/| /' conftest.
$ac_ext >&5
7384 eval "$as_ac_Header=no"
7386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7389 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7390 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7391 cat >>confdefs.h
<<_ACEOF
7392 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7406 for ac_header
in net
/if.h net
/if_arp.h net
/if_dl.h net
/if_types.h net
/route.h netipx
/ipx.h
7408 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7409 echo "$as_me:$LINENO: checking for $ac_header" >&5
7410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7412 echo $ECHO_N "(cached) $ECHO_C" >&6
7414 cat >conftest.
$ac_ext <<_ACEOF
7417 cat confdefs.h
>>conftest.
$ac_ext
7418 cat >>conftest.
$ac_ext <<_ACEOF
7419 /* end confdefs.h. */
7420 #include <sys/types.h>
7421 #if HAVE_SYS_SOCKET_H
7422 # include <sys/socket.h>
7425 #include <$ac_header>
7427 rm -f conftest.
$ac_objext
7428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7429 (eval $ac_compile) 2>conftest.er1
7431 grep -v '^ *+' conftest.er1
>conftest.err
7433 cat conftest.err
>&5
7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435 (exit $ac_status); } &&
7436 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7441 (exit $ac_status); }; } &&
7442 { ac_try
='test -s conftest.$ac_objext'
7443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); }; }; then
7448 eval "$as_ac_Header=yes"
7450 echo "$as_me: failed program was:" >&5
7451 sed 's/^/| /' conftest.
$ac_ext >&5
7453 eval "$as_ac_Header=no"
7455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7459 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7460 cat >>confdefs.h
<<_ACEOF
7461 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7470 for ac_header
in resolv.h
7472 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7473 echo "$as_me:$LINENO: checking for $ac_header" >&5
7474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7476 echo $ECHO_N "(cached) $ECHO_C" >&6
7478 cat >conftest.
$ac_ext <<_ACEOF
7481 cat confdefs.h
>>conftest.
$ac_ext
7482 cat >>conftest.
$ac_ext <<_ACEOF
7483 /* end confdefs.h. */
7484 #include <sys/types.h>
7485 #if HAVE_SYS_SOCKET_H
7486 # include <sys/socket.h>
7488 #if HAVE_NETINET_IN_H
7489 # include <netinet/in.h>
7491 #if HAVE_ARPA_NAMESER_H
7492 # include <arpa/nameser.h>
7495 #include <$ac_header>
7497 rm -f conftest.
$ac_objext
7498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7499 (eval $ac_compile) 2>conftest.er1
7501 grep -v '^ *+' conftest.er1
>conftest.err
7503 cat conftest.err
>&5
7504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7505 (exit $ac_status); } &&
7506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7511 (exit $ac_status); }; } &&
7512 { ac_try
='test -s conftest.$ac_objext'
7513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); }; }; then
7518 eval "$as_ac_Header=yes"
7520 echo "$as_me: failed program was:" >&5
7521 sed 's/^/| /' conftest.
$ac_ext >&5
7523 eval "$as_ac_Header=no"
7525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7530 cat >>confdefs.h
<<_ACEOF
7531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7540 for ac_header
in ucontext.h
7542 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7543 echo "$as_me:$LINENO: checking for $ac_header" >&5
7544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7546 echo $ECHO_N "(cached) $ECHO_C" >&6
7548 cat >conftest.
$ac_ext <<_ACEOF
7551 cat confdefs.h
>>conftest.
$ac_ext
7552 cat >>conftest.
$ac_ext <<_ACEOF
7553 /* end confdefs.h. */
7556 #include <$ac_header>
7558 rm -f conftest.
$ac_objext
7559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7560 (eval $ac_compile) 2>conftest.er1
7562 grep -v '^ *+' conftest.er1
>conftest.err
7564 cat conftest.err
>&5
7565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566 (exit $ac_status); } &&
7567 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); }; } &&
7573 { ac_try
='test -s conftest.$ac_objext'
7574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); }; }; then
7579 eval "$as_ac_Header=yes"
7581 echo "$as_me: failed program was:" >&5
7582 sed 's/^/| /' conftest.
$ac_ext >&5
7584 eval "$as_ac_Header=no"
7586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7590 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7591 cat >>confdefs.h
<<_ACEOF
7592 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7602 for ac_header
in linux
/ipx.h linux
/videodev.h
7604 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7605 echo "$as_me:$LINENO: checking for $ac_header" >&5
7606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7607 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7608 echo $ECHO_N "(cached) $ECHO_C" >&6
7610 cat >conftest.
$ac_ext <<_ACEOF
7613 cat confdefs.h
>>conftest.
$ac_ext
7614 cat >>conftest.
$ac_ext <<_ACEOF
7615 /* end confdefs.h. */
7616 #ifdef HAVE_SYS_TIME_H
7617 #include <sys/time.h>
7619 #include <sys/types.h>
7620 #ifdef HAVE_ASM_TYPES_H
7621 #include <asm/types.h>
7624 #include <$ac_header>
7626 rm -f conftest.
$ac_objext
7627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7628 (eval $ac_compile) 2>conftest.er1
7630 grep -v '^ *+' conftest.er1
>conftest.err
7632 cat conftest.err
>&5
7633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7634 (exit $ac_status); } &&
7635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); }; } &&
7641 { ac_try
='test -s conftest.$ac_objext'
7642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7646 (exit $ac_status); }; }; then
7647 eval "$as_ac_Header=yes"
7649 echo "$as_me: failed program was:" >&5
7650 sed 's/^/| /' conftest.
$ac_ext >&5
7652 eval "$as_ac_Header=no"
7654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7659 cat >>confdefs.h
<<_ACEOF
7660 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7669 for ac_header
in linux
/capi.h
7671 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7672 echo "$as_me:$LINENO: checking for $ac_header" >&5
7673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7675 echo $ECHO_N "(cached) $ECHO_C" >&6
7677 cat >conftest.
$ac_ext <<_ACEOF
7680 cat confdefs.h
>>conftest.
$ac_ext
7681 cat >>conftest.
$ac_ext <<_ACEOF
7682 /* end confdefs.h. */
7685 #include <$ac_header>
7687 rm -f conftest.
$ac_objext
7688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7689 (eval $ac_compile) 2>conftest.er1
7691 grep -v '^ *+' conftest.er1
>conftest.err
7693 cat conftest.err
>&5
7694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7695 (exit $ac_status); } &&
7696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7701 (exit $ac_status); }; } &&
7702 { ac_try
='test -s conftest.$ac_objext'
7703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7707 (exit $ac_status); }; }; then
7708 eval "$as_ac_Header=yes"
7710 echo "$as_me: failed program was:" >&5
7711 sed 's/^/| /' conftest.
$ac_ext >&5
7713 eval "$as_ac_Header=no"
7715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7720 cat >>confdefs.h
<<_ACEOF
7721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7730 if test "$have_x" = "yes"
7733 ac_save_CPPFLAGS
="$CPPFLAGS"
7734 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7746 for ac_header
in X11
/Xlib.h \
7749 X11
/extensions
/shape.h \
7750 X11
/extensions
/XInput.h \
7751 X11
/extensions
/XShm.h \
7752 X11
/extensions
/Xrandr.h \
7753 X11
/extensions
/Xrender.h \
7754 X11
/extensions
/xf86dga.h \
7755 X11
/extensions
/xf86vmode.h
7757 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7758 echo "$as_me:$LINENO: checking for $ac_header" >&5
7759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7761 echo $ECHO_N "(cached) $ECHO_C" >&6
7763 cat >conftest.
$ac_ext <<_ACEOF
7766 cat confdefs.h
>>conftest.
$ac_ext
7767 cat >>conftest.
$ac_ext <<_ACEOF
7768 /* end confdefs.h. */
7769 #ifdef HAVE_X11_XLIB_H
7770 # include <X11/Xlib.h>
7772 #ifdef HAVE_X11_XUTIL_H
7773 # include <X11/Xutil.h>
7776 #include <$ac_header>
7778 rm -f conftest.
$ac_objext
7779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7780 (eval $ac_compile) 2>conftest.er1
7782 grep -v '^ *+' conftest.er1
>conftest.err
7784 cat conftest.err
>&5
7785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7786 (exit $ac_status); } &&
7787 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7792 (exit $ac_status); }; } &&
7793 { ac_try
='test -s conftest.$ac_objext'
7794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7798 (exit $ac_status); }; }; then
7799 eval "$as_ac_Header=yes"
7801 echo "$as_me: failed program was:" >&5
7802 sed 's/^/| /' conftest.
$ac_ext >&5
7804 eval "$as_ac_Header=no"
7806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7810 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7811 cat >>confdefs.h
<<_ACEOF
7812 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7820 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7822 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7823 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7824 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7825 echo $ECHO_N "(cached) $ECHO_C" >&6
7827 ac_check_lib_save_LIBS
=$LIBS
7828 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7829 cat >conftest.
$ac_ext <<_ACEOF
7832 cat confdefs.h
>>conftest.
$ac_ext
7833 cat >>conftest.
$ac_ext <<_ACEOF
7834 /* end confdefs.h. */
7836 /* Override any gcc2 internal prototype to avoid an error. */
7840 /* We use char because int might match the return type of a gcc2
7841 builtin and then its argument prototype would still apply. */
7842 char XkbQueryExtension ();
7846 XkbQueryExtension ();
7851 rm -f conftest.
$ac_objext conftest
$ac_exeext
7852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7853 (eval $ac_link) 2>conftest.er1
7855 grep -v '^ *+' conftest.er1
>conftest.err
7857 cat conftest.err
>&5
7858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7859 (exit $ac_status); } &&
7860 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865 (exit $ac_status); }; } &&
7866 { ac_try
='test -s conftest$ac_exeext'
7867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7871 (exit $ac_status); }; }; then
7872 ac_cv_lib_X11_XkbQueryExtension
=yes
7874 echo "$as_me: failed program was:" >&5
7875 sed 's/^/| /' conftest.
$ac_ext >&5
7877 ac_cv_lib_X11_XkbQueryExtension
=no
7879 rm -f conftest.err conftest.
$ac_objext \
7880 conftest
$ac_exeext conftest.
$ac_ext
7881 LIBS
=$ac_check_lib_save_LIBS
7883 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7884 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7885 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7887 cat >>confdefs.h
<<\_ACEOF
7895 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7897 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7898 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7899 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7900 echo $ECHO_N "(cached) $ECHO_C" >&6
7902 ac_check_lib_save_LIBS
=$LIBS
7903 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7904 cat >conftest.
$ac_ext <<_ACEOF
7907 cat confdefs.h
>>conftest.
$ac_ext
7908 cat >>conftest.
$ac_ext <<_ACEOF
7909 /* end confdefs.h. */
7911 /* Override any gcc2 internal prototype to avoid an error. */
7915 /* We use char because int might match the return type of a gcc2
7916 builtin and then its argument prototype would still apply. */
7917 char XShmQueryExtension ();
7921 XShmQueryExtension ();
7926 rm -f conftest.
$ac_objext conftest
$ac_exeext
7927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7928 (eval $ac_link) 2>conftest.er1
7930 grep -v '^ *+' conftest.er1
>conftest.err
7932 cat conftest.err
>&5
7933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 (exit $ac_status); } &&
7935 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940 (exit $ac_status); }; } &&
7941 { ac_try
='test -s conftest$ac_exeext'
7942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7946 (exit $ac_status); }; }; then
7947 ac_cv_lib_Xext_XShmQueryExtension
=yes
7949 echo "$as_me: failed program was:" >&5
7950 sed 's/^/| /' conftest.
$ac_ext >&5
7952 ac_cv_lib_Xext_XShmQueryExtension
=no
7954 rm -f conftest.err conftest.
$ac_objext \
7955 conftest
$ac_exeext conftest.
$ac_ext
7956 LIBS
=$ac_check_lib_save_LIBS
7958 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7959 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7960 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7962 cat >>confdefs.h
<<\_ACEOF
7963 #define HAVE_LIBXXSHM 1
7970 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7972 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7973 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7974 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7975 echo $ECHO_N "(cached) $ECHO_C" >&6
7977 ac_check_lib_save_LIBS
=$LIBS
7978 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7979 cat >conftest.
$ac_ext <<_ACEOF
7982 cat confdefs.h
>>conftest.
$ac_ext
7983 cat >>conftest.
$ac_ext <<_ACEOF
7984 /* end confdefs.h. */
7986 /* Override any gcc2 internal prototype to avoid an error. */
7990 /* We use char because int might match the return type of a gcc2
7991 builtin and then its argument prototype would still apply. */
7992 char XShapeQueryExtension ();
7996 XShapeQueryExtension ();
8001 rm -f conftest.
$ac_objext conftest
$ac_exeext
8002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8003 (eval $ac_link) 2>conftest.er1
8005 grep -v '^ *+' conftest.er1
>conftest.err
8007 cat conftest.err
>&5
8008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8009 (exit $ac_status); } &&
8010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015 (exit $ac_status); }; } &&
8016 { ac_try
='test -s conftest$ac_exeext'
8017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8021 (exit $ac_status); }; }; then
8022 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8024 echo "$as_me: failed program was:" >&5
8025 sed 's/^/| /' conftest.
$ac_ext >&5
8027 ac_cv_lib_Xext_XShapeQueryExtension
=no
8029 rm -f conftest.err conftest.
$ac_objext \
8030 conftest
$ac_exeext conftest.
$ac_ext
8031 LIBS
=$ac_check_lib_save_LIBS
8033 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8034 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
8035 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8037 cat >>confdefs.h
<<\_ACEOF
8038 #define HAVE_LIBXSHAPE 1
8045 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
8047 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
8048 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
8049 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
8050 echo $ECHO_N "(cached) $ECHO_C" >&6
8052 ac_check_lib_save_LIBS
=$LIBS
8053 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8054 cat >conftest.
$ac_ext <<_ACEOF
8057 cat confdefs.h
>>conftest.
$ac_ext
8058 cat >>conftest.
$ac_ext <<_ACEOF
8059 /* end confdefs.h. */
8061 /* Override any gcc2 internal prototype to avoid an error. */
8065 /* We use char because int might match the return type of a gcc2
8066 builtin and then its argument prototype would still apply. */
8067 char XDGAQueryExtension ();
8071 XDGAQueryExtension ();
8076 rm -f conftest.
$ac_objext conftest
$ac_exeext
8077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8078 (eval $ac_link) 2>conftest.er1
8080 grep -v '^ *+' conftest.er1
>conftest.err
8082 cat conftest.err
>&5
8083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8084 (exit $ac_status); } &&
8085 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8090 (exit $ac_status); }; } &&
8091 { ac_try
='test -s conftest$ac_exeext'
8092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096 (exit $ac_status); }; }; then
8097 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
8099 echo "$as_me: failed program was:" >&5
8100 sed 's/^/| /' conftest.
$ac_ext >&5
8102 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
8104 rm -f conftest.err conftest.
$ac_objext \
8105 conftest
$ac_exeext conftest.
$ac_ext
8106 LIBS
=$ac_check_lib_save_LIBS
8108 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
8109 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
8110 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
8112 cat >>confdefs.h
<<\_ACEOF
8113 #define HAVE_LIBXXF86DGA2 1
8116 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
8122 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8124 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8125 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
8126 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8127 echo $ECHO_N "(cached) $ECHO_C" >&6
8129 ac_check_lib_save_LIBS
=$LIBS
8130 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8131 cat >conftest.
$ac_ext <<_ACEOF
8134 cat confdefs.h
>>conftest.
$ac_ext
8135 cat >>conftest.
$ac_ext <<_ACEOF
8136 /* end confdefs.h. */
8138 /* Override any gcc2 internal prototype to avoid an error. */
8142 /* We use char because int might match the return type of a gcc2
8143 builtin and then its argument prototype would still apply. */
8144 char XF86VidModeQueryExtension ();
8148 XF86VidModeQueryExtension ();
8153 rm -f conftest.
$ac_objext conftest
$ac_exeext
8154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8155 (eval $ac_link) 2>conftest.er1
8157 grep -v '^ *+' conftest.er1
>conftest.err
8159 cat conftest.err
>&5
8160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161 (exit $ac_status); } &&
8162 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8167 (exit $ac_status); }; } &&
8168 { ac_try
='test -s conftest$ac_exeext'
8169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8173 (exit $ac_status); }; }; then
8174 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
8176 echo "$as_me: failed program was:" >&5
8177 sed 's/^/| /' conftest.
$ac_ext >&5
8179 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
8181 rm -f conftest.err conftest.
$ac_objext \
8182 conftest
$ac_exeext conftest.
$ac_ext
8183 LIBS
=$ac_check_lib_save_LIBS
8185 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8186 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
8187 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8189 cat >>confdefs.h
<<\_ACEOF
8190 #define HAVE_LIBXXF86VM 1
8193 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
8199 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8201 cat >conftest.
$ac_ext <<_ACEOF
8204 cat confdefs.h
>>conftest.
$ac_ext
8205 cat >>conftest.
$ac_ext <<_ACEOF
8206 /* end confdefs.h. */
8207 #include <X11/Xlib.h>
8208 #include <X11/extensions/Xrandr.h>
8212 static typeof(XRRSetScreenConfigAndRate) * func;
8217 rm -f conftest.
$ac_objext
8218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8219 (eval $ac_compile) 2>conftest.er1
8221 grep -v '^ *+' conftest.er1
>conftest.err
8223 cat conftest.err
>&5
8224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 (exit $ac_status); } &&
8226 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8231 (exit $ac_status); }; } &&
8232 { ac_try
='test -s conftest.$ac_objext'
8233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8237 (exit $ac_status); }; }; then
8239 cat >>confdefs.h
<<\_ACEOF
8240 #define HAVE_LIBXRANDR 1
8244 echo "$as_me: failed program was:" >&5
8245 sed 's/^/| /' conftest.
$ac_ext >&5
8248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8251 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8253 echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8254 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6
8255 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8256 echo $ECHO_N "(cached) $ECHO_C" >&6
8258 ac_check_lib_save_LIBS
=$LIBS
8259 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8260 cat >conftest.
$ac_ext <<_ACEOF
8263 cat confdefs.h
>>conftest.
$ac_ext
8264 cat >>conftest.
$ac_ext <<_ACEOF
8265 /* end confdefs.h. */
8267 /* Override any gcc2 internal prototype to avoid an error. */
8271 /* We use char because int might match the return type of a gcc2
8272 builtin and then its argument prototype would still apply. */
8273 char XRenderSetPictureTransform ();
8277 XRenderSetPictureTransform ();
8282 rm -f conftest.
$ac_objext conftest
$ac_exeext
8283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8284 (eval $ac_link) 2>conftest.er1
8286 grep -v '^ *+' conftest.er1
>conftest.err
8288 cat conftest.err
>&5
8289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8290 (exit $ac_status); } &&
8291 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8296 (exit $ac_status); }; } &&
8297 { ac_try
='test -s conftest$ac_exeext'
8298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8302 (exit $ac_status); }; }; then
8303 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8305 echo "$as_me: failed program was:" >&5
8306 sed 's/^/| /' conftest.
$ac_ext >&5
8308 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8310 rm -f conftest.err conftest.
$ac_objext \
8311 conftest
$ac_exeext conftest.
$ac_ext
8312 LIBS
=$ac_check_lib_save_LIBS
8314 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8315 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6
8316 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8318 cat >>confdefs.h
<<\_ACEOF
8319 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8326 if test "x$with_opengl" != "xno"
8332 for ac_header
in GL
/gl.h GL
/glx.h GL
/glext.h GL
/glu.h
8334 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8335 echo "$as_me:$LINENO: checking for $ac_header" >&5
8336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8338 echo $ECHO_N "(cached) $ECHO_C" >&6
8340 cat >conftest.
$ac_ext <<_ACEOF
8343 cat confdefs.h
>>conftest.
$ac_ext
8344 cat >>conftest.
$ac_ext <<_ACEOF
8345 /* end confdefs.h. */
8346 #ifdef HAVE_GL_GLX_H
8347 # include <GL/glx.h>
8350 #include <$ac_header>
8352 rm -f conftest.
$ac_objext
8353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8354 (eval $ac_compile) 2>conftest.er1
8356 grep -v '^ *+' conftest.er1
>conftest.err
8358 cat conftest.err
>&5
8359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8360 (exit $ac_status); } &&
8361 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8366 (exit $ac_status); }; } &&
8367 { ac_try
='test -s conftest.$ac_objext'
8368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8372 (exit $ac_status); }; }; then
8373 eval "$as_ac_Header=yes"
8375 echo "$as_me: failed program was:" >&5
8376 sed 's/^/| /' conftest.
$ac_ext >&5
8378 eval "$as_ac_Header=no"
8380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8383 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8384 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8385 cat >>confdefs.h
<<_ACEOF
8386 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8393 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8395 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8396 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8397 if test "${wine_cv_opengl_version_OK+set}" = set; then
8398 echo $ECHO_N "(cached) $ECHO_C" >&6
8400 cat >conftest.
$ac_ext <<_ACEOF
8403 cat confdefs.h
>>conftest.
$ac_ext
8404 cat >>conftest.
$ac_ext <<_ACEOF
8405 /* end confdefs.h. */
8410 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8415 rm -f conftest.
$ac_objext
8416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8417 (eval $ac_compile) 2>conftest.er1
8419 grep -v '^ *+' conftest.er1
>conftest.err
8421 cat conftest.err
>&5
8422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8423 (exit $ac_status); } &&
8424 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); }; } &&
8430 { ac_try
='test -s conftest.$ac_objext'
8431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435 (exit $ac_status); }; }; then
8436 wine_cv_opengl_version_OK
="yes"
8438 echo "$as_me: failed program was:" >&5
8439 sed 's/^/| /' conftest.
$ac_ext >&5
8441 wine_cv_opengl_version_OK
="no"
8444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8447 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8448 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8450 if test "$wine_cv_opengl_version_OK" = "yes"
8452 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8453 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8454 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8455 echo $ECHO_N "(cached) $ECHO_C" >&6
8457 ac_check_lib_save_LIBS
=$LIBS
8458 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8459 cat >conftest.
$ac_ext <<_ACEOF
8462 cat confdefs.h
>>conftest.
$ac_ext
8463 cat >>conftest.
$ac_ext <<_ACEOF
8464 /* end confdefs.h. */
8466 /* Override any gcc2 internal prototype to avoid an error. */
8470 /* We use char because int might match the return type of a gcc2
8471 builtin and then its argument prototype would still apply. */
8472 char glXCreateContext ();
8476 glXCreateContext ();
8481 rm -f conftest.
$ac_objext conftest
$ac_exeext
8482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8483 (eval $ac_link) 2>conftest.er1
8485 grep -v '^ *+' conftest.er1
>conftest.err
8487 cat conftest.err
>&5
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 (exit $ac_status); } &&
8490 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495 (exit $ac_status); }; } &&
8496 { ac_try
='test -s conftest$ac_exeext'
8497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501 (exit $ac_status); }; }; then
8502 ac_cv_lib_GL_glXCreateContext
=yes
8504 echo "$as_me: failed program was:" >&5
8505 sed 's/^/| /' conftest.
$ac_ext >&5
8507 ac_cv_lib_GL_glXCreateContext
=no
8509 rm -f conftest.err conftest.
$ac_objext \
8510 conftest
$ac_exeext conftest.
$ac_ext
8511 LIBS
=$ac_check_lib_save_LIBS
8513 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8514 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8515 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8521 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8523 OPENGLFILES
='$(OPENGLFILES)'
8525 cat >>confdefs.h
<<\_ACEOF
8526 #define HAVE_OPENGL 1
8530 if test -f /usr
/X11R
6/lib
/libGL.a
8532 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8533 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8534 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8535 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8536 { (exit 1); exit 1; }; }
8540 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8541 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8542 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8543 echo $ECHO_N "(cached) $ECHO_C" >&6
8545 ac_check_lib_save_LIBS
=$LIBS
8546 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8548 cat >conftest.
$ac_ext <<_ACEOF
8551 cat confdefs.h
>>conftest.
$ac_ext
8552 cat >>conftest.
$ac_ext <<_ACEOF
8553 /* end confdefs.h. */
8555 /* Override any gcc2 internal prototype to avoid an error. */
8559 /* We use char because int might match the return type of a gcc2
8560 builtin and then its argument prototype would still apply. */
8570 rm -f conftest.
$ac_objext conftest
$ac_exeext
8571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8572 (eval $ac_link) 2>conftest.er1
8574 grep -v '^ *+' conftest.er1
>conftest.err
8576 cat conftest.err
>&5
8577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578 (exit $ac_status); } &&
8579 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8584 (exit $ac_status); }; } &&
8585 { ac_try
='test -s conftest$ac_exeext'
8586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590 (exit $ac_status); }; }; then
8591 ac_cv_lib_GLU_gluLookAt
=yes
8593 echo "$as_me: failed program was:" >&5
8594 sed 's/^/| /' conftest.
$ac_ext >&5
8596 ac_cv_lib_GLU_gluLookAt
=no
8598 rm -f conftest.err conftest.
$ac_objext \
8599 conftest
$ac_exeext conftest.
$ac_ext
8600 LIBS
=$ac_check_lib_save_LIBS
8602 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8603 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8604 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8605 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
8606 GLU32FILES
='$(GLU32FILES)'
8612 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8613 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8614 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8615 echo $ECHO_N "(cached) $ECHO_C" >&6
8617 ac_check_lib_save_LIBS
=$LIBS
8618 LIBS
="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8619 cat >conftest.
$ac_ext <<_ACEOF
8622 cat confdefs.h
>>conftest.
$ac_ext
8623 cat >>conftest.
$ac_ext <<_ACEOF
8624 /* end confdefs.h. */
8626 /* Override any gcc2 internal prototype to avoid an error. */
8630 /* We use char because int might match the return type of a gcc2
8631 builtin and then its argument prototype would still apply. */
8632 char glutMainLoop ();
8641 rm -f conftest.
$ac_objext conftest
$ac_exeext
8642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8643 (eval $ac_link) 2>conftest.er1
8645 grep -v '^ *+' conftest.er1
>conftest.err
8647 cat conftest.err
>&5
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 (exit $ac_status); } &&
8650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 (exit $ac_status); }; } &&
8656 { ac_try
='test -s conftest$ac_exeext'
8657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661 (exit $ac_status); }; }; then
8662 ac_cv_lib_glut_glutMainLoop
=yes
8664 echo "$as_me: failed program was:" >&5
8665 sed 's/^/| /' conftest.
$ac_ext >&5
8667 ac_cv_lib_glut_glutMainLoop
=no
8669 rm -f conftest.err conftest.
$ac_objext \
8670 conftest
$ac_exeext conftest.
$ac_ext
8671 LIBS
=$ac_check_lib_save_LIBS
8673 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
8674 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
8675 if test $ac_cv_lib_glut_glutMainLoop = yes; then
8676 GLUT_LIBS
="-lglut -lXmu -lXi"
8678 GLUT32FILES
='$(GLUT32FILES)'
8688 for ac_header
in audio
/audiolib.h
8690 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8692 echo "$as_me:$LINENO: checking for $ac_header" >&5
8693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8695 echo $ECHO_N "(cached) $ECHO_C" >&6
8697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8700 # Is the header compilable?
8701 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8702 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8703 cat >conftest.
$ac_ext <<_ACEOF
8706 cat confdefs.h
>>conftest.
$ac_ext
8707 cat >>conftest.
$ac_ext <<_ACEOF
8708 /* end confdefs.h. */
8709 $ac_includes_default
8710 #include <$ac_header>
8712 rm -f conftest.
$ac_objext
8713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8714 (eval $ac_compile) 2>conftest.er1
8716 grep -v '^ *+' conftest.er1
>conftest.err
8718 cat conftest.err
>&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); } &&
8721 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); }; } &&
8727 { ac_try
='test -s conftest.$ac_objext'
8728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); }; }; then
8733 ac_header_compiler
=yes
8735 echo "$as_me: failed program was:" >&5
8736 sed 's/^/| /' conftest.
$ac_ext >&5
8738 ac_header_compiler
=no
8740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8741 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8742 echo "${ECHO_T}$ac_header_compiler" >&6
8744 # Is the header present?
8745 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8746 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8747 cat >conftest.
$ac_ext <<_ACEOF
8750 cat confdefs.h
>>conftest.
$ac_ext
8751 cat >>conftest.
$ac_ext <<_ACEOF
8752 /* end confdefs.h. */
8753 #include <$ac_header>
8755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8756 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8758 grep -v '^ *+' conftest.er1
>conftest.err
8760 cat conftest.err
>&5
8761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8762 (exit $ac_status); } >/dev
/null
; then
8763 if test -s conftest.err
; then
8764 ac_cpp_err
=$ac_c_preproc_warn_flag
8765 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8772 if test -z "$ac_cpp_err"; then
8773 ac_header_preproc
=yes
8775 echo "$as_me: failed program was:" >&5
8776 sed 's/^/| /' conftest.
$ac_ext >&5
8778 ac_header_preproc
=no
8780 rm -f conftest.err conftest.
$ac_ext
8781 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8782 echo "${ECHO_T}$ac_header_preproc" >&6
8784 # So? What about this header?
8785 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8787 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8788 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8789 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8790 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8791 ac_header_preproc
=yes
8794 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8795 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8796 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8797 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8798 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8799 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8800 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8801 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8802 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8803 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8804 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8805 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8808 ## ------------------------------------ ##
8809 ## Report this to wine-devel@winehq.org ##
8810 ## ------------------------------------ ##
8813 sed "s/^/$as_me: WARNING: /" >&2
8816 echo "$as_me:$LINENO: checking for $ac_header" >&5
8817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8819 echo $ECHO_N "(cached) $ECHO_C" >&6
8821 eval "$as_ac_Header=\$ac_header_preproc"
8823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8828 cat >>confdefs.h
<<_ACEOF
8829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8832 for ac_header
in audio
/soundlib.h
8834 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8835 echo "$as_me:$LINENO: checking for $ac_header" >&5
8836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8838 echo $ECHO_N "(cached) $ECHO_C" >&6
8840 cat >conftest.
$ac_ext <<_ACEOF
8843 cat confdefs.h
>>conftest.
$ac_ext
8844 cat >>conftest.
$ac_ext <<_ACEOF
8845 /* end confdefs.h. */
8846 #include <audio/audiolib.h>
8848 #include <$ac_header>
8850 rm -f conftest.
$ac_objext
8851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8852 (eval $ac_compile) 2>conftest.er1
8854 grep -v '^ *+' conftest.er1
>conftest.err
8856 cat conftest.err
>&5
8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); } &&
8859 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 (exit $ac_status); }; } &&
8865 { ac_try
='test -s conftest.$ac_objext'
8866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8870 (exit $ac_status); }; }; then
8871 eval "$as_ac_Header=yes"
8873 echo "$as_me: failed program was:" >&5
8874 sed 's/^/| /' conftest.
$ac_ext >&5
8876 eval "$as_ac_Header=no"
8878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8883 cat >>confdefs.h
<<_ACEOF
8884 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8891 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8892 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8893 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8894 echo $ECHO_N "(cached) $ECHO_C" >&6
8896 ac_check_lib_save_LIBS
=$LIBS
8897 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8898 cat >conftest.
$ac_ext <<_ACEOF
8901 cat confdefs.h
>>conftest.
$ac_ext
8902 cat >>conftest.
$ac_ext <<_ACEOF
8903 /* end confdefs.h. */
8905 /* Override any gcc2 internal prototype to avoid an error. */
8909 /* We use char because int might match the return type of a gcc2
8910 builtin and then its argument prototype would still apply. */
8911 char AuCreateFlow ();
8920 rm -f conftest.
$ac_objext conftest
$ac_exeext
8921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8922 (eval $ac_link) 2>conftest.er1
8924 grep -v '^ *+' conftest.er1
>conftest.err
8926 cat conftest.err
>&5
8927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928 (exit $ac_status); } &&
8929 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8934 (exit $ac_status); }; } &&
8935 { ac_try
='test -s conftest$ac_exeext'
8936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8940 (exit $ac_status); }; }; then
8941 ac_cv_lib_audio_AuCreateFlow
=yes
8943 echo "$as_me: failed program was:" >&5
8944 sed 's/^/| /' conftest.
$ac_ext >&5
8946 ac_cv_lib_audio_AuCreateFlow
=no
8948 rm -f conftest.err conftest.
$ac_objext \
8949 conftest
$ac_exeext conftest.
$ac_ext
8950 LIBS
=$ac_check_lib_save_LIBS
8952 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8953 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8954 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8956 cat >>confdefs.h
<<\_ACEOF
8960 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8968 CPPFLAGS
="$ac_save_CPPFLAGS"
8985 if test "$PKG_CONFIG" != "false"
8987 ac_save_CPPFLAGS
="$CPPFLAGS"
8988 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0`"
8989 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0`"
8990 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
8992 for ac_header
in libxml
/parser.h
8994 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8996 echo "$as_me:$LINENO: checking for $ac_header" >&5
8997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8999 echo $ECHO_N "(cached) $ECHO_C" >&6
9001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9004 # Is the header compilable?
9005 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9006 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9007 cat >conftest.
$ac_ext <<_ACEOF
9010 cat confdefs.h
>>conftest.
$ac_ext
9011 cat >>conftest.
$ac_ext <<_ACEOF
9012 /* end confdefs.h. */
9013 $ac_includes_default
9014 #include <$ac_header>
9016 rm -f conftest.
$ac_objext
9017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9018 (eval $ac_compile) 2>conftest.er1
9020 grep -v '^ *+' conftest.er1
>conftest.err
9022 cat conftest.err
>&5
9023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9024 (exit $ac_status); } &&
9025 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 (exit $ac_status); }; } &&
9031 { ac_try
='test -s conftest.$ac_objext'
9032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036 (exit $ac_status); }; }; then
9037 ac_header_compiler
=yes
9039 echo "$as_me: failed program was:" >&5
9040 sed 's/^/| /' conftest.
$ac_ext >&5
9042 ac_header_compiler
=no
9044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9045 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9046 echo "${ECHO_T}$ac_header_compiler" >&6
9048 # Is the header present?
9049 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9050 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9051 cat >conftest.
$ac_ext <<_ACEOF
9054 cat confdefs.h
>>conftest.
$ac_ext
9055 cat >>conftest.
$ac_ext <<_ACEOF
9056 /* end confdefs.h. */
9057 #include <$ac_header>
9059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9060 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9062 grep -v '^ *+' conftest.er1
>conftest.err
9064 cat conftest.err
>&5
9065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9066 (exit $ac_status); } >/dev
/null
; then
9067 if test -s conftest.err
; then
9068 ac_cpp_err
=$ac_c_preproc_warn_flag
9069 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9076 if test -z "$ac_cpp_err"; then
9077 ac_header_preproc
=yes
9079 echo "$as_me: failed program was:" >&5
9080 sed 's/^/| /' conftest.
$ac_ext >&5
9082 ac_header_preproc
=no
9084 rm -f conftest.err conftest.
$ac_ext
9085 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9086 echo "${ECHO_T}$ac_header_preproc" >&6
9088 # So? What about this header?
9089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9091 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9092 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9094 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9095 ac_header_preproc
=yes
9098 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9099 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9100 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9101 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9102 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9103 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9104 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9105 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9106 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9107 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9108 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9109 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9112 ## ------------------------------------ ##
9113 ## Report this to wine-devel@winehq.org ##
9114 ## ------------------------------------ ##
9117 sed "s/^/$as_me: WARNING: /" >&2
9120 echo "$as_me:$LINENO: checking for $ac_header" >&5
9121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9123 echo $ECHO_N "(cached) $ECHO_C" >&6
9125 eval "$as_ac_Header=\$ac_header_preproc"
9127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9131 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9132 cat >>confdefs.h
<<_ACEOF
9133 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9135 echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
9136 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6
9137 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
9138 echo $ECHO_N "(cached) $ECHO_C" >&6
9140 ac_check_lib_save_LIBS
=$LIBS
9141 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9142 cat >conftest.
$ac_ext <<_ACEOF
9145 cat confdefs.h
>>conftest.
$ac_ext
9146 cat >>conftest.
$ac_ext <<_ACEOF
9147 /* end confdefs.h. */
9149 /* Override any gcc2 internal prototype to avoid an error. */
9153 /* We use char because int might match the return type of a gcc2
9154 builtin and then its argument prototype would still apply. */
9155 char xmlParseMemory ();
9164 rm -f conftest.
$ac_objext conftest
$ac_exeext
9165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9166 (eval $ac_link) 2>conftest.er1
9168 grep -v '^ *+' conftest.er1
>conftest.err
9170 cat conftest.err
>&5
9171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9172 (exit $ac_status); } &&
9173 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9178 (exit $ac_status); }; } &&
9179 { ac_try
='test -s conftest$ac_exeext'
9180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9184 (exit $ac_status); }; }; then
9185 ac_cv_lib_xml2_xmlParseMemory
=yes
9187 echo "$as_me: failed program was:" >&5
9188 sed 's/^/| /' conftest.
$ac_ext >&5
9190 ac_cv_lib_xml2_xmlParseMemory
=no
9192 rm -f conftest.err conftest.
$ac_objext \
9193 conftest
$ac_exeext conftest.
$ac_ext
9194 LIBS
=$ac_check_lib_save_LIBS
9196 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9197 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6
9198 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9200 cat >>confdefs.h
<<\_ACEOF
9201 #define HAVE_LIBXML2 1
9204 XML2LIBS
="$ac_xml_libs"
9205 XML2INCL
="$ac_xml_cflags"
9208 echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
9209 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6
9210 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
9211 echo $ECHO_N "(cached) $ECHO_C" >&6
9213 ac_check_lib_save_LIBS
=$LIBS
9214 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9215 cat >conftest.
$ac_ext <<_ACEOF
9218 cat confdefs.h
>>conftest.
$ac_ext
9219 cat >>conftest.
$ac_ext <<_ACEOF
9220 /* end confdefs.h. */
9222 /* Override any gcc2 internal prototype to avoid an error. */
9226 /* We use char because int might match the return type of a gcc2
9227 builtin and then its argument prototype would still apply. */
9228 char xmlReadMemory ();
9237 rm -f conftest.
$ac_objext conftest
$ac_exeext
9238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9239 (eval $ac_link) 2>conftest.er1
9241 grep -v '^ *+' conftest.er1
>conftest.err
9243 cat conftest.err
>&5
9244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9245 (exit $ac_status); } &&
9246 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9251 (exit $ac_status); }; } &&
9252 { ac_try
='test -s conftest$ac_exeext'
9253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9257 (exit $ac_status); }; }; then
9258 ac_cv_lib_xml2_xmlReadMemory
=yes
9260 echo "$as_me: failed program was:" >&5
9261 sed 's/^/| /' conftest.
$ac_ext >&5
9263 ac_cv_lib_xml2_xmlReadMemory
=no
9265 rm -f conftest.err conftest.
$ac_objext \
9266 conftest
$ac_exeext conftest.
$ac_ext
9267 LIBS
=$ac_check_lib_save_LIBS
9269 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9270 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6
9271 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9273 cat >>confdefs.h
<<\_ACEOF
9274 #define HAVE_XMLREADMEMORY 1
9284 CPPFLAGS
="$ac_save_CPPFLAGS"
9285 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt`"
9286 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt`"
9287 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
9290 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9292 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9293 echo "$as_me:$LINENO: checking for $ac_header" >&5
9294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9296 echo $ECHO_N "(cached) $ECHO_C" >&6
9298 cat >conftest.
$ac_ext <<_ACEOF
9301 cat confdefs.h
>>conftest.
$ac_ext
9302 cat >>conftest.
$ac_ext <<_ACEOF
9303 /* end confdefs.h. */
9304 #ifdef HAVE_LIBXSLT_PATTERN_H
9305 # include <libxslt/pattern.h>
9308 #include <$ac_header>
9310 rm -f conftest.
$ac_objext
9311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9312 (eval $ac_compile) 2>conftest.er1
9314 grep -v '^ *+' conftest.er1
>conftest.err
9316 cat conftest.err
>&5
9317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318 (exit $ac_status); } &&
9319 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9324 (exit $ac_status); }; } &&
9325 { ac_try
='test -s conftest.$ac_objext'
9326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330 (exit $ac_status); }; }; then
9331 eval "$as_ac_Header=yes"
9333 echo "$as_me: failed program was:" >&5
9334 sed 's/^/| /' conftest.
$ac_ext >&5
9336 eval "$as_ac_Header=no"
9338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9343 cat >>confdefs.h
<<_ACEOF
9344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9346 echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9347 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6
9348 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9349 echo $ECHO_N "(cached) $ECHO_C" >&6
9351 ac_check_lib_save_LIBS
=$LIBS
9352 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9353 cat >conftest.
$ac_ext <<_ACEOF
9356 cat confdefs.h
>>conftest.
$ac_ext
9357 cat >>conftest.
$ac_ext <<_ACEOF
9358 /* end confdefs.h. */
9360 /* Override any gcc2 internal prototype to avoid an error. */
9364 /* We use char because int might match the return type of a gcc2
9365 builtin and then its argument prototype would still apply. */
9366 char xsltCompilePattern ();
9370 xsltCompilePattern ();
9375 rm -f conftest.
$ac_objext conftest
$ac_exeext
9376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9377 (eval $ac_link) 2>conftest.er1
9379 grep -v '^ *+' conftest.er1
>conftest.err
9381 cat conftest.err
>&5
9382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9383 (exit $ac_status); } &&
9384 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389 (exit $ac_status); }; } &&
9390 { ac_try
='test -s conftest$ac_exeext'
9391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9395 (exit $ac_status); }; }; then
9396 ac_cv_lib_xslt_xsltCompilePattern
=yes
9398 echo "$as_me: failed program was:" >&5
9399 sed 's/^/| /' conftest.
$ac_ext >&5
9401 ac_cv_lib_xslt_xsltCompilePattern
=no
9403 rm -f conftest.err conftest.
$ac_objext \
9404 conftest
$ac_exeext conftest.
$ac_ext
9405 LIBS
=$ac_check_lib_save_LIBS
9407 echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9408 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6
9409 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9411 cat >>confdefs.h
<<\_ACEOF
9412 #define HAVE_LIBXSLT 1
9415 XSLTLIBS
="$ac_xslt_libs"
9416 XSLTINCL
="$ac_xslt_cflags"
9424 CPPFLAGS
="$ac_save_CPPFLAGS"
9429 if test "$PKG_CONFIG" != "false"
9431 ac_save_CPPFLAGS
="$CPPFLAGS"
9432 ac_hal_libs
="`$PKG_CONFIG --libs hal`"
9433 ac_hal_cflags
="`$PKG_CONFIG --cflags hal`"
9434 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
9437 for ac_header
in dbus
/dbus.h hal
/libhal.h
9439 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9441 echo "$as_me:$LINENO: checking for $ac_header" >&5
9442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9444 echo $ECHO_N "(cached) $ECHO_C" >&6
9446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9449 # Is the header compilable?
9450 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9451 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9452 cat >conftest.
$ac_ext <<_ACEOF
9455 cat confdefs.h
>>conftest.
$ac_ext
9456 cat >>conftest.
$ac_ext <<_ACEOF
9457 /* end confdefs.h. */
9458 $ac_includes_default
9459 #include <$ac_header>
9461 rm -f conftest.
$ac_objext
9462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9463 (eval $ac_compile) 2>conftest.er1
9465 grep -v '^ *+' conftest.er1
>conftest.err
9467 cat conftest.err
>&5
9468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 (exit $ac_status); } &&
9470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9475 (exit $ac_status); }; } &&
9476 { ac_try
='test -s conftest.$ac_objext'
9477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9481 (exit $ac_status); }; }; then
9482 ac_header_compiler
=yes
9484 echo "$as_me: failed program was:" >&5
9485 sed 's/^/| /' conftest.
$ac_ext >&5
9487 ac_header_compiler
=no
9489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9490 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9491 echo "${ECHO_T}$ac_header_compiler" >&6
9493 # Is the header present?
9494 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9495 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9496 cat >conftest.
$ac_ext <<_ACEOF
9499 cat confdefs.h
>>conftest.
$ac_ext
9500 cat >>conftest.
$ac_ext <<_ACEOF
9501 /* end confdefs.h. */
9502 #include <$ac_header>
9504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9505 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9507 grep -v '^ *+' conftest.er1
>conftest.err
9509 cat conftest.err
>&5
9510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9511 (exit $ac_status); } >/dev
/null
; then
9512 if test -s conftest.err
; then
9513 ac_cpp_err
=$ac_c_preproc_warn_flag
9514 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9521 if test -z "$ac_cpp_err"; then
9522 ac_header_preproc
=yes
9524 echo "$as_me: failed program was:" >&5
9525 sed 's/^/| /' conftest.
$ac_ext >&5
9527 ac_header_preproc
=no
9529 rm -f conftest.err conftest.
$ac_ext
9530 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9531 echo "${ECHO_T}$ac_header_preproc" >&6
9533 # So? What about this header?
9534 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9536 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9537 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9539 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9540 ac_header_preproc
=yes
9543 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9544 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9545 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9546 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9547 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9548 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9549 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9550 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9552 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9553 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9554 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9557 ## ------------------------------------ ##
9558 ## Report this to wine-devel@winehq.org ##
9559 ## ------------------------------------ ##
9562 sed "s/^/$as_me: WARNING: /" >&2
9565 echo "$as_me:$LINENO: checking for $ac_header" >&5
9566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9568 echo $ECHO_N "(cached) $ECHO_C" >&6
9570 eval "$as_ac_Header=\$ac_header_preproc"
9572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9577 cat >>confdefs.h
<<_ACEOF
9578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9585 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9587 echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9588 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6
9589 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9590 echo $ECHO_N "(cached) $ECHO_C" >&6
9592 ac_check_lib_save_LIBS
=$LIBS
9594 cat >conftest.
$ac_ext <<_ACEOF
9597 cat confdefs.h
>>conftest.
$ac_ext
9598 cat >>conftest.
$ac_ext <<_ACEOF
9599 /* end confdefs.h. */
9601 /* Override any gcc2 internal prototype to avoid an error. */
9605 /* We use char because int might match the return type of a gcc2
9606 builtin and then its argument prototype would still apply. */
9607 char libhal_ctx_new ();
9616 rm -f conftest.
$ac_objext conftest
$ac_exeext
9617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9618 (eval $ac_link) 2>conftest.er1
9620 grep -v '^ *+' conftest.er1
>conftest.err
9622 cat conftest.err
>&5
9623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9624 (exit $ac_status); } &&
9625 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9630 (exit $ac_status); }; } &&
9631 { ac_try
='test -s conftest$ac_exeext'
9632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9636 (exit $ac_status); }; }; then
9637 ac_cv_lib_hal_libhal_ctx_new
=yes
9639 echo "$as_me: failed program was:" >&5
9640 sed 's/^/| /' conftest.
$ac_ext >&5
9642 ac_cv_lib_hal_libhal_ctx_new
=no
9644 rm -f conftest.err conftest.
$ac_objext \
9645 conftest
$ac_exeext conftest.
$ac_ext
9646 LIBS
=$ac_check_lib_save_LIBS
9648 echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9649 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6
9650 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9651 echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9652 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6
9653 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9654 echo $ECHO_N "(cached) $ECHO_C" >&6
9656 ac_check_lib_save_LIBS
=$LIBS
9657 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
9658 cat >conftest.
$ac_ext <<_ACEOF
9661 cat confdefs.h
>>conftest.
$ac_ext
9662 cat >>conftest.
$ac_ext <<_ACEOF
9663 /* end confdefs.h. */
9665 /* Override any gcc2 internal prototype to avoid an error. */
9669 /* We use char because int might match the return type of a gcc2
9670 builtin and then its argument prototype would still apply. */
9671 char dbus_connection_close ();
9675 dbus_connection_close ();
9680 rm -f conftest.
$ac_objext conftest
$ac_exeext
9681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9682 (eval $ac_link) 2>conftest.er1
9684 grep -v '^ *+' conftest.er1
>conftest.err
9686 cat conftest.err
>&5
9687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9688 (exit $ac_status); } &&
9689 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694 (exit $ac_status); }; } &&
9695 { ac_try
='test -s conftest$ac_exeext'
9696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9700 (exit $ac_status); }; }; then
9701 ac_cv_lib_dbus_1_dbus_connection_close
=yes
9703 echo "$as_me: failed program was:" >&5
9704 sed 's/^/| /' conftest.
$ac_ext >&5
9706 ac_cv_lib_dbus_1_dbus_connection_close
=no
9708 rm -f conftest.err conftest.
$ac_objext \
9709 conftest
$ac_exeext conftest.
$ac_ext
9710 LIBS
=$ac_check_lib_save_LIBS
9712 echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9713 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6
9714 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9716 cat >>confdefs.h
<<\_ACEOF
9717 #define HAVE_LIBHAL 1
9720 HALINCL
="$ac_hal_cflags"
9726 CPPFLAGS
="$ac_save_CPPFLAGS"
9730 if test "x$with_curses" != "xno"
9732 if test "$ac_cv_header_ncurses_h" = "yes"
9734 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9735 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9736 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9737 echo $ECHO_N "(cached) $ECHO_C" >&6
9739 ac_check_lib_save_LIBS
=$LIBS
9740 LIBS
="-lncurses $LIBS"
9741 cat >conftest.
$ac_ext <<_ACEOF
9744 cat confdefs.h
>>conftest.
$ac_ext
9745 cat >>conftest.
$ac_ext <<_ACEOF
9746 /* end confdefs.h. */
9748 /* Override any gcc2 internal prototype to avoid an error. */
9752 /* We use char because int might match the return type of a gcc2
9753 builtin and then its argument prototype would still apply. */
9763 rm -f conftest.
$ac_objext conftest
$ac_exeext
9764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9765 (eval $ac_link) 2>conftest.er1
9767 grep -v '^ *+' conftest.er1
>conftest.err
9769 cat conftest.err
>&5
9770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9771 (exit $ac_status); } &&
9772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9777 (exit $ac_status); }; } &&
9778 { ac_try
='test -s conftest$ac_exeext'
9779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9783 (exit $ac_status); }; }; then
9784 ac_cv_lib_ncurses_waddch
=yes
9786 echo "$as_me: failed program was:" >&5
9787 sed 's/^/| /' conftest.
$ac_ext >&5
9789 ac_cv_lib_ncurses_waddch
=no
9791 rm -f conftest.err conftest.
$ac_objext \
9792 conftest
$ac_exeext conftest.
$ac_ext
9793 LIBS
=$ac_check_lib_save_LIBS
9795 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9796 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9797 if test $ac_cv_lib_ncurses_waddch = yes; then
9799 cat >>confdefs.h
<<\_ACEOF
9800 #define HAVE_LIBNCURSES 1
9803 CURSESLIBS
="-lncurses"
9806 elif test "$ac_cv_header_curses_h" = "yes"
9808 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9809 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9810 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9811 echo $ECHO_N "(cached) $ECHO_C" >&6
9813 ac_check_lib_save_LIBS
=$LIBS
9814 LIBS
="-lcurses $LIBS"
9815 cat >conftest.
$ac_ext <<_ACEOF
9818 cat confdefs.h
>>conftest.
$ac_ext
9819 cat >>conftest.
$ac_ext <<_ACEOF
9820 /* end confdefs.h. */
9822 /* Override any gcc2 internal prototype to avoid an error. */
9826 /* We use char because int might match the return type of a gcc2
9827 builtin and then its argument prototype would still apply. */
9837 rm -f conftest.
$ac_objext conftest
$ac_exeext
9838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9839 (eval $ac_link) 2>conftest.er1
9841 grep -v '^ *+' conftest.er1
>conftest.err
9843 cat conftest.err
>&5
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); } &&
9846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9851 (exit $ac_status); }; } &&
9852 { ac_try
='test -s conftest$ac_exeext'
9853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9857 (exit $ac_status); }; }; then
9858 ac_cv_lib_curses_waddch
=yes
9860 echo "$as_me: failed program was:" >&5
9861 sed 's/^/| /' conftest.
$ac_ext >&5
9863 ac_cv_lib_curses_waddch
=no
9865 rm -f conftest.err conftest.
$ac_objext \
9866 conftest
$ac_exeext conftest.
$ac_ext
9867 LIBS
=$ac_check_lib_save_LIBS
9869 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9870 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9871 if test $ac_cv_lib_curses_waddch = yes; then
9873 cat >>confdefs.h
<<\_ACEOF
9874 #define HAVE_LIBCURSES 1
9877 CURSESLIBS
="-lcurses"
9884 # Extract the first word of "sane-config", so it can be a program name with args.
9885 set dummy sane-config
; ac_word
=$2
9886 echo "$as_me:$LINENO: checking for $ac_word" >&5
9887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9888 if test "${ac_cv_prog_sane_devel+set}" = set; then
9889 echo $ECHO_N "(cached) $ECHO_C" >&6
9891 if test -n "$sane_devel"; then
9892 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9898 test -z "$as_dir" && as_dir
=.
9899 for ac_exec_ext
in '' $ac_executable_extensions; do
9900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9901 ac_cv_prog_sane_devel
="sane-config"
9902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9908 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9911 sane_devel
=$ac_cv_prog_sane_devel
9912 if test -n "$sane_devel"; then
9913 echo "$as_me:$LINENO: result: $sane_devel" >&5
9914 echo "${ECHO_T}$sane_devel" >&6
9916 echo "$as_me:$LINENO: result: no" >&5
9917 echo "${ECHO_T}no" >&6
9924 if test "$sane_devel" != "no"
9926 SANELIBS
="`$sane_devel --libs`"
9927 SANEINCL
="`$sane_devel --cflags`"
9928 ac_save_CPPFLAGS
="$CPPFLAGS"
9929 ac_save_LIBS
="$LIBS"
9930 CPPFLAGS
="$CPPFLAGS $SANEINCL"
9931 LIBS
="$LIBS $SANELIBS"
9932 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9933 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9934 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9935 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9936 echo $ECHO_N "(cached) $ECHO_C" >&6
9938 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9939 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9941 # Is the header compilable?
9942 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9943 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9944 cat >conftest.
$ac_ext <<_ACEOF
9947 cat confdefs.h
>>conftest.
$ac_ext
9948 cat >>conftest.
$ac_ext <<_ACEOF
9949 /* end confdefs.h. */
9950 $ac_includes_default
9951 #include <sane/sane.h>
9953 rm -f conftest.
$ac_objext
9954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9955 (eval $ac_compile) 2>conftest.er1
9957 grep -v '^ *+' conftest.er1
>conftest.err
9959 cat conftest.err
>&5
9960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9961 (exit $ac_status); } &&
9962 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9967 (exit $ac_status); }; } &&
9968 { ac_try
='test -s conftest.$ac_objext'
9969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9973 (exit $ac_status); }; }; then
9974 ac_header_compiler
=yes
9976 echo "$as_me: failed program was:" >&5
9977 sed 's/^/| /' conftest.
$ac_ext >&5
9979 ac_header_compiler
=no
9981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9982 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9983 echo "${ECHO_T}$ac_header_compiler" >&6
9985 # Is the header present?
9986 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9987 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9988 cat >conftest.
$ac_ext <<_ACEOF
9991 cat confdefs.h
>>conftest.
$ac_ext
9992 cat >>conftest.
$ac_ext <<_ACEOF
9993 /* end confdefs.h. */
9994 #include <sane/sane.h>
9996 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9997 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9999 grep -v '^ *+' conftest.er1
>conftest.err
10001 cat conftest.err
>&5
10002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10003 (exit $ac_status); } >/dev
/null
; then
10004 if test -s conftest.err
; then
10005 ac_cpp_err
=$ac_c_preproc_warn_flag
10006 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10013 if test -z "$ac_cpp_err"; then
10014 ac_header_preproc
=yes
10016 echo "$as_me: failed program was:" >&5
10017 sed 's/^/| /' conftest.
$ac_ext >&5
10019 ac_header_preproc
=no
10021 rm -f conftest.err conftest.
$ac_ext
10022 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10023 echo "${ECHO_T}$ac_header_preproc" >&6
10025 # So? What about this header?
10026 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10028 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10029 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10030 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10031 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10032 ac_header_preproc
=yes
10035 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10036 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10037 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10038 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10039 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10040 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10041 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10042 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10043 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10044 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10045 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10046 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10049 ## ------------------------------------ ##
10050 ## Report this to wine-devel@winehq.org ##
10051 ## ------------------------------------ ##
10054 sed "s/^/$as_me: WARNING: /" >&2
10057 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10058 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
10059 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10060 echo $ECHO_N "(cached) $ECHO_C" >&6
10062 ac_cv_header_sane_sane_h
=$ac_header_preproc
10064 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10065 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
10068 if test $ac_cv_header_sane_sane_h = yes; then
10069 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
10070 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
10071 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
10072 echo $ECHO_N "(cached) $ECHO_C" >&6
10074 ac_check_lib_save_LIBS
=$LIBS
10075 LIBS
="-lsane $LIBS"
10076 cat >conftest.
$ac_ext <<_ACEOF
10079 cat confdefs.h
>>conftest.
$ac_ext
10080 cat >>conftest.
$ac_ext <<_ACEOF
10081 /* end confdefs.h. */
10083 /* Override any gcc2 internal prototype to avoid an error. */
10087 /* We use char because int might match the return type of a gcc2
10088 builtin and then its argument prototype would still apply. */
10098 rm -f conftest.
$ac_objext conftest
$ac_exeext
10099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10100 (eval $ac_link) 2>conftest.er1
10102 grep -v '^ *+' conftest.er1
>conftest.err
10104 cat conftest.err
>&5
10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 (exit $ac_status); } &&
10107 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10109 (eval $ac_try) 2>&5
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); }; } &&
10113 { ac_try
='test -s conftest$ac_exeext'
10114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10115 (eval $ac_try) 2>&5
10117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10118 (exit $ac_status); }; }; then
10119 ac_cv_lib_sane_sane_open
=yes
10121 echo "$as_me: failed program was:" >&5
10122 sed 's/^/| /' conftest.
$ac_ext >&5
10124 ac_cv_lib_sane_sane_open
=no
10126 rm -f conftest.err conftest.
$ac_objext \
10127 conftest
$ac_exeext conftest.
$ac_ext
10128 LIBS
=$ac_check_lib_save_LIBS
10130 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10131 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
10132 if test $ac_cv_lib_sane_sane_open = yes; then
10134 cat >>confdefs.h
<<\_ACEOF
10135 #define HAVE_SANE 1
10149 LIBS
="$ac_save_LIBS"
10150 CPPFLAGS
="$ac_save_CPPFLAGS"
10153 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10156 ICU_LIB_DIR
="${ICU_LIB_DIR-/usr/lib}"
10157 ICUUC_LIB
="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
10158 ICUDATA_LIB
="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
10159 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
10160 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
10161 LIBS
="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10162 cat >conftest.
$ac_ext <<_ACEOF
10165 cat confdefs.h
>>conftest.
$ac_ext
10166 cat >>conftest.
$ac_ext <<_ACEOF
10167 /* end confdefs.h. */
10168 #include <unicode/ubidi.h>
10177 rm -f conftest.
$ac_objext conftest
$ac_exeext
10178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10179 (eval $ac_link) 2>conftest.er1
10181 grep -v '^ *+' conftest.er1
>conftest.err
10183 cat conftest.err
>&5
10184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10185 (exit $ac_status); } &&
10186 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10188 (eval $ac_try) 2>&5
10190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10191 (exit $ac_status); }; } &&
10192 { ac_try
='test -s conftest$ac_exeext'
10193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10194 (eval $ac_try) 2>&5
10196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10197 (exit $ac_status); }; }; then
10199 cat >>confdefs.h
<<\_ACEOF
10203 ICULIBS
="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10205 echo "$as_me:$LINENO: result: yes" >&5
10206 echo "${ECHO_T}yes" >&6
10208 echo "$as_me: failed program was:" >&5
10209 sed 's/^/| /' conftest.
$ac_ext >&5
10211 echo "$as_me:$LINENO: result: no" >&5
10212 echo "${ECHO_T}no" >&6
10214 rm -f conftest.err conftest.
$ac_objext \
10215 conftest
$ac_exeext conftest.
$ac_ext
10221 if test "$ac_cv_header_resolv_h" = "yes"
10223 echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10224 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6
10225 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10226 echo $ECHO_N "(cached) $ECHO_C" >&6
10228 ac_check_lib_save_LIBS
=$LIBS
10229 LIBS
="-lresolv $LIBS"
10230 cat >conftest.
$ac_ext <<_ACEOF
10233 cat confdefs.h
>>conftest.
$ac_ext
10234 cat >>conftest.
$ac_ext <<_ACEOF
10235 /* end confdefs.h. */
10237 /* Override any gcc2 internal prototype to avoid an error. */
10241 /* We use char because int might match the return type of a gcc2
10242 builtin and then its argument prototype would still apply. */
10252 rm -f conftest.
$ac_objext conftest
$ac_exeext
10253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10254 (eval $ac_link) 2>conftest.er1
10256 grep -v '^ *+' conftest.er1
>conftest.err
10258 cat conftest.err
>&5
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); } &&
10261 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10263 (eval $ac_try) 2>&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); }; } &&
10267 { ac_try
='test -s conftest$ac_exeext'
10268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10269 (eval $ac_try) 2>&5
10271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10272 (exit $ac_status); }; }; then
10273 ac_cv_lib_resolv_res_query
=yes
10275 echo "$as_me: failed program was:" >&5
10276 sed 's/^/| /' conftest.
$ac_ext >&5
10278 ac_cv_lib_resolv_res_query
=no
10280 rm -f conftest.err conftest.
$ac_objext \
10281 conftest
$ac_exeext conftest.
$ac_ext
10282 LIBS
=$ac_check_lib_save_LIBS
10284 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10285 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6
10286 if test $ac_cv_lib_resolv_res_query = yes; then
10288 cat >>confdefs.h
<<\_ACEOF
10289 #define HAVE_RESOLV 1
10292 RESOLVLIBS
="-lresolv"
10299 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10301 echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10302 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6
10303 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10304 echo $ECHO_N "(cached) $ECHO_C" >&6
10306 ac_check_lib_save_LIBS
=$LIBS
10307 LIBS
="-llcms $LIBS"
10308 cat >conftest.
$ac_ext <<_ACEOF
10311 cat confdefs.h
>>conftest.
$ac_ext
10312 cat >>conftest.
$ac_ext <<_ACEOF
10313 /* end confdefs.h. */
10315 /* Override any gcc2 internal prototype to avoid an error. */
10319 /* We use char because int might match the return type of a gcc2
10320 builtin and then its argument prototype would still apply. */
10321 char cmsOpenProfileFromFile ();
10325 cmsOpenProfileFromFile ();
10330 rm -f conftest.
$ac_objext conftest
$ac_exeext
10331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10332 (eval $ac_link) 2>conftest.er1
10334 grep -v '^ *+' conftest.er1
>conftest.err
10336 cat conftest.err
>&5
10337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10338 (exit $ac_status); } &&
10339 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10341 (eval $ac_try) 2>&5
10343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10344 (exit $ac_status); }; } &&
10345 { ac_try
='test -s conftest$ac_exeext'
10346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10347 (eval $ac_try) 2>&5
10349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350 (exit $ac_status); }; }; then
10351 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10353 echo "$as_me: failed program was:" >&5
10354 sed 's/^/| /' conftest.
$ac_ext >&5
10356 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10358 rm -f conftest.err conftest.
$ac_objext \
10359 conftest
$ac_exeext conftest.
$ac_ext
10360 LIBS
=$ac_check_lib_save_LIBS
10362 echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10363 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6
10364 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10366 cat >>confdefs.h
<<\_ACEOF
10367 #define HAVE_LCMS 1
10377 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10379 echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10380 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6
10381 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10382 echo $ECHO_N "(cached) $ECHO_C" >&6
10384 ac_check_lib_save_LIBS
=$LIBS
10385 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
10386 cat >conftest.
$ac_ext <<_ACEOF
10389 cat confdefs.h
>>conftest.
$ac_ext
10390 cat >>conftest.
$ac_ext <<_ACEOF
10391 /* end confdefs.h. */
10393 /* Override any gcc2 internal prototype to avoid an error. */
10397 /* We use char because int might match the return type of a gcc2
10398 builtin and then its argument prototype would still apply. */
10399 char ldap_initialize ();
10403 ldap_initialize ();
10408 rm -f conftest.
$ac_objext conftest
$ac_exeext
10409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10410 (eval $ac_link) 2>conftest.er1
10412 grep -v '^ *+' conftest.er1
>conftest.err
10414 cat conftest.err
>&5
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); } &&
10417 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10419 (eval $ac_try) 2>&5
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); }; } &&
10423 { ac_try
='test -s conftest$ac_exeext'
10424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10425 (eval $ac_try) 2>&5
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); }; }; then
10429 ac_cv_lib_ldap_r_ldap_initialize
=yes
10431 echo "$as_me: failed program was:" >&5
10432 sed 's/^/| /' conftest.
$ac_ext >&5
10434 ac_cv_lib_ldap_r_ldap_initialize
=no
10436 rm -f conftest.err conftest.
$ac_objext \
10437 conftest
$ac_exeext conftest.
$ac_ext
10438 LIBS
=$ac_check_lib_save_LIBS
10440 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10441 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6
10442 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10443 echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10444 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6
10445 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10446 echo $ECHO_N "(cached) $ECHO_C" >&6
10448 ac_check_lib_save_LIBS
=$LIBS
10449 LIBS
="-llber $LIBPTHREAD $LIBS"
10450 cat >conftest.
$ac_ext <<_ACEOF
10453 cat confdefs.h
>>conftest.
$ac_ext
10454 cat >>conftest.
$ac_ext <<_ACEOF
10455 /* end confdefs.h. */
10457 /* Override any gcc2 internal prototype to avoid an error. */
10461 /* We use char because int might match the return type of a gcc2
10462 builtin and then its argument prototype would still apply. */
10472 rm -f conftest.
$ac_objext conftest
$ac_exeext
10473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10474 (eval $ac_link) 2>conftest.er1
10476 grep -v '^ *+' conftest.er1
>conftest.err
10478 cat conftest.err
>&5
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); } &&
10481 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10483 (eval $ac_try) 2>&5
10485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10486 (exit $ac_status); }; } &&
10487 { ac_try
='test -s conftest$ac_exeext'
10488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10489 (eval $ac_try) 2>&5
10491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10492 (exit $ac_status); }; }; then
10493 ac_cv_lib_lber_ber_init
=yes
10495 echo "$as_me: failed program was:" >&5
10496 sed 's/^/| /' conftest.
$ac_ext >&5
10498 ac_cv_lib_lber_ber_init
=no
10500 rm -f conftest.err conftest.
$ac_objext \
10501 conftest
$ac_exeext conftest.
$ac_ext
10502 LIBS
=$ac_check_lib_save_LIBS
10504 echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10505 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6
10506 if test $ac_cv_lib_lber_ber_init = yes; then
10508 cat >>confdefs.h
<<\_ACEOF
10509 #define HAVE_LDAP 1
10512 LDAPLIBS
="-lldap_r -llber"
10517 ac_wine_check_funcs_save_LIBS
="$LIBS"
10518 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
10524 ldap_count_references \
10525 ldap_first_reference \
10526 ldap_next_reference \
10527 ldap_parse_reference
10529 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10530 echo "$as_me:$LINENO: checking for $ac_func" >&5
10531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10532 if eval "test \"\${$as_ac_var+set}\" = set"; then
10533 echo $ECHO_N "(cached) $ECHO_C" >&6
10535 cat >conftest.
$ac_ext <<_ACEOF
10538 cat confdefs.h
>>conftest.
$ac_ext
10539 cat >>conftest.
$ac_ext <<_ACEOF
10540 /* end confdefs.h. */
10541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10543 #define $ac_func innocuous_$ac_func
10545 /* System header to define __stub macros and hopefully few prototypes,
10546 which can conflict with char $ac_func (); below.
10547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10548 <limits.h> exists even on freestanding compilers. */
10551 # include <limits.h>
10553 # include <assert.h>
10558 /* Override any gcc2 internal prototype to avoid an error. */
10563 /* We use char because int might match the return type of a gcc2
10564 builtin and then its argument prototype would still apply. */
10566 /* The GNU C library defines this for functions which it implements
10567 to always fail with ENOSYS. Some functions are actually named
10568 something starting with __ and the normal name is an alias. */
10569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10572 char (*f) () = $ac_func;
10581 return f != $ac_func;
10586 rm -f conftest.
$ac_objext conftest
$ac_exeext
10587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10588 (eval $ac_link) 2>conftest.er1
10590 grep -v '^ *+' conftest.er1
>conftest.err
10592 cat conftest.err
>&5
10593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10594 (exit $ac_status); } &&
10595 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10597 (eval $ac_try) 2>&5
10599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10600 (exit $ac_status); }; } &&
10601 { ac_try
='test -s conftest$ac_exeext'
10602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10603 (eval $ac_try) 2>&5
10605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10606 (exit $ac_status); }; }; then
10607 eval "$as_ac_var=yes"
10609 echo "$as_me: failed program was:" >&5
10610 sed 's/^/| /' conftest.
$ac_ext >&5
10612 eval "$as_ac_var=no"
10614 rm -f conftest.err conftest.
$ac_objext \
10615 conftest
$ac_exeext conftest.
$ac_ext
10617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10619 if test `eval echo '${'$as_ac_var'}'` = yes; then
10620 cat >>confdefs.h
<<_ACEOF
10621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10627 LIBS
="$ac_wine_check_funcs_save_LIBS"
10634 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10635 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
10636 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10637 echo $ECHO_N "(cached) $ECHO_C" >&6
10639 ac_check_lib_save_LIBS
=$LIBS
10640 LIBS
="-lfreetype $X_LIBS $LIBS"
10641 cat >conftest.
$ac_ext <<_ACEOF
10644 cat confdefs.h
>>conftest.
$ac_ext
10645 cat >>conftest.
$ac_ext <<_ACEOF
10646 /* end confdefs.h. */
10648 /* Override any gcc2 internal prototype to avoid an error. */
10652 /* We use char because int might match the return type of a gcc2
10653 builtin and then its argument prototype would still apply. */
10654 char FT_Init_FreeType ();
10658 FT_Init_FreeType ();
10663 rm -f conftest.
$ac_objext conftest
$ac_exeext
10664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10665 (eval $ac_link) 2>conftest.er1
10667 grep -v '^ *+' conftest.er1
>conftest.err
10669 cat conftest.err
>&5
10670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10671 (exit $ac_status); } &&
10672 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10674 (eval $ac_try) 2>&5
10676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10677 (exit $ac_status); }; } &&
10678 { ac_try
='test -s conftest$ac_exeext'
10679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10680 (eval $ac_try) 2>&5
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); }; }; then
10684 ac_cv_lib_freetype_FT_Init_FreeType
=yes
10686 echo "$as_me: failed program was:" >&5
10687 sed 's/^/| /' conftest.
$ac_ext >&5
10689 ac_cv_lib_freetype_FT_Init_FreeType
=no
10691 rm -f conftest.err conftest.
$ac_objext \
10692 conftest
$ac_exeext conftest.
$ac_ext
10693 LIBS
=$ac_check_lib_save_LIBS
10695 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10696 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
10697 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10703 if test "$ft_lib" = "no"
10705 wine_cv_msg_freetype
=no
10707 # Extract the first word of "freetype-config", so it can be a program name with args.
10708 set dummy freetype-config
; ac_word
=$2
10709 echo "$as_me:$LINENO: checking for $ac_word" >&5
10710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10711 if test "${ac_cv_prog_ft_devel+set}" = set; then
10712 echo $ECHO_N "(cached) $ECHO_C" >&6
10714 if test -n "$ft_devel"; then
10715 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10718 for as_dir
in $PATH
10721 test -z "$as_dir" && as_dir
=.
10722 for ac_exec_ext
in '' $ac_executable_extensions; do
10723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10724 ac_cv_prog_ft_devel
="freetype-config"
10725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10731 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
10734 ft_devel
=$ac_cv_prog_ft_devel
10735 if test -n "$ft_devel"; then
10736 echo "$as_me:$LINENO: result: $ft_devel" >&5
10737 echo "${ECHO_T}$ft_devel" >&6
10739 echo "$as_me:$LINENO: result: no" >&5
10740 echo "${ECHO_T}no" >&6
10743 if test "$ft_devel" = "no"
10745 # Extract the first word of "freetype2-config", so it can be a program name with args.
10746 set dummy freetype2-config
; ac_word
=$2
10747 echo "$as_me:$LINENO: checking for $ac_word" >&5
10748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10749 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10750 echo $ECHO_N "(cached) $ECHO_C" >&6
10752 if test -n "$ft_devel2"; then
10753 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
10755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10756 for as_dir
in $PATH
10759 test -z "$as_dir" && as_dir
=.
10760 for ac_exec_ext
in '' $ac_executable_extensions; do
10761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10762 ac_cv_prog_ft_devel2
="freetype2-config"
10763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10769 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
10772 ft_devel2
=$ac_cv_prog_ft_devel2
10773 if test -n "$ft_devel2"; then
10774 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10775 echo "${ECHO_T}$ft_devel2" >&6
10777 echo "$as_me:$LINENO: result: no" >&5
10778 echo "${ECHO_T}no" >&6
10781 if test "$ft_devel2" = "freetype2-config"
10783 ft_devel
=$ft_devel2
10786 if test "$ft_devel" = "no"
10788 wine_cv_msg_freetype
=yes
10790 FREETYPELIBS
=`$ft_devel --libs`
10791 FREETYPEINCL
=`$ft_devel --cflags`
10792 ac_save_CPPFLAGS
="$CPPFLAGS"
10793 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
10805 for ac_header
in ft2build.h \
10806 freetype
/freetype.h \
10807 freetype
/ftglyph.h \
10808 freetype
/tttables.h \
10809 freetype
/ftnames.h \
10810 freetype
/ftsnames.h \
10811 freetype
/ttnameid.h \
10812 freetype
/ftoutln.h \
10813 freetype
/ftwinfnt.h \
10814 freetype
/ftmodapi.h \
10815 freetype
/internal
/sfnt.h
10817 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10818 echo "$as_me:$LINENO: checking for $ac_header" >&5
10819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10821 echo $ECHO_N "(cached) $ECHO_C" >&6
10823 cat >conftest.
$ac_ext <<_ACEOF
10826 cat confdefs.h
>>conftest.
$ac_ext
10827 cat >>conftest.
$ac_ext <<_ACEOF
10828 /* end confdefs.h. */
10829 #if HAVE_FT2BUILD_H
10830 #include <ft2build.h>
10833 #include <$ac_header>
10835 rm -f conftest.
$ac_objext
10836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10837 (eval $ac_compile) 2>conftest.er1
10839 grep -v '^ *+' conftest.er1
>conftest.err
10841 cat conftest.err
>&5
10842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10843 (exit $ac_status); } &&
10844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10846 (eval $ac_try) 2>&5
10848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849 (exit $ac_status); }; } &&
10850 { ac_try
='test -s conftest.$ac_objext'
10851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10852 (eval $ac_try) 2>&5
10854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10855 (exit $ac_status); }; }; then
10856 eval "$as_ac_Header=yes"
10858 echo "$as_me: failed program was:" >&5
10859 sed 's/^/| /' conftest.
$ac_ext >&5
10861 eval "$as_ac_Header=no"
10863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10866 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10867 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10868 cat >>confdefs.h
<<_ACEOF
10869 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10876 cat >conftest.
$ac_ext <<_ACEOF
10879 cat confdefs.h
>>conftest.
$ac_ext
10880 cat >>conftest.
$ac_ext <<_ACEOF
10881 /* end confdefs.h. */
10882 #include <ft2build.h>
10883 #include <freetype/fttrigon.h>
10885 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10886 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10888 grep -v '^ *+' conftest.er1
>conftest.err
10890 cat conftest.err
>&5
10891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10892 (exit $ac_status); } >/dev
/null
; then
10893 if test -s conftest.err
; then
10894 ac_cpp_err
=$ac_c_preproc_warn_flag
10895 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10902 if test -z "$ac_cpp_err"; then
10904 cat >>confdefs.h
<<\_ACEOF
10905 #define HAVE_FREETYPE_FTTRIGON_H 1
10908 wine_cv_fttrigon
=yes
10910 echo "$as_me: failed program was:" >&5
10911 sed 's/^/| /' conftest.
$ac_ext >&5
10913 wine_cv_fttrigon
=no
10915 rm -f conftest.err conftest.
$ac_ext
10916 echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
10917 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6
10918 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
10919 echo $ECHO_N "(cached) $ECHO_C" >&6
10921 cat >conftest.
$ac_ext <<_ACEOF
10924 cat confdefs.h
>>conftest.
$ac_ext
10925 cat >>conftest.
$ac_ext <<_ACEOF
10926 /* end confdefs.h. */
10927 #include <freetype/ftmodapi.h>
10932 if ((FT_TrueTypeEngineType *) 0)
10934 if (sizeof (FT_TrueTypeEngineType))
10940 rm -f conftest.
$ac_objext
10941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10942 (eval $ac_compile) 2>conftest.er1
10944 grep -v '^ *+' conftest.er1
>conftest.err
10946 cat conftest.err
>&5
10947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948 (exit $ac_status); } &&
10949 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10951 (eval $ac_try) 2>&5
10953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 (exit $ac_status); }; } &&
10955 { ac_try
='test -s conftest.$ac_objext'
10956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10957 (eval $ac_try) 2>&5
10959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10960 (exit $ac_status); }; }; then
10961 ac_cv_type_FT_TrueTypeEngineType
=yes
10963 echo "$as_me: failed program was:" >&5
10964 sed 's/^/| /' conftest.
$ac_ext >&5
10966 ac_cv_type_FT_TrueTypeEngineType
=no
10968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10970 echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
10971 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6
10972 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
10974 cat >>confdefs.h
<<_ACEOF
10975 #define HAVE_FT_TRUETYPEENGINETYPE 1
10981 ac_save_CFLAGS
="$CFLAGS"
10982 CFLAGS
="$CFLAGS $FREETYPELIBS"
10984 for ac_func
in FT_Load_Sfnt_Table
10986 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10987 echo "$as_me:$LINENO: checking for $ac_func" >&5
10988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10989 if eval "test \"\${$as_ac_var+set}\" = set"; then
10990 echo $ECHO_N "(cached) $ECHO_C" >&6
10992 cat >conftest.
$ac_ext <<_ACEOF
10995 cat confdefs.h
>>conftest.
$ac_ext
10996 cat >>conftest.
$ac_ext <<_ACEOF
10997 /* end confdefs.h. */
10998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11000 #define $ac_func innocuous_$ac_func
11002 /* System header to define __stub macros and hopefully few prototypes,
11003 which can conflict with char $ac_func (); below.
11004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11005 <limits.h> exists even on freestanding compilers. */
11008 # include <limits.h>
11010 # include <assert.h>
11015 /* Override any gcc2 internal prototype to avoid an error. */
11020 /* We use char because int might match the return type of a gcc2
11021 builtin and then its argument prototype would still apply. */
11023 /* The GNU C library defines this for functions which it implements
11024 to always fail with ENOSYS. Some functions are actually named
11025 something starting with __ and the normal name is an alias. */
11026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11029 char (*f) () = $ac_func;
11038 return f != $ac_func;
11043 rm -f conftest.
$ac_objext conftest
$ac_exeext
11044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11045 (eval $ac_link) 2>conftest.er1
11047 grep -v '^ *+' conftest.er1
>conftest.err
11049 cat conftest.err
>&5
11050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); } &&
11052 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11054 (eval $ac_try) 2>&5
11056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11057 (exit $ac_status); }; } &&
11058 { ac_try
='test -s conftest$ac_exeext'
11059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11060 (eval $ac_try) 2>&5
11062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063 (exit $ac_status); }; }; then
11064 eval "$as_ac_var=yes"
11066 echo "$as_me: failed program was:" >&5
11067 sed 's/^/| /' conftest.
$ac_ext >&5
11069 eval "$as_ac_var=no"
11071 rm -f conftest.err conftest.
$ac_objext \
11072 conftest
$ac_exeext conftest.
$ac_ext
11074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11076 if test `eval echo '${'$as_ac_var'}'` = yes; then
11077 cat >>confdefs.h
<<_ACEOF
11078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11084 CFLAGS
="$ac_save_CFLAGS"
11085 CPPFLAGS
="$ac_save_CPPFLAGS"
11086 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11089 cat >>confdefs.h
<<\_ACEOF
11090 #define HAVE_FREETYPE 1
11093 wine_cv_msg_freetype
=no
11097 wine_cv_msg_freetype
=yes
11102 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11104 FONTSSUBDIRS
="fonts"
11106 wine_cv_msg_fonts
=no
11108 wine_cv_msg_fonts
=yes
11111 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11112 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
11113 if test "${ac_cv_c_ppdev+set}" = set; then
11114 echo $ECHO_N "(cached) $ECHO_C" >&6
11116 cat >conftest.
$ac_ext <<_ACEOF
11119 cat confdefs.h
>>conftest.
$ac_ext
11120 cat >>conftest.
$ac_ext <<_ACEOF
11121 /* end confdefs.h. */
11122 #include <linux/ppdev.h>
11126 ioctl (1,PPCLAIM,0)
11131 rm -f conftest.
$ac_objext
11132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11133 (eval $ac_compile) 2>conftest.er1
11135 grep -v '^ *+' conftest.er1
>conftest.err
11137 cat conftest.err
>&5
11138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139 (exit $ac_status); } &&
11140 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11142 (eval $ac_try) 2>&5
11144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11145 (exit $ac_status); }; } &&
11146 { ac_try
='test -s conftest.$ac_objext'
11147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11148 (eval $ac_try) 2>&5
11150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 (exit $ac_status); }; }; then
11152 ac_cv_c_ppdev
="yes"
11154 echo "$as_me: failed program was:" >&5
11155 sed 's/^/| /' conftest.
$ac_ext >&5
11159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11162 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11163 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
11164 if test "$ac_cv_c_ppdev" = "yes"
11167 cat >>confdefs.h
<<\_ACEOF
11168 #define HAVE_PPDEV 1
11173 echo "$as_me:$LINENO: checking for va_copy" >&5
11174 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
11175 if test "${ac_cv_c_va_copy+set}" = set; then
11176 echo $ECHO_N "(cached) $ECHO_C" >&6
11178 cat >conftest.
$ac_ext <<_ACEOF
11181 cat confdefs.h
>>conftest.
$ac_ext
11182 cat >>conftest.
$ac_ext <<_ACEOF
11183 /* end confdefs.h. */
11184 #include <stdarg.h>
11195 rm -f conftest.
$ac_objext conftest
$ac_exeext
11196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11197 (eval $ac_link) 2>conftest.er1
11199 grep -v '^ *+' conftest.er1
>conftest.err
11201 cat conftest.err
>&5
11202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11203 (exit $ac_status); } &&
11204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11206 (eval $ac_try) 2>&5
11208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11209 (exit $ac_status); }; } &&
11210 { ac_try
='test -s conftest$ac_exeext'
11211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11212 (eval $ac_try) 2>&5
11214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11215 (exit $ac_status); }; }; then
11216 ac_cv_c_va_copy
="yes"
11218 echo "$as_me: failed program was:" >&5
11219 sed 's/^/| /' conftest.
$ac_ext >&5
11221 ac_cv_c_va_copy
="no"
11223 rm -f conftest.err conftest.
$ac_objext \
11224 conftest
$ac_exeext conftest.
$ac_ext
11227 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11228 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
11229 if test "$ac_cv_c_va_copy" = "yes"
11232 cat >>confdefs.h
<<\_ACEOF
11233 #define HAVE_VA_COPY 1
11237 echo "$as_me:$LINENO: checking for __va_copy" >&5
11238 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
11239 if test "${ac_cv_c___va_copy+set}" = set; then
11240 echo $ECHO_N "(cached) $ECHO_C" >&6
11242 cat >conftest.
$ac_ext <<_ACEOF
11245 cat confdefs.h
>>conftest.
$ac_ext
11246 cat >>conftest.
$ac_ext <<_ACEOF
11247 /* end confdefs.h. */
11248 #include <stdarg.h>
11253 __va_copy(ap1,ap2);
11259 rm -f conftest.
$ac_objext conftest
$ac_exeext
11260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11261 (eval $ac_link) 2>conftest.er1
11263 grep -v '^ *+' conftest.er1
>conftest.err
11265 cat conftest.err
>&5
11266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11267 (exit $ac_status); } &&
11268 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11270 (eval $ac_try) 2>&5
11272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11273 (exit $ac_status); }; } &&
11274 { ac_try
='test -s conftest$ac_exeext'
11275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11276 (eval $ac_try) 2>&5
11278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11279 (exit $ac_status); }; }; then
11280 ac_cv_c___va_copy
="yes"
11282 echo "$as_me: failed program was:" >&5
11283 sed 's/^/| /' conftest.
$ac_ext >&5
11285 ac_cv_c___va_copy
="no"
11287 rm -f conftest.err conftest.
$ac_objext \
11288 conftest
$ac_exeext conftest.
$ac_ext
11291 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11292 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
11293 if test "$ac_cv_c___va_copy" = "yes"
11296 cat >>confdefs.h
<<\_ACEOF
11297 #define HAVE___VA_COPY 1
11302 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11303 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
11304 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11305 echo $ECHO_N "(cached) $ECHO_C" >&6
11307 cat >conftest.
$ac_ext <<_ACEOF
11310 cat confdefs.h
>>conftest.
$ac_ext
11311 cat >>conftest.
$ac_ext <<_ACEOF
11312 /* end confdefs.h. */
11313 #include <setjmp.h>
11318 sigsetjmp( buf, 1 );
11319 siglongjmp( buf, 1 );
11324 rm -f conftest.
$ac_objext conftest
$ac_exeext
11325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11326 (eval $ac_link) 2>conftest.er1
11328 grep -v '^ *+' conftest.er1
>conftest.err
11330 cat conftest.err
>&5
11331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332 (exit $ac_status); } &&
11333 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11335 (eval $ac_try) 2>&5
11337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11338 (exit $ac_status); }; } &&
11339 { ac_try
='test -s conftest$ac_exeext'
11340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11341 (eval $ac_try) 2>&5
11343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11344 (exit $ac_status); }; }; then
11345 ac_cv_c_sigsetjmp
="yes"
11347 echo "$as_me: failed program was:" >&5
11348 sed 's/^/| /' conftest.
$ac_ext >&5
11350 ac_cv_c_sigsetjmp
="no"
11352 rm -f conftest.err conftest.
$ac_objext \
11353 conftest
$ac_exeext conftest.
$ac_ext
11356 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11357 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
11358 if test "$ac_cv_c_sigsetjmp" = "yes"
11361 cat >>confdefs.h
<<\_ACEOF
11362 #define HAVE_SIGSETJMP 1
11367 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11368 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
11369 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11370 echo $ECHO_N "(cached) $ECHO_C" >&6
11372 cat >conftest.
$ac_ext <<_ACEOF
11375 cat confdefs.h
>>conftest.
$ac_ext
11376 cat >>conftest.
$ac_ext <<_ACEOF
11377 /* end confdefs.h. */
11378 #define _GNU_SOURCE
11379 #include <pthread.h>
11384 if ((pthread_rwlock_t *) 0)
11386 if (sizeof (pthread_rwlock_t))
11392 rm -f conftest.
$ac_objext
11393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11394 (eval $ac_compile) 2>conftest.er1
11396 grep -v '^ *+' conftest.er1
>conftest.err
11398 cat conftest.err
>&5
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); } &&
11401 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11403 (eval $ac_try) 2>&5
11405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11406 (exit $ac_status); }; } &&
11407 { ac_try
='test -s conftest.$ac_objext'
11408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11409 (eval $ac_try) 2>&5
11411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); }; }; then
11413 ac_cv_type_pthread_rwlock_t
=yes
11415 echo "$as_me: failed program was:" >&5
11416 sed 's/^/| /' conftest.
$ac_ext >&5
11418 ac_cv_type_pthread_rwlock_t
=no
11420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11422 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11423 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
11424 if test $ac_cv_type_pthread_rwlock_t = yes; then
11426 cat >>confdefs.h
<<_ACEOF
11427 #define HAVE_PTHREAD_RWLOCK_T 1
11432 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11433 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
11434 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11435 echo $ECHO_N "(cached) $ECHO_C" >&6
11437 cat >conftest.
$ac_ext <<_ACEOF
11440 cat confdefs.h
>>conftest.
$ac_ext
11441 cat >>conftest.
$ac_ext <<_ACEOF
11442 /* end confdefs.h. */
11443 #define _GNU_SOURCE
11444 #include <pthread.h>
11449 if ((pthread_rwlockattr_t *) 0)
11451 if (sizeof (pthread_rwlockattr_t))
11457 rm -f conftest.
$ac_objext
11458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11459 (eval $ac_compile) 2>conftest.er1
11461 grep -v '^ *+' conftest.er1
>conftest.err
11463 cat conftest.err
>&5
11464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465 (exit $ac_status); } &&
11466 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11468 (eval $ac_try) 2>&5
11470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11471 (exit $ac_status); }; } &&
11472 { ac_try
='test -s conftest.$ac_objext'
11473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11474 (eval $ac_try) 2>&5
11476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11477 (exit $ac_status); }; }; then
11478 ac_cv_type_pthread_rwlockattr_t
=yes
11480 echo "$as_me: failed program was:" >&5
11481 sed 's/^/| /' conftest.
$ac_ext >&5
11483 ac_cv_type_pthread_rwlockattr_t
=no
11485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11487 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11488 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
11489 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11491 cat >>confdefs.h
<<_ACEOF
11492 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11499 ac_wine_check_funcs_save_LIBS
="$LIBS"
11500 LIBS
="$LIBS $LIBPTHREAD"
11505 pthread_getattr_np \
11506 pthread_get_stackaddr_np \
11507 pthread_get_stacksize_np
11509 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11510 echo "$as_me:$LINENO: checking for $ac_func" >&5
11511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11512 if eval "test \"\${$as_ac_var+set}\" = set"; then
11513 echo $ECHO_N "(cached) $ECHO_C" >&6
11515 cat >conftest.
$ac_ext <<_ACEOF
11518 cat confdefs.h
>>conftest.
$ac_ext
11519 cat >>conftest.
$ac_ext <<_ACEOF
11520 /* end confdefs.h. */
11521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11523 #define $ac_func innocuous_$ac_func
11525 /* System header to define __stub macros and hopefully few prototypes,
11526 which can conflict with char $ac_func (); below.
11527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11528 <limits.h> exists even on freestanding compilers. */
11531 # include <limits.h>
11533 # include <assert.h>
11538 /* Override any gcc2 internal prototype to avoid an error. */
11543 /* We use char because int might match the return type of a gcc2
11544 builtin and then its argument prototype would still apply. */
11546 /* The GNU C library defines this for functions which it implements
11547 to always fail with ENOSYS. Some functions are actually named
11548 something starting with __ and the normal name is an alias. */
11549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11552 char (*f) () = $ac_func;
11561 return f != $ac_func;
11566 rm -f conftest.
$ac_objext conftest
$ac_exeext
11567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11568 (eval $ac_link) 2>conftest.er1
11570 grep -v '^ *+' conftest.er1
>conftest.err
11572 cat conftest.err
>&5
11573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11574 (exit $ac_status); } &&
11575 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11577 (eval $ac_try) 2>&5
11579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580 (exit $ac_status); }; } &&
11581 { ac_try
='test -s conftest$ac_exeext'
11582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11583 (eval $ac_try) 2>&5
11585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11586 (exit $ac_status); }; }; then
11587 eval "$as_ac_var=yes"
11589 echo "$as_me: failed program was:" >&5
11590 sed 's/^/| /' conftest.
$ac_ext >&5
11592 eval "$as_ac_var=no"
11594 rm -f conftest.err conftest.
$ac_objext \
11595 conftest
$ac_exeext conftest.
$ac_ext
11597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11599 if test `eval echo '${'$as_ac_var'}'` = yes; then
11600 cat >>confdefs.h
<<_ACEOF
11601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11607 LIBS
="$ac_wine_check_funcs_save_LIBS"
11609 # Extract the first word of "artsc-config", so it can be a program name with args.
11610 set dummy artsc-config
; ac_word
=$2
11611 echo "$as_me:$LINENO: checking for $ac_word" >&5
11612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11613 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11614 echo $ECHO_N "(cached) $ECHO_C" >&6
11616 case $ARTSCCONFIG in
11618 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
11621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11622 for as_dir
in $PATH
11625 test -z "$as_dir" && as_dir
=.
11626 for ac_exec_ext
in '' $ac_executable_extensions; do
11627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11628 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
11629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11638 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
11640 if test -n "$ARTSCCONFIG"; then
11641 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11642 echo "${ECHO_T}$ARTSCCONFIG" >&6
11644 echo "$as_me:$LINENO: result: no" >&5
11645 echo "${ECHO_T}no" >&6
11648 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
11651 for i
in `$ARTSCCONFIG --cflags`
11654 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
11658 for i
in `$ARTSCCONFIG --libs`
11661 -L/usr
/lib|
-L/usr
/lib64
) ;;
11662 -L*|
-l*) ARTSC_LIBS
="$ARTSC_LIBS $i";;
11665 save_CFLAGS
="$CFLAGS"
11666 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
11667 echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
11668 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6
11669 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
11670 echo $ECHO_N "(cached) $ECHO_C" >&6
11672 ac_check_lib_save_LIBS
=$LIBS
11673 LIBS
="-lartsc $ARTSC_LIBS $LIBS"
11674 cat >conftest.
$ac_ext <<_ACEOF
11677 cat confdefs.h
>>conftest.
$ac_ext
11678 cat >>conftest.
$ac_ext <<_ACEOF
11679 /* end confdefs.h. */
11681 /* Override any gcc2 internal prototype to avoid an error. */
11685 /* We use char because int might match the return type of a gcc2
11686 builtin and then its argument prototype would still apply. */
11696 rm -f conftest.
$ac_objext conftest
$ac_exeext
11697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11698 (eval $ac_link) 2>conftest.er1
11700 grep -v '^ *+' conftest.er1
>conftest.err
11702 cat conftest.err
>&5
11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704 (exit $ac_status); } &&
11705 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11707 (eval $ac_try) 2>&5
11709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11710 (exit $ac_status); }; } &&
11711 { ac_try
='test -s conftest$ac_exeext'
11712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11713 (eval $ac_try) 2>&5
11715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11716 (exit $ac_status); }; }; then
11717 ac_cv_lib_artsc_arts_init
=yes
11719 echo "$as_me: failed program was:" >&5
11720 sed 's/^/| /' conftest.
$ac_ext >&5
11722 ac_cv_lib_artsc_arts_init
=no
11724 rm -f conftest.err conftest.
$ac_objext \
11725 conftest
$ac_exeext conftest.
$ac_ext
11726 LIBS
=$ac_check_lib_save_LIBS
11728 echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
11729 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6
11730 if test $ac_cv_lib_artsc_arts_init = yes; then
11731 cat >conftest.
$ac_ext <<_ACEOF
11734 cat confdefs.h
>>conftest.
$ac_ext
11735 cat >>conftest.
$ac_ext <<_ACEOF
11736 /* end confdefs.h. */
11741 arts_stream_t stream;
11746 rm -f conftest.
$ac_objext
11747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11748 (eval $ac_compile) 2>conftest.er1
11750 grep -v '^ *+' conftest.er1
>conftest.err
11752 cat conftest.err
>&5
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); } &&
11755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11757 (eval $ac_try) 2>&5
11759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11760 (exit $ac_status); }; } &&
11761 { ac_try
='test -s conftest.$ac_objext'
11762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11763 (eval $ac_try) 2>&5
11765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11766 (exit $ac_status); }; }; then
11767 ARTSLIBS
=$ARTSC_LIBS
11769 ARTSINCL
=$ARTSC_CFLAGS
11772 cat >>confdefs.h
<<\_ACEOF
11773 #define HAVE_ARTS 1
11777 echo "$as_me: failed program was:" >&5
11778 sed 's/^/| /' conftest.
$ac_ext >&5
11781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11784 CFLAGS
="$save_CFLAGS"
11787 # Extract the first word of "esd-config", so it can be a program name with args.
11788 set dummy esd-config
; ac_word
=$2
11789 echo "$as_me:$LINENO: checking for $ac_word" >&5
11790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11791 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
11792 echo $ECHO_N "(cached) $ECHO_C" >&6
11796 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
11799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11800 for as_dir
in $PATH
11803 test -z "$as_dir" && as_dir
=.
11804 for ac_exec_ext
in '' $ac_executable_extensions; do
11805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11806 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
11807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11816 ESDCONFIG
=$ac_cv_path_ESDCONFIG
11818 if test -n "$ESDCONFIG"; then
11819 echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
11820 echo "${ECHO_T}$ESDCONFIG" >&6
11822 echo "$as_me:$LINENO: result: no" >&5
11823 echo "${ECHO_T}no" >&6
11826 if test x
$ESDCONFIG != x
-a x
$ESDCONFIG != x
'"$ESDCONFIG"';
11829 for i
in `$ESDCONFIG --cflags`
11832 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
11835 ESD_LIBS
=`$ESDCONFIG --libs`
11836 save_CFLAGS
="$CFLAGS"
11837 CFLAGS
="$CFLAGS $ESD_CFLAGS"
11838 echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
11839 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6
11840 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
11841 echo $ECHO_N "(cached) $ECHO_C" >&6
11843 ac_check_lib_save_LIBS
=$LIBS
11845 cat >conftest.
$ac_ext <<_ACEOF
11848 cat confdefs.h
>>conftest.
$ac_ext
11849 cat >>conftest.
$ac_ext <<_ACEOF
11850 /* end confdefs.h. */
11852 /* Override any gcc2 internal prototype to avoid an error. */
11856 /* We use char because int might match the return type of a gcc2
11857 builtin and then its argument prototype would still apply. */
11858 char esd_open_sound ();
11867 rm -f conftest.
$ac_objext conftest
$ac_exeext
11868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11869 (eval $ac_link) 2>conftest.er1
11871 grep -v '^ *+' conftest.er1
>conftest.err
11873 cat conftest.err
>&5
11874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11875 (exit $ac_status); } &&
11876 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11878 (eval $ac_try) 2>&5
11880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11881 (exit $ac_status); }; } &&
11882 { ac_try
='test -s conftest$ac_exeext'
11883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11884 (eval $ac_try) 2>&5
11886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 (exit $ac_status); }; }; then
11888 ac_cv_lib_esd_esd_open_sound
=yes
11890 echo "$as_me: failed program was:" >&5
11891 sed 's/^/| /' conftest.
$ac_ext >&5
11893 ac_cv_lib_esd_esd_open_sound
=no
11895 rm -f conftest.err conftest.
$ac_objext \
11896 conftest
$ac_exeext conftest.
$ac_ext
11897 LIBS
=$ac_check_lib_save_LIBS
11899 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
11900 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6
11901 if test $ac_cv_lib_esd_esd_open_sound = yes; then
11904 ESDINCL
=$ESD_CFLAGS
11907 cat >>confdefs.h
<<\_ACEOF
11913 CFLAGS
="$save_CFLAGS"
11918 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11920 echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
11921 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6
11922 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
11923 echo $ECHO_N "(cached) $ECHO_C" >&6
11925 ac_check_lib_save_LIBS
=$LIBS
11926 LIBS
="-lasound $LIBS"
11927 cat >conftest.
$ac_ext <<_ACEOF
11930 cat confdefs.h
>>conftest.
$ac_ext
11931 cat >>conftest.
$ac_ext <<_ACEOF
11932 /* end confdefs.h. */
11934 /* Override any gcc2 internal prototype to avoid an error. */
11938 /* We use char because int might match the return type of a gcc2
11939 builtin and then its argument prototype would still apply. */
11940 char snd_pcm_hw_params_get_access ();
11944 snd_pcm_hw_params_get_access ();
11949 rm -f conftest.
$ac_objext conftest
$ac_exeext
11950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11951 (eval $ac_link) 2>conftest.er1
11953 grep -v '^ *+' conftest.er1
>conftest.err
11955 cat conftest.err
>&5
11956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957 (exit $ac_status); } &&
11958 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11960 (eval $ac_try) 2>&5
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); }; } &&
11964 { ac_try
='test -s conftest$ac_exeext'
11965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11966 (eval $ac_try) 2>&5
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); }; }; then
11970 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
11972 echo "$as_me: failed program was:" >&5
11973 sed 's/^/| /' conftest.
$ac_ext >&5
11975 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
11977 rm -f conftest.err conftest.
$ac_objext \
11978 conftest
$ac_exeext conftest.
$ac_ext
11979 LIBS
=$ac_check_lib_save_LIBS
11981 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
11982 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6
11983 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
11984 cat >conftest.
$ac_ext <<_ACEOF
11987 cat confdefs.h
>>conftest.
$ac_ext
11988 cat >>conftest.
$ac_ext <<_ACEOF
11989 /* end confdefs.h. */
11990 #ifdef HAVE_ALSA_ASOUNDLIB_H
11991 #include <alsa/asoundlib.h>
11992 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11993 #include <sys/asoundlib.h>
11998 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
12003 rm -f conftest.
$ac_objext
12004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12005 (eval $ac_compile) 2>conftest.er1
12007 grep -v '^ *+' conftest.er1
>conftest.err
12009 cat conftest.err
>&5
12010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12011 (exit $ac_status); } &&
12012 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12014 (eval $ac_try) 2>&5
12016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12017 (exit $ac_status); }; } &&
12018 { ac_try
='test -s conftest.$ac_objext'
12019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12020 (eval $ac_try) 2>&5
12022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12023 (exit $ac_status); }; }; then
12025 cat >>confdefs.h
<<\_ACEOF
12026 #define HAVE_ALSA 1
12029 ALSALIBS
="-lasound"
12031 echo "$as_me: failed program was:" >&5
12032 sed 's/^/| /' conftest.
$ac_ext >&5
12035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12043 if test "$ac_cv_header_libaudioio_h" = "yes"
12045 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12046 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
12047 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12048 echo $ECHO_N "(cached) $ECHO_C" >&6
12050 ac_check_lib_save_LIBS
=$LIBS
12051 LIBS
="-laudioio $LIBS"
12052 cat >conftest.
$ac_ext <<_ACEOF
12055 cat confdefs.h
>>conftest.
$ac_ext
12056 cat >>conftest.
$ac_ext <<_ACEOF
12057 /* end confdefs.h. */
12059 /* Override any gcc2 internal prototype to avoid an error. */
12063 /* We use char because int might match the return type of a gcc2
12064 builtin and then its argument prototype would still apply. */
12065 char AudioIOGetVersion ();
12069 AudioIOGetVersion ();
12074 rm -f conftest.
$ac_objext conftest
$ac_exeext
12075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12076 (eval $ac_link) 2>conftest.er1
12078 grep -v '^ *+' conftest.er1
>conftest.err
12080 cat conftest.err
>&5
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); } &&
12083 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12085 (eval $ac_try) 2>&5
12087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12088 (exit $ac_status); }; } &&
12089 { ac_try
='test -s conftest$ac_exeext'
12090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12091 (eval $ac_try) 2>&5
12093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12094 (exit $ac_status); }; }; then
12095 ac_cv_lib_audioio_AudioIOGetVersion
=yes
12097 echo "$as_me: failed program was:" >&5
12098 sed 's/^/| /' conftest.
$ac_ext >&5
12100 ac_cv_lib_audioio_AudioIOGetVersion
=no
12102 rm -f conftest.err conftest.
$ac_objext \
12103 conftest
$ac_exeext conftest.
$ac_ext
12104 LIBS
=$ac_check_lib_save_LIBS
12106 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12107 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
12108 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12109 AUDIOIOLIBS
="-laudioio"
12111 cat >>confdefs.h
<<\_ACEOF
12112 #define HAVE_LIBAUDIOIO 1
12120 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12122 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12123 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
12124 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12125 echo $ECHO_N "(cached) $ECHO_C" >&6
12127 ac_check_lib_save_LIBS
=$LIBS
12128 LIBS
="-lcapi20 $LIBS"
12129 cat >conftest.
$ac_ext <<_ACEOF
12132 cat confdefs.h
>>conftest.
$ac_ext
12133 cat >>conftest.
$ac_ext <<_ACEOF
12134 /* end confdefs.h. */
12136 /* Override any gcc2 internal prototype to avoid an error. */
12140 /* We use char because int might match the return type of a gcc2
12141 builtin and then its argument prototype would still apply. */
12142 char capi20_register ();
12146 capi20_register ();
12151 rm -f conftest.
$ac_objext conftest
$ac_exeext
12152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12153 (eval $ac_link) 2>conftest.er1
12155 grep -v '^ *+' conftest.er1
>conftest.err
12157 cat conftest.err
>&5
12158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159 (exit $ac_status); } &&
12160 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12162 (eval $ac_try) 2>&5
12164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12165 (exit $ac_status); }; } &&
12166 { ac_try
='test -s conftest$ac_exeext'
12167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12168 (eval $ac_try) 2>&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); }; }; then
12172 ac_cv_lib_capi20_capi20_register
=yes
12174 echo "$as_me: failed program was:" >&5
12175 sed 's/^/| /' conftest.
$ac_ext >&5
12177 ac_cv_lib_capi20_capi20_register
=no
12179 rm -f conftest.err conftest.
$ac_objext \
12180 conftest
$ac_exeext conftest.
$ac_ext
12181 LIBS
=$ac_check_lib_save_LIBS
12183 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12184 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12185 if test $ac_cv_lib_capi20_capi20_register = yes; then
12187 cat >>confdefs.h
<<\_ACEOF
12188 #define HAVE_CAPI4LINUX 1
12198 if test "x${GCC}" = "xyes"
12200 EXTRACFLAGS
="-Wall -pipe"
12202 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12203 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12204 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12205 echo $ECHO_N "(cached) $ECHO_C" >&6
12207 if test "$cross_compiling" = yes; then
12208 ac_cv_c_gcc_strength_bug
="yes"
12210 cat >conftest.
$ac_ext <<_ACEOF
12213 cat confdefs.h
>>conftest.
$ac_ext
12214 cat >>conftest.
$ac_ext <<_ACEOF
12215 /* end confdefs.h. */
12217 int L[4] = {0,1,2,3};
12219 static int Array[3];
12220 unsigned int B = 3;
12222 for(i=0; i<B; i++) Array[i] = i - 3;
12223 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12226 exit( Array[1] != -2 || L[2] != 3);
12229 rm -f conftest
$ac_exeext
12230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12231 (eval $ac_link) 2>&5
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12236 (eval $ac_try) 2>&5
12238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12239 (exit $ac_status); }; }; then
12240 ac_cv_c_gcc_strength_bug
="no"
12242 echo "$as_me: program exited with status $ac_status" >&5
12243 echo "$as_me: failed program was:" >&5
12244 sed 's/^/| /' conftest.
$ac_ext >&5
12246 ( exit $ac_status )
12247 ac_cv_c_gcc_strength_bug
="yes"
12249 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12252 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12253 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12254 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12256 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12259 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12260 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12261 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12262 echo $ECHO_N "(cached) $ECHO_C" >&6
12264 ac_wine_try_cflags_saved
=$CFLAGS
12265 CFLAGS
="$CFLAGS -fshort-wchar"
12266 cat >conftest.
$ac_ext <<_ACEOF
12269 cat confdefs.h
>>conftest.
$ac_ext
12270 cat >>conftest.
$ac_ext <<_ACEOF
12271 /* end confdefs.h. */
12281 rm -f conftest.
$ac_objext conftest
$ac_exeext
12282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12283 (eval $ac_link) 2>conftest.er1
12285 grep -v '^ *+' conftest.er1
>conftest.err
12287 cat conftest.err
>&5
12288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12289 (exit $ac_status); } &&
12290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12292 (eval $ac_try) 2>&5
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); }; } &&
12296 { ac_try
='test -s conftest$ac_exeext'
12297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12298 (eval $ac_try) 2>&5
12300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); }; }; then
12302 ac_cv_c_gcc_fshort_wchar
="yes"
12304 echo "$as_me: failed program was:" >&5
12305 sed 's/^/| /' conftest.
$ac_ext >&5
12307 ac_cv_c_gcc_fshort_wchar
="no"
12309 rm -f conftest.err conftest.
$ac_objext \
12310 conftest
$ac_exeext conftest.
$ac_ext
12311 CFLAGS
=$ac_wine_try_cflags_saved
12313 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12314 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12315 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12318 cat >>confdefs.h
<<\_ACEOF
12319 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12324 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12325 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12326 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12327 echo $ECHO_N "(cached) $ECHO_C" >&6
12329 ac_wine_try_cflags_saved
=$CFLAGS
12330 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12331 cat >conftest.
$ac_ext <<_ACEOF
12334 cat confdefs.h
>>conftest.
$ac_ext
12335 cat >>conftest.
$ac_ext <<_ACEOF
12336 /* end confdefs.h. */
12346 rm -f conftest.
$ac_objext conftest
$ac_exeext
12347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12348 (eval $ac_link) 2>conftest.er1
12350 grep -v '^ *+' conftest.er1
>conftest.err
12352 cat conftest.err
>&5
12353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12354 (exit $ac_status); } &&
12355 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12357 (eval $ac_try) 2>&5
12359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12360 (exit $ac_status); }; } &&
12361 { ac_try
='test -s conftest$ac_exeext'
12362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12363 (eval $ac_try) 2>&5
12365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12366 (exit $ac_status); }; }; then
12367 ac_cv_c_gcc_no_strict_aliasing
="yes"
12369 echo "$as_me: failed program was:" >&5
12370 sed 's/^/| /' conftest.
$ac_ext >&5
12372 ac_cv_c_gcc_no_strict_aliasing
="no"
12374 rm -f conftest.err conftest.
$ac_objext \
12375 conftest
$ac_exeext conftest.
$ac_ext
12376 CFLAGS
=$ac_wine_try_cflags_saved
12378 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12379 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12380 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12382 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12385 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12386 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12387 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12388 echo $ECHO_N "(cached) $ECHO_C" >&6
12390 ac_wine_try_cflags_saved
=$CFLAGS
12391 CFLAGS
="$CFLAGS -gstabs+"
12392 cat >conftest.
$ac_ext <<_ACEOF
12395 cat confdefs.h
>>conftest.
$ac_ext
12396 cat >>conftest.
$ac_ext <<_ACEOF
12397 /* end confdefs.h. */
12407 rm -f conftest.
$ac_objext conftest
$ac_exeext
12408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12409 (eval $ac_link) 2>conftest.er1
12411 grep -v '^ *+' conftest.er1
>conftest.err
12413 cat conftest.err
>&5
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); } &&
12416 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12418 (eval $ac_try) 2>&5
12420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421 (exit $ac_status); }; } &&
12422 { ac_try
='test -s conftest$ac_exeext'
12423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12424 (eval $ac_try) 2>&5
12426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12427 (exit $ac_status); }; }; then
12428 ac_cv_c_gcc_gstabs
="yes"
12430 echo "$as_me: failed program was:" >&5
12431 sed 's/^/| /' conftest.
$ac_ext >&5
12433 ac_cv_c_gcc_gstabs
="no"
12435 rm -f conftest.err conftest.
$ac_objext \
12436 conftest
$ac_exeext conftest.
$ac_ext
12437 CFLAGS
=$ac_wine_try_cflags_saved
12439 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12440 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12441 if test "$ac_cv_c_gcc_gstabs" = "yes"
12443 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12446 echo "$as_me:$LINENO: checking for gcc -Wdeclaration-after-statement support" >&5
12447 echo $ECHO_N "checking for gcc -Wdeclaration-after-statement support... $ECHO_C" >&6
12448 if test "${ac_cv_c_gcc_decl_after_statement+set}" = set; then
12449 echo $ECHO_N "(cached) $ECHO_C" >&6
12451 ac_wine_try_cflags_saved
=$CFLAGS
12452 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12453 cat >conftest.
$ac_ext <<_ACEOF
12456 cat confdefs.h
>>conftest.
$ac_ext
12457 cat >>conftest.
$ac_ext <<_ACEOF
12458 /* end confdefs.h. */
12468 rm -f conftest.
$ac_objext conftest
$ac_exeext
12469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12470 (eval $ac_link) 2>conftest.er1
12472 grep -v '^ *+' conftest.er1
>conftest.err
12474 cat conftest.err
>&5
12475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476 (exit $ac_status); } &&
12477 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12479 (eval $ac_try) 2>&5
12481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12482 (exit $ac_status); }; } &&
12483 { ac_try
='test -s conftest$ac_exeext'
12484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12485 (eval $ac_try) 2>&5
12487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12488 (exit $ac_status); }; }; then
12489 ac_cv_c_gcc_decl_after_statement
="yes"
12491 echo "$as_me: failed program was:" >&5
12492 sed 's/^/| /' conftest.
$ac_ext >&5
12494 ac_cv_c_gcc_decl_after_statement
="no"
12496 rm -f conftest.err conftest.
$ac_objext \
12497 conftest
$ac_exeext conftest.
$ac_ext
12498 CFLAGS
=$ac_wine_try_cflags_saved
12500 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_decl_after_statement" >&5
12501 echo "${ECHO_T}$ac_cv_c_gcc_decl_after_statement" >&6
12502 if test "$ac_cv_c_gcc_decl_after_statement" = "yes"
12504 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12507 saved_CFLAGS
="$CFLAGS"
12508 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12509 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12510 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12511 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12512 echo $ECHO_N "(cached) $ECHO_C" >&6
12514 cat >conftest.
$ac_ext <<_ACEOF
12517 cat confdefs.h
>>conftest.
$ac_ext
12518 cat >>conftest.
$ac_ext <<_ACEOF
12519 /* end confdefs.h. */
12520 #include <string.h>
12529 rm -f conftest.
$ac_objext
12530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12531 (eval $ac_compile) 2>conftest.er1
12533 grep -v '^ *+' conftest.er1
>conftest.err
12535 cat conftest.err
>&5
12536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12537 (exit $ac_status); } &&
12538 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12540 (eval $ac_try) 2>&5
12542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543 (exit $ac_status); }; } &&
12544 { ac_try
='test -s conftest.$ac_objext'
12545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12546 (eval $ac_try) 2>&5
12548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549 (exit $ac_status); }; }; then
12550 ac_cv_c_string_h_warnings
=no
12552 echo "$as_me: failed program was:" >&5
12553 sed 's/^/| /' conftest.
$ac_ext >&5
12555 ac_cv_c_string_h_warnings
=yes
12557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12559 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12560 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12561 CFLAGS
="$saved_CFLAGS"
12562 if test "$ac_cv_c_string_h_warnings" = "no"
12564 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12569 saved_CFLAGS
="$CFLAGS"
12570 CFLAGS
="$CFLAGS -Werror"
12571 echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12572 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6
12573 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12574 echo $ECHO_N "(cached) $ECHO_C" >&6
12576 cat >conftest.
$ac_ext <<_ACEOF
12579 cat confdefs.h
>>conftest.
$ac_ext
12580 cat >>conftest.
$ac_ext <<_ACEOF
12581 /* end confdefs.h. */
12586 int iswlower(unsigned short);
12591 rm -f conftest.
$ac_objext
12592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12593 (eval $ac_compile) 2>conftest.er1
12595 grep -v '^ *+' conftest.er1
>conftest.err
12597 cat conftest.err
>&5
12598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12599 (exit $ac_status); } &&
12600 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12602 (eval $ac_try) 2>&5
12604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12605 (exit $ac_status); }; } &&
12606 { ac_try
='test -s conftest.$ac_objext'
12607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12608 (eval $ac_try) 2>&5
12610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611 (exit $ac_status); }; }; then
12612 ac_cv_c_builtin_wchar_ctype
=no
12614 echo "$as_me: failed program was:" >&5
12615 sed 's/^/| /' conftest.
$ac_ext >&5
12617 ac_cv_c_builtin_wchar_ctype
=yes
12619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12621 echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12622 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6
12623 CFLAGS
="$saved_CFLAGS"
12624 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12628 iswalnum iswalpha iswcntrl iswdigit iswgraph iswlower \
12629 iswprint iswpunct iswspace iswupper iswxdigit towlower towupper
12631 BUILTINFLAG
="$BUILTINFLAG -fno-builtin-$builtin"
12637 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12638 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12639 if test "${ac_cv_asm_func_def+set}" = set; then
12640 echo $ECHO_N "(cached) $ECHO_C" >&6
12642 cat >conftest.
$ac_ext <<_ACEOF
12645 cat confdefs.h
>>conftest.
$ac_ext
12646 cat >>conftest.
$ac_ext <<_ACEOF
12647 /* end confdefs.h. */
12648 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"); }
12658 rm -f conftest.
$ac_objext conftest
$ac_exeext
12659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12660 (eval $ac_link) 2>conftest.er1
12662 grep -v '^ *+' conftest.er1
>conftest.err
12664 cat conftest.err
>&5
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); } &&
12667 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12669 (eval $ac_try) 2>&5
12671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); }; } &&
12673 { ac_try
='test -s conftest$ac_exeext'
12674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12675 (eval $ac_try) 2>&5
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); }; }; then
12679 ac_cv_asm_func_def
=".def"
12681 echo "$as_me: failed program was:" >&5
12682 sed 's/^/| /' conftest.
$ac_ext >&5
12684 cat >conftest.
$ac_ext <<_ACEOF
12687 cat confdefs.h
>>conftest.
$ac_ext
12688 cat >>conftest.
$ac_ext <<_ACEOF
12689 /* end confdefs.h. */
12690 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12700 rm -f conftest.
$ac_objext conftest
$ac_exeext
12701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12702 (eval $ac_link) 2>conftest.er1
12704 grep -v '^ *+' conftest.er1
>conftest.err
12706 cat conftest.err
>&5
12707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708 (exit $ac_status); } &&
12709 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12711 (eval $ac_try) 2>&5
12713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714 (exit $ac_status); }; } &&
12715 { ac_try
='test -s conftest$ac_exeext'
12716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12717 (eval $ac_try) 2>&5
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); }; }; then
12721 ac_cv_asm_func_def
=".type @function"
12723 echo "$as_me: failed program was:" >&5
12724 sed 's/^/| /' conftest.
$ac_ext >&5
12726 cat >conftest.
$ac_ext <<_ACEOF
12729 cat confdefs.h
>>conftest.
$ac_ext
12730 cat >>conftest.
$ac_ext <<_ACEOF
12731 /* end confdefs.h. */
12732 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12742 rm -f conftest.
$ac_objext conftest
$ac_exeext
12743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12744 (eval $ac_link) 2>conftest.er1
12746 grep -v '^ *+' conftest.er1
>conftest.err
12748 cat conftest.err
>&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); } &&
12751 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12753 (eval $ac_try) 2>&5
12755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756 (exit $ac_status); }; } &&
12757 { ac_try
='test -s conftest$ac_exeext'
12758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12759 (eval $ac_try) 2>&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); }; }; then
12763 ac_cv_asm_func_def
=".type 2"
12765 echo "$as_me: failed program was:" >&5
12766 sed 's/^/| /' conftest.
$ac_ext >&5
12768 ac_cv_asm_func_def
="unknown"
12770 rm -f conftest.err conftest.
$ac_objext \
12771 conftest
$ac_exeext conftest.
$ac_ext
12773 rm -f conftest.err conftest.
$ac_objext \
12774 conftest
$ac_exeext conftest.
$ac_ext
12776 rm -f conftest.err conftest.
$ac_objext \
12777 conftest
$ac_exeext conftest.
$ac_ext
12779 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12780 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
12784 case "$ac_cv_asm_func_def" in
12786 cat >>confdefs.h
<<\_ACEOF
12787 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12791 cat >>confdefs.h
<<\_ACEOF
12792 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12796 cat >>confdefs.h
<<\_ACEOF
12797 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12801 cat >>confdefs.h
<<\_ACEOF
12802 #define __ASM_FUNC(name) ""
12808 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12809 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
12810 if test "${ac_cv_c_extern_prefix+set}" = set; then
12811 echo $ECHO_N "(cached) $ECHO_C" >&6
12813 cat >conftest.
$ac_ext <<_ACEOF
12816 cat confdefs.h
>>conftest.
$ac_ext
12817 cat >>conftest.
$ac_ext <<_ACEOF
12818 /* end confdefs.h. */
12819 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12820 extern int ac_test;
12824 if (ac_test) return 1
12829 rm -f conftest.
$ac_objext conftest
$ac_exeext
12830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12831 (eval $ac_link) 2>conftest.er1
12833 grep -v '^ *+' conftest.er1
>conftest.err
12835 cat conftest.err
>&5
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); } &&
12838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12840 (eval $ac_try) 2>&5
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); }; } &&
12844 { ac_try
='test -s conftest$ac_exeext'
12845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12846 (eval $ac_try) 2>&5
12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 (exit $ac_status); }; }; then
12850 ac_cv_c_extern_prefix
="yes"
12852 echo "$as_me: failed program was:" >&5
12853 sed 's/^/| /' conftest.
$ac_ext >&5
12855 ac_cv_c_extern_prefix
="no"
12857 rm -f conftest.err conftest.
$ac_objext \
12858 conftest
$ac_exeext conftest.
$ac_ext
12860 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12861 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
12865 if test "$ac_cv_c_extern_prefix" = "yes"
12867 cat >>confdefs.h
<<\_ACEOF
12868 #define __ASM_NAME(name) "_" name
12872 cat >>confdefs.h
<<\_ACEOF
12873 #define __ASM_NAME(name) name
12881 DLLFLAGS
="-D_REENTRANT"
12896 if test -n "$ac_tool_prefix"; then
12897 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
12898 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
12899 echo "$as_me:$LINENO: checking for $ac_word" >&5
12900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12901 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12902 echo $ECHO_N "(cached) $ECHO_C" >&6
12904 if test -n "$DLLTOOL"; then
12905 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
12907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12908 for as_dir
in $PATH
12911 test -z "$as_dir" && as_dir
=.
12912 for ac_exec_ext
in '' $ac_executable_extensions; do
12913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12914 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
12915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12923 DLLTOOL
=$ac_cv_prog_DLLTOOL
12924 if test -n "$DLLTOOL"; then
12925 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12926 echo "${ECHO_T}$DLLTOOL" >&6
12928 echo "$as_me:$LINENO: result: no" >&5
12929 echo "${ECHO_T}no" >&6
12933 if test -z "$ac_cv_prog_DLLTOOL"; then
12934 ac_ct_DLLTOOL
=$DLLTOOL
12935 # Extract the first word of "dlltool", so it can be a program name with args.
12936 set dummy dlltool
; ac_word
=$2
12937 echo "$as_me:$LINENO: checking for $ac_word" >&5
12938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12939 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
12940 echo $ECHO_N "(cached) $ECHO_C" >&6
12942 if test -n "$ac_ct_DLLTOOL"; then
12943 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
12945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12946 for as_dir
in $PATH
12949 test -z "$as_dir" && as_dir
=.
12950 for ac_exec_ext
in '' $ac_executable_extensions; do
12951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12952 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
12953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12959 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
12962 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
12963 if test -n "$ac_ct_DLLTOOL"; then
12964 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
12965 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
12967 echo "$as_me:$LINENO: result: no" >&5
12968 echo "${ECHO_T}no" >&6
12971 DLLTOOL
=$ac_ct_DLLTOOL
12973 DLLTOOL
="$ac_cv_prog_DLLTOOL"
12976 if test -n "$ac_tool_prefix"; then
12977 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
12978 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
12979 echo "$as_me:$LINENO: checking for $ac_word" >&5
12980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12981 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
12982 echo $ECHO_N "(cached) $ECHO_C" >&6
12984 if test -n "$DLLWRAP"; then
12985 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
12987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12988 for as_dir
in $PATH
12991 test -z "$as_dir" && as_dir
=.
12992 for ac_exec_ext
in '' $ac_executable_extensions; do
12993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12994 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
12995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13003 DLLWRAP
=$ac_cv_prog_DLLWRAP
13004 if test -n "$DLLWRAP"; then
13005 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13006 echo "${ECHO_T}$DLLWRAP" >&6
13008 echo "$as_me:$LINENO: result: no" >&5
13009 echo "${ECHO_T}no" >&6
13013 if test -z "$ac_cv_prog_DLLWRAP"; then
13014 ac_ct_DLLWRAP
=$DLLWRAP
13015 # Extract the first word of "dllwrap", so it can be a program name with args.
13016 set dummy dllwrap
; ac_word
=$2
13017 echo "$as_me:$LINENO: checking for $ac_word" >&5
13018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13019 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13020 echo $ECHO_N "(cached) $ECHO_C" >&6
13022 if test -n "$ac_ct_DLLWRAP"; then
13023 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
13025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13026 for as_dir
in $PATH
13029 test -z "$as_dir" && as_dir
=.
13030 for ac_exec_ext
in '' $ac_executable_extensions; do
13031 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13032 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
13033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13039 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP
="false"
13042 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
13043 if test -n "$ac_ct_DLLWRAP"; then
13044 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13045 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13047 echo "$as_me:$LINENO: result: no" >&5
13048 echo "${ECHO_T}no" >&6
13051 DLLWRAP
=$ac_ct_DLLWRAP
13053 DLLWRAP
="$ac_cv_prog_DLLWRAP"
13056 if test "$DLLWRAP" = "false"; then
13066 if test "$ac_cv_header_dlfcn_h" = "yes"
13069 for ac_func
in dlopen
13071 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13072 echo "$as_me:$LINENO: checking for $ac_func" >&5
13073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13074 if eval "test \"\${$as_ac_var+set}\" = set"; then
13075 echo $ECHO_N "(cached) $ECHO_C" >&6
13077 cat >conftest.
$ac_ext <<_ACEOF
13080 cat confdefs.h
>>conftest.
$ac_ext
13081 cat >>conftest.
$ac_ext <<_ACEOF
13082 /* end confdefs.h. */
13083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13085 #define $ac_func innocuous_$ac_func
13087 /* System header to define __stub macros and hopefully few prototypes,
13088 which can conflict with char $ac_func (); below.
13089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13090 <limits.h> exists even on freestanding compilers. */
13093 # include <limits.h>
13095 # include <assert.h>
13100 /* Override any gcc2 internal prototype to avoid an error. */
13105 /* We use char because int might match the return type of a gcc2
13106 builtin and then its argument prototype would still apply. */
13108 /* The GNU C library defines this for functions which it implements
13109 to always fail with ENOSYS. Some functions are actually named
13110 something starting with __ and the normal name is an alias. */
13111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13114 char (*f) () = $ac_func;
13123 return f != $ac_func;
13128 rm -f conftest.
$ac_objext conftest
$ac_exeext
13129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13130 (eval $ac_link) 2>conftest.er1
13132 grep -v '^ *+' conftest.er1
>conftest.err
13134 cat conftest.err
>&5
13135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13136 (exit $ac_status); } &&
13137 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13139 (eval $ac_try) 2>&5
13141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13142 (exit $ac_status); }; } &&
13143 { ac_try
='test -s conftest$ac_exeext'
13144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13145 (eval $ac_try) 2>&5
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); }; }; then
13149 eval "$as_ac_var=yes"
13151 echo "$as_me: failed program was:" >&5
13152 sed 's/^/| /' conftest.
$ac_ext >&5
13154 eval "$as_ac_var=no"
13156 rm -f conftest.err conftest.
$ac_objext \
13157 conftest
$ac_exeext conftest.
$ac_ext
13159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13161 if test `eval echo '${'$as_ac_var'}'` = yes; then
13162 cat >>confdefs.h
<<_ACEOF
13163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13167 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13168 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13169 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13170 echo $ECHO_N "(cached) $ECHO_C" >&6
13172 ac_check_lib_save_LIBS
=$LIBS
13174 cat >conftest.
$ac_ext <<_ACEOF
13177 cat confdefs.h
>>conftest.
$ac_ext
13178 cat >>conftest.
$ac_ext <<_ACEOF
13179 /* end confdefs.h. */
13181 /* Override any gcc2 internal prototype to avoid an error. */
13185 /* We use char because int might match the return type of a gcc2
13186 builtin and then its argument prototype would still apply. */
13196 rm -f conftest.
$ac_objext conftest
$ac_exeext
13197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13198 (eval $ac_link) 2>conftest.er1
13200 grep -v '^ *+' conftest.er1
>conftest.err
13202 cat conftest.err
>&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); } &&
13205 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13207 (eval $ac_try) 2>&5
13209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13210 (exit $ac_status); }; } &&
13211 { ac_try
='test -s conftest$ac_exeext'
13212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13213 (eval $ac_try) 2>&5
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); }; }; then
13217 ac_cv_lib_dl_dlopen
=yes
13219 echo "$as_me: failed program was:" >&5
13220 sed 's/^/| /' conftest.
$ac_ext >&5
13222 ac_cv_lib_dl_dlopen
=no
13224 rm -f conftest.err conftest.
$ac_objext \
13225 conftest
$ac_exeext conftest.
$ac_ext
13226 LIBS
=$ac_check_lib_save_LIBS
13228 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13229 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13230 if test $ac_cv_lib_dl_dlopen = yes; then
13232 cat >>confdefs.h
<<\_ACEOF
13233 #define HAVE_DLOPEN 1
13244 ac_wine_check_funcs_save_LIBS
="$LIBS"
13245 LIBS
="$LIBS $DLLIBS"
13247 for ac_func
in dladdr
13249 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13250 echo "$as_me:$LINENO: checking for $ac_func" >&5
13251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13252 if eval "test \"\${$as_ac_var+set}\" = set"; then
13253 echo $ECHO_N "(cached) $ECHO_C" >&6
13255 cat >conftest.
$ac_ext <<_ACEOF
13258 cat confdefs.h
>>conftest.
$ac_ext
13259 cat >>conftest.
$ac_ext <<_ACEOF
13260 /* end confdefs.h. */
13261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13263 #define $ac_func innocuous_$ac_func
13265 /* System header to define __stub macros and hopefully few prototypes,
13266 which can conflict with char $ac_func (); below.
13267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13268 <limits.h> exists even on freestanding compilers. */
13271 # include <limits.h>
13273 # include <assert.h>
13278 /* Override any gcc2 internal prototype to avoid an error. */
13283 /* We use char because int might match the return type of a gcc2
13284 builtin and then its argument prototype would still apply. */
13286 /* The GNU C library defines this for functions which it implements
13287 to always fail with ENOSYS. Some functions are actually named
13288 something starting with __ and the normal name is an alias. */
13289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13292 char (*f) () = $ac_func;
13301 return f != $ac_func;
13306 rm -f conftest.
$ac_objext conftest
$ac_exeext
13307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13308 (eval $ac_link) 2>conftest.er1
13310 grep -v '^ *+' conftest.er1
>conftest.err
13312 cat conftest.err
>&5
13313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 (exit $ac_status); } &&
13315 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13317 (eval $ac_try) 2>&5
13319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13320 (exit $ac_status); }; } &&
13321 { ac_try
='test -s conftest$ac_exeext'
13322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13323 (eval $ac_try) 2>&5
13325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13326 (exit $ac_status); }; }; then
13327 eval "$as_ac_var=yes"
13329 echo "$as_me: failed program was:" >&5
13330 sed 's/^/| /' conftest.
$ac_ext >&5
13332 eval "$as_ac_var=no"
13334 rm -f conftest.err conftest.
$ac_objext \
13335 conftest
$ac_exeext conftest.
$ac_ext
13337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13339 if test `eval echo '${'$as_ac_var'}'` = yes; then
13340 cat >>confdefs.h
<<_ACEOF
13341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13347 LIBS
="$ac_wine_check_funcs_save_LIBS"
13352 if test "$LIBEXT" = "so"
13354 DLLFLAGS
="$DLLFLAGS -fPIC"
13356 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13357 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13358 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13359 echo $ECHO_N "(cached) $ECHO_C" >&6
13361 ac_wine_try_cflags_saved
=$CFLAGS
13362 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13363 cat >conftest.
$ac_ext <<_ACEOF
13366 rm -f conftest.
$ac_objext conftest
$ac_exeext
13367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13368 (eval $ac_link) 2>conftest.er1
13370 grep -v '^ *+' conftest.er1
>conftest.err
13372 cat conftest.err
>&5
13373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13374 (exit $ac_status); } &&
13375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13377 (eval $ac_try) 2>&5
13379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13380 (exit $ac_status); }; } &&
13381 { ac_try
='test -s conftest$ac_exeext'
13382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13383 (eval $ac_try) 2>&5
13385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13386 (exit $ac_status); }; }; then
13387 ac_cv_c_dll_gnuelf
="yes"
13389 echo "$as_me: failed program was:" >&5
13390 sed 's/^/| /' conftest.
$ac_ext >&5
13392 ac_cv_c_dll_gnuelf
="no"
13394 rm -f conftest.err conftest.
$ac_objext \
13395 conftest
$ac_exeext conftest.
$ac_ext
13396 CFLAGS
=$ac_wine_try_cflags_saved
13398 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13399 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
13400 if test "$ac_cv_c_dll_gnuelf" = "yes"
13402 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13403 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
13404 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
13405 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
13406 if test "${ac_cv_c_dll_zdefs+set}" = set; then
13407 echo $ECHO_N "(cached) $ECHO_C" >&6
13409 ac_wine_try_cflags_saved
=$CFLAGS
13410 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13411 cat >conftest.
$ac_ext <<_ACEOF
13414 cat confdefs.h
>>conftest.
$ac_ext
13415 cat >>conftest.
$ac_ext <<_ACEOF
13416 /* end confdefs.h. */
13426 rm -f conftest.
$ac_objext conftest
$ac_exeext
13427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13428 (eval $ac_link) 2>conftest.er1
13430 grep -v '^ *+' conftest.er1
>conftest.err
13432 cat conftest.err
>&5
13433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434 (exit $ac_status); } &&
13435 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13437 (eval $ac_try) 2>&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); }; } &&
13441 { ac_try
='test -s conftest$ac_exeext'
13442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13443 (eval $ac_try) 2>&5
13445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13446 (exit $ac_status); }; }; then
13447 ac_cv_c_dll_zdefs
="yes"
13449 echo "$as_me: failed program was:" >&5
13450 sed 's/^/| /' conftest.
$ac_ext >&5
13452 ac_cv_c_dll_zdefs
="no"
13454 rm -f conftest.err conftest.
$ac_objext \
13455 conftest
$ac_exeext conftest.
$ac_ext
13456 CFLAGS
=$ac_wine_try_cflags_saved
13458 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
13459 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
13460 if test "$ac_cv_c_dll_zdefs" = "yes"
13462 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
13465 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
13466 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
13467 if test "${ac_cv_c_dll_init_fini+set}" = set; then
13468 echo $ECHO_N "(cached) $ECHO_C" >&6
13470 ac_wine_try_cflags_saved
=$CFLAGS
13471 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13472 cat >conftest.
$ac_ext <<_ACEOF
13475 cat confdefs.h
>>conftest.
$ac_ext
13476 cat >>conftest.
$ac_ext <<_ACEOF
13477 /* end confdefs.h. */
13487 rm -f conftest.
$ac_objext conftest
$ac_exeext
13488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13489 (eval $ac_link) 2>conftest.er1
13491 grep -v '^ *+' conftest.er1
>conftest.err
13493 cat conftest.err
>&5
13494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13495 (exit $ac_status); } &&
13496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13498 (eval $ac_try) 2>&5
13500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13501 (exit $ac_status); }; } &&
13502 { ac_try
='test -s conftest$ac_exeext'
13503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13504 (eval $ac_try) 2>&5
13506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13507 (exit $ac_status); }; }; then
13508 ac_cv_c_dll_init_fini
="yes"
13510 echo "$as_me: failed program was:" >&5
13511 sed 's/^/| /' conftest.
$ac_ext >&5
13513 ac_cv_c_dll_init_fini
="no"
13515 rm -f conftest.err conftest.
$ac_objext \
13516 conftest
$ac_exeext conftest.
$ac_ext
13517 CFLAGS
=$ac_wine_try_cflags_saved
13519 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
13520 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
13521 if test "$ac_cv_c_dll_init_fini" = "yes"
13523 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13526 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
13527 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
13528 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
13529 echo $ECHO_N "(cached) $ECHO_C" >&6
13531 echo '{ global: *; };' >conftest.map
13532 ac_wine_try_cflags_saved
=$CFLAGS
13533 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13534 cat >conftest.
$ac_ext <<_ACEOF
13537 cat confdefs.h
>>conftest.
$ac_ext
13538 cat >>conftest.
$ac_ext <<_ACEOF
13539 /* end confdefs.h. */
13549 rm -f conftest.
$ac_objext conftest
$ac_exeext
13550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13551 (eval $ac_link) 2>conftest.er1
13553 grep -v '^ *+' conftest.er1
>conftest.err
13555 cat conftest.err
>&5
13556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13557 (exit $ac_status); } &&
13558 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13560 (eval $ac_try) 2>&5
13562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13563 (exit $ac_status); }; } &&
13564 { ac_try
='test -s conftest$ac_exeext'
13565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13566 (eval $ac_try) 2>&5
13568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13569 (exit $ac_status); }; }; then
13570 ac_cv_c_ld_version_scripts
="yes"
13572 echo "$as_me: failed program was:" >&5
13573 sed 's/^/| /' conftest.
$ac_ext >&5
13575 ac_cv_c_ld_version_scripts
="no"
13577 rm -f conftest.err conftest.
$ac_objext \
13578 conftest
$ac_exeext conftest.
$ac_ext
13579 CFLAGS
=$ac_wine_try_cflags_saved
13582 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
13583 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
13584 if test "$ac_cv_c_ld_version_scripts" = "yes"
13586 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13589 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
13590 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
13591 if test "${ac_cv_c_export_dynamic+set}" = set; then
13592 echo $ECHO_N "(cached) $ECHO_C" >&6
13594 ac_wine_try_cflags_saved
=$CFLAGS
13595 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
13596 cat >conftest.
$ac_ext <<_ACEOF
13599 cat confdefs.h
>>conftest.
$ac_ext
13600 cat >>conftest.
$ac_ext <<_ACEOF
13601 /* end confdefs.h. */
13611 rm -f conftest.
$ac_objext conftest
$ac_exeext
13612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13613 (eval $ac_link) 2>conftest.er1
13615 grep -v '^ *+' conftest.er1
>conftest.err
13617 cat conftest.err
>&5
13618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13619 (exit $ac_status); } &&
13620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13622 (eval $ac_try) 2>&5
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); }; } &&
13626 { ac_try
='test -s conftest$ac_exeext'
13627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13628 (eval $ac_try) 2>&5
13630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13631 (exit $ac_status); }; }; then
13632 ac_cv_c_export_dynamic
="yes"
13634 echo "$as_me: failed program was:" >&5
13635 sed 's/^/| /' conftest.
$ac_ext >&5
13637 ac_cv_c_export_dynamic
="no"
13639 rm -f conftest.err conftest.
$ac_objext \
13640 conftest
$ac_exeext conftest.
$ac_ext
13641 CFLAGS
=$ac_wine_try_cflags_saved
13643 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
13644 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
13645 if test "$ac_cv_c_export_dynamic" = "yes"
13647 LDEXECFLAGS
="-Wl,--export-dynamic"
13651 echo "$as_me:$LINENO: checking whether the linker accepts --rpath" >&5
13652 echo $ECHO_N "checking whether the linker accepts --rpath... $ECHO_C" >&6
13653 if test "${ac_cv_ld_rpath+set}" = set; then
13654 echo $ECHO_N "(cached) $ECHO_C" >&6
13656 ac_wine_try_cflags_saved
=$CFLAGS
13657 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13658 cat >conftest.
$ac_ext <<_ACEOF
13661 cat confdefs.h
>>conftest.
$ac_ext
13662 cat >>conftest.
$ac_ext <<_ACEOF
13663 /* end confdefs.h. */
13673 rm -f conftest.
$ac_objext conftest
$ac_exeext
13674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13675 (eval $ac_link) 2>conftest.er1
13677 grep -v '^ *+' conftest.er1
>conftest.err
13679 cat conftest.err
>&5
13680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13681 (exit $ac_status); } &&
13682 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13684 (eval $ac_try) 2>&5
13686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687 (exit $ac_status); }; } &&
13688 { ac_try
='test -s conftest$ac_exeext'
13689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13690 (eval $ac_try) 2>&5
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); }; }; then
13694 ac_cv_ld_rpath
="yes"
13696 echo "$as_me: failed program was:" >&5
13697 sed 's/^/| /' conftest.
$ac_ext >&5
13699 ac_cv_ld_rpath
="no"
13701 rm -f conftest.err conftest.
$ac_objext \
13702 conftest
$ac_exeext conftest.
$ac_ext
13703 CFLAGS
=$ac_wine_try_cflags_saved
13705 echo "$as_me:$LINENO: result: $ac_cv_ld_rpath" >&5
13706 echo "${ECHO_T}$ac_cv_ld_rpath" >&6
13707 if test "$ac_cv_ld_rpath" = "yes"
13709 LDEXERPATH
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13711 LDDLLRPATH
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(dlldir) \$(libdir)\`"
13717 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
13718 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6
13719 if test "${ac_cv_ld_reloc_exec+set}" = set; then
13720 echo $ECHO_N "(cached) $ECHO_C" >&6
13722 ac_wine_try_cflags_saved
=$CFLAGS
13723 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13724 cat >conftest.
$ac_ext <<_ACEOF
13727 cat confdefs.h
>>conftest.
$ac_ext
13728 cat >>conftest.
$ac_ext <<_ACEOF
13729 /* end confdefs.h. */
13739 rm -f conftest.
$ac_objext conftest
$ac_exeext
13740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13741 (eval $ac_link) 2>conftest.er1
13743 grep -v '^ *+' conftest.er1
>conftest.err
13745 cat conftest.err
>&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); } &&
13748 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13750 (eval $ac_try) 2>&5
13752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13753 (exit $ac_status); }; } &&
13754 { ac_try
='test -s conftest$ac_exeext'
13755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13756 (eval $ac_try) 2>&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); }; }; then
13760 ac_cv_ld_reloc_exec
="yes"
13762 echo "$as_me: failed program was:" >&5
13763 sed 's/^/| /' conftest.
$ac_ext >&5
13765 ac_cv_ld_reloc_exec
="no"
13767 rm -f conftest.err conftest.
$ac_objext \
13768 conftest
$ac_exeext conftest.
$ac_ext
13769 CFLAGS
=$ac_wine_try_cflags_saved
13771 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
13772 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
13773 if test "$ac_cv_ld_reloc_exec" = "yes"
13775 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
13781 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13782 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
13783 if test "${ac_cv_c_dll_unixware+set}" = set; then
13784 echo $ECHO_N "(cached) $ECHO_C" >&6
13786 ac_wine_try_cflags_saved
=$CFLAGS
13787 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13788 cat >conftest.
$ac_ext <<_ACEOF
13791 rm -f conftest.
$ac_objext conftest
$ac_exeext
13792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13793 (eval $ac_link) 2>conftest.er1
13795 grep -v '^ *+' conftest.er1
>conftest.err
13797 cat conftest.err
>&5
13798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13799 (exit $ac_status); } &&
13800 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13802 (eval $ac_try) 2>&5
13804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13805 (exit $ac_status); }; } &&
13806 { ac_try
='test -s conftest$ac_exeext'
13807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13808 (eval $ac_try) 2>&5
13810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811 (exit $ac_status); }; }; then
13812 ac_cv_c_dll_unixware
="yes"
13814 echo "$as_me: failed program was:" >&5
13815 sed 's/^/| /' conftest.
$ac_ext >&5
13817 ac_cv_c_dll_unixware
="no"
13819 rm -f conftest.err conftest.
$ac_objext \
13820 conftest
$ac_exeext conftest.
$ac_ext
13821 CFLAGS
=$ac_wine_try_cflags_saved
13823 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13824 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
13825 if test "$ac_cv_c_dll_unixware" = "yes"
13827 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13828 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
13831 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
13832 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
13833 if test "${ac_cv_c_dll_macho+set}" = set; then
13834 echo $ECHO_N "(cached) $ECHO_C" >&6
13836 ac_wine_try_cflags_saved
=$CFLAGS
13837 CFLAGS
="$CFLAGS -bundle"
13838 cat >conftest.
$ac_ext <<_ACEOF
13841 rm -f conftest.
$ac_objext conftest
$ac_exeext
13842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13843 (eval $ac_link) 2>conftest.er1
13845 grep -v '^ *+' conftest.er1
>conftest.err
13847 cat conftest.err
>&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); } &&
13850 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13852 (eval $ac_try) 2>&5
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); }; } &&
13856 { ac_try
='test -s conftest$ac_exeext'
13857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13858 (eval $ac_try) 2>&5
13860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13861 (exit $ac_status); }; }; then
13862 ac_cv_c_dll_macho
="yes"
13864 echo "$as_me: failed program was:" >&5
13865 sed 's/^/| /' conftest.
$ac_ext >&5
13867 ac_cv_c_dll_macho
="no"
13869 rm -f conftest.err conftest.
$ac_objext \
13870 conftest
$ac_exeext conftest.
$ac_ext
13871 CFLAGS
=$ac_wine_try_cflags_saved
13873 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
13874 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
13875 if test "$ac_cv_c_dll_macho" = "yes"
13878 LDDLLFLAGS
="-bundle"
13879 LDSHARED
="\$(CC) -dynamiclib"
13880 STRIP
="$STRIP -u -r"
13881 COREFOUNDATIONLIB
="-framework CoreFoundation"
13883 IOKITLIB
="-framework IOKit -framework CoreFoundation"
13885 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7ffe0000"
13889 CFLAGS
="$CFLAGS -ffixed-r13"
13890 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning"
13895 echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
13896 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6
13897 if test "${ac_cv_c_dll_hpux+set}" = set; then
13898 echo $ECHO_N "(cached) $ECHO_C" >&6
13900 ac_wine_try_cflags_saved
=$CFLAGS
13901 CFLAGS
="$CFLAGS -shared"
13902 cat >conftest.
$ac_ext <<_ACEOF
13905 rm -f conftest.
$ac_objext conftest
$ac_exeext
13906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13907 (eval $ac_link) 2>conftest.er1
13909 grep -v '^ *+' conftest.er1
>conftest.err
13911 cat conftest.err
>&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); } &&
13914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13916 (eval $ac_try) 2>&5
13918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13919 (exit $ac_status); }; } &&
13920 { ac_try
='test -s conftest$ac_exeext'
13921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13922 (eval $ac_try) 2>&5
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); }; }; then
13926 ac_cv_c_dll_hpux
="yes"
13928 echo "$as_me: failed program was:" >&5
13929 sed 's/^/| /' conftest.
$ac_ext >&5
13931 ac_cv_c_dll_hpux
="no"
13933 rm -f conftest.err conftest.
$ac_objext \
13934 conftest
$ac_exeext conftest.
$ac_ext
13935 CFLAGS
=$ac_wine_try_cflags_saved
13937 echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
13938 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6
13939 if test "$ac_cv_c_dll_hpux" = "yes"
13943 LDDLLFLAGS
="-shared -fPIC"
13944 LDSHARED
="\$(CC) -shared"
13953 if test "$cross_compiling" = "no"
13955 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
13957 # Extract the first word of "$ac_prog", so it can be a program name with args.
13958 set dummy
$ac_prog; ac_word
=$2
13959 echo "$as_me:$LINENO: checking for $ac_word" >&5
13960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13961 if test "${ac_cv_prog_CROSSCC+set}" = set; then
13962 echo $ECHO_N "(cached) $ECHO_C" >&6
13964 if test -n "$CROSSCC"; then
13965 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
13967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13968 for as_dir
in $PATH
13971 test -z "$as_dir" && as_dir
=.
13972 for ac_exec_ext
in '' $ac_executable_extensions; do
13973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13974 ac_cv_prog_CROSSCC
="$ac_prog"
13975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13983 CROSSCC
=$ac_cv_prog_CROSSCC
13984 if test -n "$CROSSCC"; then
13985 echo "$as_me:$LINENO: result: $CROSSCC" >&5
13986 echo "${ECHO_T}$CROSSCC" >&6
13988 echo "$as_me:$LINENO: result: no" >&5
13989 echo "${ECHO_T}no" >&6
13992 test -n "$CROSSCC" && break
13994 test -n "$CROSSCC" || CROSSCC
="false"
13996 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
13998 # Extract the first word of "$ac_prog", so it can be a program name with args.
13999 set dummy
$ac_prog; ac_word
=$2
14000 echo "$as_me:$LINENO: checking for $ac_word" >&5
14001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14002 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14003 echo $ECHO_N "(cached) $ECHO_C" >&6
14005 if test -n "$DLLTOOL"; then
14006 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14009 for as_dir
in $PATH
14012 test -z "$as_dir" && as_dir
=.
14013 for ac_exec_ext
in '' $ac_executable_extensions; do
14014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14015 ac_cv_prog_DLLTOOL
="$ac_prog"
14016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14024 DLLTOOL
=$ac_cv_prog_DLLTOOL
14025 if test -n "$DLLTOOL"; then
14026 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14027 echo "${ECHO_T}$DLLTOOL" >&6
14029 echo "$as_me:$LINENO: result: no" >&5
14030 echo "${ECHO_T}no" >&6
14033 test -n "$DLLTOOL" && break
14035 test -n "$DLLTOOL" || DLLTOOL
="false"
14037 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
14039 # Extract the first word of "$ac_prog", so it can be a program name with args.
14040 set dummy
$ac_prog; ac_word
=$2
14041 echo "$as_me:$LINENO: checking for $ac_word" >&5
14042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14043 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14044 echo $ECHO_N "(cached) $ECHO_C" >&6
14046 if test -n "$CROSSWINDRES"; then
14047 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
14049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14050 for as_dir
in $PATH
14053 test -z "$as_dir" && as_dir
=.
14054 for ac_exec_ext
in '' $ac_executable_extensions; do
14055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14056 ac_cv_prog_CROSSWINDRES
="$ac_prog"
14057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14065 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
14066 if test -n "$CROSSWINDRES"; then
14067 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14068 echo "${ECHO_T}$CROSSWINDRES" >&6
14070 echo "$as_me:$LINENO: result: no" >&5
14071 echo "${ECHO_T}no" >&6
14074 test -n "$CROSSWINDRES" && break
14076 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
14078 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
14083 if test "$LIBEXT" = "a"; then
14084 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14085 It is currently not possible to build Wine without shared library
14086 (.so) support to allow transparent switch between .so and .dll files.
14087 If you are using Linux, you will need a newer binutils.
14089 echo "$as_me: error: could not find a way to build shared libraries.
14090 It is currently not possible to build Wine without shared library
14091 (.so) support to allow transparent switch between .so and .dll files.
14092 If you are using Linux, you will need a newer binutils.
14094 { (exit 1); exit 1; }; }
14099 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14102 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14105 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14113 SOCKETLIBS
="-lws2_32"
14121 linux
* | k
*bsd
*-gnu)
14122 MAIN_BINARY
="wine-glibc"
14124 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
14127 MAIN_BINARY
="wine-pthread"
14130 MAIN_BINARY
="wine-kthread"
14134 *) MAIN_BINARY
="wine-pthread"
14139 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14141 # Extract the first word of "ldd", so it can be a program name with args.
14142 set dummy ldd
; ac_word
=$2
14143 echo "$as_me:$LINENO: checking for $ac_word" >&5
14144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14145 if test "${ac_cv_path_LDD+set}" = set; then
14146 echo $ECHO_N "(cached) $ECHO_C" >&6
14150 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
14153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14154 as_dummy
="/sbin:/usr/sbin:$PATH"
14155 for as_dir
in $as_dummy
14158 test -z "$as_dir" && as_dir
=.
14159 for ac_exec_ext
in '' $ac_executable_extensions; do
14160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14161 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
14162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14168 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
14172 LDD
=$ac_cv_path_LDD
14174 if test -n "$LDD"; then
14175 echo "$as_me:$LINENO: result: $LDD" >&5
14176 echo "${ECHO_T}$LDD" >&6
14178 echo "$as_me:$LINENO: result: no" >&5
14179 echo "${ECHO_T}no" >&6
14182 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14183 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14184 if test "${ac_cv_lib_soname_X11+set}" = set; then
14185 echo $ECHO_N "(cached) $ECHO_C" >&6
14187 ac_get_soname_save_LIBS
=$LIBS
14188 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14189 cat >conftest.
$ac_ext <<_ACEOF
14192 cat confdefs.h
>>conftest.
$ac_ext
14193 cat >>conftest.
$ac_ext <<_ACEOF
14194 /* end confdefs.h. */
14196 /* Override any gcc2 internal prototype to avoid an error. */
14200 /* We use char because int might match the return type of a gcc2
14201 builtin and then its argument prototype would still apply. */
14202 char XCreateWindow ();
14211 rm -f conftest.
$ac_objext conftest
$ac_exeext
14212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14213 (eval $ac_link) 2>conftest.er1
14215 grep -v '^ *+' conftest.er1
>conftest.err
14217 cat conftest.err
>&5
14218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14219 (exit $ac_status); } &&
14220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14222 (eval $ac_try) 2>&5
14224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225 (exit $ac_status); }; } &&
14226 { ac_try
='test -s conftest$ac_exeext'
14227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14228 (eval $ac_try) 2>&5
14230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14231 (exit $ac_status); }; }; then
14232 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14233 if test "x$ac_cv_lib_soname_X11" = "x"
14235 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14238 echo "$as_me: failed program was:" >&5
14239 sed 's/^/| /' conftest.
$ac_ext >&5
14241 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14243 rm -f conftest.err conftest.
$ac_objext \
14244 conftest
$ac_exeext conftest.
$ac_ext
14245 LIBS
=$ac_get_soname_save_LIBS
14247 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14248 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14249 if test "${ac_cv_lib_soname_X11+set}" = set; then
14251 cat >>confdefs.h
<<_ACEOF
14252 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14257 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14258 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14259 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14260 echo $ECHO_N "(cached) $ECHO_C" >&6
14262 ac_get_soname_save_LIBS
=$LIBS
14263 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14264 cat >conftest.
$ac_ext <<_ACEOF
14267 cat confdefs.h
>>conftest.
$ac_ext
14268 cat >>conftest.
$ac_ext <<_ACEOF
14269 /* end confdefs.h. */
14271 /* Override any gcc2 internal prototype to avoid an error. */
14275 /* We use char because int might match the return type of a gcc2
14276 builtin and then its argument prototype would still apply. */
14277 char XextCreateExtension ();
14281 XextCreateExtension ();
14286 rm -f conftest.
$ac_objext conftest
$ac_exeext
14287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14288 (eval $ac_link) 2>conftest.er1
14290 grep -v '^ *+' conftest.er1
>conftest.err
14292 cat conftest.err
>&5
14293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14294 (exit $ac_status); } &&
14295 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14297 (eval $ac_try) 2>&5
14299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14300 (exit $ac_status); }; } &&
14301 { ac_try
='test -s conftest$ac_exeext'
14302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14303 (eval $ac_try) 2>&5
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); }; }; then
14307 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14308 if test "x$ac_cv_lib_soname_Xext" = "x"
14310 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14313 echo "$as_me: failed program was:" >&5
14314 sed 's/^/| /' conftest.
$ac_ext >&5
14316 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14318 rm -f conftest.err conftest.
$ac_objext \
14319 conftest
$ac_exeext conftest.
$ac_ext
14320 LIBS
=$ac_get_soname_save_LIBS
14322 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14323 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14324 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14326 cat >>confdefs.h
<<_ACEOF
14327 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14332 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14333 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14334 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14335 echo $ECHO_N "(cached) $ECHO_C" >&6
14337 ac_get_soname_save_LIBS
=$LIBS
14338 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14339 cat >conftest.
$ac_ext <<_ACEOF
14342 cat confdefs.h
>>conftest.
$ac_ext
14343 cat >>conftest.
$ac_ext <<_ACEOF
14344 /* end confdefs.h. */
14346 /* Override any gcc2 internal prototype to avoid an error. */
14350 /* We use char because int might match the return type of a gcc2
14351 builtin and then its argument prototype would still apply. */
14352 char XOpenDevice ();
14361 rm -f conftest.
$ac_objext conftest
$ac_exeext
14362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14363 (eval $ac_link) 2>conftest.er1
14365 grep -v '^ *+' conftest.er1
>conftest.err
14367 cat conftest.err
>&5
14368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14369 (exit $ac_status); } &&
14370 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14372 (eval $ac_try) 2>&5
14374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14375 (exit $ac_status); }; } &&
14376 { ac_try
='test -s conftest$ac_exeext'
14377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14378 (eval $ac_try) 2>&5
14380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14381 (exit $ac_status); }; }; then
14382 ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14383 if test "x$ac_cv_lib_soname_Xi" = "x"
14385 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14388 echo "$as_me: failed program was:" >&5
14389 sed 's/^/| /' conftest.
$ac_ext >&5
14391 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14393 rm -f conftest.err conftest.
$ac_objext \
14394 conftest
$ac_exeext conftest.
$ac_ext
14395 LIBS
=$ac_get_soname_save_LIBS
14397 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14398 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14399 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14401 cat >>confdefs.h
<<_ACEOF
14402 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14407 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14408 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14409 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14410 echo $ECHO_N "(cached) $ECHO_C" >&6
14412 ac_get_soname_save_LIBS
=$LIBS
14413 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14414 cat >conftest.
$ac_ext <<_ACEOF
14417 cat confdefs.h
>>conftest.
$ac_ext
14418 cat >>conftest.
$ac_ext <<_ACEOF
14419 /* end confdefs.h. */
14421 /* Override any gcc2 internal prototype to avoid an error. */
14425 /* We use char because int might match the return type of a gcc2
14426 builtin and then its argument prototype would still apply. */
14427 char XRenderQueryExtension ();
14431 XRenderQueryExtension ();
14436 rm -f conftest.
$ac_objext conftest
$ac_exeext
14437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14438 (eval $ac_link) 2>conftest.er1
14440 grep -v '^ *+' conftest.er1
>conftest.err
14442 cat conftest.err
>&5
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); } &&
14445 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14447 (eval $ac_try) 2>&5
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); }; } &&
14451 { ac_try
='test -s conftest$ac_exeext'
14452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14453 (eval $ac_try) 2>&5
14455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14456 (exit $ac_status); }; }; then
14457 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14458 if test "x$ac_cv_lib_soname_Xrender" = "x"
14460 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14463 echo "$as_me: failed program was:" >&5
14464 sed 's/^/| /' conftest.
$ac_ext >&5
14466 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14468 rm -f conftest.err conftest.
$ac_objext \
14469 conftest
$ac_exeext conftest.
$ac_ext
14470 LIBS
=$ac_get_soname_save_LIBS
14472 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14473 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14474 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14476 cat >>confdefs.h
<<_ACEOF
14477 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14482 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14483 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
14484 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14485 echo $ECHO_N "(cached) $ECHO_C" >&6
14487 ac_get_soname_save_LIBS
=$LIBS
14488 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14489 cat >conftest.
$ac_ext <<_ACEOF
14492 cat confdefs.h
>>conftest.
$ac_ext
14493 cat >>conftest.
$ac_ext <<_ACEOF
14494 /* end confdefs.h. */
14496 /* Override any gcc2 internal prototype to avoid an error. */
14500 /* We use char because int might match the return type of a gcc2
14501 builtin and then its argument prototype would still apply. */
14502 char XRRQueryExtension ();
14506 XRRQueryExtension ();
14511 rm -f conftest.
$ac_objext conftest
$ac_exeext
14512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14513 (eval $ac_link) 2>conftest.er1
14515 grep -v '^ *+' conftest.er1
>conftest.err
14517 cat conftest.err
>&5
14518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14519 (exit $ac_status); } &&
14520 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14522 (eval $ac_try) 2>&5
14524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14525 (exit $ac_status); }; } &&
14526 { ac_try
='test -s conftest$ac_exeext'
14527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14528 (eval $ac_try) 2>&5
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); }; }; then
14532 ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14533 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14535 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
14538 echo "$as_me: failed program was:" >&5
14539 sed 's/^/| /' conftest.
$ac_ext >&5
14541 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
14543 rm -f conftest.err conftest.
$ac_objext \
14544 conftest
$ac_exeext conftest.
$ac_ext
14545 LIBS
=$ac_get_soname_save_LIBS
14547 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14548 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
14549 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14551 cat >>confdefs.h
<<_ACEOF
14552 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14557 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14558 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14559 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14560 echo $ECHO_N "(cached) $ECHO_C" >&6
14562 ac_get_soname_save_LIBS
=$LIBS
14563 LIBS
="-lfreetype $X_LIBS $LIBS"
14564 cat >conftest.
$ac_ext <<_ACEOF
14567 cat confdefs.h
>>conftest.
$ac_ext
14568 cat >>conftest.
$ac_ext <<_ACEOF
14569 /* end confdefs.h. */
14571 /* Override any gcc2 internal prototype to avoid an error. */
14575 /* We use char because int might match the return type of a gcc2
14576 builtin and then its argument prototype would still apply. */
14577 char FT_Init_FreeType ();
14581 FT_Init_FreeType ();
14586 rm -f conftest.
$ac_objext conftest
$ac_exeext
14587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14588 (eval $ac_link) 2>conftest.er1
14590 grep -v '^ *+' conftest.er1
>conftest.err
14592 cat conftest.err
>&5
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); } &&
14595 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14597 (eval $ac_try) 2>&5
14599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14600 (exit $ac_status); }; } &&
14601 { ac_try
='test -s conftest$ac_exeext'
14602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14603 (eval $ac_try) 2>&5
14605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606 (exit $ac_status); }; }; then
14607 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14608 if test "x$ac_cv_lib_soname_freetype" = "x"
14610 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
14613 echo "$as_me: failed program was:" >&5
14614 sed 's/^/| /' conftest.
$ac_ext >&5
14616 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
14618 rm -f conftest.err conftest.
$ac_objext \
14619 conftest
$ac_exeext conftest.
$ac_ext
14620 LIBS
=$ac_get_soname_save_LIBS
14622 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14623 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
14624 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14626 cat >>confdefs.h
<<_ACEOF
14627 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14632 echo "$as_me:$LINENO: checking for -lGL soname" >&5
14633 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
14634 if test "${ac_cv_lib_soname_GL+set}" = set; then
14635 echo $ECHO_N "(cached) $ECHO_C" >&6
14637 ac_get_soname_save_LIBS
=$LIBS
14638 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14639 cat >conftest.
$ac_ext <<_ACEOF
14642 cat confdefs.h
>>conftest.
$ac_ext
14643 cat >>conftest.
$ac_ext <<_ACEOF
14644 /* end confdefs.h. */
14646 /* Override any gcc2 internal prototype to avoid an error. */
14650 /* We use char because int might match the return type of a gcc2
14651 builtin and then its argument prototype would still apply. */
14652 char glXQueryExtension ();
14656 glXQueryExtension ();
14661 rm -f conftest.
$ac_objext conftest
$ac_exeext
14662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14663 (eval $ac_link) 2>conftest.er1
14665 grep -v '^ *+' conftest.er1
>conftest.err
14667 cat conftest.err
>&5
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); } &&
14670 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14672 (eval $ac_try) 2>&5
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 (exit $ac_status); }; } &&
14676 { ac_try
='test -s conftest$ac_exeext'
14677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14678 (eval $ac_try) 2>&5
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 (exit $ac_status); }; }; then
14682 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14683 if test "x$ac_cv_lib_soname_GL" = "x"
14685 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
14688 echo "$as_me: failed program was:" >&5
14689 sed 's/^/| /' conftest.
$ac_ext >&5
14691 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
14693 rm -f conftest.err conftest.
$ac_objext \
14694 conftest
$ac_exeext conftest.
$ac_ext
14695 LIBS
=$ac_get_soname_save_LIBS
14697 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14698 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
14699 if test "${ac_cv_lib_soname_GL+set}" = set; then
14701 cat >>confdefs.h
<<_ACEOF
14702 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14707 echo "$as_me:$LINENO: checking for -ldbus-1 soname" >&5
14708 echo $ECHO_N "checking for -ldbus-1 soname... $ECHO_C" >&6
14709 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
14710 echo $ECHO_N "(cached) $ECHO_C" >&6
14712 ac_get_soname_save_LIBS
=$LIBS
14713 LIBS
="-ldbus-1 $LIBS"
14714 cat >conftest.
$ac_ext <<_ACEOF
14717 cat confdefs.h
>>conftest.
$ac_ext
14718 cat >>conftest.
$ac_ext <<_ACEOF
14719 /* end confdefs.h. */
14721 /* Override any gcc2 internal prototype to avoid an error. */
14725 /* We use char because int might match the return type of a gcc2
14726 builtin and then its argument prototype would still apply. */
14727 char dbus_error_init ();
14731 dbus_error_init ();
14736 rm -f conftest.
$ac_objext conftest
$ac_exeext
14737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14738 (eval $ac_link) 2>conftest.er1
14740 grep -v '^ *+' conftest.er1
>conftest.err
14742 cat conftest.err
>&5
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); } &&
14745 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14747 (eval $ac_try) 2>&5
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); }; } &&
14751 { ac_try
='test -s conftest$ac_exeext'
14752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14753 (eval $ac_try) 2>&5
14755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756 (exit $ac_status); }; }; then
14757 ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest$ac_exeext | grep libdbus-1\\.$LIBEXT | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14758 if test "x$ac_cv_lib_soname_dbus_1" = "x"
14760 ac_cv_lib_soname_dbus_1
="libdbus-1.$LIBEXT"
14763 echo "$as_me: failed program was:" >&5
14764 sed 's/^/| /' conftest.
$ac_ext >&5
14766 ac_cv_lib_soname_dbus_1
="libdbus-1.$LIBEXT"
14768 rm -f conftest.err conftest.
$ac_objext \
14769 conftest
$ac_exeext conftest.
$ac_ext
14770 LIBS
=$ac_get_soname_save_LIBS
14772 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_dbus_1" >&5
14773 echo "${ECHO_T}$ac_cv_lib_soname_dbus_1" >&6
14774 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
14776 cat >>confdefs.h
<<_ACEOF
14777 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
14782 echo "$as_me:$LINENO: checking for -lhal soname" >&5
14783 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6
14784 if test "${ac_cv_lib_soname_hal+set}" = set; then
14785 echo $ECHO_N "(cached) $ECHO_C" >&6
14787 ac_get_soname_save_LIBS
=$LIBS
14789 cat >conftest.
$ac_ext <<_ACEOF
14792 cat confdefs.h
>>conftest.
$ac_ext
14793 cat >>conftest.
$ac_ext <<_ACEOF
14794 /* end confdefs.h. */
14796 /* Override any gcc2 internal prototype to avoid an error. */
14800 /* We use char because int might match the return type of a gcc2
14801 builtin and then its argument prototype would still apply. */
14802 char libhal_ctx_new ();
14811 rm -f conftest.
$ac_objext conftest
$ac_exeext
14812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14813 (eval $ac_link) 2>conftest.er1
14815 grep -v '^ *+' conftest.er1
>conftest.err
14817 cat conftest.err
>&5
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); } &&
14820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14822 (eval $ac_try) 2>&5
14824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825 (exit $ac_status); }; } &&
14826 { ac_try
='test -s conftest$ac_exeext'
14827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14828 (eval $ac_try) 2>&5
14830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14831 (exit $ac_status); }; }; then
14832 ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.$LIBEXT | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14833 if test "x$ac_cv_lib_soname_hal" = "x"
14835 ac_cv_lib_soname_hal
="libhal.$LIBEXT"
14838 echo "$as_me: failed program was:" >&5
14839 sed 's/^/| /' conftest.
$ac_ext >&5
14841 ac_cv_lib_soname_hal
="libhal.$LIBEXT"
14843 rm -f conftest.err conftest.
$ac_objext \
14844 conftest
$ac_exeext conftest.
$ac_ext
14845 LIBS
=$ac_get_soname_save_LIBS
14847 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
14848 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6
14849 if test "${ac_cv_lib_soname_hal+set}" = set; then
14851 cat >>confdefs.h
<<_ACEOF
14852 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
14857 echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14858 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6
14859 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14860 echo $ECHO_N "(cached) $ECHO_C" >&6
14862 ac_get_soname_save_LIBS
=$LIBS
14863 LIBS
="-ltxc_dxtn $LIBS"
14864 cat >conftest.
$ac_ext <<_ACEOF
14867 cat confdefs.h
>>conftest.
$ac_ext
14868 cat >>conftest.
$ac_ext <<_ACEOF
14869 /* end confdefs.h. */
14871 /* Override any gcc2 internal prototype to avoid an error. */
14875 /* We use char because int might match the return type of a gcc2
14876 builtin and then its argument prototype would still apply. */
14877 char fetch_2d_texel_rgba_dxt1 ();
14881 fetch_2d_texel_rgba_dxt1 ();
14886 rm -f conftest.
$ac_objext conftest
$ac_exeext
14887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14888 (eval $ac_link) 2>conftest.er1
14890 grep -v '^ *+' conftest.er1
>conftest.err
14892 cat conftest.err
>&5
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); } &&
14895 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14897 (eval $ac_try) 2>&5
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); }; } &&
14901 { ac_try
='test -s conftest$ac_exeext'
14902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14903 (eval $ac_try) 2>&5
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); }; }; then
14907 ac_cv_lib_soname_txc_dxtn
=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed -e "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14908 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
14910 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
14913 echo "$as_me: failed program was:" >&5
14914 sed 's/^/| /' conftest.
$ac_ext >&5
14916 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
14918 rm -f conftest.err conftest.
$ac_objext \
14919 conftest
$ac_exeext conftest.
$ac_ext
14920 LIBS
=$ac_get_soname_save_LIBS
14922 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
14923 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6
14924 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14926 cat >>confdefs.h
<<_ACEOF
14927 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
14932 echo "$as_me:$LINENO: checking for -lcups soname" >&5
14933 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
14934 if test "${ac_cv_lib_soname_cups+set}" = set; then
14935 echo $ECHO_N "(cached) $ECHO_C" >&6
14937 ac_get_soname_save_LIBS
=$LIBS
14938 LIBS
="-lcups $LIBS"
14939 cat >conftest.
$ac_ext <<_ACEOF
14942 cat confdefs.h
>>conftest.
$ac_ext
14943 cat >>conftest.
$ac_ext <<_ACEOF
14944 /* end confdefs.h. */
14946 /* Override any gcc2 internal prototype to avoid an error. */
14950 /* We use char because int might match the return type of a gcc2
14951 builtin and then its argument prototype would still apply. */
14952 char cupsGetDefault ();
14961 rm -f conftest.
$ac_objext conftest
$ac_exeext
14962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14963 (eval $ac_link) 2>conftest.er1
14965 grep -v '^ *+' conftest.er1
>conftest.err
14967 cat conftest.err
>&5
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); } &&
14970 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14972 (eval $ac_try) 2>&5
14974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14975 (exit $ac_status); }; } &&
14976 { ac_try
='test -s conftest$ac_exeext'
14977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14978 (eval $ac_try) 2>&5
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); }; }; then
14982 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14983 if test "x$ac_cv_lib_soname_cups" = "x"
14985 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
14988 echo "$as_me: failed program was:" >&5
14989 sed 's/^/| /' conftest.
$ac_ext >&5
14991 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
14993 rm -f conftest.err conftest.
$ac_objext \
14994 conftest
$ac_exeext conftest.
$ac_ext
14995 LIBS
=$ac_get_soname_save_LIBS
14997 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14998 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
14999 if test "${ac_cv_lib_soname_cups+set}" = set; then
15001 cat >>confdefs.h
<<_ACEOF
15002 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15007 echo "$as_me:$LINENO: checking for -ljack soname" >&5
15008 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
15009 if test "${ac_cv_lib_soname_jack+set}" = set; then
15010 echo $ECHO_N "(cached) $ECHO_C" >&6
15012 ac_get_soname_save_LIBS
=$LIBS
15013 LIBS
="-ljack $LIBS"
15014 cat >conftest.
$ac_ext <<_ACEOF
15017 cat confdefs.h
>>conftest.
$ac_ext
15018 cat >>conftest.
$ac_ext <<_ACEOF
15019 /* end confdefs.h. */
15021 /* Override any gcc2 internal prototype to avoid an error. */
15025 /* We use char because int might match the return type of a gcc2
15026 builtin and then its argument prototype would still apply. */
15027 char jack_client_new ();
15031 jack_client_new ();
15036 rm -f conftest.
$ac_objext conftest
$ac_exeext
15037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15038 (eval $ac_link) 2>conftest.er1
15040 grep -v '^ *+' conftest.er1
>conftest.err
15042 cat conftest.err
>&5
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); } &&
15045 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15047 (eval $ac_try) 2>&5
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); }; } &&
15051 { ac_try
='test -s conftest$ac_exeext'
15052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15053 (eval $ac_try) 2>&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); }; }; then
15057 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15058 if test "x$ac_cv_lib_soname_jack" = "x"
15060 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15063 echo "$as_me: failed program was:" >&5
15064 sed 's/^/| /' conftest.
$ac_ext >&5
15066 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15068 rm -f conftest.err conftest.
$ac_objext \
15069 conftest
$ac_exeext conftest.
$ac_ext
15070 LIBS
=$ac_get_soname_save_LIBS
15072 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15073 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15074 if test "${ac_cv_lib_soname_jack+set}" = set; then
15076 cat >>confdefs.h
<<_ACEOF
15077 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15082 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15083 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15084 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15085 echo $ECHO_N "(cached) $ECHO_C" >&6
15087 ac_get_soname_save_LIBS
=$LIBS
15088 LIBS
="-lfontconfig $LIBS"
15089 cat >conftest.
$ac_ext <<_ACEOF
15092 cat confdefs.h
>>conftest.
$ac_ext
15093 cat >>conftest.
$ac_ext <<_ACEOF
15094 /* end confdefs.h. */
15096 /* Override any gcc2 internal prototype to avoid an error. */
15100 /* We use char because int might match the return type of a gcc2
15101 builtin and then its argument prototype would still apply. */
15111 rm -f conftest.
$ac_objext conftest
$ac_exeext
15112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15113 (eval $ac_link) 2>conftest.er1
15115 grep -v '^ *+' conftest.er1
>conftest.err
15117 cat conftest.err
>&5
15118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15119 (exit $ac_status); } &&
15120 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15122 (eval $ac_try) 2>&5
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); }; } &&
15126 { ac_try
='test -s conftest$ac_exeext'
15127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15128 (eval $ac_try) 2>&5
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); }; }; then
15132 ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15133 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15135 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15138 echo "$as_me: failed program was:" >&5
15139 sed 's/^/| /' conftest.
$ac_ext >&5
15141 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15143 rm -f conftest.err conftest.
$ac_objext \
15144 conftest
$ac_exeext conftest.
$ac_ext
15145 LIBS
=$ac_get_soname_save_LIBS
15147 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15148 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15149 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15151 cat >>confdefs.h
<<_ACEOF
15152 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15157 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15158 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15159 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15160 echo $ECHO_N "(cached) $ECHO_C" >&6
15162 ac_get_soname_save_LIBS
=$LIBS
15164 cat >conftest.
$ac_ext <<_ACEOF
15167 cat confdefs.h
>>conftest.
$ac_ext
15168 cat >>conftest.
$ac_ext <<_ACEOF
15169 /* end confdefs.h. */
15171 /* Override any gcc2 internal prototype to avoid an error. */
15175 /* We use char because int might match the return type of a gcc2
15176 builtin and then its argument prototype would still apply. */
15177 char SSL_library_init ();
15181 SSL_library_init ();
15186 rm -f conftest.
$ac_objext conftest
$ac_exeext
15187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15188 (eval $ac_link) 2>conftest.er1
15190 grep -v '^ *+' conftest.er1
>conftest.err
15192 cat conftest.err
>&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); } &&
15195 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15197 (eval $ac_try) 2>&5
15199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15200 (exit $ac_status); }; } &&
15201 { ac_try
='test -s conftest$ac_exeext'
15202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15203 (eval $ac_try) 2>&5
15205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15206 (exit $ac_status); }; }; then
15207 ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15208 if test "x$ac_cv_lib_soname_ssl" = "x"
15210 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15213 echo "$as_me: failed program was:" >&5
15214 sed 's/^/| /' conftest.
$ac_ext >&5
15216 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15218 rm -f conftest.err conftest.
$ac_objext \
15219 conftest
$ac_exeext conftest.
$ac_ext
15220 LIBS
=$ac_get_soname_save_LIBS
15222 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15223 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15224 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15226 cat >>confdefs.h
<<_ACEOF
15227 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15232 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15233 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15234 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15235 echo $ECHO_N "(cached) $ECHO_C" >&6
15237 ac_get_soname_save_LIBS
=$LIBS
15238 LIBS
="-lcrypto $LIBS"
15239 cat >conftest.
$ac_ext <<_ACEOF
15242 cat confdefs.h
>>conftest.
$ac_ext
15243 cat >>conftest.
$ac_ext <<_ACEOF
15244 /* end confdefs.h. */
15246 /* Override any gcc2 internal prototype to avoid an error. */
15250 /* We use char because int might match the return type of a gcc2
15251 builtin and then its argument prototype would still apply. */
15252 char BIO_new_socket ();
15261 rm -f conftest.
$ac_objext conftest
$ac_exeext
15262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15263 (eval $ac_link) 2>conftest.er1
15265 grep -v '^ *+' conftest.er1
>conftest.err
15267 cat conftest.err
>&5
15268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15269 (exit $ac_status); } &&
15270 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15272 (eval $ac_try) 2>&5
15274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15275 (exit $ac_status); }; } &&
15276 { ac_try
='test -s conftest$ac_exeext'
15277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15278 (eval $ac_try) 2>&5
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); }; }; then
15282 ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15283 if test "x$ac_cv_lib_soname_crypto" = "x"
15285 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15288 echo "$as_me: failed program was:" >&5
15289 sed 's/^/| /' conftest.
$ac_ext >&5
15291 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15293 rm -f conftest.err conftest.
$ac_objext \
15294 conftest
$ac_exeext conftest.
$ac_ext
15295 LIBS
=$ac_get_soname_save_LIBS
15297 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15298 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15299 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15301 cat >>confdefs.h
<<_ACEOF
15302 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15307 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15308 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15309 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15310 echo $ECHO_N "(cached) $ECHO_C" >&6
15312 ac_get_soname_save_LIBS
=$LIBS
15313 LIBS
="-lncurses $LIBS"
15314 cat >conftest.
$ac_ext <<_ACEOF
15317 cat confdefs.h
>>conftest.
$ac_ext
15318 cat >>conftest.
$ac_ext <<_ACEOF
15319 /* end confdefs.h. */
15321 /* Override any gcc2 internal prototype to avoid an error. */
15325 /* We use char because int might match the return type of a gcc2
15326 builtin and then its argument prototype would still apply. */
15336 rm -f conftest.
$ac_objext conftest
$ac_exeext
15337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15338 (eval $ac_link) 2>conftest.er1
15340 grep -v '^ *+' conftest.er1
>conftest.err
15342 cat conftest.err
>&5
15343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344 (exit $ac_status); } &&
15345 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15347 (eval $ac_try) 2>&5
15349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15350 (exit $ac_status); }; } &&
15351 { ac_try
='test -s conftest$ac_exeext'
15352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15353 (eval $ac_try) 2>&5
15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356 (exit $ac_status); }; }; then
15357 ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15358 if test "x$ac_cv_lib_soname_ncurses" = "x"
15360 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15363 echo "$as_me: failed program was:" >&5
15364 sed 's/^/| /' conftest.
$ac_ext >&5
15366 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15368 rm -f conftest.err conftest.
$ac_objext \
15369 conftest
$ac_exeext conftest.
$ac_ext
15370 LIBS
=$ac_get_soname_save_LIBS
15372 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15373 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15374 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15376 cat >>confdefs.h
<<_ACEOF
15377 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15382 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15383 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15384 if test "${ac_cv_lib_soname_curses+set}" = set; then
15385 echo $ECHO_N "(cached) $ECHO_C" >&6
15387 ac_get_soname_save_LIBS
=$LIBS
15388 LIBS
="-lcurses $LIBS"
15389 cat >conftest.
$ac_ext <<_ACEOF
15392 cat confdefs.h
>>conftest.
$ac_ext
15393 cat >>conftest.
$ac_ext <<_ACEOF
15394 /* end confdefs.h. */
15396 /* Override any gcc2 internal prototype to avoid an error. */
15400 /* We use char because int might match the return type of a gcc2
15401 builtin and then its argument prototype would still apply. */
15411 rm -f conftest.
$ac_objext conftest
$ac_exeext
15412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15413 (eval $ac_link) 2>conftest.er1
15415 grep -v '^ *+' conftest.er1
>conftest.err
15417 cat conftest.err
>&5
15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15419 (exit $ac_status); } &&
15420 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15422 (eval $ac_try) 2>&5
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); }; } &&
15426 { ac_try
='test -s conftest$ac_exeext'
15427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15428 (eval $ac_try) 2>&5
15430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 (exit $ac_status); }; }; then
15432 ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15433 if test "x$ac_cv_lib_soname_curses" = "x"
15435 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15438 echo "$as_me: failed program was:" >&5
15439 sed 's/^/| /' conftest.
$ac_ext >&5
15441 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15443 rm -f conftest.err conftest.
$ac_objext \
15444 conftest
$ac_exeext conftest.
$ac_ext
15445 LIBS
=$ac_get_soname_save_LIBS
15447 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15448 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15449 if test "${ac_cv_lib_soname_curses+set}" = set; then
15451 cat >>confdefs.h
<<_ACEOF
15452 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15457 echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15458 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6
15459 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15460 echo $ECHO_N "(cached) $ECHO_C" >&6
15462 ac_get_soname_save_LIBS
=$LIBS
15463 LIBS
="-ljpeg $LIBS"
15464 cat >conftest.
$ac_ext <<_ACEOF
15467 cat confdefs.h
>>conftest.
$ac_ext
15468 cat >>conftest.
$ac_ext <<_ACEOF
15469 /* end confdefs.h. */
15471 /* Override any gcc2 internal prototype to avoid an error. */
15475 /* We use char because int might match the return type of a gcc2
15476 builtin and then its argument prototype would still apply. */
15477 char jpeg_start_decompress ();
15481 jpeg_start_decompress ();
15486 rm -f conftest.
$ac_objext conftest
$ac_exeext
15487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15488 (eval $ac_link) 2>conftest.er1
15490 grep -v '^ *+' conftest.er1
>conftest.err
15492 cat conftest.err
>&5
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); } &&
15495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15497 (eval $ac_try) 2>&5
15499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15500 (exit $ac_status); }; } &&
15501 { ac_try
='test -s conftest$ac_exeext'
15502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15503 (eval $ac_try) 2>&5
15505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15506 (exit $ac_status); }; }; then
15507 ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15508 if test "x$ac_cv_lib_soname_jpeg" = "x"
15510 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15513 echo "$as_me: failed program was:" >&5
15514 sed 's/^/| /' conftest.
$ac_ext >&5
15516 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15518 rm -f conftest.err conftest.
$ac_objext \
15519 conftest
$ac_exeext conftest.
$ac_ext
15520 LIBS
=$ac_get_soname_save_LIBS
15522 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15523 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6
15524 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15526 cat >>confdefs.h
<<_ACEOF
15527 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15532 echo "$as_me:$LINENO: checking for -lungif soname" >&5
15533 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6
15534 if test "${ac_cv_lib_soname_ungif+set}" = set; then
15535 echo $ECHO_N "(cached) $ECHO_C" >&6
15537 ac_get_soname_save_LIBS
=$LIBS
15538 LIBS
="-lungif $LIBS"
15539 cat >conftest.
$ac_ext <<_ACEOF
15542 cat confdefs.h
>>conftest.
$ac_ext
15543 cat >>conftest.
$ac_ext <<_ACEOF
15544 /* end confdefs.h. */
15546 /* Override any gcc2 internal prototype to avoid an error. */
15550 /* We use char because int might match the return type of a gcc2
15551 builtin and then its argument prototype would still apply. */
15561 rm -f conftest.
$ac_objext conftest
$ac_exeext
15562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15563 (eval $ac_link) 2>conftest.er1
15565 grep -v '^ *+' conftest.er1
>conftest.err
15567 cat conftest.err
>&5
15568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15569 (exit $ac_status); } &&
15570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15572 (eval $ac_try) 2>&5
15574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15575 (exit $ac_status); }; } &&
15576 { ac_try
='test -s conftest$ac_exeext'
15577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15578 (eval $ac_try) 2>&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); }; }; then
15582 ac_cv_lib_soname_ungif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed -e "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15583 if test "x$ac_cv_lib_soname_ungif" = "x"
15585 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
15588 echo "$as_me: failed program was:" >&5
15589 sed 's/^/| /' conftest.
$ac_ext >&5
15591 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
15593 rm -f conftest.err conftest.
$ac_objext \
15594 conftest
$ac_exeext conftest.
$ac_ext
15595 LIBS
=$ac_get_soname_save_LIBS
15597 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
15598 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6
15599 if test "${ac_cv_lib_soname_ungif+set}" = set; then
15601 cat >>confdefs.h
<<_ACEOF
15602 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
15607 echo "$as_me:$LINENO: checking for -lgif soname" >&5
15608 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6
15609 if test "${ac_cv_lib_soname_gif+set}" = set; then
15610 echo $ECHO_N "(cached) $ECHO_C" >&6
15612 ac_get_soname_save_LIBS
=$LIBS
15614 cat >conftest.
$ac_ext <<_ACEOF
15617 cat confdefs.h
>>conftest.
$ac_ext
15618 cat >>conftest.
$ac_ext <<_ACEOF
15619 /* end confdefs.h. */
15621 /* Override any gcc2 internal prototype to avoid an error. */
15625 /* We use char because int might match the return type of a gcc2
15626 builtin and then its argument prototype would still apply. */
15636 rm -f conftest.
$ac_objext conftest
$ac_exeext
15637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15638 (eval $ac_link) 2>conftest.er1
15640 grep -v '^ *+' conftest.er1
>conftest.err
15642 cat conftest.err
>&5
15643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15644 (exit $ac_status); } &&
15645 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15647 (eval $ac_try) 2>&5
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); }; } &&
15651 { ac_try
='test -s conftest$ac_exeext'
15652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15653 (eval $ac_try) 2>&5
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); }; }; then
15657 ac_cv_lib_soname_gif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed -e "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15658 if test "x$ac_cv_lib_soname_gif" = "x"
15660 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
15663 echo "$as_me: failed program was:" >&5
15664 sed 's/^/| /' conftest.
$ac_ext >&5
15666 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
15668 rm -f conftest.err conftest.
$ac_objext \
15669 conftest
$ac_exeext conftest.
$ac_ext
15670 LIBS
=$ac_get_soname_save_LIBS
15672 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
15673 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6
15674 if test "${ac_cv_lib_soname_gif+set}" = set; then
15676 cat >>confdefs.h
<<_ACEOF
15677 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
15682 echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15683 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6
15684 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15685 echo $ECHO_N "(cached) $ECHO_C" >&6
15687 ac_get_soname_save_LIBS
=$LIBS
15688 LIBS
="-lcapi20 $LIBS"
15689 cat >conftest.
$ac_ext <<_ACEOF
15692 cat confdefs.h
>>conftest.
$ac_ext
15693 cat >>conftest.
$ac_ext <<_ACEOF
15694 /* end confdefs.h. */
15696 /* Override any gcc2 internal prototype to avoid an error. */
15700 /* We use char because int might match the return type of a gcc2
15701 builtin and then its argument prototype would still apply. */
15702 char capi20_isinstalled ();
15706 capi20_isinstalled ();
15711 rm -f conftest.
$ac_objext conftest
$ac_exeext
15712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15713 (eval $ac_link) 2>conftest.er1
15715 grep -v '^ *+' conftest.er1
>conftest.err
15717 cat conftest.err
>&5
15718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15719 (exit $ac_status); } &&
15720 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15722 (eval $ac_try) 2>&5
15724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15725 (exit $ac_status); }; } &&
15726 { ac_try
='test -s conftest$ac_exeext'
15727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15728 (eval $ac_try) 2>&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); }; }; then
15732 ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.$LIBEXT | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15733 if test "x$ac_cv_lib_soname_capi20" = "x"
15735 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
15738 echo "$as_me: failed program was:" >&5
15739 sed 's/^/| /' conftest.
$ac_ext >&5
15741 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
15743 rm -f conftest.err conftest.
$ac_objext \
15744 conftest
$ac_exeext conftest.
$ac_ext
15745 LIBS
=$ac_get_soname_save_LIBS
15747 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15748 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6
15749 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15751 cat >>confdefs.h
<<_ACEOF
15752 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15892 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15893 echo "$as_me:$LINENO: checking for $ac_func" >&5
15894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15895 if eval "test \"\${$as_ac_var+set}\" = set"; then
15896 echo $ECHO_N "(cached) $ECHO_C" >&6
15898 cat >conftest.
$ac_ext <<_ACEOF
15901 cat confdefs.h
>>conftest.
$ac_ext
15902 cat >>conftest.
$ac_ext <<_ACEOF
15903 /* end confdefs.h. */
15904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15906 #define $ac_func innocuous_$ac_func
15908 /* System header to define __stub macros and hopefully few prototypes,
15909 which can conflict with char $ac_func (); below.
15910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15911 <limits.h> exists even on freestanding compilers. */
15914 # include <limits.h>
15916 # include <assert.h>
15921 /* Override any gcc2 internal prototype to avoid an error. */
15926 /* We use char because int might match the return type of a gcc2
15927 builtin and then its argument prototype would still apply. */
15929 /* The GNU C library defines this for functions which it implements
15930 to always fail with ENOSYS. Some functions are actually named
15931 something starting with __ and the normal name is an alias. */
15932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15935 char (*f) () = $ac_func;
15944 return f != $ac_func;
15949 rm -f conftest.
$ac_objext conftest
$ac_exeext
15950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15951 (eval $ac_link) 2>conftest.er1
15953 grep -v '^ *+' conftest.er1
>conftest.err
15955 cat conftest.err
>&5
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); } &&
15958 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15960 (eval $ac_try) 2>&5
15962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15963 (exit $ac_status); }; } &&
15964 { ac_try
='test -s conftest$ac_exeext'
15965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15966 (eval $ac_try) 2>&5
15968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15969 (exit $ac_status); }; }; then
15970 eval "$as_ac_var=yes"
15972 echo "$as_me: failed program was:" >&5
15973 sed 's/^/| /' conftest.
$ac_ext >&5
15975 eval "$as_ac_var=no"
15977 rm -f conftest.err conftest.
$ac_objext \
15978 conftest
$ac_exeext conftest.
$ac_ext
15980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15982 if test `eval echo '${'$as_ac_var'}'` = yes; then
15983 cat >>confdefs.h
<<_ACEOF
15984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15993 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15994 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15995 if test "${ac_cv_c_const+set}" = set; then
15996 echo $ECHO_N "(cached) $ECHO_C" >&6
15998 cat >conftest.
$ac_ext <<_ACEOF
16001 cat confdefs.h
>>conftest.
$ac_ext
16002 cat >>conftest.
$ac_ext <<_ACEOF
16003 /* end confdefs.h. */
16008 /* FIXME: Include the comments suggested by Paul. */
16009 #ifndef __cplusplus
16010 /* Ultrix mips cc rejects this. */
16011 typedef int charset[2];
16013 /* SunOS 4.1.1 cc rejects this. */
16014 char const *const *ccp;
16016 /* NEC SVR4.0.2 mips cc rejects this. */
16017 struct point {int x, y;};
16018 static struct point const zero = {0,0};
16019 /* AIX XL C 1.02.0.0 rejects this.
16020 It does not let you subtract one const X* pointer from another in
16021 an arm of an if-expression whose if-part is not a constant
16023 const char *g = "string";
16024 ccp = &g + (g ? g-g : 0);
16025 /* HPUX 7.0 cc rejects these. */
16028 ccp = (char const *const *) p;
16029 { /* SCO 3.2v4 cc rejects this. */
16031 char const *s = 0 ? (char *) 0 : (char const *) 0;
16035 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16036 int x[] = {25, 17};
16037 const int *foo = &x[0];
16040 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16041 typedef const int *iptr;
16045 { /* AIX XL C 1.02.0.0 rejects this saying
16046 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16047 struct s { int j; const int *ap[3]; };
16048 struct s *b; b->j = 5;
16050 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16051 const int foo = 10;
16059 rm -f conftest.
$ac_objext
16060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16061 (eval $ac_compile) 2>conftest.er1
16063 grep -v '^ *+' conftest.er1
>conftest.err
16065 cat conftest.err
>&5
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); } &&
16068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16070 (eval $ac_try) 2>&5
16072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16073 (exit $ac_status); }; } &&
16074 { ac_try
='test -s conftest.$ac_objext'
16075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16076 (eval $ac_try) 2>&5
16078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079 (exit $ac_status); }; }; then
16082 echo "$as_me: failed program was:" >&5
16083 sed 's/^/| /' conftest.
$ac_ext >&5
16087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16089 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16090 echo "${ECHO_T}$ac_cv_c_const" >&6
16091 if test $ac_cv_c_const = no
; then
16093 cat >>confdefs.h
<<\_ACEOF
16099 echo "$as_me:$LINENO: checking for inline" >&5
16100 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16101 if test "${ac_cv_c_inline+set}" = set; then
16102 echo $ECHO_N "(cached) $ECHO_C" >&6
16105 for ac_kw
in inline __inline__ __inline
; do
16106 cat >conftest.
$ac_ext <<_ACEOF
16109 cat confdefs.h
>>conftest.
$ac_ext
16110 cat >>conftest.
$ac_ext <<_ACEOF
16111 /* end confdefs.h. */
16112 #ifndef __cplusplus
16114 static $ac_kw foo_t static_foo () {return 0; }
16115 $ac_kw foo_t foo () {return 0; }
16119 rm -f conftest.
$ac_objext
16120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16121 (eval $ac_compile) 2>conftest.er1
16123 grep -v '^ *+' conftest.er1
>conftest.err
16125 cat conftest.err
>&5
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); } &&
16128 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16130 (eval $ac_try) 2>&5
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); }; } &&
16134 { ac_try
='test -s conftest.$ac_objext'
16135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16136 (eval $ac_try) 2>&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); }; }; then
16140 ac_cv_c_inline
=$ac_kw; break
16142 echo "$as_me: failed program was:" >&5
16143 sed 's/^/| /' conftest.
$ac_ext >&5
16146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16150 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16151 echo "${ECHO_T}$ac_cv_c_inline" >&6
16154 case $ac_cv_c_inline in
16157 case $ac_cv_c_inline in
16159 *) ac_val
=$ac_cv_c_inline;;
16161 cat >>confdefs.h
<<_ACEOF
16162 #ifndef __cplusplus
16163 #define inline $ac_val
16169 echo "$as_me:$LINENO: checking for mode_t" >&5
16170 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
16171 if test "${ac_cv_type_mode_t+set}" = set; then
16172 echo $ECHO_N "(cached) $ECHO_C" >&6
16174 cat >conftest.
$ac_ext <<_ACEOF
16177 cat confdefs.h
>>conftest.
$ac_ext
16178 cat >>conftest.
$ac_ext <<_ACEOF
16179 /* end confdefs.h. */
16180 $ac_includes_default
16186 if (sizeof (mode_t))
16192 rm -f conftest.
$ac_objext
16193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16194 (eval $ac_compile) 2>conftest.er1
16196 grep -v '^ *+' conftest.er1
>conftest.err
16198 cat conftest.err
>&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); } &&
16201 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16203 (eval $ac_try) 2>&5
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); }; } &&
16207 { ac_try
='test -s conftest.$ac_objext'
16208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16209 (eval $ac_try) 2>&5
16211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212 (exit $ac_status); }; }; then
16213 ac_cv_type_mode_t
=yes
16215 echo "$as_me: failed program was:" >&5
16216 sed 's/^/| /' conftest.
$ac_ext >&5
16218 ac_cv_type_mode_t
=no
16220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16222 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16223 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
16224 if test $ac_cv_type_mode_t = yes; then
16226 cat >>confdefs.h
<<_ACEOF
16227 #define HAVE_MODE_T 1
16232 echo "$as_me:$LINENO: checking for off_t" >&5
16233 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
16234 if test "${ac_cv_type_off_t+set}" = set; then
16235 echo $ECHO_N "(cached) $ECHO_C" >&6
16237 cat >conftest.
$ac_ext <<_ACEOF
16240 cat confdefs.h
>>conftest.
$ac_ext
16241 cat >>conftest.
$ac_ext <<_ACEOF
16242 /* end confdefs.h. */
16243 $ac_includes_default
16249 if (sizeof (off_t))
16255 rm -f conftest.
$ac_objext
16256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16257 (eval $ac_compile) 2>conftest.er1
16259 grep -v '^ *+' conftest.er1
>conftest.err
16261 cat conftest.err
>&5
16262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263 (exit $ac_status); } &&
16264 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16266 (eval $ac_try) 2>&5
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); }; } &&
16270 { ac_try
='test -s conftest.$ac_objext'
16271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16272 (eval $ac_try) 2>&5
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); }; }; then
16276 ac_cv_type_off_t
=yes
16278 echo "$as_me: failed program was:" >&5
16279 sed 's/^/| /' conftest.
$ac_ext >&5
16281 ac_cv_type_off_t
=no
16283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16285 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16286 echo "${ECHO_T}$ac_cv_type_off_t" >&6
16287 if test $ac_cv_type_off_t = yes; then
16289 cat >>confdefs.h
<<_ACEOF
16290 #define HAVE_OFF_T 1
16295 echo "$as_me:$LINENO: checking for pid_t" >&5
16296 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
16297 if test "${ac_cv_type_pid_t+set}" = set; then
16298 echo $ECHO_N "(cached) $ECHO_C" >&6
16300 cat >conftest.
$ac_ext <<_ACEOF
16303 cat confdefs.h
>>conftest.
$ac_ext
16304 cat >>conftest.
$ac_ext <<_ACEOF
16305 /* end confdefs.h. */
16306 $ac_includes_default
16312 if (sizeof (pid_t))
16318 rm -f conftest.
$ac_objext
16319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16320 (eval $ac_compile) 2>conftest.er1
16322 grep -v '^ *+' conftest.er1
>conftest.err
16324 cat conftest.err
>&5
16325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326 (exit $ac_status); } &&
16327 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16329 (eval $ac_try) 2>&5
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); }; } &&
16333 { ac_try
='test -s conftest.$ac_objext'
16334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16335 (eval $ac_try) 2>&5
16337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 (exit $ac_status); }; }; then
16339 ac_cv_type_pid_t
=yes
16341 echo "$as_me: failed program was:" >&5
16342 sed 's/^/| /' conftest.
$ac_ext >&5
16344 ac_cv_type_pid_t
=no
16346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16348 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16349 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
16350 if test $ac_cv_type_pid_t = yes; then
16352 cat >>confdefs.h
<<_ACEOF
16353 #define HAVE_PID_T 1
16358 echo "$as_me:$LINENO: checking for size_t" >&5
16359 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16360 if test "${ac_cv_type_size_t+set}" = set; then
16361 echo $ECHO_N "(cached) $ECHO_C" >&6
16363 cat >conftest.
$ac_ext <<_ACEOF
16366 cat confdefs.h
>>conftest.
$ac_ext
16367 cat >>conftest.
$ac_ext <<_ACEOF
16368 /* end confdefs.h. */
16369 $ac_includes_default
16375 if (sizeof (size_t))
16381 rm -f conftest.
$ac_objext
16382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16383 (eval $ac_compile) 2>conftest.er1
16385 grep -v '^ *+' conftest.er1
>conftest.err
16387 cat conftest.err
>&5
16388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16389 (exit $ac_status); } &&
16390 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16392 (eval $ac_try) 2>&5
16394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16395 (exit $ac_status); }; } &&
16396 { ac_try
='test -s conftest.$ac_objext'
16397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16398 (eval $ac_try) 2>&5
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); }; }; then
16402 ac_cv_type_size_t
=yes
16404 echo "$as_me: failed program was:" >&5
16405 sed 's/^/| /' conftest.
$ac_ext >&5
16407 ac_cv_type_size_t
=no
16409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16411 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16412 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16413 if test $ac_cv_type_size_t = yes; then
16415 cat >>confdefs.h
<<_ACEOF
16416 #define HAVE_SIZE_T 1
16421 echo "$as_me:$LINENO: checking for ssize_t" >&5
16422 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
16423 if test "${ac_cv_type_ssize_t+set}" = set; then
16424 echo $ECHO_N "(cached) $ECHO_C" >&6
16426 cat >conftest.
$ac_ext <<_ACEOF
16429 cat confdefs.h
>>conftest.
$ac_ext
16430 cat >>conftest.
$ac_ext <<_ACEOF
16431 /* end confdefs.h. */
16432 $ac_includes_default
16438 if (sizeof (ssize_t))
16444 rm -f conftest.
$ac_objext
16445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16446 (eval $ac_compile) 2>conftest.er1
16448 grep -v '^ *+' conftest.er1
>conftest.err
16450 cat conftest.err
>&5
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); } &&
16453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16455 (eval $ac_try) 2>&5
16457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458 (exit $ac_status); }; } &&
16459 { ac_try
='test -s conftest.$ac_objext'
16460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16461 (eval $ac_try) 2>&5
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); }; }; then
16465 ac_cv_type_ssize_t
=yes
16467 echo "$as_me: failed program was:" >&5
16468 sed 's/^/| /' conftest.
$ac_ext >&5
16470 ac_cv_type_ssize_t
=no
16472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16474 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16475 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
16476 if test $ac_cv_type_ssize_t = yes; then
16478 cat >>confdefs.h
<<_ACEOF
16479 #define HAVE_SSIZE_T 1
16484 echo "$as_me:$LINENO: checking for long long" >&5
16485 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16486 if test "${ac_cv_type_long_long+set}" = set; then
16487 echo $ECHO_N "(cached) $ECHO_C" >&6
16489 cat >conftest.
$ac_ext <<_ACEOF
16492 cat confdefs.h
>>conftest.
$ac_ext
16493 cat >>conftest.
$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16495 $ac_includes_default
16499 if ((long long *) 0)
16501 if (sizeof (long long))
16507 rm -f conftest.
$ac_objext
16508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16509 (eval $ac_compile) 2>conftest.er1
16511 grep -v '^ *+' conftest.er1
>conftest.err
16513 cat conftest.err
>&5
16514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515 (exit $ac_status); } &&
16516 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16518 (eval $ac_try) 2>&5
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); }; } &&
16522 { ac_try
='test -s conftest.$ac_objext'
16523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16524 (eval $ac_try) 2>&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); }; }; then
16528 ac_cv_type_long_long
=yes
16530 echo "$as_me: failed program was:" >&5
16531 sed 's/^/| /' conftest.
$ac_ext >&5
16533 ac_cv_type_long_long
=no
16535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16537 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16538 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16539 if test $ac_cv_type_long_long = yes; then
16541 cat >>confdefs.h
<<_ACEOF
16542 #define HAVE_LONG_LONG 1
16547 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
16548 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
16549 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
16550 echo $ECHO_N "(cached) $ECHO_C" >&6
16552 cat >conftest.
$ac_ext <<_ACEOF
16555 cat confdefs.h
>>conftest.
$ac_ext
16556 cat >>conftest.
$ac_ext <<_ACEOF
16557 /* end confdefs.h. */
16558 $ac_includes_default
16562 if ((fsblkcnt_t *) 0)
16564 if (sizeof (fsblkcnt_t))
16570 rm -f conftest.
$ac_objext
16571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16572 (eval $ac_compile) 2>conftest.er1
16574 grep -v '^ *+' conftest.er1
>conftest.err
16576 cat conftest.err
>&5
16577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16578 (exit $ac_status); } &&
16579 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16581 (eval $ac_try) 2>&5
16583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16584 (exit $ac_status); }; } &&
16585 { ac_try
='test -s conftest.$ac_objext'
16586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16587 (eval $ac_try) 2>&5
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); }; }; then
16591 ac_cv_type_fsblkcnt_t
=yes
16593 echo "$as_me: failed program was:" >&5
16594 sed 's/^/| /' conftest.
$ac_ext >&5
16596 ac_cv_type_fsblkcnt_t
=no
16598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16600 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
16601 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
16602 if test $ac_cv_type_fsblkcnt_t = yes; then
16604 cat >>confdefs.h
<<_ACEOF
16605 #define HAVE_FSBLKCNT_T 1
16610 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
16611 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
16612 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
16613 echo $ECHO_N "(cached) $ECHO_C" >&6
16615 cat >conftest.
$ac_ext <<_ACEOF
16618 cat confdefs.h
>>conftest.
$ac_ext
16619 cat >>conftest.
$ac_ext <<_ACEOF
16620 /* end confdefs.h. */
16621 $ac_includes_default
16625 if ((fsfilcnt_t *) 0)
16627 if (sizeof (fsfilcnt_t))
16633 rm -f conftest.
$ac_objext
16634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16635 (eval $ac_compile) 2>conftest.er1
16637 grep -v '^ *+' conftest.er1
>conftest.err
16639 cat conftest.err
>&5
16640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16641 (exit $ac_status); } &&
16642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16644 (eval $ac_try) 2>&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); }; } &&
16648 { ac_try
='test -s conftest.$ac_objext'
16649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16650 (eval $ac_try) 2>&5
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); }; }; then
16654 ac_cv_type_fsfilcnt_t
=yes
16656 echo "$as_me: failed program was:" >&5
16657 sed 's/^/| /' conftest.
$ac_ext >&5
16659 ac_cv_type_fsfilcnt_t
=no
16661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16663 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
16664 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
16665 if test $ac_cv_type_fsfilcnt_t = yes; then
16667 cat >>confdefs.h
<<_ACEOF
16668 #define HAVE_FSFILCNT_T 1
16674 echo "$as_me:$LINENO: checking for sigset_t" >&5
16675 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6
16676 if test "${ac_cv_type_sigset_t+set}" = set; then
16677 echo $ECHO_N "(cached) $ECHO_C" >&6
16679 cat >conftest.
$ac_ext <<_ACEOF
16682 cat confdefs.h
>>conftest.
$ac_ext
16683 cat >>conftest.
$ac_ext <<_ACEOF
16684 /* end confdefs.h. */
16685 #include <signal.h>
16690 if ((sigset_t *) 0)
16692 if (sizeof (sigset_t))
16698 rm -f conftest.
$ac_objext
16699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16700 (eval $ac_compile) 2>conftest.er1
16702 grep -v '^ *+' conftest.er1
>conftest.err
16704 cat conftest.err
>&5
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 (exit $ac_status); } &&
16707 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16709 (eval $ac_try) 2>&5
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); }; } &&
16713 { ac_try
='test -s conftest.$ac_objext'
16714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16715 (eval $ac_try) 2>&5
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); }; }; then
16719 ac_cv_type_sigset_t
=yes
16721 echo "$as_me: failed program was:" >&5
16722 sed 's/^/| /' conftest.
$ac_ext >&5
16724 ac_cv_type_sigset_t
=no
16726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16728 echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
16729 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6
16730 if test $ac_cv_type_sigset_t = yes; then
16732 cat >>confdefs.h
<<_ACEOF
16733 #define HAVE_SIGSET_T 1
16739 echo "$as_me:$LINENO: checking for request_sense" >&5
16740 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6
16741 if test "${ac_cv_type_request_sense+set}" = set; then
16742 echo $ECHO_N "(cached) $ECHO_C" >&6
16744 cat >conftest.
$ac_ext <<_ACEOF
16747 cat confdefs.h
>>conftest.
$ac_ext
16748 cat >>conftest.
$ac_ext <<_ACEOF
16749 /* end confdefs.h. */
16750 #include <linux/cdrom.h>
16755 if ((request_sense *) 0)
16757 if (sizeof (request_sense))
16763 rm -f conftest.
$ac_objext
16764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16765 (eval $ac_compile) 2>conftest.er1
16767 grep -v '^ *+' conftest.er1
>conftest.err
16769 cat conftest.err
>&5
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); } &&
16772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16774 (eval $ac_try) 2>&5
16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16777 (exit $ac_status); }; } &&
16778 { ac_try
='test -s conftest.$ac_objext'
16779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16780 (eval $ac_try) 2>&5
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); }; }; then
16784 ac_cv_type_request_sense
=yes
16786 echo "$as_me: failed program was:" >&5
16787 sed 's/^/| /' conftest.
$ac_ext >&5
16789 ac_cv_type_request_sense
=no
16791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16793 echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
16794 echo "${ECHO_T}$ac_cv_type_request_sense" >&6
16795 if test $ac_cv_type_request_sense = yes; then
16797 cat >>confdefs.h
<<_ACEOF
16798 #define HAVE_REQUEST_SENSE 1
16805 echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
16806 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6
16807 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
16808 echo $ECHO_N "(cached) $ECHO_C" >&6
16810 cat >conftest.
$ac_ext <<_ACEOF
16813 cat confdefs.h
>>conftest.
$ac_ext
16814 cat >>conftest.
$ac_ext <<_ACEOF
16815 /* end confdefs.h. */
16816 #ifdef HAVE_LINUX_INPUT_H
16817 #include <linux/input.h>
16823 static struct ff_effect ac_aggr;
16824 if (ac_aggr.direction)
16830 rm -f conftest.
$ac_objext
16831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16832 (eval $ac_compile) 2>conftest.er1
16834 grep -v '^ *+' conftest.er1
>conftest.err
16836 cat conftest.err
>&5
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); } &&
16839 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16841 (eval $ac_try) 2>&5
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); }; } &&
16845 { ac_try
='test -s conftest.$ac_objext'
16846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16847 (eval $ac_try) 2>&5
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); }; }; then
16851 ac_cv_member_struct_ff_effect_direction
=yes
16853 echo "$as_me: failed program was:" >&5
16854 sed 's/^/| /' conftest.
$ac_ext >&5
16856 cat >conftest.
$ac_ext <<_ACEOF
16859 cat confdefs.h
>>conftest.
$ac_ext
16860 cat >>conftest.
$ac_ext <<_ACEOF
16861 /* end confdefs.h. */
16862 #ifdef HAVE_LINUX_INPUT_H
16863 #include <linux/input.h>
16869 static struct ff_effect ac_aggr;
16870 if (sizeof ac_aggr.direction)
16876 rm -f conftest.
$ac_objext
16877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16878 (eval $ac_compile) 2>conftest.er1
16880 grep -v '^ *+' conftest.er1
>conftest.err
16882 cat conftest.err
>&5
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); } &&
16885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16887 (eval $ac_try) 2>&5
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); }; } &&
16891 { ac_try
='test -s conftest.$ac_objext'
16892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16893 (eval $ac_try) 2>&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); }; }; then
16897 ac_cv_member_struct_ff_effect_direction
=yes
16899 echo "$as_me: failed program was:" >&5
16900 sed 's/^/| /' conftest.
$ac_ext >&5
16902 ac_cv_member_struct_ff_effect_direction
=no
16904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16908 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
16909 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6
16910 if test $ac_cv_member_struct_ff_effect_direction = yes; then
16912 cat >>confdefs.h
<<_ACEOF
16913 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16920 echo "$as_me:$LINENO: checking for sigaddset" >&5
16921 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6
16922 if test "${wine_cv_have_sigaddset+set}" = set; then
16923 echo $ECHO_N "(cached) $ECHO_C" >&6
16925 cat >conftest.
$ac_ext <<_ACEOF
16928 cat confdefs.h
>>conftest.
$ac_ext
16929 cat >>conftest.
$ac_ext <<_ACEOF
16930 /* end confdefs.h. */
16931 #include <signal.h>
16935 sigset_t set; sigaddset(&set,SIGTERM);
16940 rm -f conftest.
$ac_objext conftest
$ac_exeext
16941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16942 (eval $ac_link) 2>conftest.er1
16944 grep -v '^ *+' conftest.er1
>conftest.err
16946 cat conftest.err
>&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); } &&
16949 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16951 (eval $ac_try) 2>&5
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); }; } &&
16955 { ac_try
='test -s conftest$ac_exeext'
16956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16957 (eval $ac_try) 2>&5
16959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16960 (exit $ac_status); }; }; then
16961 wine_cv_have_sigaddset
=yes
16963 echo "$as_me: failed program was:" >&5
16964 sed 's/^/| /' conftest.
$ac_ext >&5
16966 wine_cv_have_sigaddset
=no
16968 rm -f conftest.err conftest.
$ac_objext \
16969 conftest
$ac_exeext conftest.
$ac_ext
16971 echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
16972 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6
16973 if test "$wine_cv_have_sigaddset" = "yes"
16976 cat >>confdefs.h
<<\_ACEOF
16977 #define HAVE_SIGADDSET 1
16983 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16984 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
16985 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
16986 echo $ECHO_N "(cached) $ECHO_C" >&6
16988 cat >conftest.
$ac_ext <<_ACEOF
16991 cat confdefs.h
>>conftest.
$ac_ext
16992 cat >>conftest.
$ac_ext <<_ACEOF
16993 /* end confdefs.h. */
17003 struct hostent *result;
17010 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17011 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17017 rm -f conftest.
$ac_objext conftest
$ac_exeext
17018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17019 (eval $ac_link) 2>conftest.er1
17021 grep -v '^ *+' conftest.er1
>conftest.err
17023 cat conftest.err
>&5
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); } &&
17026 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17028 (eval $ac_try) 2>&5
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); }; } &&
17032 { ac_try
='test -s conftest$ac_exeext'
17033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17034 (eval $ac_try) 2>&5
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); }; }; then
17038 wine_cv_linux_gethostbyname_r_6
=yes
17040 echo "$as_me: failed program was:" >&5
17041 sed 's/^/| /' conftest.
$ac_ext >&5
17043 wine_cv_linux_gethostbyname_r_6
=no
17046 rm -f conftest.err conftest.
$ac_objext \
17047 conftest
$ac_exeext conftest.
$ac_ext
17050 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17051 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
17052 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17055 cat >>confdefs.h
<<\_ACEOF
17056 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17061 if test "$ac_cv_header_linux_joystick_h" = "yes"
17063 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17064 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
17065 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17066 echo $ECHO_N "(cached) $ECHO_C" >&6
17068 cat >conftest.
$ac_ext <<_ACEOF
17071 cat confdefs.h
>>conftest.
$ac_ext
17072 cat >>conftest.
$ac_ext <<_ACEOF
17073 /* end confdefs.h. */
17075 #include <sys/ioctl.h>
17076 #include <linux/joystick.h>
17078 struct js_event blub;
17079 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17080 #error "no 2.2 header"
17091 rm -f conftest.
$ac_objext
17092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17093 (eval $ac_compile) 2>conftest.er1
17095 grep -v '^ *+' conftest.er1
>conftest.err
17097 cat conftest.err
>&5
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); } &&
17100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17102 (eval $ac_try) 2>&5
17104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105 (exit $ac_status); }; } &&
17106 { ac_try
='test -s conftest.$ac_objext'
17107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17108 (eval $ac_try) 2>&5
17110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17111 (exit $ac_status); }; }; then
17112 wine_cv_linux_joystick_22_api
=yes
17114 echo "$as_me: failed program was:" >&5
17115 sed 's/^/| /' conftest.
$ac_ext >&5
17117 wine_cv_linux_joystick_22_api
=no
17119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17122 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17123 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
17124 if test "$wine_cv_linux_joystick_22_api" = "yes"
17127 cat >>confdefs.h
<<\_ACEOF
17128 #define HAVE_LINUX_22_JOYSTICK_API 1
17135 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17136 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
17137 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17138 echo $ECHO_N "(cached) $ECHO_C" >&6
17140 cat >conftest.
$ac_ext <<_ACEOF
17143 cat confdefs.h
>>conftest.
$ac_ext
17144 cat >>conftest.
$ac_ext <<_ACEOF
17145 /* end confdefs.h. */
17146 #include <sys/types.h>
17147 #ifdef HAVE_SYS_PARAM_H
17148 # include <sys/param.h>
17150 #ifdef HAVE_SYS_MOUNT_H
17151 # include <sys/mount.h>
17153 #ifdef HAVE_SYS_VFS_H
17154 # include <sys/vfs.h>
17156 #ifdef HAVE_SYS_STATFS_H
17157 # include <sys/statfs.h>
17163 static struct statfs ac_aggr;
17164 if (ac_aggr.f_bfree)
17170 rm -f conftest.
$ac_objext
17171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17172 (eval $ac_compile) 2>conftest.er1
17174 grep -v '^ *+' conftest.er1
>conftest.err
17176 cat conftest.err
>&5
17177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17178 (exit $ac_status); } &&
17179 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17181 (eval $ac_try) 2>&5
17183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17184 (exit $ac_status); }; } &&
17185 { ac_try
='test -s conftest.$ac_objext'
17186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17187 (eval $ac_try) 2>&5
17189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17190 (exit $ac_status); }; }; then
17191 ac_cv_member_struct_statfs_f_bfree
=yes
17193 echo "$as_me: failed program was:" >&5
17194 sed 's/^/| /' conftest.
$ac_ext >&5
17196 cat >conftest.
$ac_ext <<_ACEOF
17199 cat confdefs.h
>>conftest.
$ac_ext
17200 cat >>conftest.
$ac_ext <<_ACEOF
17201 /* end confdefs.h. */
17202 #include <sys/types.h>
17203 #ifdef HAVE_SYS_PARAM_H
17204 # include <sys/param.h>
17206 #ifdef HAVE_SYS_MOUNT_H
17207 # include <sys/mount.h>
17209 #ifdef HAVE_SYS_VFS_H
17210 # include <sys/vfs.h>
17212 #ifdef HAVE_SYS_STATFS_H
17213 # include <sys/statfs.h>
17219 static struct statfs ac_aggr;
17220 if (sizeof ac_aggr.f_bfree)
17226 rm -f conftest.
$ac_objext
17227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17228 (eval $ac_compile) 2>conftest.er1
17230 grep -v '^ *+' conftest.er1
>conftest.err
17232 cat conftest.err
>&5
17233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 (exit $ac_status); } &&
17235 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17237 (eval $ac_try) 2>&5
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); }; } &&
17241 { ac_try
='test -s conftest.$ac_objext'
17242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17243 (eval $ac_try) 2>&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); }; }; then
17247 ac_cv_member_struct_statfs_f_bfree
=yes
17249 echo "$as_me: failed program was:" >&5
17250 sed 's/^/| /' conftest.
$ac_ext >&5
17252 ac_cv_member_struct_statfs_f_bfree
=no
17254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17258 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17259 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
17260 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17262 cat >>confdefs.h
<<_ACEOF
17263 #define HAVE_STRUCT_STATFS_F_BFREE 1
17268 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17269 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
17270 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17271 echo $ECHO_N "(cached) $ECHO_C" >&6
17273 cat >conftest.
$ac_ext <<_ACEOF
17276 cat confdefs.h
>>conftest.
$ac_ext
17277 cat >>conftest.
$ac_ext <<_ACEOF
17278 /* end confdefs.h. */
17279 #include <sys/types.h>
17280 #ifdef HAVE_SYS_PARAM_H
17281 # include <sys/param.h>
17283 #ifdef HAVE_SYS_MOUNT_H
17284 # include <sys/mount.h>
17286 #ifdef HAVE_SYS_VFS_H
17287 # include <sys/vfs.h>
17289 #ifdef HAVE_SYS_STATFS_H
17290 # include <sys/statfs.h>
17296 static struct statfs ac_aggr;
17297 if (ac_aggr.f_bavail)
17303 rm -f conftest.
$ac_objext
17304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17305 (eval $ac_compile) 2>conftest.er1
17307 grep -v '^ *+' conftest.er1
>conftest.err
17309 cat conftest.err
>&5
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); } &&
17312 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17314 (eval $ac_try) 2>&5
17316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17317 (exit $ac_status); }; } &&
17318 { ac_try
='test -s conftest.$ac_objext'
17319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17320 (eval $ac_try) 2>&5
17322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17323 (exit $ac_status); }; }; then
17324 ac_cv_member_struct_statfs_f_bavail
=yes
17326 echo "$as_me: failed program was:" >&5
17327 sed 's/^/| /' conftest.
$ac_ext >&5
17329 cat >conftest.
$ac_ext <<_ACEOF
17332 cat confdefs.h
>>conftest.
$ac_ext
17333 cat >>conftest.
$ac_ext <<_ACEOF
17334 /* end confdefs.h. */
17335 #include <sys/types.h>
17336 #ifdef HAVE_SYS_PARAM_H
17337 # include <sys/param.h>
17339 #ifdef HAVE_SYS_MOUNT_H
17340 # include <sys/mount.h>
17342 #ifdef HAVE_SYS_VFS_H
17343 # include <sys/vfs.h>
17345 #ifdef HAVE_SYS_STATFS_H
17346 # include <sys/statfs.h>
17352 static struct statfs ac_aggr;
17353 if (sizeof ac_aggr.f_bavail)
17359 rm -f conftest.
$ac_objext
17360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17361 (eval $ac_compile) 2>conftest.er1
17363 grep -v '^ *+' conftest.er1
>conftest.err
17365 cat conftest.err
>&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); } &&
17368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17370 (eval $ac_try) 2>&5
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); }; } &&
17374 { ac_try
='test -s conftest.$ac_objext'
17375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17376 (eval $ac_try) 2>&5
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); }; }; then
17380 ac_cv_member_struct_statfs_f_bavail
=yes
17382 echo "$as_me: failed program was:" >&5
17383 sed 's/^/| /' conftest.
$ac_ext >&5
17385 ac_cv_member_struct_statfs_f_bavail
=no
17387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17391 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17392 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
17393 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17395 cat >>confdefs.h
<<_ACEOF
17396 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17401 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17402 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
17403 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17404 echo $ECHO_N "(cached) $ECHO_C" >&6
17406 cat >conftest.
$ac_ext <<_ACEOF
17409 cat confdefs.h
>>conftest.
$ac_ext
17410 cat >>conftest.
$ac_ext <<_ACEOF
17411 /* end confdefs.h. */
17412 #include <sys/types.h>
17413 #ifdef HAVE_SYS_PARAM_H
17414 # include <sys/param.h>
17416 #ifdef HAVE_SYS_MOUNT_H
17417 # include <sys/mount.h>
17419 #ifdef HAVE_SYS_VFS_H
17420 # include <sys/vfs.h>
17422 #ifdef HAVE_SYS_STATFS_H
17423 # include <sys/statfs.h>
17429 static struct statfs ac_aggr;
17430 if (ac_aggr.f_frsize)
17436 rm -f conftest.
$ac_objext
17437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17438 (eval $ac_compile) 2>conftest.er1
17440 grep -v '^ *+' conftest.er1
>conftest.err
17442 cat conftest.err
>&5
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); } &&
17445 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17447 (eval $ac_try) 2>&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); }; } &&
17451 { ac_try
='test -s conftest.$ac_objext'
17452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17453 (eval $ac_try) 2>&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); }; }; then
17457 ac_cv_member_struct_statfs_f_frsize
=yes
17459 echo "$as_me: failed program was:" >&5
17460 sed 's/^/| /' conftest.
$ac_ext >&5
17462 cat >conftest.
$ac_ext <<_ACEOF
17465 cat confdefs.h
>>conftest.
$ac_ext
17466 cat >>conftest.
$ac_ext <<_ACEOF
17467 /* end confdefs.h. */
17468 #include <sys/types.h>
17469 #ifdef HAVE_SYS_PARAM_H
17470 # include <sys/param.h>
17472 #ifdef HAVE_SYS_MOUNT_H
17473 # include <sys/mount.h>
17475 #ifdef HAVE_SYS_VFS_H
17476 # include <sys/vfs.h>
17478 #ifdef HAVE_SYS_STATFS_H
17479 # include <sys/statfs.h>
17485 static struct statfs ac_aggr;
17486 if (sizeof ac_aggr.f_frsize)
17492 rm -f conftest.
$ac_objext
17493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17494 (eval $ac_compile) 2>conftest.er1
17496 grep -v '^ *+' conftest.er1
>conftest.err
17498 cat conftest.err
>&5
17499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17500 (exit $ac_status); } &&
17501 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17503 (eval $ac_try) 2>&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); }; } &&
17507 { ac_try
='test -s conftest.$ac_objext'
17508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17509 (eval $ac_try) 2>&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); }; }; then
17513 ac_cv_member_struct_statfs_f_frsize
=yes
17515 echo "$as_me: failed program was:" >&5
17516 sed 's/^/| /' conftest.
$ac_ext >&5
17518 ac_cv_member_struct_statfs_f_frsize
=no
17520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17524 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17525 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
17526 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17528 cat >>confdefs.h
<<_ACEOF
17529 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17534 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17535 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
17536 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17537 echo $ECHO_N "(cached) $ECHO_C" >&6
17539 cat >conftest.
$ac_ext <<_ACEOF
17542 cat confdefs.h
>>conftest.
$ac_ext
17543 cat >>conftest.
$ac_ext <<_ACEOF
17544 /* end confdefs.h. */
17545 #include <sys/types.h>
17546 #ifdef HAVE_SYS_PARAM_H
17547 # include <sys/param.h>
17549 #ifdef HAVE_SYS_MOUNT_H
17550 # include <sys/mount.h>
17552 #ifdef HAVE_SYS_VFS_H
17553 # include <sys/vfs.h>
17555 #ifdef HAVE_SYS_STATFS_H
17556 # include <sys/statfs.h>
17562 static struct statfs ac_aggr;
17563 if (ac_aggr.f_ffree)
17569 rm -f conftest.
$ac_objext
17570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17571 (eval $ac_compile) 2>conftest.er1
17573 grep -v '^ *+' conftest.er1
>conftest.err
17575 cat conftest.err
>&5
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); } &&
17578 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17580 (eval $ac_try) 2>&5
17582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583 (exit $ac_status); }; } &&
17584 { ac_try
='test -s conftest.$ac_objext'
17585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17586 (eval $ac_try) 2>&5
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); }; }; then
17590 ac_cv_member_struct_statfs_f_ffree
=yes
17592 echo "$as_me: failed program was:" >&5
17593 sed 's/^/| /' conftest.
$ac_ext >&5
17595 cat >conftest.
$ac_ext <<_ACEOF
17598 cat confdefs.h
>>conftest.
$ac_ext
17599 cat >>conftest.
$ac_ext <<_ACEOF
17600 /* end confdefs.h. */
17601 #include <sys/types.h>
17602 #ifdef HAVE_SYS_PARAM_H
17603 # include <sys/param.h>
17605 #ifdef HAVE_SYS_MOUNT_H
17606 # include <sys/mount.h>
17608 #ifdef HAVE_SYS_VFS_H
17609 # include <sys/vfs.h>
17611 #ifdef HAVE_SYS_STATFS_H
17612 # include <sys/statfs.h>
17618 static struct statfs ac_aggr;
17619 if (sizeof ac_aggr.f_ffree)
17625 rm -f conftest.
$ac_objext
17626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17627 (eval $ac_compile) 2>conftest.er1
17629 grep -v '^ *+' conftest.er1
>conftest.err
17631 cat conftest.err
>&5
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); } &&
17634 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17640 { ac_try
='test -s conftest.$ac_objext'
17641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17642 (eval $ac_try) 2>&5
17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); }; }; then
17646 ac_cv_member_struct_statfs_f_ffree
=yes
17648 echo "$as_me: failed program was:" >&5
17649 sed 's/^/| /' conftest.
$ac_ext >&5
17651 ac_cv_member_struct_statfs_f_ffree
=no
17653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17657 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
17658 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
17659 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
17661 cat >>confdefs.h
<<_ACEOF
17662 #define HAVE_STRUCT_STATFS_F_FFREE 1
17667 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
17668 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
17669 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
17670 echo $ECHO_N "(cached) $ECHO_C" >&6
17672 cat >conftest.
$ac_ext <<_ACEOF
17675 cat confdefs.h
>>conftest.
$ac_ext
17676 cat >>conftest.
$ac_ext <<_ACEOF
17677 /* end confdefs.h. */
17678 #include <sys/types.h>
17679 #ifdef HAVE_SYS_PARAM_H
17680 # include <sys/param.h>
17682 #ifdef HAVE_SYS_MOUNT_H
17683 # include <sys/mount.h>
17685 #ifdef HAVE_SYS_VFS_H
17686 # include <sys/vfs.h>
17688 #ifdef HAVE_SYS_STATFS_H
17689 # include <sys/statfs.h>
17695 static struct statfs ac_aggr;
17696 if (ac_aggr.f_favail)
17702 rm -f conftest.
$ac_objext
17703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17704 (eval $ac_compile) 2>conftest.er1
17706 grep -v '^ *+' conftest.er1
>conftest.err
17708 cat conftest.err
>&5
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); } &&
17711 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17713 (eval $ac_try) 2>&5
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); }; } &&
17717 { ac_try
='test -s conftest.$ac_objext'
17718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17719 (eval $ac_try) 2>&5
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); }; }; then
17723 ac_cv_member_struct_statfs_f_favail
=yes
17725 echo "$as_me: failed program was:" >&5
17726 sed 's/^/| /' conftest.
$ac_ext >&5
17728 cat >conftest.
$ac_ext <<_ACEOF
17731 cat confdefs.h
>>conftest.
$ac_ext
17732 cat >>conftest.
$ac_ext <<_ACEOF
17733 /* end confdefs.h. */
17734 #include <sys/types.h>
17735 #ifdef HAVE_SYS_PARAM_H
17736 # include <sys/param.h>
17738 #ifdef HAVE_SYS_MOUNT_H
17739 # include <sys/mount.h>
17741 #ifdef HAVE_SYS_VFS_H
17742 # include <sys/vfs.h>
17744 #ifdef HAVE_SYS_STATFS_H
17745 # include <sys/statfs.h>
17751 static struct statfs ac_aggr;
17752 if (sizeof ac_aggr.f_favail)
17758 rm -f conftest.
$ac_objext
17759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17760 (eval $ac_compile) 2>conftest.er1
17762 grep -v '^ *+' conftest.er1
>conftest.err
17764 cat conftest.err
>&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); } &&
17767 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17769 (eval $ac_try) 2>&5
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); }; } &&
17773 { ac_try
='test -s conftest.$ac_objext'
17774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17775 (eval $ac_try) 2>&5
17777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17778 (exit $ac_status); }; }; then
17779 ac_cv_member_struct_statfs_f_favail
=yes
17781 echo "$as_me: failed program was:" >&5
17782 sed 's/^/| /' conftest.
$ac_ext >&5
17784 ac_cv_member_struct_statfs_f_favail
=no
17786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17790 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
17791 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
17792 if test $ac_cv_member_struct_statfs_f_favail = yes; then
17794 cat >>confdefs.h
<<_ACEOF
17795 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17800 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
17801 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
17802 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
17803 echo $ECHO_N "(cached) $ECHO_C" >&6
17805 cat >conftest.
$ac_ext <<_ACEOF
17808 cat confdefs.h
>>conftest.
$ac_ext
17809 cat >>conftest.
$ac_ext <<_ACEOF
17810 /* end confdefs.h. */
17811 #include <sys/types.h>
17812 #ifdef HAVE_SYS_PARAM_H
17813 # include <sys/param.h>
17815 #ifdef HAVE_SYS_MOUNT_H
17816 # include <sys/mount.h>
17818 #ifdef HAVE_SYS_VFS_H
17819 # include <sys/vfs.h>
17821 #ifdef HAVE_SYS_STATFS_H
17822 # include <sys/statfs.h>
17828 static struct statfs ac_aggr;
17829 if (ac_aggr.f_namelen)
17835 rm -f conftest.
$ac_objext
17836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17837 (eval $ac_compile) 2>conftest.er1
17839 grep -v '^ *+' conftest.er1
>conftest.err
17841 cat conftest.err
>&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); } &&
17844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17846 (eval $ac_try) 2>&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); }; } &&
17850 { ac_try
='test -s conftest.$ac_objext'
17851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17852 (eval $ac_try) 2>&5
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); }; }; then
17856 ac_cv_member_struct_statfs_f_namelen
=yes
17858 echo "$as_me: failed program was:" >&5
17859 sed 's/^/| /' conftest.
$ac_ext >&5
17861 cat >conftest.
$ac_ext <<_ACEOF
17864 cat confdefs.h
>>conftest.
$ac_ext
17865 cat >>conftest.
$ac_ext <<_ACEOF
17866 /* end confdefs.h. */
17867 #include <sys/types.h>
17868 #ifdef HAVE_SYS_PARAM_H
17869 # include <sys/param.h>
17871 #ifdef HAVE_SYS_MOUNT_H
17872 # include <sys/mount.h>
17874 #ifdef HAVE_SYS_VFS_H
17875 # include <sys/vfs.h>
17877 #ifdef HAVE_SYS_STATFS_H
17878 # include <sys/statfs.h>
17884 static struct statfs ac_aggr;
17885 if (sizeof ac_aggr.f_namelen)
17891 rm -f conftest.
$ac_objext
17892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17893 (eval $ac_compile) 2>conftest.er1
17895 grep -v '^ *+' conftest.er1
>conftest.err
17897 cat conftest.err
>&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); } &&
17900 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17902 (eval $ac_try) 2>&5
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); }; } &&
17906 { ac_try
='test -s conftest.$ac_objext'
17907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17908 (eval $ac_try) 2>&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); }; }; then
17912 ac_cv_member_struct_statfs_f_namelen
=yes
17914 echo "$as_me: failed program was:" >&5
17915 sed 's/^/| /' conftest.
$ac_ext >&5
17917 ac_cv_member_struct_statfs_f_namelen
=no
17919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17923 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
17924 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
17925 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
17927 cat >>confdefs.h
<<_ACEOF
17928 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17935 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
17936 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
17937 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
17938 echo $ECHO_N "(cached) $ECHO_C" >&6
17940 cat >conftest.
$ac_ext <<_ACEOF
17943 cat confdefs.h
>>conftest.
$ac_ext
17944 cat >>conftest.
$ac_ext <<_ACEOF
17945 /* end confdefs.h. */
17946 #ifdef HAVE_SYS_STATVFS_H
17947 #include <sys/statvfs.h>
17953 static struct statvfs ac_aggr;
17954 if (ac_aggr.f_blocks)
17960 rm -f conftest.
$ac_objext
17961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17962 (eval $ac_compile) 2>conftest.er1
17964 grep -v '^ *+' conftest.er1
>conftest.err
17966 cat conftest.err
>&5
17967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17968 (exit $ac_status); } &&
17969 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17971 (eval $ac_try) 2>&5
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); }; } &&
17975 { ac_try
='test -s conftest.$ac_objext'
17976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17977 (eval $ac_try) 2>&5
17979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 (exit $ac_status); }; }; then
17981 ac_cv_member_struct_statvfs_f_blocks
=yes
17983 echo "$as_me: failed program was:" >&5
17984 sed 's/^/| /' conftest.
$ac_ext >&5
17986 cat >conftest.
$ac_ext <<_ACEOF
17989 cat confdefs.h
>>conftest.
$ac_ext
17990 cat >>conftest.
$ac_ext <<_ACEOF
17991 /* end confdefs.h. */
17992 #ifdef HAVE_SYS_STATVFS_H
17993 #include <sys/statvfs.h>
17999 static struct statvfs ac_aggr;
18000 if (sizeof ac_aggr.f_blocks)
18006 rm -f conftest.
$ac_objext
18007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18008 (eval $ac_compile) 2>conftest.er1
18010 grep -v '^ *+' conftest.er1
>conftest.err
18012 cat conftest.err
>&5
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); } &&
18015 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18017 (eval $ac_try) 2>&5
18019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18020 (exit $ac_status); }; } &&
18021 { ac_try
='test -s conftest.$ac_objext'
18022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18023 (eval $ac_try) 2>&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); }; }; then
18027 ac_cv_member_struct_statvfs_f_blocks
=yes
18029 echo "$as_me: failed program was:" >&5
18030 sed 's/^/| /' conftest.
$ac_ext >&5
18032 ac_cv_member_struct_statvfs_f_blocks
=no
18034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18038 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18039 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
18040 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18042 cat >>confdefs.h
<<_ACEOF
18043 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18050 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18051 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
18052 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18053 echo $ECHO_N "(cached) $ECHO_C" >&6
18055 cat >conftest.
$ac_ext <<_ACEOF
18058 cat confdefs.h
>>conftest.
$ac_ext
18059 cat >>conftest.
$ac_ext <<_ACEOF
18060 /* end confdefs.h. */
18061 #include <sys/types.h>
18062 #ifdef HAVE_SYS_SOCKET_H
18063 # include <sys/socket.h>
18065 #ifdef HAVE_SYS_UN_H
18066 # include <sys/un.h>
18072 static struct msghdr ac_aggr;
18073 if (ac_aggr.msg_accrights)
18079 rm -f conftest.
$ac_objext
18080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18081 (eval $ac_compile) 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_objext'
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 ac_cv_member_struct_msghdr_msg_accrights
=yes
18102 echo "$as_me: failed program was:" >&5
18103 sed 's/^/| /' conftest.
$ac_ext >&5
18105 cat >conftest.
$ac_ext <<_ACEOF
18108 cat confdefs.h
>>conftest.
$ac_ext
18109 cat >>conftest.
$ac_ext <<_ACEOF
18110 /* end confdefs.h. */
18111 #include <sys/types.h>
18112 #ifdef HAVE_SYS_SOCKET_H
18113 # include <sys/socket.h>
18115 #ifdef HAVE_SYS_UN_H
18116 # include <sys/un.h>
18122 static struct msghdr ac_aggr;
18123 if (sizeof ac_aggr.msg_accrights)
18129 rm -f conftest.
$ac_objext
18130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18131 (eval $ac_compile) 2>conftest.er1
18133 grep -v '^ *+' conftest.er1
>conftest.err
18135 cat conftest.err
>&5
18136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18137 (exit $ac_status); } &&
18138 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18140 (eval $ac_try) 2>&5
18142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18143 (exit $ac_status); }; } &&
18144 { ac_try
='test -s conftest.$ac_objext'
18145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18146 (eval $ac_try) 2>&5
18148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149 (exit $ac_status); }; }; then
18150 ac_cv_member_struct_msghdr_msg_accrights
=yes
18152 echo "$as_me: failed program was:" >&5
18153 sed 's/^/| /' conftest.
$ac_ext >&5
18155 ac_cv_member_struct_msghdr_msg_accrights
=no
18157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18161 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18162 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
18163 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18165 cat >>confdefs.h
<<_ACEOF
18166 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18171 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18172 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
18173 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18174 echo $ECHO_N "(cached) $ECHO_C" >&6
18176 cat >conftest.
$ac_ext <<_ACEOF
18179 cat confdefs.h
>>conftest.
$ac_ext
18180 cat >>conftest.
$ac_ext <<_ACEOF
18181 /* end confdefs.h. */
18182 #include <sys/types.h>
18183 #ifdef HAVE_SYS_SOCKET_H
18184 # include <sys/socket.h>
18186 #ifdef HAVE_SYS_UN_H
18187 # include <sys/un.h>
18193 static struct sockaddr ac_aggr;
18194 if (ac_aggr.sa_len)
18200 rm -f conftest.
$ac_objext
18201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18202 (eval $ac_compile) 2>conftest.er1
18204 grep -v '^ *+' conftest.er1
>conftest.err
18206 cat conftest.err
>&5
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); } &&
18209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18211 (eval $ac_try) 2>&5
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); }; } &&
18215 { ac_try
='test -s conftest.$ac_objext'
18216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18217 (eval $ac_try) 2>&5
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); }; }; then
18221 ac_cv_member_struct_sockaddr_sa_len
=yes
18223 echo "$as_me: failed program was:" >&5
18224 sed 's/^/| /' conftest.
$ac_ext >&5
18226 cat >conftest.
$ac_ext <<_ACEOF
18229 cat confdefs.h
>>conftest.
$ac_ext
18230 cat >>conftest.
$ac_ext <<_ACEOF
18231 /* end confdefs.h. */
18232 #include <sys/types.h>
18233 #ifdef HAVE_SYS_SOCKET_H
18234 # include <sys/socket.h>
18236 #ifdef HAVE_SYS_UN_H
18237 # include <sys/un.h>
18243 static struct sockaddr ac_aggr;
18244 if (sizeof ac_aggr.sa_len)
18250 rm -f conftest.
$ac_objext
18251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18252 (eval $ac_compile) 2>conftest.er1
18254 grep -v '^ *+' conftest.er1
>conftest.err
18256 cat conftest.err
>&5
18257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258 (exit $ac_status); } &&
18259 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18261 (eval $ac_try) 2>&5
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); }; } &&
18265 { ac_try
='test -s conftest.$ac_objext'
18266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18267 (eval $ac_try) 2>&5
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); }; }; then
18271 ac_cv_member_struct_sockaddr_sa_len
=yes
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.
$ac_ext >&5
18276 ac_cv_member_struct_sockaddr_sa_len
=no
18278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18282 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18283 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
18284 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18286 cat >>confdefs.h
<<_ACEOF
18287 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18292 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18293 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
18294 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18295 echo $ECHO_N "(cached) $ECHO_C" >&6
18297 cat >conftest.
$ac_ext <<_ACEOF
18300 cat confdefs.h
>>conftest.
$ac_ext
18301 cat >>conftest.
$ac_ext <<_ACEOF
18302 /* end confdefs.h. */
18303 #include <sys/types.h>
18304 #ifdef HAVE_SYS_SOCKET_H
18305 # include <sys/socket.h>
18307 #ifdef HAVE_SYS_UN_H
18308 # include <sys/un.h>
18314 static struct sockaddr_un ac_aggr;
18315 if (ac_aggr.sun_len)
18321 rm -f conftest.
$ac_objext
18322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18323 (eval $ac_compile) 2>conftest.er1
18325 grep -v '^ *+' conftest.er1
>conftest.err
18327 cat conftest.err
>&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); } &&
18330 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18332 (eval $ac_try) 2>&5
18334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335 (exit $ac_status); }; } &&
18336 { ac_try
='test -s conftest.$ac_objext'
18337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18338 (eval $ac_try) 2>&5
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); }; }; then
18342 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18344 echo "$as_me: failed program was:" >&5
18345 sed 's/^/| /' conftest.
$ac_ext >&5
18347 cat >conftest.
$ac_ext <<_ACEOF
18350 cat confdefs.h
>>conftest.
$ac_ext
18351 cat >>conftest.
$ac_ext <<_ACEOF
18352 /* end confdefs.h. */
18353 #include <sys/types.h>
18354 #ifdef HAVE_SYS_SOCKET_H
18355 # include <sys/socket.h>
18357 #ifdef HAVE_SYS_UN_H
18358 # include <sys/un.h>
18364 static struct sockaddr_un ac_aggr;
18365 if (sizeof ac_aggr.sun_len)
18371 rm -f conftest.
$ac_objext
18372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18373 (eval $ac_compile) 2>conftest.er1
18375 grep -v '^ *+' conftest.er1
>conftest.err
18377 cat conftest.err
>&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); } &&
18380 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18382 (eval $ac_try) 2>&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); }; } &&
18386 { ac_try
='test -s conftest.$ac_objext'
18387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18388 (eval $ac_try) 2>&5
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); }; }; then
18392 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18394 echo "$as_me: failed program was:" >&5
18395 sed 's/^/| /' conftest.
$ac_ext >&5
18397 ac_cv_member_struct_sockaddr_un_sun_len
=no
18399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18403 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18404 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
18405 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18407 cat >>confdefs.h
<<_ACEOF
18408 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18415 echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18416 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6
18417 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18418 echo $ECHO_N "(cached) $ECHO_C" >&6
18420 cat >conftest.
$ac_ext <<_ACEOF
18423 cat confdefs.h
>>conftest.
$ac_ext
18424 cat >>conftest.
$ac_ext <<_ACEOF
18425 /* end confdefs.h. */
18426 #include <sys/types.h>
18427 #ifdef HAVE_SCSI_SG_H
18428 #include <scsi/sg.h>
18434 static scsireq_t ac_aggr;
18441 rm -f conftest.
$ac_objext
18442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18443 (eval $ac_compile) 2>conftest.er1
18445 grep -v '^ *+' conftest.er1
>conftest.err
18447 cat conftest.err
>&5
18448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18449 (exit $ac_status); } &&
18450 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18452 (eval $ac_try) 2>&5
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); }; } &&
18456 { ac_try
='test -s conftest.$ac_objext'
18457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18458 (eval $ac_try) 2>&5
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); }; }; then
18462 ac_cv_member_scsireq_t_cmd
=yes
18464 echo "$as_me: failed program was:" >&5
18465 sed 's/^/| /' conftest.
$ac_ext >&5
18467 cat >conftest.
$ac_ext <<_ACEOF
18470 cat confdefs.h
>>conftest.
$ac_ext
18471 cat >>conftest.
$ac_ext <<_ACEOF
18472 /* end confdefs.h. */
18473 #include <sys/types.h>
18474 #ifdef HAVE_SCSI_SG_H
18475 #include <scsi/sg.h>
18481 static scsireq_t ac_aggr;
18482 if (sizeof ac_aggr.cmd)
18488 rm -f conftest.
$ac_objext
18489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18490 (eval $ac_compile) 2>conftest.er1
18492 grep -v '^ *+' conftest.er1
>conftest.err
18494 cat conftest.err
>&5
18495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496 (exit $ac_status); } &&
18497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18499 (eval $ac_try) 2>&5
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); }; } &&
18503 { ac_try
='test -s conftest.$ac_objext'
18504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18505 (eval $ac_try) 2>&5
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); }; }; then
18509 ac_cv_member_scsireq_t_cmd
=yes
18511 echo "$as_me: failed program was:" >&5
18512 sed 's/^/| /' conftest.
$ac_ext >&5
18514 ac_cv_member_scsireq_t_cmd
=no
18516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18520 echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18521 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6
18522 if test $ac_cv_member_scsireq_t_cmd = yes; then
18524 cat >>confdefs.h
<<_ACEOF
18525 #define HAVE_SCSIREQ_T_CMD 1
18530 echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18531 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6
18532 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18533 echo $ECHO_N "(cached) $ECHO_C" >&6
18535 cat >conftest.
$ac_ext <<_ACEOF
18538 cat confdefs.h
>>conftest.
$ac_ext
18539 cat >>conftest.
$ac_ext <<_ACEOF
18540 /* end confdefs.h. */
18541 #include <sys/types.h>
18542 #ifdef HAVE_SCSI_SG_H
18543 #include <scsi/sg.h>
18549 static sg_io_hdr_t ac_aggr;
18550 if (ac_aggr.interface_id)
18556 rm -f conftest.
$ac_objext
18557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18558 (eval $ac_compile) 2>conftest.er1
18560 grep -v '^ *+' conftest.er1
>conftest.err
18562 cat conftest.err
>&5
18563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18564 (exit $ac_status); } &&
18565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18567 (eval $ac_try) 2>&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); }; } &&
18571 { ac_try
='test -s conftest.$ac_objext'
18572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18573 (eval $ac_try) 2>&5
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); }; }; then
18577 ac_cv_member_sg_io_hdr_t_interface_id
=yes
18579 echo "$as_me: failed program was:" >&5
18580 sed 's/^/| /' conftest.
$ac_ext >&5
18582 cat >conftest.
$ac_ext <<_ACEOF
18585 cat confdefs.h
>>conftest.
$ac_ext
18586 cat >>conftest.
$ac_ext <<_ACEOF
18587 /* end confdefs.h. */
18588 #include <sys/types.h>
18589 #ifdef HAVE_SCSI_SG_H
18590 #include <scsi/sg.h>
18596 static sg_io_hdr_t ac_aggr;
18597 if (sizeof ac_aggr.interface_id)
18603 rm -f conftest.
$ac_objext
18604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18605 (eval $ac_compile) 2>conftest.er1
18607 grep -v '^ *+' conftest.er1
>conftest.err
18609 cat conftest.err
>&5
18610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18611 (exit $ac_status); } &&
18612 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18614 (eval $ac_try) 2>&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); }; } &&
18618 { ac_try
='test -s conftest.$ac_objext'
18619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18620 (eval $ac_try) 2>&5
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); }; }; then
18624 ac_cv_member_sg_io_hdr_t_interface_id
=yes
18626 echo "$as_me: failed program was:" >&5
18627 sed 's/^/| /' conftest.
$ac_ext >&5
18629 ac_cv_member_sg_io_hdr_t_interface_id
=no
18631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18635 echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18636 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6
18637 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
18639 cat >>confdefs.h
<<_ACEOF
18640 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18647 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18648 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
18649 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18650 echo $ECHO_N "(cached) $ECHO_C" >&6
18652 cat >conftest.
$ac_ext <<_ACEOF
18655 cat confdefs.h
>>conftest.
$ac_ext
18656 cat >>conftest.
$ac_ext <<_ACEOF
18657 /* end confdefs.h. */
18658 #include <signal.h>
18663 static siginfo_t ac_aggr;
18670 rm -f conftest.
$ac_objext
18671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18672 (eval $ac_compile) 2>conftest.er1
18674 grep -v '^ *+' conftest.er1
>conftest.err
18676 cat conftest.err
>&5
18677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18678 (exit $ac_status); } &&
18679 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18681 (eval $ac_try) 2>&5
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); }; } &&
18685 { ac_try
='test -s conftest.$ac_objext'
18686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18687 (eval $ac_try) 2>&5
18689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18690 (exit $ac_status); }; }; then
18691 ac_cv_member_siginfo_t_si_fd
=yes
18693 echo "$as_me: failed program was:" >&5
18694 sed 's/^/| /' conftest.
$ac_ext >&5
18696 cat >conftest.
$ac_ext <<_ACEOF
18699 cat confdefs.h
>>conftest.
$ac_ext
18700 cat >>conftest.
$ac_ext <<_ACEOF
18701 /* end confdefs.h. */
18702 #include <signal.h>
18707 static siginfo_t ac_aggr;
18708 if (sizeof ac_aggr.si_fd)
18714 rm -f conftest.
$ac_objext
18715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18716 (eval $ac_compile) 2>conftest.er1
18718 grep -v '^ *+' conftest.er1
>conftest.err
18720 cat conftest.err
>&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); } &&
18723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18725 (eval $ac_try) 2>&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); }; } &&
18729 { ac_try
='test -s conftest.$ac_objext'
18730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18731 (eval $ac_try) 2>&5
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); }; }; then
18735 ac_cv_member_siginfo_t_si_fd
=yes
18737 echo "$as_me: failed program was:" >&5
18738 sed 's/^/| /' conftest.
$ac_ext >&5
18740 ac_cv_member_siginfo_t_si_fd
=no
18742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18746 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
18747 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
18748 if test $ac_cv_member_siginfo_t_si_fd = yes; then
18750 cat >>confdefs.h
<<_ACEOF
18751 #define HAVE_SIGINFO_T_SI_FD 1
18758 echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
18759 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6
18760 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
18761 echo $ECHO_N "(cached) $ECHO_C" >&6
18763 cat >conftest.
$ac_ext <<_ACEOF
18766 cat confdefs.h
>>conftest.
$ac_ext
18767 cat >>conftest.
$ac_ext <<_ACEOF
18768 /* end confdefs.h. */
18769 #include <sys/types.h>
18770 #ifdef HAVE_SYS_MTIO_H
18771 #include <sys/mtio.h>
18777 static struct mtget ac_aggr;
18778 if (ac_aggr.mt_blksiz)
18784 rm -f conftest.
$ac_objext
18785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18786 (eval $ac_compile) 2>conftest.er1
18788 grep -v '^ *+' conftest.er1
>conftest.err
18790 cat conftest.err
>&5
18791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792 (exit $ac_status); } &&
18793 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18795 (eval $ac_try) 2>&5
18797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18798 (exit $ac_status); }; } &&
18799 { ac_try
='test -s conftest.$ac_objext'
18800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18801 (eval $ac_try) 2>&5
18803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804 (exit $ac_status); }; }; then
18805 ac_cv_member_struct_mtget_mt_blksiz
=yes
18807 echo "$as_me: failed program was:" >&5
18808 sed 's/^/| /' conftest.
$ac_ext >&5
18810 cat >conftest.
$ac_ext <<_ACEOF
18813 cat confdefs.h
>>conftest.
$ac_ext
18814 cat >>conftest.
$ac_ext <<_ACEOF
18815 /* end confdefs.h. */
18816 #include <sys/types.h>
18817 #ifdef HAVE_SYS_MTIO_H
18818 #include <sys/mtio.h>
18824 static struct mtget ac_aggr;
18825 if (sizeof ac_aggr.mt_blksiz)
18831 rm -f conftest.
$ac_objext
18832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18833 (eval $ac_compile) 2>conftest.er1
18835 grep -v '^ *+' conftest.er1
>conftest.err
18837 cat conftest.err
>&5
18838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18839 (exit $ac_status); } &&
18840 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18842 (eval $ac_try) 2>&5
18844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18845 (exit $ac_status); }; } &&
18846 { ac_try
='test -s conftest.$ac_objext'
18847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18848 (eval $ac_try) 2>&5
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); }; }; then
18852 ac_cv_member_struct_mtget_mt_blksiz
=yes
18854 echo "$as_me: failed program was:" >&5
18855 sed 's/^/| /' conftest.
$ac_ext >&5
18857 ac_cv_member_struct_mtget_mt_blksiz
=no
18859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18863 echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
18864 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6
18865 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
18867 cat >>confdefs.h
<<_ACEOF
18868 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18873 echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
18874 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6
18875 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
18876 echo $ECHO_N "(cached) $ECHO_C" >&6
18878 cat >conftest.
$ac_ext <<_ACEOF
18881 cat confdefs.h
>>conftest.
$ac_ext
18882 cat >>conftest.
$ac_ext <<_ACEOF
18883 /* end confdefs.h. */
18884 #include <sys/types.h>
18885 #ifdef HAVE_SYS_MTIO_H
18886 #include <sys/mtio.h>
18892 static struct mtget ac_aggr;
18893 if (ac_aggr.mt_gstat)
18899 rm -f conftest.
$ac_objext
18900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18901 (eval $ac_compile) 2>conftest.er1
18903 grep -v '^ *+' conftest.er1
>conftest.err
18905 cat conftest.err
>&5
18906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18907 (exit $ac_status); } &&
18908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18910 (eval $ac_try) 2>&5
18912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18913 (exit $ac_status); }; } &&
18914 { ac_try
='test -s conftest.$ac_objext'
18915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18916 (eval $ac_try) 2>&5
18918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18919 (exit $ac_status); }; }; then
18920 ac_cv_member_struct_mtget_mt_gstat
=yes
18922 echo "$as_me: failed program was:" >&5
18923 sed 's/^/| /' conftest.
$ac_ext >&5
18925 cat >conftest.
$ac_ext <<_ACEOF
18928 cat confdefs.h
>>conftest.
$ac_ext
18929 cat >>conftest.
$ac_ext <<_ACEOF
18930 /* end confdefs.h. */
18931 #include <sys/types.h>
18932 #ifdef HAVE_SYS_MTIO_H
18933 #include <sys/mtio.h>
18939 static struct mtget ac_aggr;
18940 if (sizeof ac_aggr.mt_gstat)
18946 rm -f conftest.
$ac_objext
18947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18948 (eval $ac_compile) 2>conftest.er1
18950 grep -v '^ *+' conftest.er1
>conftest.err
18952 cat conftest.err
>&5
18953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954 (exit $ac_status); } &&
18955 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18957 (eval $ac_try) 2>&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); }; } &&
18961 { ac_try
='test -s conftest.$ac_objext'
18962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18963 (eval $ac_try) 2>&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); }; }; then
18967 ac_cv_member_struct_mtget_mt_gstat
=yes
18969 echo "$as_me: failed program was:" >&5
18970 sed 's/^/| /' conftest.
$ac_ext >&5
18972 ac_cv_member_struct_mtget_mt_gstat
=no
18974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18978 echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
18979 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6
18980 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
18982 cat >>confdefs.h
<<_ACEOF
18983 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18988 echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
18989 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6
18990 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
18991 echo $ECHO_N "(cached) $ECHO_C" >&6
18993 cat >conftest.
$ac_ext <<_ACEOF
18996 cat confdefs.h
>>conftest.
$ac_ext
18997 cat >>conftest.
$ac_ext <<_ACEOF
18998 /* end confdefs.h. */
18999 #include <sys/types.h>
19000 #ifdef HAVE_SYS_MTIO_H
19001 #include <sys/mtio.h>
19007 static struct mtget ac_aggr;
19008 if (ac_aggr.mt_blkno)
19014 rm -f conftest.
$ac_objext
19015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19016 (eval $ac_compile) 2>conftest.er1
19018 grep -v '^ *+' conftest.er1
>conftest.err
19020 cat conftest.err
>&5
19021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19022 (exit $ac_status); } &&
19023 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19025 (eval $ac_try) 2>&5
19027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19028 (exit $ac_status); }; } &&
19029 { ac_try
='test -s conftest.$ac_objext'
19030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19031 (eval $ac_try) 2>&5
19033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19034 (exit $ac_status); }; }; then
19035 ac_cv_member_struct_mtget_mt_blkno
=yes
19037 echo "$as_me: failed program was:" >&5
19038 sed 's/^/| /' conftest.
$ac_ext >&5
19040 cat >conftest.
$ac_ext <<_ACEOF
19043 cat confdefs.h
>>conftest.
$ac_ext
19044 cat >>conftest.
$ac_ext <<_ACEOF
19045 /* end confdefs.h. */
19046 #include <sys/types.h>
19047 #ifdef HAVE_SYS_MTIO_H
19048 #include <sys/mtio.h>
19054 static struct mtget ac_aggr;
19055 if (sizeof ac_aggr.mt_blkno)
19061 rm -f conftest.
$ac_objext
19062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19063 (eval $ac_compile) 2>conftest.er1
19065 grep -v '^ *+' conftest.er1
>conftest.err
19067 cat conftest.err
>&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); } &&
19070 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19072 (eval $ac_try) 2>&5
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); }; } &&
19076 { ac_try
='test -s conftest.$ac_objext'
19077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19078 (eval $ac_try) 2>&5
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); }; }; then
19082 ac_cv_member_struct_mtget_mt_blkno
=yes
19084 echo "$as_me: failed program was:" >&5
19085 sed 's/^/| /' conftest.
$ac_ext >&5
19087 ac_cv_member_struct_mtget_mt_blkno
=no
19089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19093 echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19094 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6
19095 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19097 cat >>confdefs.h
<<_ACEOF
19098 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19105 echo "$as_me:$LINENO: checking for struct option.name" >&5
19106 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19107 if test "${ac_cv_member_struct_option_name+set}" = set; then
19108 echo $ECHO_N "(cached) $ECHO_C" >&6
19110 cat >conftest.
$ac_ext <<_ACEOF
19113 cat confdefs.h
>>conftest.
$ac_ext
19114 cat >>conftest.
$ac_ext <<_ACEOF
19115 /* end confdefs.h. */
19116 #ifdef HAVE_GETOPT_H
19117 #include <getopt.h>
19123 static struct option ac_aggr;
19130 rm -f conftest.
$ac_objext
19131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19132 (eval $ac_compile) 2>conftest.er1
19134 grep -v '^ *+' conftest.er1
>conftest.err
19136 cat conftest.err
>&5
19137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138 (exit $ac_status); } &&
19139 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19141 (eval $ac_try) 2>&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); }; } &&
19145 { ac_try
='test -s conftest.$ac_objext'
19146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19147 (eval $ac_try) 2>&5
19149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19150 (exit $ac_status); }; }; then
19151 ac_cv_member_struct_option_name
=yes
19153 echo "$as_me: failed program was:" >&5
19154 sed 's/^/| /' conftest.
$ac_ext >&5
19156 cat >conftest.
$ac_ext <<_ACEOF
19159 cat confdefs.h
>>conftest.
$ac_ext
19160 cat >>conftest.
$ac_ext <<_ACEOF
19161 /* end confdefs.h. */
19162 #ifdef HAVE_GETOPT_H
19163 #include <getopt.h>
19169 static struct option ac_aggr;
19170 if (sizeof ac_aggr.name)
19176 rm -f conftest.
$ac_objext
19177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19178 (eval $ac_compile) 2>conftest.er1
19180 grep -v '^ *+' conftest.er1
>conftest.err
19182 cat conftest.err
>&5
19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 (exit $ac_status); } &&
19185 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19187 (eval $ac_try) 2>&5
19189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190 (exit $ac_status); }; } &&
19191 { ac_try
='test -s conftest.$ac_objext'
19192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19193 (eval $ac_try) 2>&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); }; }; then
19197 ac_cv_member_struct_option_name
=yes
19199 echo "$as_me: failed program was:" >&5
19200 sed 's/^/| /' conftest.
$ac_ext >&5
19202 ac_cv_member_struct_option_name
=no
19204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19208 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19209 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19210 if test $ac_cv_member_struct_option_name = yes; then
19212 cat >>confdefs.h
<<_ACEOF
19213 #define HAVE_STRUCT_OPTION_NAME 1
19220 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19221 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19222 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19223 echo $ECHO_N "(cached) $ECHO_C" >&6
19225 cat >conftest.
$ac_ext <<_ACEOF
19228 cat confdefs.h
>>conftest.
$ac_ext
19229 cat >>conftest.
$ac_ext <<_ACEOF
19230 /* end confdefs.h. */
19231 $ac_includes_default
19235 static struct stat ac_aggr;
19236 if (ac_aggr.st_blocks)
19242 rm -f conftest.
$ac_objext
19243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19244 (eval $ac_compile) 2>conftest.er1
19246 grep -v '^ *+' conftest.er1
>conftest.err
19248 cat conftest.err
>&5
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); } &&
19251 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19253 (eval $ac_try) 2>&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); }; } &&
19257 { ac_try
='test -s conftest.$ac_objext'
19258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19259 (eval $ac_try) 2>&5
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); }; }; then
19263 ac_cv_member_struct_stat_st_blocks
=yes
19265 echo "$as_me: failed program was:" >&5
19266 sed 's/^/| /' conftest.
$ac_ext >&5
19268 cat >conftest.
$ac_ext <<_ACEOF
19271 cat confdefs.h
>>conftest.
$ac_ext
19272 cat >>conftest.
$ac_ext <<_ACEOF
19273 /* end confdefs.h. */
19274 $ac_includes_default
19278 static struct stat ac_aggr;
19279 if (sizeof ac_aggr.st_blocks)
19285 rm -f conftest.
$ac_objext
19286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19287 (eval $ac_compile) 2>conftest.er1
19289 grep -v '^ *+' conftest.er1
>conftest.err
19291 cat conftest.err
>&5
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); } &&
19294 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19296 (eval $ac_try) 2>&5
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); }; } &&
19300 { ac_try
='test -s conftest.$ac_objext'
19301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19302 (eval $ac_try) 2>&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); }; }; then
19306 ac_cv_member_struct_stat_st_blocks
=yes
19308 echo "$as_me: failed program was:" >&5
19309 sed 's/^/| /' conftest.
$ac_ext >&5
19311 ac_cv_member_struct_stat_st_blocks
=no
19313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19317 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19318 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19319 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19321 cat >>confdefs.h
<<_ACEOF
19322 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19329 echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19330 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6
19331 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19332 echo $ECHO_N "(cached) $ECHO_C" >&6
19334 cat >conftest.
$ac_ext <<_ACEOF
19337 cat confdefs.h
>>conftest.
$ac_ext
19338 cat >>conftest.
$ac_ext <<_ACEOF
19339 /* end confdefs.h. */
19340 #ifdef HAVE_SYS_TYPES_H
19341 #include <sys/types.h>
19343 #ifdef HAVE_NETINET_IN_H
19344 #include <netinet/in.h>
19350 static struct sockaddr_in6 ac_aggr;
19351 if (ac_aggr.sin6_scope_id)
19357 rm -f conftest.
$ac_objext
19358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19359 (eval $ac_compile) 2>conftest.er1
19361 grep -v '^ *+' conftest.er1
>conftest.err
19363 cat conftest.err
>&5
19364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365 (exit $ac_status); } &&
19366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19368 (eval $ac_try) 2>&5
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); }; } &&
19372 { ac_try
='test -s conftest.$ac_objext'
19373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19374 (eval $ac_try) 2>&5
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); }; }; then
19378 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19380 echo "$as_me: failed program was:" >&5
19381 sed 's/^/| /' conftest.
$ac_ext >&5
19383 cat >conftest.
$ac_ext <<_ACEOF
19386 cat confdefs.h
>>conftest.
$ac_ext
19387 cat >>conftest.
$ac_ext <<_ACEOF
19388 /* end confdefs.h. */
19389 #ifdef HAVE_SYS_TYPES_H
19390 #include <sys/types.h>
19392 #ifdef HAVE_NETINET_IN_H
19393 #include <netinet/in.h>
19399 static struct sockaddr_in6 ac_aggr;
19400 if (sizeof ac_aggr.sin6_scope_id)
19406 rm -f conftest.
$ac_objext
19407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19408 (eval $ac_compile) 2>conftest.er1
19410 grep -v '^ *+' conftest.er1
>conftest.err
19412 cat conftest.err
>&5
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); } &&
19415 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19417 (eval $ac_try) 2>&5
19419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19420 (exit $ac_status); }; } &&
19421 { ac_try
='test -s conftest.$ac_objext'
19422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19423 (eval $ac_try) 2>&5
19425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426 (exit $ac_status); }; }; then
19427 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19429 echo "$as_me: failed program was:" >&5
19430 sed 's/^/| /' conftest.
$ac_ext >&5
19432 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
19434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19438 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19439 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6
19440 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19442 cat >>confdefs.h
<<_ACEOF
19443 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19450 echo "$as_me:$LINENO: checking for timezone variable" >&5
19451 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6
19452 if test "${ac_cv_have_timezone+set}" = set; then
19453 echo $ECHO_N "(cached) $ECHO_C" >&6
19455 cat >conftest.
$ac_ext <<_ACEOF
19458 cat confdefs.h
>>conftest.
$ac_ext
19459 cat >>conftest.
$ac_ext <<_ACEOF
19460 /* end confdefs.h. */
19470 rm -f conftest.
$ac_objext conftest
$ac_exeext
19471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19472 (eval $ac_link) 2>conftest.er1
19474 grep -v '^ *+' conftest.er1
>conftest.err
19476 cat conftest.err
>&5
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); } &&
19479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19481 (eval $ac_try) 2>&5
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); }; } &&
19485 { ac_try
='test -s conftest$ac_exeext'
19486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19487 (eval $ac_try) 2>&5
19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19490 (exit $ac_status); }; }; then
19491 ac_cv_have_timezone
="yes"
19493 echo "$as_me: failed program was:" >&5
19494 sed 's/^/| /' conftest.
$ac_ext >&5
19496 ac_cv_have_timezone
="no"
19498 rm -f conftest.err conftest.
$ac_objext \
19499 conftest
$ac_exeext conftest.
$ac_ext
19501 echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19502 echo "${ECHO_T}$ac_cv_have_timezone" >&6
19503 if test "$ac_cv_have_timezone" = "yes"
19506 cat >>confdefs.h
<<\_ACEOF
19507 #define HAVE_TIMEZONE 1
19511 echo "$as_me:$LINENO: checking for daylight variable" >&5
19512 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6
19513 if test "${ac_cv_have_daylight+set}" = set; then
19514 echo $ECHO_N "(cached) $ECHO_C" >&6
19516 cat >conftest.
$ac_ext <<_ACEOF
19519 cat confdefs.h
>>conftest.
$ac_ext
19520 cat >>conftest.
$ac_ext <<_ACEOF
19521 /* end confdefs.h. */
19531 rm -f conftest.
$ac_objext conftest
$ac_exeext
19532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19533 (eval $ac_link) 2>conftest.er1
19535 grep -v '^ *+' conftest.er1
>conftest.err
19537 cat conftest.err
>&5
19538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19539 (exit $ac_status); } &&
19540 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19542 (eval $ac_try) 2>&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); }; } &&
19546 { ac_try
='test -s conftest$ac_exeext'
19547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19548 (eval $ac_try) 2>&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); }; }; then
19552 ac_cv_have_daylight
="yes"
19554 echo "$as_me: failed program was:" >&5
19555 sed 's/^/| /' conftest.
$ac_ext >&5
19557 ac_cv_have_daylight
="no"
19559 rm -f conftest.err conftest.
$ac_objext \
19560 conftest
$ac_exeext conftest.
$ac_ext
19562 echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
19563 echo "${ECHO_T}$ac_cv_have_daylight" >&6
19564 if test "$ac_cv_have_daylight" = "yes"
19567 cat >>confdefs.h
<<\_ACEOF
19568 #define HAVE_DAYLIGHT 1
19575 *i
[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19576 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
19577 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19578 echo $ECHO_N "(cached) $ECHO_C" >&6
19580 cat >conftest.
$ac_ext <<_ACEOF
19583 cat confdefs.h
>>conftest.
$ac_ext
19584 cat >>conftest.
$ac_ext <<_ACEOF
19585 /* end confdefs.h. */
19590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19591 $EGREP "yes" >/dev
/null
2>&1; then
19592 ac_cv_cpp_def___i386__
=yes
19594 ac_cv_cpp_def___i386__
=no
19599 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19600 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
19601 if test $ac_cv_cpp_def___i386__ = yes; then
19602 CFLAGS
="$CFLAGS -D__i386__"
19603 LINTFLAGS
="$LINTFLAGS -D__i386__"
19606 *x86_64
*) echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
19607 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6
19608 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
19609 echo $ECHO_N "(cached) $ECHO_C" >&6
19611 cat >conftest.
$ac_ext <<_ACEOF
19614 cat confdefs.h
>>conftest.
$ac_ext
19615 cat >>conftest.
$ac_ext <<_ACEOF
19616 /* end confdefs.h. */
19621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19622 $EGREP "yes" >/dev
/null
2>&1; then
19623 ac_cv_cpp_def___x86_64__
=yes
19625 ac_cv_cpp_def___x86_64__
=no
19630 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
19631 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6
19632 if test $ac_cv_cpp_def___x86_64__ = yes; then
19633 CFLAGS
="$CFLAGS -D__x86_64__"
19634 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
19637 *alpha
*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19638 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
19639 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19640 echo $ECHO_N "(cached) $ECHO_C" >&6
19642 cat >conftest.
$ac_ext <<_ACEOF
19645 cat confdefs.h
>>conftest.
$ac_ext
19646 cat >>conftest.
$ac_ext <<_ACEOF
19647 /* end confdefs.h. */
19652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19653 $EGREP "yes" >/dev
/null
2>&1; then
19654 ac_cv_cpp_def___ALPHA__
=yes
19656 ac_cv_cpp_def___ALPHA__
=no
19661 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
19662 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
19663 if test $ac_cv_cpp_def___ALPHA__ = yes; then
19664 CFLAGS
="$CFLAGS -D__ALPHA__"
19665 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
19668 *sparc
*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
19669 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
19670 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
19671 echo $ECHO_N "(cached) $ECHO_C" >&6
19673 cat >conftest.
$ac_ext <<_ACEOF
19676 cat confdefs.h
>>conftest.
$ac_ext
19677 cat >>conftest.
$ac_ext <<_ACEOF
19678 /* end confdefs.h. */
19683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19684 $EGREP "yes" >/dev
/null
2>&1; then
19685 ac_cv_cpp_def___sparc__
=yes
19687 ac_cv_cpp_def___sparc__
=no
19692 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
19693 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
19694 if test $ac_cv_cpp_def___sparc__ = yes; then
19695 CFLAGS
="$CFLAGS -D__sparc__"
19696 LINTFLAGS
="$LINTFLAGS -D__sparc__"
19699 *powerpc
*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
19700 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
19701 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
19702 echo $ECHO_N "(cached) $ECHO_C" >&6
19704 cat >conftest.
$ac_ext <<_ACEOF
19707 cat confdefs.h
>>conftest.
$ac_ext
19708 cat >>conftest.
$ac_ext <<_ACEOF
19709 /* end confdefs.h. */
19710 #ifndef __powerpc__
19714 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19715 $EGREP "yes" >/dev
/null
2>&1; then
19716 ac_cv_cpp_def___powerpc__
=yes
19718 ac_cv_cpp_def___powerpc__
=no
19723 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
19724 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
19725 if test $ac_cv_cpp_def___powerpc__ = yes; then
19726 CFLAGS
="$CFLAGS -D__powerpc__"
19727 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
19732 case $host_vendor in
19733 *sun
*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
19734 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
19735 if test "${ac_cv_cpp_def___sun__+set}" = set; then
19736 echo $ECHO_N "(cached) $ECHO_C" >&6
19738 cat >conftest.
$ac_ext <<_ACEOF
19741 cat confdefs.h
>>conftest.
$ac_ext
19742 cat >>conftest.
$ac_ext <<_ACEOF
19743 /* end confdefs.h. */
19748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19749 $EGREP "yes" >/dev
/null
2>&1; then
19750 ac_cv_cpp_def___sun__
=yes
19752 ac_cv_cpp_def___sun__
=no
19757 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
19758 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
19759 if test $ac_cv_cpp_def___sun__ = yes; then
19760 CFLAGS
="$CFLAGS -D__sun__"
19761 LINTFLAGS
="$LINTFLAGS -D__sun__"
19770 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
19772 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
19774 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
19776 ac_config_commands
="$ac_config_commands dlls/user/resources"
19778 ac_config_commands
="$ac_config_commands dlls/wineps/data"
19780 ac_config_commands
="$ac_config_commands include/wine"
19783 MAKE_RULES
=Make.rules
19786 MAKE_DLL_RULES
=dlls
/Makedll.rules
19789 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
19792 MAKE_TEST_RULES
=dlls
/Maketest.rules
19795 MAKE_LIB_RULES
=libs
/Makelib.rules
19798 MAKE_PROG_RULES
=programs
/Makeprog.rules
19801 ac_config_files
="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dnsapi/Makefile dlls/dnsapi/tests/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/hhctrl.ocx/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/rasapi32/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/tapi32/Makefile dlls/twain_32/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/usp10/Makefile dlls/usp10/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/w32skrnl/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/winemp3.acm/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls32/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile dlls/x11drv/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile programs/wordpad/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
19804 cat >confcache
<<\_ACEOF
19805 # This file is a shell script that caches the results of configure
19806 # tests run on this system so they can be shared between configure
19807 # scripts and configure runs, see configure's option --config-cache.
19808 # It is not useful on other systems. If it contains results you don't
19809 # want to keep, you may remove or edit it.
19811 # config.status only pays attention to the cache file if you give it
19812 # the --recheck option to rerun configure.
19814 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19815 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19816 # following values.
19820 # The following way of writing the cache mishandles newlines in values,
19821 # but we know of no workaround that is simple, portable, and efficient.
19822 # So, don't put newlines in cache variables' values.
19823 # Ultrix sh set writes to stderr and can't be redirected directly,
19824 # and sets the high bit in the cache file unless we assign to the vars.
19827 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19829 # `set' does not quote correctly, so add quotes (double-quote
19830 # substitution turns \\\\ into \\, and sed turns \\ into \).
19833 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19836 # `set' quotes correctly as required by POSIX, so do not add quotes.
19838 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19845 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19847 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19849 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19850 if test -w $cache_file; then
19851 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19852 cat confcache
>$cache_file
19854 echo "not updating unwritable cache $cache_file"
19859 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19860 # Let make expand exec_prefix.
19861 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19863 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19864 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19865 # trailing colons and then remove the whole line if VPATH becomes empty
19866 # (actually we leave an empty line to preserve line numbers).
19867 if test "x$srcdir" = x.
; then
19868 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
19869 s/:*\$(srcdir):*/:/;
19870 s/:*\${srcdir}:*/:/;
19872 s/^\([^=]*=[ ]*\):*/\1/;
19878 DEFS
=-DHAVE_CONFIG_H
19882 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19883 # 1. Remove the extension, and $U if already installed.
19884 ac_i
=`echo "$ac_i" |
19885 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19887 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
19888 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
19890 LIBOBJS
=$ac_libobjs
19892 LTLIBOBJS
=$ac_ltlibobjs
19896 : ${CONFIG_STATUS=./config.status}
19897 ac_clean_files_save
=$ac_clean_files
19898 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19899 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19900 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19901 cat >$CONFIG_STATUS <<_ACEOF
19903 # Generated by $as_me.
19904 # Run this file to recreate the current configuration.
19905 # Compiler output produced by configure, useful for debugging
19906 # configure, is in config.log if it exists.
19909 ac_cs_recheck=false
19911 SHELL=\${CONFIG_SHELL-$SHELL}
19914 cat >>$CONFIG_STATUS <<\_ACEOF
19915 ## --------------------- ##
19916 ## M4sh Initialization. ##
19917 ## --------------------- ##
19919 # Be Bourne compatible
19920 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19923 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19924 # is contrary to our usage. Disable this feature.
19925 alias -g '${1+"$@"}'='"$@"'
19926 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
19929 DUALCASE
=1; export DUALCASE
# for MKS sh
19931 # Support unset when possible.
19932 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19939 # Work around bugs in pre-3.0 UWIN ksh.
19940 $as_unset ENV MAIL MAILPATH
19947 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19948 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19949 LC_TELEPHONE LC_TIME
19951 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19952 eval $as_var=C
; export $as_var
19958 # Required to use basename.
19959 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19965 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
19966 as_basename
=basename
19972 # Name of the executable.
19973 as_me
=`$as_basename "$0" ||
19974 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19975 X"$0" : 'X\(//\)$' \| \
19976 X"$0" : 'X\(/\)$' \| \
19977 . : '\(.\)' 2>/dev/null ||
19979 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19980 /^X\/\(\/\/\)$/{ s//\1/; q; }
19981 /^X\/\(\/\).*/{ s//\1/; q; }
19985 # PATH needs CR, and LINENO needs CR and PATH.
19986 # Avoid depending upon Character Ranges.
19987 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19988 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19989 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19990 as_cr_digits
='0123456789'
19991 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19993 # The user is always right.
19994 if test "${PATH_SEPARATOR+set}" != set; then
19995 echo "#! /bin/sh" >conf$$.sh
19996 echo "exit 0" >>conf$$.sh
19998 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20007 as_lineno_1
=$LINENO
20008 as_lineno_2
=$LINENO
20009 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20010 test "x$as_lineno_1" != "x$as_lineno_2" &&
20011 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20012 # Find who we are. Look in the path if we contain no path at all
20015 *[\\/]* ) as_myself
=$0 ;;
20016 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20017 for as_dir
in $PATH
20020 test -z "$as_dir" && as_dir
=.
20021 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20026 # We did not find ourselves, most probably we were run as `sh COMMAND'
20027 # in which case we are not to be found in the path.
20028 if test "x$as_myself" = x
; then
20031 if test ! -f "$as_myself"; then
20032 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20033 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20034 { (exit 1); exit 1; }; }
20036 case $CONFIG_SHELL in
20038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20039 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20042 test -z "$as_dir" && as_dir
=.
20043 for as_base
in sh bash ksh sh5
; do
20046 if ("$as_dir/$as_base" -c '
20047 as_lineno_1=$LINENO
20048 as_lineno_2=$LINENO
20049 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20050 test "x$as_lineno_1" != "x$as_lineno_2" &&
20051 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20052 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20053 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20054 CONFIG_SHELL
=$as_dir/$as_base
20055 export CONFIG_SHELL
20056 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20064 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20065 # uniformly replaced by the line number. The first 'sed' inserts a
20066 # line-number line before each line; the second 'sed' does the real
20067 # work. The second script uses 'N' to pair each line-number line
20068 # with the numbered line, and appends trailing '-' during
20069 # substitution so that $LINENO is not a special case at line end.
20070 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20071 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20072 sed '=' <$as_myself |
20077 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20080 s,^['$as_cr_digits']*\n,,
20081 ' >$as_me.lineno
&&
20082 chmod +x
$as_me.lineno ||
20083 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20084 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20085 { (exit 1); exit 1; }; }
20087 # Don't try to exec as it changes $[0], causing all sort of problems
20088 # (the dirname of $[0] is not the place where we might find the
20089 # original and so on. Autoconf is especially sensible to this).
20091 # Exit status is that of the last command.
20096 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20097 *c
*,-n*) ECHO_N
= ECHO_C
='
20099 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20100 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20103 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20109 rm -f conf$$ conf$$.exe conf$$.
file
20111 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20112 # We could just check for DJGPP; but this test a) works b) is more generic
20113 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20114 if test -f conf$$.exe
; then
20115 # Don't use ln at all; we don't have any links
20120 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20125 rm -f conf$$ conf$$.exe conf$$.
file
20127 if mkdir
-p .
2>/dev
/null
; then
20130 test -d .
/-p && rmdir .
/-p
20134 as_executable_p
="test -f"
20136 # Sed expression to map a string onto a valid CPP name.
20137 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20139 # Sed expression to map a string onto a valid variable name.
20140 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20144 # We need space, tab and new line, in precisely that order.
20154 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20155 # report actual input values of CONFIG_FILES etc. instead of their
20156 # values after options handling. Logging --version etc. is OK.
20160 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20161 ## Running $as_me. ##
20166 This file was extended by Wine $as_me 0.9.12, which was
20167 generated by GNU Autoconf 2.59. Invocation command line was
20169 CONFIG_FILES = $CONFIG_FILES
20170 CONFIG_HEADERS = $CONFIG_HEADERS
20171 CONFIG_LINKS = $CONFIG_LINKS
20172 CONFIG_COMMANDS = $CONFIG_COMMANDS
20176 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20180 # Files that config.status was made for.
20181 if test -n "$ac_config_files"; then
20182 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20185 if test -n "$ac_config_headers"; then
20186 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20189 if test -n "$ac_config_links"; then
20190 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20193 if test -n "$ac_config_commands"; then
20194 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20197 cat >>$CONFIG_STATUS <<\_ACEOF
20200 \`$as_me' instantiates files from templates according to the
20201 current configuration.
20203 Usage: $0 [OPTIONS] [FILE]...
20205 -h, --help print this help, then exit
20206 -V, --version print version number, then exit
20207 -q, --quiet do not print progress messages
20208 -d, --debug don't remove temporary files
20209 --recheck update $as_me by reconfiguring in the same conditions
20210 --file=FILE[:TEMPLATE]
20211 instantiate the configuration file FILE
20212 --header=FILE[:TEMPLATE]
20213 instantiate the configuration header FILE
20215 Configuration files:
20218 Configuration headers:
20221 Configuration commands:
20224 Report bugs to <bug-autoconf@gnu.org>."
20227 cat >>$CONFIG_STATUS <<_ACEOF
20229 Wine config.status 0.9.12
20230 configured by $0, generated by GNU Autoconf 2.59,
20231 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20233 Copyright (C) 2003 Free Software Foundation, Inc.
20234 This config.status script is free software; the Free Software Foundation
20235 gives unlimited permission to copy, distribute and modify it."
20240 cat >>$CONFIG_STATUS <<\_ACEOF
20241 # If no file are specified by the user, then we need to provide default
20242 # value. By we need to know if files were specified by the user.
20248 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20249 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20257 *) # This is not an option, so the user has probably given explicit
20260 ac_need_defaults
=false
;;
20264 # Handling of the options.
20266 cat >>$CONFIG_STATUS <<\_ACEOF
20267 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20269 --version |
--vers* |
-V )
20270 echo "$ac_cs_version"; exit 0 ;;
20272 # Conflict between --help and --header
20273 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20274 Try \`$0 --help' for more information." >&5
20275 echo "$as_me: error: ambiguous option: $1
20276 Try \`$0 --help' for more information." >&2;}
20277 { (exit 1); exit 1; }; };;
20278 --help |
--hel |
-h )
20279 echo "$ac_cs_usage"; exit 0 ;;
20280 --debug |
--d* |
-d )
20282 --file |
--fil |
--fi |
--f )
20284 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20285 ac_need_defaults
=false
;;
20286 --header |
--heade |
--head |
--hea )
20288 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20289 ac_need_defaults
=false
;;
20290 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20291 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20294 # This is an error.
20295 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20296 Try \`$0 --help' for more information." >&5
20297 echo "$as_me: error: unrecognized option: $1
20298 Try \`$0 --help' for more information." >&2;}
20299 { (exit 1); exit 1; }; } ;;
20301 *) ac_config_targets
="$ac_config_targets $1" ;;
20307 ac_configure_extra_args
=
20309 if $ac_cs_silent; then
20311 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20315 cat >>$CONFIG_STATUS <<_ACEOF
20316 if \$ac_cs_recheck; then
20317 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20318 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20327 cat >>$CONFIG_STATUS <<\_ACEOF
20328 for ac_config_target
in $ac_config_targets
20330 case "$ac_config_target" in
20331 # Handling of arguments.
20332 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
20333 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
20334 "dlls/Makeimplib.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
20335 "dlls/Maketest.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
20336 "libs/Makelib.rules" ) CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
20337 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
20338 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20339 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
20340 "dlls/activeds/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
20341 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20342 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20343 "dlls/advpack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
20344 "dlls/advpack/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
20345 "dlls/amstream/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
20346 "dlls/atl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
20347 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20348 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20349 "dlls/cabinet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20350 "dlls/cabinet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
20351 "dlls/capi2032/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20352 "dlls/cards/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
20353 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20354 "dlls/comcat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
20355 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20356 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20357 "dlls/comdlg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
20358 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20359 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20360 "dlls/crypt32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
20361 "dlls/cryptdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
20362 "dlls/ctl3d32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
20363 "dlls/d3d8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20364 "dlls/d3d9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20365 "dlls/d3d9/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
20366 "dlls/d3dim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20367 "dlls/d3drm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20368 "dlls/d3dx8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20369 "dlls/d3dxof/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20370 "dlls/dbghelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20371 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20372 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20373 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20374 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
20375 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
20376 "dlls/dinput/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
20377 "dlls/dinput8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20378 "dlls/dmband/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
20379 "dlls/dmcompos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20380 "dlls/dmime/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
20381 "dlls/dmloader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20382 "dlls/dmscript/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20383 "dlls/dmstyle/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20384 "dlls/dmsynth/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20385 "dlls/dmusic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20386 "dlls/dmusic32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20387 "dlls/dnsapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
20388 "dlls/dnsapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
20389 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
20390 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20391 "dlls/dpnet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20392 "dlls/dpnhpast/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20393 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
20394 "dlls/dsound/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20395 "dlls/dswave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
20396 "dlls/dxdiagn/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20397 "dlls/dxerr8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20398 "dlls/dxerr9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20399 "dlls/dxguid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20400 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
20401 "dlls/gdi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20402 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
20403 "dlls/glut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
20404 "dlls/hhctrl.ocx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20405 "dlls/iccvid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20406 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
20407 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20408 "dlls/imaadp32.acm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
20409 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20410 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
20411 "dlls/iphlpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20412 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20413 "dlls/itss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
20414 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
20415 "dlls/kernel/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20416 "dlls/lz32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
20417 "dlls/lz32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
20418 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20419 "dlls/mapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20420 "dlls/mciavi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
20421 "dlls/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
20422 "dlls/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
20423 "dlls/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
20424 "dlls/mlang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
20425 "dlls/mlang/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20426 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20427 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20428 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
20429 "dlls/mprapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
20430 "dlls/msacm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
20431 "dlls/msacm32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
20432 "dlls/msadp32.acm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
20433 "dlls/mscms/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
20434 "dlls/mscms/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
20435 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20436 "dlls/msftedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
20437 "dlls/msg711.acm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
20438 "dlls/mshtml/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20439 "dlls/mshtml/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
20440 "dlls/msi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
20441 "dlls/msi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
20442 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20443 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
20444 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20445 "dlls/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20446 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20447 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20448 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20449 "dlls/msvcrt40/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20450 "dlls/msvcrtd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20451 "dlls/msvcrtd/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20452 "dlls/msvfw32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
20453 "dlls/msvidc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20454 "dlls/mswsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20455 "dlls/msxml3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
20456 "dlls/msxml3/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
20457 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20458 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20459 "dlls/newdev/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
20460 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20461 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20462 "dlls/objsel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
20463 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20464 "dlls/odbccp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
20465 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
20466 "dlls/ole32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
20467 "dlls/oleacc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20468 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20469 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20470 "dlls/olecli32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
20471 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20472 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20473 "dlls/olesvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
20474 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20475 "dlls/powrprof/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
20476 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
20477 "dlls/psapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
20478 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
20479 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
20480 "dlls/quartz/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
20481 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20482 "dlls/riched20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
20483 "dlls/riched20/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
20484 "dlls/riched32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
20485 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20486 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20487 "dlls/rsabase/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20488 "dlls/rsabase/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
20489 "dlls/rsaenh/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
20490 "dlls/rsaenh/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
20491 "dlls/secur32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
20492 "dlls/secur32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
20493 "dlls/security/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
20494 "dlls/sensapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
20495 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
20496 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20497 "dlls/setupapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
20498 "dlls/sfc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
20499 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20500 "dlls/shdocvw/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
20501 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
20502 "dlls/shell32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20503 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20504 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20505 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20506 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20507 "dlls/spoolss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
20508 "dlls/stdole2.tlb/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
20509 "dlls/stdole32.tlb/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
20510 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
20511 "dlls/strmiids/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
20512 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20513 "dlls/twain_32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
20514 "dlls/unicows/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
20515 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
20516 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20517 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20518 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
20519 "dlls/user/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20520 "dlls/usp10/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
20521 "dlls/usp10/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
20522 "dlls/uuid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
20523 "dlls/uxtheme/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20524 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20525 "dlls/vdmdbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
20526 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
20527 "dlls/version/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
20528 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20529 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20530 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20531 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20532 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20533 "dlls/w32skrnl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
20534 "dlls/winecrt0/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
20535 "dlls/wined3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20536 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
20537 "dlls/winemp3.acm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
20538 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
20539 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
20540 "dlls/wininet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20541 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
20542 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20543 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
20544 "dlls/winmm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20545 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
20546 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20547 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20548 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20549 "dlls/winmm/wineesd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
20550 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20551 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20552 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20553 "dlls/winnls32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
20554 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
20555 "dlls/winspool/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20556 "dlls/wintab32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20557 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20558 "dlls/wldap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
20559 "dlls/wnaspi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
20560 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
20561 "dlls/ws2_32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
20562 "dlls/ws2_32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
20563 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
20564 "dlls/wtsapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
20565 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
20566 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
20567 "fonts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
20568 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20569 "libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
20570 "libs/port/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
20571 "libs/unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/unicode/Makefile" ;;
20572 "libs/wine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
20573 "libs/wpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
20574 "loader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
20575 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
20576 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
20577 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
20578 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
20579 "programs/eject/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
20580 "programs/expand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
20581 "programs/explorer/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
20582 "programs/hh/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
20583 "programs/icinfo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
20584 "programs/iexplore/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
20585 "programs/msiexec/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
20586 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
20587 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
20588 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
20589 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
20590 "programs/rpcss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
20591 "programs/rundll32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
20592 "programs/start/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
20593 "programs/taskmgr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
20594 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
20595 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
20596 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
20597 "programs/wineboot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
20598 "programs/winebrowser/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
20599 "programs/winecfg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
20600 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
20601 "programs/winedbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
20602 "programs/winefile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
20603 "programs/winemenubuilder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
20604 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
20605 "programs/winepath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
20606 "programs/winetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
20607 "programs/winevdm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
20608 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
20609 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
20610 "programs/wordpad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
20611 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
20612 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
20613 "tools/widl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
20614 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
20615 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
20616 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
20617 "tools/winegcc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
20618 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
20619 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
20620 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
20621 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
20622 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
20623 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
20624 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
20625 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
20626 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
20627 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20628 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20629 { (exit 1); exit 1; }; };;
20633 # If the user did not use the arguments to specify the items to instantiate,
20634 # then the envvar interface is used. Set only those that are not.
20635 # We use the long form for the default assignment because of an extremely
20636 # bizarre bug on SunOS 4.1.3.
20637 if $ac_need_defaults; then
20638 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20639 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20640 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20643 # Have a temporary directory for convenience. Make it in the build tree
20644 # simply because there is no reason to put it here, and in addition,
20645 # creating and moving files from /tmp can sometimes cause problems.
20646 # Create a temporary directory, and hook for its removal unless debugging.
20649 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20650 trap '{ (exit 1); exit 1; }' 1 2 13 15
20653 # Create a (secure) tmp directory for tmp files.
20656 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20657 test -n "$tmp" && test -d "$tmp"
20660 tmp
=.
/confstat$$
-$RANDOM
20661 (umask 077 && mkdir
$tmp)
20664 echo "$me: cannot create a temporary directory in ." >&2
20665 { (exit 1); exit 1; }
20670 cat >>$CONFIG_STATUS <<_ACEOF
20673 # CONFIG_FILES section.
20676 # No need to generate the scripts if there are no CONFIG_FILES.
20677 # This happens for instance when ./config.status config.h
20678 if test -n "\$CONFIG_FILES"; then
20679 # Protect against being on the right side of a sed subst in config.status.
20680 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20681 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20682 s,@SHELL@,$SHELL,;t t
20683 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20684 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20685 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20686 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20687 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20688 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20689 s,@exec_prefix@,$exec_prefix,;t t
20690 s,@prefix@,$prefix,;t t
20691 s,@program_transform_name@,$program_transform_name,;t t
20692 s,@bindir@,$bindir,;t t
20693 s,@sbindir@,$sbindir,;t t
20694 s,@libexecdir@,$libexecdir,;t t
20695 s,@datadir@,$datadir,;t t
20696 s,@sysconfdir@,$sysconfdir,;t t
20697 s,@sharedstatedir@,$sharedstatedir,;t t
20698 s,@localstatedir@,$localstatedir,;t t
20699 s,@libdir@,$libdir,;t t
20700 s,@includedir@,$includedir,;t t
20701 s,@oldincludedir@,$oldincludedir,;t t
20702 s,@infodir@,$infodir,;t t
20703 s,@mandir@,$mandir,;t t
20704 s,@build_alias@,$build_alias,;t t
20705 s,@host_alias@,$host_alias,;t t
20706 s,@target_alias@,$target_alias,;t t
20707 s,@DEFS@,$DEFS,;t t
20708 s,@ECHO_C@,$ECHO_C,;t t
20709 s,@ECHO_N@,$ECHO_N,;t t
20710 s,@ECHO_T@,$ECHO_T,;t t
20711 s,@LIBS@,$LIBS,;t t
20712 s,@build@,$build,;t t
20713 s,@build_cpu@,$build_cpu,;t t
20714 s,@build_vendor@,$build_vendor,;t t
20715 s,@build_os@,$build_os,;t t
20716 s,@host@,$host,;t t
20717 s,@host_cpu@,$host_cpu,;t t
20718 s,@host_vendor@,$host_vendor,;t t
20719 s,@host_os@,$host_os,;t t
20720 s,@WIN16_FILES@,$WIN16_FILES,;t t
20721 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
20722 s,@SET_MAKE@,$SET_MAKE,;t t
20724 s,@CFLAGS@,$CFLAGS,;t t
20725 s,@LDFLAGS@,$LDFLAGS,;t t
20726 s,@CPPFLAGS@,$CPPFLAGS,;t t
20727 s,@ac_ct_CC@,$ac_ct_CC,;t t
20728 s,@EXEEXT@,$EXEEXT,;t t
20729 s,@OBJEXT@,$OBJEXT,;t t
20731 s,@CXXFLAGS@,$CXXFLAGS,;t t
20732 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20733 s,@CPPBIN@,$CPPBIN,;t t
20734 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
20735 s,@TOOLSDIR@,$TOOLSDIR,;t t
20737 s,@X_CFLAGS@,$X_CFLAGS,;t t
20738 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
20739 s,@X_LIBS@,$X_LIBS,;t t
20740 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
20742 s,@LEXLIB@,$LEXLIB,;t t
20743 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20744 s,@XLEX@,$XLEX,;t t
20745 s,@BISON@,$BISON,;t t
20747 s,@ac_ct_AS@,$ac_ct_AS,;t t
20749 s,@ac_ct_LD@,$ac_ct_LD,;t t
20751 s,@ac_ct_AR@,$ac_ct_AR,;t t
20752 s,@RANLIB@,$RANLIB,;t t
20753 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20754 s,@STRIP@,$STRIP,;t t
20755 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20756 s,@WINDRES@,$WINDRES,;t t
20757 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
20758 s,@LN_S@,$LN_S,;t t
20760 s,@EGREP@,$EGREP,;t t
20761 s,@LDCONFIG@,$LDCONFIG,;t t
20762 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20763 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20764 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20765 s,@LINT@,$LINT,;t t
20766 s,@LINTFLAGS@,$LINTFLAGS,;t t
20767 s,@FONTFORGE@,$FONTFORGE,;t t
20768 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
20769 s,@PRELINK@,$PRELINK,;t t
20770 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
20771 s,@XLIB@,$XLIB,;t t
20772 s,@XFILES@,$XFILES,;t t
20773 s,@OPENGLFILES@,$OPENGLFILES,;t t
20774 s,@GLU32FILES@,$GLU32FILES,;t t
20775 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
20776 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
20777 s,@GLUT32FILES@,$GLUT32FILES,;t t
20778 s,@NASLIBS@,$NASLIBS,;t t
20779 s,@XML2LIBS@,$XML2LIBS,;t t
20780 s,@XML2INCL@,$XML2INCL,;t t
20781 s,@XSLTLIBS@,$XSLTLIBS,;t t
20782 s,@XSLTINCL@,$XSLTINCL,;t t
20783 s,@HALINCL@,$HALINCL,;t t
20784 s,@CURSESLIBS@,$CURSESLIBS,;t t
20785 s,@sane_devel@,$sane_devel,;t t
20786 s,@SANELIBS@,$SANELIBS,;t t
20787 s,@SANEINCL@,$SANEINCL,;t t
20788 s,@ICULIBS@,$ICULIBS,;t t
20789 s,@RESOLVLIBS@,$RESOLVLIBS,;t t
20790 s,@LCMSLIBS@,$LCMSLIBS,;t t
20791 s,@LDAPLIBS@,$LDAPLIBS,;t t
20792 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
20793 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
20794 s,@ft_devel@,$ft_devel,;t t
20795 s,@ft_devel2@,$ft_devel2,;t t
20796 s,@FONTSSUBDIRS@,$FONTSSUBDIRS,;t t
20797 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
20798 s,@ARTSLIBS@,$ARTSLIBS,;t t
20799 s,@ARTSINCL@,$ARTSINCL,;t t
20800 s,@ESDCONFIG@,$ESDCONFIG,;t t
20801 s,@ESDLIBS@,$ESDLIBS,;t t
20802 s,@ESDINCL@,$ESDINCL,;t t
20803 s,@ALSALIBS@,$ALSALIBS,;t t
20804 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
20805 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
20806 s,@BUILTINFLAG@,$BUILTINFLAG,;t t
20807 s,@DLLEXT@,$DLLEXT,;t t
20808 s,@DLLFLAGS@,$DLLFLAGS,;t t
20809 s,@DLLIBS@,$DLLIBS,;t t
20810 s,@LDSHARED@,$LDSHARED,;t t
20811 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
20812 s,@LIBEXT@,$LIBEXT,;t t
20813 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
20814 s,@DLLTOOL@,$DLLTOOL,;t t
20815 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
20816 s,@DLLWRAP@,$DLLWRAP,;t t
20817 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
20818 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
20819 s,@LDEXERPATH@,$LDEXERPATH,;t t
20820 s,@LDDLLRPATH@,$LDDLLRPATH,;t t
20821 s,@COREFOUNDATIONLIB@,$COREFOUNDATIONLIB,;t t
20822 s,@IOKITLIB@,$IOKITLIB,;t t
20823 s,@CROSSTEST@,$CROSSTEST,;t t
20824 s,@CROSSCC@,$CROSSCC,;t t
20825 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
20826 s,@LDPATH@,$LDPATH,;t t
20827 s,@CRTLIBS@,$CRTLIBS,;t t
20828 s,@SOCKETLIBS@,$SOCKETLIBS,;t t
20829 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
20830 s,@EXTRA_BINARIES@,$EXTRA_BINARIES,;t t
20832 s,@LIBOBJS@,$LIBOBJS,;t t
20833 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20834 /@MAKE_RULES@/r $MAKE_RULES
20835 s,@MAKE_RULES@,,;t t
20836 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
20837 s,@MAKE_DLL_RULES@,,;t t
20838 /@MAKE_IMPLIB_RULES@/r $MAKE_IMPLIB_RULES
20839 s,@MAKE_IMPLIB_RULES@,,;t t
20840 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
20841 s,@MAKE_TEST_RULES@,,;t t
20842 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
20843 s,@MAKE_LIB_RULES@,,;t t
20844 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
20845 s,@MAKE_PROG_RULES@,,;t t
20850 cat >>$CONFIG_STATUS <<\_ACEOF
20851 # Split the substitutions into bite-sized pieces for seds with
20852 # small command number limits, like on Digital OSF/1 and HP-UX.
20853 ac_max_sed_lines
=48
20854 ac_sed_frag
=1 # Number of current file.
20855 ac_beg
=1 # First line for current file.
20856 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20859 while $ac_more_lines; do
20860 if test $ac_beg -gt 1; then
20861 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20863 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20865 if test ! -s $tmp/subs.frag
; then
20866 ac_more_lines
=false
20868 # The purpose of the label and of the branching condition is to
20869 # speed up the sed processing (if there are no `@' at all, there
20870 # is no need to browse any of the substitutions).
20871 # These are the two extra sed commands mentioned above.
20873 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20874 if test -z "$ac_sed_cmds"; then
20875 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20877 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20879 ac_sed_frag
=`expr $ac_sed_frag + 1`
20881 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20884 if test -z "$ac_sed_cmds"; then
20887 fi # test -n "$CONFIG_FILES"
20890 cat >>$CONFIG_STATUS <<\_ACEOF
20891 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20892 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20894 - |
*:- |
*:-:* ) # input from stdin
20896 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20897 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20898 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20899 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20900 * ) ac_file_in
=$ac_file.
in ;;
20903 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20904 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20905 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20906 X"$ac_file" : 'X\(//\)[^/]' \| \
20907 X"$ac_file" : 'X\(//\)$' \| \
20908 X"$ac_file" : 'X\(/\)' \| \
20909 . : '\(.\)' 2>/dev/null ||
20911 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20912 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20913 /^X\(\/\/\)$/{ s//\1/; q; }
20914 /^X\(\/\).*/{ s//\1/; q; }
20916 { if $as_mkdir_p; then
20921 while test ! -d "$as_dir"; do
20922 as_dirs
="$as_dir $as_dirs"
20923 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20924 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20925 X"$as_dir" : 'X\(//\)[^/]' \| \
20926 X"$as_dir" : 'X\(//\)$' \| \
20927 X"$as_dir" : 'X\(/\)' \| \
20928 . : '\(.\)' 2>/dev/null ||
20930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20931 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20932 /^X\(\/\/\)$/{ s//\1/; q; }
20933 /^X\(\/\).*/{ s//\1/; q; }
20936 test ! -n "$as_dirs" || mkdir
$as_dirs
20937 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20938 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20939 { (exit 1); exit 1; }; }; }
20943 if test "$ac_dir" != .
; then
20944 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20945 # A "../" for each directory in $ac_dir_suffix.
20946 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20948 ac_dir_suffix
= ac_top_builddir
=
20952 .
) # No --srcdir option. We are building in place.
20954 if test -z "$ac_top_builddir"; then
20957 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20959 [\\/]* | ?
:[\\/]* ) # Absolute path.
20960 ac_srcdir
=$srcdir$ac_dir_suffix;
20961 ac_top_srcdir
=$srcdir ;;
20962 *) # Relative path.
20963 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20964 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20967 # Do not use `cd foo && pwd` to compute absolute paths, because
20968 # the directories may not exist.
20970 .
) ac_abs_builddir
="$ac_dir";;
20973 .
) ac_abs_builddir
=`pwd`;;
20974 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20975 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20978 case $ac_abs_builddir in
20979 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20981 case ${ac_top_builddir}.
in
20982 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20983 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20984 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20987 case $ac_abs_builddir in
20988 .
) ac_abs_srcdir
=$ac_srcdir;;
20991 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20992 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20993 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20996 case $ac_abs_builddir in
20997 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20999 case $ac_top_srcdir in
21000 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21001 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21002 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21008 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21009 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21012 # Let's still pretend it is `configure' which instantiates (i.e., don't
21013 # use $as_me), people would be surprised to read:
21014 # /* config.h. Generated by config.status. */
21015 if test x
"$ac_file" = x-
; then
21018 configure_input
="$ac_file. "
21020 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21021 sed 's,.*/,,'` by configure."
21023 # First look for the input files in the build tree, otherwise in the
21025 ac_file_inputs
=`IFS=:
21026 for f in $ac_file_in; do
21028 -) echo $tmp/stdin ;;
21030 # Absolute (can't be DOS-style, as IFS=:)
21031 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21032 echo "$as_me: error: cannot find input file: $f" >&2;}
21033 { (exit 1); exit 1; }; }
21036 if test -f "$f"; then
21039 elif test -f "$srcdir/$f"; then
21044 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21045 echo "$as_me: error: cannot find input file: $f" >&2;}
21046 { (exit 1); exit 1; }; }
21049 done` ||
{ (exit 1); exit 1; }
21051 if test x
"$ac_file" != x-
; then
21052 { echo "$as_me:$LINENO: creating $ac_file" >&5
21053 echo "$as_me: creating $ac_file" >&6;}
21057 cat >>$CONFIG_STATUS <<_ACEOF
21061 cat >>$CONFIG_STATUS <<\_ACEOF
21063 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21064 s
,@configure_input@
,$configure_input,;t t
21065 s
,@srcdir@
,$ac_srcdir,;t t
21066 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21067 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21068 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21069 s
,@builddir@
,$ac_builddir,;t t
21070 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21071 s
,@top_builddir@
,$ac_top_builddir,;t t
21072 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21073 s
,@INSTALL@
,$ac_INSTALL,;t t
21074 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21076 if test x"$ac_file" != x-; then
21077 mv $tmp/out $ac_file
21085 cat >>$CONFIG_STATUS <<\_ACEOF
21088 # CONFIG_HEADER section.
21091 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21092 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21094 # ac_d sets the value in "#define NAME VALUE" lines.
21095 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21096 ac_dB
='[ ].*$,\1#\2'
21099 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21100 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21101 ac_uB
='$,\1#\2define\3'
21105 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21106 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21108 - |
*:- |
*:-:* ) # input from stdin
21110 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21111 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21112 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21113 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21114 * ) ac_file_in
=$ac_file.
in ;;
21117 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21118 echo "$as_me: creating $ac_file" >&6;}
21120 # First look for the input files in the build tree, otherwise in the
21122 ac_file_inputs
=`IFS=:
21123 for f in $ac_file_in; do
21125 -) echo $tmp/stdin ;;
21127 # Absolute (can't be DOS-style, as IFS=:)
21128 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21129 echo "$as_me: error: cannot find input file: $f" >&2;}
21130 { (exit 1); exit 1; }; }
21131 # Do quote $f, to prevent DOS paths from being IFS'd.
21134 if test -f "$f"; then
21137 elif test -f "$srcdir/$f"; then
21142 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21143 echo "$as_me: error: cannot find input file: $f" >&2;}
21144 { (exit 1); exit 1; }; }
21147 done` ||
{ (exit 1); exit 1; }
21148 # Remove the trailing spaces.
21149 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21153 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21154 # `conftest.undefs', that substitutes the proper values into
21155 # config.h.in to produce config.h. The first handles `#define'
21156 # templates, and the second `#undef' templates.
21157 # And first: Protect against being on the right side of a sed subst in
21158 # config.status. Protect against being in an unquoted here document
21159 # in config.status.
21160 rm -f conftest.defines conftest.undefs
21161 # Using a here document instead of a string reduces the quoting nightmare.
21162 # Putting comments in sed scripts is not portable.
21164 # `end' is used to avoid that the second main sed command (meant for
21165 # 0-ary CPP macros) applies to n-ary macro definitions.
21166 # See the Autoconf documentation for `clear'.
21167 cat >confdef2sed.
sed <<\_ACEOF
21172 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21174 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21177 # If some macros were called several times there might be several times
21178 # the same #defines, which is useless. Nevertheless, we may not want to
21179 # sort them, since we want the *last* AC-DEFINE to be honored.
21180 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21181 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21182 rm -f confdef2sed.sed
21184 # This sed command replaces #undef with comments. This is necessary, for
21185 # example, in the case of _POSIX_SOURCE, which is predefined and required
21186 # on some systems where configure will not decide to define it.
21187 cat >>conftest.undefs <<\_ACEOF
21188 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21191 # Break up conftest.defines because some shells have a limit on the size
21192 # of here documents, and old seds have small limits too (100 cmds).
21193 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21194 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21195 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21196 echo ' :' >>$CONFIG_STATUS
21197 rm -f conftest.tail
21198 while grep . conftest.defines >/dev/null
21200 # Write a limited-size here document to $tmp/defines.sed.
21201 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21202 # Speed up: don't consider the non `#define' lines.
21203 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21204 # Work around the forget-to-reset-the-flag bug.
21205 echo 't clr' >>$CONFIG_STATUS
21206 echo ': clr' >>$CONFIG_STATUS
21207 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21209 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21211 mv $tmp/out $tmp/in
21213 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21214 rm -f conftest.defines
21215 mv conftest.
tail conftest.defines
21217 rm -f conftest.defines
21218 echo ' fi # grep' >>$CONFIG_STATUS
21219 echo >>$CONFIG_STATUS
21221 # Break up conftest.undefs because some shells have a limit on the size
21222 # of here documents, and old seds have small limits too (100 cmds).
21223 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21224 rm -f conftest.
tail
21225 while grep . conftest.undefs
>/dev
/null
21227 # Write a limited-size here document to $tmp/undefs.sed.
21228 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21229 # Speed up: don't consider the non
`#undef'
21230 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21231 # Work around the forget-to-reset-the-flag bug.
21232 echo 't clr' >>$CONFIG_STATUS
21233 echo ': clr' >>$CONFIG_STATUS
21234 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21236 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21238 mv $tmp/out $tmp/in
21240 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21241 rm -f conftest.undefs
21242 mv conftest.tail conftest.undefs
21244 rm -f conftest.undefs
21246 cat >>$CONFIG_STATUS <<\_ACEOF
21247 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21248 # use $as_me), people would be surprised to read:
21249 # /* config.h. Generated by config.status. */
21250 if test x
"$ac_file" = x-
; then
21251 echo "/* Generated by configure. */" >$tmp/config.h
21253 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21255 cat $tmp/in >>$tmp/config.h
21257 if test x
"$ac_file" != x-
; then
21258 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21259 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21260 echo "$as_me: $ac_file is unchanged" >&6;}
21262 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21263 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21264 X"$ac_file" : 'X\(//\)[^/]' \| \
21265 X"$ac_file" : 'X\(//\)$' \| \
21266 X"$ac_file" : 'X\(/\)' \| \
21267 . : '\(.\)' 2>/dev/null ||
21269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21270 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21271 /^X\(\/\/\)$/{ s//\1/; q; }
21272 /^X\(\/\).*/{ s//\1/; q; }
21274 { if $as_mkdir_p; then
21279 while test ! -d "$as_dir"; do
21280 as_dirs
="$as_dir $as_dirs"
21281 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21282 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21283 X"$as_dir" : 'X\(//\)[^/]' \| \
21284 X"$as_dir" : 'X\(//\)$' \| \
21285 X"$as_dir" : 'X\(/\)' \| \
21286 . : '\(.\)' 2>/dev/null ||
21288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21289 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21290 /^X\(\/\/\)$/{ s//\1/; q; }
21291 /^X\(\/\).*/{ s//\1/; q; }
21294 test ! -n "$as_dirs" || mkdir
$as_dirs
21295 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21296 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21297 { (exit 1); exit 1; }; }; }
21300 mv $tmp/config.h
$ac_file
21304 rm -f $tmp/config.h
21308 cat >>$CONFIG_STATUS <<\_ACEOF
21311 # CONFIG_COMMANDS section.
21313 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21314 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21315 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21316 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21317 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21318 X"$ac_dest" : 'X\(//\)[^/]' \| \
21319 X"$ac_dest" : 'X\(//\)$' \| \
21320 X"$ac_dest" : 'X\(/\)' \| \
21321 . : '\(.\)' 2>/dev/null ||
21323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21324 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21325 /^X\(\/\/\)$/{ s//\1/; q; }
21326 /^X\(\/\).*/{ s//\1/; q; }
21328 { if $as_mkdir_p; then
21333 while test ! -d "$as_dir"; do
21334 as_dirs
="$as_dir $as_dirs"
21335 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21336 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21337 X"$as_dir" : 'X\(//\)[^/]' \| \
21338 X"$as_dir" : 'X\(//\)$' \| \
21339 X"$as_dir" : 'X\(/\)' \| \
21340 . : '\(.\)' 2>/dev/null ||
21342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21343 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21344 /^X\(\/\/\)$/{ s//\1/; q; }
21345 /^X\(\/\).*/{ s//\1/; q; }
21348 test ! -n "$as_dirs" || mkdir
$as_dirs
21349 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21350 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21351 { (exit 1); exit 1; }; }; }
21355 if test "$ac_dir" != .
; then
21356 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21357 # A "../" for each directory in $ac_dir_suffix.
21358 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21360 ac_dir_suffix
= ac_top_builddir
=
21364 .
) # No --srcdir option. We are building in place.
21366 if test -z "$ac_top_builddir"; then
21369 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21371 [\\/]* | ?
:[\\/]* ) # Absolute path.
21372 ac_srcdir
=$srcdir$ac_dir_suffix;
21373 ac_top_srcdir
=$srcdir ;;
21374 *) # Relative path.
21375 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21376 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21379 # Do not use `cd foo && pwd` to compute absolute paths, because
21380 # the directories may not exist.
21382 .
) ac_abs_builddir
="$ac_dir";;
21385 .
) ac_abs_builddir
=`pwd`;;
21386 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21387 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21390 case $ac_abs_builddir in
21391 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21393 case ${ac_top_builddir}.
in
21394 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21395 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21396 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21399 case $ac_abs_builddir in
21400 .
) ac_abs_srcdir
=$ac_srcdir;;
21403 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21404 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21405 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21408 case $ac_abs_builddir in
21409 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21411 case $ac_top_srcdir in
21412 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21413 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21414 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21419 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21420 echo "$as_me: executing $ac_dest commands" >&6;}
21422 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21423 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
21424 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21425 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
21426 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21427 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
21428 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21429 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
21430 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21431 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
21432 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
21433 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
21438 cat >>$CONFIG_STATUS <<\_ACEOF
21440 { (exit 0); exit 0; }
21442 chmod +x
$CONFIG_STATUS
21443 ac_clean_files
=$ac_clean_files_save
21446 # configure is writing to config.log, and then calls config.status.
21447 # config.status does its own redirection, appending to config.log.
21448 # Unfortunately, on DOS this fails, as config.log is still kept open
21449 # by configure, so config.status won't be able to write to it; its
21450 # output is simply discarded. So we exec the FD to /dev/null,
21451 # effectively closing config.log, so it can be properly (re)opened and
21452 # appended to by config.status. When coming back to configure, we
21453 # need to make the FD available again.
21454 if test "$no_create" != yes; then
21456 ac_config_status_args
=
21457 test "$silent" = yes &&
21458 ac_config_status_args
="$ac_config_status_args --quiet"
21460 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21462 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21463 # would make configure fail if this is the last instruction.
21464 $ac_cs_success ||
{ (exit 1); exit 1; }
21469 if test "$have_x" = "no"
21472 echo "*** Warning: X development files not found. Wine will be built without"
21473 echo "*** X support, which currently does not work, and would probably not be"
21474 echo "*** what you want anyway. You will need to install devel packages of"
21475 echo "*** Xlib/Xfree86 at the very least."
21479 if test "$wine_cv_opengl_version_OK" = "no"
21482 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21483 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21487 if test "$wine_cv_msg_freetype" = "yes"
21490 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21491 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21492 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21493 echo "*** enable Wine to use TrueType fonts."
21497 if test "$wine_cv_msg_fonts" = "yes"
21500 echo "*** Warning: Freetype or Fontforge is missing."
21501 echo "*** Fonts will not be built. Dialog text may be invisible or unaligned."
21505 if test -z "$ALSALIBS" -a \
21506 -z "$ARTSC_LIBS" -a \
21507 -z "$AUDIOIOLIBS" -a \
21509 -z "$ESD_LIBS" -a \
21510 -z "$ac_cv_lib_soname_jack" -a \
21511 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
21512 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
21513 "$ac_cv_header_soundcard_h" != "yes"
21515 echo "*** No sound system was found. Windows applications will be silent."
21516 echo "*** The currently supported sound systems are:"
21517 echo "*** ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS"
21522 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."