Fixed a bug where freqAdjust was not being updated properly when the
[wine/multimedia.git] / configure
blob9aef734d95ce9a47c43ff5d35b347b7277b63231
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20040716.
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
16 emulate sh
17 NULLCMD=:
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
22 set -o posix
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
28 as_unset=unset
29 else
30 as_unset=false
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
40 # NLS nuisances.
41 for as_var in \
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 \
44 LC_TELEPHONE LC_TIME
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
48 else
49 $as_unset $as_var
51 done
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56 else
57 as_expr=false
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62 else
63 as_basename=false
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 ||
73 echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; 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
92 chmod +x conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 PATH_SEPARATOR=';'
95 else
96 PATH_SEPARATOR=:
98 rm -f conf$$.sh
102 as_lineno_1=$LINENO
103 as_lineno_2=$LINENO
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
108 # relative or not.
109 case $0 in
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 for as_dir in $PATH
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 done
120 esac
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
124 as_myself=$0
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
135 IFS=$as_save_IFS
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
138 case $as_dir in
140 if ("$as_dir/$as_base" -c '
141 as_lineno_1=$LINENO
142 as_lineno_2=$LINENO
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
149 export CONFIG_SHELL
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 fi;;
152 esac
153 done
154 done
156 esac
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 |
167 sed '
169 s,$,-,
170 : loop
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 t loop
173 s,-$,,
174 s,^['$as_cr_digits']*\n,,
175 ' >$as_me.lineno &&
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).
183 . ./$as_me.lineno
184 # Exit status is that of the last command.
185 exit
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
191 ' ECHO_T=' ' ;;
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 esac
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198 else
199 as_expr=false
202 rm -f conf$$ conf$$.exe conf$$.file
203 echo >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
209 as_ln_s='cp -p'
210 else
211 as_ln_s='ln -s'
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215 else
216 as_ln_s='cp -p'
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=:
222 else
223 test -d ./-p && rmdir ./-p
224 as_mkdir_p=false
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'"
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
240 IFS=" $as_nl"
242 # CDPATH.
243 $as_unset CDPATH
246 # Name of the host.
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`
251 exec 6>&1
254 # Initializations.
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
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.
270 PACKAGE_NAME='Wine'
271 PACKAGE_TARNAME='wine'
272 PACKAGE_VERSION='20040716'
273 PACKAGE_STRING='Wine 20040716'
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="\
279 #include <stdio.h>
280 #if HAVE_SYS_TYPES_H
281 # include <sys/types.h>
282 #endif
283 #if HAVE_SYS_STAT_H
284 # include <sys/stat.h>
285 #endif
286 #if STDC_HEADERS
287 # include <stdlib.h>
288 # include <stddef.h>
289 #else
290 # if HAVE_STDLIB_H
291 # include <stdlib.h>
292 # endif
293 #endif
294 #if HAVE_STRING_H
295 # if !STDC_HEADERS && HAVE_MEMORY_H
296 # include <memory.h>
297 # endif
298 # include <string.h>
299 #endif
300 #if HAVE_STRINGS_H
301 # include <strings.h>
302 #endif
303 #if HAVE_INTTYPES_H
304 # include <inttypes.h>
305 #else
306 # if HAVE_STDINT_H
307 # include <stdint.h>
308 # endif
309 #endif
310 #if HAVE_UNISTD_H
311 # include <unistd.h>
312 #endif"
314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS WIN16_FILES WIN16_INSTALL build build_cpu build_vendor build_os host host_cpu host_vendor host_os SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPPBIN ac_ct_CPPBIN TOOLSDIR CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LEX LEXLIB LEX_OUTPUT_ROOT XLEX BISON AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES LN_S LN LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS DB2HTML DB2PDF DB2PS DB2TXT LIBPTHREAD XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS EGREP GLUT_LIBS GLUT32FILES NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS ft_devel ft_devel2 FREETYPEINCL ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS CAPI4LINUXLIBS EXTRACFLAGS DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLLFLAGS LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS LDLIBWINEFLAGS CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS WINE_BINARIES MAIN_BINARY LDD ALLOCA LIBOBJS LTLIBOBJS'
315 ac_subst_files='MAKE_RULES MAKE_DLL_RULES MAKE_TEST_RULES MAKE_LIB_RULES MAKE_PROG_RULES'
317 # Initialize some variables set by options.
318 ac_init_help=
319 ac_init_version=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
322 cache_file=/dev/null
323 exec_prefix=NONE
324 no_create=
325 no_recursion=
326 prefix=NONE
327 program_prefix=NONE
328 program_suffix=NONE
329 program_transform_name=s,x,x,
330 silent=
331 site=
332 srcdir=
333 verbose=
334 x_includes=NONE
335 x_libraries=NONE
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'
355 ac_prev=
356 for ac_option
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
361 ac_prev=
362 continue
365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
369 case $ac_option in
371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
372 ac_prev=bindir ;;
373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 bindir=$ac_optarg ;;
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 ;;
388 --config-cache | -C)
389 cache_file=config.cache ;;
391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392 ac_prev=datadir ;;
393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394 | --da=*)
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'`
413 case $ac_option in
414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 *) ac_optarg=yes ;;
416 esac
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.
430 with_gas=yes ;;
432 -help | --help | --hel | --he | -h)
433 ac_init_help=long ;;
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)
452 ac_prev=infodir ;;
453 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454 infodir=$ac_optarg ;;
456 -libdir | --libdir | --libdi | --libd)
457 ac_prev=libdir ;;
458 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 libdir=$ac_optarg ;;
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)
478 ac_prev=mandir ;;
479 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 mandir=$ac_optarg ;;
482 -nfp | --nfp | --nf)
483 # Obsolete; use --without-fp.
484 with_fp=no ;;
486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 | --no-cr | --no-c | -n)
488 no_create=yes ;;
490 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 no_recursion=yes ;;
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)
504 ac_prev=prefix ;;
505 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 prefix=$ac_optarg ;;
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)
541 silent=yes ;;
543 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544 ac_prev=sbindir ;;
545 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546 | --sbi=* | --sb=*)
547 sbindir=$ac_optarg ;;
549 -sharedstatedir | --sharedstatedir | --sharedstatedi \
550 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551 | --sharedst | --shareds | --shared | --share | --shar \
552 | --sha | --sh)
553 ac_prev=sharedstatedir ;;
554 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557 | --sha=* | --sh=*)
558 sharedstatedir=$ac_optarg ;;
560 -site | --site | --sit)
561 ac_prev=site ;;
562 -site=* | --site=* | --sit=*)
563 site=$ac_optarg ;;
565 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566 ac_prev=srcdir ;;
567 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 srcdir=$ac_optarg ;;
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)
583 verbose=yes ;;
585 -version | --version | --versio | --versi | --vers | -V)
586 ac_init_version=: ;;
588 -with-* | --with-*)
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'`
595 case $ac_option in
596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 *) ac_optarg=yes ;;
598 esac
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" ;;
610 --x)
611 # Obsolete; use --with-x.
612 with_x=yes ;;
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; }; }
633 *=*)
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'"
641 export $ac_envvar ;;
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}
651 esac
652 done
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`
664 case $ac_val in
665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
668 esac
669 done
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`
676 case $ac_val in
677 [\\/$]* | ?:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
680 esac
681 done
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.
686 build=$build_alias
687 host=$host_alias
688 target=$target_alias
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
697 cross_compiling=yes
701 ac_tool_prefix=
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 ||
717 echo X"$0" |
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
722 s/.*/./; q'`
723 srcdir=$ac_confdir
724 if test ! -r $srcdir/$ac_unique_file; then
725 srcdir=..
727 else
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; }; }
734 else
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}
756 ac_env_CC_value=$CC
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.
790 cat <<_ACEOF
791 \`configure' configures Wine 20040716 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.
800 Configuration:
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 \`..']
811 _ACEOF
813 cat <<_ACEOF
814 Installation directories:
815 --prefix=PREFIX install architecture-independent files in PREFIX
816 [$ac_default_prefix]
817 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
818 [PREFIX]
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]
840 _ACEOF
842 cat <<\_ACEOF
844 X features:
845 --x-includes=DIR X include files are in DIR
846 --x-libraries=DIR X library files are in DIR
848 System types:
849 --build=BUILD configure for building on BUILD [guessed]
850 --host=HOST cross-compile to build programs to run on HOST [BUILD]
851 _ACEOF
854 if test -n "$ac_init_help"; then
855 case $ac_init_help in
856 short | recursive ) echo "Configuration of Wine 20040716:";;
857 esac
858 cat <<\_ACEOF
860 Optional Features:
861 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
862 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
863 --disable-win16 do not include Win16 support
864 --disable-debug compile out all debugging messages
865 --disable-trace compile out TRACE messages
867 Optional Packages:
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
884 CPP C preprocessor
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>.
890 _ACEOF
893 if test "$ac_init_help" = "recursive"; then
894 # If there are subdirs, report their specific --help.
895 ac_popdir=`pwd`
896 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
897 test -d $ac_dir || continue
898 ac_builddir=.
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'`
904 else
905 ac_dir_suffix= ac_top_builddir=
908 case $srcdir in
909 .) # No --srcdir option. We are building in place.
910 ac_srcdir=.
911 if test -z "$ac_top_builddir"; then
912 ac_top_srcdir=.
913 else
914 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
915 fi ;;
916 [\\/]* | ?:[\\/]* ) # Absolute path.
917 ac_srcdir=$srcdir$ac_dir_suffix;
918 ac_top_srcdir=$srcdir ;;
919 *) # Relative path.
920 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
921 ac_top_srcdir=$ac_top_builddir$srcdir ;;
922 esac
924 # Do not use `cd foo && pwd` to compute absolute paths, because
925 # the directories may not exist.
926 case `pwd` in
927 .) ac_abs_builddir="$ac_dir";;
929 case "$ac_dir" in
930 .) ac_abs_builddir=`pwd`;;
931 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
932 *) ac_abs_builddir=`pwd`/"$ac_dir";;
933 esac;;
934 esac
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}.;;
942 esac;;
943 esac
944 case $ac_abs_builddir in
945 .) ac_abs_srcdir=$ac_srcdir;;
947 case $ac_srcdir in
948 .) ac_abs_srcdir=$ac_abs_builddir;;
949 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
950 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
951 esac;;
952 esac
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;;
960 esac;;
961 esac
963 cd $ac_dir
964 # Check for guested configure; otherwise get Cygnus style configure.
965 if test -f $ac_srcdir/configure.gnu; then
966 echo
967 $SHELL $ac_srcdir/configure.gnu --help=recursive
968 elif test -f $ac_srcdir/configure; then
969 echo
970 $SHELL $ac_srcdir/configure --help=recursive
971 elif test -f $ac_srcdir/configure.ac ||
972 test -f $ac_srcdir/configure.in; then
973 echo
974 $ac_configure --help
975 else
976 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
978 cd "$ac_popdir"
979 done
982 test -n "$ac_init_help" && exit 0
983 if $ac_init_version; then
984 cat <<\_ACEOF
985 Wine configure 20040716
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.
991 _ACEOF
992 exit 0
994 exec 5>config.log
995 cat >&5 <<_ACEOF
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 20040716, which was
1000 generated by GNU Autoconf 2.59. Invocation command line was
1002 $ $0 $@
1004 _ACEOF
1006 cat <<_ASUNAME
1007 ## --------- ##
1008 ## Platform. ##
1009 ## --------- ##
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`
1028 _ASUNAME
1030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1031 for as_dir in $PATH
1033 IFS=$as_save_IFS
1034 test -z "$as_dir" && as_dir=.
1035 echo "PATH: $as_dir"
1036 done
1038 } >&5
1040 cat >&5 <<_ACEOF
1043 ## ----------- ##
1044 ## Core tests. ##
1045 ## ----------- ##
1047 _ACEOF
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.
1055 ac_configure_args=
1056 ac_configure_args0=
1057 ac_configure_args1=
1058 ac_sep=
1059 ac_must_keep_next=false
1060 for ac_pass in 1 2
1062 for ac_arg
1064 case $ac_arg in
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)
1068 continue ;;
1069 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1070 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1071 esac
1072 case $ac_pass in
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.
1078 else
1079 case $ac_arg in
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 ;;
1086 esac
1088 -* ) ac_must_keep_next=true ;;
1089 esac
1091 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1092 # Get rid of the leading space.
1093 ac_sep=" "
1095 esac
1096 done
1097 done
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.
1109 echo
1111 cat <<\_ASBOX
1112 ## ---------------- ##
1113 ## Cache variables. ##
1114 ## ---------------- ##
1115 _ASBOX
1116 echo
1117 # The following way of writing the cache mishandles newlines in values,
1119 (set) 2>&1 |
1120 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1121 *ac_space=\ *)
1122 sed -n \
1123 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1127 sed -n \
1128 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1130 esac;
1132 echo
1134 cat <<\_ASBOX
1135 ## ----------------- ##
1136 ## Output variables. ##
1137 ## ----------------- ##
1138 _ASBOX
1139 echo
1140 for ac_var in $ac_subst_vars
1142 eval ac_val=$`echo $ac_var`
1143 echo "$ac_var='"'"'$ac_val'"'"'"
1144 done | sort
1145 echo
1147 if test -n "$ac_subst_files"; then
1148 cat <<\_ASBOX
1149 ## ------------- ##
1150 ## Output files. ##
1151 ## ------------- ##
1152 _ASBOX
1153 echo
1154 for ac_var in $ac_subst_files
1156 eval ac_val=$`echo $ac_var`
1157 echo "$ac_var='"'"'$ac_val'"'"'"
1158 done | sort
1159 echo
1162 if test -s confdefs.h; then
1163 cat <<\_ASBOX
1164 ## ----------- ##
1165 ## confdefs.h. ##
1166 ## ----------- ##
1167 _ASBOX
1168 echo
1169 sed "/^$/d" confdefs.h | sort
1170 echo
1172 test "$ac_signal" != 0 &&
1173 echo "$as_me: caught signal $ac_signal"
1174 echo "$as_me: exit $exit_status"
1175 } >&5
1176 rm -f core *.core &&
1177 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1178 exit $exit_status
1180 for ac_signal in 1 2 13 15; do
1181 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1182 done
1183 ac_signal=0
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.
1188 echo >confdefs.h
1190 # Predefined preprocessor variables.
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_NAME "$PACKAGE_NAME"
1194 _ACEOF
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1199 _ACEOF
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1204 _ACEOF
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_STRING "$PACKAGE_STRING"
1209 _ACEOF
1212 cat >>confdefs.h <<_ACEOF
1213 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1214 _ACEOF
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"
1222 else
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
1231 . "$ac_site_file"
1233 done
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;}
1241 case $cache_file in
1242 [\\/]* | ?:[\\/]* ) . $cache_file;;
1243 *) . ./$cache_file;;
1244 esac
1246 else
1247 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1248 echo "$as_me: creating cache $cache_file" >&6;}
1249 >$cache_file
1252 # Check that the precious variables saved in the cache have kept the same
1253 # value.
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
1262 set,)
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=: ;;
1266 ,set)
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=: ;;
1270 ,);;
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=:
1280 fi;;
1281 esac
1282 # Pass precious variables to config.status.
1283 if test "$ac_new_set" = set; then
1284 case $ac_new_val in
1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1287 *) ac_arg=$ac_var=$ac_new_val ;;
1288 esac
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'" ;;
1292 esac
1294 done
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; }; }
1303 ac_ext=c
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"
1338 ac_aux_dir=
1339 for ac_dir in tools $srcdir/tools; do
1340 if test -f $ac_dir/install-sh; then
1341 ac_aux_dir=$ac_dir
1342 ac_install_sh="$ac_aux_dir/install-sh -c"
1343 break
1344 elif test -f $ac_dir/install.sh; then
1345 ac_aux_dir=$ac_dir
1346 ac_install_sh="$ac_aux_dir/install.sh -c"
1347 break
1348 elif test -f $ac_dir/shtool; then
1349 ac_aux_dir=$ac_dir
1350 ac_install_sh="$ac_aux_dir/shtool install -c"
1351 break
1353 done
1354 if test -z "$ac_aux_dir"; then
1355 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1356 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1357 { (exit 1); exit 1; }; }
1359 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1360 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1361 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1365 # Check whether --enable-win16 or --disable-win16 was given.
1366 if test "${enable_win16+set}" = set; then
1367 enableval="$enable_win16"
1370 # Check whether --enable-debug or --disable-debug was given.
1371 if test "${enable_debug+set}" = set; then
1372 enableval="$enable_debug"
1375 # Check whether --enable-trace or --disable-trace was given.
1376 if test "${enable_trace+set}" = set; then
1377 enableval="$enable_trace"
1382 # Check whether --with-opengl or --without-opengl was given.
1383 if test "${with_opengl+set}" = set; then
1384 withval="$with_opengl"
1388 # Check whether --with-curses or --without-curses was given.
1389 if test "${with_curses+set}" = set; then
1390 withval="$with_curses"
1394 # Check whether --with-wine-tools or --without-wine-tools was given.
1395 if test "${with_wine_tools+set}" = set; then
1396 withval="$with_wine_tools"
1400 WIN16_FILES="\$(WIN16_FILES)"
1402 WIN16_INSTALL="\$(WIN16_INSTALL)"
1404 if test "x$enable_win16" = "xno"
1405 then
1406 WIN16_FILES=""
1407 WIN16_INSTALL=""
1409 if test "x$enable_debug" = "xno"
1410 then
1412 cat >>confdefs.h <<\_ACEOF
1413 #define NO_DEBUG_MSGS 1
1414 _ACEOF
1417 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1418 then
1420 cat >>confdefs.h <<\_ACEOF
1421 #define NO_TRACE_MSGS 1
1422 _ACEOF
1427 # Make sure we can run config.sub.
1428 $ac_config_sub sun4 >/dev/null 2>&1 ||
1429 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1430 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1431 { (exit 1); exit 1; }; }
1433 echo "$as_me:$LINENO: checking build system type" >&5
1434 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1435 if test "${ac_cv_build+set}" = set; then
1436 echo $ECHO_N "(cached) $ECHO_C" >&6
1437 else
1438 ac_cv_build_alias=$build_alias
1439 test -z "$ac_cv_build_alias" &&
1440 ac_cv_build_alias=`$ac_config_guess`
1441 test -z "$ac_cv_build_alias" &&
1442 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1443 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1444 { (exit 1); exit 1; }; }
1445 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1446 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1447 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1448 { (exit 1); exit 1; }; }
1451 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1452 echo "${ECHO_T}$ac_cv_build" >&6
1453 build=$ac_cv_build
1454 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1455 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1456 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1459 echo "$as_me:$LINENO: checking host system type" >&5
1460 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1461 if test "${ac_cv_host+set}" = set; then
1462 echo $ECHO_N "(cached) $ECHO_C" >&6
1463 else
1464 ac_cv_host_alias=$host_alias
1465 test -z "$ac_cv_host_alias" &&
1466 ac_cv_host_alias=$ac_cv_build_alias
1467 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1468 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1469 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1470 { (exit 1); exit 1; }; }
1473 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1474 echo "${ECHO_T}$ac_cv_host" >&6
1475 host=$ac_cv_host
1476 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1477 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1478 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1481 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1482 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1483 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1484 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1485 echo $ECHO_N "(cached) $ECHO_C" >&6
1486 else
1487 cat >conftest.make <<\_ACEOF
1488 all:
1489 @echo 'ac_maketemp="$(MAKE)"'
1490 _ACEOF
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
1495 else
1496 eval ac_cv_prog_make_${ac_make}_set=no
1498 rm -f conftest.make
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
1503 SET_MAKE=
1504 else
1505 echo "$as_me:$LINENO: result: no" >&5
1506 echo "${ECHO_T}no" >&6
1507 SET_MAKE="MAKE=${MAKE-make}"
1510 ac_ext=c
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
1522 else
1523 if test -n "$CC"; then
1524 ac_cv_prog_CC="$CC" # Let the user override the test.
1525 else
1526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1527 for as_dir in $PATH
1529 IFS=$as_save_IFS
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
1535 break 2
1537 done
1538 done
1542 CC=$ac_cv_prog_CC
1543 if test -n "$CC"; then
1544 echo "$as_me:$LINENO: result: $CC" >&5
1545 echo "${ECHO_T}$CC" >&6
1546 else
1547 echo "$as_me:$LINENO: result: no" >&5
1548 echo "${ECHO_T}no" >&6
1552 if test -z "$ac_cv_prog_CC"; then
1553 ac_ct_CC=$CC
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
1560 else
1561 if test -n "$ac_ct_CC"; then
1562 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1563 else
1564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1565 for as_dir in $PATH
1567 IFS=$as_save_IFS
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
1573 break 2
1575 done
1576 done
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
1584 else
1585 echo "$as_me:$LINENO: result: no" >&5
1586 echo "${ECHO_T}no" >&6
1589 CC=$ac_ct_CC
1590 else
1591 CC="$ac_cv_prog_CC"
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
1602 else
1603 if test -n "$CC"; then
1604 ac_cv_prog_CC="$CC" # Let the user override the test.
1605 else
1606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1607 for as_dir in $PATH
1609 IFS=$as_save_IFS
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
1615 break 2
1617 done
1618 done
1622 CC=$ac_cv_prog_CC
1623 if test -n "$CC"; then
1624 echo "$as_me:$LINENO: result: $CC" >&5
1625 echo "${ECHO_T}$CC" >&6
1626 else
1627 echo "$as_me:$LINENO: result: no" >&5
1628 echo "${ECHO_T}no" >&6
1632 if test -z "$ac_cv_prog_CC"; then
1633 ac_ct_CC=$CC
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
1640 else
1641 if test -n "$ac_ct_CC"; then
1642 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1643 else
1644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1645 for as_dir in $PATH
1647 IFS=$as_save_IFS
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
1653 break 2
1655 done
1656 done
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
1664 else
1665 echo "$as_me:$LINENO: result: no" >&5
1666 echo "${ECHO_T}no" >&6
1669 CC=$ac_ct_CC
1670 else
1671 CC="$ac_cv_prog_CC"
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
1682 else
1683 if test -n "$CC"; then
1684 ac_cv_prog_CC="$CC" # Let the user override the test.
1685 else
1686 ac_prog_rejected=no
1687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1688 for as_dir in $PATH
1690 IFS=$as_save_IFS
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
1696 continue
1698 ac_cv_prog_CC="cc"
1699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1700 break 2
1702 done
1703 done
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
1708 shift
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.
1713 shift
1714 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1719 CC=$ac_cv_prog_CC
1720 if test -n "$CC"; then
1721 echo "$as_me:$LINENO: result: $CC" >&5
1722 echo "${ECHO_T}$CC" >&6
1723 else
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
1731 for ac_prog in cl
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
1739 else
1740 if test -n "$CC"; then
1741 ac_cv_prog_CC="$CC" # Let the user override the test.
1742 else
1743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1744 for as_dir in $PATH
1746 IFS=$as_save_IFS
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
1752 break 2
1754 done
1755 done
1759 CC=$ac_cv_prog_CC
1760 if test -n "$CC"; then
1761 echo "$as_me:$LINENO: result: $CC" >&5
1762 echo "${ECHO_T}$CC" >&6
1763 else
1764 echo "$as_me:$LINENO: result: no" >&5
1765 echo "${ECHO_T}no" >&6
1768 test -n "$CC" && break
1769 done
1771 if test -z "$CC"; then
1772 ac_ct_CC=$CC
1773 for ac_prog in cl
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
1781 else
1782 if test -n "$ac_ct_CC"; then
1783 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1784 else
1785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1786 for as_dir in $PATH
1788 IFS=$as_save_IFS
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
1794 break 2
1796 done
1797 done
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
1805 else
1806 echo "$as_me:$LINENO: result: no" >&5
1807 echo "${ECHO_T}no" >&6
1810 test -n "$ac_ct_CC" && break
1811 done
1813 CC=$ac_ct_CC
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
1831 ac_status=$?
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
1836 ac_status=$?
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
1841 ac_status=$?
1842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1843 (exit $ac_status); }
1845 cat >conftest.$ac_ext <<_ACEOF
1846 /* confdefs.h. */
1847 _ACEOF
1848 cat confdefs.h >>conftest.$ac_ext
1849 cat >>conftest.$ac_ext <<_ACEOF
1850 /* end confdefs.h. */
1853 main ()
1857 return 0;
1859 _ACEOF
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
1864 # of exeext.
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
1870 ac_status=$?
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
1875 # resort.
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.
1879 ac_cv_exeext=
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
1884 case $ac_file in
1885 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1887 conftest.$ac_ext )
1888 # This is the source file.
1890 [ab].out )
1891 # We found the default executable, but exeext='' is most
1892 # certainly right.
1893 break;;
1894 *.* )
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.
1899 export ac_cv_exeext
1900 break;;
1902 break;;
1903 esac
1904 done
1905 else
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
1929 (eval $ac_try) 2>&5
1930 ac_status=$?
1931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1932 (exit $ac_status); }; }; then
1933 cross_compiling=no
1934 else
1935 if test "$cross_compiling" = maybe; then
1936 cross_compiling=yes
1937 else
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
1964 ac_status=$?
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
1970 # `rm'.
1971 for ac_file in conftest.exe conftest conftest.*; do
1972 test -f "$ac_file" || continue
1973 case $ac_file in
1974 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1975 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1976 export ac_cv_exeext
1977 break;;
1978 * ) break;;
1979 esac
1980 done
1981 else
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
1995 ac_exeext=$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
2000 else
2001 cat >conftest.$ac_ext <<_ACEOF
2002 /* confdefs.h. */
2003 _ACEOF
2004 cat confdefs.h >>conftest.$ac_ext
2005 cat >>conftest.$ac_ext <<_ACEOF
2006 /* end confdefs.h. */
2009 main ()
2013 return 0;
2015 _ACEOF
2016 rm -f conftest.o conftest.obj
2017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2018 (eval $ac_compile) 2>&5
2019 ac_status=$?
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
2023 case $ac_file in
2024 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2025 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2026 break;;
2027 esac
2028 done
2029 else
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
2045 ac_objext=$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
2050 else
2051 cat >conftest.$ac_ext <<_ACEOF
2052 /* confdefs.h. */
2053 _ACEOF
2054 cat confdefs.h >>conftest.$ac_ext
2055 cat >>conftest.$ac_ext <<_ACEOF
2056 /* end confdefs.h. */
2059 main ()
2061 #ifndef __GNUC__
2062 choke me
2063 #endif
2066 return 0;
2068 _ACEOF
2069 rm -f conftest.$ac_objext
2070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2071 (eval $ac_compile) 2>conftest.er1
2072 ac_status=$?
2073 grep -v '^ *+' conftest.er1 >conftest.err
2074 rm -f conftest.er1
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
2080 (eval $ac_try) 2>&5
2081 ac_status=$?
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
2086 (eval $ac_try) 2>&5
2087 ac_status=$?
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); }; }; then
2090 ac_compiler_gnu=yes
2091 else
2092 echo "$as_me: failed program was:" >&5
2093 sed 's/^/| /' conftest.$ac_ext >&5
2095 ac_compiler_gnu=no
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
2106 CFLAGS="-g"
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
2111 else
2112 cat >conftest.$ac_ext <<_ACEOF
2113 /* confdefs.h. */
2114 _ACEOF
2115 cat confdefs.h >>conftest.$ac_ext
2116 cat >>conftest.$ac_ext <<_ACEOF
2117 /* end confdefs.h. */
2120 main ()
2124 return 0;
2126 _ACEOF
2127 rm -f conftest.$ac_objext
2128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2129 (eval $ac_compile) 2>conftest.er1
2130 ac_status=$?
2131 grep -v '^ *+' conftest.er1 >conftest.err
2132 rm -f conftest.er1
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
2138 (eval $ac_try) 2>&5
2139 ac_status=$?
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
2144 (eval $ac_try) 2>&5
2145 ac_status=$?
2146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147 (exit $ac_status); }; }; then
2148 ac_cv_prog_cc_g=yes
2149 else
2150 echo "$as_me: failed program was:" >&5
2151 sed 's/^/| /' conftest.$ac_ext >&5
2153 ac_cv_prog_cc_g=no
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
2163 CFLAGS="-g -O2"
2164 else
2165 CFLAGS="-g"
2167 else
2168 if test "$GCC" = yes; then
2169 CFLAGS="-O2"
2170 else
2171 CFLAGS=
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
2178 else
2179 ac_cv_prog_cc_stdc=no
2180 ac_save_CC=$CC
2181 cat >conftest.$ac_ext <<_ACEOF
2182 /* confdefs.h. */
2183 _ACEOF
2184 cat confdefs.h >>conftest.$ac_ext
2185 cat >>conftest.$ac_ext <<_ACEOF
2186 /* end confdefs.h. */
2187 #include <stdarg.h>
2188 #include <stdio.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)
2195 char **p;
2196 int i;
2198 return p[i];
2200 static char *f (char * (*g) (char **, int), char **p, ...)
2202 char *s;
2203 va_list v;
2204 va_start (v,p);
2205 s = g (p, va_arg (v,int));
2206 va_end (v);
2207 return s;
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);
2223 int argc;
2224 char **argv;
2226 main ()
2228 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2230 return 0;
2232 _ACEOF
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
2246 ac_status=$?
2247 grep -v '^ *+' conftest.er1 >conftest.err
2248 rm -f conftest.er1
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
2254 (eval $ac_try) 2>&5
2255 ac_status=$?
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
2260 (eval $ac_try) 2>&5
2261 ac_status=$?
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }; }; then
2264 ac_cv_prog_cc_stdc=$ac_arg
2265 break
2266 else
2267 echo "$as_me: failed program was:" >&5
2268 sed 's/^/| /' conftest.$ac_ext >&5
2271 rm -f conftest.err conftest.$ac_objext
2272 done
2273 rm -f conftest.$ac_ext conftest.$ac_objext
2274 CC=$ac_save_CC
2278 case "x$ac_cv_prog_cc_stdc" in
2279 x|xno)
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" ;;
2286 esac
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
2293 #ifndef __cplusplus
2294 choke me
2295 #endif
2296 _ACEOF
2297 rm -f conftest.$ac_objext
2298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2299 (eval $ac_compile) 2>conftest.er1
2300 ac_status=$?
2301 grep -v '^ *+' conftest.er1 >conftest.err
2302 rm -f conftest.er1
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
2308 (eval $ac_try) 2>&5
2309 ac_status=$?
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
2314 (eval $ac_try) 2>&5
2315 ac_status=$?
2316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317 (exit $ac_status); }; }; then
2318 for ac_declaration in \
2319 '' \
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);' \
2324 'void exit (int);'
2326 cat >conftest.$ac_ext <<_ACEOF
2327 /* confdefs.h. */
2328 _ACEOF
2329 cat confdefs.h >>conftest.$ac_ext
2330 cat >>conftest.$ac_ext <<_ACEOF
2331 /* end confdefs.h. */
2332 $ac_declaration
2333 #include <stdlib.h>
2335 main ()
2337 exit (42);
2339 return 0;
2341 _ACEOF
2342 rm -f conftest.$ac_objext
2343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2344 (eval $ac_compile) 2>conftest.er1
2345 ac_status=$?
2346 grep -v '^ *+' conftest.er1 >conftest.err
2347 rm -f conftest.er1
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
2353 (eval $ac_try) 2>&5
2354 ac_status=$?
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
2359 (eval $ac_try) 2>&5
2360 ac_status=$?
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }; }; then
2364 else
2365 echo "$as_me: failed program was:" >&5
2366 sed 's/^/| /' conftest.$ac_ext >&5
2368 continue
2370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2371 cat >conftest.$ac_ext <<_ACEOF
2372 /* confdefs.h. */
2373 _ACEOF
2374 cat confdefs.h >>conftest.$ac_ext
2375 cat >>conftest.$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2377 $ac_declaration
2379 main ()
2381 exit (42);
2383 return 0;
2385 _ACEOF
2386 rm -f conftest.$ac_objext
2387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2388 (eval $ac_compile) 2>conftest.er1
2389 ac_status=$?
2390 grep -v '^ *+' conftest.er1 >conftest.err
2391 rm -f conftest.er1
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
2397 (eval $ac_try) 2>&5
2398 ac_status=$?
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
2403 (eval $ac_try) 2>&5
2404 ac_status=$?
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }; }; then
2407 break
2408 else
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
2414 done
2415 rm -f conftest*
2416 if test -n "$ac_declaration"; then
2417 echo '#ifdef __cplusplus' >>confdefs.h
2418 echo $ac_declaration >>confdefs.h
2419 echo '#endif' >>confdefs.h
2422 else
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
2428 ac_ext=c
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
2434 ac_ext=cc
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
2448 else
2449 if test -n "$CXX"; then
2450 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2451 else
2452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2453 for as_dir in $PATH
2455 IFS=$as_save_IFS
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
2461 break 2
2463 done
2464 done
2468 CXX=$ac_cv_prog_CXX
2469 if test -n "$CXX"; then
2470 echo "$as_me:$LINENO: result: $CXX" >&5
2471 echo "${ECHO_T}$CXX" >&6
2472 else
2473 echo "$as_me:$LINENO: result: no" >&5
2474 echo "${ECHO_T}no" >&6
2477 test -n "$CXX" && break
2478 done
2480 if test -z "$CXX"; then
2481 ac_ct_CXX=$CXX
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
2490 else
2491 if test -n "$ac_ct_CXX"; then
2492 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2493 else
2494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2495 for as_dir in $PATH
2497 IFS=$as_save_IFS
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
2503 break 2
2505 done
2506 done
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
2514 else
2515 echo "$as_me:$LINENO: result: no" >&5
2516 echo "${ECHO_T}no" >&6
2519 test -n "$ac_ct_CXX" && break
2520 done
2521 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2523 CXX=$ac_ct_CXX
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
2533 ac_status=$?
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
2538 ac_status=$?
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
2543 ac_status=$?
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
2551 else
2552 cat >conftest.$ac_ext <<_ACEOF
2553 /* confdefs.h. */
2554 _ACEOF
2555 cat confdefs.h >>conftest.$ac_ext
2556 cat >>conftest.$ac_ext <<_ACEOF
2557 /* end confdefs.h. */
2560 main ()
2562 #ifndef __GNUC__
2563 choke me
2564 #endif
2567 return 0;
2569 _ACEOF
2570 rm -f conftest.$ac_objext
2571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2572 (eval $ac_compile) 2>conftest.er1
2573 ac_status=$?
2574 grep -v '^ *+' conftest.er1 >conftest.err
2575 rm -f conftest.er1
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
2581 (eval $ac_try) 2>&5
2582 ac_status=$?
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
2587 (eval $ac_try) 2>&5
2588 ac_status=$?
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); }; }; then
2591 ac_compiler_gnu=yes
2592 else
2593 echo "$as_me: failed program was:" >&5
2594 sed 's/^/| /' conftest.$ac_ext >&5
2596 ac_compiler_gnu=no
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
2607 CXXFLAGS="-g"
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
2612 else
2613 cat >conftest.$ac_ext <<_ACEOF
2614 /* confdefs.h. */
2615 _ACEOF
2616 cat confdefs.h >>conftest.$ac_ext
2617 cat >>conftest.$ac_ext <<_ACEOF
2618 /* end confdefs.h. */
2621 main ()
2625 return 0;
2627 _ACEOF
2628 rm -f conftest.$ac_objext
2629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2630 (eval $ac_compile) 2>conftest.er1
2631 ac_status=$?
2632 grep -v '^ *+' conftest.er1 >conftest.err
2633 rm -f conftest.er1
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
2639 (eval $ac_try) 2>&5
2640 ac_status=$?
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
2645 (eval $ac_try) 2>&5
2646 ac_status=$?
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); }; }; then
2649 ac_cv_prog_cxx_g=yes
2650 else
2651 echo "$as_me: failed program was:" >&5
2652 sed 's/^/| /' conftest.$ac_ext >&5
2654 ac_cv_prog_cxx_g=no
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
2664 CXXFLAGS="-g -O2"
2665 else
2666 CXXFLAGS="-g"
2668 else
2669 if test "$GXX" = yes; then
2670 CXXFLAGS="-O2"
2671 else
2672 CXXFLAGS=
2675 for ac_declaration in \
2676 '' \
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);' \
2681 'void exit (int);'
2683 cat >conftest.$ac_ext <<_ACEOF
2684 /* confdefs.h. */
2685 _ACEOF
2686 cat confdefs.h >>conftest.$ac_ext
2687 cat >>conftest.$ac_ext <<_ACEOF
2688 /* end confdefs.h. */
2689 $ac_declaration
2690 #include <stdlib.h>
2692 main ()
2694 exit (42);
2696 return 0;
2698 _ACEOF
2699 rm -f conftest.$ac_objext
2700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2701 (eval $ac_compile) 2>conftest.er1
2702 ac_status=$?
2703 grep -v '^ *+' conftest.er1 >conftest.err
2704 rm -f conftest.er1
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
2710 (eval $ac_try) 2>&5
2711 ac_status=$?
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
2716 (eval $ac_try) 2>&5
2717 ac_status=$?
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); }; }; then
2721 else
2722 echo "$as_me: failed program was:" >&5
2723 sed 's/^/| /' conftest.$ac_ext >&5
2725 continue
2727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2728 cat >conftest.$ac_ext <<_ACEOF
2729 /* confdefs.h. */
2730 _ACEOF
2731 cat confdefs.h >>conftest.$ac_ext
2732 cat >>conftest.$ac_ext <<_ACEOF
2733 /* end confdefs.h. */
2734 $ac_declaration
2736 main ()
2738 exit (42);
2740 return 0;
2742 _ACEOF
2743 rm -f conftest.$ac_objext
2744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2745 (eval $ac_compile) 2>conftest.er1
2746 ac_status=$?
2747 grep -v '^ *+' conftest.er1 >conftest.err
2748 rm -f conftest.er1
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
2754 (eval $ac_try) 2>&5
2755 ac_status=$?
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
2760 (eval $ac_try) 2>&5
2761 ac_status=$?
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); }; }; then
2764 break
2765 else
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
2771 done
2772 rm -f conftest*
2773 if test -n "$ac_declaration"; then
2774 echo '#ifdef __cplusplus' >>confdefs.h
2775 echo $ac_declaration >>confdefs.h
2776 echo '#endif' >>confdefs.h
2779 ac_ext=c
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
2792 else
2793 if test -n "$CPPBIN"; then
2794 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
2795 else
2796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2797 for as_dir in $PATH
2799 IFS=$as_save_IFS
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
2805 break 2
2807 done
2808 done
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
2816 else
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
2830 else
2831 if test -n "$ac_ct_CPPBIN"; then
2832 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
2833 else
2834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2835 for as_dir in $PATH
2837 IFS=$as_save_IFS
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
2843 break 2
2845 done
2846 done
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
2855 else
2856 echo "$as_me:$LINENO: result: no" >&5
2857 echo "${ECHO_T}no" >&6
2860 CPPBIN=$ac_ct_CPPBIN
2861 else
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
2870 else
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; }; }
2876 else
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" ;;
2883 esac
2884 else
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
2896 ac_ext=c
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
2905 CPP=
2907 if test -z "$CPP"; then
2908 if test "${ac_cv_prog_CPP+set}" = set; then
2909 echo $ECHO_N "(cached) $ECHO_C" >&6
2910 else
2911 # Double quotes because CPP needs to be expanded
2912 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2914 ac_preproc_ok=false
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
2924 /* confdefs.h. */
2925 _ACEOF
2926 cat confdefs.h >>conftest.$ac_ext
2927 cat >>conftest.$ac_ext <<_ACEOF
2928 /* end confdefs.h. */
2929 #ifdef __STDC__
2930 # include <limits.h>
2931 #else
2932 # include <assert.h>
2933 #endif
2934 Syntax error
2935 _ACEOF
2936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2937 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2938 ac_status=$?
2939 grep -v '^ *+' conftest.er1 >conftest.err
2940 rm -f conftest.er1
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
2947 else
2948 ac_cpp_err=
2950 else
2951 ac_cpp_err=yes
2953 if test -z "$ac_cpp_err"; then
2955 else
2956 echo "$as_me: failed program was:" >&5
2957 sed 's/^/| /' conftest.$ac_ext >&5
2959 # Broken: fails on valid input.
2960 continue
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
2967 /* confdefs.h. */
2968 _ACEOF
2969 cat confdefs.h >>conftest.$ac_ext
2970 cat >>conftest.$ac_ext <<_ACEOF
2971 /* end confdefs.h. */
2972 #include <ac_nonexistent.h>
2973 _ACEOF
2974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2975 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2976 ac_status=$?
2977 grep -v '^ *+' conftest.er1 >conftest.err
2978 rm -f conftest.er1
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
2985 else
2986 ac_cpp_err=
2988 else
2989 ac_cpp_err=yes
2991 if test -z "$ac_cpp_err"; then
2992 # Broken: success on invalid input.
2993 continue
2994 else
2995 echo "$as_me: failed program was:" >&5
2996 sed 's/^/| /' conftest.$ac_ext >&5
2998 # Passes both tests.
2999 ac_preproc_ok=:
3000 break
3002 rm -f conftest.err conftest.$ac_ext
3004 done
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
3008 break
3011 done
3012 ac_cv_prog_CPP=$CPP
3015 CPP=$ac_cv_prog_CPP
3016 else
3017 ac_cv_prog_CPP=$CPP
3019 echo "$as_me:$LINENO: result: $CPP" >&5
3020 echo "${ECHO_T}$CPP" >&6
3021 ac_preproc_ok=false
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
3031 /* confdefs.h. */
3032 _ACEOF
3033 cat confdefs.h >>conftest.$ac_ext
3034 cat >>conftest.$ac_ext <<_ACEOF
3035 /* end confdefs.h. */
3036 #ifdef __STDC__
3037 # include <limits.h>
3038 #else
3039 # include <assert.h>
3040 #endif
3041 Syntax error
3042 _ACEOF
3043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3044 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3045 ac_status=$?
3046 grep -v '^ *+' conftest.er1 >conftest.err
3047 rm -f conftest.er1
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
3054 else
3055 ac_cpp_err=
3057 else
3058 ac_cpp_err=yes
3060 if test -z "$ac_cpp_err"; then
3062 else
3063 echo "$as_me: failed program was:" >&5
3064 sed 's/^/| /' conftest.$ac_ext >&5
3066 # Broken: fails on valid input.
3067 continue
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
3074 /* confdefs.h. */
3075 _ACEOF
3076 cat confdefs.h >>conftest.$ac_ext
3077 cat >>conftest.$ac_ext <<_ACEOF
3078 /* end confdefs.h. */
3079 #include <ac_nonexistent.h>
3080 _ACEOF
3081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3083 ac_status=$?
3084 grep -v '^ *+' conftest.er1 >conftest.err
3085 rm -f conftest.er1
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
3092 else
3093 ac_cpp_err=
3095 else
3096 ac_cpp_err=yes
3098 if test -z "$ac_cpp_err"; then
3099 # Broken: success on invalid input.
3100 continue
3101 else
3102 echo "$as_me: failed program was:" >&5
3103 sed 's/^/| /' conftest.$ac_ext >&5
3105 # Passes both tests.
3106 ac_preproc_ok=:
3107 break
3109 rm -f conftest.err conftest.$ac_ext
3111 done
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
3116 else
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; }; }
3124 ac_ext=c
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
3140 withval="$with_x"
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.
3146 have_x=disabled
3147 else
3148 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
3149 # Both variables are already set.
3150 have_x=yes
3151 else
3152 if test "${ac_cv_have_x+set}" = set; then
3153 echo $ECHO_N "(cached) $ECHO_C" >&6
3154 else
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
3157 rm -fr conftest.dir
3158 if mkdir conftest.dir; then
3159 cd conftest.dir
3160 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3161 cat >Imakefile <<'_ACEOF'
3162 acfindx:
3163 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3164 _ACEOF
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
3174 done
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
3179 /usr/include) ;;
3180 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3181 esac
3182 case $ac_im_usrlibdir in
3183 /usr/lib | /lib) ;;
3184 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3185 esac
3187 cd ..
3188 rm -fr conftest.dir
3191 # Standard set of common directories for X headers.
3192 # Check X11 before X11Rn because it is often a symlink to the current release.
3193 ac_x_header_dirs='
3194 /usr/X11/include
3195 /usr/X11R6/include
3196 /usr/X11R5/include
3197 /usr/X11R4/include
3199 /usr/include/X11
3200 /usr/include/X11R6
3201 /usr/include/X11R5
3202 /usr/include/X11R4
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
3214 /usr/X386/include
3215 /usr/x386/include
3216 /usr/XFree86/include/X11
3218 /usr/include
3219 /usr/local/include
3220 /usr/unsupported/include
3221 /usr/athena/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
3232 /* confdefs.h. */
3233 _ACEOF
3234 cat confdefs.h >>conftest.$ac_ext
3235 cat >>conftest.$ac_ext <<_ACEOF
3236 /* end confdefs.h. */
3237 #include <X11/Intrinsic.h>
3238 _ACEOF
3239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3241 ac_status=$?
3242 grep -v '^ *+' conftest.er1 >conftest.err
3243 rm -f conftest.er1
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
3250 else
3251 ac_cpp_err=
3253 else
3254 ac_cpp_err=yes
3256 if test -z "$ac_cpp_err"; then
3257 # We can compile using X headers with no special include directory.
3258 ac_x_includes=
3259 else
3260 echo "$as_me: failed program was:" >&5
3261 sed 's/^/| /' conftest.$ac_ext >&5
3263 for ac_dir in $ac_x_header_dirs; do
3264 if test -r "$ac_dir/X11/Intrinsic.h"; then
3265 ac_x_includes=$ac_dir
3266 break
3268 done
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.
3277 ac_save_LIBS=$LIBS
3278 LIBS="-lXt $LIBS"
3279 cat >conftest.$ac_ext <<_ACEOF
3280 /* confdefs.h. */
3281 _ACEOF
3282 cat confdefs.h >>conftest.$ac_ext
3283 cat >>conftest.$ac_ext <<_ACEOF
3284 /* end confdefs.h. */
3285 #include <X11/Intrinsic.h>
3287 main ()
3289 XtMalloc (0)
3291 return 0;
3293 _ACEOF
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
3297 ac_status=$?
3298 grep -v '^ *+' conftest.er1 >conftest.err
3299 rm -f conftest.er1
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
3305 (eval $ac_try) 2>&5
3306 ac_status=$?
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
3311 (eval $ac_try) 2>&5
3312 ac_status=$?
3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314 (exit $ac_status); }; }; then
3315 LIBS=$ac_save_LIBS
3316 # We can link X programs with no special library path.
3317 ac_x_libraries=
3318 else
3319 echo "$as_me: failed program was:" >&5
3320 sed 's/^/| /' conftest.$ac_ext >&5
3322 LIBS=$ac_save_LIBS
3323 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3325 # Don't even attempt the hair of trying to link an X program!
3326 for ac_extension in a so sl; do
3327 if test -r $ac_dir/libXt.$ac_extension; then
3328 ac_x_libraries=$ac_dir
3329 break 2
3331 done
3332 done
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"
3341 else
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"
3350 fi # $with_x != no
3352 if test "$have_x" != yes; then
3353 echo "$as_me:$LINENO: result: $have_x" >&5
3354 echo "${ECHO_T}$have_x" >&6
3355 no_x=yes
3356 else
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
3377 _ACEOF
3379 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3380 else
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
3391 "SunOS 5"*)
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
3396 /* confdefs.h. */
3397 _ACEOF
3398 cat confdefs.h >>conftest.$ac_ext
3399 cat >>conftest.$ac_ext <<_ACEOF
3400 /* end confdefs.h. */
3403 main ()
3407 return 0;
3409 _ACEOF
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
3413 ac_status=$?
3414 grep -v '^ *+' conftest.er1 >conftest.err
3415 rm -f conftest.er1
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
3421 (eval $ac_try) 2>&5
3422 ac_status=$?
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
3427 (eval $ac_try) 2>&5
3428 ac_status=$?
3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430 (exit $ac_status); }; }; then
3431 ac_R_nospace=yes
3432 else
3433 echo "$as_me: failed program was:" >&5
3434 sed 's/^/| /' conftest.$ac_ext >&5
3436 ac_R_nospace=no
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"
3444 else
3445 LIBS="$ac_xsave_LIBS -R $x_libraries"
3446 cat >conftest.$ac_ext <<_ACEOF
3447 /* confdefs.h. */
3448 _ACEOF
3449 cat confdefs.h >>conftest.$ac_ext
3450 cat >>conftest.$ac_ext <<_ACEOF
3451 /* end confdefs.h. */
3454 main ()
3458 return 0;
3460 _ACEOF
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
3464 ac_status=$?
3465 grep -v '^ *+' conftest.er1 >conftest.err
3466 rm -f conftest.er1
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
3472 (eval $ac_try) 2>&5
3473 ac_status=$?
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
3478 (eval $ac_try) 2>&5
3479 ac_status=$?
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); }; }; then
3482 ac_R_space=yes
3483 else
3484 echo "$as_me: failed program was:" >&5
3485 sed 's/^/| /' conftest.$ac_ext >&5
3487 ac_R_space=no
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"
3495 else
3496 echo "$as_me:$LINENO: result: neither works" >&5
3497 echo "${ECHO_T}neither works" >&6
3500 LIBS=$ac_xsave_LIBS
3501 esac
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"
3510 else
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
3516 /* confdefs.h. */
3517 _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. */
3523 #ifdef __cplusplus
3524 extern "C"
3525 #endif
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 ();
3530 main ()
3532 XOpenDisplay ();
3534 return 0;
3536 _ACEOF
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
3540 ac_status=$?
3541 grep -v '^ *+' conftest.er1 >conftest.err
3542 rm -f conftest.er1
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
3548 (eval $ac_try) 2>&5
3549 ac_status=$?
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
3554 (eval $ac_try) 2>&5
3555 ac_status=$?
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); }; }; then
3559 else
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
3567 else
3568 ac_check_lib_save_LIBS=$LIBS
3569 LIBS="-ldnet $LIBS"
3570 cat >conftest.$ac_ext <<_ACEOF
3571 /* confdefs.h. */
3572 _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. */
3578 #ifdef __cplusplus
3579 extern "C"
3580 #endif
3581 /* We use char because int might match the return type of a gcc2
3582 builtin and then its argument prototype would still apply. */
3583 char dnet_ntoa ();
3585 main ()
3587 dnet_ntoa ();
3589 return 0;
3591 _ACEOF
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
3595 ac_status=$?
3596 grep -v '^ *+' conftest.er1 >conftest.err
3597 rm -f conftest.er1
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
3603 (eval $ac_try) 2>&5
3604 ac_status=$?
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
3609 (eval $ac_try) 2>&5
3610 ac_status=$?
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); }; }; then
3613 ac_cv_lib_dnet_dnet_ntoa=yes
3614 else
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
3635 else
3636 ac_check_lib_save_LIBS=$LIBS
3637 LIBS="-ldnet_stub $LIBS"
3638 cat >conftest.$ac_ext <<_ACEOF
3639 /* confdefs.h. */
3640 _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. */
3646 #ifdef __cplusplus
3647 extern "C"
3648 #endif
3649 /* We use char because int might match the return type of a gcc2
3650 builtin and then its argument prototype would still apply. */
3651 char dnet_ntoa ();
3653 main ()
3655 dnet_ntoa ();
3657 return 0;
3659 _ACEOF
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
3663 ac_status=$?
3664 grep -v '^ *+' conftest.er1 >conftest.err
3665 rm -f conftest.er1
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
3671 (eval $ac_try) 2>&5
3672 ac_status=$?
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
3677 (eval $ac_try) 2>&5
3678 ac_status=$?
3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 (exit $ac_status); }; }; then
3681 ac_cv_lib_dnet_stub_dnet_ntoa=yes
3682 else
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)
3707 # needs -lnsl.
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
3716 else
3717 cat >conftest.$ac_ext <<_ACEOF
3718 /* confdefs.h. */
3719 _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. */
3732 #ifdef __STDC__
3733 # include <limits.h>
3734 #else
3735 # include <assert.h>
3736 #endif
3738 #undef gethostbyname
3740 /* Override any gcc2 internal prototype to avoid an error. */
3741 #ifdef __cplusplus
3742 extern "C"
3744 #endif
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)
3752 choke me
3753 #else
3754 char (*f) () = gethostbyname;
3755 #endif
3756 #ifdef __cplusplus
3758 #endif
3761 main ()
3763 return f != gethostbyname;
3765 return 0;
3767 _ACEOF
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
3771 ac_status=$?
3772 grep -v '^ *+' conftest.er1 >conftest.err
3773 rm -f conftest.er1
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
3779 (eval $ac_try) 2>&5
3780 ac_status=$?
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
3785 (eval $ac_try) 2>&5
3786 ac_status=$?
3787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3788 (exit $ac_status); }; }; then
3789 ac_cv_func_gethostbyname=yes
3790 else
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
3807 else
3808 ac_check_lib_save_LIBS=$LIBS
3809 LIBS="-lnsl $LIBS"
3810 cat >conftest.$ac_ext <<_ACEOF
3811 /* confdefs.h. */
3812 _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. */
3818 #ifdef __cplusplus
3819 extern "C"
3820 #endif
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 ();
3825 main ()
3827 gethostbyname ();
3829 return 0;
3831 _ACEOF
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
3835 ac_status=$?
3836 grep -v '^ *+' conftest.er1 >conftest.err
3837 rm -f conftest.er1
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
3843 (eval $ac_try) 2>&5
3844 ac_status=$?
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
3849 (eval $ac_try) 2>&5
3850 ac_status=$?
3851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852 (exit $ac_status); }; }; then
3853 ac_cv_lib_nsl_gethostbyname=yes
3854 else
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
3875 else
3876 ac_check_lib_save_LIBS=$LIBS
3877 LIBS="-lbsd $LIBS"
3878 cat >conftest.$ac_ext <<_ACEOF
3879 /* confdefs.h. */
3880 _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. */
3886 #ifdef __cplusplus
3887 extern "C"
3888 #endif
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 ();
3893 main ()
3895 gethostbyname ();
3897 return 0;
3899 _ACEOF
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
3903 ac_status=$?
3904 grep -v '^ *+' conftest.er1 >conftest.err
3905 rm -f conftest.er1
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
3911 (eval $ac_try) 2>&5
3912 ac_status=$?
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
3917 (eval $ac_try) 2>&5
3918 ac_status=$?
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); }; }; then
3921 ac_cv_lib_bsd_gethostbyname=yes
3922 else
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
3952 else
3953 cat >conftest.$ac_ext <<_ACEOF
3954 /* confdefs.h. */
3955 _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. */
3968 #ifdef __STDC__
3969 # include <limits.h>
3970 #else
3971 # include <assert.h>
3972 #endif
3974 #undef connect
3976 /* Override any gcc2 internal prototype to avoid an error. */
3977 #ifdef __cplusplus
3978 extern "C"
3980 #endif
3981 /* We use char because int might match the return type of a gcc2
3982 builtin and then its argument prototype would still apply. */
3983 char connect ();
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)
3988 choke me
3989 #else
3990 char (*f) () = connect;
3991 #endif
3992 #ifdef __cplusplus
3994 #endif
3997 main ()
3999 return f != connect;
4001 return 0;
4003 _ACEOF
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
4007 ac_status=$?
4008 grep -v '^ *+' conftest.er1 >conftest.err
4009 rm -f conftest.er1
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
4015 (eval $ac_try) 2>&5
4016 ac_status=$?
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
4021 (eval $ac_try) 2>&5
4022 ac_status=$?
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); }; }; then
4025 ac_cv_func_connect=yes
4026 else
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
4043 else
4044 ac_check_lib_save_LIBS=$LIBS
4045 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4046 cat >conftest.$ac_ext <<_ACEOF
4047 /* confdefs.h. */
4048 _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. */
4054 #ifdef __cplusplus
4055 extern "C"
4056 #endif
4057 /* We use char because int might match the return type of a gcc2
4058 builtin and then its argument prototype would still apply. */
4059 char connect ();
4061 main ()
4063 connect ();
4065 return 0;
4067 _ACEOF
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
4071 ac_status=$?
4072 grep -v '^ *+' conftest.er1 >conftest.err
4073 rm -f conftest.er1
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
4079 (eval $ac_try) 2>&5
4080 ac_status=$?
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
4085 (eval $ac_try) 2>&5
4086 ac_status=$?
4087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088 (exit $ac_status); }; }; then
4089 ac_cv_lib_socket_connect=yes
4090 else
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
4113 else
4114 cat >conftest.$ac_ext <<_ACEOF
4115 /* confdefs.h. */
4116 _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. */
4129 #ifdef __STDC__
4130 # include <limits.h>
4131 #else
4132 # include <assert.h>
4133 #endif
4135 #undef remove
4137 /* Override any gcc2 internal prototype to avoid an error. */
4138 #ifdef __cplusplus
4139 extern "C"
4141 #endif
4142 /* We use char because int might match the return type of a gcc2
4143 builtin and then its argument prototype would still apply. */
4144 char remove ();
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)
4149 choke me
4150 #else
4151 char (*f) () = remove;
4152 #endif
4153 #ifdef __cplusplus
4155 #endif
4158 main ()
4160 return f != remove;
4162 return 0;
4164 _ACEOF
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
4168 ac_status=$?
4169 grep -v '^ *+' conftest.er1 >conftest.err
4170 rm -f conftest.er1
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
4176 (eval $ac_try) 2>&5
4177 ac_status=$?
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
4182 (eval $ac_try) 2>&5
4183 ac_status=$?
4184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4185 (exit $ac_status); }; }; then
4186 ac_cv_func_remove=yes
4187 else
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
4204 else
4205 ac_check_lib_save_LIBS=$LIBS
4206 LIBS="-lposix $LIBS"
4207 cat >conftest.$ac_ext <<_ACEOF
4208 /* confdefs.h. */
4209 _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. */
4215 #ifdef __cplusplus
4216 extern "C"
4217 #endif
4218 /* We use char because int might match the return type of a gcc2
4219 builtin and then its argument prototype would still apply. */
4220 char remove ();
4222 main ()
4224 remove ();
4226 return 0;
4228 _ACEOF
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
4232 ac_status=$?
4233 grep -v '^ *+' conftest.er1 >conftest.err
4234 rm -f conftest.er1
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
4240 (eval $ac_try) 2>&5
4241 ac_status=$?
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
4246 (eval $ac_try) 2>&5
4247 ac_status=$?
4248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249 (exit $ac_status); }; }; then
4250 ac_cv_lib_posix_remove=yes
4251 else
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
4274 else
4275 cat >conftest.$ac_ext <<_ACEOF
4276 /* confdefs.h. */
4277 _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. */
4290 #ifdef __STDC__
4291 # include <limits.h>
4292 #else
4293 # include <assert.h>
4294 #endif
4296 #undef shmat
4298 /* Override any gcc2 internal prototype to avoid an error. */
4299 #ifdef __cplusplus
4300 extern "C"
4302 #endif
4303 /* We use char because int might match the return type of a gcc2
4304 builtin and then its argument prototype would still apply. */
4305 char shmat ();
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)
4310 choke me
4311 #else
4312 char (*f) () = shmat;
4313 #endif
4314 #ifdef __cplusplus
4316 #endif
4319 main ()
4321 return f != shmat;
4323 return 0;
4325 _ACEOF
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
4329 ac_status=$?
4330 grep -v '^ *+' conftest.er1 >conftest.err
4331 rm -f conftest.er1
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
4337 (eval $ac_try) 2>&5
4338 ac_status=$?
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
4343 (eval $ac_try) 2>&5
4344 ac_status=$?
4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346 (exit $ac_status); }; }; then
4347 ac_cv_func_shmat=yes
4348 else
4349 echo "$as_me: failed program was:" >&5
4350 sed 's/^/| /' conftest.$ac_ext >&5
4352 ac_cv_func_shmat=no
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
4365 else
4366 ac_check_lib_save_LIBS=$LIBS
4367 LIBS="-lipc $LIBS"
4368 cat >conftest.$ac_ext <<_ACEOF
4369 /* confdefs.h. */
4370 _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. */
4376 #ifdef __cplusplus
4377 extern "C"
4378 #endif
4379 /* We use char because int might match the return type of a gcc2
4380 builtin and then its argument prototype would still apply. */
4381 char shmat ();
4383 main ()
4385 shmat ();
4387 return 0;
4389 _ACEOF
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
4393 ac_status=$?
4394 grep -v '^ *+' conftest.er1 >conftest.err
4395 rm -f conftest.er1
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
4401 (eval $ac_try) 2>&5
4402 ac_status=$?
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
4407 (eval $ac_try) 2>&5
4408 ac_status=$?
4409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410 (exit $ac_status); }; }; then
4411 ac_cv_lib_ipc_shmat=yes
4412 else
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
4444 else
4445 ac_check_lib_save_LIBS=$LIBS
4446 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4447 cat >conftest.$ac_ext <<_ACEOF
4448 /* confdefs.h. */
4449 _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. */
4455 #ifdef __cplusplus
4456 extern "C"
4457 #endif
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 ();
4462 main ()
4464 IceConnectionNumber ();
4466 return 0;
4468 _ACEOF
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
4472 ac_status=$?
4473 grep -v '^ *+' conftest.er1 >conftest.err
4474 rm -f conftest.er1
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
4480 (eval $ac_try) 2>&5
4481 ac_status=$?
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
4486 (eval $ac_try) 2>&5
4487 ac_status=$?
4488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4489 (exit $ac_status); }; }; then
4490 ac_cv_lib_ICE_IceConnectionNumber=yes
4491 else
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
4519 else
4520 if test -n "$LEX"; then
4521 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4522 else
4523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4524 for as_dir in $PATH
4526 IFS=$as_save_IFS
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
4532 break 2
4534 done
4535 done
4539 LEX=$ac_cv_prog_LEX
4540 if test -n "$LEX"; then
4541 echo "$as_me:$LINENO: result: $LEX" >&5
4542 echo "${ECHO_T}$LEX" >&6
4543 else
4544 echo "$as_me:$LINENO: result: no" >&5
4545 echo "${ECHO_T}no" >&6
4548 test -n "$LEX" && break
4549 done
4550 test -n "$LEX" || LEX=":"
4552 if test -z "$LEXLIB"
4553 then
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
4558 else
4559 ac_check_lib_save_LIBS=$LIBS
4560 LIBS="-lfl $LIBS"
4561 cat >conftest.$ac_ext <<_ACEOF
4562 /* confdefs.h. */
4563 _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. */
4569 #ifdef __cplusplus
4570 extern "C"
4571 #endif
4572 /* We use char because int might match the return type of a gcc2
4573 builtin and then its argument prototype would still apply. */
4574 char yywrap ();
4576 main ()
4578 yywrap ();
4580 return 0;
4582 _ACEOF
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
4586 ac_status=$?
4587 grep -v '^ *+' conftest.er1 >conftest.err
4588 rm -f conftest.er1
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
4594 (eval $ac_try) 2>&5
4595 ac_status=$?
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
4600 (eval $ac_try) 2>&5
4601 ac_status=$?
4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603 (exit $ac_status); }; }; then
4604 ac_cv_lib_fl_yywrap=yes
4605 else
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
4618 LEXLIB="-lfl"
4619 else
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
4624 else
4625 ac_check_lib_save_LIBS=$LIBS
4626 LIBS="-ll $LIBS"
4627 cat >conftest.$ac_ext <<_ACEOF
4628 /* confdefs.h. */
4629 _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. */
4635 #ifdef __cplusplus
4636 extern "C"
4637 #endif
4638 /* We use char because int might match the return type of a gcc2
4639 builtin and then its argument prototype would still apply. */
4640 char yywrap ();
4642 main ()
4644 yywrap ();
4646 return 0;
4648 _ACEOF
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
4652 ac_status=$?
4653 grep -v '^ *+' conftest.er1 >conftest.err
4654 rm -f conftest.er1
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
4660 (eval $ac_try) 2>&5
4661 ac_status=$?
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
4666 (eval $ac_try) 2>&5
4667 ac_status=$?
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); }; }; then
4670 ac_cv_lib_l_yywrap=yes
4671 else
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
4684 LEXLIB="-ll"
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
4696 else
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
4702 _ACEOF
4703 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4704 (eval $LEX conftest.l) 2>&5
4705 ac_status=$?
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
4712 else
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
4720 rm -f conftest.l
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
4727 else
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
4733 ac_save_LIBS=$LIBS
4734 LIBS="$LIBS $LEXLIB"
4735 cat >conftest.$ac_ext <<_ACEOF
4736 `cat $LEX_OUTPUT_ROOT.c`
4737 _ACEOF
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
4741 ac_status=$?
4742 grep -v '^ *+' conftest.er1 >conftest.err
4743 rm -f conftest.er1
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
4749 (eval $ac_try) 2>&5
4750 ac_status=$?
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
4755 (eval $ac_try) 2>&5
4756 ac_status=$?
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); }; }; then
4759 ac_cv_prog_lex_yytext_pointer=yes
4760 else
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
4767 LIBS=$ac_save_LIBS
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
4777 _ACEOF
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
4791 else
4792 if test -n "$XLEX"; then
4793 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
4794 else
4795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4796 for as_dir in $PATH
4798 IFS=$as_save_IFS
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
4804 break 2
4806 done
4807 done
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
4815 else
4816 echo "$as_me:$LINENO: result: no" >&5
4817 echo "${ECHO_T}no" >&6
4820 test -n "$XLEX" && break
4821 done
4822 test -n "$XLEX" || XLEX="none"
4824 if test "$XLEX" = "none"
4825 then
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
4839 else
4840 if test -n "$BISON"; then
4841 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4842 else
4843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4844 for as_dir in $PATH
4846 IFS=$as_save_IFS
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
4852 break 2
4854 done
4855 done
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
4863 else
4864 echo "$as_me:$LINENO: result: no" >&5
4865 echo "${ECHO_T}no" >&6
4868 test -n "$BISON" && break
4869 done
4870 test -n "$BISON" || BISON="none"
4872 if test "$BISON" = "none"
4873 then
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
4888 else
4889 if test -n "$AS"; then
4890 ac_cv_prog_AS="$AS" # Let the user override the test.
4891 else
4892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4893 for as_dir in $PATH
4895 IFS=$as_save_IFS
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
4901 break 2
4903 done
4904 done
4908 AS=$ac_cv_prog_AS
4909 if test -n "$AS"; then
4910 echo "$as_me:$LINENO: result: $AS" >&5
4911 echo "${ECHO_T}$AS" >&6
4912 else
4913 echo "$as_me:$LINENO: result: no" >&5
4914 echo "${ECHO_T}no" >&6
4917 test -n "$AS" && break
4918 done
4920 if test -z "$AS"; then
4921 ac_ct_AS=$AS
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
4930 else
4931 if test -n "$ac_ct_AS"; then
4932 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4933 else
4934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935 for as_dir in $PATH
4937 IFS=$as_save_IFS
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
4943 break 2
4945 done
4946 done
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
4954 else
4955 echo "$as_me:$LINENO: result: no" >&5
4956 echo "${ECHO_T}no" >&6
4959 test -n "$ac_ct_AS" && break
4960 done
4961 test -n "$ac_ct_AS" || ac_ct_AS="as"
4963 AS=$ac_ct_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
4973 else
4974 if test -n "$LD"; then
4975 ac_cv_prog_LD="$LD" # Let the user override the test.
4976 else
4977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4978 for as_dir in $PATH
4980 IFS=$as_save_IFS
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
4986 break 2
4988 done
4989 done
4993 LD=$ac_cv_prog_LD
4994 if test -n "$LD"; then
4995 echo "$as_me:$LINENO: result: $LD" >&5
4996 echo "${ECHO_T}$LD" >&6
4997 else
4998 echo "$as_me:$LINENO: result: no" >&5
4999 echo "${ECHO_T}no" >&6
5003 if test -z "$ac_cv_prog_LD"; then
5004 ac_ct_LD=$LD
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
5011 else
5012 if test -n "$ac_ct_LD"; then
5013 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5014 else
5015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5016 for as_dir in $PATH
5018 IFS=$as_save_IFS
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
5024 break 2
5026 done
5027 done
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
5036 else
5037 echo "$as_me:$LINENO: result: no" >&5
5038 echo "${ECHO_T}no" >&6
5041 LD=$ac_ct_LD
5042 else
5043 LD="$ac_cv_prog_LD"
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
5053 else
5054 if test -n "$AR"; then
5055 ac_cv_prog_AR="$AR" # Let the user override the test.
5056 else
5057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5058 for as_dir in $PATH
5060 IFS=$as_save_IFS
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
5066 break 2
5068 done
5069 done
5073 AR=$ac_cv_prog_AR
5074 if test -n "$AR"; then
5075 echo "$as_me:$LINENO: result: $AR" >&5
5076 echo "${ECHO_T}$AR" >&6
5077 else
5078 echo "$as_me:$LINENO: result: no" >&5
5079 echo "${ECHO_T}no" >&6
5083 if test -z "$ac_cv_prog_AR"; then
5084 ac_ct_AR=$AR
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
5091 else
5092 if test -n "$ac_ct_AR"; then
5093 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5094 else
5095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5096 for as_dir in $PATH
5098 IFS=$as_save_IFS
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
5104 break 2
5106 done
5107 done
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
5116 else
5117 echo "$as_me:$LINENO: result: no" >&5
5118 echo "${ECHO_T}no" >&6
5121 AR=$ac_ct_AR
5122 else
5123 AR="$ac_cv_prog_AR"
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
5133 else
5134 if test -n "$RANLIB"; then
5135 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5136 else
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH
5140 IFS=$as_save_IFS
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
5146 break 2
5148 done
5149 done
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
5157 else
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
5171 else
5172 if test -n "$ac_ct_RANLIB"; then
5173 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5174 else
5175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5176 for as_dir in $PATH
5178 IFS=$as_save_IFS
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
5184 break 2
5186 done
5187 done
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
5196 else
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5201 RANLIB=$ac_ct_RANLIB
5202 else
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
5213 else
5214 if test -n "$STRIP"; then
5215 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5216 else
5217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5218 for as_dir in $PATH
5220 IFS=$as_save_IFS
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
5226 break 2
5228 done
5229 done
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
5237 else
5238 echo "$as_me:$LINENO: result: no" >&5
5239 echo "${ECHO_T}no" >&6
5243 if test -z "$ac_cv_prog_STRIP"; then
5244 ac_ct_STRIP=$STRIP
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
5251 else
5252 if test -n "$ac_ct_STRIP"; then
5253 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5254 else
5255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5256 for as_dir in $PATH
5258 IFS=$as_save_IFS
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
5264 break 2
5266 done
5267 done
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
5276 else
5277 echo "$as_me:$LINENO: result: no" >&5
5278 echo "${ECHO_T}no" >&6
5281 STRIP=$ac_ct_STRIP
5282 else
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
5293 else
5294 if test -n "$WINDRES"; then
5295 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5296 else
5297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5298 for as_dir in $PATH
5300 IFS=$as_save_IFS
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
5306 break 2
5308 done
5309 done
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
5317 else
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
5331 else
5332 if test -n "$ac_ct_WINDRES"; then
5333 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5334 else
5335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5336 for as_dir in $PATH
5338 IFS=$as_save_IFS
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
5344 break 2
5346 done
5347 done
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
5356 else
5357 echo "$as_me:$LINENO: result: no" >&5
5358 echo "${ECHO_T}no" >&6
5361 WINDRES=$ac_ct_WINDRES
5362 else
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
5368 LN_S=$as_ln_s
5369 if test "$LN_S" = "ln -s"; then
5370 echo "$as_me:$LINENO: result: yes" >&5
5371 echo "${ECHO_T}yes" >&6
5372 else
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
5380 echo >conf$$.file
5381 if ln conf$$.file conf$$ 2>/dev/null; then
5382 LN=ln
5384 echo "$as_me:$LINENO: result: yes" >&5
5385 echo "${ECHO_T}yes" >&6
5386 else
5387 LN="cp -p"
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 # Extract the first word of "ldconfig", so it can be a program name with args.
5394 set dummy ldconfig; ac_word=$2
5395 echo "$as_me:$LINENO: checking for $ac_word" >&5
5396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5397 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5398 echo $ECHO_N "(cached) $ECHO_C" >&6
5399 else
5400 case $LDCONFIG in
5401 [\\/]* | ?:[\\/]*)
5402 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 for as_dir in /sbin /usr/sbin $PATH
5408 IFS=$as_save_IFS
5409 test -z "$as_dir" && as_dir=.
5410 for ac_exec_ext in '' $ac_executable_extensions; do
5411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5412 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5414 break 2
5416 done
5417 done
5419 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5421 esac
5423 LDCONFIG=$ac_cv_path_LDCONFIG
5425 if test -n "$LDCONFIG"; then
5426 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5427 echo "${ECHO_T}$LDCONFIG" >&6
5428 else
5429 echo "$as_me:$LINENO: result: no" >&5
5430 echo "${ECHO_T}no" >&6
5433 # Find a good install program. We prefer a C program (faster),
5434 # so one script is as good as another. But avoid the broken or
5435 # incompatible versions:
5436 # SysV /etc/install, /usr/sbin/install
5437 # SunOS /usr/etc/install
5438 # IRIX /sbin/install
5439 # AIX /bin/install
5440 # AmigaOS /C/install, which installs bootblocks on floppy discs
5441 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5442 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5443 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5444 # OS/2's system install, which has a completely different semantic
5445 # ./install, which can be erroneously created by make from ./install.sh.
5446 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5447 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5448 if test -z "$INSTALL"; then
5449 if test "${ac_cv_path_install+set}" = set; then
5450 echo $ECHO_N "(cached) $ECHO_C" >&6
5451 else
5452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5453 for as_dir in $PATH
5455 IFS=$as_save_IFS
5456 test -z "$as_dir" && as_dir=.
5457 # Account for people who put trailing slashes in PATH elements.
5458 case $as_dir/ in
5459 ./ | .// | /cC/* | \
5460 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5461 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5462 /usr/ucb/* ) ;;
5464 # OSF1 and SCO ODT 3.0 have their own names for install.
5465 # Don't use installbsd from OSF since it installs stuff as root
5466 # by default.
5467 for ac_prog in ginstall scoinst install; do
5468 for ac_exec_ext in '' $ac_executable_extensions; do
5469 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5470 if test $ac_prog = install &&
5471 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5472 # AIX install. It has an incompatible calling convention.
5474 elif test $ac_prog = install &&
5475 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5476 # program-specific install script used by HP pwplus--don't use.
5478 else
5479 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5480 break 3
5483 done
5484 done
5486 esac
5487 done
5491 if test "${ac_cv_path_install+set}" = set; then
5492 INSTALL=$ac_cv_path_install
5493 else
5494 # As a last resort, use the slow shell script. We don't cache a
5495 # path for INSTALL within a source directory, because that will
5496 # break other packages using the cache if that directory is
5497 # removed, or if the path is relative.
5498 INSTALL=$ac_install_sh
5501 echo "$as_me:$LINENO: result: $INSTALL" >&5
5502 echo "${ECHO_T}$INSTALL" >&6
5504 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5505 # It thinks the first close brace ends the variable substitution.
5506 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5508 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5510 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5512 case "$INSTALL" in
5513 [\\/$]* | ?:[\\/]* ) ;;
5514 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5515 esac
5517 for ac_prog in lclint lint
5519 # Extract the first word of "$ac_prog", so it can be a program name with args.
5520 set dummy $ac_prog; ac_word=$2
5521 echo "$as_me:$LINENO: checking for $ac_word" >&5
5522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5523 if test "${ac_cv_prog_LINT+set}" = set; then
5524 echo $ECHO_N "(cached) $ECHO_C" >&6
5525 else
5526 if test -n "$LINT"; then
5527 ac_cv_prog_LINT="$LINT" # Let the user override the test.
5528 else
5529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5530 for as_dir in $PATH
5532 IFS=$as_save_IFS
5533 test -z "$as_dir" && as_dir=.
5534 for ac_exec_ext in '' $ac_executable_extensions; do
5535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5536 ac_cv_prog_LINT="$ac_prog"
5537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5538 break 2
5540 done
5541 done
5545 LINT=$ac_cv_prog_LINT
5546 if test -n "$LINT"; then
5547 echo "$as_me:$LINENO: result: $LINT" >&5
5548 echo "${ECHO_T}$LINT" >&6
5549 else
5550 echo "$as_me:$LINENO: result: no" >&5
5551 echo "${ECHO_T}no" >&6
5554 test -n "$LINT" && break
5555 done
5557 if test "$LINT" = "lint"
5558 then
5559 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5564 for ac_prog in docbook2html db2html
5566 # Extract the first word of "$ac_prog", so it can be a program name with args.
5567 set dummy $ac_prog; ac_word=$2
5568 echo "$as_me:$LINENO: checking for $ac_word" >&5
5569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5570 if test "${ac_cv_prog_DB2HTML+set}" = set; then
5571 echo $ECHO_N "(cached) $ECHO_C" >&6
5572 else
5573 if test -n "$DB2HTML"; then
5574 ac_cv_prog_DB2HTML="$DB2HTML" # Let the user override the test.
5575 else
5576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5577 for as_dir in $PATH
5579 IFS=$as_save_IFS
5580 test -z "$as_dir" && as_dir=.
5581 for ac_exec_ext in '' $ac_executable_extensions; do
5582 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5583 ac_cv_prog_DB2HTML="$ac_prog"
5584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5585 break 2
5587 done
5588 done
5592 DB2HTML=$ac_cv_prog_DB2HTML
5593 if test -n "$DB2HTML"; then
5594 echo "$as_me:$LINENO: result: $DB2HTML" >&5
5595 echo "${ECHO_T}$DB2HTML" >&6
5596 else
5597 echo "$as_me:$LINENO: result: no" >&5
5598 echo "${ECHO_T}no" >&6
5601 test -n "$DB2HTML" && break
5602 done
5603 test -n "$DB2HTML" || DB2HTML="false"
5607 for ac_prog in docbook2pdf db2pdf
5609 # Extract the first word of "$ac_prog", so it can be a program name with args.
5610 set dummy $ac_prog; ac_word=$2
5611 echo "$as_me:$LINENO: checking for $ac_word" >&5
5612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5613 if test "${ac_cv_prog_DB2PDF+set}" = set; then
5614 echo $ECHO_N "(cached) $ECHO_C" >&6
5615 else
5616 if test -n "$DB2PDF"; then
5617 ac_cv_prog_DB2PDF="$DB2PDF" # Let the user override the test.
5618 else
5619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5620 for as_dir in $PATH
5622 IFS=$as_save_IFS
5623 test -z "$as_dir" && as_dir=.
5624 for ac_exec_ext in '' $ac_executable_extensions; do
5625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5626 ac_cv_prog_DB2PDF="$ac_prog"
5627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5628 break 2
5630 done
5631 done
5635 DB2PDF=$ac_cv_prog_DB2PDF
5636 if test -n "$DB2PDF"; then
5637 echo "$as_me:$LINENO: result: $DB2PDF" >&5
5638 echo "${ECHO_T}$DB2PDF" >&6
5639 else
5640 echo "$as_me:$LINENO: result: no" >&5
5641 echo "${ECHO_T}no" >&6
5644 test -n "$DB2PDF" && break
5645 done
5646 test -n "$DB2PDF" || DB2PDF="false"
5650 for ac_prog in docbook2ps db2ps
5652 # Extract the first word of "$ac_prog", so it can be a program name with args.
5653 set dummy $ac_prog; ac_word=$2
5654 echo "$as_me:$LINENO: checking for $ac_word" >&5
5655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5656 if test "${ac_cv_prog_DB2PS+set}" = set; then
5657 echo $ECHO_N "(cached) $ECHO_C" >&6
5658 else
5659 if test -n "$DB2PS"; then
5660 ac_cv_prog_DB2PS="$DB2PS" # Let the user override the test.
5661 else
5662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5663 for as_dir in $PATH
5665 IFS=$as_save_IFS
5666 test -z "$as_dir" && as_dir=.
5667 for ac_exec_ext in '' $ac_executable_extensions; do
5668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5669 ac_cv_prog_DB2PS="$ac_prog"
5670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5671 break 2
5673 done
5674 done
5678 DB2PS=$ac_cv_prog_DB2PS
5679 if test -n "$DB2PS"; then
5680 echo "$as_me:$LINENO: result: $DB2PS" >&5
5681 echo "${ECHO_T}$DB2PS" >&6
5682 else
5683 echo "$as_me:$LINENO: result: no" >&5
5684 echo "${ECHO_T}no" >&6
5687 test -n "$DB2PS" && break
5688 done
5689 test -n "$DB2PS" || DB2PS="false"
5693 for ac_prog in docbook2txt db2txt
5695 # Extract the first word of "$ac_prog", so it can be a program name with args.
5696 set dummy $ac_prog; ac_word=$2
5697 echo "$as_me:$LINENO: checking for $ac_word" >&5
5698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5699 if test "${ac_cv_prog_DB2TXT+set}" = set; then
5700 echo $ECHO_N "(cached) $ECHO_C" >&6
5701 else
5702 if test -n "$DB2TXT"; then
5703 ac_cv_prog_DB2TXT="$DB2TXT" # Let the user override the test.
5704 else
5705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5706 for as_dir in $PATH
5708 IFS=$as_save_IFS
5709 test -z "$as_dir" && as_dir=.
5710 for ac_exec_ext in '' $ac_executable_extensions; do
5711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5712 ac_cv_prog_DB2TXT="$ac_prog"
5713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5714 break 2
5716 done
5717 done
5721 DB2TXT=$ac_cv_prog_DB2TXT
5722 if test -n "$DB2TXT"; then
5723 echo "$as_me:$LINENO: result: $DB2TXT" >&5
5724 echo "${ECHO_T}$DB2TXT" >&6
5725 else
5726 echo "$as_me:$LINENO: result: no" >&5
5727 echo "${ECHO_T}no" >&6
5730 test -n "$DB2TXT" && break
5731 done
5732 test -n "$DB2TXT" || DB2TXT="false"
5738 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5739 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5740 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5741 echo $ECHO_N "(cached) $ECHO_C" >&6
5742 else
5743 ac_check_lib_save_LIBS=$LIBS
5744 LIBS="-li386 $LIBS"
5745 cat >conftest.$ac_ext <<_ACEOF
5746 /* confdefs.h. */
5747 _ACEOF
5748 cat confdefs.h >>conftest.$ac_ext
5749 cat >>conftest.$ac_ext <<_ACEOF
5750 /* end confdefs.h. */
5752 /* Override any gcc2 internal prototype to avoid an error. */
5753 #ifdef __cplusplus
5754 extern "C"
5755 #endif
5756 /* We use char because int might match the return type of a gcc2
5757 builtin and then its argument prototype would still apply. */
5758 char i386_set_ldt ();
5760 main ()
5762 i386_set_ldt ();
5764 return 0;
5766 _ACEOF
5767 rm -f conftest.$ac_objext conftest$ac_exeext
5768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5769 (eval $ac_link) 2>conftest.er1
5770 ac_status=$?
5771 grep -v '^ *+' conftest.er1 >conftest.err
5772 rm -f conftest.er1
5773 cat conftest.err >&5
5774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5775 (exit $ac_status); } &&
5776 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5778 (eval $ac_try) 2>&5
5779 ac_status=$?
5780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5781 (exit $ac_status); }; } &&
5782 { ac_try='test -s conftest$ac_exeext'
5783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5784 (eval $ac_try) 2>&5
5785 ac_status=$?
5786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787 (exit $ac_status); }; }; then
5788 ac_cv_lib_i386_i386_set_ldt=yes
5789 else
5790 echo "$as_me: failed program was:" >&5
5791 sed 's/^/| /' conftest.$ac_ext >&5
5793 ac_cv_lib_i386_i386_set_ldt=no
5795 rm -f conftest.err conftest.$ac_objext \
5796 conftest$ac_exeext conftest.$ac_ext
5797 LIBS=$ac_check_lib_save_LIBS
5799 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5800 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5801 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5802 cat >>confdefs.h <<_ACEOF
5803 #define HAVE_LIBI386 1
5804 _ACEOF
5806 LIBS="-li386 $LIBS"
5811 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5812 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5813 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5814 echo $ECHO_N "(cached) $ECHO_C" >&6
5815 else
5816 ac_check_lib_save_LIBS=$LIBS
5817 LIBS="-lossaudio $LIBS"
5818 cat >conftest.$ac_ext <<_ACEOF
5819 /* confdefs.h. */
5820 _ACEOF
5821 cat confdefs.h >>conftest.$ac_ext
5822 cat >>conftest.$ac_ext <<_ACEOF
5823 /* end confdefs.h. */
5825 /* Override any gcc2 internal prototype to avoid an error. */
5826 #ifdef __cplusplus
5827 extern "C"
5828 #endif
5829 /* We use char because int might match the return type of a gcc2
5830 builtin and then its argument prototype would still apply. */
5831 char _oss_ioctl ();
5833 main ()
5835 _oss_ioctl ();
5837 return 0;
5839 _ACEOF
5840 rm -f conftest.$ac_objext conftest$ac_exeext
5841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5842 (eval $ac_link) 2>conftest.er1
5843 ac_status=$?
5844 grep -v '^ *+' conftest.er1 >conftest.err
5845 rm -f conftest.er1
5846 cat conftest.err >&5
5847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5848 (exit $ac_status); } &&
5849 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5851 (eval $ac_try) 2>&5
5852 ac_status=$?
5853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5854 (exit $ac_status); }; } &&
5855 { ac_try='test -s conftest$ac_exeext'
5856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5857 (eval $ac_try) 2>&5
5858 ac_status=$?
5859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5860 (exit $ac_status); }; }; then
5861 ac_cv_lib_ossaudio__oss_ioctl=yes
5862 else
5863 echo "$as_me: failed program was:" >&5
5864 sed 's/^/| /' conftest.$ac_ext >&5
5866 ac_cv_lib_ossaudio__oss_ioctl=no
5868 rm -f conftest.err conftest.$ac_objext \
5869 conftest$ac_exeext conftest.$ac_ext
5870 LIBS=$ac_check_lib_save_LIBS
5872 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5873 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5874 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5875 cat >>confdefs.h <<_ACEOF
5876 #define HAVE_LIBOSSAUDIO 1
5877 _ACEOF
5879 LIBS="-lossaudio $LIBS"
5884 for ac_func in iswalnum
5886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5887 echo "$as_me:$LINENO: checking for $ac_func" >&5
5888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5889 if eval "test \"\${$as_ac_var+set}\" = set"; then
5890 echo $ECHO_N "(cached) $ECHO_C" >&6
5891 else
5892 cat >conftest.$ac_ext <<_ACEOF
5893 /* confdefs.h. */
5894 _ACEOF
5895 cat confdefs.h >>conftest.$ac_ext
5896 cat >>conftest.$ac_ext <<_ACEOF
5897 /* end confdefs.h. */
5898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5900 #define $ac_func innocuous_$ac_func
5902 /* System header to define __stub macros and hopefully few prototypes,
5903 which can conflict with char $ac_func (); below.
5904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5905 <limits.h> exists even on freestanding compilers. */
5907 #ifdef __STDC__
5908 # include <limits.h>
5909 #else
5910 # include <assert.h>
5911 #endif
5913 #undef $ac_func
5915 /* Override any gcc2 internal prototype to avoid an error. */
5916 #ifdef __cplusplus
5917 extern "C"
5919 #endif
5920 /* We use char because int might match the return type of a gcc2
5921 builtin and then its argument prototype would still apply. */
5922 char $ac_func ();
5923 /* The GNU C library defines this for functions which it implements
5924 to always fail with ENOSYS. Some functions are actually named
5925 something starting with __ and the normal name is an alias. */
5926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5927 choke me
5928 #else
5929 char (*f) () = $ac_func;
5930 #endif
5931 #ifdef __cplusplus
5933 #endif
5936 main ()
5938 return f != $ac_func;
5940 return 0;
5942 _ACEOF
5943 rm -f conftest.$ac_objext conftest$ac_exeext
5944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5945 (eval $ac_link) 2>conftest.er1
5946 ac_status=$?
5947 grep -v '^ *+' conftest.er1 >conftest.err
5948 rm -f conftest.er1
5949 cat conftest.err >&5
5950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5951 (exit $ac_status); } &&
5952 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5954 (eval $ac_try) 2>&5
5955 ac_status=$?
5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); }; } &&
5958 { ac_try='test -s conftest$ac_exeext'
5959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5960 (eval $ac_try) 2>&5
5961 ac_status=$?
5962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5963 (exit $ac_status); }; }; then
5964 eval "$as_ac_var=yes"
5965 else
5966 echo "$as_me: failed program was:" >&5
5967 sed 's/^/| /' conftest.$ac_ext >&5
5969 eval "$as_ac_var=no"
5971 rm -f conftest.err conftest.$ac_objext \
5972 conftest$ac_exeext conftest.$ac_ext
5974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5976 if test `eval echo '${'$as_ac_var'}'` = yes; then
5977 cat >>confdefs.h <<_ACEOF
5978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5979 _ACEOF
5981 else
5983 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
5984 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
5985 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
5986 echo $ECHO_N "(cached) $ECHO_C" >&6
5987 else
5988 ac_check_lib_save_LIBS=$LIBS
5989 LIBS="-lw $LIBS"
5990 cat >conftest.$ac_ext <<_ACEOF
5991 /* confdefs.h. */
5992 _ACEOF
5993 cat confdefs.h >>conftest.$ac_ext
5994 cat >>conftest.$ac_ext <<_ACEOF
5995 /* end confdefs.h. */
5997 /* Override any gcc2 internal prototype to avoid an error. */
5998 #ifdef __cplusplus
5999 extern "C"
6000 #endif
6001 /* We use char because int might match the return type of a gcc2
6002 builtin and then its argument prototype would still apply. */
6003 char iswalnum ();
6005 main ()
6007 iswalnum ();
6009 return 0;
6011 _ACEOF
6012 rm -f conftest.$ac_objext conftest$ac_exeext
6013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6014 (eval $ac_link) 2>conftest.er1
6015 ac_status=$?
6016 grep -v '^ *+' conftest.er1 >conftest.err
6017 rm -f conftest.er1
6018 cat conftest.err >&5
6019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020 (exit $ac_status); } &&
6021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6023 (eval $ac_try) 2>&5
6024 ac_status=$?
6025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026 (exit $ac_status); }; } &&
6027 { ac_try='test -s conftest$ac_exeext'
6028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6029 (eval $ac_try) 2>&5
6030 ac_status=$?
6031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032 (exit $ac_status); }; }; then
6033 ac_cv_lib_w_iswalnum=yes
6034 else
6035 echo "$as_me: failed program was:" >&5
6036 sed 's/^/| /' conftest.$ac_ext >&5
6038 ac_cv_lib_w_iswalnum=no
6040 rm -f conftest.err conftest.$ac_objext \
6041 conftest$ac_exeext conftest.$ac_ext
6042 LIBS=$ac_check_lib_save_LIBS
6044 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
6045 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
6046 if test $ac_cv_lib_w_iswalnum = yes; then
6047 cat >>confdefs.h <<_ACEOF
6048 #define HAVE_LIBW 1
6049 _ACEOF
6051 LIBS="-lw $LIBS"
6056 done
6059 for ac_func in gethostbyname
6061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6062 echo "$as_me:$LINENO: checking for $ac_func" >&5
6063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6064 if eval "test \"\${$as_ac_var+set}\" = set"; then
6065 echo $ECHO_N "(cached) $ECHO_C" >&6
6066 else
6067 cat >conftest.$ac_ext <<_ACEOF
6068 /* confdefs.h. */
6069 _ACEOF
6070 cat confdefs.h >>conftest.$ac_ext
6071 cat >>conftest.$ac_ext <<_ACEOF
6072 /* end confdefs.h. */
6073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6075 #define $ac_func innocuous_$ac_func
6077 /* System header to define __stub macros and hopefully few prototypes,
6078 which can conflict with char $ac_func (); below.
6079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6080 <limits.h> exists even on freestanding compilers. */
6082 #ifdef __STDC__
6083 # include <limits.h>
6084 #else
6085 # include <assert.h>
6086 #endif
6088 #undef $ac_func
6090 /* Override any gcc2 internal prototype to avoid an error. */
6091 #ifdef __cplusplus
6092 extern "C"
6094 #endif
6095 /* We use char because int might match the return type of a gcc2
6096 builtin and then its argument prototype would still apply. */
6097 char $ac_func ();
6098 /* The GNU C library defines this for functions which it implements
6099 to always fail with ENOSYS. Some functions are actually named
6100 something starting with __ and the normal name is an alias. */
6101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6102 choke me
6103 #else
6104 char (*f) () = $ac_func;
6105 #endif
6106 #ifdef __cplusplus
6108 #endif
6111 main ()
6113 return f != $ac_func;
6115 return 0;
6117 _ACEOF
6118 rm -f conftest.$ac_objext conftest$ac_exeext
6119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6120 (eval $ac_link) 2>conftest.er1
6121 ac_status=$?
6122 grep -v '^ *+' conftest.er1 >conftest.err
6123 rm -f conftest.er1
6124 cat conftest.err >&5
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); } &&
6127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6129 (eval $ac_try) 2>&5
6130 ac_status=$?
6131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6132 (exit $ac_status); }; } &&
6133 { ac_try='test -s conftest$ac_exeext'
6134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6135 (eval $ac_try) 2>&5
6136 ac_status=$?
6137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6138 (exit $ac_status); }; }; then
6139 eval "$as_ac_var=yes"
6140 else
6141 echo "$as_me: failed program was:" >&5
6142 sed 's/^/| /' conftest.$ac_ext >&5
6144 eval "$as_ac_var=no"
6146 rm -f conftest.err conftest.$ac_objext \
6147 conftest$ac_exeext conftest.$ac_ext
6149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6151 if test `eval echo '${'$as_ac_var'}'` = yes; then
6152 cat >>confdefs.h <<_ACEOF
6153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6154 _ACEOF
6156 else
6158 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6159 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6160 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6161 echo $ECHO_N "(cached) $ECHO_C" >&6
6162 else
6163 ac_check_lib_save_LIBS=$LIBS
6164 LIBS="-lnsl $LIBS"
6165 cat >conftest.$ac_ext <<_ACEOF
6166 /* confdefs.h. */
6167 _ACEOF
6168 cat confdefs.h >>conftest.$ac_ext
6169 cat >>conftest.$ac_ext <<_ACEOF
6170 /* end confdefs.h. */
6172 /* Override any gcc2 internal prototype to avoid an error. */
6173 #ifdef __cplusplus
6174 extern "C"
6175 #endif
6176 /* We use char because int might match the return type of a gcc2
6177 builtin and then its argument prototype would still apply. */
6178 char gethostbyname ();
6180 main ()
6182 gethostbyname ();
6184 return 0;
6186 _ACEOF
6187 rm -f conftest.$ac_objext conftest$ac_exeext
6188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6189 (eval $ac_link) 2>conftest.er1
6190 ac_status=$?
6191 grep -v '^ *+' conftest.er1 >conftest.err
6192 rm -f conftest.er1
6193 cat conftest.err >&5
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); } &&
6196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6198 (eval $ac_try) 2>&5
6199 ac_status=$?
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201 (exit $ac_status); }; } &&
6202 { ac_try='test -s conftest$ac_exeext'
6203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6204 (eval $ac_try) 2>&5
6205 ac_status=$?
6206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6207 (exit $ac_status); }; }; then
6208 ac_cv_lib_nsl_gethostbyname=yes
6209 else
6210 echo "$as_me: failed program was:" >&5
6211 sed 's/^/| /' conftest.$ac_ext >&5
6213 ac_cv_lib_nsl_gethostbyname=no
6215 rm -f conftest.err conftest.$ac_objext \
6216 conftest$ac_exeext conftest.$ac_ext
6217 LIBS=$ac_check_lib_save_LIBS
6219 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6220 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6221 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6222 cat >>confdefs.h <<_ACEOF
6223 #define HAVE_LIBNSL 1
6224 _ACEOF
6226 LIBS="-lnsl $LIBS"
6231 done
6234 for ac_func in connect
6236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6237 echo "$as_me:$LINENO: checking for $ac_func" >&5
6238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6239 if eval "test \"\${$as_ac_var+set}\" = set"; then
6240 echo $ECHO_N "(cached) $ECHO_C" >&6
6241 else
6242 cat >conftest.$ac_ext <<_ACEOF
6243 /* confdefs.h. */
6244 _ACEOF
6245 cat confdefs.h >>conftest.$ac_ext
6246 cat >>conftest.$ac_ext <<_ACEOF
6247 /* end confdefs.h. */
6248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6250 #define $ac_func innocuous_$ac_func
6252 /* System header to define __stub macros and hopefully few prototypes,
6253 which can conflict with char $ac_func (); below.
6254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6255 <limits.h> exists even on freestanding compilers. */
6257 #ifdef __STDC__
6258 # include <limits.h>
6259 #else
6260 # include <assert.h>
6261 #endif
6263 #undef $ac_func
6265 /* Override any gcc2 internal prototype to avoid an error. */
6266 #ifdef __cplusplus
6267 extern "C"
6269 #endif
6270 /* We use char because int might match the return type of a gcc2
6271 builtin and then its argument prototype would still apply. */
6272 char $ac_func ();
6273 /* The GNU C library defines this for functions which it implements
6274 to always fail with ENOSYS. Some functions are actually named
6275 something starting with __ and the normal name is an alias. */
6276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6277 choke me
6278 #else
6279 char (*f) () = $ac_func;
6280 #endif
6281 #ifdef __cplusplus
6283 #endif
6286 main ()
6288 return f != $ac_func;
6290 return 0;
6292 _ACEOF
6293 rm -f conftest.$ac_objext conftest$ac_exeext
6294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6295 (eval $ac_link) 2>conftest.er1
6296 ac_status=$?
6297 grep -v '^ *+' conftest.er1 >conftest.err
6298 rm -f conftest.er1
6299 cat conftest.err >&5
6300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6301 (exit $ac_status); } &&
6302 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6304 (eval $ac_try) 2>&5
6305 ac_status=$?
6306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6307 (exit $ac_status); }; } &&
6308 { ac_try='test -s conftest$ac_exeext'
6309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6310 (eval $ac_try) 2>&5
6311 ac_status=$?
6312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6313 (exit $ac_status); }; }; then
6314 eval "$as_ac_var=yes"
6315 else
6316 echo "$as_me: failed program was:" >&5
6317 sed 's/^/| /' conftest.$ac_ext >&5
6319 eval "$as_ac_var=no"
6321 rm -f conftest.err conftest.$ac_objext \
6322 conftest$ac_exeext conftest.$ac_ext
6324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6326 if test `eval echo '${'$as_ac_var'}'` = yes; then
6327 cat >>confdefs.h <<_ACEOF
6328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6329 _ACEOF
6331 else
6333 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6334 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6335 if test "${ac_cv_lib_socket_connect+set}" = set; then
6336 echo $ECHO_N "(cached) $ECHO_C" >&6
6337 else
6338 ac_check_lib_save_LIBS=$LIBS
6339 LIBS="-lsocket $LIBS"
6340 cat >conftest.$ac_ext <<_ACEOF
6341 /* confdefs.h. */
6342 _ACEOF
6343 cat confdefs.h >>conftest.$ac_ext
6344 cat >>conftest.$ac_ext <<_ACEOF
6345 /* end confdefs.h. */
6347 /* Override any gcc2 internal prototype to avoid an error. */
6348 #ifdef __cplusplus
6349 extern "C"
6350 #endif
6351 /* We use char because int might match the return type of a gcc2
6352 builtin and then its argument prototype would still apply. */
6353 char connect ();
6355 main ()
6357 connect ();
6359 return 0;
6361 _ACEOF
6362 rm -f conftest.$ac_objext conftest$ac_exeext
6363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6364 (eval $ac_link) 2>conftest.er1
6365 ac_status=$?
6366 grep -v '^ *+' conftest.er1 >conftest.err
6367 rm -f conftest.er1
6368 cat conftest.err >&5
6369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370 (exit $ac_status); } &&
6371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6373 (eval $ac_try) 2>&5
6374 ac_status=$?
6375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6376 (exit $ac_status); }; } &&
6377 { ac_try='test -s conftest$ac_exeext'
6378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6379 (eval $ac_try) 2>&5
6380 ac_status=$?
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); }; }; then
6383 ac_cv_lib_socket_connect=yes
6384 else
6385 echo "$as_me: failed program was:" >&5
6386 sed 's/^/| /' conftest.$ac_ext >&5
6388 ac_cv_lib_socket_connect=no
6390 rm -f conftest.err conftest.$ac_objext \
6391 conftest$ac_exeext conftest.$ac_ext
6392 LIBS=$ac_check_lib_save_LIBS
6394 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6395 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6396 if test $ac_cv_lib_socket_connect = yes; then
6397 cat >>confdefs.h <<_ACEOF
6398 #define HAVE_LIBSOCKET 1
6399 _ACEOF
6401 LIBS="-lsocket $LIBS"
6406 done
6409 for ac_func in inet_aton
6411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6412 echo "$as_me:$LINENO: checking for $ac_func" >&5
6413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6414 if eval "test \"\${$as_ac_var+set}\" = set"; then
6415 echo $ECHO_N "(cached) $ECHO_C" >&6
6416 else
6417 cat >conftest.$ac_ext <<_ACEOF
6418 /* confdefs.h. */
6419 _ACEOF
6420 cat confdefs.h >>conftest.$ac_ext
6421 cat >>conftest.$ac_ext <<_ACEOF
6422 /* end confdefs.h. */
6423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6425 #define $ac_func innocuous_$ac_func
6427 /* System header to define __stub macros and hopefully few prototypes,
6428 which can conflict with char $ac_func (); below.
6429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6430 <limits.h> exists even on freestanding compilers. */
6432 #ifdef __STDC__
6433 # include <limits.h>
6434 #else
6435 # include <assert.h>
6436 #endif
6438 #undef $ac_func
6440 /* Override any gcc2 internal prototype to avoid an error. */
6441 #ifdef __cplusplus
6442 extern "C"
6444 #endif
6445 /* We use char because int might match the return type of a gcc2
6446 builtin and then its argument prototype would still apply. */
6447 char $ac_func ();
6448 /* The GNU C library defines this for functions which it implements
6449 to always fail with ENOSYS. Some functions are actually named
6450 something starting with __ and the normal name is an alias. */
6451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6452 choke me
6453 #else
6454 char (*f) () = $ac_func;
6455 #endif
6456 #ifdef __cplusplus
6458 #endif
6461 main ()
6463 return f != $ac_func;
6465 return 0;
6467 _ACEOF
6468 rm -f conftest.$ac_objext conftest$ac_exeext
6469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6470 (eval $ac_link) 2>conftest.er1
6471 ac_status=$?
6472 grep -v '^ *+' conftest.er1 >conftest.err
6473 rm -f conftest.er1
6474 cat conftest.err >&5
6475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476 (exit $ac_status); } &&
6477 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6479 (eval $ac_try) 2>&5
6480 ac_status=$?
6481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6482 (exit $ac_status); }; } &&
6483 { ac_try='test -s conftest$ac_exeext'
6484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6485 (eval $ac_try) 2>&5
6486 ac_status=$?
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); }; }; then
6489 eval "$as_ac_var=yes"
6490 else
6491 echo "$as_me: failed program was:" >&5
6492 sed 's/^/| /' conftest.$ac_ext >&5
6494 eval "$as_ac_var=no"
6496 rm -f conftest.err conftest.$ac_objext \
6497 conftest$ac_exeext conftest.$ac_ext
6499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6501 if test `eval echo '${'$as_ac_var'}'` = yes; then
6502 cat >>confdefs.h <<_ACEOF
6503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6504 _ACEOF
6506 else
6508 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6509 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6510 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6511 echo $ECHO_N "(cached) $ECHO_C" >&6
6512 else
6513 ac_check_lib_save_LIBS=$LIBS
6514 LIBS="-lresolv $LIBS"
6515 cat >conftest.$ac_ext <<_ACEOF
6516 /* confdefs.h. */
6517 _ACEOF
6518 cat confdefs.h >>conftest.$ac_ext
6519 cat >>conftest.$ac_ext <<_ACEOF
6520 /* end confdefs.h. */
6522 /* Override any gcc2 internal prototype to avoid an error. */
6523 #ifdef __cplusplus
6524 extern "C"
6525 #endif
6526 /* We use char because int might match the return type of a gcc2
6527 builtin and then its argument prototype would still apply. */
6528 char inet_aton ();
6530 main ()
6532 inet_aton ();
6534 return 0;
6536 _ACEOF
6537 rm -f conftest.$ac_objext conftest$ac_exeext
6538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6539 (eval $ac_link) 2>conftest.er1
6540 ac_status=$?
6541 grep -v '^ *+' conftest.er1 >conftest.err
6542 rm -f conftest.er1
6543 cat conftest.err >&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); } &&
6546 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6548 (eval $ac_try) 2>&5
6549 ac_status=$?
6550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551 (exit $ac_status); }; } &&
6552 { ac_try='test -s conftest$ac_exeext'
6553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6554 (eval $ac_try) 2>&5
6555 ac_status=$?
6556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6557 (exit $ac_status); }; }; then
6558 ac_cv_lib_resolv_inet_aton=yes
6559 else
6560 echo "$as_me: failed program was:" >&5
6561 sed 's/^/| /' conftest.$ac_ext >&5
6563 ac_cv_lib_resolv_inet_aton=no
6565 rm -f conftest.err conftest.$ac_objext \
6566 conftest$ac_exeext conftest.$ac_ext
6567 LIBS=$ac_check_lib_save_LIBS
6569 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6570 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6571 if test $ac_cv_lib_resolv_inet_aton = yes; then
6572 cat >>confdefs.h <<_ACEOF
6573 #define HAVE_LIBRESOLV 1
6574 _ACEOF
6576 LIBS="-lresolv $LIBS"
6581 done
6584 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6585 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6586 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6587 echo $ECHO_N "(cached) $ECHO_C" >&6
6588 else
6589 ac_check_lib_save_LIBS=$LIBS
6590 LIBS="-lxpg4 $LIBS"
6591 cat >conftest.$ac_ext <<_ACEOF
6592 /* confdefs.h. */
6593 _ACEOF
6594 cat confdefs.h >>conftest.$ac_ext
6595 cat >>conftest.$ac_ext <<_ACEOF
6596 /* end confdefs.h. */
6598 /* Override any gcc2 internal prototype to avoid an error. */
6599 #ifdef __cplusplus
6600 extern "C"
6601 #endif
6602 /* We use char because int might match the return type of a gcc2
6603 builtin and then its argument prototype would still apply. */
6604 char _xpg4_setrunelocale ();
6606 main ()
6608 _xpg4_setrunelocale ();
6610 return 0;
6612 _ACEOF
6613 rm -f conftest.$ac_objext conftest$ac_exeext
6614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6615 (eval $ac_link) 2>conftest.er1
6616 ac_status=$?
6617 grep -v '^ *+' conftest.er1 >conftest.err
6618 rm -f conftest.er1
6619 cat conftest.err >&5
6620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6621 (exit $ac_status); } &&
6622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6624 (eval $ac_try) 2>&5
6625 ac_status=$?
6626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6627 (exit $ac_status); }; } &&
6628 { ac_try='test -s conftest$ac_exeext'
6629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6630 (eval $ac_try) 2>&5
6631 ac_status=$?
6632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6633 (exit $ac_status); }; }; then
6634 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6635 else
6636 echo "$as_me: failed program was:" >&5
6637 sed 's/^/| /' conftest.$ac_ext >&5
6639 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6641 rm -f conftest.err conftest.$ac_objext \
6642 conftest$ac_exeext conftest.$ac_ext
6643 LIBS=$ac_check_lib_save_LIBS
6645 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6646 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6647 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6648 cat >>confdefs.h <<_ACEOF
6649 #define HAVE_LIBXPG4 1
6650 _ACEOF
6652 LIBS="-lxpg4 $LIBS"
6657 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6658 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6659 if test "${ac_cv_lib_poll_poll+set}" = set; then
6660 echo $ECHO_N "(cached) $ECHO_C" >&6
6661 else
6662 ac_check_lib_save_LIBS=$LIBS
6663 LIBS="-lpoll $LIBS"
6664 cat >conftest.$ac_ext <<_ACEOF
6665 /* confdefs.h. */
6666 _ACEOF
6667 cat confdefs.h >>conftest.$ac_ext
6668 cat >>conftest.$ac_ext <<_ACEOF
6669 /* end confdefs.h. */
6671 /* Override any gcc2 internal prototype to avoid an error. */
6672 #ifdef __cplusplus
6673 extern "C"
6674 #endif
6675 /* We use char because int might match the return type of a gcc2
6676 builtin and then its argument prototype would still apply. */
6677 char poll ();
6679 main ()
6681 poll ();
6683 return 0;
6685 _ACEOF
6686 rm -f conftest.$ac_objext conftest$ac_exeext
6687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6688 (eval $ac_link) 2>conftest.er1
6689 ac_status=$?
6690 grep -v '^ *+' conftest.er1 >conftest.err
6691 rm -f conftest.er1
6692 cat conftest.err >&5
6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694 (exit $ac_status); } &&
6695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6697 (eval $ac_try) 2>&5
6698 ac_status=$?
6699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6700 (exit $ac_status); }; } &&
6701 { ac_try='test -s conftest$ac_exeext'
6702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6703 (eval $ac_try) 2>&5
6704 ac_status=$?
6705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6706 (exit $ac_status); }; }; then
6707 ac_cv_lib_poll_poll=yes
6708 else
6709 echo "$as_me: failed program was:" >&5
6710 sed 's/^/| /' conftest.$ac_ext >&5
6712 ac_cv_lib_poll_poll=no
6714 rm -f conftest.err conftest.$ac_objext \
6715 conftest$ac_exeext conftest.$ac_ext
6716 LIBS=$ac_check_lib_save_LIBS
6718 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6719 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6720 if test $ac_cv_lib_poll_poll = yes; then
6721 cat >>confdefs.h <<_ACEOF
6722 #define HAVE_LIBPOLL 1
6723 _ACEOF
6725 LIBS="-lpoll $LIBS"
6730 echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
6731 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6
6732 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
6733 echo $ECHO_N "(cached) $ECHO_C" >&6
6734 else
6735 ac_check_lib_save_LIBS=$LIBS
6736 LIBS="-lresolv $LIBS"
6737 cat >conftest.$ac_ext <<_ACEOF
6738 /* confdefs.h. */
6739 _ACEOF
6740 cat confdefs.h >>conftest.$ac_ext
6741 cat >>conftest.$ac_ext <<_ACEOF
6742 /* end confdefs.h. */
6744 /* Override any gcc2 internal prototype to avoid an error. */
6745 #ifdef __cplusplus
6746 extern "C"
6747 #endif
6748 /* We use char because int might match the return type of a gcc2
6749 builtin and then its argument prototype would still apply. */
6750 char res_9_init ();
6752 main ()
6754 res_9_init ();
6756 return 0;
6758 _ACEOF
6759 rm -f conftest.$ac_objext conftest$ac_exeext
6760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6761 (eval $ac_link) 2>conftest.er1
6762 ac_status=$?
6763 grep -v '^ *+' conftest.er1 >conftest.err
6764 rm -f conftest.er1
6765 cat conftest.err >&5
6766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6767 (exit $ac_status); } &&
6768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6770 (eval $ac_try) 2>&5
6771 ac_status=$?
6772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773 (exit $ac_status); }; } &&
6774 { ac_try='test -s conftest$ac_exeext'
6775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6776 (eval $ac_try) 2>&5
6777 ac_status=$?
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); }; }; then
6780 ac_cv_lib_resolv_res_9_init=yes
6781 else
6782 echo "$as_me: failed program was:" >&5
6783 sed 's/^/| /' conftest.$ac_ext >&5
6785 ac_cv_lib_resolv_res_9_init=no
6787 rm -f conftest.err conftest.$ac_objext \
6788 conftest$ac_exeext conftest.$ac_ext
6789 LIBS=$ac_check_lib_save_LIBS
6791 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
6792 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6
6793 if test $ac_cv_lib_resolv_res_9_init = yes; then
6794 cat >>confdefs.h <<_ACEOF
6795 #define HAVE_LIBRESOLV 1
6796 _ACEOF
6798 LIBS="-lresolv $LIBS"
6802 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6803 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6804 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6805 echo $ECHO_N "(cached) $ECHO_C" >&6
6806 else
6807 ac_check_lib_save_LIBS=$LIBS
6808 LIBS="-lpthread $LIBS"
6809 cat >conftest.$ac_ext <<_ACEOF
6810 /* confdefs.h. */
6811 _ACEOF
6812 cat confdefs.h >>conftest.$ac_ext
6813 cat >>conftest.$ac_ext <<_ACEOF
6814 /* end confdefs.h. */
6816 /* Override any gcc2 internal prototype to avoid an error. */
6817 #ifdef __cplusplus
6818 extern "C"
6819 #endif
6820 /* We use char because int might match the return type of a gcc2
6821 builtin and then its argument prototype would still apply. */
6822 char pthread_create ();
6824 main ()
6826 pthread_create ();
6828 return 0;
6830 _ACEOF
6831 rm -f conftest.$ac_objext conftest$ac_exeext
6832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6833 (eval $ac_link) 2>conftest.er1
6834 ac_status=$?
6835 grep -v '^ *+' conftest.er1 >conftest.err
6836 rm -f conftest.er1
6837 cat conftest.err >&5
6838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6839 (exit $ac_status); } &&
6840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6842 (eval $ac_try) 2>&5
6843 ac_status=$?
6844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6845 (exit $ac_status); }; } &&
6846 { ac_try='test -s conftest$ac_exeext'
6847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6848 (eval $ac_try) 2>&5
6849 ac_status=$?
6850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6851 (exit $ac_status); }; }; then
6852 ac_cv_lib_pthread_pthread_create=yes
6853 else
6854 echo "$as_me: failed program was:" >&5
6855 sed 's/^/| /' conftest.$ac_ext >&5
6857 ac_cv_lib_pthread_pthread_create=no
6859 rm -f conftest.err conftest.$ac_objext \
6860 conftest$ac_exeext conftest.$ac_ext
6861 LIBS=$ac_check_lib_save_LIBS
6863 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6864 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6865 if test $ac_cv_lib_pthread_pthread_create = yes; then
6866 LIBPTHREAD="-lpthread"
6873 XFILES=""
6875 OPENGLFILES=""
6877 GLU32FILES=""
6879 OPENGL_LIBS=""
6880 if test "$have_x" = "yes"
6881 then
6882 XLIB="-lXext -lX11"
6883 ac_save_CPPFLAGS="$CPPFLAGS"
6884 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
6886 echo "$as_me:$LINENO: checking for egrep" >&5
6887 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6888 if test "${ac_cv_prog_egrep+set}" = set; then
6889 echo $ECHO_N "(cached) $ECHO_C" >&6
6890 else
6891 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6892 then ac_cv_prog_egrep='grep -E'
6893 else ac_cv_prog_egrep='egrep'
6896 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6897 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6898 EGREP=$ac_cv_prog_egrep
6901 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6902 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6903 if test "${ac_cv_header_stdc+set}" = set; then
6904 echo $ECHO_N "(cached) $ECHO_C" >&6
6905 else
6906 cat >conftest.$ac_ext <<_ACEOF
6907 /* confdefs.h. */
6908 _ACEOF
6909 cat confdefs.h >>conftest.$ac_ext
6910 cat >>conftest.$ac_ext <<_ACEOF
6911 /* end confdefs.h. */
6912 #include <stdlib.h>
6913 #include <stdarg.h>
6914 #include <string.h>
6915 #include <float.h>
6918 main ()
6922 return 0;
6924 _ACEOF
6925 rm -f conftest.$ac_objext
6926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6927 (eval $ac_compile) 2>conftest.er1
6928 ac_status=$?
6929 grep -v '^ *+' conftest.er1 >conftest.err
6930 rm -f conftest.er1
6931 cat conftest.err >&5
6932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6933 (exit $ac_status); } &&
6934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6936 (eval $ac_try) 2>&5
6937 ac_status=$?
6938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6939 (exit $ac_status); }; } &&
6940 { ac_try='test -s conftest.$ac_objext'
6941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6942 (eval $ac_try) 2>&5
6943 ac_status=$?
6944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6945 (exit $ac_status); }; }; then
6946 ac_cv_header_stdc=yes
6947 else
6948 echo "$as_me: failed program was:" >&5
6949 sed 's/^/| /' conftest.$ac_ext >&5
6951 ac_cv_header_stdc=no
6953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6955 if test $ac_cv_header_stdc = yes; then
6956 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6957 cat >conftest.$ac_ext <<_ACEOF
6958 /* confdefs.h. */
6959 _ACEOF
6960 cat confdefs.h >>conftest.$ac_ext
6961 cat >>conftest.$ac_ext <<_ACEOF
6962 /* end confdefs.h. */
6963 #include <string.h>
6965 _ACEOF
6966 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6967 $EGREP "memchr" >/dev/null 2>&1; then
6969 else
6970 ac_cv_header_stdc=no
6972 rm -f conftest*
6976 if test $ac_cv_header_stdc = yes; then
6977 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6978 cat >conftest.$ac_ext <<_ACEOF
6979 /* confdefs.h. */
6980 _ACEOF
6981 cat confdefs.h >>conftest.$ac_ext
6982 cat >>conftest.$ac_ext <<_ACEOF
6983 /* end confdefs.h. */
6984 #include <stdlib.h>
6986 _ACEOF
6987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6988 $EGREP "free" >/dev/null 2>&1; then
6990 else
6991 ac_cv_header_stdc=no
6993 rm -f conftest*
6997 if test $ac_cv_header_stdc = yes; then
6998 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6999 if test "$cross_compiling" = yes; then
7001 else
7002 cat >conftest.$ac_ext <<_ACEOF
7003 /* confdefs.h. */
7004 _ACEOF
7005 cat confdefs.h >>conftest.$ac_ext
7006 cat >>conftest.$ac_ext <<_ACEOF
7007 /* end confdefs.h. */
7008 #include <ctype.h>
7009 #if ((' ' & 0x0FF) == 0x020)
7010 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7011 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7012 #else
7013 # define ISLOWER(c) \
7014 (('a' <= (c) && (c) <= 'i') \
7015 || ('j' <= (c) && (c) <= 'r') \
7016 || ('s' <= (c) && (c) <= 'z'))
7017 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7018 #endif
7020 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7022 main ()
7024 int i;
7025 for (i = 0; i < 256; i++)
7026 if (XOR (islower (i), ISLOWER (i))
7027 || toupper (i) != TOUPPER (i))
7028 exit(2);
7029 exit (0);
7031 _ACEOF
7032 rm -f conftest$ac_exeext
7033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7034 (eval $ac_link) 2>&5
7035 ac_status=$?
7036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7037 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7039 (eval $ac_try) 2>&5
7040 ac_status=$?
7041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7042 (exit $ac_status); }; }; then
7044 else
7045 echo "$as_me: program exited with status $ac_status" >&5
7046 echo "$as_me: failed program was:" >&5
7047 sed 's/^/| /' conftest.$ac_ext >&5
7049 ( exit $ac_status )
7050 ac_cv_header_stdc=no
7052 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7056 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7057 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7058 if test $ac_cv_header_stdc = yes; then
7060 cat >>confdefs.h <<\_ACEOF
7061 #define STDC_HEADERS 1
7062 _ACEOF
7066 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7076 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7077 inttypes.h stdint.h unistd.h
7079 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7080 echo "$as_me:$LINENO: checking for $ac_header" >&5
7081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7083 echo $ECHO_N "(cached) $ECHO_C" >&6
7084 else
7085 cat >conftest.$ac_ext <<_ACEOF
7086 /* confdefs.h. */
7087 _ACEOF
7088 cat confdefs.h >>conftest.$ac_ext
7089 cat >>conftest.$ac_ext <<_ACEOF
7090 /* end confdefs.h. */
7091 $ac_includes_default
7093 #include <$ac_header>
7094 _ACEOF
7095 rm -f conftest.$ac_objext
7096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7097 (eval $ac_compile) 2>conftest.er1
7098 ac_status=$?
7099 grep -v '^ *+' conftest.er1 >conftest.err
7100 rm -f conftest.er1
7101 cat conftest.err >&5
7102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7103 (exit $ac_status); } &&
7104 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7106 (eval $ac_try) 2>&5
7107 ac_status=$?
7108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7109 (exit $ac_status); }; } &&
7110 { ac_try='test -s conftest.$ac_objext'
7111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7112 (eval $ac_try) 2>&5
7113 ac_status=$?
7114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7115 (exit $ac_status); }; }; then
7116 eval "$as_ac_Header=yes"
7117 else
7118 echo "$as_me: failed program was:" >&5
7119 sed 's/^/| /' conftest.$ac_ext >&5
7121 eval "$as_ac_Header=no"
7123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7128 cat >>confdefs.h <<_ACEOF
7129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7130 _ACEOF
7134 done
7138 for ac_header in X11/Xlib.h
7140 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7142 echo "$as_me:$LINENO: checking for $ac_header" >&5
7143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7145 echo $ECHO_N "(cached) $ECHO_C" >&6
7147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7148 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7149 else
7150 # Is the header compilable?
7151 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7152 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7153 cat >conftest.$ac_ext <<_ACEOF
7154 /* confdefs.h. */
7155 _ACEOF
7156 cat confdefs.h >>conftest.$ac_ext
7157 cat >>conftest.$ac_ext <<_ACEOF
7158 /* end confdefs.h. */
7159 $ac_includes_default
7160 #include <$ac_header>
7161 _ACEOF
7162 rm -f conftest.$ac_objext
7163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7164 (eval $ac_compile) 2>conftest.er1
7165 ac_status=$?
7166 grep -v '^ *+' conftest.er1 >conftest.err
7167 rm -f conftest.er1
7168 cat conftest.err >&5
7169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7170 (exit $ac_status); } &&
7171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7173 (eval $ac_try) 2>&5
7174 ac_status=$?
7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 (exit $ac_status); }; } &&
7177 { ac_try='test -s conftest.$ac_objext'
7178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7179 (eval $ac_try) 2>&5
7180 ac_status=$?
7181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182 (exit $ac_status); }; }; then
7183 ac_header_compiler=yes
7184 else
7185 echo "$as_me: failed program was:" >&5
7186 sed 's/^/| /' conftest.$ac_ext >&5
7188 ac_header_compiler=no
7190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7191 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7192 echo "${ECHO_T}$ac_header_compiler" >&6
7194 # Is the header present?
7195 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7196 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7197 cat >conftest.$ac_ext <<_ACEOF
7198 /* confdefs.h. */
7199 _ACEOF
7200 cat confdefs.h >>conftest.$ac_ext
7201 cat >>conftest.$ac_ext <<_ACEOF
7202 /* end confdefs.h. */
7203 #include <$ac_header>
7204 _ACEOF
7205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7206 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7207 ac_status=$?
7208 grep -v '^ *+' conftest.er1 >conftest.err
7209 rm -f conftest.er1
7210 cat conftest.err >&5
7211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212 (exit $ac_status); } >/dev/null; then
7213 if test -s conftest.err; then
7214 ac_cpp_err=$ac_c_preproc_warn_flag
7215 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7216 else
7217 ac_cpp_err=
7219 else
7220 ac_cpp_err=yes
7222 if test -z "$ac_cpp_err"; then
7223 ac_header_preproc=yes
7224 else
7225 echo "$as_me: failed program was:" >&5
7226 sed 's/^/| /' conftest.$ac_ext >&5
7228 ac_header_preproc=no
7230 rm -f conftest.err conftest.$ac_ext
7231 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7232 echo "${ECHO_T}$ac_header_preproc" >&6
7234 # So? What about this header?
7235 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7236 yes:no: )
7237 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7238 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7240 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7241 ac_header_preproc=yes
7243 no:yes:* )
7244 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7245 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7246 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7247 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7248 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7249 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7250 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7251 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7253 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7254 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7255 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7257 cat <<\_ASBOX
7258 ## ------------------------------------ ##
7259 ## Report this to wine-devel@winehq.org ##
7260 ## ------------------------------------ ##
7261 _ASBOX
7263 sed "s/^/$as_me: WARNING: /" >&2
7265 esac
7266 echo "$as_me:$LINENO: checking for $ac_header" >&5
7267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7268 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7269 echo $ECHO_N "(cached) $ECHO_C" >&6
7270 else
7271 eval "$as_ac_Header=\$ac_header_preproc"
7273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7277 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7278 cat >>confdefs.h <<_ACEOF
7279 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7280 _ACEOF
7292 for ac_header in X11/XKBlib.h \
7293 X11/Xutil.h \
7294 X11/extensions/shape.h \
7295 X11/extensions/XInput.h \
7296 X11/extensions/XShm.h \
7297 X11/extensions/Xrandr.h \
7298 X11/extensions/Xrender.h \
7299 X11/extensions/Xvlib.h \
7300 X11/extensions/xf86dga.h \
7301 X11/extensions/xf86vmode.h
7303 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7304 echo "$as_me:$LINENO: checking for $ac_header" >&5
7305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7307 echo $ECHO_N "(cached) $ECHO_C" >&6
7308 else
7309 cat >conftest.$ac_ext <<_ACEOF
7310 /* confdefs.h. */
7311 _ACEOF
7312 cat confdefs.h >>conftest.$ac_ext
7313 cat >>conftest.$ac_ext <<_ACEOF
7314 /* end confdefs.h. */
7315 #include <X11/Xlib.h>
7316 #ifdef HAVE_X11_XUTIL_H
7317 # include <X11/Xutil.h>
7318 #endif
7320 #include <$ac_header>
7321 _ACEOF
7322 rm -f conftest.$ac_objext
7323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7324 (eval $ac_compile) 2>conftest.er1
7325 ac_status=$?
7326 grep -v '^ *+' conftest.er1 >conftest.err
7327 rm -f conftest.er1
7328 cat conftest.err >&5
7329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330 (exit $ac_status); } &&
7331 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7333 (eval $ac_try) 2>&5
7334 ac_status=$?
7335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7336 (exit $ac_status); }; } &&
7337 { ac_try='test -s conftest.$ac_objext'
7338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7339 (eval $ac_try) 2>&5
7340 ac_status=$?
7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342 (exit $ac_status); }; }; then
7343 eval "$as_ac_Header=yes"
7344 else
7345 echo "$as_me: failed program was:" >&5
7346 sed 's/^/| /' conftest.$ac_ext >&5
7348 eval "$as_ac_Header=no"
7350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7355 cat >>confdefs.h <<_ACEOF
7356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7357 _ACEOF
7361 done
7364 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7365 then
7366 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7367 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7368 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7369 echo $ECHO_N "(cached) $ECHO_C" >&6
7370 else
7371 ac_check_lib_save_LIBS=$LIBS
7372 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7373 cat >conftest.$ac_ext <<_ACEOF
7374 /* confdefs.h. */
7375 _ACEOF
7376 cat confdefs.h >>conftest.$ac_ext
7377 cat >>conftest.$ac_ext <<_ACEOF
7378 /* end confdefs.h. */
7380 /* Override any gcc2 internal prototype to avoid an error. */
7381 #ifdef __cplusplus
7382 extern "C"
7383 #endif
7384 /* We use char because int might match the return type of a gcc2
7385 builtin and then its argument prototype would still apply. */
7386 char XkbQueryExtension ();
7388 main ()
7390 XkbQueryExtension ();
7392 return 0;
7394 _ACEOF
7395 rm -f conftest.$ac_objext conftest$ac_exeext
7396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7397 (eval $ac_link) 2>conftest.er1
7398 ac_status=$?
7399 grep -v '^ *+' conftest.er1 >conftest.err
7400 rm -f conftest.er1
7401 cat conftest.err >&5
7402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7403 (exit $ac_status); } &&
7404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7406 (eval $ac_try) 2>&5
7407 ac_status=$?
7408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7409 (exit $ac_status); }; } &&
7410 { ac_try='test -s conftest$ac_exeext'
7411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7412 (eval $ac_try) 2>&5
7413 ac_status=$?
7414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415 (exit $ac_status); }; }; then
7416 ac_cv_lib_X11_XkbQueryExtension=yes
7417 else
7418 echo "$as_me: failed program was:" >&5
7419 sed 's/^/| /' conftest.$ac_ext >&5
7421 ac_cv_lib_X11_XkbQueryExtension=no
7423 rm -f conftest.err conftest.$ac_objext \
7424 conftest$ac_exeext conftest.$ac_ext
7425 LIBS=$ac_check_lib_save_LIBS
7427 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7428 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7429 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7431 cat >>confdefs.h <<\_ACEOF
7432 #define HAVE_XKB 1
7433 _ACEOF
7439 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7440 then
7441 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7442 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7443 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7444 echo $ECHO_N "(cached) $ECHO_C" >&6
7445 else
7446 ac_check_lib_save_LIBS=$LIBS
7447 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7448 cat >conftest.$ac_ext <<_ACEOF
7449 /* confdefs.h. */
7450 _ACEOF
7451 cat confdefs.h >>conftest.$ac_ext
7452 cat >>conftest.$ac_ext <<_ACEOF
7453 /* end confdefs.h. */
7455 /* Override any gcc2 internal prototype to avoid an error. */
7456 #ifdef __cplusplus
7457 extern "C"
7458 #endif
7459 /* We use char because int might match the return type of a gcc2
7460 builtin and then its argument prototype would still apply. */
7461 char XShmQueryExtension ();
7463 main ()
7465 XShmQueryExtension ();
7467 return 0;
7469 _ACEOF
7470 rm -f conftest.$ac_objext conftest$ac_exeext
7471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7472 (eval $ac_link) 2>conftest.er1
7473 ac_status=$?
7474 grep -v '^ *+' conftest.er1 >conftest.err
7475 rm -f conftest.er1
7476 cat conftest.err >&5
7477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7478 (exit $ac_status); } &&
7479 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7481 (eval $ac_try) 2>&5
7482 ac_status=$?
7483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7484 (exit $ac_status); }; } &&
7485 { ac_try='test -s conftest$ac_exeext'
7486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7487 (eval $ac_try) 2>&5
7488 ac_status=$?
7489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7490 (exit $ac_status); }; }; then
7491 ac_cv_lib_Xext_XShmQueryExtension=yes
7492 else
7493 echo "$as_me: failed program was:" >&5
7494 sed 's/^/| /' conftest.$ac_ext >&5
7496 ac_cv_lib_Xext_XShmQueryExtension=no
7498 rm -f conftest.err conftest.$ac_objext \
7499 conftest$ac_exeext conftest.$ac_ext
7500 LIBS=$ac_check_lib_save_LIBS
7502 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7503 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7504 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7506 cat >>confdefs.h <<\_ACEOF
7507 #define HAVE_LIBXXSHM 1
7508 _ACEOF
7514 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7515 then
7516 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7517 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7518 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7519 echo $ECHO_N "(cached) $ECHO_C" >&6
7520 else
7521 ac_check_lib_save_LIBS=$LIBS
7522 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7523 cat >conftest.$ac_ext <<_ACEOF
7524 /* confdefs.h. */
7525 _ACEOF
7526 cat confdefs.h >>conftest.$ac_ext
7527 cat >>conftest.$ac_ext <<_ACEOF
7528 /* end confdefs.h. */
7530 /* Override any gcc2 internal prototype to avoid an error. */
7531 #ifdef __cplusplus
7532 extern "C"
7533 #endif
7534 /* We use char because int might match the return type of a gcc2
7535 builtin and then its argument prototype would still apply. */
7536 char XShapeQueryExtension ();
7538 main ()
7540 XShapeQueryExtension ();
7542 return 0;
7544 _ACEOF
7545 rm -f conftest.$ac_objext conftest$ac_exeext
7546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7547 (eval $ac_link) 2>conftest.er1
7548 ac_status=$?
7549 grep -v '^ *+' conftest.er1 >conftest.err
7550 rm -f conftest.er1
7551 cat conftest.err >&5
7552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553 (exit $ac_status); } &&
7554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7556 (eval $ac_try) 2>&5
7557 ac_status=$?
7558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7559 (exit $ac_status); }; } &&
7560 { ac_try='test -s conftest$ac_exeext'
7561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7562 (eval $ac_try) 2>&5
7563 ac_status=$?
7564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7565 (exit $ac_status); }; }; then
7566 ac_cv_lib_Xext_XShapeQueryExtension=yes
7567 else
7568 echo "$as_me: failed program was:" >&5
7569 sed 's/^/| /' conftest.$ac_ext >&5
7571 ac_cv_lib_Xext_XShapeQueryExtension=no
7573 rm -f conftest.err conftest.$ac_objext \
7574 conftest$ac_exeext conftest.$ac_ext
7575 LIBS=$ac_check_lib_save_LIBS
7577 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7578 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
7579 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7581 cat >>confdefs.h <<\_ACEOF
7582 #define HAVE_LIBXSHAPE 1
7583 _ACEOF
7589 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
7590 then
7591 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
7592 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7593 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
7594 echo $ECHO_N "(cached) $ECHO_C" >&6
7595 else
7596 ac_check_lib_save_LIBS=$LIBS
7597 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7598 cat >conftest.$ac_ext <<_ACEOF
7599 /* confdefs.h. */
7600 _ACEOF
7601 cat confdefs.h >>conftest.$ac_ext
7602 cat >>conftest.$ac_ext <<_ACEOF
7603 /* end confdefs.h. */
7605 /* Override any gcc2 internal prototype to avoid an error. */
7606 #ifdef __cplusplus
7607 extern "C"
7608 #endif
7609 /* We use char because int might match the return type of a gcc2
7610 builtin and then its argument prototype would still apply. */
7611 char XDGAQueryExtension ();
7613 main ()
7615 XDGAQueryExtension ();
7617 return 0;
7619 _ACEOF
7620 rm -f conftest.$ac_objext conftest$ac_exeext
7621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7622 (eval $ac_link) 2>conftest.er1
7623 ac_status=$?
7624 grep -v '^ *+' conftest.er1 >conftest.err
7625 rm -f conftest.er1
7626 cat conftest.err >&5
7627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7628 (exit $ac_status); } &&
7629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7631 (eval $ac_try) 2>&5
7632 ac_status=$?
7633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7634 (exit $ac_status); }; } &&
7635 { ac_try='test -s conftest$ac_exeext'
7636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7637 (eval $ac_try) 2>&5
7638 ac_status=$?
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); }; }; then
7641 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
7642 else
7643 echo "$as_me: failed program was:" >&5
7644 sed 's/^/| /' conftest.$ac_ext >&5
7646 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
7648 rm -f conftest.err conftest.$ac_objext \
7649 conftest$ac_exeext conftest.$ac_ext
7650 LIBS=$ac_check_lib_save_LIBS
7652 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
7653 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
7654 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
7656 cat >>confdefs.h <<\_ACEOF
7657 #define HAVE_LIBXXF86DGA2 1
7658 _ACEOF
7660 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7662 else
7663 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
7664 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7665 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
7666 echo $ECHO_N "(cached) $ECHO_C" >&6
7667 else
7668 ac_check_lib_save_LIBS=$LIBS
7669 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7670 $LIBS"
7671 cat >conftest.$ac_ext <<_ACEOF
7672 /* confdefs.h. */
7673 _ACEOF
7674 cat confdefs.h >>conftest.$ac_ext
7675 cat >>conftest.$ac_ext <<_ACEOF
7676 /* end confdefs.h. */
7678 /* Override any gcc2 internal prototype to avoid an error. */
7679 #ifdef __cplusplus
7680 extern "C"
7681 #endif
7682 /* We use char because int might match the return type of a gcc2
7683 builtin and then its argument prototype would still apply. */
7684 char XF86DGAQueryExtension ();
7686 main ()
7688 XF86DGAQueryExtension ();
7690 return 0;
7692 _ACEOF
7693 rm -f conftest.$ac_objext conftest$ac_exeext
7694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7695 (eval $ac_link) 2>conftest.er1
7696 ac_status=$?
7697 grep -v '^ *+' conftest.er1 >conftest.err
7698 rm -f conftest.er1
7699 cat conftest.err >&5
7700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7701 (exit $ac_status); } &&
7702 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7704 (eval $ac_try) 2>&5
7705 ac_status=$?
7706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7707 (exit $ac_status); }; } &&
7708 { ac_try='test -s conftest$ac_exeext'
7709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7710 (eval $ac_try) 2>&5
7711 ac_status=$?
7712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7713 (exit $ac_status); }; }; then
7714 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=yes
7715 else
7716 echo "$as_me: failed program was:" >&5
7717 sed 's/^/| /' conftest.$ac_ext >&5
7719 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no
7721 rm -f conftest.err conftest.$ac_objext \
7722 conftest$ac_exeext conftest.$ac_ext
7723 LIBS=$ac_check_lib_save_LIBS
7725 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
7726 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
7727 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
7729 cat >>confdefs.h <<\_ACEOF
7730 #define HAVE_LIBXXF86DGA 1
7731 _ACEOF
7733 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7742 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7743 then
7744 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7745 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7746 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7747 echo $ECHO_N "(cached) $ECHO_C" >&6
7748 else
7749 ac_check_lib_save_LIBS=$LIBS
7750 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7751 cat >conftest.$ac_ext <<_ACEOF
7752 /* confdefs.h. */
7753 _ACEOF
7754 cat confdefs.h >>conftest.$ac_ext
7755 cat >>conftest.$ac_ext <<_ACEOF
7756 /* end confdefs.h. */
7758 /* Override any gcc2 internal prototype to avoid an error. */
7759 #ifdef __cplusplus
7760 extern "C"
7761 #endif
7762 /* We use char because int might match the return type of a gcc2
7763 builtin and then its argument prototype would still apply. */
7764 char XF86VidModeQueryExtension ();
7766 main ()
7768 XF86VidModeQueryExtension ();
7770 return 0;
7772 _ACEOF
7773 rm -f conftest.$ac_objext conftest$ac_exeext
7774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7775 (eval $ac_link) 2>conftest.er1
7776 ac_status=$?
7777 grep -v '^ *+' conftest.er1 >conftest.err
7778 rm -f conftest.er1
7779 cat conftest.err >&5
7780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781 (exit $ac_status); } &&
7782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7784 (eval $ac_try) 2>&5
7785 ac_status=$?
7786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7787 (exit $ac_status); }; } &&
7788 { ac_try='test -s conftest$ac_exeext'
7789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7790 (eval $ac_try) 2>&5
7791 ac_status=$?
7792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7793 (exit $ac_status); }; }; then
7794 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
7795 else
7796 echo "$as_me: failed program was:" >&5
7797 sed 's/^/| /' conftest.$ac_ext >&5
7799 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
7801 rm -f conftest.err conftest.$ac_objext \
7802 conftest$ac_exeext conftest.$ac_ext
7803 LIBS=$ac_check_lib_save_LIBS
7805 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7806 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7807 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
7809 cat >>confdefs.h <<\_ACEOF
7810 #define HAVE_LIBXXF86VM 1
7811 _ACEOF
7813 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
7819 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
7820 then
7821 cat >conftest.$ac_ext <<_ACEOF
7822 /* confdefs.h. */
7823 _ACEOF
7824 cat confdefs.h >>conftest.$ac_ext
7825 cat >>conftest.$ac_ext <<_ACEOF
7826 /* end confdefs.h. */
7827 #include <X11/Xlib.h>
7828 #include <X11/extensions/Xrandr.h>
7830 main ()
7832 static typeof(XRRSetScreenConfigAndRate) * func;
7834 return 0;
7836 _ACEOF
7837 rm -f conftest.$ac_objext
7838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7839 (eval $ac_compile) 2>conftest.er1
7840 ac_status=$?
7841 grep -v '^ *+' conftest.er1 >conftest.err
7842 rm -f conftest.er1
7843 cat conftest.err >&5
7844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7845 (exit $ac_status); } &&
7846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7848 (eval $ac_try) 2>&5
7849 ac_status=$?
7850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7851 (exit $ac_status); }; } &&
7852 { ac_try='test -s conftest.$ac_objext'
7853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7854 (eval $ac_try) 2>&5
7855 ac_status=$?
7856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7857 (exit $ac_status); }; }; then
7859 cat >>confdefs.h <<\_ACEOF
7860 #define HAVE_LIBXRANDR 1
7861 _ACEOF
7863 else
7864 echo "$as_me: failed program was:" >&5
7865 sed 's/^/| /' conftest.$ac_ext >&5
7868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7871 if test "$ac_cv_header_X11_extensions_Xvlib_h" = "yes"
7872 then
7873 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
7874 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
7875 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
7876 echo $ECHO_N "(cached) $ECHO_C" >&6
7877 else
7878 ac_check_lib_save_LIBS=$LIBS
7879 LIBS="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7880 cat >conftest.$ac_ext <<_ACEOF
7881 /* confdefs.h. */
7882 _ACEOF
7883 cat confdefs.h >>conftest.$ac_ext
7884 cat >>conftest.$ac_ext <<_ACEOF
7885 /* end confdefs.h. */
7887 /* Override any gcc2 internal prototype to avoid an error. */
7888 #ifdef __cplusplus
7889 extern "C"
7890 #endif
7891 /* We use char because int might match the return type of a gcc2
7892 builtin and then its argument prototype would still apply. */
7893 char XvShmCreateImage ();
7895 main ()
7897 XvShmCreateImage ();
7899 return 0;
7901 _ACEOF
7902 rm -f conftest.$ac_objext conftest$ac_exeext
7903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7904 (eval $ac_link) 2>conftest.er1
7905 ac_status=$?
7906 grep -v '^ *+' conftest.er1 >conftest.err
7907 rm -f conftest.er1
7908 cat conftest.err >&5
7909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7910 (exit $ac_status); } &&
7911 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7913 (eval $ac_try) 2>&5
7914 ac_status=$?
7915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7916 (exit $ac_status); }; } &&
7917 { ac_try='test -s conftest$ac_exeext'
7918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7919 (eval $ac_try) 2>&5
7920 ac_status=$?
7921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7922 (exit $ac_status); }; }; then
7923 ac_cv_lib_Xv_XvShmCreateImage=yes
7924 else
7925 echo "$as_me: failed program was:" >&5
7926 sed 's/^/| /' conftest.$ac_ext >&5
7928 ac_cv_lib_Xv_XvShmCreateImage=no
7930 rm -f conftest.err conftest.$ac_objext \
7931 conftest$ac_exeext conftest.$ac_ext
7932 LIBS=$ac_check_lib_save_LIBS
7934 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
7935 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
7936 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
7938 cat >>confdefs.h <<\_ACEOF
7939 #define HAVE_XVIDEO 1
7940 _ACEOF
7942 X_PRE_LIBS="$X_PRE_LIBS -lXv"
7951 done
7953 if test "x$with_opengl" != "xno"
7954 then
7955 if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
7956 then
7957 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
7958 This prevents linking to OpenGL. Delete the file and restart configure." >&5
7959 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
7960 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
7961 { (exit 1); exit 1; }; }
7966 for ac_header in GL/gl.h GL/glx.h
7968 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7970 echo "$as_me:$LINENO: checking for $ac_header" >&5
7971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7973 echo $ECHO_N "(cached) $ECHO_C" >&6
7975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7977 else
7978 # Is the header compilable?
7979 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7980 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7981 cat >conftest.$ac_ext <<_ACEOF
7982 /* confdefs.h. */
7983 _ACEOF
7984 cat confdefs.h >>conftest.$ac_ext
7985 cat >>conftest.$ac_ext <<_ACEOF
7986 /* end confdefs.h. */
7987 $ac_includes_default
7988 #include <$ac_header>
7989 _ACEOF
7990 rm -f conftest.$ac_objext
7991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7992 (eval $ac_compile) 2>conftest.er1
7993 ac_status=$?
7994 grep -v '^ *+' conftest.er1 >conftest.err
7995 rm -f conftest.er1
7996 cat conftest.err >&5
7997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7998 (exit $ac_status); } &&
7999 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8001 (eval $ac_try) 2>&5
8002 ac_status=$?
8003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8004 (exit $ac_status); }; } &&
8005 { ac_try='test -s conftest.$ac_objext'
8006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8007 (eval $ac_try) 2>&5
8008 ac_status=$?
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); }; }; then
8011 ac_header_compiler=yes
8012 else
8013 echo "$as_me: failed program was:" >&5
8014 sed 's/^/| /' conftest.$ac_ext >&5
8016 ac_header_compiler=no
8018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8019 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8020 echo "${ECHO_T}$ac_header_compiler" >&6
8022 # Is the header present?
8023 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8024 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8025 cat >conftest.$ac_ext <<_ACEOF
8026 /* confdefs.h. */
8027 _ACEOF
8028 cat confdefs.h >>conftest.$ac_ext
8029 cat >>conftest.$ac_ext <<_ACEOF
8030 /* end confdefs.h. */
8031 #include <$ac_header>
8032 _ACEOF
8033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8034 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8035 ac_status=$?
8036 grep -v '^ *+' conftest.er1 >conftest.err
8037 rm -f conftest.er1
8038 cat conftest.err >&5
8039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040 (exit $ac_status); } >/dev/null; then
8041 if test -s conftest.err; then
8042 ac_cpp_err=$ac_c_preproc_warn_flag
8043 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8044 else
8045 ac_cpp_err=
8047 else
8048 ac_cpp_err=yes
8050 if test -z "$ac_cpp_err"; then
8051 ac_header_preproc=yes
8052 else
8053 echo "$as_me: failed program was:" >&5
8054 sed 's/^/| /' conftest.$ac_ext >&5
8056 ac_header_preproc=no
8058 rm -f conftest.err conftest.$ac_ext
8059 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8060 echo "${ECHO_T}$ac_header_preproc" >&6
8062 # So? What about this header?
8063 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8064 yes:no: )
8065 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8066 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8068 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8069 ac_header_preproc=yes
8071 no:yes:* )
8072 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8073 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8074 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8075 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8076 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8077 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8078 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8079 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8080 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8081 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8082 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8083 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8085 cat <<\_ASBOX
8086 ## ------------------------------------ ##
8087 ## Report this to wine-devel@winehq.org ##
8088 ## ------------------------------------ ##
8089 _ASBOX
8091 sed "s/^/$as_me: WARNING: /" >&2
8093 esac
8094 echo "$as_me:$LINENO: checking for $ac_header" >&5
8095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8097 echo $ECHO_N "(cached) $ECHO_C" >&6
8098 else
8099 eval "$as_ac_Header=\$ac_header_preproc"
8101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8102 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8105 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8106 cat >>confdefs.h <<_ACEOF
8107 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8108 _ACEOF
8112 done
8114 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8115 then
8117 for ac_header in GL/glext.h
8119 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8120 echo "$as_me:$LINENO: checking for $ac_header" >&5
8121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8123 echo $ECHO_N "(cached) $ECHO_C" >&6
8124 else
8125 cat >conftest.$ac_ext <<_ACEOF
8126 /* confdefs.h. */
8127 _ACEOF
8128 cat confdefs.h >>conftest.$ac_ext
8129 cat >>conftest.$ac_ext <<_ACEOF
8130 /* end confdefs.h. */
8131 #include <GL/glx.h>
8133 #include <$ac_header>
8134 _ACEOF
8135 rm -f conftest.$ac_objext
8136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8137 (eval $ac_compile) 2>conftest.er1
8138 ac_status=$?
8139 grep -v '^ *+' conftest.er1 >conftest.err
8140 rm -f conftest.er1
8141 cat conftest.err >&5
8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143 (exit $ac_status); } &&
8144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8146 (eval $ac_try) 2>&5
8147 ac_status=$?
8148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149 (exit $ac_status); }; } &&
8150 { ac_try='test -s conftest.$ac_objext'
8151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8152 (eval $ac_try) 2>&5
8153 ac_status=$?
8154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8155 (exit $ac_status); }; }; then
8156 eval "$as_ac_Header=yes"
8157 else
8158 echo "$as_me: failed program was:" >&5
8159 sed 's/^/| /' conftest.$ac_ext >&5
8161 eval "$as_ac_Header=no"
8163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8167 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8168 cat >>confdefs.h <<_ACEOF
8169 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8170 _ACEOF
8174 done
8176 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8177 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8178 if test "${wine_cv_opengl_version_OK+set}" = set; then
8179 echo $ECHO_N "(cached) $ECHO_C" >&6
8180 else
8181 cat >conftest.$ac_ext <<_ACEOF
8182 /* confdefs.h. */
8183 _ACEOF
8184 cat confdefs.h >>conftest.$ac_ext
8185 cat >>conftest.$ac_ext <<_ACEOF
8186 /* end confdefs.h. */
8187 #include <GL/gl.h>
8189 main ()
8191 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8193 return 0;
8195 _ACEOF
8196 rm -f conftest.$ac_objext
8197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8198 (eval $ac_compile) 2>conftest.er1
8199 ac_status=$?
8200 grep -v '^ *+' conftest.er1 >conftest.err
8201 rm -f conftest.er1
8202 cat conftest.err >&5
8203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8204 (exit $ac_status); } &&
8205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8207 (eval $ac_try) 2>&5
8208 ac_status=$?
8209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8210 (exit $ac_status); }; } &&
8211 { ac_try='test -s conftest.$ac_objext'
8212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8213 (eval $ac_try) 2>&5
8214 ac_status=$?
8215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8216 (exit $ac_status); }; }; then
8217 wine_cv_opengl_version_OK="yes"
8218 else
8219 echo "$as_me: failed program was:" >&5
8220 sed 's/^/| /' conftest.$ac_ext >&5
8222 wine_cv_opengl_version_OK="no"
8225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8228 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8229 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8231 if test "$wine_cv_opengl_version_OK" = "yes"
8232 then
8233 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8234 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8235 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8236 echo $ECHO_N "(cached) $ECHO_C" >&6
8237 else
8238 ac_check_lib_save_LIBS=$LIBS
8239 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8240 cat >conftest.$ac_ext <<_ACEOF
8241 /* confdefs.h. */
8242 _ACEOF
8243 cat confdefs.h >>conftest.$ac_ext
8244 cat >>conftest.$ac_ext <<_ACEOF
8245 /* end confdefs.h. */
8247 /* Override any gcc2 internal prototype to avoid an error. */
8248 #ifdef __cplusplus
8249 extern "C"
8250 #endif
8251 /* We use char because int might match the return type of a gcc2
8252 builtin and then its argument prototype would still apply. */
8253 char glXCreateContext ();
8255 main ()
8257 glXCreateContext ();
8259 return 0;
8261 _ACEOF
8262 rm -f conftest.$ac_objext conftest$ac_exeext
8263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8264 (eval $ac_link) 2>conftest.er1
8265 ac_status=$?
8266 grep -v '^ *+' conftest.er1 >conftest.err
8267 rm -f conftest.er1
8268 cat conftest.err >&5
8269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8270 (exit $ac_status); } &&
8271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8273 (eval $ac_try) 2>&5
8274 ac_status=$?
8275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8276 (exit $ac_status); }; } &&
8277 { ac_try='test -s conftest$ac_exeext'
8278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8279 (eval $ac_try) 2>&5
8280 ac_status=$?
8281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8282 (exit $ac_status); }; }; then
8283 ac_cv_lib_GL_glXCreateContext=yes
8284 else
8285 echo "$as_me: failed program was:" >&5
8286 sed 's/^/| /' conftest.$ac_ext >&5
8288 ac_cv_lib_GL_glXCreateContext=no
8290 rm -f conftest.err conftest.$ac_objext \
8291 conftest$ac_exeext conftest.$ac_ext
8292 LIBS=$ac_check_lib_save_LIBS
8294 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8295 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8296 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8297 OPENGL_LIBS="-lGL"
8302 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8303 then
8304 OPENGLFILES='$(OPENGLFILES)'
8306 cat >>confdefs.h <<\_ACEOF
8307 #define HAVE_OPENGL 1
8308 _ACEOF
8311 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
8312 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
8313 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
8314 echo $ECHO_N "(cached) $ECHO_C" >&6
8315 else
8316 ac_check_lib_save_LIBS=$LIBS
8317 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8318 cat >conftest.$ac_ext <<_ACEOF
8319 /* confdefs.h. */
8320 _ACEOF
8321 cat confdefs.h >>conftest.$ac_ext
8322 cat >>conftest.$ac_ext <<_ACEOF
8323 /* end confdefs.h. */
8325 /* Override any gcc2 internal prototype to avoid an error. */
8326 #ifdef __cplusplus
8327 extern "C"
8328 #endif
8329 /* We use char because int might match the return type of a gcc2
8330 builtin and then its argument prototype would still apply. */
8331 char glXGetProcAddressARB ();
8333 main ()
8335 glXGetProcAddressARB ();
8337 return 0;
8339 _ACEOF
8340 rm -f conftest.$ac_objext conftest$ac_exeext
8341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8342 (eval $ac_link) 2>conftest.er1
8343 ac_status=$?
8344 grep -v '^ *+' conftest.er1 >conftest.err
8345 rm -f conftest.er1
8346 cat conftest.err >&5
8347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 (exit $ac_status); } &&
8349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8351 (eval $ac_try) 2>&5
8352 ac_status=$?
8353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8354 (exit $ac_status); }; } &&
8355 { ac_try='test -s conftest$ac_exeext'
8356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8357 (eval $ac_try) 2>&5
8358 ac_status=$?
8359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8360 (exit $ac_status); }; }; then
8361 ac_cv_lib_GL_glXGetProcAddressARB=yes
8362 else
8363 echo "$as_me: failed program was:" >&5
8364 sed 's/^/| /' conftest.$ac_ext >&5
8366 ac_cv_lib_GL_glXGetProcAddressARB=no
8368 rm -f conftest.err conftest.$ac_objext \
8369 conftest$ac_exeext conftest.$ac_ext
8370 LIBS=$ac_check_lib_save_LIBS
8372 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
8373 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
8374 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
8376 cat >>confdefs.h <<\_ACEOF
8377 #define HAVE_GLX_GETPROCADDRESS 1
8378 _ACEOF
8383 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
8384 then
8385 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
8386 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
8387 if test "${wine_cv_extension_prototypes+set}" = set; then
8388 echo $ECHO_N "(cached) $ECHO_C" >&6
8389 else
8390 cat >conftest.$ac_ext <<_ACEOF
8391 /* confdefs.h. */
8392 _ACEOF
8393 cat confdefs.h >>conftest.$ac_ext
8394 cat >>conftest.$ac_ext <<_ACEOF
8395 /* end confdefs.h. */
8396 #include <GL/gl.h>
8397 #ifdef HAVE_GL_GLEXT_H
8398 # include <GL/glext.h>
8399 #endif
8402 main ()
8404 PFNGLCOLORTABLEEXTPROC test_proc;
8406 return 0;
8408 _ACEOF
8409 rm -f conftest.$ac_objext
8410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8411 (eval $ac_compile) 2>conftest.er1
8412 ac_status=$?
8413 grep -v '^ *+' conftest.er1 >conftest.err
8414 rm -f conftest.er1
8415 cat conftest.err >&5
8416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8417 (exit $ac_status); } &&
8418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8420 (eval $ac_try) 2>&5
8421 ac_status=$?
8422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8423 (exit $ac_status); }; } &&
8424 { ac_try='test -s conftest.$ac_objext'
8425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8426 (eval $ac_try) 2>&5
8427 ac_status=$?
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); }; }; then
8430 wine_cv_extension_prototypes="yes"
8431 else
8432 echo "$as_me: failed program was:" >&5
8433 sed 's/^/| /' conftest.$ac_ext >&5
8435 wine_cv_extension_prototypes="no"
8438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8441 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
8442 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
8443 if test "$wine_cv_extension_prototypes" = "yes"
8444 then
8446 cat >>confdefs.h <<\_ACEOF
8447 #define HAVE_GLEXT_PROTOTYPES 1
8448 _ACEOF
8454 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8455 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8456 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8457 echo $ECHO_N "(cached) $ECHO_C" >&6
8458 else
8459 ac_check_lib_save_LIBS=$LIBS
8460 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8461 $LIBS"
8462 cat >conftest.$ac_ext <<_ACEOF
8463 /* confdefs.h. */
8464 _ACEOF
8465 cat confdefs.h >>conftest.$ac_ext
8466 cat >>conftest.$ac_ext <<_ACEOF
8467 /* end confdefs.h. */
8469 /* Override any gcc2 internal prototype to avoid an error. */
8470 #ifdef __cplusplus
8471 extern "C"
8472 #endif
8473 /* We use char because int might match the return type of a gcc2
8474 builtin and then its argument prototype would still apply. */
8475 char gluLookAt ();
8477 main ()
8479 gluLookAt ();
8481 return 0;
8483 _ACEOF
8484 rm -f conftest.$ac_objext conftest$ac_exeext
8485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8486 (eval $ac_link) 2>conftest.er1
8487 ac_status=$?
8488 grep -v '^ *+' conftest.er1 >conftest.err
8489 rm -f conftest.er1
8490 cat conftest.err >&5
8491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8492 (exit $ac_status); } &&
8493 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8495 (eval $ac_try) 2>&5
8496 ac_status=$?
8497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498 (exit $ac_status); }; } &&
8499 { ac_try='test -s conftest$ac_exeext'
8500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8501 (eval $ac_try) 2>&5
8502 ac_status=$?
8503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8504 (exit $ac_status); }; }; then
8505 ac_cv_lib_GLU_gluLookAt=yes
8506 else
8507 echo "$as_me: failed program was:" >&5
8508 sed 's/^/| /' conftest.$ac_ext >&5
8510 ac_cv_lib_GLU_gluLookAt=no
8512 rm -f conftest.err conftest.$ac_objext \
8513 conftest$ac_exeext conftest.$ac_ext
8514 LIBS=$ac_check_lib_save_LIBS
8516 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8517 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8518 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8519 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8520 GLU32FILES='$(GLU32FILES)'
8526 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8527 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8528 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8529 echo $ECHO_N "(cached) $ECHO_C" >&6
8530 else
8531 ac_check_lib_save_LIBS=$LIBS
8532 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8533 cat >conftest.$ac_ext <<_ACEOF
8534 /* confdefs.h. */
8535 _ACEOF
8536 cat confdefs.h >>conftest.$ac_ext
8537 cat >>conftest.$ac_ext <<_ACEOF
8538 /* end confdefs.h. */
8540 /* Override any gcc2 internal prototype to avoid an error. */
8541 #ifdef __cplusplus
8542 extern "C"
8543 #endif
8544 /* We use char because int might match the return type of a gcc2
8545 builtin and then its argument prototype would still apply. */
8546 char glutMainLoop ();
8548 main ()
8550 glutMainLoop ();
8552 return 0;
8554 _ACEOF
8555 rm -f conftest.$ac_objext conftest$ac_exeext
8556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8557 (eval $ac_link) 2>conftest.er1
8558 ac_status=$?
8559 grep -v '^ *+' conftest.er1 >conftest.err
8560 rm -f conftest.er1
8561 cat conftest.err >&5
8562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563 (exit $ac_status); } &&
8564 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8566 (eval $ac_try) 2>&5
8567 ac_status=$?
8568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569 (exit $ac_status); }; } &&
8570 { ac_try='test -s conftest$ac_exeext'
8571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8572 (eval $ac_try) 2>&5
8573 ac_status=$?
8574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8575 (exit $ac_status); }; }; then
8576 ac_cv_lib_glut_glutMainLoop=yes
8577 else
8578 echo "$as_me: failed program was:" >&5
8579 sed 's/^/| /' conftest.$ac_ext >&5
8581 ac_cv_lib_glut_glutMainLoop=no
8583 rm -f conftest.err conftest.$ac_objext \
8584 conftest$ac_exeext conftest.$ac_ext
8585 LIBS=$ac_check_lib_save_LIBS
8587 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
8588 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
8589 if test $ac_cv_lib_glut_glutMainLoop = yes; then
8590 GLUT_LIBS="-lglut -lXmu -lXi"
8592 GLUT32FILES='$(GLUT32FILES)'
8599 NASLIBS=""
8602 for ac_header in audio/audiolib.h
8604 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8606 echo "$as_me:$LINENO: checking for $ac_header" >&5
8607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8609 echo $ECHO_N "(cached) $ECHO_C" >&6
8611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8613 else
8614 # Is the header compilable?
8615 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8616 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8617 cat >conftest.$ac_ext <<_ACEOF
8618 /* confdefs.h. */
8619 _ACEOF
8620 cat confdefs.h >>conftest.$ac_ext
8621 cat >>conftest.$ac_ext <<_ACEOF
8622 /* end confdefs.h. */
8623 $ac_includes_default
8624 #include <$ac_header>
8625 _ACEOF
8626 rm -f conftest.$ac_objext
8627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8628 (eval $ac_compile) 2>conftest.er1
8629 ac_status=$?
8630 grep -v '^ *+' conftest.er1 >conftest.err
8631 rm -f conftest.er1
8632 cat conftest.err >&5
8633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634 (exit $ac_status); } &&
8635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8637 (eval $ac_try) 2>&5
8638 ac_status=$?
8639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640 (exit $ac_status); }; } &&
8641 { ac_try='test -s conftest.$ac_objext'
8642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8643 (eval $ac_try) 2>&5
8644 ac_status=$?
8645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8646 (exit $ac_status); }; }; then
8647 ac_header_compiler=yes
8648 else
8649 echo "$as_me: failed program was:" >&5
8650 sed 's/^/| /' conftest.$ac_ext >&5
8652 ac_header_compiler=no
8654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8655 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8656 echo "${ECHO_T}$ac_header_compiler" >&6
8658 # Is the header present?
8659 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8660 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8661 cat >conftest.$ac_ext <<_ACEOF
8662 /* confdefs.h. */
8663 _ACEOF
8664 cat confdefs.h >>conftest.$ac_ext
8665 cat >>conftest.$ac_ext <<_ACEOF
8666 /* end confdefs.h. */
8667 #include <$ac_header>
8668 _ACEOF
8669 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8670 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8671 ac_status=$?
8672 grep -v '^ *+' conftest.er1 >conftest.err
8673 rm -f conftest.er1
8674 cat conftest.err >&5
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); } >/dev/null; then
8677 if test -s conftest.err; then
8678 ac_cpp_err=$ac_c_preproc_warn_flag
8679 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8680 else
8681 ac_cpp_err=
8683 else
8684 ac_cpp_err=yes
8686 if test -z "$ac_cpp_err"; then
8687 ac_header_preproc=yes
8688 else
8689 echo "$as_me: failed program was:" >&5
8690 sed 's/^/| /' conftest.$ac_ext >&5
8692 ac_header_preproc=no
8694 rm -f conftest.err conftest.$ac_ext
8695 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8696 echo "${ECHO_T}$ac_header_preproc" >&6
8698 # So? What about this header?
8699 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8700 yes:no: )
8701 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8702 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8703 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8704 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8705 ac_header_preproc=yes
8707 no:yes:* )
8708 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8709 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8710 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8711 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8712 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8713 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8714 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8715 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8717 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8718 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8719 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8721 cat <<\_ASBOX
8722 ## ------------------------------------ ##
8723 ## Report this to wine-devel@winehq.org ##
8724 ## ------------------------------------ ##
8725 _ASBOX
8727 sed "s/^/$as_me: WARNING: /" >&2
8729 esac
8730 echo "$as_me:$LINENO: checking for $ac_header" >&5
8731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8733 echo $ECHO_N "(cached) $ECHO_C" >&6
8734 else
8735 eval "$as_ac_Header=\$ac_header_preproc"
8737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8741 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8742 cat >>confdefs.h <<_ACEOF
8743 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8744 _ACEOF
8746 for ac_header in audio/soundlib.h
8748 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8749 echo "$as_me:$LINENO: checking for $ac_header" >&5
8750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8752 echo $ECHO_N "(cached) $ECHO_C" >&6
8753 else
8754 cat >conftest.$ac_ext <<_ACEOF
8755 /* confdefs.h. */
8756 _ACEOF
8757 cat confdefs.h >>conftest.$ac_ext
8758 cat >>conftest.$ac_ext <<_ACEOF
8759 /* end confdefs.h. */
8760 #include <audio/audiolib.h>
8762 #include <$ac_header>
8763 _ACEOF
8764 rm -f conftest.$ac_objext
8765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8766 (eval $ac_compile) 2>conftest.er1
8767 ac_status=$?
8768 grep -v '^ *+' conftest.er1 >conftest.err
8769 rm -f conftest.er1
8770 cat conftest.err >&5
8771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8772 (exit $ac_status); } &&
8773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8775 (eval $ac_try) 2>&5
8776 ac_status=$?
8777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8778 (exit $ac_status); }; } &&
8779 { ac_try='test -s conftest.$ac_objext'
8780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8781 (eval $ac_try) 2>&5
8782 ac_status=$?
8783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8784 (exit $ac_status); }; }; then
8785 eval "$as_ac_Header=yes"
8786 else
8787 echo "$as_me: failed program was:" >&5
8788 sed 's/^/| /' conftest.$ac_ext >&5
8790 eval "$as_ac_Header=no"
8792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8795 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8796 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8797 cat >>confdefs.h <<_ACEOF
8798 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8799 _ACEOF
8803 done
8805 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8806 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8807 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8808 echo $ECHO_N "(cached) $ECHO_C" >&6
8809 else
8810 ac_check_lib_save_LIBS=$LIBS
8811 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8812 cat >conftest.$ac_ext <<_ACEOF
8813 /* confdefs.h. */
8814 _ACEOF
8815 cat confdefs.h >>conftest.$ac_ext
8816 cat >>conftest.$ac_ext <<_ACEOF
8817 /* end confdefs.h. */
8819 /* Override any gcc2 internal prototype to avoid an error. */
8820 #ifdef __cplusplus
8821 extern "C"
8822 #endif
8823 /* We use char because int might match the return type of a gcc2
8824 builtin and then its argument prototype would still apply. */
8825 char AuCreateFlow ();
8827 main ()
8829 AuCreateFlow ();
8831 return 0;
8833 _ACEOF
8834 rm -f conftest.$ac_objext conftest$ac_exeext
8835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8836 (eval $ac_link) 2>conftest.er1
8837 ac_status=$?
8838 grep -v '^ *+' conftest.er1 >conftest.err
8839 rm -f conftest.er1
8840 cat conftest.err >&5
8841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8842 (exit $ac_status); } &&
8843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8845 (eval $ac_try) 2>&5
8846 ac_status=$?
8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 (exit $ac_status); }; } &&
8849 { ac_try='test -s conftest$ac_exeext'
8850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8851 (eval $ac_try) 2>&5
8852 ac_status=$?
8853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854 (exit $ac_status); }; }; then
8855 ac_cv_lib_audio_AuCreateFlow=yes
8856 else
8857 echo "$as_me: failed program was:" >&5
8858 sed 's/^/| /' conftest.$ac_ext >&5
8860 ac_cv_lib_audio_AuCreateFlow=no
8862 rm -f conftest.err conftest.$ac_objext \
8863 conftest$ac_exeext conftest.$ac_ext
8864 LIBS=$ac_check_lib_save_LIBS
8866 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8867 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8868 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8870 cat >>confdefs.h <<\_ACEOF
8871 #define HAVE_NAS 1
8872 _ACEOF
8874 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8879 done
8882 CPPFLAGS="$ac_save_CPPFLAGS"
8883 XFILES='$(XFILES)'
8884 else
8885 XLIB=""
8886 X_CFLAGS=""
8887 X_LIBS=""
8890 CURSESLIBS=""
8891 if test "x$with_curses" != "xno"
8892 then
8894 for ac_header in ncurses.h
8896 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8898 echo "$as_me:$LINENO: checking for $ac_header" >&5
8899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8901 echo $ECHO_N "(cached) $ECHO_C" >&6
8903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8904 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8905 else
8906 # Is the header compilable?
8907 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8908 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8909 cat >conftest.$ac_ext <<_ACEOF
8910 /* confdefs.h. */
8911 _ACEOF
8912 cat confdefs.h >>conftest.$ac_ext
8913 cat >>conftest.$ac_ext <<_ACEOF
8914 /* end confdefs.h. */
8915 $ac_includes_default
8916 #include <$ac_header>
8917 _ACEOF
8918 rm -f conftest.$ac_objext
8919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8920 (eval $ac_compile) 2>conftest.er1
8921 ac_status=$?
8922 grep -v '^ *+' conftest.er1 >conftest.err
8923 rm -f conftest.er1
8924 cat conftest.err >&5
8925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8926 (exit $ac_status); } &&
8927 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8929 (eval $ac_try) 2>&5
8930 ac_status=$?
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 (exit $ac_status); }; } &&
8933 { ac_try='test -s conftest.$ac_objext'
8934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8935 (eval $ac_try) 2>&5
8936 ac_status=$?
8937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8938 (exit $ac_status); }; }; then
8939 ac_header_compiler=yes
8940 else
8941 echo "$as_me: failed program was:" >&5
8942 sed 's/^/| /' conftest.$ac_ext >&5
8944 ac_header_compiler=no
8946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8948 echo "${ECHO_T}$ac_header_compiler" >&6
8950 # Is the header present?
8951 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8952 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8953 cat >conftest.$ac_ext <<_ACEOF
8954 /* confdefs.h. */
8955 _ACEOF
8956 cat confdefs.h >>conftest.$ac_ext
8957 cat >>conftest.$ac_ext <<_ACEOF
8958 /* end confdefs.h. */
8959 #include <$ac_header>
8960 _ACEOF
8961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8962 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8963 ac_status=$?
8964 grep -v '^ *+' conftest.er1 >conftest.err
8965 rm -f conftest.er1
8966 cat conftest.err >&5
8967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968 (exit $ac_status); } >/dev/null; then
8969 if test -s conftest.err; then
8970 ac_cpp_err=$ac_c_preproc_warn_flag
8971 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8972 else
8973 ac_cpp_err=
8975 else
8976 ac_cpp_err=yes
8978 if test -z "$ac_cpp_err"; then
8979 ac_header_preproc=yes
8980 else
8981 echo "$as_me: failed program was:" >&5
8982 sed 's/^/| /' conftest.$ac_ext >&5
8984 ac_header_preproc=no
8986 rm -f conftest.err conftest.$ac_ext
8987 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8988 echo "${ECHO_T}$ac_header_preproc" >&6
8990 # So? What about this header?
8991 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8992 yes:no: )
8993 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8994 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8996 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8997 ac_header_preproc=yes
8999 no:yes:* )
9000 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9001 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9002 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9003 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9004 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9005 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9006 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9007 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9009 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9010 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9011 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9013 cat <<\_ASBOX
9014 ## ------------------------------------ ##
9015 ## Report this to wine-devel@winehq.org ##
9016 ## ------------------------------------ ##
9017 _ASBOX
9019 sed "s/^/$as_me: WARNING: /" >&2
9021 esac
9022 echo "$as_me:$LINENO: checking for $ac_header" >&5
9023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9025 echo $ECHO_N "(cached) $ECHO_C" >&6
9026 else
9027 eval "$as_ac_Header=\$ac_header_preproc"
9029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9030 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9033 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9034 cat >>confdefs.h <<_ACEOF
9035 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9036 _ACEOF
9037 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9038 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9039 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9040 echo $ECHO_N "(cached) $ECHO_C" >&6
9041 else
9042 ac_check_lib_save_LIBS=$LIBS
9043 LIBS="-lncurses $LIBS"
9044 cat >conftest.$ac_ext <<_ACEOF
9045 /* confdefs.h. */
9046 _ACEOF
9047 cat confdefs.h >>conftest.$ac_ext
9048 cat >>conftest.$ac_ext <<_ACEOF
9049 /* end confdefs.h. */
9051 /* Override any gcc2 internal prototype to avoid an error. */
9052 #ifdef __cplusplus
9053 extern "C"
9054 #endif
9055 /* We use char because int might match the return type of a gcc2
9056 builtin and then its argument prototype would still apply. */
9057 char waddch ();
9059 main ()
9061 waddch ();
9063 return 0;
9065 _ACEOF
9066 rm -f conftest.$ac_objext conftest$ac_exeext
9067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9068 (eval $ac_link) 2>conftest.er1
9069 ac_status=$?
9070 grep -v '^ *+' conftest.er1 >conftest.err
9071 rm -f conftest.er1
9072 cat conftest.err >&5
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074 (exit $ac_status); } &&
9075 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9077 (eval $ac_try) 2>&5
9078 ac_status=$?
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); }; } &&
9081 { ac_try='test -s conftest$ac_exeext'
9082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9083 (eval $ac_try) 2>&5
9084 ac_status=$?
9085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086 (exit $ac_status); }; }; then
9087 ac_cv_lib_ncurses_waddch=yes
9088 else
9089 echo "$as_me: failed program was:" >&5
9090 sed 's/^/| /' conftest.$ac_ext >&5
9092 ac_cv_lib_ncurses_waddch=no
9094 rm -f conftest.err conftest.$ac_objext \
9095 conftest$ac_exeext conftest.$ac_ext
9096 LIBS=$ac_check_lib_save_LIBS
9098 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9099 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9100 if test $ac_cv_lib_ncurses_waddch = yes; then
9102 cat >>confdefs.h <<\_ACEOF
9103 #define HAVE_LIBNCURSES 1
9104 _ACEOF
9106 CURSESLIBS="-lncurses"
9107 else
9109 for ac_header in curses.h
9111 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9113 echo "$as_me:$LINENO: checking for $ac_header" >&5
9114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9116 echo $ECHO_N "(cached) $ECHO_C" >&6
9118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9120 else
9121 # Is the header compilable?
9122 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9123 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9124 cat >conftest.$ac_ext <<_ACEOF
9125 /* confdefs.h. */
9126 _ACEOF
9127 cat confdefs.h >>conftest.$ac_ext
9128 cat >>conftest.$ac_ext <<_ACEOF
9129 /* end confdefs.h. */
9130 $ac_includes_default
9131 #include <$ac_header>
9132 _ACEOF
9133 rm -f conftest.$ac_objext
9134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9135 (eval $ac_compile) 2>conftest.er1
9136 ac_status=$?
9137 grep -v '^ *+' conftest.er1 >conftest.err
9138 rm -f conftest.er1
9139 cat conftest.err >&5
9140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141 (exit $ac_status); } &&
9142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9144 (eval $ac_try) 2>&5
9145 ac_status=$?
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); }; } &&
9148 { ac_try='test -s conftest.$ac_objext'
9149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9150 (eval $ac_try) 2>&5
9151 ac_status=$?
9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153 (exit $ac_status); }; }; then
9154 ac_header_compiler=yes
9155 else
9156 echo "$as_me: failed program was:" >&5
9157 sed 's/^/| /' conftest.$ac_ext >&5
9159 ac_header_compiler=no
9161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9162 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9163 echo "${ECHO_T}$ac_header_compiler" >&6
9165 # Is the header present?
9166 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9167 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9168 cat >conftest.$ac_ext <<_ACEOF
9169 /* confdefs.h. */
9170 _ACEOF
9171 cat confdefs.h >>conftest.$ac_ext
9172 cat >>conftest.$ac_ext <<_ACEOF
9173 /* end confdefs.h. */
9174 #include <$ac_header>
9175 _ACEOF
9176 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9177 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9178 ac_status=$?
9179 grep -v '^ *+' conftest.er1 >conftest.err
9180 rm -f conftest.er1
9181 cat conftest.err >&5
9182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9183 (exit $ac_status); } >/dev/null; then
9184 if test -s conftest.err; then
9185 ac_cpp_err=$ac_c_preproc_warn_flag
9186 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9187 else
9188 ac_cpp_err=
9190 else
9191 ac_cpp_err=yes
9193 if test -z "$ac_cpp_err"; then
9194 ac_header_preproc=yes
9195 else
9196 echo "$as_me: failed program was:" >&5
9197 sed 's/^/| /' conftest.$ac_ext >&5
9199 ac_header_preproc=no
9201 rm -f conftest.err conftest.$ac_ext
9202 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9203 echo "${ECHO_T}$ac_header_preproc" >&6
9205 # So? What about this header?
9206 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9207 yes:no: )
9208 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9209 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9211 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9212 ac_header_preproc=yes
9214 no:yes:* )
9215 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9216 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9217 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9218 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9219 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9220 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9221 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9222 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9223 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9224 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9225 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9226 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9228 cat <<\_ASBOX
9229 ## ------------------------------------ ##
9230 ## Report this to wine-devel@winehq.org ##
9231 ## ------------------------------------ ##
9232 _ASBOX
9234 sed "s/^/$as_me: WARNING: /" >&2
9236 esac
9237 echo "$as_me:$LINENO: checking for $ac_header" >&5
9238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9240 echo $ECHO_N "(cached) $ECHO_C" >&6
9241 else
9242 eval "$as_ac_Header=\$ac_header_preproc"
9244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9245 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9248 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9249 cat >>confdefs.h <<_ACEOF
9250 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9251 _ACEOF
9252 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9253 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9254 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9255 echo $ECHO_N "(cached) $ECHO_C" >&6
9256 else
9257 ac_check_lib_save_LIBS=$LIBS
9258 LIBS="-lcurses $LIBS"
9259 cat >conftest.$ac_ext <<_ACEOF
9260 /* confdefs.h. */
9261 _ACEOF
9262 cat confdefs.h >>conftest.$ac_ext
9263 cat >>conftest.$ac_ext <<_ACEOF
9264 /* end confdefs.h. */
9266 /* Override any gcc2 internal prototype to avoid an error. */
9267 #ifdef __cplusplus
9268 extern "C"
9269 #endif
9270 /* We use char because int might match the return type of a gcc2
9271 builtin and then its argument prototype would still apply. */
9272 char waddch ();
9274 main ()
9276 waddch ();
9278 return 0;
9280 _ACEOF
9281 rm -f conftest.$ac_objext conftest$ac_exeext
9282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9283 (eval $ac_link) 2>conftest.er1
9284 ac_status=$?
9285 grep -v '^ *+' conftest.er1 >conftest.err
9286 rm -f conftest.er1
9287 cat conftest.err >&5
9288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9289 (exit $ac_status); } &&
9290 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9292 (eval $ac_try) 2>&5
9293 ac_status=$?
9294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295 (exit $ac_status); }; } &&
9296 { ac_try='test -s conftest$ac_exeext'
9297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9298 (eval $ac_try) 2>&5
9299 ac_status=$?
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 (exit $ac_status); }; }; then
9302 ac_cv_lib_curses_waddch=yes
9303 else
9304 echo "$as_me: failed program was:" >&5
9305 sed 's/^/| /' conftest.$ac_ext >&5
9307 ac_cv_lib_curses_waddch=no
9309 rm -f conftest.err conftest.$ac_objext \
9310 conftest$ac_exeext conftest.$ac_ext
9311 LIBS=$ac_check_lib_save_LIBS
9313 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9314 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9315 if test $ac_cv_lib_curses_waddch = yes; then
9317 cat >>confdefs.h <<\_ACEOF
9318 #define HAVE_LIBCURSES 1
9319 _ACEOF
9321 CURSESLIBS="-lcurses"
9326 done
9332 done
9334 saved_libs="$LIBS"
9335 LIBS="$CURSESLIBS $LIBS"
9338 for ac_func in getbkgd resizeterm
9340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9341 echo "$as_me:$LINENO: checking for $ac_func" >&5
9342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9343 if eval "test \"\${$as_ac_var+set}\" = set"; then
9344 echo $ECHO_N "(cached) $ECHO_C" >&6
9345 else
9346 cat >conftest.$ac_ext <<_ACEOF
9347 /* confdefs.h. */
9348 _ACEOF
9349 cat confdefs.h >>conftest.$ac_ext
9350 cat >>conftest.$ac_ext <<_ACEOF
9351 /* end confdefs.h. */
9352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9354 #define $ac_func innocuous_$ac_func
9356 /* System header to define __stub macros and hopefully few prototypes,
9357 which can conflict with char $ac_func (); below.
9358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9359 <limits.h> exists even on freestanding compilers. */
9361 #ifdef __STDC__
9362 # include <limits.h>
9363 #else
9364 # include <assert.h>
9365 #endif
9367 #undef $ac_func
9369 /* Override any gcc2 internal prototype to avoid an error. */
9370 #ifdef __cplusplus
9371 extern "C"
9373 #endif
9374 /* We use char because int might match the return type of a gcc2
9375 builtin and then its argument prototype would still apply. */
9376 char $ac_func ();
9377 /* The GNU C library defines this for functions which it implements
9378 to always fail with ENOSYS. Some functions are actually named
9379 something starting with __ and the normal name is an alias. */
9380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9381 choke me
9382 #else
9383 char (*f) () = $ac_func;
9384 #endif
9385 #ifdef __cplusplus
9387 #endif
9390 main ()
9392 return f != $ac_func;
9394 return 0;
9396 _ACEOF
9397 rm -f conftest.$ac_objext conftest$ac_exeext
9398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9399 (eval $ac_link) 2>conftest.er1
9400 ac_status=$?
9401 grep -v '^ *+' conftest.er1 >conftest.err
9402 rm -f conftest.er1
9403 cat conftest.err >&5
9404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9405 (exit $ac_status); } &&
9406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9408 (eval $ac_try) 2>&5
9409 ac_status=$?
9410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9411 (exit $ac_status); }; } &&
9412 { ac_try='test -s conftest$ac_exeext'
9413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9414 (eval $ac_try) 2>&5
9415 ac_status=$?
9416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9417 (exit $ac_status); }; }; then
9418 eval "$as_ac_var=yes"
9419 else
9420 echo "$as_me: failed program was:" >&5
9421 sed 's/^/| /' conftest.$ac_ext >&5
9423 eval "$as_ac_var=no"
9425 rm -f conftest.err conftest.$ac_objext \
9426 conftest$ac_exeext conftest.$ac_ext
9428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9430 if test `eval echo '${'$as_ac_var'}'` = yes; then
9431 cat >>confdefs.h <<_ACEOF
9432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9433 _ACEOF
9436 done
9438 LIBS="$saved_libs"
9442 # Extract the first word of "sane-config", so it can be a program name with args.
9443 set dummy sane-config; ac_word=$2
9444 echo "$as_me:$LINENO: checking for $ac_word" >&5
9445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9446 if test "${ac_cv_prog_sane_devel+set}" = set; then
9447 echo $ECHO_N "(cached) $ECHO_C" >&6
9448 else
9449 if test -n "$sane_devel"; then
9450 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9451 else
9452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9453 for as_dir in $PATH
9455 IFS=$as_save_IFS
9456 test -z "$as_dir" && as_dir=.
9457 for ac_exec_ext in '' $ac_executable_extensions; do
9458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9459 ac_cv_prog_sane_devel="sane-config"
9460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9461 break 2
9463 done
9464 done
9466 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9469 sane_devel=$ac_cv_prog_sane_devel
9470 if test -n "$sane_devel"; then
9471 echo "$as_me:$LINENO: result: $sane_devel" >&5
9472 echo "${ECHO_T}$sane_devel" >&6
9473 else
9474 echo "$as_me:$LINENO: result: no" >&5
9475 echo "${ECHO_T}no" >&6
9478 if test "$sane_devel" = "no"
9479 then
9480 SANELIBS=""
9481 SANEINCL=""
9482 else
9483 SANELIBS="`$sane_devel --libs`"
9484 SANEINCL="`$sane_devel --cflags`"
9485 ac_save_CPPFLAGS="$CPPFLAGS"
9486 ac_save_LIBS="$LIBS"
9487 CPPFLAGS="$CPPFLAGS $SANEINCL"
9488 LIBS="$LIBS $SANELIBS"
9489 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9490 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9491 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9492 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9493 echo $ECHO_N "(cached) $ECHO_C" >&6
9495 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9496 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9497 else
9498 # Is the header compilable?
9499 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9500 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9501 cat >conftest.$ac_ext <<_ACEOF
9502 /* confdefs.h. */
9503 _ACEOF
9504 cat confdefs.h >>conftest.$ac_ext
9505 cat >>conftest.$ac_ext <<_ACEOF
9506 /* end confdefs.h. */
9507 $ac_includes_default
9508 #include <sane/sane.h>
9509 _ACEOF
9510 rm -f conftest.$ac_objext
9511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9512 (eval $ac_compile) 2>conftest.er1
9513 ac_status=$?
9514 grep -v '^ *+' conftest.er1 >conftest.err
9515 rm -f conftest.er1
9516 cat conftest.err >&5
9517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9518 (exit $ac_status); } &&
9519 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9521 (eval $ac_try) 2>&5
9522 ac_status=$?
9523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9524 (exit $ac_status); }; } &&
9525 { ac_try='test -s conftest.$ac_objext'
9526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9527 (eval $ac_try) 2>&5
9528 ac_status=$?
9529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9530 (exit $ac_status); }; }; then
9531 ac_header_compiler=yes
9532 else
9533 echo "$as_me: failed program was:" >&5
9534 sed 's/^/| /' conftest.$ac_ext >&5
9536 ac_header_compiler=no
9538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9539 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9540 echo "${ECHO_T}$ac_header_compiler" >&6
9542 # Is the header present?
9543 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9544 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9545 cat >conftest.$ac_ext <<_ACEOF
9546 /* confdefs.h. */
9547 _ACEOF
9548 cat confdefs.h >>conftest.$ac_ext
9549 cat >>conftest.$ac_ext <<_ACEOF
9550 /* end confdefs.h. */
9551 #include <sane/sane.h>
9552 _ACEOF
9553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9554 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9555 ac_status=$?
9556 grep -v '^ *+' conftest.er1 >conftest.err
9557 rm -f conftest.er1
9558 cat conftest.err >&5
9559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9560 (exit $ac_status); } >/dev/null; then
9561 if test -s conftest.err; then
9562 ac_cpp_err=$ac_c_preproc_warn_flag
9563 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9564 else
9565 ac_cpp_err=
9567 else
9568 ac_cpp_err=yes
9570 if test -z "$ac_cpp_err"; then
9571 ac_header_preproc=yes
9572 else
9573 echo "$as_me: failed program was:" >&5
9574 sed 's/^/| /' conftest.$ac_ext >&5
9576 ac_header_preproc=no
9578 rm -f conftest.err conftest.$ac_ext
9579 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9580 echo "${ECHO_T}$ac_header_preproc" >&6
9582 # So? What about this header?
9583 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9584 yes:no: )
9585 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9586 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9587 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9588 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9589 ac_header_preproc=yes
9591 no:yes:* )
9592 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9593 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9594 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9595 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9596 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9597 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9598 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9599 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9600 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9601 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9602 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9603 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9605 cat <<\_ASBOX
9606 ## ------------------------------------ ##
9607 ## Report this to wine-devel@winehq.org ##
9608 ## ------------------------------------ ##
9609 _ASBOX
9611 sed "s/^/$as_me: WARNING: /" >&2
9613 esac
9614 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9615 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9616 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9617 echo $ECHO_N "(cached) $ECHO_C" >&6
9618 else
9619 ac_cv_header_sane_sane_h=$ac_header_preproc
9621 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9622 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9625 if test $ac_cv_header_sane_sane_h = yes; then
9626 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9627 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9628 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9629 echo $ECHO_N "(cached) $ECHO_C" >&6
9630 else
9631 ac_check_lib_save_LIBS=$LIBS
9632 LIBS="-lsane $LIBS"
9633 cat >conftest.$ac_ext <<_ACEOF
9634 /* confdefs.h. */
9635 _ACEOF
9636 cat confdefs.h >>conftest.$ac_ext
9637 cat >>conftest.$ac_ext <<_ACEOF
9638 /* end confdefs.h. */
9640 /* Override any gcc2 internal prototype to avoid an error. */
9641 #ifdef __cplusplus
9642 extern "C"
9643 #endif
9644 /* We use char because int might match the return type of a gcc2
9645 builtin and then its argument prototype would still apply. */
9646 char sane_open ();
9648 main ()
9650 sane_open ();
9652 return 0;
9654 _ACEOF
9655 rm -f conftest.$ac_objext conftest$ac_exeext
9656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9657 (eval $ac_link) 2>conftest.er1
9658 ac_status=$?
9659 grep -v '^ *+' conftest.er1 >conftest.err
9660 rm -f conftest.er1
9661 cat conftest.err >&5
9662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9663 (exit $ac_status); } &&
9664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9666 (eval $ac_try) 2>&5
9667 ac_status=$?
9668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669 (exit $ac_status); }; } &&
9670 { ac_try='test -s conftest$ac_exeext'
9671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9672 (eval $ac_try) 2>&5
9673 ac_status=$?
9674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9675 (exit $ac_status); }; }; then
9676 ac_cv_lib_sane_sane_open=yes
9677 else
9678 echo "$as_me: failed program was:" >&5
9679 sed 's/^/| /' conftest.$ac_ext >&5
9681 ac_cv_lib_sane_sane_open=no
9683 rm -f conftest.err conftest.$ac_objext \
9684 conftest$ac_exeext conftest.$ac_ext
9685 LIBS=$ac_check_lib_save_LIBS
9687 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9688 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9689 if test $ac_cv_lib_sane_sane_open = yes; then
9691 cat >>confdefs.h <<\_ACEOF
9692 #define HAVE_SANE 1
9693 _ACEOF
9695 else
9696 SANELIBS=""
9697 SANEINCL=""
9700 else
9701 SANELIBS=""
9702 SANEINCL=""
9706 LIBS="$ac_save_LIBS"
9707 CPPFLAGS="$ac_save_CPPFLAGS"
9713 for ac_header in unicode/ubidi.h
9715 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9717 echo "$as_me:$LINENO: checking for $ac_header" >&5
9718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9720 echo $ECHO_N "(cached) $ECHO_C" >&6
9722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9723 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9724 else
9725 # Is the header compilable?
9726 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9727 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9728 cat >conftest.$ac_ext <<_ACEOF
9729 /* confdefs.h. */
9730 _ACEOF
9731 cat confdefs.h >>conftest.$ac_ext
9732 cat >>conftest.$ac_ext <<_ACEOF
9733 /* end confdefs.h. */
9734 $ac_includes_default
9735 #include <$ac_header>
9736 _ACEOF
9737 rm -f conftest.$ac_objext
9738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9739 (eval $ac_compile) 2>conftest.er1
9740 ac_status=$?
9741 grep -v '^ *+' conftest.er1 >conftest.err
9742 rm -f conftest.er1
9743 cat conftest.err >&5
9744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9745 (exit $ac_status); } &&
9746 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9748 (eval $ac_try) 2>&5
9749 ac_status=$?
9750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9751 (exit $ac_status); }; } &&
9752 { ac_try='test -s conftest.$ac_objext'
9753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9754 (eval $ac_try) 2>&5
9755 ac_status=$?
9756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9757 (exit $ac_status); }; }; then
9758 ac_header_compiler=yes
9759 else
9760 echo "$as_me: failed program was:" >&5
9761 sed 's/^/| /' conftest.$ac_ext >&5
9763 ac_header_compiler=no
9765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9766 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9767 echo "${ECHO_T}$ac_header_compiler" >&6
9769 # Is the header present?
9770 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9771 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9772 cat >conftest.$ac_ext <<_ACEOF
9773 /* confdefs.h. */
9774 _ACEOF
9775 cat confdefs.h >>conftest.$ac_ext
9776 cat >>conftest.$ac_ext <<_ACEOF
9777 /* end confdefs.h. */
9778 #include <$ac_header>
9779 _ACEOF
9780 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9781 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9782 ac_status=$?
9783 grep -v '^ *+' conftest.er1 >conftest.err
9784 rm -f conftest.er1
9785 cat conftest.err >&5
9786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9787 (exit $ac_status); } >/dev/null; then
9788 if test -s conftest.err; then
9789 ac_cpp_err=$ac_c_preproc_warn_flag
9790 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9791 else
9792 ac_cpp_err=
9794 else
9795 ac_cpp_err=yes
9797 if test -z "$ac_cpp_err"; then
9798 ac_header_preproc=yes
9799 else
9800 echo "$as_me: failed program was:" >&5
9801 sed 's/^/| /' conftest.$ac_ext >&5
9803 ac_header_preproc=no
9805 rm -f conftest.err conftest.$ac_ext
9806 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9807 echo "${ECHO_T}$ac_header_preproc" >&6
9809 # So? What about this header?
9810 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9811 yes:no: )
9812 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9813 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9814 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9815 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9816 ac_header_preproc=yes
9818 no:yes:* )
9819 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9820 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9821 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9822 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9823 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9824 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9825 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9826 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9828 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9829 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9830 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9832 cat <<\_ASBOX
9833 ## ------------------------------------ ##
9834 ## Report this to wine-devel@winehq.org ##
9835 ## ------------------------------------ ##
9836 _ASBOX
9838 sed "s/^/$as_me: WARNING: /" >&2
9840 esac
9841 echo "$as_me:$LINENO: checking for $ac_header" >&5
9842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9844 echo $ECHO_N "(cached) $ECHO_C" >&6
9845 else
9846 eval "$as_ac_Header=\$ac_header_preproc"
9848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9852 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9853 cat >>confdefs.h <<_ACEOF
9854 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9855 _ACEOF
9859 done
9861 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
9862 then
9863 saved_libs="$LIBS"
9864 ICU_LIB_DIR="${ICU_LIB_DIR-/usr/lib}"
9865 ICUUC_LIB="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
9866 ICUDATA_LIB="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
9867 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
9868 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
9869 LIBS="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9870 cat >conftest.$ac_ext <<_ACEOF
9871 /* confdefs.h. */
9872 _ACEOF
9873 cat confdefs.h >>conftest.$ac_ext
9874 cat >>conftest.$ac_ext <<_ACEOF
9875 /* end confdefs.h. */
9876 #include <unicode/ubidi.h>
9878 main ()
9880 ubidi_open()
9882 return 0;
9884 _ACEOF
9885 rm -f conftest.$ac_objext conftest$ac_exeext
9886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9887 (eval $ac_link) 2>conftest.er1
9888 ac_status=$?
9889 grep -v '^ *+' conftest.er1 >conftest.err
9890 rm -f conftest.er1
9891 cat conftest.err >&5
9892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9893 (exit $ac_status); } &&
9894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9896 (eval $ac_try) 2>&5
9897 ac_status=$?
9898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9899 (exit $ac_status); }; } &&
9900 { ac_try='test -s conftest$ac_exeext'
9901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9902 (eval $ac_try) 2>&5
9903 ac_status=$?
9904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905 (exit $ac_status); }; }; then
9907 cat >>confdefs.h <<\_ACEOF
9908 #define HAVE_ICU 1
9909 _ACEOF
9911 ICULIBS="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9913 echo "$as_me:$LINENO: result: yes" >&5
9914 echo "${ECHO_T}yes" >&6
9915 else
9916 echo "$as_me: failed program was:" >&5
9917 sed 's/^/| /' conftest.$ac_ext >&5
9919 echo "$as_me:$LINENO: result: no" >&5
9920 echo "${ECHO_T}no" >&6
9922 rm -f conftest.err conftest.$ac_objext \
9923 conftest$ac_exeext conftest.$ac_ext
9924 LIBS="$saved_libs"
9927 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
9928 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
9929 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
9930 echo $ECHO_N "(cached) $ECHO_C" >&6
9931 else
9932 ac_check_lib_save_LIBS=$LIBS
9933 LIBS="-lfreetype $X_LIBS $LIBS"
9934 cat >conftest.$ac_ext <<_ACEOF
9935 /* confdefs.h. */
9936 _ACEOF
9937 cat confdefs.h >>conftest.$ac_ext
9938 cat >>conftest.$ac_ext <<_ACEOF
9939 /* end confdefs.h. */
9941 /* Override any gcc2 internal prototype to avoid an error. */
9942 #ifdef __cplusplus
9943 extern "C"
9944 #endif
9945 /* We use char because int might match the return type of a gcc2
9946 builtin and then its argument prototype would still apply. */
9947 char FT_Init_FreeType ();
9949 main ()
9951 FT_Init_FreeType ();
9953 return 0;
9955 _ACEOF
9956 rm -f conftest.$ac_objext conftest$ac_exeext
9957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9958 (eval $ac_link) 2>conftest.er1
9959 ac_status=$?
9960 grep -v '^ *+' conftest.er1 >conftest.err
9961 rm -f conftest.er1
9962 cat conftest.err >&5
9963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9964 (exit $ac_status); } &&
9965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9967 (eval $ac_try) 2>&5
9968 ac_status=$?
9969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9970 (exit $ac_status); }; } &&
9971 { ac_try='test -s conftest$ac_exeext'
9972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9973 (eval $ac_try) 2>&5
9974 ac_status=$?
9975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9976 (exit $ac_status); }; }; then
9977 ac_cv_lib_freetype_FT_Init_FreeType=yes
9978 else
9979 echo "$as_me: failed program was:" >&5
9980 sed 's/^/| /' conftest.$ac_ext >&5
9982 ac_cv_lib_freetype_FT_Init_FreeType=no
9984 rm -f conftest.err conftest.$ac_objext \
9985 conftest$ac_exeext conftest.$ac_ext
9986 LIBS=$ac_check_lib_save_LIBS
9988 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
9989 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
9990 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
9991 ft_lib=yes
9992 else
9993 ft_lib=no
9996 if test "$ft_lib" = "no"
9997 then
9998 FREETYPEINCL=""
9999 wine_cv_msg_freetype=no
10000 else
10001 # Extract the first word of "freetype-config", so it can be a program name with args.
10002 set dummy freetype-config; ac_word=$2
10003 echo "$as_me:$LINENO: checking for $ac_word" >&5
10004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10005 if test "${ac_cv_prog_ft_devel+set}" = set; then
10006 echo $ECHO_N "(cached) $ECHO_C" >&6
10007 else
10008 if test -n "$ft_devel"; then
10009 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10010 else
10011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10012 for as_dir in $PATH
10014 IFS=$as_save_IFS
10015 test -z "$as_dir" && as_dir=.
10016 for ac_exec_ext in '' $ac_executable_extensions; do
10017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10018 ac_cv_prog_ft_devel="freetype-config"
10019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10020 break 2
10022 done
10023 done
10025 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
10028 ft_devel=$ac_cv_prog_ft_devel
10029 if test -n "$ft_devel"; then
10030 echo "$as_me:$LINENO: result: $ft_devel" >&5
10031 echo "${ECHO_T}$ft_devel" >&6
10032 else
10033 echo "$as_me:$LINENO: result: no" >&5
10034 echo "${ECHO_T}no" >&6
10037 if test "$ft_devel" = "no"
10038 then
10039 # Extract the first word of "freetype2-config", so it can be a program name with args.
10040 set dummy freetype2-config; ac_word=$2
10041 echo "$as_me:$LINENO: checking for $ac_word" >&5
10042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10043 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10044 echo $ECHO_N "(cached) $ECHO_C" >&6
10045 else
10046 if test -n "$ft_devel2"; then
10047 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
10048 else
10049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10050 for as_dir in $PATH
10052 IFS=$as_save_IFS
10053 test -z "$as_dir" && as_dir=.
10054 for ac_exec_ext in '' $ac_executable_extensions; do
10055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10056 ac_cv_prog_ft_devel2="freetype2-config"
10057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10058 break 2
10060 done
10061 done
10063 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10066 ft_devel2=$ac_cv_prog_ft_devel2
10067 if test -n "$ft_devel2"; then
10068 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10069 echo "${ECHO_T}$ft_devel2" >&6
10070 else
10071 echo "$as_me:$LINENO: result: no" >&5
10072 echo "${ECHO_T}no" >&6
10075 if test "$ft_devel2" = "freetype2-config"
10076 then
10077 ft_devel=$ft_devel2
10080 if test "$ft_devel" = "no"
10081 then
10082 FREETYPEINCL=""
10083 wine_cv_msg_freetype=yes
10084 else
10085 FREETYPEINCL=`$ft_devel --cflags`
10086 ac_save_CPPFLAGS="$CPPFLAGS"
10087 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
10098 for ac_header in ft2build.h \
10099 freetype/freetype.h \
10100 freetype/ftglyph.h \
10101 freetype/tttables.h \
10102 freetype/ftnames.h \
10103 freetype/ftsnames.h \
10104 freetype/ttnameid.h \
10105 freetype/ftoutln.h \
10106 freetype/ftwinfnt.h \
10107 freetype/internal/sfnt.h
10109 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10110 echo "$as_me:$LINENO: checking for $ac_header" >&5
10111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10113 echo $ECHO_N "(cached) $ECHO_C" >&6
10114 else
10115 cat >conftest.$ac_ext <<_ACEOF
10116 /* confdefs.h. */
10117 _ACEOF
10118 cat confdefs.h >>conftest.$ac_ext
10119 cat >>conftest.$ac_ext <<_ACEOF
10120 /* end confdefs.h. */
10121 #if HAVE_FT2BUILD_H
10122 #include <ft2build.h>
10123 #endif
10125 #include <$ac_header>
10126 _ACEOF
10127 rm -f conftest.$ac_objext
10128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10129 (eval $ac_compile) 2>conftest.er1
10130 ac_status=$?
10131 grep -v '^ *+' conftest.er1 >conftest.err
10132 rm -f conftest.er1
10133 cat conftest.err >&5
10134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10135 (exit $ac_status); } &&
10136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10138 (eval $ac_try) 2>&5
10139 ac_status=$?
10140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10141 (exit $ac_status); }; } &&
10142 { ac_try='test -s conftest.$ac_objext'
10143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10144 (eval $ac_try) 2>&5
10145 ac_status=$?
10146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10147 (exit $ac_status); }; }; then
10148 eval "$as_ac_Header=yes"
10149 else
10150 echo "$as_me: failed program was:" >&5
10151 sed 's/^/| /' conftest.$ac_ext >&5
10153 eval "$as_ac_Header=no"
10155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10160 cat >>confdefs.h <<_ACEOF
10161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10162 _ACEOF
10166 done
10168 cat >conftest.$ac_ext <<_ACEOF
10169 /* confdefs.h. */
10170 _ACEOF
10171 cat confdefs.h >>conftest.$ac_ext
10172 cat >>conftest.$ac_ext <<_ACEOF
10173 /* end confdefs.h. */
10174 #include <ft2build.h>
10175 #include <freetype/fttrigon.h>
10176 _ACEOF
10177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10178 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10179 ac_status=$?
10180 grep -v '^ *+' conftest.er1 >conftest.err
10181 rm -f conftest.er1
10182 cat conftest.err >&5
10183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10184 (exit $ac_status); } >/dev/null; then
10185 if test -s conftest.err; then
10186 ac_cpp_err=$ac_c_preproc_warn_flag
10187 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10188 else
10189 ac_cpp_err=
10191 else
10192 ac_cpp_err=yes
10194 if test -z "$ac_cpp_err"; then
10196 cat >>confdefs.h <<\_ACEOF
10197 #define HAVE_FREETYPE_FTTRIGON_H 1
10198 _ACEOF
10200 wine_cv_fttrigon=yes
10201 else
10202 echo "$as_me: failed program was:" >&5
10203 sed 's/^/| /' conftest.$ac_ext >&5
10205 wine_cv_fttrigon=no
10207 rm -f conftest.err conftest.$ac_ext
10208 CPPFLAGS="$ac_save_CPPFLAGS"
10209 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10210 then
10212 cat >>confdefs.h <<\_ACEOF
10213 #define HAVE_FREETYPE 1
10214 _ACEOF
10216 wine_cv_msg_freetype=no
10217 else
10218 FREETYPEINCL=""
10219 wine_cv_msg_freetype=yes
10225 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10226 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10227 if test "${ac_cv_c_ppdev+set}" = set; then
10228 echo $ECHO_N "(cached) $ECHO_C" >&6
10229 else
10230 cat >conftest.$ac_ext <<_ACEOF
10231 /* confdefs.h. */
10232 _ACEOF
10233 cat confdefs.h >>conftest.$ac_ext
10234 cat >>conftest.$ac_ext <<_ACEOF
10235 /* end confdefs.h. */
10236 #include <linux/ppdev.h>
10238 main ()
10240 ioctl (1,PPCLAIM,0)
10242 return 0;
10244 _ACEOF
10245 rm -f conftest.$ac_objext
10246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10247 (eval $ac_compile) 2>conftest.er1
10248 ac_status=$?
10249 grep -v '^ *+' conftest.er1 >conftest.err
10250 rm -f conftest.er1
10251 cat conftest.err >&5
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); } &&
10254 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10256 (eval $ac_try) 2>&5
10257 ac_status=$?
10258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10259 (exit $ac_status); }; } &&
10260 { ac_try='test -s conftest.$ac_objext'
10261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10262 (eval $ac_try) 2>&5
10263 ac_status=$?
10264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265 (exit $ac_status); }; }; then
10266 ac_cv_c_ppdev="yes"
10267 else
10268 echo "$as_me: failed program was:" >&5
10269 sed 's/^/| /' conftest.$ac_ext >&5
10271 ac_cv_c_ppdev="no"
10273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10276 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10277 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10278 if test "$ac_cv_c_ppdev" = "yes"
10279 then
10281 cat >>confdefs.h <<\_ACEOF
10282 #define HAVE_PPDEV 1
10283 _ACEOF
10287 echo "$as_me:$LINENO: checking for va_copy" >&5
10288 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10289 if test "${ac_cv_c_va_copy+set}" = set; then
10290 echo $ECHO_N "(cached) $ECHO_C" >&6
10291 else
10292 cat >conftest.$ac_ext <<_ACEOF
10293 /* confdefs.h. */
10294 _ACEOF
10295 cat confdefs.h >>conftest.$ac_ext
10296 cat >>conftest.$ac_ext <<_ACEOF
10297 /* end confdefs.h. */
10298 #include <stdarg.h>
10300 main ()
10302 va_list ap1, ap2;
10303 va_copy(ap1,ap2);
10306 return 0;
10308 _ACEOF
10309 rm -f conftest.$ac_objext conftest$ac_exeext
10310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10311 (eval $ac_link) 2>conftest.er1
10312 ac_status=$?
10313 grep -v '^ *+' conftest.er1 >conftest.err
10314 rm -f conftest.er1
10315 cat conftest.err >&5
10316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10317 (exit $ac_status); } &&
10318 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10320 (eval $ac_try) 2>&5
10321 ac_status=$?
10322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323 (exit $ac_status); }; } &&
10324 { ac_try='test -s conftest$ac_exeext'
10325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10326 (eval $ac_try) 2>&5
10327 ac_status=$?
10328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329 (exit $ac_status); }; }; then
10330 ac_cv_c_va_copy="yes"
10331 else
10332 echo "$as_me: failed program was:" >&5
10333 sed 's/^/| /' conftest.$ac_ext >&5
10335 ac_cv_c_va_copy="no"
10337 rm -f conftest.err conftest.$ac_objext \
10338 conftest$ac_exeext conftest.$ac_ext
10341 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10342 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10343 if test "$ac_cv_c_va_copy" = "yes"
10344 then
10346 cat >>confdefs.h <<\_ACEOF
10347 #define HAVE_VA_COPY 1
10348 _ACEOF
10351 echo "$as_me:$LINENO: checking for __va_copy" >&5
10352 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10353 if test "${ac_cv_c___va_copy+set}" = set; then
10354 echo $ECHO_N "(cached) $ECHO_C" >&6
10355 else
10356 cat >conftest.$ac_ext <<_ACEOF
10357 /* confdefs.h. */
10358 _ACEOF
10359 cat confdefs.h >>conftest.$ac_ext
10360 cat >>conftest.$ac_ext <<_ACEOF
10361 /* end confdefs.h. */
10362 #include <stdarg.h>
10364 main ()
10366 va_list ap1, ap2;
10367 __va_copy(ap1,ap2);
10370 return 0;
10372 _ACEOF
10373 rm -f conftest.$ac_objext conftest$ac_exeext
10374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10375 (eval $ac_link) 2>conftest.er1
10376 ac_status=$?
10377 grep -v '^ *+' conftest.er1 >conftest.err
10378 rm -f conftest.er1
10379 cat conftest.err >&5
10380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10381 (exit $ac_status); } &&
10382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10384 (eval $ac_try) 2>&5
10385 ac_status=$?
10386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10387 (exit $ac_status); }; } &&
10388 { ac_try='test -s conftest$ac_exeext'
10389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10390 (eval $ac_try) 2>&5
10391 ac_status=$?
10392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10393 (exit $ac_status); }; }; then
10394 ac_cv_c___va_copy="yes"
10395 else
10396 echo "$as_me: failed program was:" >&5
10397 sed 's/^/| /' conftest.$ac_ext >&5
10399 ac_cv_c___va_copy="no"
10401 rm -f conftest.err conftest.$ac_objext \
10402 conftest$ac_exeext conftest.$ac_ext
10405 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10406 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10407 if test "$ac_cv_c___va_copy" = "yes"
10408 then
10410 cat >>confdefs.h <<\_ACEOF
10411 #define HAVE___VA_COPY 1
10412 _ACEOF
10416 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10417 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10418 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10419 echo $ECHO_N "(cached) $ECHO_C" >&6
10420 else
10421 cat >conftest.$ac_ext <<_ACEOF
10422 /* confdefs.h. */
10423 _ACEOF
10424 cat confdefs.h >>conftest.$ac_ext
10425 cat >>conftest.$ac_ext <<_ACEOF
10426 /* end confdefs.h. */
10427 #include <setjmp.h>
10429 main ()
10431 sigjmp_buf buf;
10432 sigsetjmp( buf, 1 );
10433 siglongjmp( buf, 1 );
10435 return 0;
10437 _ACEOF
10438 rm -f conftest.$ac_objext conftest$ac_exeext
10439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10440 (eval $ac_link) 2>conftest.er1
10441 ac_status=$?
10442 grep -v '^ *+' conftest.er1 >conftest.err
10443 rm -f conftest.er1
10444 cat conftest.err >&5
10445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10446 (exit $ac_status); } &&
10447 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10449 (eval $ac_try) 2>&5
10450 ac_status=$?
10451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452 (exit $ac_status); }; } &&
10453 { ac_try='test -s conftest$ac_exeext'
10454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10455 (eval $ac_try) 2>&5
10456 ac_status=$?
10457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10458 (exit $ac_status); }; }; then
10459 ac_cv_c_sigsetjmp="yes"
10460 else
10461 echo "$as_me: failed program was:" >&5
10462 sed 's/^/| /' conftest.$ac_ext >&5
10464 ac_cv_c_sigsetjmp="no"
10466 rm -f conftest.err conftest.$ac_objext \
10467 conftest$ac_exeext conftest.$ac_ext
10470 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10471 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10472 if test "$ac_cv_c_sigsetjmp" = "yes"
10473 then
10475 cat >>confdefs.h <<\_ACEOF
10476 #define HAVE_SIGSETJMP 1
10477 _ACEOF
10481 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10482 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10483 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10484 echo $ECHO_N "(cached) $ECHO_C" >&6
10485 else
10486 cat >conftest.$ac_ext <<_ACEOF
10487 /* confdefs.h. */
10488 _ACEOF
10489 cat confdefs.h >>conftest.$ac_ext
10490 cat >>conftest.$ac_ext <<_ACEOF
10491 /* end confdefs.h. */
10492 #define _GNU_SOURCE
10493 #include <pthread.h>
10496 main ()
10498 if ((pthread_rwlock_t *) 0)
10499 return 0;
10500 if (sizeof (pthread_rwlock_t))
10501 return 0;
10503 return 0;
10505 _ACEOF
10506 rm -f conftest.$ac_objext
10507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10508 (eval $ac_compile) 2>conftest.er1
10509 ac_status=$?
10510 grep -v '^ *+' conftest.er1 >conftest.err
10511 rm -f conftest.er1
10512 cat conftest.err >&5
10513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10514 (exit $ac_status); } &&
10515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10517 (eval $ac_try) 2>&5
10518 ac_status=$?
10519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10520 (exit $ac_status); }; } &&
10521 { ac_try='test -s conftest.$ac_objext'
10522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10523 (eval $ac_try) 2>&5
10524 ac_status=$?
10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10526 (exit $ac_status); }; }; then
10527 ac_cv_type_pthread_rwlock_t=yes
10528 else
10529 echo "$as_me: failed program was:" >&5
10530 sed 's/^/| /' conftest.$ac_ext >&5
10532 ac_cv_type_pthread_rwlock_t=no
10534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10536 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10537 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10538 if test $ac_cv_type_pthread_rwlock_t = yes; then
10540 cat >>confdefs.h <<_ACEOF
10541 #define HAVE_PTHREAD_RWLOCK_T 1
10542 _ACEOF
10546 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
10547 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
10548 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
10549 echo $ECHO_N "(cached) $ECHO_C" >&6
10550 else
10551 cat >conftest.$ac_ext <<_ACEOF
10552 /* confdefs.h. */
10553 _ACEOF
10554 cat confdefs.h >>conftest.$ac_ext
10555 cat >>conftest.$ac_ext <<_ACEOF
10556 /* end confdefs.h. */
10557 #define _GNU_SOURCE
10558 #include <pthread.h>
10561 main ()
10563 if ((pthread_rwlockattr_t *) 0)
10564 return 0;
10565 if (sizeof (pthread_rwlockattr_t))
10566 return 0;
10568 return 0;
10570 _ACEOF
10571 rm -f conftest.$ac_objext
10572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10573 (eval $ac_compile) 2>conftest.er1
10574 ac_status=$?
10575 grep -v '^ *+' conftest.er1 >conftest.err
10576 rm -f conftest.er1
10577 cat conftest.err >&5
10578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10579 (exit $ac_status); } &&
10580 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10582 (eval $ac_try) 2>&5
10583 ac_status=$?
10584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10585 (exit $ac_status); }; } &&
10586 { ac_try='test -s conftest.$ac_objext'
10587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10588 (eval $ac_try) 2>&5
10589 ac_status=$?
10590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10591 (exit $ac_status); }; }; then
10592 ac_cv_type_pthread_rwlockattr_t=yes
10593 else
10594 echo "$as_me: failed program was:" >&5
10595 sed 's/^/| /' conftest.$ac_ext >&5
10597 ac_cv_type_pthread_rwlockattr_t=no
10599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10601 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
10602 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
10603 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
10605 cat >>confdefs.h <<_ACEOF
10606 #define HAVE_PTHREAD_RWLOCKATTR_T 1
10607 _ACEOF
10613 ac_save_LIBS="$LIBS"
10614 LIBS="$LIBS $LIBPTHREAD"
10618 for ac_func in \
10619 pthread_getattr_np \
10620 pthread_get_stackaddr_np \
10621 pthread_get_stacksize_np \
10624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10625 echo "$as_me:$LINENO: checking for $ac_func" >&5
10626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10627 if eval "test \"\${$as_ac_var+set}\" = set"; then
10628 echo $ECHO_N "(cached) $ECHO_C" >&6
10629 else
10630 cat >conftest.$ac_ext <<_ACEOF
10631 /* confdefs.h. */
10632 _ACEOF
10633 cat confdefs.h >>conftest.$ac_ext
10634 cat >>conftest.$ac_ext <<_ACEOF
10635 /* end confdefs.h. */
10636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10638 #define $ac_func innocuous_$ac_func
10640 /* System header to define __stub macros and hopefully few prototypes,
10641 which can conflict with char $ac_func (); below.
10642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10643 <limits.h> exists even on freestanding compilers. */
10645 #ifdef __STDC__
10646 # include <limits.h>
10647 #else
10648 # include <assert.h>
10649 #endif
10651 #undef $ac_func
10653 /* Override any gcc2 internal prototype to avoid an error. */
10654 #ifdef __cplusplus
10655 extern "C"
10657 #endif
10658 /* We use char because int might match the return type of a gcc2
10659 builtin and then its argument prototype would still apply. */
10660 char $ac_func ();
10661 /* The GNU C library defines this for functions which it implements
10662 to always fail with ENOSYS. Some functions are actually named
10663 something starting with __ and the normal name is an alias. */
10664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10665 choke me
10666 #else
10667 char (*f) () = $ac_func;
10668 #endif
10669 #ifdef __cplusplus
10671 #endif
10674 main ()
10676 return f != $ac_func;
10678 return 0;
10680 _ACEOF
10681 rm -f conftest.$ac_objext conftest$ac_exeext
10682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10683 (eval $ac_link) 2>conftest.er1
10684 ac_status=$?
10685 grep -v '^ *+' conftest.er1 >conftest.err
10686 rm -f conftest.er1
10687 cat conftest.err >&5
10688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10689 (exit $ac_status); } &&
10690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10692 (eval $ac_try) 2>&5
10693 ac_status=$?
10694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10695 (exit $ac_status); }; } &&
10696 { ac_try='test -s conftest$ac_exeext'
10697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10698 (eval $ac_try) 2>&5
10699 ac_status=$?
10700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10701 (exit $ac_status); }; }; then
10702 eval "$as_ac_var=yes"
10703 else
10704 echo "$as_me: failed program was:" >&5
10705 sed 's/^/| /' conftest.$ac_ext >&5
10707 eval "$as_ac_var=no"
10709 rm -f conftest.err conftest.$ac_objext \
10710 conftest$ac_exeext conftest.$ac_ext
10712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10714 if test `eval echo '${'$as_ac_var'}'` = yes; then
10715 cat >>confdefs.h <<_ACEOF
10716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10717 _ACEOF
10720 done
10722 LIBS="$ac_save_LIBS"
10727 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
10729 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10731 echo "$as_me:$LINENO: checking for $ac_header" >&5
10732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10734 echo $ECHO_N "(cached) $ECHO_C" >&6
10736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10738 else
10739 # Is the header compilable?
10740 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10741 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10742 cat >conftest.$ac_ext <<_ACEOF
10743 /* confdefs.h. */
10744 _ACEOF
10745 cat confdefs.h >>conftest.$ac_ext
10746 cat >>conftest.$ac_ext <<_ACEOF
10747 /* end confdefs.h. */
10748 $ac_includes_default
10749 #include <$ac_header>
10750 _ACEOF
10751 rm -f conftest.$ac_objext
10752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10753 (eval $ac_compile) 2>conftest.er1
10754 ac_status=$?
10755 grep -v '^ *+' conftest.er1 >conftest.err
10756 rm -f conftest.er1
10757 cat conftest.err >&5
10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759 (exit $ac_status); } &&
10760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10762 (eval $ac_try) 2>&5
10763 ac_status=$?
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); }; } &&
10766 { ac_try='test -s conftest.$ac_objext'
10767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10768 (eval $ac_try) 2>&5
10769 ac_status=$?
10770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10771 (exit $ac_status); }; }; then
10772 ac_header_compiler=yes
10773 else
10774 echo "$as_me: failed program was:" >&5
10775 sed 's/^/| /' conftest.$ac_ext >&5
10777 ac_header_compiler=no
10779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10780 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10781 echo "${ECHO_T}$ac_header_compiler" >&6
10783 # Is the header present?
10784 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10785 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10786 cat >conftest.$ac_ext <<_ACEOF
10787 /* confdefs.h. */
10788 _ACEOF
10789 cat confdefs.h >>conftest.$ac_ext
10790 cat >>conftest.$ac_ext <<_ACEOF
10791 /* end confdefs.h. */
10792 #include <$ac_header>
10793 _ACEOF
10794 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10795 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10796 ac_status=$?
10797 grep -v '^ *+' conftest.er1 >conftest.err
10798 rm -f conftest.er1
10799 cat conftest.err >&5
10800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10801 (exit $ac_status); } >/dev/null; then
10802 if test -s conftest.err; then
10803 ac_cpp_err=$ac_c_preproc_warn_flag
10804 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10805 else
10806 ac_cpp_err=
10808 else
10809 ac_cpp_err=yes
10811 if test -z "$ac_cpp_err"; then
10812 ac_header_preproc=yes
10813 else
10814 echo "$as_me: failed program was:" >&5
10815 sed 's/^/| /' conftest.$ac_ext >&5
10817 ac_header_preproc=no
10819 rm -f conftest.err conftest.$ac_ext
10820 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10821 echo "${ECHO_T}$ac_header_preproc" >&6
10823 # So? What about this header?
10824 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10825 yes:no: )
10826 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10827 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10829 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10830 ac_header_preproc=yes
10832 no:yes:* )
10833 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10834 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10835 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10836 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10837 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10838 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10839 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10840 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10842 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10843 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10844 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10846 cat <<\_ASBOX
10847 ## ------------------------------------ ##
10848 ## Report this to wine-devel@winehq.org ##
10849 ## ------------------------------------ ##
10850 _ASBOX
10852 sed "s/^/$as_me: WARNING: /" >&2
10854 esac
10855 echo "$as_me:$LINENO: checking for $ac_header" >&5
10856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10858 echo $ECHO_N "(cached) $ECHO_C" >&6
10859 else
10860 eval "$as_ac_Header=\$ac_header_preproc"
10862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10867 cat >>confdefs.h <<_ACEOF
10868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10869 _ACEOF
10870 break
10873 done
10876 echo "$as_me:$LINENO: checking for Open Sound System" >&5
10877 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
10878 if test "${ac_cv_c_opensoundsystem+set}" = set; then
10879 echo $ECHO_N "(cached) $ECHO_C" >&6
10880 else
10881 cat >conftest.$ac_ext <<_ACEOF
10882 /* confdefs.h. */
10883 _ACEOF
10884 cat confdefs.h >>conftest.$ac_ext
10885 cat >>conftest.$ac_ext <<_ACEOF
10886 /* end confdefs.h. */
10888 #if defined(HAVE_SYS_SOUNDCARD_H)
10889 #include <sys/soundcard.h>
10890 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10891 #include <machine/soundcard.h>
10892 #elif defined(HAVE_SOUNDCARD_H)
10893 #include <soundcard.h>
10894 #endif
10897 main ()
10901 /* check for one of the Open Sound System specific SNDCTL_ defines */
10902 #if !defined(SNDCTL_DSP_STEREO)
10903 #error No open sound system
10904 #endif
10907 return 0;
10909 _ACEOF
10910 rm -f conftest.$ac_objext
10911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10912 (eval $ac_compile) 2>conftest.er1
10913 ac_status=$?
10914 grep -v '^ *+' conftest.er1 >conftest.err
10915 rm -f conftest.er1
10916 cat conftest.err >&5
10917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918 (exit $ac_status); } &&
10919 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10921 (eval $ac_try) 2>&5
10922 ac_status=$?
10923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10924 (exit $ac_status); }; } &&
10925 { ac_try='test -s conftest.$ac_objext'
10926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10927 (eval $ac_try) 2>&5
10928 ac_status=$?
10929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10930 (exit $ac_status); }; }; then
10931 ac_cv_c_opensoundsystem="yes"
10932 else
10933 echo "$as_me: failed program was:" >&5
10934 sed 's/^/| /' conftest.$ac_ext >&5
10936 ac_cv_c_opensoundsystem="no"
10938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10940 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
10941 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
10943 if test "$ac_cv_c_opensoundsystem" = "yes"
10944 then
10946 cat >>confdefs.h <<\_ACEOF
10947 #define HAVE_OSS 1
10948 _ACEOF
10952 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
10953 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
10954 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
10955 echo $ECHO_N "(cached) $ECHO_C" >&6
10956 else
10957 cat >conftest.$ac_ext <<_ACEOF
10958 /* confdefs.h. */
10959 _ACEOF
10960 cat confdefs.h >>conftest.$ac_ext
10961 cat >>conftest.$ac_ext <<_ACEOF
10962 /* end confdefs.h. */
10964 #if defined(HAVE_SYS_SOUNDCARD_H)
10965 #include <sys/soundcard.h>
10966 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10967 #include <machine/soundcard.h>
10968 #elif defined(HAVE_SOUNDCARD_H)
10969 #include <soundcard.h>
10970 #endif
10973 main ()
10977 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
10978 #if !defined(SNDCTL_SEQ_SYNC)
10979 #error No open sound system MIDI interface
10980 #endif
10983 return 0;
10985 _ACEOF
10986 rm -f conftest.$ac_objext
10987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10988 (eval $ac_compile) 2>conftest.er1
10989 ac_status=$?
10990 grep -v '^ *+' conftest.er1 >conftest.err
10991 rm -f conftest.er1
10992 cat conftest.err >&5
10993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994 (exit $ac_status); } &&
10995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10997 (eval $ac_try) 2>&5
10998 ac_status=$?
10999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11000 (exit $ac_status); }; } &&
11001 { ac_try='test -s conftest.$ac_objext'
11002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11003 (eval $ac_try) 2>&5
11004 ac_status=$?
11005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11006 (exit $ac_status); }; }; then
11007 ac_cv_c_opensoundsystem_midi="yes"
11008 else
11009 echo "$as_me: failed program was:" >&5
11010 sed 's/^/| /' conftest.$ac_ext >&5
11012 ac_cv_c_opensoundsystem_midi="no"
11014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11016 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
11017 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
11019 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
11020 then
11022 cat >>confdefs.h <<\_ACEOF
11023 #define HAVE_OSS_MIDI 1
11024 _ACEOF
11028 # Extract the first word of "artsc-config", so it can be a program name with args.
11029 set dummy artsc-config; ac_word=$2
11030 echo "$as_me:$LINENO: checking for $ac_word" >&5
11031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11032 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11033 echo $ECHO_N "(cached) $ECHO_C" >&6
11034 else
11035 case $ARTSCCONFIG in
11036 [\\/]* | ?:[\\/]*)
11037 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
11040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11041 for as_dir in $PATH
11043 IFS=$as_save_IFS
11044 test -z "$as_dir" && as_dir=.
11045 for ac_exec_ext in '' $ac_executable_extensions; do
11046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11047 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
11048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11049 break 2
11051 done
11052 done
11055 esac
11057 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
11059 if test -n "$ARTSCCONFIG"; then
11060 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11061 echo "${ECHO_T}$ARTSCCONFIG" >&6
11062 else
11063 echo "$as_me:$LINENO: result: no" >&5
11064 echo "${ECHO_T}no" >&6
11067 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
11068 then
11069 ARTSC_CFLAGS=""
11070 for i in `$ARTSCCONFIG --cflags`
11072 case "$i" in
11073 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
11074 esac
11075 done
11076 ARTSC_LIBS=`$ARTSCCONFIG --libs`
11077 save_CFLAGS="$CFLAGS"
11078 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
11079 cat >conftest.$ac_ext <<_ACEOF
11080 /* confdefs.h. */
11081 _ACEOF
11082 cat confdefs.h >>conftest.$ac_ext
11083 cat >>conftest.$ac_ext <<_ACEOF
11084 /* end confdefs.h. */
11085 #include <artsc.h>
11087 main ()
11089 arts_stream_t stream;
11091 return 0;
11093 _ACEOF
11094 rm -f conftest.$ac_objext
11095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11096 (eval $ac_compile) 2>conftest.er1
11097 ac_status=$?
11098 grep -v '^ *+' conftest.er1 >conftest.err
11099 rm -f conftest.er1
11100 cat conftest.err >&5
11101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11102 (exit $ac_status); } &&
11103 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11105 (eval $ac_try) 2>&5
11106 ac_status=$?
11107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11108 (exit $ac_status); }; } &&
11109 { ac_try='test -s conftest.$ac_objext'
11110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11111 (eval $ac_try) 2>&5
11112 ac_status=$?
11113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11114 (exit $ac_status); }; }; then
11115 ARTSLIBS=$ARTSC_LIBS
11117 ARTSINCL=$ARTSC_CFLAGS
11120 cat >>confdefs.h <<\_ACEOF
11121 #define HAVE_ARTS 1
11122 _ACEOF
11124 else
11125 echo "$as_me: failed program was:" >&5
11126 sed 's/^/| /' conftest.$ac_ext >&5
11129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11130 CFLAGS="$save_CFLAGS"
11133 ALSALIBS=""
11137 for ac_header in alsa/asoundlib.h sys/asoundlib.h
11139 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11141 echo "$as_me:$LINENO: checking for $ac_header" >&5
11142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11144 echo $ECHO_N "(cached) $ECHO_C" >&6
11146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11148 else
11149 # Is the header compilable?
11150 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11151 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11152 cat >conftest.$ac_ext <<_ACEOF
11153 /* confdefs.h. */
11154 _ACEOF
11155 cat confdefs.h >>conftest.$ac_ext
11156 cat >>conftest.$ac_ext <<_ACEOF
11157 /* end confdefs.h. */
11158 $ac_includes_default
11159 #include <$ac_header>
11160 _ACEOF
11161 rm -f conftest.$ac_objext
11162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11163 (eval $ac_compile) 2>conftest.er1
11164 ac_status=$?
11165 grep -v '^ *+' conftest.er1 >conftest.err
11166 rm -f conftest.er1
11167 cat conftest.err >&5
11168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169 (exit $ac_status); } &&
11170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11172 (eval $ac_try) 2>&5
11173 ac_status=$?
11174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175 (exit $ac_status); }; } &&
11176 { ac_try='test -s conftest.$ac_objext'
11177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11178 (eval $ac_try) 2>&5
11179 ac_status=$?
11180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11181 (exit $ac_status); }; }; then
11182 ac_header_compiler=yes
11183 else
11184 echo "$as_me: failed program was:" >&5
11185 sed 's/^/| /' conftest.$ac_ext >&5
11187 ac_header_compiler=no
11189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11191 echo "${ECHO_T}$ac_header_compiler" >&6
11193 # Is the header present?
11194 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11196 cat >conftest.$ac_ext <<_ACEOF
11197 /* confdefs.h. */
11198 _ACEOF
11199 cat confdefs.h >>conftest.$ac_ext
11200 cat >>conftest.$ac_ext <<_ACEOF
11201 /* end confdefs.h. */
11202 #include <$ac_header>
11203 _ACEOF
11204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11205 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11206 ac_status=$?
11207 grep -v '^ *+' conftest.er1 >conftest.err
11208 rm -f conftest.er1
11209 cat conftest.err >&5
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); } >/dev/null; then
11212 if test -s conftest.err; then
11213 ac_cpp_err=$ac_c_preproc_warn_flag
11214 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11215 else
11216 ac_cpp_err=
11218 else
11219 ac_cpp_err=yes
11221 if test -z "$ac_cpp_err"; then
11222 ac_header_preproc=yes
11223 else
11224 echo "$as_me: failed program was:" >&5
11225 sed 's/^/| /' conftest.$ac_ext >&5
11227 ac_header_preproc=no
11229 rm -f conftest.err conftest.$ac_ext
11230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11231 echo "${ECHO_T}$ac_header_preproc" >&6
11233 # So? What about this header?
11234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11235 yes:no: )
11236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11239 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11240 ac_header_preproc=yes
11242 no:yes:* )
11243 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11245 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11246 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11247 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11248 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11249 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11250 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11253 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11254 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11256 cat <<\_ASBOX
11257 ## ------------------------------------ ##
11258 ## Report this to wine-devel@winehq.org ##
11259 ## ------------------------------------ ##
11260 _ASBOX
11262 sed "s/^/$as_me: WARNING: /" >&2
11264 esac
11265 echo "$as_me:$LINENO: checking for $ac_header" >&5
11266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11268 echo $ECHO_N "(cached) $ECHO_C" >&6
11269 else
11270 eval "$as_ac_Header=\$ac_header_preproc"
11272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11277 cat >>confdefs.h <<_ACEOF
11278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11279 _ACEOF
11280 break
11283 done
11285 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11286 then
11287 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
11288 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
11289 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
11290 echo $ECHO_N "(cached) $ECHO_C" >&6
11291 else
11292 ac_check_lib_save_LIBS=$LIBS
11293 LIBS="-lasound $LIBS"
11294 cat >conftest.$ac_ext <<_ACEOF
11295 /* confdefs.h. */
11296 _ACEOF
11297 cat confdefs.h >>conftest.$ac_ext
11298 cat >>conftest.$ac_ext <<_ACEOF
11299 /* end confdefs.h. */
11301 /* Override any gcc2 internal prototype to avoid an error. */
11302 #ifdef __cplusplus
11303 extern "C"
11304 #endif
11305 /* We use char because int might match the return type of a gcc2
11306 builtin and then its argument prototype would still apply. */
11307 char snd_pcm_open ();
11309 main ()
11311 snd_pcm_open ();
11313 return 0;
11315 _ACEOF
11316 rm -f conftest.$ac_objext conftest$ac_exeext
11317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11318 (eval $ac_link) 2>conftest.er1
11319 ac_status=$?
11320 grep -v '^ *+' conftest.er1 >conftest.err
11321 rm -f conftest.er1
11322 cat conftest.err >&5
11323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11324 (exit $ac_status); } &&
11325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11327 (eval $ac_try) 2>&5
11328 ac_status=$?
11329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330 (exit $ac_status); }; } &&
11331 { ac_try='test -s conftest$ac_exeext'
11332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11333 (eval $ac_try) 2>&5
11334 ac_status=$?
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); }; }; then
11337 ac_cv_lib_asound_snd_pcm_open=yes
11338 else
11339 echo "$as_me: failed program was:" >&5
11340 sed 's/^/| /' conftest.$ac_ext >&5
11342 ac_cv_lib_asound_snd_pcm_open=no
11344 rm -f conftest.err conftest.$ac_objext \
11345 conftest$ac_exeext conftest.$ac_ext
11346 LIBS=$ac_check_lib_save_LIBS
11348 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
11349 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
11350 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
11352 cat >>confdefs.h <<\_ACEOF
11353 #define HAVE_ALSA 1
11354 _ACEOF
11356 ALSALIBS="-lasound"
11362 AUDIOIOLIBS=""
11365 for ac_header in libaudioio.h
11367 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11369 echo "$as_me:$LINENO: checking for $ac_header" >&5
11370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11372 echo $ECHO_N "(cached) $ECHO_C" >&6
11374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11376 else
11377 # Is the header compilable?
11378 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11379 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11380 cat >conftest.$ac_ext <<_ACEOF
11381 /* confdefs.h. */
11382 _ACEOF
11383 cat confdefs.h >>conftest.$ac_ext
11384 cat >>conftest.$ac_ext <<_ACEOF
11385 /* end confdefs.h. */
11386 $ac_includes_default
11387 #include <$ac_header>
11388 _ACEOF
11389 rm -f conftest.$ac_objext
11390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11391 (eval $ac_compile) 2>conftest.er1
11392 ac_status=$?
11393 grep -v '^ *+' conftest.er1 >conftest.err
11394 rm -f conftest.er1
11395 cat conftest.err >&5
11396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11397 (exit $ac_status); } &&
11398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11400 (eval $ac_try) 2>&5
11401 ac_status=$?
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); }; } &&
11404 { ac_try='test -s conftest.$ac_objext'
11405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11406 (eval $ac_try) 2>&5
11407 ac_status=$?
11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); }; }; then
11410 ac_header_compiler=yes
11411 else
11412 echo "$as_me: failed program was:" >&5
11413 sed 's/^/| /' conftest.$ac_ext >&5
11415 ac_header_compiler=no
11417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11418 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11419 echo "${ECHO_T}$ac_header_compiler" >&6
11421 # Is the header present?
11422 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11423 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11424 cat >conftest.$ac_ext <<_ACEOF
11425 /* confdefs.h. */
11426 _ACEOF
11427 cat confdefs.h >>conftest.$ac_ext
11428 cat >>conftest.$ac_ext <<_ACEOF
11429 /* end confdefs.h. */
11430 #include <$ac_header>
11431 _ACEOF
11432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11433 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11434 ac_status=$?
11435 grep -v '^ *+' conftest.er1 >conftest.err
11436 rm -f conftest.er1
11437 cat conftest.err >&5
11438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11439 (exit $ac_status); } >/dev/null; then
11440 if test -s conftest.err; then
11441 ac_cpp_err=$ac_c_preproc_warn_flag
11442 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11443 else
11444 ac_cpp_err=
11446 else
11447 ac_cpp_err=yes
11449 if test -z "$ac_cpp_err"; then
11450 ac_header_preproc=yes
11451 else
11452 echo "$as_me: failed program was:" >&5
11453 sed 's/^/| /' conftest.$ac_ext >&5
11455 ac_header_preproc=no
11457 rm -f conftest.err conftest.$ac_ext
11458 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11459 echo "${ECHO_T}$ac_header_preproc" >&6
11461 # So? What about this header?
11462 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11463 yes:no: )
11464 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11465 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11467 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11468 ac_header_preproc=yes
11470 no:yes:* )
11471 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11472 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11473 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11474 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11475 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11476 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11477 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11478 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11480 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11481 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11482 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11484 cat <<\_ASBOX
11485 ## ------------------------------------ ##
11486 ## Report this to wine-devel@winehq.org ##
11487 ## ------------------------------------ ##
11488 _ASBOX
11490 sed "s/^/$as_me: WARNING: /" >&2
11492 esac
11493 echo "$as_me:$LINENO: checking for $ac_header" >&5
11494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11496 echo $ECHO_N "(cached) $ECHO_C" >&6
11497 else
11498 eval "$as_ac_Header=\$ac_header_preproc"
11500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11504 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11505 cat >>confdefs.h <<_ACEOF
11506 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11507 _ACEOF
11508 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
11509 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
11510 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
11511 echo $ECHO_N "(cached) $ECHO_C" >&6
11512 else
11513 ac_check_lib_save_LIBS=$LIBS
11514 LIBS="-laudioio $LIBS"
11515 cat >conftest.$ac_ext <<_ACEOF
11516 /* confdefs.h. */
11517 _ACEOF
11518 cat confdefs.h >>conftest.$ac_ext
11519 cat >>conftest.$ac_ext <<_ACEOF
11520 /* end confdefs.h. */
11522 /* Override any gcc2 internal prototype to avoid an error. */
11523 #ifdef __cplusplus
11524 extern "C"
11525 #endif
11526 /* We use char because int might match the return type of a gcc2
11527 builtin and then its argument prototype would still apply. */
11528 char AudioIOGetVersion ();
11530 main ()
11532 AudioIOGetVersion ();
11534 return 0;
11536 _ACEOF
11537 rm -f conftest.$ac_objext conftest$ac_exeext
11538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11539 (eval $ac_link) 2>conftest.er1
11540 ac_status=$?
11541 grep -v '^ *+' conftest.er1 >conftest.err
11542 rm -f conftest.er1
11543 cat conftest.err >&5
11544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545 (exit $ac_status); } &&
11546 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11548 (eval $ac_try) 2>&5
11549 ac_status=$?
11550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); }; } &&
11552 { ac_try='test -s conftest$ac_exeext'
11553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11554 (eval $ac_try) 2>&5
11555 ac_status=$?
11556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557 (exit $ac_status); }; }; then
11558 ac_cv_lib_audioio_AudioIOGetVersion=yes
11559 else
11560 echo "$as_me: failed program was:" >&5
11561 sed 's/^/| /' conftest.$ac_ext >&5
11563 ac_cv_lib_audioio_AudioIOGetVersion=no
11565 rm -f conftest.err conftest.$ac_objext \
11566 conftest$ac_exeext conftest.$ac_ext
11567 LIBS=$ac_check_lib_save_LIBS
11569 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
11570 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
11571 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
11572 AUDIOIOLIBS="-laudioio"
11574 cat >>confdefs.h <<\_ACEOF
11575 #define HAVE_LIBAUDIOIO 1
11576 _ACEOF
11582 done
11587 for ac_header in capi20.h
11589 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11591 echo "$as_me:$LINENO: checking for $ac_header" >&5
11592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11594 echo $ECHO_N "(cached) $ECHO_C" >&6
11596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11597 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11598 else
11599 # Is the header compilable?
11600 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11601 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11602 cat >conftest.$ac_ext <<_ACEOF
11603 /* confdefs.h. */
11604 _ACEOF
11605 cat confdefs.h >>conftest.$ac_ext
11606 cat >>conftest.$ac_ext <<_ACEOF
11607 /* end confdefs.h. */
11608 $ac_includes_default
11609 #include <$ac_header>
11610 _ACEOF
11611 rm -f conftest.$ac_objext
11612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11613 (eval $ac_compile) 2>conftest.er1
11614 ac_status=$?
11615 grep -v '^ *+' conftest.er1 >conftest.err
11616 rm -f conftest.er1
11617 cat conftest.err >&5
11618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11619 (exit $ac_status); } &&
11620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11622 (eval $ac_try) 2>&5
11623 ac_status=$?
11624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625 (exit $ac_status); }; } &&
11626 { ac_try='test -s conftest.$ac_objext'
11627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11628 (eval $ac_try) 2>&5
11629 ac_status=$?
11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631 (exit $ac_status); }; }; then
11632 ac_header_compiler=yes
11633 else
11634 echo "$as_me: failed program was:" >&5
11635 sed 's/^/| /' conftest.$ac_ext >&5
11637 ac_header_compiler=no
11639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11640 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11641 echo "${ECHO_T}$ac_header_compiler" >&6
11643 # Is the header present?
11644 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11645 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11646 cat >conftest.$ac_ext <<_ACEOF
11647 /* confdefs.h. */
11648 _ACEOF
11649 cat confdefs.h >>conftest.$ac_ext
11650 cat >>conftest.$ac_ext <<_ACEOF
11651 /* end confdefs.h. */
11652 #include <$ac_header>
11653 _ACEOF
11654 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11655 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11656 ac_status=$?
11657 grep -v '^ *+' conftest.er1 >conftest.err
11658 rm -f conftest.er1
11659 cat conftest.err >&5
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); } >/dev/null; then
11662 if test -s conftest.err; then
11663 ac_cpp_err=$ac_c_preproc_warn_flag
11664 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11665 else
11666 ac_cpp_err=
11668 else
11669 ac_cpp_err=yes
11671 if test -z "$ac_cpp_err"; then
11672 ac_header_preproc=yes
11673 else
11674 echo "$as_me: failed program was:" >&5
11675 sed 's/^/| /' conftest.$ac_ext >&5
11677 ac_header_preproc=no
11679 rm -f conftest.err conftest.$ac_ext
11680 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11681 echo "${ECHO_T}$ac_header_preproc" >&6
11683 # So? What about this header?
11684 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11685 yes:no: )
11686 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11687 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11689 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11690 ac_header_preproc=yes
11692 no:yes:* )
11693 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11694 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11695 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11696 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11697 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11698 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11699 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11700 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11701 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11702 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11703 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11704 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11706 cat <<\_ASBOX
11707 ## ------------------------------------ ##
11708 ## Report this to wine-devel@winehq.org ##
11709 ## ------------------------------------ ##
11710 _ASBOX
11712 sed "s/^/$as_me: WARNING: /" >&2
11714 esac
11715 echo "$as_me:$LINENO: checking for $ac_header" >&5
11716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11718 echo $ECHO_N "(cached) $ECHO_C" >&6
11719 else
11720 eval "$as_ac_Header=\$ac_header_preproc"
11722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11723 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11727 cat >>confdefs.h <<_ACEOF
11728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11729 _ACEOF
11732 for ac_header in linux/capi.h
11734 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11736 echo "$as_me:$LINENO: checking for $ac_header" >&5
11737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11739 echo $ECHO_N "(cached) $ECHO_C" >&6
11741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11742 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11743 else
11744 # Is the header compilable?
11745 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11746 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11747 cat >conftest.$ac_ext <<_ACEOF
11748 /* confdefs.h. */
11749 _ACEOF
11750 cat confdefs.h >>conftest.$ac_ext
11751 cat >>conftest.$ac_ext <<_ACEOF
11752 /* end confdefs.h. */
11753 $ac_includes_default
11754 #include <$ac_header>
11755 _ACEOF
11756 rm -f conftest.$ac_objext
11757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11758 (eval $ac_compile) 2>conftest.er1
11759 ac_status=$?
11760 grep -v '^ *+' conftest.er1 >conftest.err
11761 rm -f conftest.er1
11762 cat conftest.err >&5
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); } &&
11765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11767 (eval $ac_try) 2>&5
11768 ac_status=$?
11769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770 (exit $ac_status); }; } &&
11771 { ac_try='test -s conftest.$ac_objext'
11772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11773 (eval $ac_try) 2>&5
11774 ac_status=$?
11775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11776 (exit $ac_status); }; }; then
11777 ac_header_compiler=yes
11778 else
11779 echo "$as_me: failed program was:" >&5
11780 sed 's/^/| /' conftest.$ac_ext >&5
11782 ac_header_compiler=no
11784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11785 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11786 echo "${ECHO_T}$ac_header_compiler" >&6
11788 # Is the header present?
11789 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11790 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11791 cat >conftest.$ac_ext <<_ACEOF
11792 /* confdefs.h. */
11793 _ACEOF
11794 cat confdefs.h >>conftest.$ac_ext
11795 cat >>conftest.$ac_ext <<_ACEOF
11796 /* end confdefs.h. */
11797 #include <$ac_header>
11798 _ACEOF
11799 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11800 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11801 ac_status=$?
11802 grep -v '^ *+' conftest.er1 >conftest.err
11803 rm -f conftest.er1
11804 cat conftest.err >&5
11805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806 (exit $ac_status); } >/dev/null; then
11807 if test -s conftest.err; then
11808 ac_cpp_err=$ac_c_preproc_warn_flag
11809 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11810 else
11811 ac_cpp_err=
11813 else
11814 ac_cpp_err=yes
11816 if test -z "$ac_cpp_err"; then
11817 ac_header_preproc=yes
11818 else
11819 echo "$as_me: failed program was:" >&5
11820 sed 's/^/| /' conftest.$ac_ext >&5
11822 ac_header_preproc=no
11824 rm -f conftest.err conftest.$ac_ext
11825 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11826 echo "${ECHO_T}$ac_header_preproc" >&6
11828 # So? What about this header?
11829 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11830 yes:no: )
11831 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11832 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11833 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11834 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11835 ac_header_preproc=yes
11837 no:yes:* )
11838 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11839 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11840 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11841 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11842 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11843 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11844 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11845 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11846 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11847 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11848 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11849 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11851 cat <<\_ASBOX
11852 ## ------------------------------------ ##
11853 ## Report this to wine-devel@winehq.org ##
11854 ## ------------------------------------ ##
11855 _ASBOX
11857 sed "s/^/$as_me: WARNING: /" >&2
11859 esac
11860 echo "$as_me:$LINENO: checking for $ac_header" >&5
11861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11863 echo $ECHO_N "(cached) $ECHO_C" >&6
11864 else
11865 eval "$as_ac_Header=\$ac_header_preproc"
11867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11868 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11871 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11872 cat >>confdefs.h <<_ACEOF
11873 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11874 _ACEOF
11876 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
11877 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
11878 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
11879 echo $ECHO_N "(cached) $ECHO_C" >&6
11880 else
11881 ac_check_lib_save_LIBS=$LIBS
11882 LIBS="-lcapi20 $LIBS"
11883 cat >conftest.$ac_ext <<_ACEOF
11884 /* confdefs.h. */
11885 _ACEOF
11886 cat confdefs.h >>conftest.$ac_ext
11887 cat >>conftest.$ac_ext <<_ACEOF
11888 /* end confdefs.h. */
11890 /* Override any gcc2 internal prototype to avoid an error. */
11891 #ifdef __cplusplus
11892 extern "C"
11893 #endif
11894 /* We use char because int might match the return type of a gcc2
11895 builtin and then its argument prototype would still apply. */
11896 char capi20_register ();
11898 main ()
11900 capi20_register ();
11902 return 0;
11904 _ACEOF
11905 rm -f conftest.$ac_objext conftest$ac_exeext
11906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11907 (eval $ac_link) 2>conftest.er1
11908 ac_status=$?
11909 grep -v '^ *+' conftest.er1 >conftest.err
11910 rm -f conftest.er1
11911 cat conftest.err >&5
11912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913 (exit $ac_status); } &&
11914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11916 (eval $ac_try) 2>&5
11917 ac_status=$?
11918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919 (exit $ac_status); }; } &&
11920 { ac_try='test -s conftest$ac_exeext'
11921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11922 (eval $ac_try) 2>&5
11923 ac_status=$?
11924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 (exit $ac_status); }; }; then
11926 ac_cv_lib_capi20_capi20_register=yes
11927 else
11928 echo "$as_me: failed program was:" >&5
11929 sed 's/^/| /' conftest.$ac_ext >&5
11931 ac_cv_lib_capi20_capi20_register=no
11933 rm -f conftest.err conftest.$ac_objext \
11934 conftest$ac_exeext conftest.$ac_ext
11935 LIBS=$ac_check_lib_save_LIBS
11937 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
11938 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
11939 if test $ac_cv_lib_capi20_capi20_register = yes; then
11942 cat >>confdefs.h <<\_ACEOF
11943 #define HAVE_CAPI4LINUX 1
11944 _ACEOF
11946 CAPI4LINUXLIBS="-lcapi20"
11954 done
11959 done
11963 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
11964 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
11965 if test "${ac_cv_mmap64_works+set}" = set; then
11966 echo $ECHO_N "(cached) $ECHO_C" >&6
11967 else
11968 if test "$cross_compiling" = yes; then
11969 ac_cv_mmap64_works="no"
11970 else
11971 cat >conftest.$ac_ext <<_ACEOF
11972 /* confdefs.h. */
11973 _ACEOF
11974 cat confdefs.h >>conftest.$ac_ext
11975 cat >>conftest.$ac_ext <<_ACEOF
11976 /* end confdefs.h. */
11978 #define _FILE_OFFSET_BITS 64
11979 #include <stdio.h>
11980 #include <unistd.h>
11981 #include <fcntl.h>
11982 #include <sys/mman.h>
11983 #include <errno.h>
11985 int main(int argc,char **argv) {
11986 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
11987 if (fd == -1) exit(1);
11989 unlink("conftest.map");
11991 write(fd,"test",4);
11993 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
11994 (errno == EINVAL)
11996 exit(1);
11998 close(fd);
11999 fprintf(stderr,"success!\n");
12000 exit(0);
12004 _ACEOF
12005 rm -f conftest$ac_exeext
12006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12007 (eval $ac_link) 2>&5
12008 ac_status=$?
12009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12010 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12012 (eval $ac_try) 2>&5
12013 ac_status=$?
12014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12015 (exit $ac_status); }; }; then
12016 ac_cv_mmap64_works="yes"
12017 else
12018 echo "$as_me: program exited with status $ac_status" >&5
12019 echo "$as_me: failed program was:" >&5
12020 sed 's/^/| /' conftest.$ac_ext >&5
12022 ( exit $ac_status )
12023 ac_cv_mmap64_works="no"
12025 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12028 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12029 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12031 if test "$ac_cv_mmap64_works" = "yes"
12032 then
12034 cat >>confdefs.h <<\_ACEOF
12035 #define _FILE_OFFSET_BITS 64
12036 _ACEOF
12041 EXTRACFLAGS=""
12043 if test "x${GCC}" = "xyes"
12044 then
12045 EXTRACFLAGS="-Wall -pipe"
12047 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12048 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12049 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12050 echo $ECHO_N "(cached) $ECHO_C" >&6
12051 else
12052 if test "$cross_compiling" = yes; then
12053 ac_cv_c_gcc_strength_bug="yes"
12054 else
12055 cat >conftest.$ac_ext <<_ACEOF
12056 /* confdefs.h. */
12057 _ACEOF
12058 cat confdefs.h >>conftest.$ac_ext
12059 cat >>conftest.$ac_ext <<_ACEOF
12060 /* end confdefs.h. */
12062 int L[4] = {0,1,2,3};
12063 int main(void) {
12064 static int Array[3];
12065 unsigned int B = 3;
12066 int i;
12067 for(i=0; i<B; i++) Array[i] = i - 3;
12068 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12069 L[i] = 4;
12071 exit( Array[1] != -2 || L[2] != 3);
12073 _ACEOF
12074 rm -f conftest$ac_exeext
12075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12076 (eval $ac_link) 2>&5
12077 ac_status=$?
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12081 (eval $ac_try) 2>&5
12082 ac_status=$?
12083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12084 (exit $ac_status); }; }; then
12085 ac_cv_c_gcc_strength_bug="no"
12086 else
12087 echo "$as_me: program exited with status $ac_status" >&5
12088 echo "$as_me: failed program was:" >&5
12089 sed 's/^/| /' conftest.$ac_ext >&5
12091 ( exit $ac_status )
12092 ac_cv_c_gcc_strength_bug="yes"
12094 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12097 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12098 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12099 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12100 then
12101 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12104 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12105 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12106 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12107 echo $ECHO_N "(cached) $ECHO_C" >&6
12108 else
12109 ac_wine_try_cflags_saved=$CFLAGS
12110 CFLAGS="$CFLAGS -fshort-wchar"
12111 cat >conftest.$ac_ext <<_ACEOF
12112 /* confdefs.h. */
12113 _ACEOF
12114 cat confdefs.h >>conftest.$ac_ext
12115 cat >>conftest.$ac_ext <<_ACEOF
12116 /* end confdefs.h. */
12119 main ()
12123 return 0;
12125 _ACEOF
12126 rm -f conftest.$ac_objext conftest$ac_exeext
12127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12128 (eval $ac_link) 2>conftest.er1
12129 ac_status=$?
12130 grep -v '^ *+' conftest.er1 >conftest.err
12131 rm -f conftest.er1
12132 cat conftest.err >&5
12133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134 (exit $ac_status); } &&
12135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12137 (eval $ac_try) 2>&5
12138 ac_status=$?
12139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12140 (exit $ac_status); }; } &&
12141 { ac_try='test -s conftest$ac_exeext'
12142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12143 (eval $ac_try) 2>&5
12144 ac_status=$?
12145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12146 (exit $ac_status); }; }; then
12147 ac_cv_c_gcc_fshort_wchar="yes"
12148 else
12149 echo "$as_me: failed program was:" >&5
12150 sed 's/^/| /' conftest.$ac_ext >&5
12152 ac_cv_c_gcc_fshort_wchar="no"
12154 rm -f conftest.err conftest.$ac_objext \
12155 conftest$ac_exeext conftest.$ac_ext
12156 CFLAGS=$ac_wine_try_cflags_saved
12158 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12159 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12160 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12161 then
12163 cat >>confdefs.h <<\_ACEOF
12164 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12165 _ACEOF
12169 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12170 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12171 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12172 echo $ECHO_N "(cached) $ECHO_C" >&6
12173 else
12174 ac_wine_try_cflags_saved=$CFLAGS
12175 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
12176 cat >conftest.$ac_ext <<_ACEOF
12177 /* confdefs.h. */
12178 _ACEOF
12179 cat confdefs.h >>conftest.$ac_ext
12180 cat >>conftest.$ac_ext <<_ACEOF
12181 /* end confdefs.h. */
12184 main ()
12188 return 0;
12190 _ACEOF
12191 rm -f conftest.$ac_objext conftest$ac_exeext
12192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12193 (eval $ac_link) 2>conftest.er1
12194 ac_status=$?
12195 grep -v '^ *+' conftest.er1 >conftest.err
12196 rm -f conftest.er1
12197 cat conftest.err >&5
12198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12199 (exit $ac_status); } &&
12200 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12202 (eval $ac_try) 2>&5
12203 ac_status=$?
12204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12205 (exit $ac_status); }; } &&
12206 { ac_try='test -s conftest$ac_exeext'
12207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12208 (eval $ac_try) 2>&5
12209 ac_status=$?
12210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12211 (exit $ac_status); }; }; then
12212 ac_cv_c_gcc_stack_boundary="yes"
12213 else
12214 echo "$as_me: failed program was:" >&5
12215 sed 's/^/| /' conftest.$ac_ext >&5
12217 ac_cv_c_gcc_stack_boundary="no"
12219 rm -f conftest.err conftest.$ac_objext \
12220 conftest$ac_exeext conftest.$ac_ext
12221 CFLAGS=$ac_wine_try_cflags_saved
12223 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12224 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12225 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12226 then
12227 EXTRACFLAGS="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12230 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12231 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12232 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12233 echo $ECHO_N "(cached) $ECHO_C" >&6
12234 else
12235 ac_wine_try_cflags_saved=$CFLAGS
12236 CFLAGS="$CFLAGS -fno-strict-aliasing"
12237 cat >conftest.$ac_ext <<_ACEOF
12238 /* confdefs.h. */
12239 _ACEOF
12240 cat confdefs.h >>conftest.$ac_ext
12241 cat >>conftest.$ac_ext <<_ACEOF
12242 /* end confdefs.h. */
12245 main ()
12249 return 0;
12251 _ACEOF
12252 rm -f conftest.$ac_objext conftest$ac_exeext
12253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12254 (eval $ac_link) 2>conftest.er1
12255 ac_status=$?
12256 grep -v '^ *+' conftest.er1 >conftest.err
12257 rm -f conftest.er1
12258 cat conftest.err >&5
12259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12260 (exit $ac_status); } &&
12261 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12263 (eval $ac_try) 2>&5
12264 ac_status=$?
12265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12266 (exit $ac_status); }; } &&
12267 { ac_try='test -s conftest$ac_exeext'
12268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12269 (eval $ac_try) 2>&5
12270 ac_status=$?
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); }; }; then
12273 ac_cv_c_gcc_no_strict_aliasing="yes"
12274 else
12275 echo "$as_me: failed program was:" >&5
12276 sed 's/^/| /' conftest.$ac_ext >&5
12278 ac_cv_c_gcc_no_strict_aliasing="no"
12280 rm -f conftest.err conftest.$ac_objext \
12281 conftest$ac_exeext conftest.$ac_ext
12282 CFLAGS=$ac_wine_try_cflags_saved
12284 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12285 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12286 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12287 then
12288 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12291 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12292 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12293 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12294 echo $ECHO_N "(cached) $ECHO_C" >&6
12295 else
12296 ac_wine_try_cflags_saved=$CFLAGS
12297 CFLAGS="$CFLAGS -gstabs+"
12298 cat >conftest.$ac_ext <<_ACEOF
12299 /* confdefs.h. */
12300 _ACEOF
12301 cat confdefs.h >>conftest.$ac_ext
12302 cat >>conftest.$ac_ext <<_ACEOF
12303 /* end confdefs.h. */
12306 main ()
12310 return 0;
12312 _ACEOF
12313 rm -f conftest.$ac_objext conftest$ac_exeext
12314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12315 (eval $ac_link) 2>conftest.er1
12316 ac_status=$?
12317 grep -v '^ *+' conftest.er1 >conftest.err
12318 rm -f conftest.er1
12319 cat conftest.err >&5
12320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12321 (exit $ac_status); } &&
12322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12324 (eval $ac_try) 2>&5
12325 ac_status=$?
12326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12327 (exit $ac_status); }; } &&
12328 { ac_try='test -s conftest$ac_exeext'
12329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12330 (eval $ac_try) 2>&5
12331 ac_status=$?
12332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333 (exit $ac_status); }; }; then
12334 ac_cv_c_gcc_gstabs="yes"
12335 else
12336 echo "$as_me: failed program was:" >&5
12337 sed 's/^/| /' conftest.$ac_ext >&5
12339 ac_cv_c_gcc_gstabs="no"
12341 rm -f conftest.err conftest.$ac_objext \
12342 conftest$ac_exeext conftest.$ac_ext
12343 CFLAGS=$ac_wine_try_cflags_saved
12345 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12346 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12347 if test "$ac_cv_c_gcc_gstabs" = "yes"
12348 then
12349 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
12352 saved_CFLAGS="$CFLAGS"
12353 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12354 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12355 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12356 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12357 echo $ECHO_N "(cached) $ECHO_C" >&6
12358 else
12359 cat >conftest.$ac_ext <<_ACEOF
12360 /* confdefs.h. */
12361 _ACEOF
12362 cat confdefs.h >>conftest.$ac_ext
12363 cat >>conftest.$ac_ext <<_ACEOF
12364 /* end confdefs.h. */
12365 #include <string.h>
12367 main ()
12371 return 0;
12373 _ACEOF
12374 rm -f conftest.$ac_objext
12375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12376 (eval $ac_compile) 2>conftest.er1
12377 ac_status=$?
12378 grep -v '^ *+' conftest.er1 >conftest.err
12379 rm -f conftest.er1
12380 cat conftest.err >&5
12381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12382 (exit $ac_status); } &&
12383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12385 (eval $ac_try) 2>&5
12386 ac_status=$?
12387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12388 (exit $ac_status); }; } &&
12389 { ac_try='test -s conftest.$ac_objext'
12390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12391 (eval $ac_try) 2>&5
12392 ac_status=$?
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); }; }; then
12395 ac_cv_c_string_h_warnings=no
12396 else
12397 echo "$as_me: failed program was:" >&5
12398 sed 's/^/| /' conftest.$ac_ext >&5
12400 ac_cv_c_string_h_warnings=yes
12402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12404 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12405 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12406 CFLAGS="$saved_CFLAGS"
12407 if test "$ac_cv_c_string_h_warnings" = "no"
12408 then
12409 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12414 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12415 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12416 if test "${ac_cv_asm_func_def+set}" = set; then
12417 echo $ECHO_N "(cached) $ECHO_C" >&6
12418 else
12419 cat >conftest.$ac_ext <<_ACEOF
12420 /* confdefs.h. */
12421 _ACEOF
12422 cat confdefs.h >>conftest.$ac_ext
12423 cat >>conftest.$ac_ext <<_ACEOF
12424 /* end confdefs.h. */
12425 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"); }
12428 main ()
12432 return 0;
12434 _ACEOF
12435 rm -f conftest.$ac_objext conftest$ac_exeext
12436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12437 (eval $ac_link) 2>conftest.er1
12438 ac_status=$?
12439 grep -v '^ *+' conftest.er1 >conftest.err
12440 rm -f conftest.er1
12441 cat conftest.err >&5
12442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12443 (exit $ac_status); } &&
12444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12446 (eval $ac_try) 2>&5
12447 ac_status=$?
12448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12449 (exit $ac_status); }; } &&
12450 { ac_try='test -s conftest$ac_exeext'
12451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12452 (eval $ac_try) 2>&5
12453 ac_status=$?
12454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12455 (exit $ac_status); }; }; then
12456 ac_cv_asm_func_def=".def"
12457 else
12458 echo "$as_me: failed program was:" >&5
12459 sed 's/^/| /' conftest.$ac_ext >&5
12461 cat >conftest.$ac_ext <<_ACEOF
12462 /* confdefs.h. */
12463 _ACEOF
12464 cat confdefs.h >>conftest.$ac_ext
12465 cat >>conftest.$ac_ext <<_ACEOF
12466 /* end confdefs.h. */
12467 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12470 main ()
12474 return 0;
12476 _ACEOF
12477 rm -f conftest.$ac_objext conftest$ac_exeext
12478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12479 (eval $ac_link) 2>conftest.er1
12480 ac_status=$?
12481 grep -v '^ *+' conftest.er1 >conftest.err
12482 rm -f conftest.er1
12483 cat conftest.err >&5
12484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12485 (exit $ac_status); } &&
12486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12488 (eval $ac_try) 2>&5
12489 ac_status=$?
12490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12491 (exit $ac_status); }; } &&
12492 { ac_try='test -s conftest$ac_exeext'
12493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12494 (eval $ac_try) 2>&5
12495 ac_status=$?
12496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12497 (exit $ac_status); }; }; then
12498 ac_cv_asm_func_def=".type @function"
12499 else
12500 echo "$as_me: failed program was:" >&5
12501 sed 's/^/| /' conftest.$ac_ext >&5
12503 cat >conftest.$ac_ext <<_ACEOF
12504 /* confdefs.h. */
12505 _ACEOF
12506 cat confdefs.h >>conftest.$ac_ext
12507 cat >>conftest.$ac_ext <<_ACEOF
12508 /* end confdefs.h. */
12509 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12512 main ()
12516 return 0;
12518 _ACEOF
12519 rm -f conftest.$ac_objext conftest$ac_exeext
12520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12521 (eval $ac_link) 2>conftest.er1
12522 ac_status=$?
12523 grep -v '^ *+' conftest.er1 >conftest.err
12524 rm -f conftest.er1
12525 cat conftest.err >&5
12526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12527 (exit $ac_status); } &&
12528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12530 (eval $ac_try) 2>&5
12531 ac_status=$?
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); }; } &&
12534 { ac_try='test -s conftest$ac_exeext'
12535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12536 (eval $ac_try) 2>&5
12537 ac_status=$?
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); }; }; then
12540 ac_cv_asm_func_def=".type 2"
12541 else
12542 echo "$as_me: failed program was:" >&5
12543 sed 's/^/| /' conftest.$ac_ext >&5
12545 ac_cv_asm_func_def="unknown"
12547 rm -f conftest.err conftest.$ac_objext \
12548 conftest$ac_exeext conftest.$ac_ext
12550 rm -f conftest.err conftest.$ac_objext \
12551 conftest$ac_exeext conftest.$ac_ext
12553 rm -f conftest.err conftest.$ac_objext \
12554 conftest$ac_exeext conftest.$ac_ext
12556 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12557 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
12561 case "$ac_cv_asm_func_def" in
12562 ".def")
12563 cat >>confdefs.h <<\_ACEOF
12564 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12565 _ACEOF
12567 ".type @function")
12568 cat >>confdefs.h <<\_ACEOF
12569 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12570 _ACEOF
12572 ".type 2")
12573 cat >>confdefs.h <<\_ACEOF
12574 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12575 _ACEOF
12578 cat >>confdefs.h <<\_ACEOF
12579 #define __ASM_FUNC(name) ""
12580 _ACEOF
12582 esac
12585 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12586 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
12587 if test "${ac_cv_c_extern_prefix+set}" = set; then
12588 echo $ECHO_N "(cached) $ECHO_C" >&6
12589 else
12590 cat >conftest.$ac_ext <<_ACEOF
12591 /* confdefs.h. */
12592 _ACEOF
12593 cat confdefs.h >>conftest.$ac_ext
12594 cat >>conftest.$ac_ext <<_ACEOF
12595 /* end confdefs.h. */
12596 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12597 extern int ac_test;
12599 main ()
12601 if (ac_test) return 1
12603 return 0;
12605 _ACEOF
12606 rm -f conftest.$ac_objext conftest$ac_exeext
12607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12608 (eval $ac_link) 2>conftest.er1
12609 ac_status=$?
12610 grep -v '^ *+' conftest.er1 >conftest.err
12611 rm -f conftest.er1
12612 cat conftest.err >&5
12613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12614 (exit $ac_status); } &&
12615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12617 (eval $ac_try) 2>&5
12618 ac_status=$?
12619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620 (exit $ac_status); }; } &&
12621 { ac_try='test -s conftest$ac_exeext'
12622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12623 (eval $ac_try) 2>&5
12624 ac_status=$?
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); }; }; then
12627 ac_cv_c_extern_prefix="yes"
12628 else
12629 echo "$as_me: failed program was:" >&5
12630 sed 's/^/| /' conftest.$ac_ext >&5
12632 ac_cv_c_extern_prefix="no"
12634 rm -f conftest.err conftest.$ac_objext \
12635 conftest$ac_exeext conftest.$ac_ext
12637 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12638 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
12642 if test "$ac_cv_c_extern_prefix" = "yes"
12643 then
12644 cat >>confdefs.h <<\_ACEOF
12645 #define __ASM_NAME(name) "_" name
12646 _ACEOF
12648 else
12649 cat >>confdefs.h <<\_ACEOF
12650 #define __ASM_NAME(name) name
12651 _ACEOF
12656 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
12657 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
12658 if test "${ac_cv_c_asm_string+set}" = set; then
12659 echo $ECHO_N "(cached) $ECHO_C" >&6
12660 else
12661 cat >conftest.$ac_ext <<_ACEOF
12662 /* confdefs.h. */
12663 _ACEOF
12664 cat confdefs.h >>conftest.$ac_ext
12665 cat >>conftest.$ac_ext <<_ACEOF
12666 /* end confdefs.h. */
12667 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
12670 main ()
12674 return 0;
12676 _ACEOF
12677 rm -f conftest.$ac_objext conftest$ac_exeext
12678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12679 (eval $ac_link) 2>conftest.er1
12680 ac_status=$?
12681 grep -v '^ *+' conftest.er1 >conftest.err
12682 rm -f conftest.er1
12683 cat conftest.err >&5
12684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12685 (exit $ac_status); } &&
12686 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12688 (eval $ac_try) 2>&5
12689 ac_status=$?
12690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12691 (exit $ac_status); }; } &&
12692 { ac_try='test -s conftest$ac_exeext'
12693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12694 (eval $ac_try) 2>&5
12695 ac_status=$?
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); }; }; then
12698 ac_cv_c_asm_string=".string"
12699 else
12700 echo "$as_me: failed program was:" >&5
12701 sed 's/^/| /' conftest.$ac_ext >&5
12703 cat >conftest.$ac_ext <<_ACEOF
12704 /* confdefs.h. */
12705 _ACEOF
12706 cat confdefs.h >>conftest.$ac_ext
12707 cat >>conftest.$ac_ext <<_ACEOF
12708 /* end confdefs.h. */
12709 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
12712 main ()
12716 return 0;
12718 _ACEOF
12719 rm -f conftest.$ac_objext conftest$ac_exeext
12720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12721 (eval $ac_link) 2>conftest.er1
12722 ac_status=$?
12723 grep -v '^ *+' conftest.er1 >conftest.err
12724 rm -f conftest.er1
12725 cat conftest.err >&5
12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); } &&
12728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12730 (eval $ac_try) 2>&5
12731 ac_status=$?
12732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12733 (exit $ac_status); }; } &&
12734 { ac_try='test -s conftest$ac_exeext'
12735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12736 (eval $ac_try) 2>&5
12737 ac_status=$?
12738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739 (exit $ac_status); }; }; then
12740 ac_cv_c_asm_string=".asciz"
12741 else
12742 echo "$as_me: failed program was:" >&5
12743 sed 's/^/| /' conftest.$ac_ext >&5
12745 cat >conftest.$ac_ext <<_ACEOF
12746 /* confdefs.h. */
12747 _ACEOF
12748 cat confdefs.h >>conftest.$ac_ext
12749 cat >>conftest.$ac_ext <<_ACEOF
12750 /* end confdefs.h. */
12751 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
12754 main ()
12758 return 0;
12760 _ACEOF
12761 rm -f conftest.$ac_objext conftest$ac_exeext
12762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12763 (eval $ac_link) 2>conftest.er1
12764 ac_status=$?
12765 grep -v '^ *+' conftest.er1 >conftest.err
12766 rm -f conftest.er1
12767 cat conftest.err >&5
12768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); } &&
12770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12772 (eval $ac_try) 2>&5
12773 ac_status=$?
12774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12775 (exit $ac_status); }; } &&
12776 { ac_try='test -s conftest$ac_exeext'
12777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12778 (eval $ac_try) 2>&5
12779 ac_status=$?
12780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12781 (exit $ac_status); }; }; then
12782 ac_cv_c_asm_string=".ascii"
12783 else
12784 echo "$as_me: failed program was:" >&5
12785 sed 's/^/| /' conftest.$ac_ext >&5
12787 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
12788 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
12789 { (exit 1); exit 1; }; }
12791 rm -f conftest.err conftest.$ac_objext \
12792 conftest$ac_exeext conftest.$ac_ext
12794 rm -f conftest.err conftest.$ac_objext \
12795 conftest$ac_exeext conftest.$ac_ext
12797 rm -f conftest.err conftest.$ac_objext \
12798 conftest$ac_exeext conftest.$ac_ext
12800 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
12801 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
12804 cat >>confdefs.h <<_ACEOF
12805 #define __ASM_STRING "$ac_cv_c_asm_string"
12806 _ACEOF
12810 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
12811 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
12812 if test "${ac_cv_c_asm_short+set}" = set; then
12813 echo $ECHO_N "(cached) $ECHO_C" >&6
12814 else
12815 cat >conftest.$ac_ext <<_ACEOF
12816 /* confdefs.h. */
12817 _ACEOF
12818 cat confdefs.h >>conftest.$ac_ext
12819 cat >>conftest.$ac_ext <<_ACEOF
12820 /* end confdefs.h. */
12821 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
12824 main ()
12828 return 0;
12830 _ACEOF
12831 rm -f conftest.$ac_objext conftest$ac_exeext
12832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12833 (eval $ac_link) 2>conftest.er1
12834 ac_status=$?
12835 grep -v '^ *+' conftest.er1 >conftest.err
12836 rm -f conftest.er1
12837 cat conftest.err >&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); } &&
12840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12842 (eval $ac_try) 2>&5
12843 ac_status=$?
12844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12845 (exit $ac_status); }; } &&
12846 { ac_try='test -s conftest$ac_exeext'
12847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12848 (eval $ac_try) 2>&5
12849 ac_status=$?
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); }; }; then
12852 ac_cv_c_asm_short=".short"
12853 else
12854 echo "$as_me: failed program was:" >&5
12855 sed 's/^/| /' conftest.$ac_ext >&5
12857 cat >conftest.$ac_ext <<_ACEOF
12858 /* confdefs.h. */
12859 _ACEOF
12860 cat confdefs.h >>conftest.$ac_ext
12861 cat >>conftest.$ac_ext <<_ACEOF
12862 /* end confdefs.h. */
12863 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
12866 main ()
12870 return 0;
12872 _ACEOF
12873 rm -f conftest.$ac_objext conftest$ac_exeext
12874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12875 (eval $ac_link) 2>conftest.er1
12876 ac_status=$?
12877 grep -v '^ *+' conftest.er1 >conftest.err
12878 rm -f conftest.er1
12879 cat conftest.err >&5
12880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12881 (exit $ac_status); } &&
12882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12884 (eval $ac_try) 2>&5
12885 ac_status=$?
12886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12887 (exit $ac_status); }; } &&
12888 { ac_try='test -s conftest$ac_exeext'
12889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12890 (eval $ac_try) 2>&5
12891 ac_status=$?
12892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12893 (exit $ac_status); }; }; then
12894 ac_cv_c_asm_short=".half"
12895 else
12896 echo "$as_me: failed program was:" >&5
12897 sed 's/^/| /' conftest.$ac_ext >&5
12899 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
12900 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
12901 { (exit 1); exit 1; }; }
12903 rm -f conftest.err conftest.$ac_objext \
12904 conftest$ac_exeext conftest.$ac_ext
12906 rm -f conftest.err conftest.$ac_objext \
12907 conftest$ac_exeext conftest.$ac_ext
12909 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
12910 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
12913 cat >>confdefs.h <<_ACEOF
12914 #define __ASM_SHORT "$ac_cv_c_asm_short"
12915 _ACEOF
12919 echo "$as_me:$LINENO: checking for .size in assembler" >&5
12920 echo $ECHO_N "checking for .size in assembler... $ECHO_C" >&6
12921 if test "${ac_cv_c_asm_size+set}" = set; then
12922 echo $ECHO_N "(cached) $ECHO_C" >&6
12923 else
12924 cat >conftest.$ac_ext <<_ACEOF
12925 /* confdefs.h. */
12926 _ACEOF
12927 cat confdefs.h >>conftest.$ac_ext
12928 cat >>conftest.$ac_ext <<_ACEOF
12929 /* end confdefs.h. */
12930 void ac_asm(void) { asm(".globl _ac_test\n.size _ac_test, . - _ac_test"); }
12933 main ()
12937 return 0;
12939 _ACEOF
12940 rm -f conftest.$ac_objext conftest$ac_exeext
12941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12942 (eval $ac_link) 2>conftest.er1
12943 ac_status=$?
12944 grep -v '^ *+' conftest.er1 >conftest.err
12945 rm -f conftest.er1
12946 cat conftest.err >&5
12947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12948 (exit $ac_status); } &&
12949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12951 (eval $ac_try) 2>&5
12952 ac_status=$?
12953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12954 (exit $ac_status); }; } &&
12955 { ac_try='test -s conftest$ac_exeext'
12956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12957 (eval $ac_try) 2>&5
12958 ac_status=$?
12959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12960 (exit $ac_status); }; }; then
12961 ac_cv_c_asm_size="yes"
12962 else
12963 echo "$as_me: failed program was:" >&5
12964 sed 's/^/| /' conftest.$ac_ext >&5
12966 ac_cv_c_asm_size="no"
12968 rm -f conftest.err conftest.$ac_objext \
12969 conftest$ac_exeext conftest.$ac_ext
12971 echo "$as_me:$LINENO: result: $ac_cv_c_asm_size" >&5
12972 echo "${ECHO_T}$ac_cv_c_asm_size" >&6
12974 if test "$ac_cv_c_asm_size" = "yes"
12975 then
12977 cat >>confdefs.h <<\_ACEOF
12978 #define HAVE_ASM_DOT_SIZE 1
12979 _ACEOF
12984 DLLEXT=""
12986 DLLFLAGS="-D_REENTRANT"
12988 DLLIBS=""
12990 LDSHARED=""
12992 LDDLLFLAGS=""
12994 LIBEXT="so"
12996 IMPLIBEXT="def"
12999 case $host_os in
13000 cygwin*|mingw32*)
13001 if test -n "$ac_tool_prefix"; then
13002 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13003 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
13004 echo "$as_me:$LINENO: checking for $ac_word" >&5
13005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13006 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13007 echo $ECHO_N "(cached) $ECHO_C" >&6
13008 else
13009 if test -n "$DLLTOOL"; then
13010 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13011 else
13012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13013 for as_dir in $PATH
13015 IFS=$as_save_IFS
13016 test -z "$as_dir" && as_dir=.
13017 for ac_exec_ext in '' $ac_executable_extensions; do
13018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13019 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13021 break 2
13023 done
13024 done
13028 DLLTOOL=$ac_cv_prog_DLLTOOL
13029 if test -n "$DLLTOOL"; then
13030 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13031 echo "${ECHO_T}$DLLTOOL" >&6
13032 else
13033 echo "$as_me:$LINENO: result: no" >&5
13034 echo "${ECHO_T}no" >&6
13038 if test -z "$ac_cv_prog_DLLTOOL"; then
13039 ac_ct_DLLTOOL=$DLLTOOL
13040 # Extract the first word of "dlltool", so it can be a program name with args.
13041 set dummy dlltool; ac_word=$2
13042 echo "$as_me:$LINENO: checking for $ac_word" >&5
13043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13044 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13045 echo $ECHO_N "(cached) $ECHO_C" >&6
13046 else
13047 if test -n "$ac_ct_DLLTOOL"; then
13048 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13049 else
13050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13051 for as_dir in $PATH
13053 IFS=$as_save_IFS
13054 test -z "$as_dir" && as_dir=.
13055 for ac_exec_ext in '' $ac_executable_extensions; do
13056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13057 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13059 break 2
13061 done
13062 done
13064 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
13067 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13068 if test -n "$ac_ct_DLLTOOL"; then
13069 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13070 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13071 else
13072 echo "$as_me:$LINENO: result: no" >&5
13073 echo "${ECHO_T}no" >&6
13076 DLLTOOL=$ac_ct_DLLTOOL
13077 else
13078 DLLTOOL="$ac_cv_prog_DLLTOOL"
13081 if test -n "$ac_tool_prefix"; then
13082 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13083 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13084 echo "$as_me:$LINENO: checking for $ac_word" >&5
13085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13086 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13087 echo $ECHO_N "(cached) $ECHO_C" >&6
13088 else
13089 if test -n "$DLLWRAP"; then
13090 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13091 else
13092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13093 for as_dir in $PATH
13095 IFS=$as_save_IFS
13096 test -z "$as_dir" && as_dir=.
13097 for ac_exec_ext in '' $ac_executable_extensions; do
13098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13099 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13101 break 2
13103 done
13104 done
13108 DLLWRAP=$ac_cv_prog_DLLWRAP
13109 if test -n "$DLLWRAP"; then
13110 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13111 echo "${ECHO_T}$DLLWRAP" >&6
13112 else
13113 echo "$as_me:$LINENO: result: no" >&5
13114 echo "${ECHO_T}no" >&6
13118 if test -z "$ac_cv_prog_DLLWRAP"; then
13119 ac_ct_DLLWRAP=$DLLWRAP
13120 # Extract the first word of "dllwrap", so it can be a program name with args.
13121 set dummy dllwrap; ac_word=$2
13122 echo "$as_me:$LINENO: checking for $ac_word" >&5
13123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13124 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13125 echo $ECHO_N "(cached) $ECHO_C" >&6
13126 else
13127 if test -n "$ac_ct_DLLWRAP"; then
13128 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13129 else
13130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13131 for as_dir in $PATH
13133 IFS=$as_save_IFS
13134 test -z "$as_dir" && as_dir=.
13135 for ac_exec_ext in '' $ac_executable_extensions; do
13136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13137 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13139 break 2
13141 done
13142 done
13144 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
13147 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13148 if test -n "$ac_ct_DLLWRAP"; then
13149 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13150 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13151 else
13152 echo "$as_me:$LINENO: result: no" >&5
13153 echo "${ECHO_T}no" >&6
13156 DLLWRAP=$ac_ct_DLLWRAP
13157 else
13158 DLLWRAP="$ac_cv_prog_DLLWRAP"
13161 if test "$DLLWRAP" = "false"; then
13162 LIBEXT="a"
13163 else
13164 LIBEXT="dll"
13166 IMPLIBEXT="a"
13170 for ac_header in dlfcn.h
13172 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13174 echo "$as_me:$LINENO: checking for $ac_header" >&5
13175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13177 echo $ECHO_N "(cached) $ECHO_C" >&6
13179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13180 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13181 else
13182 # Is the header compilable?
13183 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13184 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13185 cat >conftest.$ac_ext <<_ACEOF
13186 /* confdefs.h. */
13187 _ACEOF
13188 cat confdefs.h >>conftest.$ac_ext
13189 cat >>conftest.$ac_ext <<_ACEOF
13190 /* end confdefs.h. */
13191 $ac_includes_default
13192 #include <$ac_header>
13193 _ACEOF
13194 rm -f conftest.$ac_objext
13195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13196 (eval $ac_compile) 2>conftest.er1
13197 ac_status=$?
13198 grep -v '^ *+' conftest.er1 >conftest.err
13199 rm -f conftest.er1
13200 cat conftest.err >&5
13201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13202 (exit $ac_status); } &&
13203 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13205 (eval $ac_try) 2>&5
13206 ac_status=$?
13207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 (exit $ac_status); }; } &&
13209 { ac_try='test -s conftest.$ac_objext'
13210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13211 (eval $ac_try) 2>&5
13212 ac_status=$?
13213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13214 (exit $ac_status); }; }; then
13215 ac_header_compiler=yes
13216 else
13217 echo "$as_me: failed program was:" >&5
13218 sed 's/^/| /' conftest.$ac_ext >&5
13220 ac_header_compiler=no
13222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13223 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13224 echo "${ECHO_T}$ac_header_compiler" >&6
13226 # Is the header present?
13227 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13228 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13229 cat >conftest.$ac_ext <<_ACEOF
13230 /* confdefs.h. */
13231 _ACEOF
13232 cat confdefs.h >>conftest.$ac_ext
13233 cat >>conftest.$ac_ext <<_ACEOF
13234 /* end confdefs.h. */
13235 #include <$ac_header>
13236 _ACEOF
13237 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13238 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13239 ac_status=$?
13240 grep -v '^ *+' conftest.er1 >conftest.err
13241 rm -f conftest.er1
13242 cat conftest.err >&5
13243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13244 (exit $ac_status); } >/dev/null; then
13245 if test -s conftest.err; then
13246 ac_cpp_err=$ac_c_preproc_warn_flag
13247 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13248 else
13249 ac_cpp_err=
13251 else
13252 ac_cpp_err=yes
13254 if test -z "$ac_cpp_err"; then
13255 ac_header_preproc=yes
13256 else
13257 echo "$as_me: failed program was:" >&5
13258 sed 's/^/| /' conftest.$ac_ext >&5
13260 ac_header_preproc=no
13262 rm -f conftest.err conftest.$ac_ext
13263 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13264 echo "${ECHO_T}$ac_header_preproc" >&6
13266 # So? What about this header?
13267 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13268 yes:no: )
13269 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13270 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13271 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13272 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13273 ac_header_preproc=yes
13275 no:yes:* )
13276 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13277 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13278 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13279 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13280 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13281 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13282 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13283 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13285 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13286 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13287 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13289 cat <<\_ASBOX
13290 ## ------------------------------------ ##
13291 ## Report this to wine-devel@winehq.org ##
13292 ## ------------------------------------ ##
13293 _ASBOX
13295 sed "s/^/$as_me: WARNING: /" >&2
13297 esac
13298 echo "$as_me:$LINENO: checking for $ac_header" >&5
13299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13301 echo $ECHO_N "(cached) $ECHO_C" >&6
13302 else
13303 eval "$as_ac_Header=\$ac_header_preproc"
13305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13306 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13309 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13310 cat >>confdefs.h <<_ACEOF
13311 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13312 _ACEOF
13314 for ac_func in dlopen
13316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13317 echo "$as_me:$LINENO: checking for $ac_func" >&5
13318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13319 if eval "test \"\${$as_ac_var+set}\" = set"; then
13320 echo $ECHO_N "(cached) $ECHO_C" >&6
13321 else
13322 cat >conftest.$ac_ext <<_ACEOF
13323 /* confdefs.h. */
13324 _ACEOF
13325 cat confdefs.h >>conftest.$ac_ext
13326 cat >>conftest.$ac_ext <<_ACEOF
13327 /* end confdefs.h. */
13328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13330 #define $ac_func innocuous_$ac_func
13332 /* System header to define __stub macros and hopefully few prototypes,
13333 which can conflict with char $ac_func (); below.
13334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13335 <limits.h> exists even on freestanding compilers. */
13337 #ifdef __STDC__
13338 # include <limits.h>
13339 #else
13340 # include <assert.h>
13341 #endif
13343 #undef $ac_func
13345 /* Override any gcc2 internal prototype to avoid an error. */
13346 #ifdef __cplusplus
13347 extern "C"
13349 #endif
13350 /* We use char because int might match the return type of a gcc2
13351 builtin and then its argument prototype would still apply. */
13352 char $ac_func ();
13353 /* The GNU C library defines this for functions which it implements
13354 to always fail with ENOSYS. Some functions are actually named
13355 something starting with __ and the normal name is an alias. */
13356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13357 choke me
13358 #else
13359 char (*f) () = $ac_func;
13360 #endif
13361 #ifdef __cplusplus
13363 #endif
13366 main ()
13368 return f != $ac_func;
13370 return 0;
13372 _ACEOF
13373 rm -f conftest.$ac_objext conftest$ac_exeext
13374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13375 (eval $ac_link) 2>conftest.er1
13376 ac_status=$?
13377 grep -v '^ *+' conftest.er1 >conftest.err
13378 rm -f conftest.er1
13379 cat conftest.err >&5
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); } &&
13382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13384 (eval $ac_try) 2>&5
13385 ac_status=$?
13386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13387 (exit $ac_status); }; } &&
13388 { ac_try='test -s conftest$ac_exeext'
13389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13390 (eval $ac_try) 2>&5
13391 ac_status=$?
13392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13393 (exit $ac_status); }; }; then
13394 eval "$as_ac_var=yes"
13395 else
13396 echo "$as_me: failed program was:" >&5
13397 sed 's/^/| /' conftest.$ac_ext >&5
13399 eval "$as_ac_var=no"
13401 rm -f conftest.err conftest.$ac_objext \
13402 conftest$ac_exeext conftest.$ac_ext
13404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13406 if test `eval echo '${'$as_ac_var'}'` = yes; then
13407 cat >>confdefs.h <<_ACEOF
13408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13409 _ACEOF
13411 else
13412 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13413 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13414 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13415 echo $ECHO_N "(cached) $ECHO_C" >&6
13416 else
13417 ac_check_lib_save_LIBS=$LIBS
13418 LIBS="-ldl $LIBS"
13419 cat >conftest.$ac_ext <<_ACEOF
13420 /* confdefs.h. */
13421 _ACEOF
13422 cat confdefs.h >>conftest.$ac_ext
13423 cat >>conftest.$ac_ext <<_ACEOF
13424 /* end confdefs.h. */
13426 /* Override any gcc2 internal prototype to avoid an error. */
13427 #ifdef __cplusplus
13428 extern "C"
13429 #endif
13430 /* We use char because int might match the return type of a gcc2
13431 builtin and then its argument prototype would still apply. */
13432 char dlopen ();
13434 main ()
13436 dlopen ();
13438 return 0;
13440 _ACEOF
13441 rm -f conftest.$ac_objext conftest$ac_exeext
13442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13443 (eval $ac_link) 2>conftest.er1
13444 ac_status=$?
13445 grep -v '^ *+' conftest.er1 >conftest.err
13446 rm -f conftest.er1
13447 cat conftest.err >&5
13448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 (exit $ac_status); } &&
13450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13452 (eval $ac_try) 2>&5
13453 ac_status=$?
13454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455 (exit $ac_status); }; } &&
13456 { ac_try='test -s conftest$ac_exeext'
13457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13458 (eval $ac_try) 2>&5
13459 ac_status=$?
13460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461 (exit $ac_status); }; }; then
13462 ac_cv_lib_dl_dlopen=yes
13463 else
13464 echo "$as_me: failed program was:" >&5
13465 sed 's/^/| /' conftest.$ac_ext >&5
13467 ac_cv_lib_dl_dlopen=no
13469 rm -f conftest.err conftest.$ac_objext \
13470 conftest$ac_exeext conftest.$ac_ext
13471 LIBS=$ac_check_lib_save_LIBS
13473 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13474 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13475 if test $ac_cv_lib_dl_dlopen = yes; then
13477 cat >>confdefs.h <<\_ACEOF
13478 #define HAVE_DLOPEN 1
13479 _ACEOF
13481 DLLIBS="-ldl"
13482 else
13483 LIBEXT="a"
13487 done
13489 else
13490 LIBEXT="a"
13493 done
13496 if test "$LIBEXT" = "so"
13497 then
13498 DLLFLAGS="$DLLFLAGS -fPIC"
13499 DLLEXT=".so"
13500 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13501 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13502 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13503 echo $ECHO_N "(cached) $ECHO_C" >&6
13504 else
13505 ac_wine_try_cflags_saved=$CFLAGS
13506 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13507 cat >conftest.$ac_ext <<_ACEOF
13508 /* confdefs.h. */
13509 _ACEOF
13510 cat confdefs.h >>conftest.$ac_ext
13511 cat >>conftest.$ac_ext <<_ACEOF
13512 /* end confdefs.h. */
13515 main ()
13519 return 0;
13521 _ACEOF
13522 rm -f conftest.$ac_objext conftest$ac_exeext
13523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13524 (eval $ac_link) 2>conftest.er1
13525 ac_status=$?
13526 grep -v '^ *+' conftest.er1 >conftest.err
13527 rm -f conftest.er1
13528 cat conftest.err >&5
13529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13530 (exit $ac_status); } &&
13531 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13533 (eval $ac_try) 2>&5
13534 ac_status=$?
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); }; } &&
13537 { ac_try='test -s conftest$ac_exeext'
13538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13539 (eval $ac_try) 2>&5
13540 ac_status=$?
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); }; }; then
13543 ac_cv_c_dll_gnuelf="yes"
13544 else
13545 echo "$as_me: failed program was:" >&5
13546 sed 's/^/| /' conftest.$ac_ext >&5
13548 ac_cv_c_dll_gnuelf="no"
13550 rm -f conftest.err conftest.$ac_objext \
13551 conftest$ac_exeext conftest.$ac_ext
13552 CFLAGS=$ac_wine_try_cflags_saved
13554 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13555 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
13556 if test "$ac_cv_c_dll_gnuelf" = "yes"
13557 then
13558 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13559 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13560 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
13561 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
13562 if test "${ac_cv_c_dll_zdefs+set}" = set; then
13563 echo $ECHO_N "(cached) $ECHO_C" >&6
13564 else
13565 ac_wine_try_cflags_saved=$CFLAGS
13566 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13567 cat >conftest.$ac_ext <<_ACEOF
13568 /* confdefs.h. */
13569 _ACEOF
13570 cat confdefs.h >>conftest.$ac_ext
13571 cat >>conftest.$ac_ext <<_ACEOF
13572 /* end confdefs.h. */
13575 main ()
13579 return 0;
13581 _ACEOF
13582 rm -f conftest.$ac_objext conftest$ac_exeext
13583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13584 (eval $ac_link) 2>conftest.er1
13585 ac_status=$?
13586 grep -v '^ *+' conftest.er1 >conftest.err
13587 rm -f conftest.er1
13588 cat conftest.err >&5
13589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13590 (exit $ac_status); } &&
13591 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13593 (eval $ac_try) 2>&5
13594 ac_status=$?
13595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13596 (exit $ac_status); }; } &&
13597 { ac_try='test -s conftest$ac_exeext'
13598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13599 (eval $ac_try) 2>&5
13600 ac_status=$?
13601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 (exit $ac_status); }; }; then
13603 ac_cv_c_dll_zdefs="yes"
13604 else
13605 echo "$as_me: failed program was:" >&5
13606 sed 's/^/| /' conftest.$ac_ext >&5
13608 ac_cv_c_dll_zdefs="no"
13610 rm -f conftest.err conftest.$ac_objext \
13611 conftest$ac_exeext conftest.$ac_ext
13612 CFLAGS=$ac_wine_try_cflags_saved
13614 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
13615 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
13616 if test "$ac_cv_c_dll_zdefs" = "yes"
13617 then
13618 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13621 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
13622 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
13623 if test "${ac_cv_c_dll_init_fini+set}" = set; then
13624 echo $ECHO_N "(cached) $ECHO_C" >&6
13625 else
13626 ac_wine_try_cflags_saved=$CFLAGS
13627 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13628 cat >conftest.$ac_ext <<_ACEOF
13629 /* confdefs.h. */
13630 _ACEOF
13631 cat confdefs.h >>conftest.$ac_ext
13632 cat >>conftest.$ac_ext <<_ACEOF
13633 /* end confdefs.h. */
13636 main ()
13640 return 0;
13642 _ACEOF
13643 rm -f conftest.$ac_objext conftest$ac_exeext
13644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13645 (eval $ac_link) 2>conftest.er1
13646 ac_status=$?
13647 grep -v '^ *+' conftest.er1 >conftest.err
13648 rm -f conftest.er1
13649 cat conftest.err >&5
13650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13651 (exit $ac_status); } &&
13652 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13654 (eval $ac_try) 2>&5
13655 ac_status=$?
13656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13657 (exit $ac_status); }; } &&
13658 { ac_try='test -s conftest$ac_exeext'
13659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13660 (eval $ac_try) 2>&5
13661 ac_status=$?
13662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13663 (exit $ac_status); }; }; then
13664 ac_cv_c_dll_init_fini="yes"
13665 else
13666 echo "$as_me: failed program was:" >&5
13667 sed 's/^/| /' conftest.$ac_ext >&5
13669 ac_cv_c_dll_init_fini="no"
13671 rm -f conftest.err conftest.$ac_objext \
13672 conftest$ac_exeext conftest.$ac_ext
13673 CFLAGS=$ac_wine_try_cflags_saved
13675 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
13676 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
13677 if test "$ac_cv_c_dll_init_fini" = "yes"
13678 then
13679 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13682 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
13683 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
13684 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
13685 echo $ECHO_N "(cached) $ECHO_C" >&6
13686 else
13687 echo '{ global: *; };' >conftest.map
13688 ac_wine_try_cflags_saved=$CFLAGS
13689 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13690 cat >conftest.$ac_ext <<_ACEOF
13691 /* confdefs.h. */
13692 _ACEOF
13693 cat confdefs.h >>conftest.$ac_ext
13694 cat >>conftest.$ac_ext <<_ACEOF
13695 /* end confdefs.h. */
13698 main ()
13702 return 0;
13704 _ACEOF
13705 rm -f conftest.$ac_objext conftest$ac_exeext
13706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13707 (eval $ac_link) 2>conftest.er1
13708 ac_status=$?
13709 grep -v '^ *+' conftest.er1 >conftest.err
13710 rm -f conftest.er1
13711 cat conftest.err >&5
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); } &&
13714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13716 (eval $ac_try) 2>&5
13717 ac_status=$?
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); }; } &&
13720 { ac_try='test -s conftest$ac_exeext'
13721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13722 (eval $ac_try) 2>&5
13723 ac_status=$?
13724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13725 (exit $ac_status); }; }; then
13726 ac_cv_c_ld_version_scripts="yes"
13727 else
13728 echo "$as_me: failed program was:" >&5
13729 sed 's/^/| /' conftest.$ac_ext >&5
13731 ac_cv_c_ld_version_scripts="no"
13733 rm -f conftest.err conftest.$ac_objext \
13734 conftest$ac_exeext conftest.$ac_ext
13735 CFLAGS=$ac_wine_try_cflags_saved
13736 rm -f conftest.map
13738 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
13739 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
13740 if test "$ac_cv_c_ld_version_scripts" = "yes"
13741 then
13742 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13745 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
13746 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
13747 if test "${ac_cv_c_export_dynamic+set}" = set; then
13748 echo $ECHO_N "(cached) $ECHO_C" >&6
13749 else
13750 ac_wine_try_cflags_saved=$CFLAGS
13751 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13752 cat >conftest.$ac_ext <<_ACEOF
13753 /* confdefs.h. */
13754 _ACEOF
13755 cat confdefs.h >>conftest.$ac_ext
13756 cat >>conftest.$ac_ext <<_ACEOF
13757 /* end confdefs.h. */
13760 main ()
13764 return 0;
13766 _ACEOF
13767 rm -f conftest.$ac_objext conftest$ac_exeext
13768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13769 (eval $ac_link) 2>conftest.er1
13770 ac_status=$?
13771 grep -v '^ *+' conftest.er1 >conftest.err
13772 rm -f conftest.er1
13773 cat conftest.err >&5
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); } &&
13776 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13778 (eval $ac_try) 2>&5
13779 ac_status=$?
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); }; } &&
13782 { ac_try='test -s conftest$ac_exeext'
13783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13784 (eval $ac_try) 2>&5
13785 ac_status=$?
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); }; }; then
13788 ac_cv_c_export_dynamic="yes"
13789 else
13790 echo "$as_me: failed program was:" >&5
13791 sed 's/^/| /' conftest.$ac_ext >&5
13793 ac_cv_c_export_dynamic="no"
13795 rm -f conftest.err conftest.$ac_objext \
13796 conftest$ac_exeext conftest.$ac_ext
13797 CFLAGS=$ac_wine_try_cflags_saved
13799 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
13800 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
13801 if test "$ac_cv_c_export_dynamic" = "yes"
13802 then
13803 LDEXECFLAGS="-Wl,--export-dynamic"
13807 case $host_cpu in
13808 *i[3456789]86*)
13809 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x77f00000" >&5
13810 echo $ECHO_N "checking whether we can relocate the executable to 0x77f00000... $ECHO_C" >&6
13811 if test "${ac_cv_ld_reloc_exec+set}" = set; then
13812 echo $ECHO_N "(cached) $ECHO_C" >&6
13813 else
13814 ac_wine_try_cflags_saved=$CFLAGS
13815 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x77f00400"
13816 cat >conftest.$ac_ext <<_ACEOF
13817 /* confdefs.h. */
13818 _ACEOF
13819 cat confdefs.h >>conftest.$ac_ext
13820 cat >>conftest.$ac_ext <<_ACEOF
13821 /* end confdefs.h. */
13824 main ()
13828 return 0;
13830 _ACEOF
13831 rm -f conftest.$ac_objext conftest$ac_exeext
13832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13833 (eval $ac_link) 2>conftest.er1
13834 ac_status=$?
13835 grep -v '^ *+' conftest.er1 >conftest.err
13836 rm -f conftest.er1
13837 cat conftest.err >&5
13838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839 (exit $ac_status); } &&
13840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13842 (eval $ac_try) 2>&5
13843 ac_status=$?
13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 (exit $ac_status); }; } &&
13846 { ac_try='test -s conftest$ac_exeext'
13847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13848 (eval $ac_try) 2>&5
13849 ac_status=$?
13850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13851 (exit $ac_status); }; }; then
13852 ac_cv_ld_reloc_exec="yes"
13853 else
13854 echo "$as_me: failed program was:" >&5
13855 sed 's/^/| /' conftest.$ac_ext >&5
13857 ac_cv_ld_reloc_exec="no"
13859 rm -f conftest.err conftest.$ac_objext \
13860 conftest$ac_exeext conftest.$ac_ext
13861 CFLAGS=$ac_wine_try_cflags_saved
13863 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
13864 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
13865 if test "$ac_cv_ld_reloc_exec" = "yes"
13866 then
13867 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x77f00400"
13870 esac
13872 else
13873 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13874 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
13875 if test "${ac_cv_c_dll_unixware+set}" = set; then
13876 echo $ECHO_N "(cached) $ECHO_C" >&6
13877 else
13878 ac_wine_try_cflags_saved=$CFLAGS
13879 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13880 cat >conftest.$ac_ext <<_ACEOF
13881 /* confdefs.h. */
13882 _ACEOF
13883 cat confdefs.h >>conftest.$ac_ext
13884 cat >>conftest.$ac_ext <<_ACEOF
13885 /* end confdefs.h. */
13888 main ()
13892 return 0;
13894 _ACEOF
13895 rm -f conftest.$ac_objext conftest$ac_exeext
13896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13897 (eval $ac_link) 2>conftest.er1
13898 ac_status=$?
13899 grep -v '^ *+' conftest.er1 >conftest.err
13900 rm -f conftest.er1
13901 cat conftest.err >&5
13902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13903 (exit $ac_status); } &&
13904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13906 (eval $ac_try) 2>&5
13907 ac_status=$?
13908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13909 (exit $ac_status); }; } &&
13910 { ac_try='test -s conftest$ac_exeext'
13911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13912 (eval $ac_try) 2>&5
13913 ac_status=$?
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); }; }; then
13916 ac_cv_c_dll_unixware="yes"
13917 else
13918 echo "$as_me: failed program was:" >&5
13919 sed 's/^/| /' conftest.$ac_ext >&5
13921 ac_cv_c_dll_unixware="no"
13923 rm -f conftest.err conftest.$ac_objext \
13924 conftest$ac_exeext conftest.$ac_ext
13925 CFLAGS=$ac_wine_try_cflags_saved
13927 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13928 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
13929 if test "$ac_cv_c_dll_unixware" = "yes"
13930 then
13931 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13932 LDDLLFLAGS="-Wl,-G,-B,symbolic"
13934 else
13935 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
13936 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
13937 if test "${ac_cv_c_dll_macho+set}" = set; then
13938 echo $ECHO_N "(cached) $ECHO_C" >&6
13939 else
13940 ac_wine_try_cflags_saved=$CFLAGS
13941 CFLAGS="$CFLAGS -bundle"
13942 cat >conftest.$ac_ext <<_ACEOF
13943 /* confdefs.h. */
13944 _ACEOF
13945 cat confdefs.h >>conftest.$ac_ext
13946 cat >>conftest.$ac_ext <<_ACEOF
13947 /* end confdefs.h. */
13950 main ()
13954 return 0;
13956 _ACEOF
13957 rm -f conftest.$ac_objext conftest$ac_exeext
13958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13959 (eval $ac_link) 2>conftest.er1
13960 ac_status=$?
13961 grep -v '^ *+' conftest.er1 >conftest.err
13962 rm -f conftest.er1
13963 cat conftest.err >&5
13964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 (exit $ac_status); } &&
13966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13968 (eval $ac_try) 2>&5
13969 ac_status=$?
13970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971 (exit $ac_status); }; } &&
13972 { ac_try='test -s conftest$ac_exeext'
13973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13974 (eval $ac_try) 2>&5
13975 ac_status=$?
13976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13977 (exit $ac_status); }; }; then
13978 ac_cv_c_dll_macho="yes"
13979 else
13980 echo "$as_me: failed program was:" >&5
13981 sed 's/^/| /' conftest.$ac_ext >&5
13983 ac_cv_c_dll_macho="no"
13985 rm -f conftest.err conftest.$ac_objext \
13986 conftest$ac_exeext conftest.$ac_ext
13987 CFLAGS=$ac_wine_try_cflags_saved
13989 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
13990 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
13991 if test "$ac_cv_c_dll_macho" = "yes"
13992 then
13993 LIBEXT="dylib"
13994 LDDLLFLAGS="-bundle -flat_namespace -undefined suppress"
13995 LDSHARED="\$(CC) -dynamiclib"
13996 CFLAGS="$CFLAGS -ffixed-r13 -no-cpp-precomp"
13997 STRIP="$STRIP -u -r"
13998 LDEXECFLAGS="-seg1addr 0x120000"
14000 LDLIBWINEFLAGS="-seg1addr 0x140000"
14007 CROSSTEST=""
14009 if test "$cross_compiling" = "no"
14010 then
14011 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
14013 # Extract the first word of "$ac_prog", so it can be a program name with args.
14014 set dummy $ac_prog; ac_word=$2
14015 echo "$as_me:$LINENO: checking for $ac_word" >&5
14016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14017 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14018 echo $ECHO_N "(cached) $ECHO_C" >&6
14019 else
14020 if test -n "$CROSSCC"; then
14021 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
14022 else
14023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14024 for as_dir in $PATH
14026 IFS=$as_save_IFS
14027 test -z "$as_dir" && as_dir=.
14028 for ac_exec_ext in '' $ac_executable_extensions; do
14029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14030 ac_cv_prog_CROSSCC="$ac_prog"
14031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14032 break 2
14034 done
14035 done
14039 CROSSCC=$ac_cv_prog_CROSSCC
14040 if test -n "$CROSSCC"; then
14041 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14042 echo "${ECHO_T}$CROSSCC" >&6
14043 else
14044 echo "$as_me:$LINENO: result: no" >&5
14045 echo "${ECHO_T}no" >&6
14048 test -n "$CROSSCC" && break
14049 done
14050 test -n "$CROSSCC" || CROSSCC="false"
14052 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14054 # Extract the first word of "$ac_prog", so it can be a program name with args.
14055 set dummy $ac_prog; ac_word=$2
14056 echo "$as_me:$LINENO: checking for $ac_word" >&5
14057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14058 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14059 echo $ECHO_N "(cached) $ECHO_C" >&6
14060 else
14061 if test -n "$DLLTOOL"; then
14062 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14063 else
14064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14065 for as_dir in $PATH
14067 IFS=$as_save_IFS
14068 test -z "$as_dir" && as_dir=.
14069 for ac_exec_ext in '' $ac_executable_extensions; do
14070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14071 ac_cv_prog_DLLTOOL="$ac_prog"
14072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14073 break 2
14075 done
14076 done
14080 DLLTOOL=$ac_cv_prog_DLLTOOL
14081 if test -n "$DLLTOOL"; then
14082 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14083 echo "${ECHO_T}$DLLTOOL" >&6
14084 else
14085 echo "$as_me:$LINENO: result: no" >&5
14086 echo "${ECHO_T}no" >&6
14089 test -n "$DLLTOOL" && break
14090 done
14091 test -n "$DLLTOOL" || DLLTOOL="false"
14093 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
14095 # Extract the first word of "$ac_prog", so it can be a program name with args.
14096 set dummy $ac_prog; ac_word=$2
14097 echo "$as_me:$LINENO: checking for $ac_word" >&5
14098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14099 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14100 echo $ECHO_N "(cached) $ECHO_C" >&6
14101 else
14102 if test -n "$CROSSWINDRES"; then
14103 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14104 else
14105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14106 for as_dir in $PATH
14108 IFS=$as_save_IFS
14109 test -z "$as_dir" && as_dir=.
14110 for ac_exec_ext in '' $ac_executable_extensions; do
14111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14112 ac_cv_prog_CROSSWINDRES="$ac_prog"
14113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14114 break 2
14116 done
14117 done
14121 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14122 if test -n "$CROSSWINDRES"; then
14123 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14124 echo "${ECHO_T}$CROSSWINDRES" >&6
14125 else
14126 echo "$as_me:$LINENO: result: no" >&5
14127 echo "${ECHO_T}no" >&6
14130 test -n "$CROSSWINDRES" && break
14131 done
14132 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14134 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14137 esac
14139 if test "$LIBEXT" = "a"; then
14140 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14141 It is currently not possible to build Wine without shared library
14142 (.so) support to allow transparent switch between .so and .dll files.
14143 If you are using Linux, you will need a newer binutils.
14144 " >&5
14145 echo "$as_me: error: could not find a way to build shared libraries.
14146 It is currently not possible to build Wine without shared library
14147 (.so) support to allow transparent switch between .so and .dll files.
14148 If you are using Linux, you will need a newer binutils.
14149 " >&2;}
14150 { (exit 1); exit 1; }; }
14153 case $build_os in
14154 cygwin*|mingw32*)
14155 LDPATH="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14157 darwin*|macosx*)
14158 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14161 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14163 esac
14165 case $host_os in
14166 mingw32*)
14167 CRTLIBS="-lmsvcrt"
14169 esac
14171 case $host_os in
14172 linux*)
14173 WINE_BINARIES="wine-glibc wine-kthread wine-pthread wine-preloader"
14175 MAIN_BINARY="wine-glibc"
14178 darwin*)
14179 WINE_BINARIES="wine-pthread"
14181 MAIN_BINARY="wine-pthread"
14185 WINE_BINARIES="wine-kthread"
14187 MAIN_BINARY="wine-kthread"
14190 esac
14193 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14194 then
14195 # Extract the first word of "ldd", so it can be a program name with args.
14196 set dummy ldd; ac_word=$2
14197 echo "$as_me:$LINENO: checking for $ac_word" >&5
14198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14199 if test "${ac_cv_path_LDD+set}" = set; then
14200 echo $ECHO_N "(cached) $ECHO_C" >&6
14201 else
14202 case $LDD in
14203 [\\/]* | ?:[\\/]*)
14204 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14208 as_dummy="/sbin:/usr/sbin:$PATH"
14209 for as_dir in $as_dummy
14211 IFS=$as_save_IFS
14212 test -z "$as_dir" && as_dir=.
14213 for ac_exec_ext in '' $ac_executable_extensions; do
14214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14215 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14217 break 2
14219 done
14220 done
14222 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14224 esac
14226 LDD=$ac_cv_path_LDD
14228 if test -n "$LDD"; then
14229 echo "$as_me:$LINENO: result: $LDD" >&5
14230 echo "${ECHO_T}$LDD" >&6
14231 else
14232 echo "$as_me:$LINENO: result: no" >&5
14233 echo "${ECHO_T}no" >&6
14237 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14238 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14239 if test "${ac_cv_lib_soname_X11+set}" = set; then
14240 echo $ECHO_N "(cached) $ECHO_C" >&6
14241 else
14242 ac_get_soname_save_LIBS=$LIBS
14243 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14244 cat >conftest.$ac_ext <<_ACEOF
14245 /* confdefs.h. */
14246 _ACEOF
14247 cat confdefs.h >>conftest.$ac_ext
14248 cat >>conftest.$ac_ext <<_ACEOF
14249 /* end confdefs.h. */
14251 /* Override any gcc2 internal prototype to avoid an error. */
14252 #ifdef __cplusplus
14253 extern "C"
14254 #endif
14255 /* We use char because int might match the return type of a gcc2
14256 builtin and then its argument prototype would still apply. */
14257 char XCreateWindow ();
14259 main ()
14261 XCreateWindow ();
14263 return 0;
14265 _ACEOF
14266 rm -f conftest.$ac_objext conftest$ac_exeext
14267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14268 (eval $ac_link) 2>conftest.er1
14269 ac_status=$?
14270 grep -v '^ *+' conftest.er1 >conftest.err
14271 rm -f conftest.er1
14272 cat conftest.err >&5
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); } &&
14275 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14277 (eval $ac_try) 2>&5
14278 ac_status=$?
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); }; } &&
14281 { ac_try='test -s conftest$ac_exeext'
14282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14283 (eval $ac_try) 2>&5
14284 ac_status=$?
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); }; }; then
14287 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"`
14288 if test "x$ac_cv_lib_soname_X11" = "x"
14289 then
14290 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14292 else
14293 echo "$as_me: failed program was:" >&5
14294 sed 's/^/| /' conftest.$ac_ext >&5
14296 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14298 rm -f conftest.err conftest.$ac_objext \
14299 conftest$ac_exeext conftest.$ac_ext
14300 LIBS=$ac_get_soname_save_LIBS
14302 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14303 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14304 if test "x$ac_cv_lib_soname_X11" != xNONE
14305 then
14306 cat >>confdefs.h <<_ACEOF
14307 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14308 _ACEOF
14311 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14312 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14313 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14314 echo $ECHO_N "(cached) $ECHO_C" >&6
14315 else
14316 ac_get_soname_save_LIBS=$LIBS
14317 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14318 cat >conftest.$ac_ext <<_ACEOF
14319 /* confdefs.h. */
14320 _ACEOF
14321 cat confdefs.h >>conftest.$ac_ext
14322 cat >>conftest.$ac_ext <<_ACEOF
14323 /* end confdefs.h. */
14325 /* Override any gcc2 internal prototype to avoid an error. */
14326 #ifdef __cplusplus
14327 extern "C"
14328 #endif
14329 /* We use char because int might match the return type of a gcc2
14330 builtin and then its argument prototype would still apply. */
14331 char XextCreateExtension ();
14333 main ()
14335 XextCreateExtension ();
14337 return 0;
14339 _ACEOF
14340 rm -f conftest.$ac_objext conftest$ac_exeext
14341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14342 (eval $ac_link) 2>conftest.er1
14343 ac_status=$?
14344 grep -v '^ *+' conftest.er1 >conftest.err
14345 rm -f conftest.er1
14346 cat conftest.err >&5
14347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14348 (exit $ac_status); } &&
14349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14351 (eval $ac_try) 2>&5
14352 ac_status=$?
14353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14354 (exit $ac_status); }; } &&
14355 { ac_try='test -s conftest$ac_exeext'
14356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14357 (eval $ac_try) 2>&5
14358 ac_status=$?
14359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14360 (exit $ac_status); }; }; then
14361 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"`
14362 if test "x$ac_cv_lib_soname_Xext" = "x"
14363 then
14364 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14366 else
14367 echo "$as_me: failed program was:" >&5
14368 sed 's/^/| /' conftest.$ac_ext >&5
14370 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14372 rm -f conftest.err conftest.$ac_objext \
14373 conftest$ac_exeext conftest.$ac_ext
14374 LIBS=$ac_get_soname_save_LIBS
14376 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14377 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14378 if test "x$ac_cv_lib_soname_Xext" != xNONE
14379 then
14380 cat >>confdefs.h <<_ACEOF
14381 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14382 _ACEOF
14385 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14386 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14387 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14388 echo $ECHO_N "(cached) $ECHO_C" >&6
14389 else
14390 ac_get_soname_save_LIBS=$LIBS
14391 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14392 cat >conftest.$ac_ext <<_ACEOF
14393 /* confdefs.h. */
14394 _ACEOF
14395 cat confdefs.h >>conftest.$ac_ext
14396 cat >>conftest.$ac_ext <<_ACEOF
14397 /* end confdefs.h. */
14399 /* Override any gcc2 internal prototype to avoid an error. */
14400 #ifdef __cplusplus
14401 extern "C"
14402 #endif
14403 /* We use char because int might match the return type of a gcc2
14404 builtin and then its argument prototype would still apply. */
14405 char XOpenDevice ();
14407 main ()
14409 XOpenDevice ();
14411 return 0;
14413 _ACEOF
14414 rm -f conftest.$ac_objext conftest$ac_exeext
14415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14416 (eval $ac_link) 2>conftest.er1
14417 ac_status=$?
14418 grep -v '^ *+' conftest.er1 >conftest.err
14419 rm -f conftest.er1
14420 cat conftest.err >&5
14421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14422 (exit $ac_status); } &&
14423 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14425 (eval $ac_try) 2>&5
14426 ac_status=$?
14427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428 (exit $ac_status); }; } &&
14429 { ac_try='test -s conftest$ac_exeext'
14430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14431 (eval $ac_try) 2>&5
14432 ac_status=$?
14433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434 (exit $ac_status); }; }; then
14435 ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"`
14436 if test "x$ac_cv_lib_soname_Xi" = "x"
14437 then
14438 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14440 else
14441 echo "$as_me: failed program was:" >&5
14442 sed 's/^/| /' conftest.$ac_ext >&5
14444 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14446 rm -f conftest.err conftest.$ac_objext \
14447 conftest$ac_exeext conftest.$ac_ext
14448 LIBS=$ac_get_soname_save_LIBS
14450 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14451 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14452 if test "x$ac_cv_lib_soname_Xi" != xNONE
14453 then
14454 cat >>confdefs.h <<_ACEOF
14455 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14456 _ACEOF
14459 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14460 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14461 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14462 echo $ECHO_N "(cached) $ECHO_C" >&6
14463 else
14464 ac_get_soname_save_LIBS=$LIBS
14465 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14466 cat >conftest.$ac_ext <<_ACEOF
14467 /* confdefs.h. */
14468 _ACEOF
14469 cat confdefs.h >>conftest.$ac_ext
14470 cat >>conftest.$ac_ext <<_ACEOF
14471 /* end confdefs.h. */
14473 /* Override any gcc2 internal prototype to avoid an error. */
14474 #ifdef __cplusplus
14475 extern "C"
14476 #endif
14477 /* We use char because int might match the return type of a gcc2
14478 builtin and then its argument prototype would still apply. */
14479 char XRenderQueryExtension ();
14481 main ()
14483 XRenderQueryExtension ();
14485 return 0;
14487 _ACEOF
14488 rm -f conftest.$ac_objext conftest$ac_exeext
14489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14490 (eval $ac_link) 2>conftest.er1
14491 ac_status=$?
14492 grep -v '^ *+' conftest.er1 >conftest.err
14493 rm -f conftest.er1
14494 cat conftest.err >&5
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); } &&
14497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14499 (eval $ac_try) 2>&5
14500 ac_status=$?
14501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14502 (exit $ac_status); }; } &&
14503 { ac_try='test -s conftest$ac_exeext'
14504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14505 (eval $ac_try) 2>&5
14506 ac_status=$?
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); }; }; then
14509 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"`
14510 if test "x$ac_cv_lib_soname_Xrender" = "x"
14511 then
14512 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14514 else
14515 echo "$as_me: failed program was:" >&5
14516 sed 's/^/| /' conftest.$ac_ext >&5
14518 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14520 rm -f conftest.err conftest.$ac_objext \
14521 conftest$ac_exeext conftest.$ac_ext
14522 LIBS=$ac_get_soname_save_LIBS
14524 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14525 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14526 if test "x$ac_cv_lib_soname_Xrender" != xNONE
14527 then
14528 cat >>confdefs.h <<_ACEOF
14529 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14530 _ACEOF
14533 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14534 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
14535 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14536 echo $ECHO_N "(cached) $ECHO_C" >&6
14537 else
14538 ac_get_soname_save_LIBS=$LIBS
14539 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14540 cat >conftest.$ac_ext <<_ACEOF
14541 /* confdefs.h. */
14542 _ACEOF
14543 cat confdefs.h >>conftest.$ac_ext
14544 cat >>conftest.$ac_ext <<_ACEOF
14545 /* end confdefs.h. */
14547 /* Override any gcc2 internal prototype to avoid an error. */
14548 #ifdef __cplusplus
14549 extern "C"
14550 #endif
14551 /* We use char because int might match the return type of a gcc2
14552 builtin and then its argument prototype would still apply. */
14553 char XRRQueryExtension ();
14555 main ()
14557 XRRQueryExtension ();
14559 return 0;
14561 _ACEOF
14562 rm -f conftest.$ac_objext conftest$ac_exeext
14563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14564 (eval $ac_link) 2>conftest.er1
14565 ac_status=$?
14566 grep -v '^ *+' conftest.er1 >conftest.err
14567 rm -f conftest.er1
14568 cat conftest.err >&5
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); } &&
14571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14573 (eval $ac_try) 2>&5
14574 ac_status=$?
14575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14576 (exit $ac_status); }; } &&
14577 { ac_try='test -s conftest$ac_exeext'
14578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14579 (eval $ac_try) 2>&5
14580 ac_status=$?
14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14582 (exit $ac_status); }; }; then
14583 ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"`
14584 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14585 then
14586 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14588 else
14589 echo "$as_me: failed program was:" >&5
14590 sed 's/^/| /' conftest.$ac_ext >&5
14592 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14594 rm -f conftest.err conftest.$ac_objext \
14595 conftest$ac_exeext conftest.$ac_ext
14596 LIBS=$ac_get_soname_save_LIBS
14598 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14599 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
14600 if test "x$ac_cv_lib_soname_Xrandr" != xNONE
14601 then
14602 cat >>confdefs.h <<_ACEOF
14603 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14604 _ACEOF
14607 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14608 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14609 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14610 echo $ECHO_N "(cached) $ECHO_C" >&6
14611 else
14612 ac_get_soname_save_LIBS=$LIBS
14613 LIBS="-lfreetype $X_LIBS $LIBS"
14614 cat >conftest.$ac_ext <<_ACEOF
14615 /* confdefs.h. */
14616 _ACEOF
14617 cat confdefs.h >>conftest.$ac_ext
14618 cat >>conftest.$ac_ext <<_ACEOF
14619 /* end confdefs.h. */
14621 /* Override any gcc2 internal prototype to avoid an error. */
14622 #ifdef __cplusplus
14623 extern "C"
14624 #endif
14625 /* We use char because int might match the return type of a gcc2
14626 builtin and then its argument prototype would still apply. */
14627 char FT_Init_FreeType ();
14629 main ()
14631 FT_Init_FreeType ();
14633 return 0;
14635 _ACEOF
14636 rm -f conftest.$ac_objext conftest$ac_exeext
14637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14638 (eval $ac_link) 2>conftest.er1
14639 ac_status=$?
14640 grep -v '^ *+' conftest.er1 >conftest.err
14641 rm -f conftest.er1
14642 cat conftest.err >&5
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); } &&
14645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14647 (eval $ac_try) 2>&5
14648 ac_status=$?
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); }; } &&
14651 { ac_try='test -s conftest$ac_exeext'
14652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14653 (eval $ac_try) 2>&5
14654 ac_status=$?
14655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 (exit $ac_status); }; }; then
14657 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"`
14658 if test "x$ac_cv_lib_soname_freetype" = "x"
14659 then
14660 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14662 else
14663 echo "$as_me: failed program was:" >&5
14664 sed 's/^/| /' conftest.$ac_ext >&5
14666 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14668 rm -f conftest.err conftest.$ac_objext \
14669 conftest$ac_exeext conftest.$ac_ext
14670 LIBS=$ac_get_soname_save_LIBS
14672 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14673 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
14674 if test "x$ac_cv_lib_soname_freetype" != xNONE
14675 then
14676 cat >>confdefs.h <<_ACEOF
14677 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14678 _ACEOF
14681 echo "$as_me:$LINENO: checking for -lGL soname" >&5
14682 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
14683 if test "${ac_cv_lib_soname_GL+set}" = set; then
14684 echo $ECHO_N "(cached) $ECHO_C" >&6
14685 else
14686 ac_get_soname_save_LIBS=$LIBS
14687 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14688 cat >conftest.$ac_ext <<_ACEOF
14689 /* confdefs.h. */
14690 _ACEOF
14691 cat confdefs.h >>conftest.$ac_ext
14692 cat >>conftest.$ac_ext <<_ACEOF
14693 /* end confdefs.h. */
14695 /* Override any gcc2 internal prototype to avoid an error. */
14696 #ifdef __cplusplus
14697 extern "C"
14698 #endif
14699 /* We use char because int might match the return type of a gcc2
14700 builtin and then its argument prototype would still apply. */
14701 char glXQueryExtension ();
14703 main ()
14705 glXQueryExtension ();
14707 return 0;
14709 _ACEOF
14710 rm -f conftest.$ac_objext conftest$ac_exeext
14711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14712 (eval $ac_link) 2>conftest.er1
14713 ac_status=$?
14714 grep -v '^ *+' conftest.er1 >conftest.err
14715 rm -f conftest.er1
14716 cat conftest.err >&5
14717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14718 (exit $ac_status); } &&
14719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14721 (eval $ac_try) 2>&5
14722 ac_status=$?
14723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14724 (exit $ac_status); }; } &&
14725 { ac_try='test -s conftest$ac_exeext'
14726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14727 (eval $ac_try) 2>&5
14728 ac_status=$?
14729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); }; }; then
14731 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"`
14732 if test "x$ac_cv_lib_soname_GL" = "x"
14733 then
14734 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14736 else
14737 echo "$as_me: failed program was:" >&5
14738 sed 's/^/| /' conftest.$ac_ext >&5
14740 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14742 rm -f conftest.err conftest.$ac_objext \
14743 conftest$ac_exeext conftest.$ac_ext
14744 LIBS=$ac_get_soname_save_LIBS
14746 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14747 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
14748 if test "x$ac_cv_lib_soname_GL" != xNONE
14749 then
14750 cat >>confdefs.h <<_ACEOF
14751 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14752 _ACEOF
14755 echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14756 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6
14757 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14758 echo $ECHO_N "(cached) $ECHO_C" >&6
14759 else
14760 ac_get_soname_save_LIBS=$LIBS
14761 LIBS="-ltxc_dxtn $LIBS"
14762 cat >conftest.$ac_ext <<_ACEOF
14763 /* confdefs.h. */
14764 _ACEOF
14765 cat confdefs.h >>conftest.$ac_ext
14766 cat >>conftest.$ac_ext <<_ACEOF
14767 /* end confdefs.h. */
14769 /* Override any gcc2 internal prototype to avoid an error. */
14770 #ifdef __cplusplus
14771 extern "C"
14772 #endif
14773 /* We use char because int might match the return type of a gcc2
14774 builtin and then its argument prototype would still apply. */
14775 char fetch_2d_texel_rgba_dxt1 ();
14777 main ()
14779 fetch_2d_texel_rgba_dxt1 ();
14781 return 0;
14783 _ACEOF
14784 rm -f conftest.$ac_objext conftest$ac_exeext
14785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14786 (eval $ac_link) 2>conftest.er1
14787 ac_status=$?
14788 grep -v '^ *+' conftest.er1 >conftest.err
14789 rm -f conftest.er1
14790 cat conftest.err >&5
14791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14792 (exit $ac_status); } &&
14793 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14795 (eval $ac_try) 2>&5
14796 ac_status=$?
14797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798 (exit $ac_status); }; } &&
14799 { ac_try='test -s conftest$ac_exeext'
14800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14801 (eval $ac_try) 2>&5
14802 ac_status=$?
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); }; }; then
14805 ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"`
14806 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
14807 then
14808 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14810 else
14811 echo "$as_me: failed program was:" >&5
14812 sed 's/^/| /' conftest.$ac_ext >&5
14814 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14816 rm -f conftest.err conftest.$ac_objext \
14817 conftest$ac_exeext conftest.$ac_ext
14818 LIBS=$ac_get_soname_save_LIBS
14820 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
14821 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6
14822 if test "x$ac_cv_lib_soname_txc_dxtn" != xNONE
14823 then
14824 cat >>confdefs.h <<_ACEOF
14825 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
14826 _ACEOF
14829 echo "$as_me:$LINENO: checking for -lcups soname" >&5
14830 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
14831 if test "${ac_cv_lib_soname_cups+set}" = set; then
14832 echo $ECHO_N "(cached) $ECHO_C" >&6
14833 else
14834 ac_get_soname_save_LIBS=$LIBS
14835 LIBS="-lcups $LIBS"
14836 cat >conftest.$ac_ext <<_ACEOF
14837 /* confdefs.h. */
14838 _ACEOF
14839 cat confdefs.h >>conftest.$ac_ext
14840 cat >>conftest.$ac_ext <<_ACEOF
14841 /* end confdefs.h. */
14843 /* Override any gcc2 internal prototype to avoid an error. */
14844 #ifdef __cplusplus
14845 extern "C"
14846 #endif
14847 /* We use char because int might match the return type of a gcc2
14848 builtin and then its argument prototype would still apply. */
14849 char cupsGetDefault ();
14851 main ()
14853 cupsGetDefault ();
14855 return 0;
14857 _ACEOF
14858 rm -f conftest.$ac_objext conftest$ac_exeext
14859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14860 (eval $ac_link) 2>conftest.er1
14861 ac_status=$?
14862 grep -v '^ *+' conftest.er1 >conftest.err
14863 rm -f conftest.er1
14864 cat conftest.err >&5
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); } &&
14867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14869 (eval $ac_try) 2>&5
14870 ac_status=$?
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); }; } &&
14873 { ac_try='test -s conftest$ac_exeext'
14874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14875 (eval $ac_try) 2>&5
14876 ac_status=$?
14877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); }; }; then
14879 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"`
14880 if test "x$ac_cv_lib_soname_cups" = "x"
14881 then
14882 ac_cv_lib_soname_cups="libcups.$LIBEXT"
14884 else
14885 echo "$as_me: failed program was:" >&5
14886 sed 's/^/| /' conftest.$ac_ext >&5
14888 ac_cv_lib_soname_cups="libcups.$LIBEXT"
14890 rm -f conftest.err conftest.$ac_objext \
14891 conftest$ac_exeext conftest.$ac_ext
14892 LIBS=$ac_get_soname_save_LIBS
14894 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14895 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
14896 if test "x$ac_cv_lib_soname_cups" != xNONE
14897 then
14898 cat >>confdefs.h <<_ACEOF
14899 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14900 _ACEOF
14903 echo "$as_me:$LINENO: checking for -ljack soname" >&5
14904 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
14905 if test "${ac_cv_lib_soname_jack+set}" = set; then
14906 echo $ECHO_N "(cached) $ECHO_C" >&6
14907 else
14908 ac_get_soname_save_LIBS=$LIBS
14909 LIBS="-ljack $LIBS"
14910 cat >conftest.$ac_ext <<_ACEOF
14911 /* confdefs.h. */
14912 _ACEOF
14913 cat confdefs.h >>conftest.$ac_ext
14914 cat >>conftest.$ac_ext <<_ACEOF
14915 /* end confdefs.h. */
14917 /* Override any gcc2 internal prototype to avoid an error. */
14918 #ifdef __cplusplus
14919 extern "C"
14920 #endif
14921 /* We use char because int might match the return type of a gcc2
14922 builtin and then its argument prototype would still apply. */
14923 char jack_client_new ();
14925 main ()
14927 jack_client_new ();
14929 return 0;
14931 _ACEOF
14932 rm -f conftest.$ac_objext conftest$ac_exeext
14933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14934 (eval $ac_link) 2>conftest.er1
14935 ac_status=$?
14936 grep -v '^ *+' conftest.er1 >conftest.err
14937 rm -f conftest.er1
14938 cat conftest.err >&5
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); } &&
14941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14943 (eval $ac_try) 2>&5
14944 ac_status=$?
14945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946 (exit $ac_status); }; } &&
14947 { ac_try='test -s conftest$ac_exeext'
14948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14949 (eval $ac_try) 2>&5
14950 ac_status=$?
14951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14952 (exit $ac_status); }; }; then
14953 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"`
14954 if test "x$ac_cv_lib_soname_jack" = "x"
14955 then
14956 ac_cv_lib_soname_jack="libjack.$LIBEXT"
14958 else
14959 echo "$as_me: failed program was:" >&5
14960 sed 's/^/| /' conftest.$ac_ext >&5
14962 ac_cv_lib_soname_jack="libjack.$LIBEXT"
14964 rm -f conftest.err conftest.$ac_objext \
14965 conftest$ac_exeext conftest.$ac_ext
14966 LIBS=$ac_get_soname_save_LIBS
14968 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14969 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
14970 if test "x$ac_cv_lib_soname_jack" != xNONE
14971 then
14972 cat >>confdefs.h <<_ACEOF
14973 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14974 _ACEOF
14977 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
14978 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
14979 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14980 echo $ECHO_N "(cached) $ECHO_C" >&6
14981 else
14982 ac_get_soname_save_LIBS=$LIBS
14983 LIBS="-lfontconfig $LIBS"
14984 cat >conftest.$ac_ext <<_ACEOF
14985 /* confdefs.h. */
14986 _ACEOF
14987 cat confdefs.h >>conftest.$ac_ext
14988 cat >>conftest.$ac_ext <<_ACEOF
14989 /* end confdefs.h. */
14991 /* Override any gcc2 internal prototype to avoid an error. */
14992 #ifdef __cplusplus
14993 extern "C"
14994 #endif
14995 /* We use char because int might match the return type of a gcc2
14996 builtin and then its argument prototype would still apply. */
14997 char FcInit ();
14999 main ()
15001 FcInit ();
15003 return 0;
15005 _ACEOF
15006 rm -f conftest.$ac_objext conftest$ac_exeext
15007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15008 (eval $ac_link) 2>conftest.er1
15009 ac_status=$?
15010 grep -v '^ *+' conftest.er1 >conftest.err
15011 rm -f conftest.er1
15012 cat conftest.err >&5
15013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15014 (exit $ac_status); } &&
15015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15017 (eval $ac_try) 2>&5
15018 ac_status=$?
15019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15020 (exit $ac_status); }; } &&
15021 { ac_try='test -s conftest$ac_exeext'
15022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15023 (eval $ac_try) 2>&5
15024 ac_status=$?
15025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026 (exit $ac_status); }; }; then
15027 ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"`
15028 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15029 then
15030 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15032 else
15033 echo "$as_me: failed program was:" >&5
15034 sed 's/^/| /' conftest.$ac_ext >&5
15036 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15038 rm -f conftest.err conftest.$ac_objext \
15039 conftest$ac_exeext conftest.$ac_ext
15040 LIBS=$ac_get_soname_save_LIBS
15042 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15043 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15044 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
15045 then
15046 cat >>confdefs.h <<_ACEOF
15047 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15048 _ACEOF
15051 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15052 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15053 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15054 echo $ECHO_N "(cached) $ECHO_C" >&6
15055 else
15056 ac_get_soname_save_LIBS=$LIBS
15057 LIBS="-lssl $LIBS"
15058 cat >conftest.$ac_ext <<_ACEOF
15059 /* confdefs.h. */
15060 _ACEOF
15061 cat confdefs.h >>conftest.$ac_ext
15062 cat >>conftest.$ac_ext <<_ACEOF
15063 /* end confdefs.h. */
15065 /* Override any gcc2 internal prototype to avoid an error. */
15066 #ifdef __cplusplus
15067 extern "C"
15068 #endif
15069 /* We use char because int might match the return type of a gcc2
15070 builtin and then its argument prototype would still apply. */
15071 char SSL_library_init ();
15073 main ()
15075 SSL_library_init ();
15077 return 0;
15079 _ACEOF
15080 rm -f conftest.$ac_objext conftest$ac_exeext
15081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15082 (eval $ac_link) 2>conftest.er1
15083 ac_status=$?
15084 grep -v '^ *+' conftest.er1 >conftest.err
15085 rm -f conftest.er1
15086 cat conftest.err >&5
15087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15088 (exit $ac_status); } &&
15089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15091 (eval $ac_try) 2>&5
15092 ac_status=$?
15093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15094 (exit $ac_status); }; } &&
15095 { ac_try='test -s conftest$ac_exeext'
15096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15097 (eval $ac_try) 2>&5
15098 ac_status=$?
15099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15100 (exit $ac_status); }; }; then
15101 ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"`
15102 if test "x$ac_cv_lib_soname_ssl" = "x"
15103 then
15104 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15106 else
15107 echo "$as_me: failed program was:" >&5
15108 sed 's/^/| /' conftest.$ac_ext >&5
15110 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15112 rm -f conftest.err conftest.$ac_objext \
15113 conftest$ac_exeext conftest.$ac_ext
15114 LIBS=$ac_get_soname_save_LIBS
15116 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15117 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15118 if test "x$ac_cv_lib_soname_ssl" != xNONE
15119 then
15120 cat >>confdefs.h <<_ACEOF
15121 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15122 _ACEOF
15125 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15126 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15127 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15128 echo $ECHO_N "(cached) $ECHO_C" >&6
15129 else
15130 ac_get_soname_save_LIBS=$LIBS
15131 LIBS="-lcrypto $LIBS"
15132 cat >conftest.$ac_ext <<_ACEOF
15133 /* confdefs.h. */
15134 _ACEOF
15135 cat confdefs.h >>conftest.$ac_ext
15136 cat >>conftest.$ac_ext <<_ACEOF
15137 /* end confdefs.h. */
15139 /* Override any gcc2 internal prototype to avoid an error. */
15140 #ifdef __cplusplus
15141 extern "C"
15142 #endif
15143 /* We use char because int might match the return type of a gcc2
15144 builtin and then its argument prototype would still apply. */
15145 char BIO_new_socket ();
15147 main ()
15149 BIO_new_socket ();
15151 return 0;
15153 _ACEOF
15154 rm -f conftest.$ac_objext conftest$ac_exeext
15155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15156 (eval $ac_link) 2>conftest.er1
15157 ac_status=$?
15158 grep -v '^ *+' conftest.er1 >conftest.err
15159 rm -f conftest.er1
15160 cat conftest.err >&5
15161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15162 (exit $ac_status); } &&
15163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15165 (eval $ac_try) 2>&5
15166 ac_status=$?
15167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15168 (exit $ac_status); }; } &&
15169 { ac_try='test -s conftest$ac_exeext'
15170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15171 (eval $ac_try) 2>&5
15172 ac_status=$?
15173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15174 (exit $ac_status); }; }; then
15175 ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"`
15176 if test "x$ac_cv_lib_soname_crypto" = "x"
15177 then
15178 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15180 else
15181 echo "$as_me: failed program was:" >&5
15182 sed 's/^/| /' conftest.$ac_ext >&5
15184 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15186 rm -f conftest.err conftest.$ac_objext \
15187 conftest$ac_exeext conftest.$ac_ext
15188 LIBS=$ac_get_soname_save_LIBS
15190 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15191 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15192 if test "x$ac_cv_lib_soname_crypto" != xNONE
15193 then
15194 cat >>confdefs.h <<_ACEOF
15195 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15196 _ACEOF
15199 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15200 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15201 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15202 echo $ECHO_N "(cached) $ECHO_C" >&6
15203 else
15204 ac_get_soname_save_LIBS=$LIBS
15205 LIBS="-lncurses $LIBS"
15206 cat >conftest.$ac_ext <<_ACEOF
15207 /* confdefs.h. */
15208 _ACEOF
15209 cat confdefs.h >>conftest.$ac_ext
15210 cat >>conftest.$ac_ext <<_ACEOF
15211 /* end confdefs.h. */
15213 /* Override any gcc2 internal prototype to avoid an error. */
15214 #ifdef __cplusplus
15215 extern "C"
15216 #endif
15217 /* We use char because int might match the return type of a gcc2
15218 builtin and then its argument prototype would still apply. */
15219 char waddch ();
15221 main ()
15223 waddch ();
15225 return 0;
15227 _ACEOF
15228 rm -f conftest.$ac_objext conftest$ac_exeext
15229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15230 (eval $ac_link) 2>conftest.er1
15231 ac_status=$?
15232 grep -v '^ *+' conftest.er1 >conftest.err
15233 rm -f conftest.er1
15234 cat conftest.err >&5
15235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15236 (exit $ac_status); } &&
15237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15239 (eval $ac_try) 2>&5
15240 ac_status=$?
15241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15242 (exit $ac_status); }; } &&
15243 { ac_try='test -s conftest$ac_exeext'
15244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15245 (eval $ac_try) 2>&5
15246 ac_status=$?
15247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); }; }; then
15249 ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"`
15250 if test "x$ac_cv_lib_soname_ncurses" = "x"
15251 then
15252 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15254 else
15255 echo "$as_me: failed program was:" >&5
15256 sed 's/^/| /' conftest.$ac_ext >&5
15258 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15260 rm -f conftest.err conftest.$ac_objext \
15261 conftest$ac_exeext conftest.$ac_ext
15262 LIBS=$ac_get_soname_save_LIBS
15264 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15265 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15266 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15267 then
15268 cat >>confdefs.h <<_ACEOF
15269 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15270 _ACEOF
15273 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15274 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15275 if test "${ac_cv_lib_soname_curses+set}" = set; then
15276 echo $ECHO_N "(cached) $ECHO_C" >&6
15277 else
15278 ac_get_soname_save_LIBS=$LIBS
15279 LIBS="-lcurses $LIBS"
15280 cat >conftest.$ac_ext <<_ACEOF
15281 /* confdefs.h. */
15282 _ACEOF
15283 cat confdefs.h >>conftest.$ac_ext
15284 cat >>conftest.$ac_ext <<_ACEOF
15285 /* end confdefs.h. */
15287 /* Override any gcc2 internal prototype to avoid an error. */
15288 #ifdef __cplusplus
15289 extern "C"
15290 #endif
15291 /* We use char because int might match the return type of a gcc2
15292 builtin and then its argument prototype would still apply. */
15293 char waddch ();
15295 main ()
15297 waddch ();
15299 return 0;
15301 _ACEOF
15302 rm -f conftest.$ac_objext conftest$ac_exeext
15303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15304 (eval $ac_link) 2>conftest.er1
15305 ac_status=$?
15306 grep -v '^ *+' conftest.er1 >conftest.err
15307 rm -f conftest.er1
15308 cat conftest.err >&5
15309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15310 (exit $ac_status); } &&
15311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15313 (eval $ac_try) 2>&5
15314 ac_status=$?
15315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15316 (exit $ac_status); }; } &&
15317 { ac_try='test -s conftest$ac_exeext'
15318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15319 (eval $ac_try) 2>&5
15320 ac_status=$?
15321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15322 (exit $ac_status); }; }; then
15323 ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"`
15324 if test "x$ac_cv_lib_soname_curses" = "x"
15325 then
15326 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15328 else
15329 echo "$as_me: failed program was:" >&5
15330 sed 's/^/| /' conftest.$ac_ext >&5
15332 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15334 rm -f conftest.err conftest.$ac_objext \
15335 conftest$ac_exeext conftest.$ac_ext
15336 LIBS=$ac_get_soname_save_LIBS
15338 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15339 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15340 if test "x$ac_cv_lib_soname_curses" != xNONE
15341 then
15342 cat >>confdefs.h <<_ACEOF
15343 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15344 _ACEOF
15347 echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15348 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6
15349 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15350 echo $ECHO_N "(cached) $ECHO_C" >&6
15351 else
15352 ac_get_soname_save_LIBS=$LIBS
15353 LIBS="-ljpeg $LIBS"
15354 cat >conftest.$ac_ext <<_ACEOF
15355 /* confdefs.h. */
15356 _ACEOF
15357 cat confdefs.h >>conftest.$ac_ext
15358 cat >>conftest.$ac_ext <<_ACEOF
15359 /* end confdefs.h. */
15361 /* Override any gcc2 internal prototype to avoid an error. */
15362 #ifdef __cplusplus
15363 extern "C"
15364 #endif
15365 /* We use char because int might match the return type of a gcc2
15366 builtin and then its argument prototype would still apply. */
15367 char jpeg_start_decompress ();
15369 main ()
15371 jpeg_start_decompress ();
15373 return 0;
15375 _ACEOF
15376 rm -f conftest.$ac_objext conftest$ac_exeext
15377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15378 (eval $ac_link) 2>conftest.er1
15379 ac_status=$?
15380 grep -v '^ *+' conftest.er1 >conftest.err
15381 rm -f conftest.er1
15382 cat conftest.err >&5
15383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15384 (exit $ac_status); } &&
15385 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15387 (eval $ac_try) 2>&5
15388 ac_status=$?
15389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15390 (exit $ac_status); }; } &&
15391 { ac_try='test -s conftest$ac_exeext'
15392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15393 (eval $ac_try) 2>&5
15394 ac_status=$?
15395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15396 (exit $ac_status); }; }; then
15397 ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"`
15398 if test "x$ac_cv_lib_soname_jpeg" = "x"
15399 then
15400 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15402 else
15403 echo "$as_me: failed program was:" >&5
15404 sed 's/^/| /' conftest.$ac_ext >&5
15406 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15408 rm -f conftest.err conftest.$ac_objext \
15409 conftest$ac_exeext conftest.$ac_ext
15410 LIBS=$ac_get_soname_save_LIBS
15412 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15413 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6
15414 if test "x$ac_cv_lib_soname_jpeg" != xNONE
15415 then
15416 cat >>confdefs.h <<_ACEOF
15417 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15418 _ACEOF
15421 echo "$as_me:$LINENO: checking for -lungif soname" >&5
15422 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6
15423 if test "${ac_cv_lib_soname_ungif+set}" = set; then
15424 echo $ECHO_N "(cached) $ECHO_C" >&6
15425 else
15426 ac_get_soname_save_LIBS=$LIBS
15427 LIBS="-lungif $LIBS"
15428 cat >conftest.$ac_ext <<_ACEOF
15429 /* confdefs.h. */
15430 _ACEOF
15431 cat confdefs.h >>conftest.$ac_ext
15432 cat >>conftest.$ac_ext <<_ACEOF
15433 /* end confdefs.h. */
15435 /* Override any gcc2 internal prototype to avoid an error. */
15436 #ifdef __cplusplus
15437 extern "C"
15438 #endif
15439 /* We use char because int might match the return type of a gcc2
15440 builtin and then its argument prototype would still apply. */
15441 char DGifOpen ();
15443 main ()
15445 DGifOpen ();
15447 return 0;
15449 _ACEOF
15450 rm -f conftest.$ac_objext conftest$ac_exeext
15451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15452 (eval $ac_link) 2>conftest.er1
15453 ac_status=$?
15454 grep -v '^ *+' conftest.er1 >conftest.err
15455 rm -f conftest.er1
15456 cat conftest.err >&5
15457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); } &&
15459 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15461 (eval $ac_try) 2>&5
15462 ac_status=$?
15463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15464 (exit $ac_status); }; } &&
15465 { ac_try='test -s conftest$ac_exeext'
15466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15467 (eval $ac_try) 2>&5
15468 ac_status=$?
15469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15470 (exit $ac_status); }; }; then
15471 ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"`
15472 if test "x$ac_cv_lib_soname_ungif" = "x"
15473 then
15474 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
15476 else
15477 echo "$as_me: failed program was:" >&5
15478 sed 's/^/| /' conftest.$ac_ext >&5
15480 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
15482 rm -f conftest.err conftest.$ac_objext \
15483 conftest$ac_exeext conftest.$ac_ext
15484 LIBS=$ac_get_soname_save_LIBS
15486 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
15487 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6
15488 if test "x$ac_cv_lib_soname_ungif" != xNONE
15489 then
15490 cat >>confdefs.h <<_ACEOF
15491 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
15492 _ACEOF
15498 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15499 # for constant arguments. Useless!
15500 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15501 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15502 if test "${ac_cv_working_alloca_h+set}" = set; then
15503 echo $ECHO_N "(cached) $ECHO_C" >&6
15504 else
15505 cat >conftest.$ac_ext <<_ACEOF
15506 /* confdefs.h. */
15507 _ACEOF
15508 cat confdefs.h >>conftest.$ac_ext
15509 cat >>conftest.$ac_ext <<_ACEOF
15510 /* end confdefs.h. */
15511 #include <alloca.h>
15513 main ()
15515 char *p = (char *) alloca (2 * sizeof (int));
15517 return 0;
15519 _ACEOF
15520 rm -f conftest.$ac_objext conftest$ac_exeext
15521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15522 (eval $ac_link) 2>conftest.er1
15523 ac_status=$?
15524 grep -v '^ *+' conftest.er1 >conftest.err
15525 rm -f conftest.er1
15526 cat conftest.err >&5
15527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15528 (exit $ac_status); } &&
15529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15531 (eval $ac_try) 2>&5
15532 ac_status=$?
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); }; } &&
15535 { ac_try='test -s conftest$ac_exeext'
15536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15537 (eval $ac_try) 2>&5
15538 ac_status=$?
15539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540 (exit $ac_status); }; }; then
15541 ac_cv_working_alloca_h=yes
15542 else
15543 echo "$as_me: failed program was:" >&5
15544 sed 's/^/| /' conftest.$ac_ext >&5
15546 ac_cv_working_alloca_h=no
15548 rm -f conftest.err conftest.$ac_objext \
15549 conftest$ac_exeext conftest.$ac_ext
15551 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15552 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15553 if test $ac_cv_working_alloca_h = yes; then
15555 cat >>confdefs.h <<\_ACEOF
15556 #define HAVE_ALLOCA_H 1
15557 _ACEOF
15561 echo "$as_me:$LINENO: checking for alloca" >&5
15562 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15563 if test "${ac_cv_func_alloca_works+set}" = set; then
15564 echo $ECHO_N "(cached) $ECHO_C" >&6
15565 else
15566 cat >conftest.$ac_ext <<_ACEOF
15567 /* confdefs.h. */
15568 _ACEOF
15569 cat confdefs.h >>conftest.$ac_ext
15570 cat >>conftest.$ac_ext <<_ACEOF
15571 /* end confdefs.h. */
15572 #ifdef __GNUC__
15573 # define alloca __builtin_alloca
15574 #else
15575 # ifdef _MSC_VER
15576 # include <malloc.h>
15577 # define alloca _alloca
15578 # else
15579 # if HAVE_ALLOCA_H
15580 # include <alloca.h>
15581 # else
15582 # ifdef _AIX
15583 #pragma alloca
15584 # else
15585 # ifndef alloca /* predefined by HP cc +Olibcalls */
15586 char *alloca ();
15587 # endif
15588 # endif
15589 # endif
15590 # endif
15591 #endif
15594 main ()
15596 char *p = (char *) alloca (1);
15598 return 0;
15600 _ACEOF
15601 rm -f conftest.$ac_objext conftest$ac_exeext
15602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15603 (eval $ac_link) 2>conftest.er1
15604 ac_status=$?
15605 grep -v '^ *+' conftest.er1 >conftest.err
15606 rm -f conftest.er1
15607 cat conftest.err >&5
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609 (exit $ac_status); } &&
15610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15612 (eval $ac_try) 2>&5
15613 ac_status=$?
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); }; } &&
15616 { ac_try='test -s conftest$ac_exeext'
15617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15618 (eval $ac_try) 2>&5
15619 ac_status=$?
15620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621 (exit $ac_status); }; }; then
15622 ac_cv_func_alloca_works=yes
15623 else
15624 echo "$as_me: failed program was:" >&5
15625 sed 's/^/| /' conftest.$ac_ext >&5
15627 ac_cv_func_alloca_works=no
15629 rm -f conftest.err conftest.$ac_objext \
15630 conftest$ac_exeext conftest.$ac_ext
15632 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15633 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15635 if test $ac_cv_func_alloca_works = yes; then
15637 cat >>confdefs.h <<\_ACEOF
15638 #define HAVE_ALLOCA 1
15639 _ACEOF
15641 else
15642 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15643 # that cause trouble. Some versions do not even contain alloca or
15644 # contain a buggy version. If you still want to use their alloca,
15645 # use ar to extract alloca.o from them instead of compiling alloca.c.
15647 ALLOCA=alloca.$ac_objext
15649 cat >>confdefs.h <<\_ACEOF
15650 #define C_ALLOCA 1
15651 _ACEOF
15654 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15655 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15656 if test "${ac_cv_os_cray+set}" = set; then
15657 echo $ECHO_N "(cached) $ECHO_C" >&6
15658 else
15659 cat >conftest.$ac_ext <<_ACEOF
15660 /* confdefs.h. */
15661 _ACEOF
15662 cat confdefs.h >>conftest.$ac_ext
15663 cat >>conftest.$ac_ext <<_ACEOF
15664 /* end confdefs.h. */
15665 #if defined(CRAY) && ! defined(CRAY2)
15666 webecray
15667 #else
15668 wenotbecray
15669 #endif
15671 _ACEOF
15672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15673 $EGREP "webecray" >/dev/null 2>&1; then
15674 ac_cv_os_cray=yes
15675 else
15676 ac_cv_os_cray=no
15678 rm -f conftest*
15681 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15682 echo "${ECHO_T}$ac_cv_os_cray" >&6
15683 if test $ac_cv_os_cray = yes; then
15684 for ac_func in _getb67 GETB67 getb67; do
15685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15686 echo "$as_me:$LINENO: checking for $ac_func" >&5
15687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15688 if eval "test \"\${$as_ac_var+set}\" = set"; then
15689 echo $ECHO_N "(cached) $ECHO_C" >&6
15690 else
15691 cat >conftest.$ac_ext <<_ACEOF
15692 /* confdefs.h. */
15693 _ACEOF
15694 cat confdefs.h >>conftest.$ac_ext
15695 cat >>conftest.$ac_ext <<_ACEOF
15696 /* end confdefs.h. */
15697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15699 #define $ac_func innocuous_$ac_func
15701 /* System header to define __stub macros and hopefully few prototypes,
15702 which can conflict with char $ac_func (); below.
15703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15704 <limits.h> exists even on freestanding compilers. */
15706 #ifdef __STDC__
15707 # include <limits.h>
15708 #else
15709 # include <assert.h>
15710 #endif
15712 #undef $ac_func
15714 /* Override any gcc2 internal prototype to avoid an error. */
15715 #ifdef __cplusplus
15716 extern "C"
15718 #endif
15719 /* We use char because int might match the return type of a gcc2
15720 builtin and then its argument prototype would still apply. */
15721 char $ac_func ();
15722 /* The GNU C library defines this for functions which it implements
15723 to always fail with ENOSYS. Some functions are actually named
15724 something starting with __ and the normal name is an alias. */
15725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15726 choke me
15727 #else
15728 char (*f) () = $ac_func;
15729 #endif
15730 #ifdef __cplusplus
15732 #endif
15735 main ()
15737 return f != $ac_func;
15739 return 0;
15741 _ACEOF
15742 rm -f conftest.$ac_objext conftest$ac_exeext
15743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15744 (eval $ac_link) 2>conftest.er1
15745 ac_status=$?
15746 grep -v '^ *+' conftest.er1 >conftest.err
15747 rm -f conftest.er1
15748 cat conftest.err >&5
15749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 (exit $ac_status); } &&
15751 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15753 (eval $ac_try) 2>&5
15754 ac_status=$?
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); }; } &&
15757 { ac_try='test -s conftest$ac_exeext'
15758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15759 (eval $ac_try) 2>&5
15760 ac_status=$?
15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 (exit $ac_status); }; }; then
15763 eval "$as_ac_var=yes"
15764 else
15765 echo "$as_me: failed program was:" >&5
15766 sed 's/^/| /' conftest.$ac_ext >&5
15768 eval "$as_ac_var=no"
15770 rm -f conftest.err conftest.$ac_objext \
15771 conftest$ac_exeext conftest.$ac_ext
15773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15775 if test `eval echo '${'$as_ac_var'}'` = yes; then
15777 cat >>confdefs.h <<_ACEOF
15778 #define CRAY_STACKSEG_END $ac_func
15779 _ACEOF
15781 break
15784 done
15787 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
15788 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
15789 if test "${ac_cv_c_stack_direction+set}" = set; then
15790 echo $ECHO_N "(cached) $ECHO_C" >&6
15791 else
15792 if test "$cross_compiling" = yes; then
15793 ac_cv_c_stack_direction=0
15794 else
15795 cat >conftest.$ac_ext <<_ACEOF
15796 /* confdefs.h. */
15797 _ACEOF
15798 cat confdefs.h >>conftest.$ac_ext
15799 cat >>conftest.$ac_ext <<_ACEOF
15800 /* end confdefs.h. */
15802 find_stack_direction ()
15804 static char *addr = 0;
15805 auto char dummy;
15806 if (addr == 0)
15808 addr = &dummy;
15809 return find_stack_direction ();
15811 else
15812 return (&dummy > addr) ? 1 : -1;
15816 main ()
15818 exit (find_stack_direction () < 0);
15820 _ACEOF
15821 rm -f conftest$ac_exeext
15822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15823 (eval $ac_link) 2>&5
15824 ac_status=$?
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15828 (eval $ac_try) 2>&5
15829 ac_status=$?
15830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15831 (exit $ac_status); }; }; then
15832 ac_cv_c_stack_direction=1
15833 else
15834 echo "$as_me: program exited with status $ac_status" >&5
15835 echo "$as_me: failed program was:" >&5
15836 sed 's/^/| /' conftest.$ac_ext >&5
15838 ( exit $ac_status )
15839 ac_cv_c_stack_direction=-1
15841 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15844 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
15845 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
15847 cat >>confdefs.h <<_ACEOF
15848 #define STACK_DIRECTION $ac_cv_c_stack_direction
15849 _ACEOF
15911 for ac_func in \
15912 _lwp_create \
15913 _lwp_self \
15914 _pclose \
15915 _popen \
15916 _snprintf \
15917 _spawnvp \
15918 _stricmp \
15919 _strnicmp \
15920 _vsnprintf \
15921 chsize \
15922 clone \
15923 finite \
15924 fpclass \
15925 fstatfs \
15926 fstatvfs \
15927 ftruncate \
15928 ftruncate64 \
15929 futimes \
15930 getnetbyaddr \
15931 getnetbyname \
15932 getopt_long \
15933 getpagesize \
15934 getprotobyname \
15935 getprotobynumber \
15936 getpwuid \
15937 getservbyport \
15938 gettid \
15939 gettimeofday \
15940 inet_network \
15941 lseek64 \
15942 lstat \
15943 memmove \
15944 mmap \
15945 pclose \
15946 popen \
15947 pread \
15948 pwrite \
15949 readlink \
15950 rfork \
15951 select \
15952 sendmsg \
15953 settimeofday \
15954 sigaltstack \
15955 snprintf \
15956 spawnvp \
15957 statfs \
15958 statvfs \
15959 strcasecmp \
15960 strerror \
15961 strncasecmp \
15962 tcgetattr \
15963 timegm \
15964 usleep \
15965 vfscanf \
15966 vsnprintf \
15967 wait4 \
15968 waitpid \
15971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15972 echo "$as_me:$LINENO: checking for $ac_func" >&5
15973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15974 if eval "test \"\${$as_ac_var+set}\" = set"; then
15975 echo $ECHO_N "(cached) $ECHO_C" >&6
15976 else
15977 cat >conftest.$ac_ext <<_ACEOF
15978 /* confdefs.h. */
15979 _ACEOF
15980 cat confdefs.h >>conftest.$ac_ext
15981 cat >>conftest.$ac_ext <<_ACEOF
15982 /* end confdefs.h. */
15983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15985 #define $ac_func innocuous_$ac_func
15987 /* System header to define __stub macros and hopefully few prototypes,
15988 which can conflict with char $ac_func (); below.
15989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15990 <limits.h> exists even on freestanding compilers. */
15992 #ifdef __STDC__
15993 # include <limits.h>
15994 #else
15995 # include <assert.h>
15996 #endif
15998 #undef $ac_func
16000 /* Override any gcc2 internal prototype to avoid an error. */
16001 #ifdef __cplusplus
16002 extern "C"
16004 #endif
16005 /* We use char because int might match the return type of a gcc2
16006 builtin and then its argument prototype would still apply. */
16007 char $ac_func ();
16008 /* The GNU C library defines this for functions which it implements
16009 to always fail with ENOSYS. Some functions are actually named
16010 something starting with __ and the normal name is an alias. */
16011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16012 choke me
16013 #else
16014 char (*f) () = $ac_func;
16015 #endif
16016 #ifdef __cplusplus
16018 #endif
16021 main ()
16023 return f != $ac_func;
16025 return 0;
16027 _ACEOF
16028 rm -f conftest.$ac_objext conftest$ac_exeext
16029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16030 (eval $ac_link) 2>conftest.er1
16031 ac_status=$?
16032 grep -v '^ *+' conftest.er1 >conftest.err
16033 rm -f conftest.er1
16034 cat conftest.err >&5
16035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036 (exit $ac_status); } &&
16037 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16039 (eval $ac_try) 2>&5
16040 ac_status=$?
16041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042 (exit $ac_status); }; } &&
16043 { ac_try='test -s conftest$ac_exeext'
16044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16045 (eval $ac_try) 2>&5
16046 ac_status=$?
16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16048 (exit $ac_status); }; }; then
16049 eval "$as_ac_var=yes"
16050 else
16051 echo "$as_me: failed program was:" >&5
16052 sed 's/^/| /' conftest.$ac_ext >&5
16054 eval "$as_ac_var=no"
16056 rm -f conftest.err conftest.$ac_objext \
16057 conftest$ac_exeext conftest.$ac_ext
16059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16061 if test `eval echo '${'$as_ac_var'}'` = yes; then
16062 cat >>confdefs.h <<_ACEOF
16063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16064 _ACEOF
16067 done
16158 for ac_header in \
16159 arpa/inet.h \
16160 arpa/nameser.h \
16161 cups/cups.h \
16162 direct.h \
16163 elf.h \
16164 float.h \
16165 fontconfig/fontconfig.h \
16166 getopt.h \
16167 gif_lib.h \
16168 ieeefp.h \
16169 io.h \
16170 jack/jack.h \
16171 jpeglib.h \
16172 libio.h \
16173 libutil.h \
16174 link.h \
16175 linux/cdrom.h \
16176 linux/hdreg.h \
16177 linux/input.h \
16178 linux/ioctl.h \
16179 linux/joystick.h \
16180 linux/major.h \
16181 linux/param.h \
16182 linux/serial.h \
16183 linux/ucdrom.h \
16184 machine/cpu.h \
16185 mntent.h \
16186 netdb.h \
16187 netinet/in.h \
16188 netinet/in_systm.h \
16189 netinet/tcp.h \
16190 netinet/tcp_fsm.h \
16191 openssl/ssl.h \
16192 process.h \
16193 pthread.h \
16194 pty.h \
16195 pwd.h \
16196 regex.h \
16197 sched.h \
16198 scsi/sg.h \
16199 scsi/scsi.h \
16200 scsi/scsi_ioctl.h \
16201 socket.h \
16202 stdint.h \
16203 strings.h \
16204 sys/cdio.h \
16205 sys/elf32.h \
16206 sys/errno.h \
16207 sys/exec_elf.h \
16208 sys/file.h \
16209 sys/filio.h \
16210 sys/inttypes.h \
16211 sys/ioctl.h \
16212 sys/ipc.h \
16213 sys/link.h \
16214 sys/lwp.h \
16215 sys/mman.h \
16216 sys/modem.h \
16217 sys/msg.h \
16218 sys/param.h \
16219 sys/poll.h \
16220 sys/ptrace.h \
16221 sys/reg.h \
16222 sys/scsiio.h \
16223 sys/shm.h \
16224 sys/signal.h \
16225 sys/socket.h \
16226 sys/sockio.h \
16227 sys/statfs.h \
16228 sys/statvfs.h \
16229 sys/strtio.h \
16230 sys/syscall.h \
16231 sys/sysctl.h \
16232 sys/time.h \
16233 sys/times.h \
16234 sys/uio.h \
16235 sys/un.h \
16236 sys/v86.h \
16237 sys/v86intr.h \
16238 sys/vfs.h \
16239 sys/vm86.h \
16240 sys/wait.h \
16241 syscall.h \
16242 termios.h \
16243 unistd.h \
16244 utime.h \
16245 valgrind/memcheck.h
16248 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16250 echo "$as_me:$LINENO: checking for $ac_header" >&5
16251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16253 echo $ECHO_N "(cached) $ECHO_C" >&6
16255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16257 else
16258 # Is the header compilable?
16259 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16260 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16261 cat >conftest.$ac_ext <<_ACEOF
16262 /* confdefs.h. */
16263 _ACEOF
16264 cat confdefs.h >>conftest.$ac_ext
16265 cat >>conftest.$ac_ext <<_ACEOF
16266 /* end confdefs.h. */
16267 $ac_includes_default
16268 #include <$ac_header>
16269 _ACEOF
16270 rm -f conftest.$ac_objext
16271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16272 (eval $ac_compile) 2>conftest.er1
16273 ac_status=$?
16274 grep -v '^ *+' conftest.er1 >conftest.err
16275 rm -f conftest.er1
16276 cat conftest.err >&5
16277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16278 (exit $ac_status); } &&
16279 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16281 (eval $ac_try) 2>&5
16282 ac_status=$?
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); }; } &&
16285 { ac_try='test -s conftest.$ac_objext'
16286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16287 (eval $ac_try) 2>&5
16288 ac_status=$?
16289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16290 (exit $ac_status); }; }; then
16291 ac_header_compiler=yes
16292 else
16293 echo "$as_me: failed program was:" >&5
16294 sed 's/^/| /' conftest.$ac_ext >&5
16296 ac_header_compiler=no
16298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16299 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16300 echo "${ECHO_T}$ac_header_compiler" >&6
16302 # Is the header present?
16303 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16304 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16305 cat >conftest.$ac_ext <<_ACEOF
16306 /* confdefs.h. */
16307 _ACEOF
16308 cat confdefs.h >>conftest.$ac_ext
16309 cat >>conftest.$ac_ext <<_ACEOF
16310 /* end confdefs.h. */
16311 #include <$ac_header>
16312 _ACEOF
16313 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16314 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16315 ac_status=$?
16316 grep -v '^ *+' conftest.er1 >conftest.err
16317 rm -f conftest.er1
16318 cat conftest.err >&5
16319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16320 (exit $ac_status); } >/dev/null; then
16321 if test -s conftest.err; then
16322 ac_cpp_err=$ac_c_preproc_warn_flag
16323 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16324 else
16325 ac_cpp_err=
16327 else
16328 ac_cpp_err=yes
16330 if test -z "$ac_cpp_err"; then
16331 ac_header_preproc=yes
16332 else
16333 echo "$as_me: failed program was:" >&5
16334 sed 's/^/| /' conftest.$ac_ext >&5
16336 ac_header_preproc=no
16338 rm -f conftest.err conftest.$ac_ext
16339 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16340 echo "${ECHO_T}$ac_header_preproc" >&6
16342 # So? What about this header?
16343 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16344 yes:no: )
16345 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16346 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16347 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16348 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16349 ac_header_preproc=yes
16351 no:yes:* )
16352 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16353 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16354 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16355 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16356 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16357 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16358 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16359 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16361 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16362 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16363 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16365 cat <<\_ASBOX
16366 ## ------------------------------------ ##
16367 ## Report this to wine-devel@winehq.org ##
16368 ## ------------------------------------ ##
16369 _ASBOX
16371 sed "s/^/$as_me: WARNING: /" >&2
16373 esac
16374 echo "$as_me:$LINENO: checking for $ac_header" >&5
16375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16377 echo $ECHO_N "(cached) $ECHO_C" >&6
16378 else
16379 eval "$as_ac_Header=\$ac_header_preproc"
16381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16382 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16385 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16386 cat >>confdefs.h <<_ACEOF
16387 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16388 _ACEOF
16392 done
16394 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
16395 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
16396 if test "${ac_cv_header_stat_broken+set}" = set; then
16397 echo $ECHO_N "(cached) $ECHO_C" >&6
16398 else
16399 cat >conftest.$ac_ext <<_ACEOF
16400 /* confdefs.h. */
16401 _ACEOF
16402 cat confdefs.h >>conftest.$ac_ext
16403 cat >>conftest.$ac_ext <<_ACEOF
16404 /* end confdefs.h. */
16405 #include <sys/types.h>
16406 #include <sys/stat.h>
16408 #if defined(S_ISBLK) && defined(S_IFDIR)
16409 # if S_ISBLK (S_IFDIR)
16410 You lose.
16411 # endif
16412 #endif
16414 #if defined(S_ISBLK) && defined(S_IFCHR)
16415 # if S_ISBLK (S_IFCHR)
16416 You lose.
16417 # endif
16418 #endif
16420 #if defined(S_ISLNK) && defined(S_IFREG)
16421 # if S_ISLNK (S_IFREG)
16422 You lose.
16423 # endif
16424 #endif
16426 #if defined(S_ISSOCK) && defined(S_IFREG)
16427 # if S_ISSOCK (S_IFREG)
16428 You lose.
16429 # endif
16430 #endif
16432 _ACEOF
16433 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16434 $EGREP "You lose" >/dev/null 2>&1; then
16435 ac_cv_header_stat_broken=yes
16436 else
16437 ac_cv_header_stat_broken=no
16439 rm -f conftest*
16442 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
16443 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
16444 if test $ac_cv_header_stat_broken = yes; then
16446 cat >>confdefs.h <<\_ACEOF
16447 #define STAT_MACROS_BROKEN 1
16448 _ACEOF
16456 for ac_header in sys/mount.h sys/user.h
16458 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16459 echo "$as_me:$LINENO: checking for $ac_header" >&5
16460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16462 echo $ECHO_N "(cached) $ECHO_C" >&6
16463 else
16464 cat >conftest.$ac_ext <<_ACEOF
16465 /* confdefs.h. */
16466 _ACEOF
16467 cat confdefs.h >>conftest.$ac_ext
16468 cat >>conftest.$ac_ext <<_ACEOF
16469 /* end confdefs.h. */
16470 #include <sys/types.h>
16471 #if HAVE_SYS_PARAM_H
16472 # include <sys/param.h>
16473 #endif
16475 #include <$ac_header>
16476 _ACEOF
16477 rm -f conftest.$ac_objext
16478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16479 (eval $ac_compile) 2>conftest.er1
16480 ac_status=$?
16481 grep -v '^ *+' conftest.er1 >conftest.err
16482 rm -f conftest.er1
16483 cat conftest.err >&5
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); } &&
16486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16488 (eval $ac_try) 2>&5
16489 ac_status=$?
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); }; } &&
16492 { ac_try='test -s conftest.$ac_objext'
16493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16494 (eval $ac_try) 2>&5
16495 ac_status=$?
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); }; }; then
16498 eval "$as_ac_Header=yes"
16499 else
16500 echo "$as_me: failed program was:" >&5
16501 sed 's/^/| /' conftest.$ac_ext >&5
16503 eval "$as_ac_Header=no"
16505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16508 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16509 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16510 cat >>confdefs.h <<_ACEOF
16511 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16512 _ACEOF
16516 done
16524 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h
16526 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16527 echo "$as_me:$LINENO: checking for $ac_header" >&5
16528 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16529 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16530 echo $ECHO_N "(cached) $ECHO_C" >&6
16531 else
16532 cat >conftest.$ac_ext <<_ACEOF
16533 /* confdefs.h. */
16534 _ACEOF
16535 cat confdefs.h >>conftest.$ac_ext
16536 cat >>conftest.$ac_ext <<_ACEOF
16537 /* end confdefs.h. */
16538 #include <sys/types.h>
16539 #if HAVE_SYS_SOCKET_H
16540 # include <sys/socket.h>
16541 #endif
16543 #include <$ac_header>
16544 _ACEOF
16545 rm -f conftest.$ac_objext
16546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16547 (eval $ac_compile) 2>conftest.er1
16548 ac_status=$?
16549 grep -v '^ *+' conftest.er1 >conftest.err
16550 rm -f conftest.er1
16551 cat conftest.err >&5
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); } &&
16554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16556 (eval $ac_try) 2>&5
16557 ac_status=$?
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); }; } &&
16560 { ac_try='test -s conftest.$ac_objext'
16561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16562 (eval $ac_try) 2>&5
16563 ac_status=$?
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); }; }; then
16566 eval "$as_ac_Header=yes"
16567 else
16568 echo "$as_me: failed program was:" >&5
16569 sed 's/^/| /' conftest.$ac_ext >&5
16571 eval "$as_ac_Header=no"
16573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16576 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16577 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16578 cat >>confdefs.h <<_ACEOF
16579 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16580 _ACEOF
16584 done
16588 for ac_header in resolv.h
16590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16591 echo "$as_me:$LINENO: checking for $ac_header" >&5
16592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16594 echo $ECHO_N "(cached) $ECHO_C" >&6
16595 else
16596 cat >conftest.$ac_ext <<_ACEOF
16597 /* confdefs.h. */
16598 _ACEOF
16599 cat confdefs.h >>conftest.$ac_ext
16600 cat >>conftest.$ac_ext <<_ACEOF
16601 /* end confdefs.h. */
16602 #include <sys/types.h>
16603 #if HAVE_SYS_SOCKET_H
16604 # include <sys/socket.h>
16605 #endif
16606 #if HAVE_NETINET_IN_H
16607 # include <netinet/in.h>
16608 #endif
16609 #if HAVE_ARPA_NAMESER_H
16610 # include <arpa/nameser.h>
16611 #endif
16613 #include <$ac_header>
16614 _ACEOF
16615 rm -f conftest.$ac_objext
16616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16617 (eval $ac_compile) 2>conftest.er1
16618 ac_status=$?
16619 grep -v '^ *+' conftest.er1 >conftest.err
16620 rm -f conftest.er1
16621 cat conftest.err >&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } &&
16624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16626 (eval $ac_try) 2>&5
16627 ac_status=$?
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); }; } &&
16630 { ac_try='test -s conftest.$ac_objext'
16631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16632 (eval $ac_try) 2>&5
16633 ac_status=$?
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); }; }; then
16636 eval "$as_ac_Header=yes"
16637 else
16638 echo "$as_me: failed program was:" >&5
16639 sed 's/^/| /' conftest.$ac_ext >&5
16641 eval "$as_ac_Header=no"
16643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16647 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16648 cat >>confdefs.h <<_ACEOF
16649 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16650 _ACEOF
16654 done
16658 for ac_header in netinet/ip.h
16660 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16661 echo "$as_me:$LINENO: checking for $ac_header" >&5
16662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16664 echo $ECHO_N "(cached) $ECHO_C" >&6
16665 else
16666 cat >conftest.$ac_ext <<_ACEOF
16667 /* confdefs.h. */
16668 _ACEOF
16669 cat confdefs.h >>conftest.$ac_ext
16670 cat >>conftest.$ac_ext <<_ACEOF
16671 /* end confdefs.h. */
16672 #include <sys/types.h>
16673 #if HAVE_SYS_SOCKET_H
16674 # include <sys/socket.h>
16675 #endif
16676 #if HAVE_NETINET_IN_SYSTM_H
16677 # include <netinet/in_systm.h>
16678 #endif
16680 #include <$ac_header>
16681 _ACEOF
16682 rm -f conftest.$ac_objext
16683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16684 (eval $ac_compile) 2>conftest.er1
16685 ac_status=$?
16686 grep -v '^ *+' conftest.er1 >conftest.err
16687 rm -f conftest.er1
16688 cat conftest.err >&5
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); } &&
16691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16693 (eval $ac_try) 2>&5
16694 ac_status=$?
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); }; } &&
16697 { ac_try='test -s conftest.$ac_objext'
16698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16699 (eval $ac_try) 2>&5
16700 ac_status=$?
16701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702 (exit $ac_status); }; }; then
16703 eval "$as_ac_Header=yes"
16704 else
16705 echo "$as_me: failed program was:" >&5
16706 sed 's/^/| /' conftest.$ac_ext >&5
16708 eval "$as_ac_Header=no"
16710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16715 cat >>confdefs.h <<_ACEOF
16716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16717 _ACEOF
16721 done
16725 for ac_header in ucontext.h
16727 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16728 echo "$as_me:$LINENO: checking for $ac_header" >&5
16729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16731 echo $ECHO_N "(cached) $ECHO_C" >&6
16732 else
16733 cat >conftest.$ac_ext <<_ACEOF
16734 /* confdefs.h. */
16735 _ACEOF
16736 cat confdefs.h >>conftest.$ac_ext
16737 cat >>conftest.$ac_ext <<_ACEOF
16738 /* end confdefs.h. */
16739 #include <signal.h>
16741 #include <$ac_header>
16742 _ACEOF
16743 rm -f conftest.$ac_objext
16744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16745 (eval $ac_compile) 2>conftest.er1
16746 ac_status=$?
16747 grep -v '^ *+' conftest.er1 >conftest.err
16748 rm -f conftest.er1
16749 cat conftest.err >&5
16750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751 (exit $ac_status); } &&
16752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16754 (eval $ac_try) 2>&5
16755 ac_status=$?
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); }; } &&
16758 { ac_try='test -s conftest.$ac_objext'
16759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16760 (eval $ac_try) 2>&5
16761 ac_status=$?
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); }; }; then
16764 eval "$as_ac_Header=yes"
16765 else
16766 echo "$as_me: failed program was:" >&5
16767 sed 's/^/| /' conftest.$ac_ext >&5
16769 eval "$as_ac_Header=no"
16771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16775 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16776 cat >>confdefs.h <<_ACEOF
16777 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16778 _ACEOF
16782 done
16786 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
16787 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
16788 if test "${ac_cv_c_ipx_gnu+set}" = set; then
16789 echo $ECHO_N "(cached) $ECHO_C" >&6
16790 else
16791 cat >conftest.$ac_ext <<_ACEOF
16792 /* confdefs.h. */
16793 _ACEOF
16794 cat confdefs.h >>conftest.$ac_ext
16795 cat >>conftest.$ac_ext <<_ACEOF
16796 /* end confdefs.h. */
16797 #include <sys/types.h>
16798 #ifdef HAVE_SYS_SOCKET_H
16799 # include <sys/socket.h>
16800 #endif
16801 #include <netipx/ipx.h>
16803 main ()
16805 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16807 return 0;
16809 _ACEOF
16810 rm -f conftest.$ac_objext
16811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16812 (eval $ac_compile) 2>conftest.er1
16813 ac_status=$?
16814 grep -v '^ *+' conftest.er1 >conftest.err
16815 rm -f conftest.er1
16816 cat conftest.err >&5
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); } &&
16819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16821 (eval $ac_try) 2>&5
16822 ac_status=$?
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); }; } &&
16825 { ac_try='test -s conftest.$ac_objext'
16826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16827 (eval $ac_try) 2>&5
16828 ac_status=$?
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); }; }; then
16831 ac_cv_c_ipx_gnu="yes"
16832 else
16833 echo "$as_me: failed program was:" >&5
16834 sed 's/^/| /' conftest.$ac_ext >&5
16836 ac_cv_c_ipx_gnu="no"
16838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16841 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
16842 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
16843 if test "$ac_cv_c_ipx_gnu" = "yes"
16844 then
16846 cat >>confdefs.h <<\_ACEOF
16847 #define HAVE_IPX_GNU 1
16848 _ACEOF
16852 if test "$ac_cv_c_ipx_gnu" = "no"
16853 then
16854 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
16855 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
16856 if test "${ac_cv_c_ipx_linux+set}" = set; then
16857 echo $ECHO_N "(cached) $ECHO_C" >&6
16858 else
16859 cat >conftest.$ac_ext <<_ACEOF
16860 /* confdefs.h. */
16861 _ACEOF
16862 cat confdefs.h >>conftest.$ac_ext
16863 cat >>conftest.$ac_ext <<_ACEOF
16864 /* end confdefs.h. */
16865 #include <sys/types.h>
16866 #ifdef HAVE_SYS_SOCKET_H
16867 # include <sys/socket.h>
16868 #endif
16869 #include <asm/types.h>
16870 #include <linux/ipx.h>
16872 main ()
16874 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16876 return 0;
16878 _ACEOF
16879 rm -f conftest.$ac_objext
16880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16881 (eval $ac_compile) 2>conftest.er1
16882 ac_status=$?
16883 grep -v '^ *+' conftest.er1 >conftest.err
16884 rm -f conftest.er1
16885 cat conftest.err >&5
16886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16887 (exit $ac_status); } &&
16888 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16890 (eval $ac_try) 2>&5
16891 ac_status=$?
16892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16893 (exit $ac_status); }; } &&
16894 { ac_try='test -s conftest.$ac_objext'
16895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16896 (eval $ac_try) 2>&5
16897 ac_status=$?
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); }; }; then
16900 ac_cv_c_ipx_linux="yes"
16901 else
16902 echo "$as_me: failed program was:" >&5
16903 sed 's/^/| /' conftest.$ac_ext >&5
16905 ac_cv_c_ipx_linux="no"
16907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16910 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
16911 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
16912 if test "$ac_cv_c_ipx_linux" = "yes"
16913 then
16915 cat >>confdefs.h <<\_ACEOF
16916 #define HAVE_IPX_LINUX 1
16917 _ACEOF
16923 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16924 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16925 if test "${ac_cv_c_const+set}" = set; then
16926 echo $ECHO_N "(cached) $ECHO_C" >&6
16927 else
16928 cat >conftest.$ac_ext <<_ACEOF
16929 /* confdefs.h. */
16930 _ACEOF
16931 cat confdefs.h >>conftest.$ac_ext
16932 cat >>conftest.$ac_ext <<_ACEOF
16933 /* end confdefs.h. */
16936 main ()
16938 /* FIXME: Include the comments suggested by Paul. */
16939 #ifndef __cplusplus
16940 /* Ultrix mips cc rejects this. */
16941 typedef int charset[2];
16942 const charset x;
16943 /* SunOS 4.1.1 cc rejects this. */
16944 char const *const *ccp;
16945 char **p;
16946 /* NEC SVR4.0.2 mips cc rejects this. */
16947 struct point {int x, y;};
16948 static struct point const zero = {0,0};
16949 /* AIX XL C 1.02.0.0 rejects this.
16950 It does not let you subtract one const X* pointer from another in
16951 an arm of an if-expression whose if-part is not a constant
16952 expression */
16953 const char *g = "string";
16954 ccp = &g + (g ? g-g : 0);
16955 /* HPUX 7.0 cc rejects these. */
16956 ++ccp;
16957 p = (char**) ccp;
16958 ccp = (char const *const *) p;
16959 { /* SCO 3.2v4 cc rejects this. */
16960 char *t;
16961 char const *s = 0 ? (char *) 0 : (char const *) 0;
16963 *t++ = 0;
16965 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16966 int x[] = {25, 17};
16967 const int *foo = &x[0];
16968 ++foo;
16970 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16971 typedef const int *iptr;
16972 iptr p = 0;
16973 ++p;
16975 { /* AIX XL C 1.02.0.0 rejects this saying
16976 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16977 struct s { int j; const int *ap[3]; };
16978 struct s *b; b->j = 5;
16980 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16981 const int foo = 10;
16983 #endif
16986 return 0;
16988 _ACEOF
16989 rm -f conftest.$ac_objext
16990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16991 (eval $ac_compile) 2>conftest.er1
16992 ac_status=$?
16993 grep -v '^ *+' conftest.er1 >conftest.err
16994 rm -f conftest.er1
16995 cat conftest.err >&5
16996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997 (exit $ac_status); } &&
16998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17000 (eval $ac_try) 2>&5
17001 ac_status=$?
17002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17003 (exit $ac_status); }; } &&
17004 { ac_try='test -s conftest.$ac_objext'
17005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17006 (eval $ac_try) 2>&5
17007 ac_status=$?
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); }; }; then
17010 ac_cv_c_const=yes
17011 else
17012 echo "$as_me: failed program was:" >&5
17013 sed 's/^/| /' conftest.$ac_ext >&5
17015 ac_cv_c_const=no
17017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17019 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17020 echo "${ECHO_T}$ac_cv_c_const" >&6
17021 if test $ac_cv_c_const = no; then
17023 cat >>confdefs.h <<\_ACEOF
17024 #define const
17025 _ACEOF
17029 echo "$as_me:$LINENO: checking for inline" >&5
17030 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17031 if test "${ac_cv_c_inline+set}" = set; then
17032 echo $ECHO_N "(cached) $ECHO_C" >&6
17033 else
17034 ac_cv_c_inline=no
17035 for ac_kw in inline __inline__ __inline; do
17036 cat >conftest.$ac_ext <<_ACEOF
17037 /* confdefs.h. */
17038 _ACEOF
17039 cat confdefs.h >>conftest.$ac_ext
17040 cat >>conftest.$ac_ext <<_ACEOF
17041 /* end confdefs.h. */
17042 #ifndef __cplusplus
17043 typedef int foo_t;
17044 static $ac_kw foo_t static_foo () {return 0; }
17045 $ac_kw foo_t foo () {return 0; }
17046 #endif
17048 _ACEOF
17049 rm -f conftest.$ac_objext
17050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17051 (eval $ac_compile) 2>conftest.er1
17052 ac_status=$?
17053 grep -v '^ *+' conftest.er1 >conftest.err
17054 rm -f conftest.er1
17055 cat conftest.err >&5
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); } &&
17058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17060 (eval $ac_try) 2>&5
17061 ac_status=$?
17062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); }; } &&
17064 { ac_try='test -s conftest.$ac_objext'
17065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17066 (eval $ac_try) 2>&5
17067 ac_status=$?
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); }; }; then
17070 ac_cv_c_inline=$ac_kw; break
17071 else
17072 echo "$as_me: failed program was:" >&5
17073 sed 's/^/| /' conftest.$ac_ext >&5
17076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17077 done
17080 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17081 echo "${ECHO_T}$ac_cv_c_inline" >&6
17084 case $ac_cv_c_inline in
17085 inline | yes) ;;
17087 case $ac_cv_c_inline in
17088 no) ac_val=;;
17089 *) ac_val=$ac_cv_c_inline;;
17090 esac
17091 cat >>confdefs.h <<_ACEOF
17092 #ifndef __cplusplus
17093 #define inline $ac_val
17094 #endif
17095 _ACEOF
17097 esac
17099 echo "$as_me:$LINENO: checking for mode_t" >&5
17100 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
17101 if test "${ac_cv_type_mode_t+set}" = set; then
17102 echo $ECHO_N "(cached) $ECHO_C" >&6
17103 else
17104 cat >conftest.$ac_ext <<_ACEOF
17105 /* confdefs.h. */
17106 _ACEOF
17107 cat confdefs.h >>conftest.$ac_ext
17108 cat >>conftest.$ac_ext <<_ACEOF
17109 /* end confdefs.h. */
17110 $ac_includes_default
17112 main ()
17114 if ((mode_t *) 0)
17115 return 0;
17116 if (sizeof (mode_t))
17117 return 0;
17119 return 0;
17121 _ACEOF
17122 rm -f conftest.$ac_objext
17123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17124 (eval $ac_compile) 2>conftest.er1
17125 ac_status=$?
17126 grep -v '^ *+' conftest.er1 >conftest.err
17127 rm -f conftest.er1
17128 cat conftest.err >&5
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); } &&
17131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17133 (eval $ac_try) 2>&5
17134 ac_status=$?
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); }; } &&
17137 { ac_try='test -s conftest.$ac_objext'
17138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17139 (eval $ac_try) 2>&5
17140 ac_status=$?
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 (exit $ac_status); }; }; then
17143 ac_cv_type_mode_t=yes
17144 else
17145 echo "$as_me: failed program was:" >&5
17146 sed 's/^/| /' conftest.$ac_ext >&5
17148 ac_cv_type_mode_t=no
17150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17152 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17153 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
17154 if test $ac_cv_type_mode_t = yes; then
17156 cat >>confdefs.h <<_ACEOF
17157 #define HAVE_MODE_T 1
17158 _ACEOF
17162 echo "$as_me:$LINENO: checking for off_t" >&5
17163 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
17164 if test "${ac_cv_type_off_t+set}" = set; then
17165 echo $ECHO_N "(cached) $ECHO_C" >&6
17166 else
17167 cat >conftest.$ac_ext <<_ACEOF
17168 /* confdefs.h. */
17169 _ACEOF
17170 cat confdefs.h >>conftest.$ac_ext
17171 cat >>conftest.$ac_ext <<_ACEOF
17172 /* end confdefs.h. */
17173 $ac_includes_default
17175 main ()
17177 if ((off_t *) 0)
17178 return 0;
17179 if (sizeof (off_t))
17180 return 0;
17182 return 0;
17184 _ACEOF
17185 rm -f conftest.$ac_objext
17186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17187 (eval $ac_compile) 2>conftest.er1
17188 ac_status=$?
17189 grep -v '^ *+' conftest.er1 >conftest.err
17190 rm -f conftest.er1
17191 cat conftest.err >&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } &&
17194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196 (eval $ac_try) 2>&5
17197 ac_status=$?
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; } &&
17200 { ac_try='test -s conftest.$ac_objext'
17201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17202 (eval $ac_try) 2>&5
17203 ac_status=$?
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); }; }; then
17206 ac_cv_type_off_t=yes
17207 else
17208 echo "$as_me: failed program was:" >&5
17209 sed 's/^/| /' conftest.$ac_ext >&5
17211 ac_cv_type_off_t=no
17213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17215 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17216 echo "${ECHO_T}$ac_cv_type_off_t" >&6
17217 if test $ac_cv_type_off_t = yes; then
17219 cat >>confdefs.h <<_ACEOF
17220 #define HAVE_OFF_T 1
17221 _ACEOF
17225 echo "$as_me:$LINENO: checking for pid_t" >&5
17226 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17227 if test "${ac_cv_type_pid_t+set}" = set; then
17228 echo $ECHO_N "(cached) $ECHO_C" >&6
17229 else
17230 cat >conftest.$ac_ext <<_ACEOF
17231 /* confdefs.h. */
17232 _ACEOF
17233 cat confdefs.h >>conftest.$ac_ext
17234 cat >>conftest.$ac_ext <<_ACEOF
17235 /* end confdefs.h. */
17236 $ac_includes_default
17238 main ()
17240 if ((pid_t *) 0)
17241 return 0;
17242 if (sizeof (pid_t))
17243 return 0;
17245 return 0;
17247 _ACEOF
17248 rm -f conftest.$ac_objext
17249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17250 (eval $ac_compile) 2>conftest.er1
17251 ac_status=$?
17252 grep -v '^ *+' conftest.er1 >conftest.err
17253 rm -f conftest.er1
17254 cat conftest.err >&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } &&
17257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17259 (eval $ac_try) 2>&5
17260 ac_status=$?
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); }; } &&
17263 { ac_try='test -s conftest.$ac_objext'
17264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17265 (eval $ac_try) 2>&5
17266 ac_status=$?
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); }; }; then
17269 ac_cv_type_pid_t=yes
17270 else
17271 echo "$as_me: failed program was:" >&5
17272 sed 's/^/| /' conftest.$ac_ext >&5
17274 ac_cv_type_pid_t=no
17276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17278 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17279 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
17280 if test $ac_cv_type_pid_t = yes; then
17282 cat >>confdefs.h <<_ACEOF
17283 #define HAVE_PID_T 1
17284 _ACEOF
17288 echo "$as_me:$LINENO: checking for size_t" >&5
17289 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17290 if test "${ac_cv_type_size_t+set}" = set; then
17291 echo $ECHO_N "(cached) $ECHO_C" >&6
17292 else
17293 cat >conftest.$ac_ext <<_ACEOF
17294 /* confdefs.h. */
17295 _ACEOF
17296 cat confdefs.h >>conftest.$ac_ext
17297 cat >>conftest.$ac_ext <<_ACEOF
17298 /* end confdefs.h. */
17299 $ac_includes_default
17301 main ()
17303 if ((size_t *) 0)
17304 return 0;
17305 if (sizeof (size_t))
17306 return 0;
17308 return 0;
17310 _ACEOF
17311 rm -f conftest.$ac_objext
17312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17313 (eval $ac_compile) 2>conftest.er1
17314 ac_status=$?
17315 grep -v '^ *+' conftest.er1 >conftest.err
17316 rm -f conftest.er1
17317 cat conftest.err >&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } &&
17320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17322 (eval $ac_try) 2>&5
17323 ac_status=$?
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); }; } &&
17326 { ac_try='test -s conftest.$ac_objext'
17327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17328 (eval $ac_try) 2>&5
17329 ac_status=$?
17330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17331 (exit $ac_status); }; }; then
17332 ac_cv_type_size_t=yes
17333 else
17334 echo "$as_me: failed program was:" >&5
17335 sed 's/^/| /' conftest.$ac_ext >&5
17337 ac_cv_type_size_t=no
17339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17341 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17342 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17343 if test $ac_cv_type_size_t = yes; then
17345 cat >>confdefs.h <<_ACEOF
17346 #define HAVE_SIZE_T 1
17347 _ACEOF
17351 echo "$as_me:$LINENO: checking for ssize_t" >&5
17352 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17353 if test "${ac_cv_type_ssize_t+set}" = set; then
17354 echo $ECHO_N "(cached) $ECHO_C" >&6
17355 else
17356 cat >conftest.$ac_ext <<_ACEOF
17357 /* confdefs.h. */
17358 _ACEOF
17359 cat confdefs.h >>conftest.$ac_ext
17360 cat >>conftest.$ac_ext <<_ACEOF
17361 /* end confdefs.h. */
17362 $ac_includes_default
17364 main ()
17366 if ((ssize_t *) 0)
17367 return 0;
17368 if (sizeof (ssize_t))
17369 return 0;
17371 return 0;
17373 _ACEOF
17374 rm -f conftest.$ac_objext
17375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17376 (eval $ac_compile) 2>conftest.er1
17377 ac_status=$?
17378 grep -v '^ *+' conftest.er1 >conftest.err
17379 rm -f conftest.er1
17380 cat conftest.err >&5
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); } &&
17383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17385 (eval $ac_try) 2>&5
17386 ac_status=$?
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); }; } &&
17389 { ac_try='test -s conftest.$ac_objext'
17390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17391 (eval $ac_try) 2>&5
17392 ac_status=$?
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; }; then
17395 ac_cv_type_ssize_t=yes
17396 else
17397 echo "$as_me: failed program was:" >&5
17398 sed 's/^/| /' conftest.$ac_ext >&5
17400 ac_cv_type_ssize_t=no
17402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17404 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17405 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
17406 if test $ac_cv_type_ssize_t = yes; then
17408 cat >>confdefs.h <<_ACEOF
17409 #define HAVE_SSIZE_T 1
17410 _ACEOF
17414 echo "$as_me:$LINENO: checking for long long" >&5
17415 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17416 if test "${ac_cv_type_long_long+set}" = set; then
17417 echo $ECHO_N "(cached) $ECHO_C" >&6
17418 else
17419 cat >conftest.$ac_ext <<_ACEOF
17420 /* confdefs.h. */
17421 _ACEOF
17422 cat confdefs.h >>conftest.$ac_ext
17423 cat >>conftest.$ac_ext <<_ACEOF
17424 /* end confdefs.h. */
17425 $ac_includes_default
17427 main ()
17429 if ((long long *) 0)
17430 return 0;
17431 if (sizeof (long long))
17432 return 0;
17434 return 0;
17436 _ACEOF
17437 rm -f conftest.$ac_objext
17438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17439 (eval $ac_compile) 2>conftest.er1
17440 ac_status=$?
17441 grep -v '^ *+' conftest.er1 >conftest.err
17442 rm -f conftest.er1
17443 cat conftest.err >&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); } &&
17446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17448 (eval $ac_try) 2>&5
17449 ac_status=$?
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); }; } &&
17452 { ac_try='test -s conftest.$ac_objext'
17453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17454 (eval $ac_try) 2>&5
17455 ac_status=$?
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); }; }; then
17458 ac_cv_type_long_long=yes
17459 else
17460 echo "$as_me: failed program was:" >&5
17461 sed 's/^/| /' conftest.$ac_ext >&5
17463 ac_cv_type_long_long=no
17465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17467 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17468 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17469 if test $ac_cv_type_long_long = yes; then
17471 cat >>confdefs.h <<_ACEOF
17472 #define HAVE_LONG_LONG 1
17473 _ACEOF
17477 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17478 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
17479 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17480 echo $ECHO_N "(cached) $ECHO_C" >&6
17481 else
17482 cat >conftest.$ac_ext <<_ACEOF
17483 /* confdefs.h. */
17484 _ACEOF
17485 cat confdefs.h >>conftest.$ac_ext
17486 cat >>conftest.$ac_ext <<_ACEOF
17487 /* end confdefs.h. */
17488 $ac_includes_default
17490 main ()
17492 if ((fsblkcnt_t *) 0)
17493 return 0;
17494 if (sizeof (fsblkcnt_t))
17495 return 0;
17497 return 0;
17499 _ACEOF
17500 rm -f conftest.$ac_objext
17501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17502 (eval $ac_compile) 2>conftest.er1
17503 ac_status=$?
17504 grep -v '^ *+' conftest.er1 >conftest.err
17505 rm -f conftest.er1
17506 cat conftest.err >&5
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); } &&
17509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17511 (eval $ac_try) 2>&5
17512 ac_status=$?
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); }; } &&
17515 { ac_try='test -s conftest.$ac_objext'
17516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17517 (eval $ac_try) 2>&5
17518 ac_status=$?
17519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 (exit $ac_status); }; }; then
17521 ac_cv_type_fsblkcnt_t=yes
17522 else
17523 echo "$as_me: failed program was:" >&5
17524 sed 's/^/| /' conftest.$ac_ext >&5
17526 ac_cv_type_fsblkcnt_t=no
17528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17530 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17531 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
17532 if test $ac_cv_type_fsblkcnt_t = yes; then
17534 cat >>confdefs.h <<_ACEOF
17535 #define HAVE_FSBLKCNT_T 1
17536 _ACEOF
17540 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17541 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
17542 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17543 echo $ECHO_N "(cached) $ECHO_C" >&6
17544 else
17545 cat >conftest.$ac_ext <<_ACEOF
17546 /* confdefs.h. */
17547 _ACEOF
17548 cat confdefs.h >>conftest.$ac_ext
17549 cat >>conftest.$ac_ext <<_ACEOF
17550 /* end confdefs.h. */
17551 $ac_includes_default
17553 main ()
17555 if ((fsfilcnt_t *) 0)
17556 return 0;
17557 if (sizeof (fsfilcnt_t))
17558 return 0;
17560 return 0;
17562 _ACEOF
17563 rm -f conftest.$ac_objext
17564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17565 (eval $ac_compile) 2>conftest.er1
17566 ac_status=$?
17567 grep -v '^ *+' conftest.er1 >conftest.err
17568 rm -f conftest.er1
17569 cat conftest.err >&5
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); } &&
17572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17574 (eval $ac_try) 2>&5
17575 ac_status=$?
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); }; } &&
17578 { ac_try='test -s conftest.$ac_objext'
17579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17580 (eval $ac_try) 2>&5
17581 ac_status=$?
17582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583 (exit $ac_status); }; }; then
17584 ac_cv_type_fsfilcnt_t=yes
17585 else
17586 echo "$as_me: failed program was:" >&5
17587 sed 's/^/| /' conftest.$ac_ext >&5
17589 ac_cv_type_fsfilcnt_t=no
17591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17593 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17594 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
17595 if test $ac_cv_type_fsfilcnt_t = yes; then
17597 cat >>confdefs.h <<_ACEOF
17598 #define HAVE_FSFILCNT_T 1
17599 _ACEOF
17605 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17606 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17607 if test "${wine_cv_linux_input_h+set}" = set; then
17608 echo $ECHO_N "(cached) $ECHO_C" >&6
17609 else
17610 cat >conftest.$ac_ext <<_ACEOF
17611 /* confdefs.h. */
17612 _ACEOF
17613 cat confdefs.h >>conftest.$ac_ext
17614 cat >>conftest.$ac_ext <<_ACEOF
17615 /* end confdefs.h. */
17617 #include <linux/input.h>
17620 main ()
17623 int foo = EVIOCGBIT(EV_ABS,42);
17624 int bar = BTN_PINKIE;
17625 int fortytwo = 42;
17628 return 0;
17630 _ACEOF
17631 rm -f conftest.$ac_objext
17632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17633 (eval $ac_compile) 2>conftest.er1
17634 ac_status=$?
17635 grep -v '^ *+' conftest.er1 >conftest.err
17636 rm -f conftest.er1
17637 cat conftest.err >&5
17638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639 (exit $ac_status); } &&
17640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17642 (eval $ac_try) 2>&5
17643 ac_status=$?
17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); }; } &&
17646 { ac_try='test -s conftest.$ac_objext'
17647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17648 (eval $ac_try) 2>&5
17649 ac_status=$?
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); }; }; then
17652 wine_cv_linux_input_h=yes
17653 else
17654 echo "$as_me: failed program was:" >&5
17655 sed 's/^/| /' conftest.$ac_ext >&5
17657 wine_cv_linux_input_h=no
17659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17662 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
17663 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
17664 if test "$wine_cv_linux_input_h" = "yes"
17665 then
17667 cat >>confdefs.h <<\_ACEOF
17668 #define HAVE_CORRECT_LINUXINPUT_H 1
17669 _ACEOF
17674 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17675 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
17676 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17677 echo $ECHO_N "(cached) $ECHO_C" >&6
17678 else
17679 cat >conftest.$ac_ext <<_ACEOF
17680 /* confdefs.h. */
17681 _ACEOF
17682 cat confdefs.h >>conftest.$ac_ext
17683 cat >>conftest.$ac_ext <<_ACEOF
17684 /* end confdefs.h. */
17686 #include <netdb.h>
17689 main ()
17692 char *name=NULL;
17693 struct hostent he;
17694 struct hostent *result;
17695 char *buf=NULL;
17696 int bufsize=0;
17697 int res,errnr;
17698 char *addr=NULL;
17699 int addrlen=0;
17700 int addrtype=0;
17701 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17702 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17705 return 0;
17707 _ACEOF
17708 rm -f conftest.$ac_objext conftest$ac_exeext
17709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17710 (eval $ac_link) 2>conftest.er1
17711 ac_status=$?
17712 grep -v '^ *+' conftest.er1 >conftest.err
17713 rm -f conftest.er1
17714 cat conftest.err >&5
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); } &&
17717 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17719 (eval $ac_try) 2>&5
17720 ac_status=$?
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); }; } &&
17723 { ac_try='test -s conftest$ac_exeext'
17724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17725 (eval $ac_try) 2>&5
17726 ac_status=$?
17727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17728 (exit $ac_status); }; }; then
17729 wine_cv_linux_gethostbyname_r_6=yes
17730 else
17731 echo "$as_me: failed program was:" >&5
17732 sed 's/^/| /' conftest.$ac_ext >&5
17734 wine_cv_linux_gethostbyname_r_6=no
17737 rm -f conftest.err conftest.$ac_objext \
17738 conftest$ac_exeext conftest.$ac_ext
17741 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17742 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
17743 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17744 then
17746 cat >>confdefs.h <<\_ACEOF
17747 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17748 _ACEOF
17752 if test "$ac_cv_header_linux_joystick_h" = "yes"
17753 then
17754 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17755 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
17756 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17757 echo $ECHO_N "(cached) $ECHO_C" >&6
17758 else
17759 cat >conftest.$ac_ext <<_ACEOF
17760 /* confdefs.h. */
17761 _ACEOF
17762 cat confdefs.h >>conftest.$ac_ext
17763 cat >>conftest.$ac_ext <<_ACEOF
17764 /* end confdefs.h. */
17766 #include <sys/ioctl.h>
17767 #include <linux/joystick.h>
17769 struct js_event blub;
17770 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17771 #error "no 2.2 header"
17772 #endif
17775 main ()
17777 /*empty*/
17779 return 0;
17781 _ACEOF
17782 rm -f conftest.$ac_objext
17783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17784 (eval $ac_compile) 2>conftest.er1
17785 ac_status=$?
17786 grep -v '^ *+' conftest.er1 >conftest.err
17787 rm -f conftest.er1
17788 cat conftest.err >&5
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); } &&
17791 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17793 (eval $ac_try) 2>&5
17794 ac_status=$?
17795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17796 (exit $ac_status); }; } &&
17797 { ac_try='test -s conftest.$ac_objext'
17798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17799 (eval $ac_try) 2>&5
17800 ac_status=$?
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); }; }; then
17803 wine_cv_linux_joystick_22_api=yes
17804 else
17805 echo "$as_me: failed program was:" >&5
17806 sed 's/^/| /' conftest.$ac_ext >&5
17808 wine_cv_linux_joystick_22_api=no
17810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17813 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17814 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
17815 if test "$wine_cv_linux_joystick_22_api" = "yes"
17816 then
17818 cat >>confdefs.h <<\_ACEOF
17819 #define HAVE_LINUX_22_JOYSTICK_API 1
17820 _ACEOF
17826 if test "$ac_cv_header_sys_vfs_h" = "yes"
17827 then
17828 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
17829 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
17830 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
17831 echo $ECHO_N "(cached) $ECHO_C" >&6
17832 else
17833 cat >conftest.$ac_ext <<_ACEOF
17834 /* confdefs.h. */
17835 _ACEOF
17836 cat confdefs.h >>conftest.$ac_ext
17837 cat >>conftest.$ac_ext <<_ACEOF
17838 /* end confdefs.h. */
17840 #include <sys/types.h>
17841 #ifdef HAVE_SYS_PARAM_H
17842 # include <sys/param.h>
17843 #endif
17844 #include <sys/vfs.h>
17847 main ()
17850 struct statfs stfs;
17852 memset(&stfs,0,sizeof(stfs));
17855 return 0;
17857 _ACEOF
17858 rm -f conftest.$ac_objext
17859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17860 (eval $ac_compile) 2>conftest.er1
17861 ac_status=$?
17862 grep -v '^ *+' conftest.er1 >conftest.err
17863 rm -f conftest.er1
17864 cat conftest.err >&5
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); } &&
17867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17869 (eval $ac_try) 2>&5
17870 ac_status=$?
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); }; } &&
17873 { ac_try='test -s conftest.$ac_objext'
17874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17875 (eval $ac_try) 2>&5
17876 ac_status=$?
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); }; }; then
17879 wine_cv_sys_vfs_has_statfs=yes
17880 else
17881 echo "$as_me: failed program was:" >&5
17882 sed 's/^/| /' conftest.$ac_ext >&5
17884 wine_cv_sys_vfs_has_statfs=no
17887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17890 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
17891 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
17892 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
17893 then
17895 cat >>confdefs.h <<\_ACEOF
17896 #define STATFS_DEFINED_BY_SYS_VFS 1
17897 _ACEOF
17902 if test "$ac_cv_header_sys_statfs_h" = "yes"
17903 then
17904 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
17905 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
17906 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
17907 echo $ECHO_N "(cached) $ECHO_C" >&6
17908 else
17909 cat >conftest.$ac_ext <<_ACEOF
17910 /* confdefs.h. */
17911 _ACEOF
17912 cat confdefs.h >>conftest.$ac_ext
17913 cat >>conftest.$ac_ext <<_ACEOF
17914 /* end confdefs.h. */
17916 #include <sys/types.h>
17917 #ifdef HAVE_SYS_PARAM_H
17918 # include <sys/param.h>
17919 #endif
17920 #include <sys/statfs.h>
17923 main ()
17926 struct statfs stfs;
17929 return 0;
17931 _ACEOF
17932 rm -f conftest.$ac_objext
17933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17934 (eval $ac_compile) 2>conftest.er1
17935 ac_status=$?
17936 grep -v '^ *+' conftest.er1 >conftest.err
17937 rm -f conftest.er1
17938 cat conftest.err >&5
17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 (exit $ac_status); } &&
17941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17943 (eval $ac_try) 2>&5
17944 ac_status=$?
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); }; } &&
17947 { ac_try='test -s conftest.$ac_objext'
17948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17949 (eval $ac_try) 2>&5
17950 ac_status=$?
17951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17952 (exit $ac_status); }; }; then
17953 wine_cv_sys_statfs_has_statfs=yes
17954 else
17955 echo "$as_me: failed program was:" >&5
17956 sed 's/^/| /' conftest.$ac_ext >&5
17958 wine_cv_sys_statfs_has_statfs=no
17961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17964 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
17965 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
17966 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
17967 then
17969 cat >>confdefs.h <<\_ACEOF
17970 #define STATFS_DEFINED_BY_SYS_STATFS 1
17971 _ACEOF
17976 if test "$ac_cv_header_sys_mount_h" = "yes"
17977 then
17978 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
17979 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
17980 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
17981 echo $ECHO_N "(cached) $ECHO_C" >&6
17982 else
17983 cat >conftest.$ac_ext <<_ACEOF
17984 /* confdefs.h. */
17985 _ACEOF
17986 cat confdefs.h >>conftest.$ac_ext
17987 cat >>conftest.$ac_ext <<_ACEOF
17988 /* end confdefs.h. */
17990 #include <sys/types.h>
17991 #ifdef HAVE_SYS_PARAM_H
17992 # include <sys/param.h>
17993 #endif
17994 #include <sys/mount.h>
17997 main ()
18000 struct statfs stfs;
18003 return 0;
18005 _ACEOF
18006 rm -f conftest.$ac_objext
18007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18008 (eval $ac_compile) 2>conftest.er1
18009 ac_status=$?
18010 grep -v '^ *+' conftest.er1 >conftest.err
18011 rm -f conftest.er1
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
18018 ac_status=$?
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
18024 ac_status=$?
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); }; }; then
18027 wine_cv_sys_mount_has_statfs=yes
18028 else
18029 echo "$as_me: failed program was:" >&5
18030 sed 's/^/| /' conftest.$ac_ext >&5
18032 wine_cv_sys_mount_has_statfs=no
18035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18038 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
18039 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
18040 if test "$wine_cv_sys_mount_has_statfs" = "yes"
18041 then
18043 cat >>confdefs.h <<\_ACEOF
18044 #define STATFS_DEFINED_BY_SYS_MOUNT 1
18045 _ACEOF
18051 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18052 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
18053 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18054 echo $ECHO_N "(cached) $ECHO_C" >&6
18055 else
18056 cat >conftest.$ac_ext <<_ACEOF
18057 /* confdefs.h. */
18058 _ACEOF
18059 cat confdefs.h >>conftest.$ac_ext
18060 cat >>conftest.$ac_ext <<_ACEOF
18061 /* end confdefs.h. */
18062 #include <sys/types.h>
18063 #ifdef HAVE_SYS_PARAM_H
18064 # include <sys/param.h>
18065 #endif
18066 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18067 # include <sys/mount.h>
18068 #else
18069 # ifdef STATFS_DEFINED_BY_SYS_VFS
18070 # include <sys/vfs.h>
18071 # else
18072 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18073 # include <sys/statfs.h>
18074 # endif
18075 # endif
18076 #endif
18079 main ()
18081 static struct statfs ac_aggr;
18082 if (ac_aggr.f_bfree)
18083 return 0;
18085 return 0;
18087 _ACEOF
18088 rm -f conftest.$ac_objext
18089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18090 (eval $ac_compile) 2>conftest.er1
18091 ac_status=$?
18092 grep -v '^ *+' conftest.er1 >conftest.err
18093 rm -f conftest.er1
18094 cat conftest.err >&5
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); } &&
18097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18099 (eval $ac_try) 2>&5
18100 ac_status=$?
18101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102 (exit $ac_status); }; } &&
18103 { ac_try='test -s conftest.$ac_objext'
18104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18105 (eval $ac_try) 2>&5
18106 ac_status=$?
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); }; }; then
18109 ac_cv_member_struct_statfs_f_bfree=yes
18110 else
18111 echo "$as_me: failed program was:" >&5
18112 sed 's/^/| /' conftest.$ac_ext >&5
18114 cat >conftest.$ac_ext <<_ACEOF
18115 /* confdefs.h. */
18116 _ACEOF
18117 cat confdefs.h >>conftest.$ac_ext
18118 cat >>conftest.$ac_ext <<_ACEOF
18119 /* end confdefs.h. */
18120 #include <sys/types.h>
18121 #ifdef HAVE_SYS_PARAM_H
18122 # include <sys/param.h>
18123 #endif
18124 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18125 # include <sys/mount.h>
18126 #else
18127 # ifdef STATFS_DEFINED_BY_SYS_VFS
18128 # include <sys/vfs.h>
18129 # else
18130 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18131 # include <sys/statfs.h>
18132 # endif
18133 # endif
18134 #endif
18137 main ()
18139 static struct statfs ac_aggr;
18140 if (sizeof ac_aggr.f_bfree)
18141 return 0;
18143 return 0;
18145 _ACEOF
18146 rm -f conftest.$ac_objext
18147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18148 (eval $ac_compile) 2>conftest.er1
18149 ac_status=$?
18150 grep -v '^ *+' conftest.er1 >conftest.err
18151 rm -f conftest.er1
18152 cat conftest.err >&5
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); } &&
18155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18157 (eval $ac_try) 2>&5
18158 ac_status=$?
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); }; } &&
18161 { ac_try='test -s conftest.$ac_objext'
18162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18163 (eval $ac_try) 2>&5
18164 ac_status=$?
18165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166 (exit $ac_status); }; }; then
18167 ac_cv_member_struct_statfs_f_bfree=yes
18168 else
18169 echo "$as_me: failed program was:" >&5
18170 sed 's/^/| /' conftest.$ac_ext >&5
18172 ac_cv_member_struct_statfs_f_bfree=no
18174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18178 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18179 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
18180 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18182 cat >>confdefs.h <<_ACEOF
18183 #define HAVE_STRUCT_STATFS_F_BFREE 1
18184 _ACEOF
18188 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18189 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
18190 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18191 echo $ECHO_N "(cached) $ECHO_C" >&6
18192 else
18193 cat >conftest.$ac_ext <<_ACEOF
18194 /* confdefs.h. */
18195 _ACEOF
18196 cat confdefs.h >>conftest.$ac_ext
18197 cat >>conftest.$ac_ext <<_ACEOF
18198 /* end confdefs.h. */
18199 #include <sys/types.h>
18200 #ifdef HAVE_SYS_PARAM_H
18201 # include <sys/param.h>
18202 #endif
18203 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18204 # include <sys/mount.h>
18205 #else
18206 # ifdef STATFS_DEFINED_BY_SYS_VFS
18207 # include <sys/vfs.h>
18208 # else
18209 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18210 # include <sys/statfs.h>
18211 # endif
18212 # endif
18213 #endif
18216 main ()
18218 static struct statfs ac_aggr;
18219 if (ac_aggr.f_bavail)
18220 return 0;
18222 return 0;
18224 _ACEOF
18225 rm -f conftest.$ac_objext
18226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18227 (eval $ac_compile) 2>conftest.er1
18228 ac_status=$?
18229 grep -v '^ *+' conftest.er1 >conftest.err
18230 rm -f conftest.er1
18231 cat conftest.err >&5
18232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233 (exit $ac_status); } &&
18234 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18236 (eval $ac_try) 2>&5
18237 ac_status=$?
18238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18239 (exit $ac_status); }; } &&
18240 { ac_try='test -s conftest.$ac_objext'
18241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18242 (eval $ac_try) 2>&5
18243 ac_status=$?
18244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18245 (exit $ac_status); }; }; then
18246 ac_cv_member_struct_statfs_f_bavail=yes
18247 else
18248 echo "$as_me: failed program was:" >&5
18249 sed 's/^/| /' conftest.$ac_ext >&5
18251 cat >conftest.$ac_ext <<_ACEOF
18252 /* confdefs.h. */
18253 _ACEOF
18254 cat confdefs.h >>conftest.$ac_ext
18255 cat >>conftest.$ac_ext <<_ACEOF
18256 /* end confdefs.h. */
18257 #include <sys/types.h>
18258 #ifdef HAVE_SYS_PARAM_H
18259 # include <sys/param.h>
18260 #endif
18261 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18262 # include <sys/mount.h>
18263 #else
18264 # ifdef STATFS_DEFINED_BY_SYS_VFS
18265 # include <sys/vfs.h>
18266 # else
18267 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18268 # include <sys/statfs.h>
18269 # endif
18270 # endif
18271 #endif
18274 main ()
18276 static struct statfs ac_aggr;
18277 if (sizeof ac_aggr.f_bavail)
18278 return 0;
18280 return 0;
18282 _ACEOF
18283 rm -f conftest.$ac_objext
18284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18285 (eval $ac_compile) 2>conftest.er1
18286 ac_status=$?
18287 grep -v '^ *+' conftest.er1 >conftest.err
18288 rm -f conftest.er1
18289 cat conftest.err >&5
18290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18291 (exit $ac_status); } &&
18292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18294 (eval $ac_try) 2>&5
18295 ac_status=$?
18296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18297 (exit $ac_status); }; } &&
18298 { ac_try='test -s conftest.$ac_objext'
18299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18300 (eval $ac_try) 2>&5
18301 ac_status=$?
18302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18303 (exit $ac_status); }; }; then
18304 ac_cv_member_struct_statfs_f_bavail=yes
18305 else
18306 echo "$as_me: failed program was:" >&5
18307 sed 's/^/| /' conftest.$ac_ext >&5
18309 ac_cv_member_struct_statfs_f_bavail=no
18311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18315 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18316 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18317 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18319 cat >>confdefs.h <<_ACEOF
18320 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18321 _ACEOF
18325 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18326 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
18327 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18328 echo $ECHO_N "(cached) $ECHO_C" >&6
18329 else
18330 cat >conftest.$ac_ext <<_ACEOF
18331 /* confdefs.h. */
18332 _ACEOF
18333 cat confdefs.h >>conftest.$ac_ext
18334 cat >>conftest.$ac_ext <<_ACEOF
18335 /* end confdefs.h. */
18336 #include <sys/types.h>
18337 #ifdef HAVE_SYS_PARAM_H
18338 # include <sys/param.h>
18339 #endif
18340 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18341 # include <sys/mount.h>
18342 #else
18343 # ifdef STATFS_DEFINED_BY_SYS_VFS
18344 # include <sys/vfs.h>
18345 # else
18346 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18347 # include <sys/statfs.h>
18348 # endif
18349 # endif
18350 #endif
18353 main ()
18355 static struct statfs ac_aggr;
18356 if (ac_aggr.f_frsize)
18357 return 0;
18359 return 0;
18361 _ACEOF
18362 rm -f conftest.$ac_objext
18363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18364 (eval $ac_compile) 2>conftest.er1
18365 ac_status=$?
18366 grep -v '^ *+' conftest.er1 >conftest.err
18367 rm -f conftest.er1
18368 cat conftest.err >&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); } &&
18371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18373 (eval $ac_try) 2>&5
18374 ac_status=$?
18375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18376 (exit $ac_status); }; } &&
18377 { ac_try='test -s conftest.$ac_objext'
18378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18379 (eval $ac_try) 2>&5
18380 ac_status=$?
18381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382 (exit $ac_status); }; }; then
18383 ac_cv_member_struct_statfs_f_frsize=yes
18384 else
18385 echo "$as_me: failed program was:" >&5
18386 sed 's/^/| /' conftest.$ac_ext >&5
18388 cat >conftest.$ac_ext <<_ACEOF
18389 /* confdefs.h. */
18390 _ACEOF
18391 cat confdefs.h >>conftest.$ac_ext
18392 cat >>conftest.$ac_ext <<_ACEOF
18393 /* end confdefs.h. */
18394 #include <sys/types.h>
18395 #ifdef HAVE_SYS_PARAM_H
18396 # include <sys/param.h>
18397 #endif
18398 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18399 # include <sys/mount.h>
18400 #else
18401 # ifdef STATFS_DEFINED_BY_SYS_VFS
18402 # include <sys/vfs.h>
18403 # else
18404 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18405 # include <sys/statfs.h>
18406 # endif
18407 # endif
18408 #endif
18411 main ()
18413 static struct statfs ac_aggr;
18414 if (sizeof ac_aggr.f_frsize)
18415 return 0;
18417 return 0;
18419 _ACEOF
18420 rm -f conftest.$ac_objext
18421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18422 (eval $ac_compile) 2>conftest.er1
18423 ac_status=$?
18424 grep -v '^ *+' conftest.er1 >conftest.err
18425 rm -f conftest.er1
18426 cat conftest.err >&5
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); } &&
18429 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18431 (eval $ac_try) 2>&5
18432 ac_status=$?
18433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18434 (exit $ac_status); }; } &&
18435 { ac_try='test -s conftest.$ac_objext'
18436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18437 (eval $ac_try) 2>&5
18438 ac_status=$?
18439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18440 (exit $ac_status); }; }; then
18441 ac_cv_member_struct_statfs_f_frsize=yes
18442 else
18443 echo "$as_me: failed program was:" >&5
18444 sed 's/^/| /' conftest.$ac_ext >&5
18446 ac_cv_member_struct_statfs_f_frsize=no
18448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18452 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18453 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
18454 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18456 cat >>confdefs.h <<_ACEOF
18457 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18458 _ACEOF
18462 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18463 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
18464 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18465 echo $ECHO_N "(cached) $ECHO_C" >&6
18466 else
18467 cat >conftest.$ac_ext <<_ACEOF
18468 /* confdefs.h. */
18469 _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_SYS_PARAM_H
18475 # include <sys/param.h>
18476 #endif
18477 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18478 # include <sys/mount.h>
18479 #else
18480 # ifdef STATFS_DEFINED_BY_SYS_VFS
18481 # include <sys/vfs.h>
18482 # else
18483 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18484 # include <sys/statfs.h>
18485 # endif
18486 # endif
18487 #endif
18490 main ()
18492 static struct statfs ac_aggr;
18493 if (ac_aggr.f_ffree)
18494 return 0;
18496 return 0;
18498 _ACEOF
18499 rm -f conftest.$ac_objext
18500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18501 (eval $ac_compile) 2>conftest.er1
18502 ac_status=$?
18503 grep -v '^ *+' conftest.er1 >conftest.err
18504 rm -f conftest.er1
18505 cat conftest.err >&5
18506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18507 (exit $ac_status); } &&
18508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18510 (eval $ac_try) 2>&5
18511 ac_status=$?
18512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513 (exit $ac_status); }; } &&
18514 { ac_try='test -s conftest.$ac_objext'
18515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18516 (eval $ac_try) 2>&5
18517 ac_status=$?
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); }; }; then
18520 ac_cv_member_struct_statfs_f_ffree=yes
18521 else
18522 echo "$as_me: failed program was:" >&5
18523 sed 's/^/| /' conftest.$ac_ext >&5
18525 cat >conftest.$ac_ext <<_ACEOF
18526 /* confdefs.h. */
18527 _ACEOF
18528 cat confdefs.h >>conftest.$ac_ext
18529 cat >>conftest.$ac_ext <<_ACEOF
18530 /* end confdefs.h. */
18531 #include <sys/types.h>
18532 #ifdef HAVE_SYS_PARAM_H
18533 # include <sys/param.h>
18534 #endif
18535 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18536 # include <sys/mount.h>
18537 #else
18538 # ifdef STATFS_DEFINED_BY_SYS_VFS
18539 # include <sys/vfs.h>
18540 # else
18541 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18542 # include <sys/statfs.h>
18543 # endif
18544 # endif
18545 #endif
18548 main ()
18550 static struct statfs ac_aggr;
18551 if (sizeof ac_aggr.f_ffree)
18552 return 0;
18554 return 0;
18556 _ACEOF
18557 rm -f conftest.$ac_objext
18558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18559 (eval $ac_compile) 2>conftest.er1
18560 ac_status=$?
18561 grep -v '^ *+' conftest.er1 >conftest.err
18562 rm -f conftest.er1
18563 cat conftest.err >&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); } &&
18566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18568 (eval $ac_try) 2>&5
18569 ac_status=$?
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); }; } &&
18572 { ac_try='test -s conftest.$ac_objext'
18573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18574 (eval $ac_try) 2>&5
18575 ac_status=$?
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); }; }; then
18578 ac_cv_member_struct_statfs_f_ffree=yes
18579 else
18580 echo "$as_me: failed program was:" >&5
18581 sed 's/^/| /' conftest.$ac_ext >&5
18583 ac_cv_member_struct_statfs_f_ffree=no
18585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18589 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18590 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
18591 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18593 cat >>confdefs.h <<_ACEOF
18594 #define HAVE_STRUCT_STATFS_F_FFREE 1
18595 _ACEOF
18599 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18600 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
18601 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18602 echo $ECHO_N "(cached) $ECHO_C" >&6
18603 else
18604 cat >conftest.$ac_ext <<_ACEOF
18605 /* confdefs.h. */
18606 _ACEOF
18607 cat confdefs.h >>conftest.$ac_ext
18608 cat >>conftest.$ac_ext <<_ACEOF
18609 /* end confdefs.h. */
18610 #include <sys/types.h>
18611 #ifdef HAVE_SYS_PARAM_H
18612 # include <sys/param.h>
18613 #endif
18614 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18615 # include <sys/mount.h>
18616 #else
18617 # ifdef STATFS_DEFINED_BY_SYS_VFS
18618 # include <sys/vfs.h>
18619 # else
18620 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18621 # include <sys/statfs.h>
18622 # endif
18623 # endif
18624 #endif
18627 main ()
18629 static struct statfs ac_aggr;
18630 if (ac_aggr.f_favail)
18631 return 0;
18633 return 0;
18635 _ACEOF
18636 rm -f conftest.$ac_objext
18637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18638 (eval $ac_compile) 2>conftest.er1
18639 ac_status=$?
18640 grep -v '^ *+' conftest.er1 >conftest.err
18641 rm -f conftest.er1
18642 cat conftest.err >&5
18643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18644 (exit $ac_status); } &&
18645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647 (eval $ac_try) 2>&5
18648 ac_status=$?
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); }; } &&
18651 { ac_try='test -s conftest.$ac_objext'
18652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18653 (eval $ac_try) 2>&5
18654 ac_status=$?
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); }; }; then
18657 ac_cv_member_struct_statfs_f_favail=yes
18658 else
18659 echo "$as_me: failed program was:" >&5
18660 sed 's/^/| /' conftest.$ac_ext >&5
18662 cat >conftest.$ac_ext <<_ACEOF
18663 /* confdefs.h. */
18664 _ACEOF
18665 cat confdefs.h >>conftest.$ac_ext
18666 cat >>conftest.$ac_ext <<_ACEOF
18667 /* end confdefs.h. */
18668 #include <sys/types.h>
18669 #ifdef HAVE_SYS_PARAM_H
18670 # include <sys/param.h>
18671 #endif
18672 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18673 # include <sys/mount.h>
18674 #else
18675 # ifdef STATFS_DEFINED_BY_SYS_VFS
18676 # include <sys/vfs.h>
18677 # else
18678 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18679 # include <sys/statfs.h>
18680 # endif
18681 # endif
18682 #endif
18685 main ()
18687 static struct statfs ac_aggr;
18688 if (sizeof ac_aggr.f_favail)
18689 return 0;
18691 return 0;
18693 _ACEOF
18694 rm -f conftest.$ac_objext
18695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18696 (eval $ac_compile) 2>conftest.er1
18697 ac_status=$?
18698 grep -v '^ *+' conftest.er1 >conftest.err
18699 rm -f conftest.er1
18700 cat conftest.err >&5
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); } &&
18703 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18705 (eval $ac_try) 2>&5
18706 ac_status=$?
18707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708 (exit $ac_status); }; } &&
18709 { ac_try='test -s conftest.$ac_objext'
18710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18711 (eval $ac_try) 2>&5
18712 ac_status=$?
18713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18714 (exit $ac_status); }; }; then
18715 ac_cv_member_struct_statfs_f_favail=yes
18716 else
18717 echo "$as_me: failed program was:" >&5
18718 sed 's/^/| /' conftest.$ac_ext >&5
18720 ac_cv_member_struct_statfs_f_favail=no
18722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18726 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18727 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
18728 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18730 cat >>confdefs.h <<_ACEOF
18731 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18732 _ACEOF
18736 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18737 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
18738 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18739 echo $ECHO_N "(cached) $ECHO_C" >&6
18740 else
18741 cat >conftest.$ac_ext <<_ACEOF
18742 /* confdefs.h. */
18743 _ACEOF
18744 cat confdefs.h >>conftest.$ac_ext
18745 cat >>conftest.$ac_ext <<_ACEOF
18746 /* end confdefs.h. */
18747 #include <sys/types.h>
18748 #ifdef HAVE_SYS_PARAM_H
18749 # include <sys/param.h>
18750 #endif
18751 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18752 # include <sys/mount.h>
18753 #else
18754 # ifdef STATFS_DEFINED_BY_SYS_VFS
18755 # include <sys/vfs.h>
18756 # else
18757 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18758 # include <sys/statfs.h>
18759 # endif
18760 # endif
18761 #endif
18764 main ()
18766 static struct statfs ac_aggr;
18767 if (ac_aggr.f_namelen)
18768 return 0;
18770 return 0;
18772 _ACEOF
18773 rm -f conftest.$ac_objext
18774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18775 (eval $ac_compile) 2>conftest.er1
18776 ac_status=$?
18777 grep -v '^ *+' conftest.er1 >conftest.err
18778 rm -f conftest.er1
18779 cat conftest.err >&5
18780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18781 (exit $ac_status); } &&
18782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18784 (eval $ac_try) 2>&5
18785 ac_status=$?
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); }; } &&
18788 { ac_try='test -s conftest.$ac_objext'
18789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18790 (eval $ac_try) 2>&5
18791 ac_status=$?
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); }; }; then
18794 ac_cv_member_struct_statfs_f_namelen=yes
18795 else
18796 echo "$as_me: failed program was:" >&5
18797 sed 's/^/| /' conftest.$ac_ext >&5
18799 cat >conftest.$ac_ext <<_ACEOF
18800 /* confdefs.h. */
18801 _ACEOF
18802 cat confdefs.h >>conftest.$ac_ext
18803 cat >>conftest.$ac_ext <<_ACEOF
18804 /* end confdefs.h. */
18805 #include <sys/types.h>
18806 #ifdef HAVE_SYS_PARAM_H
18807 # include <sys/param.h>
18808 #endif
18809 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18810 # include <sys/mount.h>
18811 #else
18812 # ifdef STATFS_DEFINED_BY_SYS_VFS
18813 # include <sys/vfs.h>
18814 # else
18815 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18816 # include <sys/statfs.h>
18817 # endif
18818 # endif
18819 #endif
18822 main ()
18824 static struct statfs ac_aggr;
18825 if (sizeof ac_aggr.f_namelen)
18826 return 0;
18828 return 0;
18830 _ACEOF
18831 rm -f conftest.$ac_objext
18832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18833 (eval $ac_compile) 2>conftest.er1
18834 ac_status=$?
18835 grep -v '^ *+' conftest.er1 >conftest.err
18836 rm -f conftest.er1
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
18843 ac_status=$?
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
18849 ac_status=$?
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); }; }; then
18852 ac_cv_member_struct_statfs_f_namelen=yes
18853 else
18854 echo "$as_me: failed program was:" >&5
18855 sed 's/^/| /' conftest.$ac_ext >&5
18857 ac_cv_member_struct_statfs_f_namelen=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_statfs_f_namelen" >&5
18864 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
18865 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18867 cat >>confdefs.h <<_ACEOF
18868 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18869 _ACEOF
18875 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18876 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
18877 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18878 echo $ECHO_N "(cached) $ECHO_C" >&6
18879 else
18880 cat >conftest.$ac_ext <<_ACEOF
18881 /* confdefs.h. */
18882 _ACEOF
18883 cat confdefs.h >>conftest.$ac_ext
18884 cat >>conftest.$ac_ext <<_ACEOF
18885 /* end confdefs.h. */
18886 #ifdef HAVE_SYS_STATVFS_H
18887 #include <sys/statvfs.h>
18888 #endif
18891 main ()
18893 static struct statvfs ac_aggr;
18894 if (ac_aggr.f_blocks)
18895 return 0;
18897 return 0;
18899 _ACEOF
18900 rm -f conftest.$ac_objext
18901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18902 (eval $ac_compile) 2>conftest.er1
18903 ac_status=$?
18904 grep -v '^ *+' conftest.er1 >conftest.err
18905 rm -f conftest.er1
18906 cat conftest.err >&5
18907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908 (exit $ac_status); } &&
18909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18911 (eval $ac_try) 2>&5
18912 ac_status=$?
18913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18914 (exit $ac_status); }; } &&
18915 { ac_try='test -s conftest.$ac_objext'
18916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18917 (eval $ac_try) 2>&5
18918 ac_status=$?
18919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18920 (exit $ac_status); }; }; then
18921 ac_cv_member_struct_statvfs_f_blocks=yes
18922 else
18923 echo "$as_me: failed program was:" >&5
18924 sed 's/^/| /' conftest.$ac_ext >&5
18926 cat >conftest.$ac_ext <<_ACEOF
18927 /* confdefs.h. */
18928 _ACEOF
18929 cat confdefs.h >>conftest.$ac_ext
18930 cat >>conftest.$ac_ext <<_ACEOF
18931 /* end confdefs.h. */
18932 #ifdef HAVE_SYS_STATVFS_H
18933 #include <sys/statvfs.h>
18934 #endif
18937 main ()
18939 static struct statvfs ac_aggr;
18940 if (sizeof ac_aggr.f_blocks)
18941 return 0;
18943 return 0;
18945 _ACEOF
18946 rm -f conftest.$ac_objext
18947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18948 (eval $ac_compile) 2>conftest.er1
18949 ac_status=$?
18950 grep -v '^ *+' conftest.er1 >conftest.err
18951 rm -f conftest.er1
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
18958 ac_status=$?
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
18964 ac_status=$?
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); }; }; then
18967 ac_cv_member_struct_statvfs_f_blocks=yes
18968 else
18969 echo "$as_me: failed program was:" >&5
18970 sed 's/^/| /' conftest.$ac_ext >&5
18972 ac_cv_member_struct_statvfs_f_blocks=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_statvfs_f_blocks" >&5
18979 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
18980 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18982 cat >>confdefs.h <<_ACEOF
18983 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18984 _ACEOF
18990 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18991 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
18992 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18993 echo $ECHO_N "(cached) $ECHO_C" >&6
18994 else
18995 cat >conftest.$ac_ext <<_ACEOF
18996 /* confdefs.h. */
18997 _ACEOF
18998 cat confdefs.h >>conftest.$ac_ext
18999 cat >>conftest.$ac_ext <<_ACEOF
19000 /* end confdefs.h. */
19001 #include <sys/types.h>
19002 #ifdef HAVE_SYS_SOCKET_H
19003 # include <sys/socket.h>
19004 #endif
19005 #ifdef HAVE_SYS_UN_H
19006 # include <sys/un.h>
19007 #endif
19010 main ()
19012 static struct msghdr ac_aggr;
19013 if (ac_aggr.msg_accrights)
19014 return 0;
19016 return 0;
19018 _ACEOF
19019 rm -f conftest.$ac_objext
19020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19021 (eval $ac_compile) 2>conftest.er1
19022 ac_status=$?
19023 grep -v '^ *+' conftest.er1 >conftest.err
19024 rm -f conftest.er1
19025 cat conftest.err >&5
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); } &&
19028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19030 (eval $ac_try) 2>&5
19031 ac_status=$?
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); }; } &&
19034 { ac_try='test -s conftest.$ac_objext'
19035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19036 (eval $ac_try) 2>&5
19037 ac_status=$?
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); }; }; then
19040 ac_cv_member_struct_msghdr_msg_accrights=yes
19041 else
19042 echo "$as_me: failed program was:" >&5
19043 sed 's/^/| /' conftest.$ac_ext >&5
19045 cat >conftest.$ac_ext <<_ACEOF
19046 /* confdefs.h. */
19047 _ACEOF
19048 cat confdefs.h >>conftest.$ac_ext
19049 cat >>conftest.$ac_ext <<_ACEOF
19050 /* end confdefs.h. */
19051 #include <sys/types.h>
19052 #ifdef HAVE_SYS_SOCKET_H
19053 # include <sys/socket.h>
19054 #endif
19055 #ifdef HAVE_SYS_UN_H
19056 # include <sys/un.h>
19057 #endif
19060 main ()
19062 static struct msghdr ac_aggr;
19063 if (sizeof ac_aggr.msg_accrights)
19064 return 0;
19066 return 0;
19068 _ACEOF
19069 rm -f conftest.$ac_objext
19070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19071 (eval $ac_compile) 2>conftest.er1
19072 ac_status=$?
19073 grep -v '^ *+' conftest.er1 >conftest.err
19074 rm -f conftest.er1
19075 cat conftest.err >&5
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); } &&
19078 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19080 (eval $ac_try) 2>&5
19081 ac_status=$?
19082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19083 (exit $ac_status); }; } &&
19084 { ac_try='test -s conftest.$ac_objext'
19085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19086 (eval $ac_try) 2>&5
19087 ac_status=$?
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); }; }; then
19090 ac_cv_member_struct_msghdr_msg_accrights=yes
19091 else
19092 echo "$as_me: failed program was:" >&5
19093 sed 's/^/| /' conftest.$ac_ext >&5
19095 ac_cv_member_struct_msghdr_msg_accrights=no
19097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19101 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19102 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
19103 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19105 cat >>confdefs.h <<_ACEOF
19106 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19107 _ACEOF
19111 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19112 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
19113 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19114 echo $ECHO_N "(cached) $ECHO_C" >&6
19115 else
19116 cat >conftest.$ac_ext <<_ACEOF
19117 /* confdefs.h. */
19118 _ACEOF
19119 cat confdefs.h >>conftest.$ac_ext
19120 cat >>conftest.$ac_ext <<_ACEOF
19121 /* end confdefs.h. */
19122 #include <sys/types.h>
19123 #ifdef HAVE_SYS_SOCKET_H
19124 # include <sys/socket.h>
19125 #endif
19126 #ifdef HAVE_SYS_UN_H
19127 # include <sys/un.h>
19128 #endif
19131 main ()
19133 static struct sockaddr ac_aggr;
19134 if (ac_aggr.sa_len)
19135 return 0;
19137 return 0;
19139 _ACEOF
19140 rm -f conftest.$ac_objext
19141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19142 (eval $ac_compile) 2>conftest.er1
19143 ac_status=$?
19144 grep -v '^ *+' conftest.er1 >conftest.err
19145 rm -f conftest.er1
19146 cat conftest.err >&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); } &&
19149 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19151 (eval $ac_try) 2>&5
19152 ac_status=$?
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); }; } &&
19155 { ac_try='test -s conftest.$ac_objext'
19156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19157 (eval $ac_try) 2>&5
19158 ac_status=$?
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); }; }; then
19161 ac_cv_member_struct_sockaddr_sa_len=yes
19162 else
19163 echo "$as_me: failed program was:" >&5
19164 sed 's/^/| /' conftest.$ac_ext >&5
19166 cat >conftest.$ac_ext <<_ACEOF
19167 /* confdefs.h. */
19168 _ACEOF
19169 cat confdefs.h >>conftest.$ac_ext
19170 cat >>conftest.$ac_ext <<_ACEOF
19171 /* end confdefs.h. */
19172 #include <sys/types.h>
19173 #ifdef HAVE_SYS_SOCKET_H
19174 # include <sys/socket.h>
19175 #endif
19176 #ifdef HAVE_SYS_UN_H
19177 # include <sys/un.h>
19178 #endif
19181 main ()
19183 static struct sockaddr ac_aggr;
19184 if (sizeof ac_aggr.sa_len)
19185 return 0;
19187 return 0;
19189 _ACEOF
19190 rm -f conftest.$ac_objext
19191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19192 (eval $ac_compile) 2>conftest.er1
19193 ac_status=$?
19194 grep -v '^ *+' conftest.er1 >conftest.err
19195 rm -f conftest.er1
19196 cat conftest.err >&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); } &&
19199 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19201 (eval $ac_try) 2>&5
19202 ac_status=$?
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); }; } &&
19205 { ac_try='test -s conftest.$ac_objext'
19206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19207 (eval $ac_try) 2>&5
19208 ac_status=$?
19209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19210 (exit $ac_status); }; }; then
19211 ac_cv_member_struct_sockaddr_sa_len=yes
19212 else
19213 echo "$as_me: failed program was:" >&5
19214 sed 's/^/| /' conftest.$ac_ext >&5
19216 ac_cv_member_struct_sockaddr_sa_len=no
19218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19222 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19223 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
19224 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19226 cat >>confdefs.h <<_ACEOF
19227 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19228 _ACEOF
19232 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19233 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
19234 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19235 echo $ECHO_N "(cached) $ECHO_C" >&6
19236 else
19237 cat >conftest.$ac_ext <<_ACEOF
19238 /* confdefs.h. */
19239 _ACEOF
19240 cat confdefs.h >>conftest.$ac_ext
19241 cat >>conftest.$ac_ext <<_ACEOF
19242 /* end confdefs.h. */
19243 #include <sys/types.h>
19244 #ifdef HAVE_SYS_SOCKET_H
19245 # include <sys/socket.h>
19246 #endif
19247 #ifdef HAVE_SYS_UN_H
19248 # include <sys/un.h>
19249 #endif
19252 main ()
19254 static struct sockaddr_un ac_aggr;
19255 if (ac_aggr.sun_len)
19256 return 0;
19258 return 0;
19260 _ACEOF
19261 rm -f conftest.$ac_objext
19262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19263 (eval $ac_compile) 2>conftest.er1
19264 ac_status=$?
19265 grep -v '^ *+' conftest.er1 >conftest.err
19266 rm -f conftest.er1
19267 cat conftest.err >&5
19268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19269 (exit $ac_status); } &&
19270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19272 (eval $ac_try) 2>&5
19273 ac_status=$?
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); }; } &&
19276 { ac_try='test -s conftest.$ac_objext'
19277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19278 (eval $ac_try) 2>&5
19279 ac_status=$?
19280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 (exit $ac_status); }; }; then
19282 ac_cv_member_struct_sockaddr_un_sun_len=yes
19283 else
19284 echo "$as_me: failed program was:" >&5
19285 sed 's/^/| /' conftest.$ac_ext >&5
19287 cat >conftest.$ac_ext <<_ACEOF
19288 /* confdefs.h. */
19289 _ACEOF
19290 cat confdefs.h >>conftest.$ac_ext
19291 cat >>conftest.$ac_ext <<_ACEOF
19292 /* end confdefs.h. */
19293 #include <sys/types.h>
19294 #ifdef HAVE_SYS_SOCKET_H
19295 # include <sys/socket.h>
19296 #endif
19297 #ifdef HAVE_SYS_UN_H
19298 # include <sys/un.h>
19299 #endif
19302 main ()
19304 static struct sockaddr_un ac_aggr;
19305 if (sizeof ac_aggr.sun_len)
19306 return 0;
19308 return 0;
19310 _ACEOF
19311 rm -f conftest.$ac_objext
19312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19313 (eval $ac_compile) 2>conftest.er1
19314 ac_status=$?
19315 grep -v '^ *+' conftest.er1 >conftest.err
19316 rm -f conftest.er1
19317 cat conftest.err >&5
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319 (exit $ac_status); } &&
19320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19322 (eval $ac_try) 2>&5
19323 ac_status=$?
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); }; } &&
19326 { ac_try='test -s conftest.$ac_objext'
19327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19328 (eval $ac_try) 2>&5
19329 ac_status=$?
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); }; }; then
19332 ac_cv_member_struct_sockaddr_un_sun_len=yes
19333 else
19334 echo "$as_me: failed program was:" >&5
19335 sed 's/^/| /' conftest.$ac_ext >&5
19337 ac_cv_member_struct_sockaddr_un_sun_len=no
19339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19343 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19344 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
19345 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19347 cat >>confdefs.h <<_ACEOF
19348 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19349 _ACEOF
19355 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19356 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
19357 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19358 echo $ECHO_N "(cached) $ECHO_C" >&6
19359 else
19360 cat >conftest.$ac_ext <<_ACEOF
19361 /* confdefs.h. */
19362 _ACEOF
19363 cat confdefs.h >>conftest.$ac_ext
19364 cat >>conftest.$ac_ext <<_ACEOF
19365 /* end confdefs.h. */
19366 #include <signal.h>
19369 main ()
19371 static siginfo_t ac_aggr;
19372 if (ac_aggr.si_fd)
19373 return 0;
19375 return 0;
19377 _ACEOF
19378 rm -f conftest.$ac_objext
19379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19380 (eval $ac_compile) 2>conftest.er1
19381 ac_status=$?
19382 grep -v '^ *+' conftest.er1 >conftest.err
19383 rm -f conftest.er1
19384 cat conftest.err >&5
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); } &&
19387 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19389 (eval $ac_try) 2>&5
19390 ac_status=$?
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392 (exit $ac_status); }; } &&
19393 { ac_try='test -s conftest.$ac_objext'
19394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19395 (eval $ac_try) 2>&5
19396 ac_status=$?
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); }; }; then
19399 ac_cv_member_siginfo_t_si_fd=yes
19400 else
19401 echo "$as_me: failed program was:" >&5
19402 sed 's/^/| /' conftest.$ac_ext >&5
19404 cat >conftest.$ac_ext <<_ACEOF
19405 /* confdefs.h. */
19406 _ACEOF
19407 cat confdefs.h >>conftest.$ac_ext
19408 cat >>conftest.$ac_ext <<_ACEOF
19409 /* end confdefs.h. */
19410 #include <signal.h>
19413 main ()
19415 static siginfo_t ac_aggr;
19416 if (sizeof ac_aggr.si_fd)
19417 return 0;
19419 return 0;
19421 _ACEOF
19422 rm -f conftest.$ac_objext
19423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19424 (eval $ac_compile) 2>conftest.er1
19425 ac_status=$?
19426 grep -v '^ *+' conftest.er1 >conftest.err
19427 rm -f conftest.er1
19428 cat conftest.err >&5
19429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19430 (exit $ac_status); } &&
19431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19433 (eval $ac_try) 2>&5
19434 ac_status=$?
19435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436 (exit $ac_status); }; } &&
19437 { ac_try='test -s conftest.$ac_objext'
19438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19439 (eval $ac_try) 2>&5
19440 ac_status=$?
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); }; }; then
19443 ac_cv_member_siginfo_t_si_fd=yes
19444 else
19445 echo "$as_me: failed program was:" >&5
19446 sed 's/^/| /' conftest.$ac_ext >&5
19448 ac_cv_member_siginfo_t_si_fd=no
19450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19454 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19455 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
19456 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19458 cat >>confdefs.h <<_ACEOF
19459 #define HAVE_SIGINFO_T_SI_FD 1
19460 _ACEOF
19466 echo "$as_me:$LINENO: checking for struct option.name" >&5
19467 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19468 if test "${ac_cv_member_struct_option_name+set}" = set; then
19469 echo $ECHO_N "(cached) $ECHO_C" >&6
19470 else
19471 cat >conftest.$ac_ext <<_ACEOF
19472 /* confdefs.h. */
19473 _ACEOF
19474 cat confdefs.h >>conftest.$ac_ext
19475 cat >>conftest.$ac_ext <<_ACEOF
19476 /* end confdefs.h. */
19477 #ifdef HAVE_GETOPT_H
19478 #include <getopt.h>
19479 #endif
19482 main ()
19484 static struct option ac_aggr;
19485 if (ac_aggr.name)
19486 return 0;
19488 return 0;
19490 _ACEOF
19491 rm -f conftest.$ac_objext
19492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19493 (eval $ac_compile) 2>conftest.er1
19494 ac_status=$?
19495 grep -v '^ *+' conftest.er1 >conftest.err
19496 rm -f conftest.er1
19497 cat conftest.err >&5
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); } &&
19500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19502 (eval $ac_try) 2>&5
19503 ac_status=$?
19504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505 (exit $ac_status); }; } &&
19506 { ac_try='test -s conftest.$ac_objext'
19507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19508 (eval $ac_try) 2>&5
19509 ac_status=$?
19510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511 (exit $ac_status); }; }; then
19512 ac_cv_member_struct_option_name=yes
19513 else
19514 echo "$as_me: failed program was:" >&5
19515 sed 's/^/| /' conftest.$ac_ext >&5
19517 cat >conftest.$ac_ext <<_ACEOF
19518 /* confdefs.h. */
19519 _ACEOF
19520 cat confdefs.h >>conftest.$ac_ext
19521 cat >>conftest.$ac_ext <<_ACEOF
19522 /* end confdefs.h. */
19523 #ifdef HAVE_GETOPT_H
19524 #include <getopt.h>
19525 #endif
19528 main ()
19530 static struct option ac_aggr;
19531 if (sizeof ac_aggr.name)
19532 return 0;
19534 return 0;
19536 _ACEOF
19537 rm -f conftest.$ac_objext
19538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19539 (eval $ac_compile) 2>conftest.er1
19540 ac_status=$?
19541 grep -v '^ *+' conftest.er1 >conftest.err
19542 rm -f conftest.er1
19543 cat conftest.err >&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); } &&
19546 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19548 (eval $ac_try) 2>&5
19549 ac_status=$?
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); }; } &&
19552 { ac_try='test -s conftest.$ac_objext'
19553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19554 (eval $ac_try) 2>&5
19555 ac_status=$?
19556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557 (exit $ac_status); }; }; then
19558 ac_cv_member_struct_option_name=yes
19559 else
19560 echo "$as_me: failed program was:" >&5
19561 sed 's/^/| /' conftest.$ac_ext >&5
19563 ac_cv_member_struct_option_name=no
19565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19569 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19570 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19571 if test $ac_cv_member_struct_option_name = yes; then
19573 cat >>confdefs.h <<_ACEOF
19574 #define HAVE_STRUCT_OPTION_NAME 1
19575 _ACEOF
19581 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19582 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19583 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19584 echo $ECHO_N "(cached) $ECHO_C" >&6
19585 else
19586 cat >conftest.$ac_ext <<_ACEOF
19587 /* confdefs.h. */
19588 _ACEOF
19589 cat confdefs.h >>conftest.$ac_ext
19590 cat >>conftest.$ac_ext <<_ACEOF
19591 /* end confdefs.h. */
19592 $ac_includes_default
19594 main ()
19596 static struct stat ac_aggr;
19597 if (ac_aggr.st_blocks)
19598 return 0;
19600 return 0;
19602 _ACEOF
19603 rm -f conftest.$ac_objext
19604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19605 (eval $ac_compile) 2>conftest.er1
19606 ac_status=$?
19607 grep -v '^ *+' conftest.er1 >conftest.err
19608 rm -f conftest.er1
19609 cat conftest.err >&5
19610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611 (exit $ac_status); } &&
19612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19614 (eval $ac_try) 2>&5
19615 ac_status=$?
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); }; } &&
19618 { ac_try='test -s conftest.$ac_objext'
19619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19620 (eval $ac_try) 2>&5
19621 ac_status=$?
19622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623 (exit $ac_status); }; }; then
19624 ac_cv_member_struct_stat_st_blocks=yes
19625 else
19626 echo "$as_me: failed program was:" >&5
19627 sed 's/^/| /' conftest.$ac_ext >&5
19629 cat >conftest.$ac_ext <<_ACEOF
19630 /* confdefs.h. */
19631 _ACEOF
19632 cat confdefs.h >>conftest.$ac_ext
19633 cat >>conftest.$ac_ext <<_ACEOF
19634 /* end confdefs.h. */
19635 $ac_includes_default
19637 main ()
19639 static struct stat ac_aggr;
19640 if (sizeof ac_aggr.st_blocks)
19641 return 0;
19643 return 0;
19645 _ACEOF
19646 rm -f conftest.$ac_objext
19647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19648 (eval $ac_compile) 2>conftest.er1
19649 ac_status=$?
19650 grep -v '^ *+' conftest.er1 >conftest.err
19651 rm -f conftest.er1
19652 cat conftest.err >&5
19653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19654 (exit $ac_status); } &&
19655 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19657 (eval $ac_try) 2>&5
19658 ac_status=$?
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); }; } &&
19661 { ac_try='test -s conftest.$ac_objext'
19662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19663 (eval $ac_try) 2>&5
19664 ac_status=$?
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); }; }; then
19667 ac_cv_member_struct_stat_st_blocks=yes
19668 else
19669 echo "$as_me: failed program was:" >&5
19670 sed 's/^/| /' conftest.$ac_ext >&5
19672 ac_cv_member_struct_stat_st_blocks=no
19674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19678 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19679 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19680 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19682 cat >>confdefs.h <<_ACEOF
19683 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19684 _ACEOF
19691 case $host_cpu in
19692 *i[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19693 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
19694 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19695 echo $ECHO_N "(cached) $ECHO_C" >&6
19696 else
19697 cat >conftest.$ac_ext <<_ACEOF
19698 /* confdefs.h. */
19699 _ACEOF
19700 cat confdefs.h >>conftest.$ac_ext
19701 cat >>conftest.$ac_ext <<_ACEOF
19702 /* end confdefs.h. */
19703 #ifndef __i386__
19705 #endif
19706 _ACEOF
19707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19708 $EGREP "yes" >/dev/null 2>&1; then
19709 ac_cv_cpp_def___i386__=yes
19710 else
19711 ac_cv_cpp_def___i386__=no
19713 rm -f conftest*
19716 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19717 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
19718 if test $ac_cv_cpp_def___i386__ = yes; then
19719 CFLAGS="$CFLAGS -D__i386__"
19720 LINTFLAGS="$LINTFLAGS -D__i386__"
19723 *alpha*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19724 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
19725 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19726 echo $ECHO_N "(cached) $ECHO_C" >&6
19727 else
19728 cat >conftest.$ac_ext <<_ACEOF
19729 /* confdefs.h. */
19730 _ACEOF
19731 cat confdefs.h >>conftest.$ac_ext
19732 cat >>conftest.$ac_ext <<_ACEOF
19733 /* end confdefs.h. */
19734 #ifndef __ALPHA__
19736 #endif
19737 _ACEOF
19738 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19739 $EGREP "yes" >/dev/null 2>&1; then
19740 ac_cv_cpp_def___ALPHA__=yes
19741 else
19742 ac_cv_cpp_def___ALPHA__=no
19744 rm -f conftest*
19747 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
19748 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
19749 if test $ac_cv_cpp_def___ALPHA__ = yes; then
19750 CFLAGS="$CFLAGS -D__ALPHA__"
19751 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
19754 *sparc*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
19755 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
19756 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
19757 echo $ECHO_N "(cached) $ECHO_C" >&6
19758 else
19759 cat >conftest.$ac_ext <<_ACEOF
19760 /* confdefs.h. */
19761 _ACEOF
19762 cat confdefs.h >>conftest.$ac_ext
19763 cat >>conftest.$ac_ext <<_ACEOF
19764 /* end confdefs.h. */
19765 #ifndef __sparc__
19767 #endif
19768 _ACEOF
19769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19770 $EGREP "yes" >/dev/null 2>&1; then
19771 ac_cv_cpp_def___sparc__=yes
19772 else
19773 ac_cv_cpp_def___sparc__=no
19775 rm -f conftest*
19778 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
19779 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
19780 if test $ac_cv_cpp_def___sparc__ = yes; then
19781 CFLAGS="$CFLAGS -D__sparc__"
19782 LINTFLAGS="$LINTFLAGS -D__sparc__"
19785 *powerpc*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
19786 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
19787 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
19788 echo $ECHO_N "(cached) $ECHO_C" >&6
19789 else
19790 cat >conftest.$ac_ext <<_ACEOF
19791 /* confdefs.h. */
19792 _ACEOF
19793 cat confdefs.h >>conftest.$ac_ext
19794 cat >>conftest.$ac_ext <<_ACEOF
19795 /* end confdefs.h. */
19796 #ifndef __powerpc__
19798 #endif
19799 _ACEOF
19800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19801 $EGREP "yes" >/dev/null 2>&1; then
19802 ac_cv_cpp_def___powerpc__=yes
19803 else
19804 ac_cv_cpp_def___powerpc__=no
19806 rm -f conftest*
19809 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
19810 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
19811 if test $ac_cv_cpp_def___powerpc__ = yes; then
19812 CFLAGS="$CFLAGS -D__powerpc__"
19813 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19816 esac
19818 case $host_vendor in
19819 *sun*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
19820 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
19821 if test "${ac_cv_cpp_def___sun__+set}" = set; then
19822 echo $ECHO_N "(cached) $ECHO_C" >&6
19823 else
19824 cat >conftest.$ac_ext <<_ACEOF
19825 /* confdefs.h. */
19826 _ACEOF
19827 cat confdefs.h >>conftest.$ac_ext
19828 cat >>conftest.$ac_ext <<_ACEOF
19829 /* end confdefs.h. */
19830 #ifndef __sun__
19832 #endif
19833 _ACEOF
19834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19835 $EGREP "yes" >/dev/null 2>&1; then
19836 ac_cv_cpp_def___sun__=yes
19837 else
19838 ac_cv_cpp_def___sun__=no
19840 rm -f conftest*
19843 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
19844 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
19845 if test $ac_cv_cpp_def___sun__ = yes; then
19846 CFLAGS="$CFLAGS -D__sun__"
19847 LINTFLAGS="$LINTFLAGS -D__sun__"
19850 esac
19856 ac_config_commands="$ac_config_commands controls"
19858 ac_config_commands="$ac_config_commands dlls/ddraw/d3ddevice"
19860 ac_config_commands="$ac_config_commands dlls/ddraw/dclipper"
19862 ac_config_commands="$ac_config_commands dlls/ddraw/ddraw"
19864 ac_config_commands="$ac_config_commands dlls/ddraw/direct3d"
19866 ac_config_commands="$ac_config_commands dlls/ddraw/dpalette"
19868 ac_config_commands="$ac_config_commands dlls/ddraw/dsurface"
19870 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
19872 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
19874 ac_config_commands="$ac_config_commands dlls/kernel/messages"
19876 ac_config_commands="$ac_config_commands dlls/user/dde"
19878 ac_config_commands="$ac_config_commands dlls/user/resources"
19880 ac_config_commands="$ac_config_commands dlls/wineps/data"
19882 ac_config_commands="$ac_config_commands include/wine"
19884 ac_config_commands="$ac_config_commands misc"
19886 ac_config_commands="$ac_config_commands programs/regedit/tests"
19888 ac_config_commands="$ac_config_commands windows"
19891 MAKE_RULES=Make.rules
19894 MAKE_DLL_RULES=dlls/Makedll.rules
19897 MAKE_TEST_RULES=dlls/Maketest.rules
19900 MAKE_LIB_RULES=libs/Makelib.rules
19903 MAKE_PROG_RULES=programs/Makeprog.rules
19906 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/hhctrl.ocx/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msacm/tests/Makefile dlls/msdmo/Makefile dlls/mshtml/Makefile dlls/msi/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvidc32/Makefile dlls/msvideo/Makefile dlls/mswsock/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/Makefile dlls/opengl32/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/rasapi32/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/secur32/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/sti/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
19909 cat >confcache <<\_ACEOF
19910 # This file is a shell script that caches the results of configure
19911 # tests run on this system so they can be shared between configure
19912 # scripts and configure runs, see configure's option --config-cache.
19913 # It is not useful on other systems. If it contains results you don't
19914 # want to keep, you may remove or edit it.
19916 # config.status only pays attention to the cache file if you give it
19917 # the --recheck option to rerun configure.
19919 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19920 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19921 # following values.
19923 _ACEOF
19925 # The following way of writing the cache mishandles newlines in values,
19926 # but we know of no workaround that is simple, portable, and efficient.
19927 # So, don't put newlines in cache variables' values.
19928 # Ultrix sh set writes to stderr and can't be redirected directly,
19929 # and sets the high bit in the cache file unless we assign to the vars.
19931 (set) 2>&1 |
19932 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19933 *ac_space=\ *)
19934 # `set' does not quote correctly, so add quotes (double-quote
19935 # substitution turns \\\\ into \\, and sed turns \\ into \).
19936 sed -n \
19937 "s/'/'\\\\''/g;
19938 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19941 # `set' quotes correctly as required by POSIX, so do not add quotes.
19942 sed -n \
19943 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19945 esac;
19947 sed '
19948 t clear
19949 : clear
19950 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19951 t end
19952 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19953 : end' >>confcache
19954 if diff $cache_file confcache >/dev/null 2>&1; then :; else
19955 if test -w $cache_file; then
19956 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19957 cat confcache >$cache_file
19958 else
19959 echo "not updating unwritable cache $cache_file"
19962 rm -f confcache
19964 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19965 # Let make expand exec_prefix.
19966 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19968 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19969 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19970 # trailing colons and then remove the whole line if VPATH becomes empty
19971 # (actually we leave an empty line to preserve line numbers).
19972 if test "x$srcdir" = x.; then
19973 ac_vpsub='/^[ ]*VPATH[ ]*=/{
19974 s/:*\$(srcdir):*/:/;
19975 s/:*\${srcdir}:*/:/;
19976 s/:*@srcdir@:*/:/;
19977 s/^\([^=]*=[ ]*\):*/\1/;
19978 s/:*$//;
19979 s/^[^=]*=[ ]*$//;
19983 DEFS=-DHAVE_CONFIG_H
19985 ac_libobjs=
19986 ac_ltlibobjs=
19987 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19988 # 1. Remove the extension, and $U if already installed.
19989 ac_i=`echo "$ac_i" |
19990 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19991 # 2. Add them.
19992 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
19993 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
19994 done
19995 LIBOBJS=$ac_libobjs
19997 LTLIBOBJS=$ac_ltlibobjs
20001 : ${CONFIG_STATUS=./config.status}
20002 ac_clean_files_save=$ac_clean_files
20003 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20004 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20005 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20006 cat >$CONFIG_STATUS <<_ACEOF
20007 #! $SHELL
20008 # Generated by $as_me.
20009 # Run this file to recreate the current configuration.
20010 # Compiler output produced by configure, useful for debugging
20011 # configure, is in config.log if it exists.
20013 debug=false
20014 ac_cs_recheck=false
20015 ac_cs_silent=false
20016 SHELL=\${CONFIG_SHELL-$SHELL}
20017 _ACEOF
20019 cat >>$CONFIG_STATUS <<\_ACEOF
20020 ## --------------------- ##
20021 ## M4sh Initialization. ##
20022 ## --------------------- ##
20024 # Be Bourne compatible
20025 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20026 emulate sh
20027 NULLCMD=:
20028 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20029 # is contrary to our usage. Disable this feature.
20030 alias -g '${1+"$@"}'='"$@"'
20031 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20032 set -o posix
20034 DUALCASE=1; export DUALCASE # for MKS sh
20036 # Support unset when possible.
20037 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20038 as_unset=unset
20039 else
20040 as_unset=false
20044 # Work around bugs in pre-3.0 UWIN ksh.
20045 $as_unset ENV MAIL MAILPATH
20046 PS1='$ '
20047 PS2='> '
20048 PS4='+ '
20050 # NLS nuisances.
20051 for as_var in \
20052 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20053 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20054 LC_TELEPHONE LC_TIME
20056 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20057 eval $as_var=C; export $as_var
20058 else
20059 $as_unset $as_var
20061 done
20063 # Required to use basename.
20064 if expr a : '\(a\)' >/dev/null 2>&1; then
20065 as_expr=expr
20066 else
20067 as_expr=false
20070 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20071 as_basename=basename
20072 else
20073 as_basename=false
20077 # Name of the executable.
20078 as_me=`$as_basename "$0" ||
20079 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20080 X"$0" : 'X\(//\)$' \| \
20081 X"$0" : 'X\(/\)$' \| \
20082 . : '\(.\)' 2>/dev/null ||
20083 echo X/"$0" |
20084 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20085 /^X\/\(\/\/\)$/{ s//\1/; q; }
20086 /^X\/\(\/\).*/{ s//\1/; q; }
20087 s/.*/./; q'`
20090 # PATH needs CR, and LINENO needs CR and PATH.
20091 # Avoid depending upon Character Ranges.
20092 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20093 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20094 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20095 as_cr_digits='0123456789'
20096 as_cr_alnum=$as_cr_Letters$as_cr_digits
20098 # The user is always right.
20099 if test "${PATH_SEPARATOR+set}" != set; then
20100 echo "#! /bin/sh" >conf$$.sh
20101 echo "exit 0" >>conf$$.sh
20102 chmod +x conf$$.sh
20103 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20104 PATH_SEPARATOR=';'
20105 else
20106 PATH_SEPARATOR=:
20108 rm -f conf$$.sh
20112 as_lineno_1=$LINENO
20113 as_lineno_2=$LINENO
20114 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20115 test "x$as_lineno_1" != "x$as_lineno_2" &&
20116 test "x$as_lineno_3" = "x$as_lineno_2" || {
20117 # Find who we are. Look in the path if we contain no path at all
20118 # relative or not.
20119 case $0 in
20120 *[\\/]* ) as_myself=$0 ;;
20121 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20122 for as_dir in $PATH
20124 IFS=$as_save_IFS
20125 test -z "$as_dir" && as_dir=.
20126 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20127 done
20130 esac
20131 # We did not find ourselves, most probably we were run as `sh COMMAND'
20132 # in which case we are not to be found in the path.
20133 if test "x$as_myself" = x; then
20134 as_myself=$0
20136 if test ! -f "$as_myself"; then
20137 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20138 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20139 { (exit 1); exit 1; }; }
20141 case $CONFIG_SHELL in
20143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20144 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20146 IFS=$as_save_IFS
20147 test -z "$as_dir" && as_dir=.
20148 for as_base in sh bash ksh sh5; do
20149 case $as_dir in
20151 if ("$as_dir/$as_base" -c '
20152 as_lineno_1=$LINENO
20153 as_lineno_2=$LINENO
20154 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20155 test "x$as_lineno_1" != "x$as_lineno_2" &&
20156 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20157 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20158 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20159 CONFIG_SHELL=$as_dir/$as_base
20160 export CONFIG_SHELL
20161 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20162 fi;;
20163 esac
20164 done
20165 done
20167 esac
20169 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20170 # uniformly replaced by the line number. The first 'sed' inserts a
20171 # line-number line before each line; the second 'sed' does the real
20172 # work. The second script uses 'N' to pair each line-number line
20173 # with the numbered line, and appends trailing '-' during
20174 # substitution so that $LINENO is not a special case at line end.
20175 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20176 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20177 sed '=' <$as_myself |
20178 sed '
20180 s,$,-,
20181 : loop
20182 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20183 t loop
20184 s,-$,,
20185 s,^['$as_cr_digits']*\n,,
20186 ' >$as_me.lineno &&
20187 chmod +x $as_me.lineno ||
20188 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20189 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20190 { (exit 1); exit 1; }; }
20192 # Don't try to exec as it changes $[0], causing all sort of problems
20193 # (the dirname of $[0] is not the place where we might find the
20194 # original and so on. Autoconf is especially sensible to this).
20195 . ./$as_me.lineno
20196 # Exit status is that of the last command.
20197 exit
20201 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20202 *c*,-n*) ECHO_N= ECHO_C='
20203 ' ECHO_T=' ' ;;
20204 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20205 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
20206 esac
20208 if expr a : '\(a\)' >/dev/null 2>&1; then
20209 as_expr=expr
20210 else
20211 as_expr=false
20214 rm -f conf$$ conf$$.exe conf$$.file
20215 echo >conf$$.file
20216 if ln -s conf$$.file conf$$ 2>/dev/null; then
20217 # We could just check for DJGPP; but this test a) works b) is more generic
20218 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20219 if test -f conf$$.exe; then
20220 # Don't use ln at all; we don't have any links
20221 as_ln_s='cp -p'
20222 else
20223 as_ln_s='ln -s'
20225 elif ln conf$$.file conf$$ 2>/dev/null; then
20226 as_ln_s=ln
20227 else
20228 as_ln_s='cp -p'
20230 rm -f conf$$ conf$$.exe conf$$.file
20232 if mkdir -p . 2>/dev/null; then
20233 as_mkdir_p=:
20234 else
20235 test -d ./-p && rmdir ./-p
20236 as_mkdir_p=false
20239 as_executable_p="test -f"
20241 # Sed expression to map a string onto a valid CPP name.
20242 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20244 # Sed expression to map a string onto a valid variable name.
20245 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20248 # IFS
20249 # We need space, tab and new line, in precisely that order.
20250 as_nl='
20252 IFS=" $as_nl"
20254 # CDPATH.
20255 $as_unset CDPATH
20257 exec 6>&1
20259 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20260 # report actual input values of CONFIG_FILES etc. instead of their
20261 # values after options handling. Logging --version etc. is OK.
20262 exec 5>>config.log
20264 echo
20265 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20266 ## Running $as_me. ##
20267 _ASBOX
20268 } >&5
20269 cat >&5 <<_CSEOF
20271 This file was extended by Wine $as_me 20040716, which was
20272 generated by GNU Autoconf 2.59. Invocation command line was
20274 CONFIG_FILES = $CONFIG_FILES
20275 CONFIG_HEADERS = $CONFIG_HEADERS
20276 CONFIG_LINKS = $CONFIG_LINKS
20277 CONFIG_COMMANDS = $CONFIG_COMMANDS
20278 $ $0 $@
20280 _CSEOF
20281 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20282 echo >&5
20283 _ACEOF
20285 # Files that config.status was made for.
20286 if test -n "$ac_config_files"; then
20287 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20290 if test -n "$ac_config_headers"; then
20291 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20294 if test -n "$ac_config_links"; then
20295 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20298 if test -n "$ac_config_commands"; then
20299 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20302 cat >>$CONFIG_STATUS <<\_ACEOF
20304 ac_cs_usage="\
20305 \`$as_me' instantiates files from templates according to the
20306 current configuration.
20308 Usage: $0 [OPTIONS] [FILE]...
20310 -h, --help print this help, then exit
20311 -V, --version print version number, then exit
20312 -q, --quiet do not print progress messages
20313 -d, --debug don't remove temporary files
20314 --recheck update $as_me by reconfiguring in the same conditions
20315 --file=FILE[:TEMPLATE]
20316 instantiate the configuration file FILE
20317 --header=FILE[:TEMPLATE]
20318 instantiate the configuration header FILE
20320 Configuration files:
20321 $config_files
20323 Configuration headers:
20324 $config_headers
20326 Configuration commands:
20327 $config_commands
20329 Report bugs to <bug-autoconf@gnu.org>."
20330 _ACEOF
20332 cat >>$CONFIG_STATUS <<_ACEOF
20333 ac_cs_version="\\
20334 Wine config.status 20040716
20335 configured by $0, generated by GNU Autoconf 2.59,
20336 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20338 Copyright (C) 2003 Free Software Foundation, Inc.
20339 This config.status script is free software; the Free Software Foundation
20340 gives unlimited permission to copy, distribute and modify it."
20341 srcdir=$srcdir
20342 INSTALL="$INSTALL"
20343 _ACEOF
20345 cat >>$CONFIG_STATUS <<\_ACEOF
20346 # If no file are specified by the user, then we need to provide default
20347 # value. By we need to know if files were specified by the user.
20348 ac_need_defaults=:
20349 while test $# != 0
20351 case $1 in
20352 --*=*)
20353 ac_option=`expr "x$1" : 'x\([^=]*\)='`
20354 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20355 ac_shift=:
20358 ac_option=$1
20359 ac_optarg=$2
20360 ac_shift=shift
20362 *) # This is not an option, so the user has probably given explicit
20363 # arguments.
20364 ac_option=$1
20365 ac_need_defaults=false;;
20366 esac
20368 case $ac_option in
20369 # Handling of the options.
20370 _ACEOF
20371 cat >>$CONFIG_STATUS <<\_ACEOF
20372 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20373 ac_cs_recheck=: ;;
20374 --version | --vers* | -V )
20375 echo "$ac_cs_version"; exit 0 ;;
20376 --he | --h)
20377 # Conflict between --help and --header
20378 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20379 Try \`$0 --help' for more information." >&5
20380 echo "$as_me: error: ambiguous option: $1
20381 Try \`$0 --help' for more information." >&2;}
20382 { (exit 1); exit 1; }; };;
20383 --help | --hel | -h )
20384 echo "$ac_cs_usage"; exit 0 ;;
20385 --debug | --d* | -d )
20386 debug=: ;;
20387 --file | --fil | --fi | --f )
20388 $ac_shift
20389 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20390 ac_need_defaults=false;;
20391 --header | --heade | --head | --hea )
20392 $ac_shift
20393 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20394 ac_need_defaults=false;;
20395 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20396 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20397 ac_cs_silent=: ;;
20399 # This is an error.
20400 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20401 Try \`$0 --help' for more information." >&5
20402 echo "$as_me: error: unrecognized option: $1
20403 Try \`$0 --help' for more information." >&2;}
20404 { (exit 1); exit 1; }; } ;;
20406 *) ac_config_targets="$ac_config_targets $1" ;;
20408 esac
20409 shift
20410 done
20412 ac_configure_extra_args=
20414 if $ac_cs_silent; then
20415 exec 6>/dev/null
20416 ac_configure_extra_args="$ac_configure_extra_args --silent"
20419 _ACEOF
20420 cat >>$CONFIG_STATUS <<_ACEOF
20421 if \$ac_cs_recheck; then
20422 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20423 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20426 _ACEOF
20432 cat >>$CONFIG_STATUS <<\_ACEOF
20433 for ac_config_target in $ac_config_targets
20435 case "$ac_config_target" in
20436 # Handling of arguments.
20437 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
20438 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
20439 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
20440 "libs/Makelib.rules" ) CONFIG_FILES="$CONFIG_FILES libs/Makelib.rules" ;;
20441 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
20442 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20443 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
20444 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20445 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20446 "dlls/amstream/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
20447 "dlls/atl/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
20448 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20449 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20450 "dlls/cabinet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20451 "dlls/capi2032/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20452 "dlls/cards/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
20453 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20454 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
20455 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20456 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20457 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
20458 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20459 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20460 "dlls/ctl3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
20461 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20462 "dlls/d3d9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20463 "dlls/d3dim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20464 "dlls/d3drm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20465 "dlls/d3dx8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20466 "dlls/d3dxof/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20467 "dlls/dbghelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20468 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20469 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20470 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20471 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
20472 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
20473 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20474 "dlls/dmband/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
20475 "dlls/dmcompos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20476 "dlls/dmime/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
20477 "dlls/dmloader/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20478 "dlls/dmscript/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20479 "dlls/dmstyle/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20480 "dlls/dmsynth/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20481 "dlls/dmusic/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20482 "dlls/dmusic32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20483 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
20484 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20485 "dlls/dpnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20486 "dlls/dpnhpast/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20487 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
20488 "dlls/dsound/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20489 "dlls/dswave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
20490 "dlls/dxdiagn/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20491 "dlls/dxerr8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20492 "dlls/dxerr9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20493 "dlls/dxguid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20494 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
20495 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20496 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
20497 "dlls/glut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
20498 "dlls/hhctrl.ocx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20499 "dlls/iccvid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20500 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
20501 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20502 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20503 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
20504 "dlls/iphlpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20505 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20506 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
20507 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20508 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
20509 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20510 "dlls/mapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20511 "dlls/mlang/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
20512 "dlls/mlang/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20513 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20514 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20515 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
20516 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
20517 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
20518 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
20519 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
20520 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
20521 "dlls/msacm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/tests/Makefile" ;;
20522 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20523 "dlls/mshtml/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20524 "dlls/msi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
20525 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20526 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
20527 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20528 "dlls/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20529 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20530 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20531 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20532 "dlls/msvcrt40/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20533 "dlls/msvcrtd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20534 "dlls/msvcrtd/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20535 "dlls/msvidc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20536 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
20537 "dlls/mswsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20538 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20539 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20540 "dlls/newdev/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
20541 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20542 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20543 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20544 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
20545 "dlls/ole32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
20546 "dlls/oleacc/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20547 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20548 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20549 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
20550 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20551 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20552 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
20553 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20554 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
20555 "dlls/psapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
20556 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
20557 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
20558 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20559 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
20560 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20561 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20562 "dlls/rsabase/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20563 "dlls/rsabase/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
20564 "dlls/secur32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
20565 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
20566 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20567 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20568 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
20569 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20570 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20571 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20572 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20573 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20574 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
20575 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20576 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
20577 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
20578 "dlls/unicows/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
20579 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
20580 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20581 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20582 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
20583 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20584 "dlls/uuid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
20585 "dlls/uxtheme/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20586 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20587 "dlls/vdmdbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
20588 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
20589 "dlls/version/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
20590 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20591 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20592 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20593 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20594 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20595 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
20596 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
20597 "dlls/wined3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20598 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
20599 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
20600 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
20601 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20602 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
20603 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20604 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
20605 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
20606 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
20607 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
20608 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
20609 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
20610 "dlls/winmm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20611 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
20612 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20613 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20614 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20615 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20616 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20617 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20618 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
20619 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
20620 "dlls/winsock/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
20621 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
20622 "dlls/winspool/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20623 "dlls/wintab32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20624 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20625 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
20626 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
20627 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
20628 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
20629 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20630 "libs/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
20631 "libs/port/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
20632 "libs/unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/unicode/Makefile" ;;
20633 "libs/wine/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
20634 "libs/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
20635 "loader/Makefile" ) CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
20636 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
20637 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
20638 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
20639 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
20640 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
20641 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
20642 "programs/msiexec/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
20643 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
20644 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
20645 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
20646 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
20647 "programs/rpcss/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
20648 "programs/rundll32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
20649 "programs/start/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
20650 "programs/taskmgr/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
20651 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
20652 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
20653 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
20654 "programs/wineboot/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
20655 "programs/winebrowser/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
20656 "programs/winecfg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
20657 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
20658 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
20659 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
20660 "programs/winemenubuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
20661 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
20662 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
20663 "programs/winetest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
20664 "programs/winevdm/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
20665 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
20666 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
20667 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
20668 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
20669 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
20670 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
20671 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
20672 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
20673 "tools/winegcc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
20674 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
20675 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
20676 "controls" ) CONFIG_COMMANDS="$CONFIG_COMMANDS controls" ;;
20677 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
20678 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
20679 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
20680 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
20681 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
20682 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
20683 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
20684 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
20685 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
20686 "dlls/user/dde" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/dde" ;;
20687 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
20688 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
20689 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
20690 "misc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS misc" ;;
20691 "programs/regedit/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regedit/tests" ;;
20692 "windows" ) CONFIG_COMMANDS="$CONFIG_COMMANDS windows" ;;
20693 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20694 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20695 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20696 { (exit 1); exit 1; }; };;
20697 esac
20698 done
20700 # If the user did not use the arguments to specify the items to instantiate,
20701 # then the envvar interface is used. Set only those that are not.
20702 # We use the long form for the default assignment because of an extremely
20703 # bizarre bug on SunOS 4.1.3.
20704 if $ac_need_defaults; then
20705 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20706 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20707 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20710 # Have a temporary directory for convenience. Make it in the build tree
20711 # simply because there is no reason to put it here, and in addition,
20712 # creating and moving files from /tmp can sometimes cause problems.
20713 # Create a temporary directory, and hook for its removal unless debugging.
20714 $debug ||
20716 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20717 trap '{ (exit 1); exit 1; }' 1 2 13 15
20720 # Create a (secure) tmp directory for tmp files.
20723 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20724 test -n "$tmp" && test -d "$tmp"
20725 } ||
20727 tmp=./confstat$$-$RANDOM
20728 (umask 077 && mkdir $tmp)
20729 } ||
20731 echo "$me: cannot create a temporary directory in ." >&2
20732 { (exit 1); exit 1; }
20735 _ACEOF
20737 cat >>$CONFIG_STATUS <<_ACEOF
20740 # CONFIG_FILES section.
20743 # No need to generate the scripts if there are no CONFIG_FILES.
20744 # This happens for instance when ./config.status config.h
20745 if test -n "\$CONFIG_FILES"; then
20746 # Protect against being on the right side of a sed subst in config.status.
20747 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20748 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20749 s,@SHELL@,$SHELL,;t t
20750 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20751 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20752 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20753 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20754 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20755 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20756 s,@exec_prefix@,$exec_prefix,;t t
20757 s,@prefix@,$prefix,;t t
20758 s,@program_transform_name@,$program_transform_name,;t t
20759 s,@bindir@,$bindir,;t t
20760 s,@sbindir@,$sbindir,;t t
20761 s,@libexecdir@,$libexecdir,;t t
20762 s,@datadir@,$datadir,;t t
20763 s,@sysconfdir@,$sysconfdir,;t t
20764 s,@sharedstatedir@,$sharedstatedir,;t t
20765 s,@localstatedir@,$localstatedir,;t t
20766 s,@libdir@,$libdir,;t t
20767 s,@includedir@,$includedir,;t t
20768 s,@oldincludedir@,$oldincludedir,;t t
20769 s,@infodir@,$infodir,;t t
20770 s,@mandir@,$mandir,;t t
20771 s,@build_alias@,$build_alias,;t t
20772 s,@host_alias@,$host_alias,;t t
20773 s,@target_alias@,$target_alias,;t t
20774 s,@DEFS@,$DEFS,;t t
20775 s,@ECHO_C@,$ECHO_C,;t t
20776 s,@ECHO_N@,$ECHO_N,;t t
20777 s,@ECHO_T@,$ECHO_T,;t t
20778 s,@LIBS@,$LIBS,;t t
20779 s,@WIN16_FILES@,$WIN16_FILES,;t t
20780 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
20781 s,@build@,$build,;t t
20782 s,@build_cpu@,$build_cpu,;t t
20783 s,@build_vendor@,$build_vendor,;t t
20784 s,@build_os@,$build_os,;t t
20785 s,@host@,$host,;t t
20786 s,@host_cpu@,$host_cpu,;t t
20787 s,@host_vendor@,$host_vendor,;t t
20788 s,@host_os@,$host_os,;t t
20789 s,@SET_MAKE@,$SET_MAKE,;t t
20790 s,@CC@,$CC,;t t
20791 s,@CFLAGS@,$CFLAGS,;t t
20792 s,@LDFLAGS@,$LDFLAGS,;t t
20793 s,@CPPFLAGS@,$CPPFLAGS,;t t
20794 s,@ac_ct_CC@,$ac_ct_CC,;t t
20795 s,@EXEEXT@,$EXEEXT,;t t
20796 s,@OBJEXT@,$OBJEXT,;t t
20797 s,@CXX@,$CXX,;t t
20798 s,@CXXFLAGS@,$CXXFLAGS,;t t
20799 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20800 s,@CPPBIN@,$CPPBIN,;t t
20801 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
20802 s,@TOOLSDIR@,$TOOLSDIR,;t t
20803 s,@CPP@,$CPP,;t t
20804 s,@X_CFLAGS@,$X_CFLAGS,;t t
20805 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
20806 s,@X_LIBS@,$X_LIBS,;t t
20807 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
20808 s,@LEX@,$LEX,;t t
20809 s,@LEXLIB@,$LEXLIB,;t t
20810 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20811 s,@XLEX@,$XLEX,;t t
20812 s,@BISON@,$BISON,;t t
20813 s,@AS@,$AS,;t t
20814 s,@ac_ct_AS@,$ac_ct_AS,;t t
20815 s,@LD@,$LD,;t t
20816 s,@ac_ct_LD@,$ac_ct_LD,;t t
20817 s,@AR@,$AR,;t t
20818 s,@ac_ct_AR@,$ac_ct_AR,;t t
20819 s,@RANLIB@,$RANLIB,;t t
20820 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20821 s,@STRIP@,$STRIP,;t t
20822 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20823 s,@WINDRES@,$WINDRES,;t t
20824 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
20825 s,@LN_S@,$LN_S,;t t
20826 s,@LN@,$LN,;t t
20827 s,@LDCONFIG@,$LDCONFIG,;t t
20828 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20829 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20830 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20831 s,@LINT@,$LINT,;t t
20832 s,@LINTFLAGS@,$LINTFLAGS,;t t
20833 s,@DB2HTML@,$DB2HTML,;t t
20834 s,@DB2PDF@,$DB2PDF,;t t
20835 s,@DB2PS@,$DB2PS,;t t
20836 s,@DB2TXT@,$DB2TXT,;t t
20837 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
20838 s,@XLIB@,$XLIB,;t t
20839 s,@XFILES@,$XFILES,;t t
20840 s,@OPENGLFILES@,$OPENGLFILES,;t t
20841 s,@GLU32FILES@,$GLU32FILES,;t t
20842 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
20843 s,@EGREP@,$EGREP,;t t
20844 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
20845 s,@GLUT32FILES@,$GLUT32FILES,;t t
20846 s,@NASLIBS@,$NASLIBS,;t t
20847 s,@CURSESLIBS@,$CURSESLIBS,;t t
20848 s,@sane_devel@,$sane_devel,;t t
20849 s,@SANELIBS@,$SANELIBS,;t t
20850 s,@SANEINCL@,$SANEINCL,;t t
20851 s,@ICULIBS@,$ICULIBS,;t t
20852 s,@ft_devel@,$ft_devel,;t t
20853 s,@ft_devel2@,$ft_devel2,;t t
20854 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
20855 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
20856 s,@ARTSLIBS@,$ARTSLIBS,;t t
20857 s,@ARTSINCL@,$ARTSINCL,;t t
20858 s,@ALSALIBS@,$ALSALIBS,;t t
20859 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
20860 s,@CAPI4LINUXLIBS@,$CAPI4LINUXLIBS,;t t
20861 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
20862 s,@DLLEXT@,$DLLEXT,;t t
20863 s,@DLLFLAGS@,$DLLFLAGS,;t t
20864 s,@DLLIBS@,$DLLIBS,;t t
20865 s,@LDSHARED@,$LDSHARED,;t t
20866 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
20867 s,@LIBEXT@,$LIBEXT,;t t
20868 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
20869 s,@DLLTOOL@,$DLLTOOL,;t t
20870 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
20871 s,@DLLWRAP@,$DLLWRAP,;t t
20872 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
20873 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
20874 s,@LDLIBWINEFLAGS@,$LDLIBWINEFLAGS,;t t
20875 s,@CROSSTEST@,$CROSSTEST,;t t
20876 s,@CROSSCC@,$CROSSCC,;t t
20877 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
20878 s,@LDPATH@,$LDPATH,;t t
20879 s,@CRTLIBS@,$CRTLIBS,;t t
20880 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
20881 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
20882 s,@LDD@,$LDD,;t t
20883 s,@ALLOCA@,$ALLOCA,;t t
20884 s,@LIBOBJS@,$LIBOBJS,;t t
20885 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20886 /@MAKE_RULES@/r $MAKE_RULES
20887 s,@MAKE_RULES@,,;t t
20888 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
20889 s,@MAKE_DLL_RULES@,,;t t
20890 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
20891 s,@MAKE_TEST_RULES@,,;t t
20892 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
20893 s,@MAKE_LIB_RULES@,,;t t
20894 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
20895 s,@MAKE_PROG_RULES@,,;t t
20896 CEOF
20898 _ACEOF
20900 cat >>$CONFIG_STATUS <<\_ACEOF
20901 # Split the substitutions into bite-sized pieces for seds with
20902 # small command number limits, like on Digital OSF/1 and HP-UX.
20903 ac_max_sed_lines=48
20904 ac_sed_frag=1 # Number of current file.
20905 ac_beg=1 # First line for current file.
20906 ac_end=$ac_max_sed_lines # Line after last line for current file.
20907 ac_more_lines=:
20908 ac_sed_cmds=
20909 while $ac_more_lines; do
20910 if test $ac_beg -gt 1; then
20911 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20912 else
20913 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20915 if test ! -s $tmp/subs.frag; then
20916 ac_more_lines=false
20917 else
20918 # The purpose of the label and of the branching condition is to
20919 # speed up the sed processing (if there are no `@' at all, there
20920 # is no need to browse any of the substitutions).
20921 # These are the two extra sed commands mentioned above.
20922 (echo ':t
20923 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
20924 if test -z "$ac_sed_cmds"; then
20925 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
20926 else
20927 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20929 ac_sed_frag=`expr $ac_sed_frag + 1`
20930 ac_beg=$ac_end
20931 ac_end=`expr $ac_end + $ac_max_sed_lines`
20933 done
20934 if test -z "$ac_sed_cmds"; then
20935 ac_sed_cmds=cat
20937 fi # test -n "$CONFIG_FILES"
20939 _ACEOF
20940 cat >>$CONFIG_STATUS <<\_ACEOF
20941 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
20942 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20943 case $ac_file in
20944 - | *:- | *:-:* ) # input from stdin
20945 cat >$tmp/stdin
20946 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20947 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20948 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20949 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20950 * ) ac_file_in=$ac_file.in ;;
20951 esac
20953 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20954 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
20955 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20956 X"$ac_file" : 'X\(//\)[^/]' \| \
20957 X"$ac_file" : 'X\(//\)$' \| \
20958 X"$ac_file" : 'X\(/\)' \| \
20959 . : '\(.\)' 2>/dev/null ||
20960 echo X"$ac_file" |
20961 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20962 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20963 /^X\(\/\/\)$/{ s//\1/; q; }
20964 /^X\(\/\).*/{ s//\1/; q; }
20965 s/.*/./; q'`
20966 { if $as_mkdir_p; then
20967 mkdir -p "$ac_dir"
20968 else
20969 as_dir="$ac_dir"
20970 as_dirs=
20971 while test ! -d "$as_dir"; do
20972 as_dirs="$as_dir $as_dirs"
20973 as_dir=`(dirname "$as_dir") 2>/dev/null ||
20974 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20975 X"$as_dir" : 'X\(//\)[^/]' \| \
20976 X"$as_dir" : 'X\(//\)$' \| \
20977 X"$as_dir" : 'X\(/\)' \| \
20978 . : '\(.\)' 2>/dev/null ||
20979 echo X"$as_dir" |
20980 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20981 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20982 /^X\(\/\/\)$/{ s//\1/; q; }
20983 /^X\(\/\).*/{ s//\1/; q; }
20984 s/.*/./; q'`
20985 done
20986 test ! -n "$as_dirs" || mkdir $as_dirs
20987 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20988 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20989 { (exit 1); exit 1; }; }; }
20991 ac_builddir=.
20993 if test "$ac_dir" != .; then
20994 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20995 # A "../" for each directory in $ac_dir_suffix.
20996 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20997 else
20998 ac_dir_suffix= ac_top_builddir=
21001 case $srcdir in
21002 .) # No --srcdir option. We are building in place.
21003 ac_srcdir=.
21004 if test -z "$ac_top_builddir"; then
21005 ac_top_srcdir=.
21006 else
21007 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21008 fi ;;
21009 [\\/]* | ?:[\\/]* ) # Absolute path.
21010 ac_srcdir=$srcdir$ac_dir_suffix;
21011 ac_top_srcdir=$srcdir ;;
21012 *) # Relative path.
21013 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21014 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21015 esac
21017 # Do not use `cd foo && pwd` to compute absolute paths, because
21018 # the directories may not exist.
21019 case `pwd` in
21020 .) ac_abs_builddir="$ac_dir";;
21022 case "$ac_dir" in
21023 .) ac_abs_builddir=`pwd`;;
21024 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21025 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21026 esac;;
21027 esac
21028 case $ac_abs_builddir in
21029 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21031 case ${ac_top_builddir}. in
21032 .) ac_abs_top_builddir=$ac_abs_builddir;;
21033 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21034 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21035 esac;;
21036 esac
21037 case $ac_abs_builddir in
21038 .) ac_abs_srcdir=$ac_srcdir;;
21040 case $ac_srcdir in
21041 .) ac_abs_srcdir=$ac_abs_builddir;;
21042 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21043 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21044 esac;;
21045 esac
21046 case $ac_abs_builddir in
21047 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21049 case $ac_top_srcdir in
21050 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21051 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21052 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21053 esac;;
21054 esac
21057 case $INSTALL in
21058 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21059 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21060 esac
21062 # Let's still pretend it is `configure' which instantiates (i.e., don't
21063 # use $as_me), people would be surprised to read:
21064 # /* config.h. Generated by config.status. */
21065 if test x"$ac_file" = x-; then
21066 configure_input=
21067 else
21068 configure_input="$ac_file. "
21070 configure_input=$configure_input"Generated from `echo $ac_file_in |
21071 sed 's,.*/,,'` by configure."
21073 # First look for the input files in the build tree, otherwise in the
21074 # src tree.
21075 ac_file_inputs=`IFS=:
21076 for f in $ac_file_in; do
21077 case $f in
21078 -) echo $tmp/stdin ;;
21079 [\\/$]*)
21080 # Absolute (can't be DOS-style, as IFS=:)
21081 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21082 echo "$as_me: error: cannot find input file: $f" >&2;}
21083 { (exit 1); exit 1; }; }
21084 echo "$f";;
21085 *) # Relative
21086 if test -f "$f"; then
21087 # Build tree
21088 echo "$f"
21089 elif test -f "$srcdir/$f"; then
21090 # Source tree
21091 echo "$srcdir/$f"
21092 else
21093 # /dev/null tree
21094 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21095 echo "$as_me: error: cannot find input file: $f" >&2;}
21096 { (exit 1); exit 1; }; }
21097 fi;;
21098 esac
21099 done` || { (exit 1); exit 1; }
21101 if test x"$ac_file" != x-; then
21102 { echo "$as_me:$LINENO: creating $ac_file" >&5
21103 echo "$as_me: creating $ac_file" >&6;}
21104 rm -f "$ac_file"
21106 _ACEOF
21107 cat >>$CONFIG_STATUS <<_ACEOF
21108 sed "$ac_vpsub
21109 $extrasub
21110 _ACEOF
21111 cat >>$CONFIG_STATUS <<\_ACEOF
21113 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21114 s,@configure_input@,$configure_input,;t t
21115 s,@srcdir@,$ac_srcdir,;t t
21116 s,@abs_srcdir@,$ac_abs_srcdir,;t t
21117 s,@top_srcdir@,$ac_top_srcdir,;t t
21118 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21119 s,@builddir@,$ac_builddir,;t t
21120 s,@abs_builddir@,$ac_abs_builddir,;t t
21121 s,@top_builddir@,$ac_top_builddir,;t t
21122 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21123 s,@INSTALL@,$ac_INSTALL,;t t
21124 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21125 rm -f $tmp/stdin
21126 if test x"$ac_file" != x-; then
21127 mv $tmp/out $ac_file
21128 else
21129 cat $tmp/out
21130 rm -f $tmp/out
21133 done
21134 _ACEOF
21135 cat >>$CONFIG_STATUS <<\_ACEOF
21138 # CONFIG_HEADER section.
21141 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21142 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21144 # ac_d sets the value in "#define NAME VALUE" lines.
21145 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21146 ac_dB='[ ].*$,\1#\2'
21147 ac_dC=' '
21148 ac_dD=',;t'
21149 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21150 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21151 ac_uB='$,\1#\2define\3'
21152 ac_uC=' '
21153 ac_uD=',;t'
21155 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21156 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21157 case $ac_file in
21158 - | *:- | *:-:* ) # input from stdin
21159 cat >$tmp/stdin
21160 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21161 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21162 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21163 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21164 * ) ac_file_in=$ac_file.in ;;
21165 esac
21167 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21168 echo "$as_me: creating $ac_file" >&6;}
21170 # First look for the input files in the build tree, otherwise in the
21171 # src tree.
21172 ac_file_inputs=`IFS=:
21173 for f in $ac_file_in; do
21174 case $f in
21175 -) echo $tmp/stdin ;;
21176 [\\/$]*)
21177 # Absolute (can't be DOS-style, as IFS=:)
21178 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21179 echo "$as_me: error: cannot find input file: $f" >&2;}
21180 { (exit 1); exit 1; }; }
21181 # Do quote $f, to prevent DOS paths from being IFS'd.
21182 echo "$f";;
21183 *) # Relative
21184 if test -f "$f"; then
21185 # Build tree
21186 echo "$f"
21187 elif test -f "$srcdir/$f"; then
21188 # Source tree
21189 echo "$srcdir/$f"
21190 else
21191 # /dev/null tree
21192 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21193 echo "$as_me: error: cannot find input file: $f" >&2;}
21194 { (exit 1); exit 1; }; }
21195 fi;;
21196 esac
21197 done` || { (exit 1); exit 1; }
21198 # Remove the trailing spaces.
21199 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21201 _ACEOF
21203 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21204 # `conftest.undefs', that substitutes the proper values into
21205 # config.h.in to produce config.h. The first handles `#define'
21206 # templates, and the second `#undef' templates.
21207 # And first: Protect against being on the right side of a sed subst in
21208 # config.status. Protect against being in an unquoted here document
21209 # in config.status.
21210 rm -f conftest.defines conftest.undefs
21211 # Using a here document instead of a string reduces the quoting nightmare.
21212 # Putting comments in sed scripts is not portable.
21214 # `end' is used to avoid that the second main sed command (meant for
21215 # 0-ary CPP macros) applies to n-ary macro definitions.
21216 # See the Autoconf documentation for `clear'.
21217 cat >confdef2sed.sed <<\_ACEOF
21218 s/[\\&,]/\\&/g
21219 s,[\\$`],\\&,g
21220 t clear
21221 : clear
21222 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21223 t end
21224 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21225 : end
21226 _ACEOF
21227 # If some macros were called several times there might be several times
21228 # the same #defines, which is useless. Nevertheless, we may not want to
21229 # sort them, since we want the *last* AC-DEFINE to be honored.
21230 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21231 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21232 rm -f confdef2sed.sed
21234 # This sed command replaces #undef with comments. This is necessary, for
21235 # example, in the case of _POSIX_SOURCE, which is predefined and required
21236 # on some systems where configure will not decide to define it.
21237 cat >>conftest.undefs <<\_ACEOF
21238 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21239 _ACEOF
21241 # Break up conftest.defines because some shells have a limit on the size
21242 # of here documents, and old seds have small limits too (100 cmds).
21243 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21244 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21245 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21246 echo ' :' >>$CONFIG_STATUS
21247 rm -f conftest.tail
21248 while grep . conftest.defines >/dev/null
21250 # Write a limited-size here document to $tmp/defines.sed.
21251 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21252 # Speed up: don't consider the non `#define' lines.
21253 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21254 # Work around the forget-to-reset-the-flag bug.
21255 echo 't clr' >>$CONFIG_STATUS
21256 echo ': clr' >>$CONFIG_STATUS
21257 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21258 echo 'CEOF
21259 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21260 rm -f $tmp/in
21261 mv $tmp/out $tmp/in
21262 ' >>$CONFIG_STATUS
21263 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21264 rm -f conftest.defines
21265 mv conftest.tail conftest.defines
21266 done
21267 rm -f conftest.defines
21268 echo ' fi # grep' >>$CONFIG_STATUS
21269 echo >>$CONFIG_STATUS
21271 # Break up conftest.undefs because some shells have a limit on the size
21272 # of here documents, and old seds have small limits too (100 cmds).
21273 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21274 rm -f conftest.tail
21275 while grep . conftest.undefs >/dev/null
21277 # Write a limited-size here document to $tmp/undefs.sed.
21278 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21279 # Speed up: don't consider the non `#undef'
21280 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21281 # Work around the forget-to-reset-the-flag bug.
21282 echo 't clr' >>$CONFIG_STATUS
21283 echo ': clr' >>$CONFIG_STATUS
21284 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21285 echo 'CEOF
21286 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21287 rm -f $tmp/in
21288 mv $tmp/out $tmp/in
21289 ' >>$CONFIG_STATUS
21290 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21291 rm -f conftest.undefs
21292 mv conftest.tail conftest.undefs
21293 done
21294 rm -f conftest.undefs
21296 cat >>$CONFIG_STATUS <<\_ACEOF
21297 # Let's still pretend it is `configure' which instantiates (i.e., don't
21298 # use $as_me), people would be surprised to read:
21299 # /* config.h. Generated by config.status. */
21300 if test x"$ac_file" = x-; then
21301 echo "/* Generated by configure. */" >$tmp/config.h
21302 else
21303 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21305 cat $tmp/in >>$tmp/config.h
21306 rm -f $tmp/in
21307 if test x"$ac_file" != x-; then
21308 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21309 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21310 echo "$as_me: $ac_file is unchanged" >&6;}
21311 else
21312 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21313 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21314 X"$ac_file" : 'X\(//\)[^/]' \| \
21315 X"$ac_file" : 'X\(//\)$' \| \
21316 X"$ac_file" : 'X\(/\)' \| \
21317 . : '\(.\)' 2>/dev/null ||
21318 echo X"$ac_file" |
21319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21320 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21321 /^X\(\/\/\)$/{ s//\1/; q; }
21322 /^X\(\/\).*/{ s//\1/; q; }
21323 s/.*/./; q'`
21324 { if $as_mkdir_p; then
21325 mkdir -p "$ac_dir"
21326 else
21327 as_dir="$ac_dir"
21328 as_dirs=
21329 while test ! -d "$as_dir"; do
21330 as_dirs="$as_dir $as_dirs"
21331 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21333 X"$as_dir" : 'X\(//\)[^/]' \| \
21334 X"$as_dir" : 'X\(//\)$' \| \
21335 X"$as_dir" : 'X\(/\)' \| \
21336 . : '\(.\)' 2>/dev/null ||
21337 echo X"$as_dir" |
21338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21339 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21340 /^X\(\/\/\)$/{ s//\1/; q; }
21341 /^X\(\/\).*/{ s//\1/; q; }
21342 s/.*/./; q'`
21343 done
21344 test ! -n "$as_dirs" || mkdir $as_dirs
21345 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21346 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21347 { (exit 1); exit 1; }; }; }
21349 rm -f $ac_file
21350 mv $tmp/config.h $ac_file
21352 else
21353 cat $tmp/config.h
21354 rm -f $tmp/config.h
21356 done
21357 _ACEOF
21358 cat >>$CONFIG_STATUS <<\_ACEOF
21361 # CONFIG_COMMANDS section.
21363 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21364 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21365 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21366 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21367 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21368 X"$ac_dest" : 'X\(//\)[^/]' \| \
21369 X"$ac_dest" : 'X\(//\)$' \| \
21370 X"$ac_dest" : 'X\(/\)' \| \
21371 . : '\(.\)' 2>/dev/null ||
21372 echo X"$ac_dest" |
21373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21374 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21375 /^X\(\/\/\)$/{ s//\1/; q; }
21376 /^X\(\/\).*/{ s//\1/; q; }
21377 s/.*/./; q'`
21378 { if $as_mkdir_p; then
21379 mkdir -p "$ac_dir"
21380 else
21381 as_dir="$ac_dir"
21382 as_dirs=
21383 while test ! -d "$as_dir"; do
21384 as_dirs="$as_dir $as_dirs"
21385 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21386 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21387 X"$as_dir" : 'X\(//\)[^/]' \| \
21388 X"$as_dir" : 'X\(//\)$' \| \
21389 X"$as_dir" : 'X\(/\)' \| \
21390 . : '\(.\)' 2>/dev/null ||
21391 echo X"$as_dir" |
21392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21393 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21394 /^X\(\/\/\)$/{ s//\1/; q; }
21395 /^X\(\/\).*/{ s//\1/; q; }
21396 s/.*/./; q'`
21397 done
21398 test ! -n "$as_dirs" || mkdir $as_dirs
21399 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21400 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21401 { (exit 1); exit 1; }; }; }
21403 ac_builddir=.
21405 if test "$ac_dir" != .; then
21406 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21407 # A "../" for each directory in $ac_dir_suffix.
21408 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21409 else
21410 ac_dir_suffix= ac_top_builddir=
21413 case $srcdir in
21414 .) # No --srcdir option. We are building in place.
21415 ac_srcdir=.
21416 if test -z "$ac_top_builddir"; then
21417 ac_top_srcdir=.
21418 else
21419 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21420 fi ;;
21421 [\\/]* | ?:[\\/]* ) # Absolute path.
21422 ac_srcdir=$srcdir$ac_dir_suffix;
21423 ac_top_srcdir=$srcdir ;;
21424 *) # Relative path.
21425 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21426 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21427 esac
21429 # Do not use `cd foo && pwd` to compute absolute paths, because
21430 # the directories may not exist.
21431 case `pwd` in
21432 .) ac_abs_builddir="$ac_dir";;
21434 case "$ac_dir" in
21435 .) ac_abs_builddir=`pwd`;;
21436 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21437 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21438 esac;;
21439 esac
21440 case $ac_abs_builddir in
21441 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21443 case ${ac_top_builddir}. in
21444 .) ac_abs_top_builddir=$ac_abs_builddir;;
21445 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21446 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21447 esac;;
21448 esac
21449 case $ac_abs_builddir in
21450 .) ac_abs_srcdir=$ac_srcdir;;
21452 case $ac_srcdir in
21453 .) ac_abs_srcdir=$ac_abs_builddir;;
21454 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21455 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21456 esac;;
21457 esac
21458 case $ac_abs_builddir in
21459 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21461 case $ac_top_srcdir in
21462 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21463 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21464 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21465 esac;;
21466 esac
21469 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21470 echo "$as_me: executing $ac_dest commands" >&6;}
21471 case $ac_dest in
21472 controls ) test -d "controls" || ({ echo "$as_me:$LINENO: creating controls" >&5
21473 echo "$as_me: creating controls" >&6;} && mkdir "controls") ;;
21474 dlls/ddraw/d3ddevice ) test -d "dlls/ddraw/d3ddevice" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
21475 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir "dlls/ddraw/d3ddevice") ;;
21476 dlls/ddraw/dclipper ) test -d "dlls/ddraw/dclipper" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
21477 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir "dlls/ddraw/dclipper") ;;
21478 dlls/ddraw/ddraw ) test -d "dlls/ddraw/ddraw" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
21479 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir "dlls/ddraw/ddraw") ;;
21480 dlls/ddraw/direct3d ) test -d "dlls/ddraw/direct3d" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
21481 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir "dlls/ddraw/direct3d") ;;
21482 dlls/ddraw/dpalette ) test -d "dlls/ddraw/dpalette" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
21483 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir "dlls/ddraw/dpalette") ;;
21484 dlls/ddraw/dsurface ) test -d "dlls/ddraw/dsurface" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
21485 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir "dlls/ddraw/dsurface") ;;
21486 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21487 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
21488 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21489 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
21490 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21491 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
21492 dlls/user/dde ) test -d "dlls/user/dde" || ({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
21493 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir "dlls/user/dde") ;;
21494 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21495 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
21496 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21497 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
21498 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
21499 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
21500 misc ) test -d "misc" || ({ echo "$as_me:$LINENO: creating misc" >&5
21501 echo "$as_me: creating misc" >&6;} && mkdir "misc") ;;
21502 programs/regedit/tests ) test -d "programs/regedit/tests" || ({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
21503 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir "programs/regedit/tests") ;;
21504 windows ) test -d "windows" || ({ echo "$as_me:$LINENO: creating windows" >&5
21505 echo "$as_me: creating windows" >&6;} && mkdir "windows") ;;
21506 esac
21507 done
21508 _ACEOF
21510 cat >>$CONFIG_STATUS <<\_ACEOF
21512 { (exit 0); exit 0; }
21513 _ACEOF
21514 chmod +x $CONFIG_STATUS
21515 ac_clean_files=$ac_clean_files_save
21518 # configure is writing to config.log, and then calls config.status.
21519 # config.status does its own redirection, appending to config.log.
21520 # Unfortunately, on DOS this fails, as config.log is still kept open
21521 # by configure, so config.status won't be able to write to it; its
21522 # output is simply discarded. So we exec the FD to /dev/null,
21523 # effectively closing config.log, so it can be properly (re)opened and
21524 # appended to by config.status. When coming back to configure, we
21525 # need to make the FD available again.
21526 if test "$no_create" != yes; then
21527 ac_cs_success=:
21528 ac_config_status_args=
21529 test "$silent" = yes &&
21530 ac_config_status_args="$ac_config_status_args --quiet"
21531 exec 5>/dev/null
21532 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21533 exec 5>>config.log
21534 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21535 # would make configure fail if this is the last instruction.
21536 $ac_cs_success || { (exit 1); exit 1; }
21540 if test "$have_x" = "no"
21541 then
21542 echo
21543 echo "*** Warning: X development files not found. Wine will be built without"
21544 echo "*** X support, which currently does not work, and would probably not be"
21545 echo "*** what you want anyway. You will need to install devel packages of"
21546 echo "*** Xlib/Xfree86 at the very least."
21549 if test "$wine_cv_opengl_version_OK" = "no"
21550 then
21551 echo
21552 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21553 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21556 if test "$wine_cv_msg_freetype" = "yes"
21557 then
21558 echo
21559 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21560 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21561 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21562 echo "*** enable Wine to use TrueType fonts."
21565 echo
21566 echo "Configure finished. Do 'make depend && make' to compile Wine."
21567 echo