Moved the SGML documentation over to SourceForge.
[wine/dcerpc.git] / configure
blobf3da8669ce78ace5c3b4d5c2488ac95c1ba999a7
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20050419.
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='20050419'
273 PACKAGE_STRING='Wine 20050419'
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 DLLDEFS build build_cpu build_vendor build_os host host_cpu host_vendor host_os SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPPBIN ac_ct_CPPBIN TOOLSDIR CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LEX LEXLIB LEX_OUTPUT_ROOT XLEX BISON AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES LN_S LN EGREP LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS FONTFORGE LIBPTHREAD XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS ft_devel ft_devel2 FREETYPELIBS FREETYPEINCL FONTSSUBDIRS ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS EXTRACFLAGS DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLLFLAGS LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS LDLIBWINEFLAGS COREFOUNDATIONLIB IOKITLIB CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS SOCKETLIBS WINE_BINARIES MAIN_BINARY LDD ALLOCA LIBOBJS LTLIBOBJS'
315 ac_subst_files='MAKE_RULES MAKE_DLL_RULES MAKE_TEST_RULES MAKE_LIB_RULES MAKE_PROG_RULES'
317 # Initialize some variables set by options.
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 20050419 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 20050419:";;
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
866 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
867 binaries)
869 Optional Packages:
870 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
871 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
872 --without-opengl do not use OpenGL
873 --without-curses do not use curses
874 --with-wine-tools=<dir> use Wine tools from directory <dir>
875 --with-x use the X Window System
877 Some influential environment variables:
878 CC C compiler command
879 CFLAGS C compiler flags
880 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
881 nonstandard directory <lib dir>
882 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
883 headers in a nonstandard directory <include dir>
884 CXX C++ compiler command
885 CXXFLAGS C++ compiler flags
886 CPP C preprocessor
888 Use these variables to override the choices made by `configure' or to help
889 it to find libraries and programs with nonstandard names/locations.
891 Report bugs to <wine-devel@winehq.org>.
892 _ACEOF
895 if test "$ac_init_help" = "recursive"; then
896 # If there are subdirs, report their specific --help.
897 ac_popdir=`pwd`
898 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
899 test -d $ac_dir || continue
900 ac_builddir=.
902 if test "$ac_dir" != .; then
903 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
904 # A "../" for each directory in $ac_dir_suffix.
905 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
906 else
907 ac_dir_suffix= ac_top_builddir=
910 case $srcdir in
911 .) # No --srcdir option. We are building in place.
912 ac_srcdir=.
913 if test -z "$ac_top_builddir"; then
914 ac_top_srcdir=.
915 else
916 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
917 fi ;;
918 [\\/]* | ?:[\\/]* ) # Absolute path.
919 ac_srcdir=$srcdir$ac_dir_suffix;
920 ac_top_srcdir=$srcdir ;;
921 *) # Relative path.
922 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
923 ac_top_srcdir=$ac_top_builddir$srcdir ;;
924 esac
926 # Do not use `cd foo && pwd` to compute absolute paths, because
927 # the directories may not exist.
928 case `pwd` in
929 .) ac_abs_builddir="$ac_dir";;
931 case "$ac_dir" in
932 .) ac_abs_builddir=`pwd`;;
933 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
934 *) ac_abs_builddir=`pwd`/"$ac_dir";;
935 esac;;
936 esac
937 case $ac_abs_builddir in
938 .) ac_abs_top_builddir=${ac_top_builddir}.;;
940 case ${ac_top_builddir}. in
941 .) ac_abs_top_builddir=$ac_abs_builddir;;
942 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
943 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
944 esac;;
945 esac
946 case $ac_abs_builddir in
947 .) ac_abs_srcdir=$ac_srcdir;;
949 case $ac_srcdir in
950 .) ac_abs_srcdir=$ac_abs_builddir;;
951 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
952 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
953 esac;;
954 esac
955 case $ac_abs_builddir in
956 .) ac_abs_top_srcdir=$ac_top_srcdir;;
958 case $ac_top_srcdir in
959 .) ac_abs_top_srcdir=$ac_abs_builddir;;
960 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
961 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
962 esac;;
963 esac
965 cd $ac_dir
966 # Check for guested configure; otherwise get Cygnus style configure.
967 if test -f $ac_srcdir/configure.gnu; then
968 echo
969 $SHELL $ac_srcdir/configure.gnu --help=recursive
970 elif test -f $ac_srcdir/configure; then
971 echo
972 $SHELL $ac_srcdir/configure --help=recursive
973 elif test -f $ac_srcdir/configure.ac ||
974 test -f $ac_srcdir/configure.in; then
975 echo
976 $ac_configure --help
977 else
978 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
980 cd "$ac_popdir"
981 done
984 test -n "$ac_init_help" && exit 0
985 if $ac_init_version; then
986 cat <<\_ACEOF
987 Wine configure 20050419
988 generated by GNU Autoconf 2.59
990 Copyright (C) 2003 Free Software Foundation, Inc.
991 This configure script is free software; the Free Software Foundation
992 gives unlimited permission to copy, distribute and modify it.
993 _ACEOF
994 exit 0
996 exec 5>config.log
997 cat >&5 <<_ACEOF
998 This file contains any messages produced by compilers while
999 running configure, to aid debugging if configure makes a mistake.
1001 It was created by Wine $as_me 20050419, which was
1002 generated by GNU Autoconf 2.59. Invocation command line was
1004 $ $0 $@
1006 _ACEOF
1008 cat <<_ASUNAME
1009 ## --------- ##
1010 ## Platform. ##
1011 ## --------- ##
1013 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1014 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1015 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1016 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1017 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1019 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1020 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1022 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1023 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1024 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1025 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1026 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1027 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1028 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1030 _ASUNAME
1032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1033 for as_dir in $PATH
1035 IFS=$as_save_IFS
1036 test -z "$as_dir" && as_dir=.
1037 echo "PATH: $as_dir"
1038 done
1040 } >&5
1042 cat >&5 <<_ACEOF
1045 ## ----------- ##
1046 ## Core tests. ##
1047 ## ----------- ##
1049 _ACEOF
1052 # Keep a trace of the command line.
1053 # Strip out --no-create and --no-recursion so they do not pile up.
1054 # Strip out --silent because we don't want to record it for future runs.
1055 # Also quote any args containing shell meta-characters.
1056 # Make two passes to allow for proper duplicate-argument suppression.
1057 ac_configure_args=
1058 ac_configure_args0=
1059 ac_configure_args1=
1060 ac_sep=
1061 ac_must_keep_next=false
1062 for ac_pass in 1 2
1064 for ac_arg
1066 case $ac_arg in
1067 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069 | -silent | --silent | --silen | --sile | --sil)
1070 continue ;;
1071 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1072 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1073 esac
1074 case $ac_pass in
1075 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1077 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1078 if test $ac_must_keep_next = true; then
1079 ac_must_keep_next=false # Got value, back to normal.
1080 else
1081 case $ac_arg in
1082 *=* | --config-cache | -C | -disable-* | --disable-* \
1083 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1084 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1085 | -with-* | --with-* | -without-* | --without-* | --x)
1086 case "$ac_configure_args0 " in
1087 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1088 esac
1090 -* ) ac_must_keep_next=true ;;
1091 esac
1093 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1094 # Get rid of the leading space.
1095 ac_sep=" "
1097 esac
1098 done
1099 done
1100 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1101 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1103 # When interrupted or exit'd, cleanup temporary files, and complete
1104 # config.log. We remove comments because anyway the quotes in there
1105 # would cause problems or look ugly.
1106 # WARNING: Be sure not to use single quotes in there, as some shells,
1107 # such as our DU 5.0 friend, will then `close' the trap.
1108 trap 'exit_status=$?
1109 # Save into config.log some information that might help in debugging.
1111 echo
1113 cat <<\_ASBOX
1114 ## ---------------- ##
1115 ## Cache variables. ##
1116 ## ---------------- ##
1117 _ASBOX
1118 echo
1119 # The following way of writing the cache mishandles newlines in values,
1121 (set) 2>&1 |
1122 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1123 *ac_space=\ *)
1124 sed -n \
1125 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1129 sed -n \
1130 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1132 esac;
1134 echo
1136 cat <<\_ASBOX
1137 ## ----------------- ##
1138 ## Output variables. ##
1139 ## ----------------- ##
1140 _ASBOX
1141 echo
1142 for ac_var in $ac_subst_vars
1144 eval ac_val=$`echo $ac_var`
1145 echo "$ac_var='"'"'$ac_val'"'"'"
1146 done | sort
1147 echo
1149 if test -n "$ac_subst_files"; then
1150 cat <<\_ASBOX
1151 ## ------------- ##
1152 ## Output files. ##
1153 ## ------------- ##
1154 _ASBOX
1155 echo
1156 for ac_var in $ac_subst_files
1158 eval ac_val=$`echo $ac_var`
1159 echo "$ac_var='"'"'$ac_val'"'"'"
1160 done | sort
1161 echo
1164 if test -s confdefs.h; then
1165 cat <<\_ASBOX
1166 ## ----------- ##
1167 ## confdefs.h. ##
1168 ## ----------- ##
1169 _ASBOX
1170 echo
1171 sed "/^$/d" confdefs.h | sort
1172 echo
1174 test "$ac_signal" != 0 &&
1175 echo "$as_me: caught signal $ac_signal"
1176 echo "$as_me: exit $exit_status"
1177 } >&5
1178 rm -f core *.core &&
1179 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1180 exit $exit_status
1182 for ac_signal in 1 2 13 15; do
1183 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1184 done
1185 ac_signal=0
1187 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1188 rm -rf conftest* confdefs.h
1189 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1190 echo >confdefs.h
1192 # Predefined preprocessor variables.
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_NAME "$PACKAGE_NAME"
1196 _ACEOF
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1201 _ACEOF
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1206 _ACEOF
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_STRING "$PACKAGE_STRING"
1211 _ACEOF
1214 cat >>confdefs.h <<_ACEOF
1215 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1216 _ACEOF
1219 # Let the site file select an alternate cache file if it wants to.
1220 # Prefer explicitly selected file to automatically selected ones.
1221 if test -z "$CONFIG_SITE"; then
1222 if test "x$prefix" != xNONE; then
1223 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1224 else
1225 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1228 for ac_site_file in $CONFIG_SITE; do
1229 if test -r "$ac_site_file"; then
1230 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1231 echo "$as_me: loading site script $ac_site_file" >&6;}
1232 sed 's/^/| /' "$ac_site_file" >&5
1233 . "$ac_site_file"
1235 done
1237 if test -r "$cache_file"; then
1238 # Some versions of bash will fail to source /dev/null (special
1239 # files actually), so we avoid doing that.
1240 if test -f "$cache_file"; then
1241 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1242 echo "$as_me: loading cache $cache_file" >&6;}
1243 case $cache_file in
1244 [\\/]* | ?:[\\/]* ) . $cache_file;;
1245 *) . ./$cache_file;;
1246 esac
1248 else
1249 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1250 echo "$as_me: creating cache $cache_file" >&6;}
1251 >$cache_file
1254 # Check that the precious variables saved in the cache have kept the same
1255 # value.
1256 ac_cache_corrupted=false
1257 for ac_var in `(set) 2>&1 |
1258 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1259 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1260 eval ac_new_set=\$ac_env_${ac_var}_set
1261 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1262 eval ac_new_val="\$ac_env_${ac_var}_value"
1263 case $ac_old_set,$ac_new_set in
1264 set,)
1265 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1266 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1267 ac_cache_corrupted=: ;;
1268 ,set)
1269 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1270 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1271 ac_cache_corrupted=: ;;
1272 ,);;
1274 if test "x$ac_old_val" != "x$ac_new_val"; then
1275 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1276 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1277 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1278 echo "$as_me: former value: $ac_old_val" >&2;}
1279 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1280 echo "$as_me: current value: $ac_new_val" >&2;}
1281 ac_cache_corrupted=:
1282 fi;;
1283 esac
1284 # Pass precious variables to config.status.
1285 if test "$ac_new_set" = set; then
1286 case $ac_new_val in
1287 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1288 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1289 *) ac_arg=$ac_var=$ac_new_val ;;
1290 esac
1291 case " $ac_configure_args " in
1292 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1293 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1294 esac
1296 done
1297 if $ac_cache_corrupted; then
1298 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1299 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1300 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1301 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1302 { (exit 1); exit 1; }; }
1305 ac_ext=c
1306 ac_cpp='$CPP $CPPFLAGS'
1307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1338 ac_config_headers="$ac_config_headers include/config.h"
1340 ac_aux_dir=
1341 for ac_dir in tools $srcdir/tools; do
1342 if test -f $ac_dir/install-sh; then
1343 ac_aux_dir=$ac_dir
1344 ac_install_sh="$ac_aux_dir/install-sh -c"
1345 break
1346 elif test -f $ac_dir/install.sh; then
1347 ac_aux_dir=$ac_dir
1348 ac_install_sh="$ac_aux_dir/install.sh -c"
1349 break
1350 elif test -f $ac_dir/shtool; then
1351 ac_aux_dir=$ac_dir
1352 ac_install_sh="$ac_aux_dir/shtool install -c"
1353 break
1355 done
1356 if test -z "$ac_aux_dir"; then
1357 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1358 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1359 { (exit 1); exit 1; }; }
1361 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1362 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1363 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1367 # Check whether --enable-win16 or --disable-win16 was given.
1368 if test "${enable_win16+set}" = set; then
1369 enableval="$enable_win16"
1372 # Check whether --enable-debug or --disable-debug was given.
1373 if test "${enable_debug+set}" = set; then
1374 enableval="$enable_debug"
1377 # Check whether --enable-trace or --disable-trace was given.
1378 if test "${enable_trace+set}" = set; then
1379 enableval="$enable_trace"
1382 # Check whether --enable-win64 or --disable-win64 was given.
1383 if test "${enable_win64+set}" = set; then
1384 enableval="$enable_win64"
1389 # Check whether --with-opengl or --without-opengl was given.
1390 if test "${with_opengl+set}" = set; then
1391 withval="$with_opengl"
1395 # Check whether --with-curses or --without-curses was given.
1396 if test "${with_curses+set}" = set; then
1397 withval="$with_curses"
1401 # Check whether --with-wine-tools or --without-wine-tools was given.
1402 if test "${with_wine_tools+set}" = set; then
1403 withval="$with_wine_tools"
1407 WIN16_FILES="\$(WIN16_FILES)"
1409 WIN16_INSTALL="\$(WIN16_INSTALL)"
1411 if test "x$enable_win16" = "xno"
1412 then
1413 WIN16_FILES=""
1414 WIN16_INSTALL=""
1417 DLLDEFS=""
1419 if test "x$enable_debug" = "xno"
1420 then
1421 DLLDEFS="$DLLDEFS -DWINE_NO_DEBUG_MSGS"
1423 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1424 then
1425 DLLDEFS="$DLLDEFS -DWINE_NO_TRACE_MSGS"
1429 # Make sure we can run config.sub.
1430 $ac_config_sub sun4 >/dev/null 2>&1 ||
1431 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1432 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1433 { (exit 1); exit 1; }; }
1435 echo "$as_me:$LINENO: checking build system type" >&5
1436 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1437 if test "${ac_cv_build+set}" = set; then
1438 echo $ECHO_N "(cached) $ECHO_C" >&6
1439 else
1440 ac_cv_build_alias=$build_alias
1441 test -z "$ac_cv_build_alias" &&
1442 ac_cv_build_alias=`$ac_config_guess`
1443 test -z "$ac_cv_build_alias" &&
1444 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1445 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1446 { (exit 1); exit 1; }; }
1447 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1448 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1449 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1450 { (exit 1); exit 1; }; }
1453 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1454 echo "${ECHO_T}$ac_cv_build" >&6
1455 build=$ac_cv_build
1456 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1457 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1458 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1461 echo "$as_me:$LINENO: checking host system type" >&5
1462 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1463 if test "${ac_cv_host+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 else
1466 ac_cv_host_alias=$host_alias
1467 test -z "$ac_cv_host_alias" &&
1468 ac_cv_host_alias=$ac_cv_build_alias
1469 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1470 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1471 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1472 { (exit 1); exit 1; }; }
1475 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1476 echo "${ECHO_T}$ac_cv_host" >&6
1477 host=$ac_cv_host
1478 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1479 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1480 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1483 case $host in
1484 x86_64*linux*)
1485 if test "x$enable_win64" != "xyes"
1486 then
1487 test -n "$CC" || CC="gcc -m32"
1488 test -n "$LD" || LD="ld -m elf_i386"
1489 test -n "$AS" || AS="as --32"
1490 host_cpu="i386"
1493 esac
1495 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1496 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1497 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1498 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1499 echo $ECHO_N "(cached) $ECHO_C" >&6
1500 else
1501 cat >conftest.make <<\_ACEOF
1502 all:
1503 @echo 'ac_maketemp="$(MAKE)"'
1504 _ACEOF
1505 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1506 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1507 if test -n "$ac_maketemp"; then
1508 eval ac_cv_prog_make_${ac_make}_set=yes
1509 else
1510 eval ac_cv_prog_make_${ac_make}_set=no
1512 rm -f conftest.make
1514 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1515 echo "$as_me:$LINENO: result: yes" >&5
1516 echo "${ECHO_T}yes" >&6
1517 SET_MAKE=
1518 else
1519 echo "$as_me:$LINENO: result: no" >&5
1520 echo "${ECHO_T}no" >&6
1521 SET_MAKE="MAKE=${MAKE-make}"
1524 ac_ext=c
1525 ac_cpp='$CPP $CPPFLAGS'
1526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1529 if test -n "$ac_tool_prefix"; then
1530 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1531 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1532 echo "$as_me:$LINENO: checking for $ac_word" >&5
1533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1534 if test "${ac_cv_prog_CC+set}" = set; then
1535 echo $ECHO_N "(cached) $ECHO_C" >&6
1536 else
1537 if test -n "$CC"; then
1538 ac_cv_prog_CC="$CC" # Let the user override the test.
1539 else
1540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1541 for as_dir in $PATH
1543 IFS=$as_save_IFS
1544 test -z "$as_dir" && as_dir=.
1545 for ac_exec_ext in '' $ac_executable_extensions; do
1546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1547 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1549 break 2
1551 done
1552 done
1556 CC=$ac_cv_prog_CC
1557 if test -n "$CC"; then
1558 echo "$as_me:$LINENO: result: $CC" >&5
1559 echo "${ECHO_T}$CC" >&6
1560 else
1561 echo "$as_me:$LINENO: result: no" >&5
1562 echo "${ECHO_T}no" >&6
1566 if test -z "$ac_cv_prog_CC"; then
1567 ac_ct_CC=$CC
1568 # Extract the first word of "gcc", so it can be a program name with args.
1569 set dummy gcc; ac_word=$2
1570 echo "$as_me:$LINENO: checking for $ac_word" >&5
1571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1572 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1573 echo $ECHO_N "(cached) $ECHO_C" >&6
1574 else
1575 if test -n "$ac_ct_CC"; then
1576 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1577 else
1578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1579 for as_dir in $PATH
1581 IFS=$as_save_IFS
1582 test -z "$as_dir" && as_dir=.
1583 for ac_exec_ext in '' $ac_executable_extensions; do
1584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1585 ac_cv_prog_ac_ct_CC="gcc"
1586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1587 break 2
1589 done
1590 done
1594 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1595 if test -n "$ac_ct_CC"; then
1596 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1597 echo "${ECHO_T}$ac_ct_CC" >&6
1598 else
1599 echo "$as_me:$LINENO: result: no" >&5
1600 echo "${ECHO_T}no" >&6
1603 CC=$ac_ct_CC
1604 else
1605 CC="$ac_cv_prog_CC"
1608 if test -z "$CC"; then
1609 if test -n "$ac_tool_prefix"; then
1610 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1611 set dummy ${ac_tool_prefix}cc; ac_word=$2
1612 echo "$as_me:$LINENO: checking for $ac_word" >&5
1613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1614 if test "${ac_cv_prog_CC+set}" = set; then
1615 echo $ECHO_N "(cached) $ECHO_C" >&6
1616 else
1617 if test -n "$CC"; then
1618 ac_cv_prog_CC="$CC" # Let the user override the test.
1619 else
1620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1621 for as_dir in $PATH
1623 IFS=$as_save_IFS
1624 test -z "$as_dir" && as_dir=.
1625 for ac_exec_ext in '' $ac_executable_extensions; do
1626 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1627 ac_cv_prog_CC="${ac_tool_prefix}cc"
1628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1629 break 2
1631 done
1632 done
1636 CC=$ac_cv_prog_CC
1637 if test -n "$CC"; then
1638 echo "$as_me:$LINENO: result: $CC" >&5
1639 echo "${ECHO_T}$CC" >&6
1640 else
1641 echo "$as_me:$LINENO: result: no" >&5
1642 echo "${ECHO_T}no" >&6
1646 if test -z "$ac_cv_prog_CC"; then
1647 ac_ct_CC=$CC
1648 # Extract the first word of "cc", so it can be a program name with args.
1649 set dummy cc; ac_word=$2
1650 echo "$as_me:$LINENO: checking for $ac_word" >&5
1651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1652 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1653 echo $ECHO_N "(cached) $ECHO_C" >&6
1654 else
1655 if test -n "$ac_ct_CC"; then
1656 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1657 else
1658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1659 for as_dir in $PATH
1661 IFS=$as_save_IFS
1662 test -z "$as_dir" && as_dir=.
1663 for ac_exec_ext in '' $ac_executable_extensions; do
1664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1665 ac_cv_prog_ac_ct_CC="cc"
1666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1667 break 2
1669 done
1670 done
1674 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1675 if test -n "$ac_ct_CC"; then
1676 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1677 echo "${ECHO_T}$ac_ct_CC" >&6
1678 else
1679 echo "$as_me:$LINENO: result: no" >&5
1680 echo "${ECHO_T}no" >&6
1683 CC=$ac_ct_CC
1684 else
1685 CC="$ac_cv_prog_CC"
1689 if test -z "$CC"; then
1690 # Extract the first word of "cc", so it can be a program name with args.
1691 set dummy cc; ac_word=$2
1692 echo "$as_me:$LINENO: checking for $ac_word" >&5
1693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1694 if test "${ac_cv_prog_CC+set}" = set; then
1695 echo $ECHO_N "(cached) $ECHO_C" >&6
1696 else
1697 if test -n "$CC"; then
1698 ac_cv_prog_CC="$CC" # Let the user override the test.
1699 else
1700 ac_prog_rejected=no
1701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1702 for as_dir in $PATH
1704 IFS=$as_save_IFS
1705 test -z "$as_dir" && as_dir=.
1706 for ac_exec_ext in '' $ac_executable_extensions; do
1707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1708 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1709 ac_prog_rejected=yes
1710 continue
1712 ac_cv_prog_CC="cc"
1713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1714 break 2
1716 done
1717 done
1719 if test $ac_prog_rejected = yes; then
1720 # We found a bogon in the path, so make sure we never use it.
1721 set dummy $ac_cv_prog_CC
1722 shift
1723 if test $# != 0; then
1724 # We chose a different compiler from the bogus one.
1725 # However, it has the same basename, so the bogon will be chosen
1726 # first if we set CC to just the basename; use the full file name.
1727 shift
1728 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1733 CC=$ac_cv_prog_CC
1734 if test -n "$CC"; then
1735 echo "$as_me:$LINENO: result: $CC" >&5
1736 echo "${ECHO_T}$CC" >&6
1737 else
1738 echo "$as_me:$LINENO: result: no" >&5
1739 echo "${ECHO_T}no" >&6
1743 if test -z "$CC"; then
1744 if test -n "$ac_tool_prefix"; then
1745 for ac_prog in cl
1747 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1748 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1749 echo "$as_me:$LINENO: checking for $ac_word" >&5
1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1751 if test "${ac_cv_prog_CC+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 else
1754 if test -n "$CC"; then
1755 ac_cv_prog_CC="$CC" # Let the user override the test.
1756 else
1757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1758 for as_dir in $PATH
1760 IFS=$as_save_IFS
1761 test -z "$as_dir" && as_dir=.
1762 for ac_exec_ext in '' $ac_executable_extensions; do
1763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1764 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1766 break 2
1768 done
1769 done
1773 CC=$ac_cv_prog_CC
1774 if test -n "$CC"; then
1775 echo "$as_me:$LINENO: result: $CC" >&5
1776 echo "${ECHO_T}$CC" >&6
1777 else
1778 echo "$as_me:$LINENO: result: no" >&5
1779 echo "${ECHO_T}no" >&6
1782 test -n "$CC" && break
1783 done
1785 if test -z "$CC"; then
1786 ac_ct_CC=$CC
1787 for ac_prog in cl
1789 # Extract the first word of "$ac_prog", so it can be a program name with args.
1790 set dummy $ac_prog; ac_word=$2
1791 echo "$as_me:$LINENO: checking for $ac_word" >&5
1792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1793 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1794 echo $ECHO_N "(cached) $ECHO_C" >&6
1795 else
1796 if test -n "$ac_ct_CC"; then
1797 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1798 else
1799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1800 for as_dir in $PATH
1802 IFS=$as_save_IFS
1803 test -z "$as_dir" && as_dir=.
1804 for ac_exec_ext in '' $ac_executable_extensions; do
1805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1806 ac_cv_prog_ac_ct_CC="$ac_prog"
1807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1808 break 2
1810 done
1811 done
1815 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1816 if test -n "$ac_ct_CC"; then
1817 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1818 echo "${ECHO_T}$ac_ct_CC" >&6
1819 else
1820 echo "$as_me:$LINENO: result: no" >&5
1821 echo "${ECHO_T}no" >&6
1824 test -n "$ac_ct_CC" && break
1825 done
1827 CC=$ac_ct_CC
1833 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1834 See \`config.log' for more details." >&5
1835 echo "$as_me: error: no acceptable C compiler found in \$PATH
1836 See \`config.log' for more details." >&2;}
1837 { (exit 1); exit 1; }; }
1839 # Provide some information about the compiler.
1840 echo "$as_me:$LINENO:" \
1841 "checking for C compiler version" >&5
1842 ac_compiler=`set X $ac_compile; echo $2`
1843 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1844 (eval $ac_compiler --version </dev/null >&5) 2>&5
1845 ac_status=$?
1846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1847 (exit $ac_status); }
1848 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1849 (eval $ac_compiler -v </dev/null >&5) 2>&5
1850 ac_status=$?
1851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1852 (exit $ac_status); }
1853 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1854 (eval $ac_compiler -V </dev/null >&5) 2>&5
1855 ac_status=$?
1856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1857 (exit $ac_status); }
1859 cat >conftest.$ac_ext <<_ACEOF
1860 /* confdefs.h. */
1861 _ACEOF
1862 cat confdefs.h >>conftest.$ac_ext
1863 cat >>conftest.$ac_ext <<_ACEOF
1864 /* end confdefs.h. */
1867 main ()
1871 return 0;
1873 _ACEOF
1874 ac_clean_files_save=$ac_clean_files
1875 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1876 # Try to create an executable without -o first, disregard a.out.
1877 # It will help us diagnose broken compilers, and finding out an intuition
1878 # of exeext.
1879 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1880 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1881 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1882 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1883 (eval $ac_link_default) 2>&5
1884 ac_status=$?
1885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1886 (exit $ac_status); }; then
1887 # Find the output, starting from the most likely. This scheme is
1888 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1889 # resort.
1891 # Be careful to initialize this variable, since it used to be cached.
1892 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1893 ac_cv_exeext=
1894 # b.out is created by i960 compilers.
1895 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1897 test -f "$ac_file" || continue
1898 case $ac_file in
1899 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1901 conftest.$ac_ext )
1902 # This is the source file.
1904 [ab].out )
1905 # We found the default executable, but exeext='' is most
1906 # certainly right.
1907 break;;
1908 *.* )
1909 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1910 # FIXME: I believe we export ac_cv_exeext for Libtool,
1911 # but it would be cool to find out if it's true. Does anybody
1912 # maintain Libtool? --akim.
1913 export ac_cv_exeext
1914 break;;
1916 break;;
1917 esac
1918 done
1919 else
1920 echo "$as_me: failed program was:" >&5
1921 sed 's/^/| /' conftest.$ac_ext >&5
1923 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1924 See \`config.log' for more details." >&5
1925 echo "$as_me: error: C compiler cannot create executables
1926 See \`config.log' for more details." >&2;}
1927 { (exit 77); exit 77; }; }
1930 ac_exeext=$ac_cv_exeext
1931 echo "$as_me:$LINENO: result: $ac_file" >&5
1932 echo "${ECHO_T}$ac_file" >&6
1934 # Check the compiler produces executables we can run. If not, either
1935 # the compiler is broken, or we cross compile.
1936 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1937 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1938 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1939 # If not cross compiling, check that we can run a simple program.
1940 if test "$cross_compiling" != yes; then
1941 if { ac_try='./$ac_file'
1942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1943 (eval $ac_try) 2>&5
1944 ac_status=$?
1945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1946 (exit $ac_status); }; }; then
1947 cross_compiling=no
1948 else
1949 if test "$cross_compiling" = maybe; then
1950 cross_compiling=yes
1951 else
1952 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1953 If you meant to cross compile, use \`--host'.
1954 See \`config.log' for more details." >&5
1955 echo "$as_me: error: cannot run C compiled programs.
1956 If you meant to cross compile, use \`--host'.
1957 See \`config.log' for more details." >&2;}
1958 { (exit 1); exit 1; }; }
1962 echo "$as_me:$LINENO: result: yes" >&5
1963 echo "${ECHO_T}yes" >&6
1965 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1966 ac_clean_files=$ac_clean_files_save
1967 # Check the compiler produces executables we can run. If not, either
1968 # the compiler is broken, or we cross compile.
1969 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1970 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1971 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1972 echo "${ECHO_T}$cross_compiling" >&6
1974 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1975 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1977 (eval $ac_link) 2>&5
1978 ac_status=$?
1979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1980 (exit $ac_status); }; then
1981 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1982 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1983 # work properly (i.e., refer to `conftest.exe'), while it won't with
1984 # `rm'.
1985 for ac_file in conftest.exe conftest conftest.*; do
1986 test -f "$ac_file" || continue
1987 case $ac_file in
1988 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1989 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1990 export ac_cv_exeext
1991 break;;
1992 * ) break;;
1993 esac
1994 done
1995 else
1996 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1997 See \`config.log' for more details." >&5
1998 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1999 See \`config.log' for more details." >&2;}
2000 { (exit 1); exit 1; }; }
2003 rm -f conftest$ac_cv_exeext
2004 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2005 echo "${ECHO_T}$ac_cv_exeext" >&6
2007 rm -f conftest.$ac_ext
2008 EXEEXT=$ac_cv_exeext
2009 ac_exeext=$EXEEXT
2010 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2011 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2012 if test "${ac_cv_objext+set}" = set; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 else
2015 cat >conftest.$ac_ext <<_ACEOF
2016 /* confdefs.h. */
2017 _ACEOF
2018 cat confdefs.h >>conftest.$ac_ext
2019 cat >>conftest.$ac_ext <<_ACEOF
2020 /* end confdefs.h. */
2023 main ()
2027 return 0;
2029 _ACEOF
2030 rm -f conftest.o conftest.obj
2031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2032 (eval $ac_compile) 2>&5
2033 ac_status=$?
2034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2035 (exit $ac_status); }; then
2036 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2037 case $ac_file in
2038 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2039 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2040 break;;
2041 esac
2042 done
2043 else
2044 echo "$as_me: failed program was:" >&5
2045 sed 's/^/| /' conftest.$ac_ext >&5
2047 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2048 See \`config.log' for more details." >&5
2049 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2050 See \`config.log' for more details." >&2;}
2051 { (exit 1); exit 1; }; }
2054 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2056 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2057 echo "${ECHO_T}$ac_cv_objext" >&6
2058 OBJEXT=$ac_cv_objext
2059 ac_objext=$OBJEXT
2060 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2061 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2062 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2063 echo $ECHO_N "(cached) $ECHO_C" >&6
2064 else
2065 cat >conftest.$ac_ext <<_ACEOF
2066 /* confdefs.h. */
2067 _ACEOF
2068 cat confdefs.h >>conftest.$ac_ext
2069 cat >>conftest.$ac_ext <<_ACEOF
2070 /* end confdefs.h. */
2073 main ()
2075 #ifndef __GNUC__
2076 choke me
2077 #endif
2080 return 0;
2082 _ACEOF
2083 rm -f conftest.$ac_objext
2084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2085 (eval $ac_compile) 2>conftest.er1
2086 ac_status=$?
2087 grep -v '^ *+' conftest.er1 >conftest.err
2088 rm -f conftest.er1
2089 cat conftest.err >&5
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 (exit $ac_status); } &&
2092 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2094 (eval $ac_try) 2>&5
2095 ac_status=$?
2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2097 (exit $ac_status); }; } &&
2098 { ac_try='test -s conftest.$ac_objext'
2099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2100 (eval $ac_try) 2>&5
2101 ac_status=$?
2102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2103 (exit $ac_status); }; }; then
2104 ac_compiler_gnu=yes
2105 else
2106 echo "$as_me: failed program was:" >&5
2107 sed 's/^/| /' conftest.$ac_ext >&5
2109 ac_compiler_gnu=no
2111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2112 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2115 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2116 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2117 GCC=`test $ac_compiler_gnu = yes && echo yes`
2118 ac_test_CFLAGS=${CFLAGS+set}
2119 ac_save_CFLAGS=$CFLAGS
2120 CFLAGS="-g"
2121 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2122 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2123 if test "${ac_cv_prog_cc_g+set}" = set; then
2124 echo $ECHO_N "(cached) $ECHO_C" >&6
2125 else
2126 cat >conftest.$ac_ext <<_ACEOF
2127 /* confdefs.h. */
2128 _ACEOF
2129 cat confdefs.h >>conftest.$ac_ext
2130 cat >>conftest.$ac_ext <<_ACEOF
2131 /* end confdefs.h. */
2134 main ()
2138 return 0;
2140 _ACEOF
2141 rm -f conftest.$ac_objext
2142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2143 (eval $ac_compile) 2>conftest.er1
2144 ac_status=$?
2145 grep -v '^ *+' conftest.er1 >conftest.err
2146 rm -f conftest.er1
2147 cat conftest.err >&5
2148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2149 (exit $ac_status); } &&
2150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2152 (eval $ac_try) 2>&5
2153 ac_status=$?
2154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2155 (exit $ac_status); }; } &&
2156 { ac_try='test -s conftest.$ac_objext'
2157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2158 (eval $ac_try) 2>&5
2159 ac_status=$?
2160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2161 (exit $ac_status); }; }; then
2162 ac_cv_prog_cc_g=yes
2163 else
2164 echo "$as_me: failed program was:" >&5
2165 sed 's/^/| /' conftest.$ac_ext >&5
2167 ac_cv_prog_cc_g=no
2169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2171 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2172 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2173 if test "$ac_test_CFLAGS" = set; then
2174 CFLAGS=$ac_save_CFLAGS
2175 elif test $ac_cv_prog_cc_g = yes; then
2176 if test "$GCC" = yes; then
2177 CFLAGS="-g -O2"
2178 else
2179 CFLAGS="-g"
2181 else
2182 if test "$GCC" = yes; then
2183 CFLAGS="-O2"
2184 else
2185 CFLAGS=
2188 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2189 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2190 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2191 echo $ECHO_N "(cached) $ECHO_C" >&6
2192 else
2193 ac_cv_prog_cc_stdc=no
2194 ac_save_CC=$CC
2195 cat >conftest.$ac_ext <<_ACEOF
2196 /* confdefs.h. */
2197 _ACEOF
2198 cat confdefs.h >>conftest.$ac_ext
2199 cat >>conftest.$ac_ext <<_ACEOF
2200 /* end confdefs.h. */
2201 #include <stdarg.h>
2202 #include <stdio.h>
2203 #include <sys/types.h>
2204 #include <sys/stat.h>
2205 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2206 struct buf { int x; };
2207 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2208 static char *e (p, i)
2209 char **p;
2210 int i;
2212 return p[i];
2214 static char *f (char * (*g) (char **, int), char **p, ...)
2216 char *s;
2217 va_list v;
2218 va_start (v,p);
2219 s = g (p, va_arg (v,int));
2220 va_end (v);
2221 return s;
2224 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2225 function prototypes and stuff, but not '\xHH' hex character constants.
2226 These don't provoke an error unfortunately, instead are silently treated
2227 as 'x'. The following induces an error, until -std1 is added to get
2228 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2229 array size at least. It's necessary to write '\x00'==0 to get something
2230 that's true only with -std1. */
2231 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2233 int test (int i, double x);
2234 struct s1 {int (*f) (int a);};
2235 struct s2 {int (*f) (double a);};
2236 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2237 int argc;
2238 char **argv;
2240 main ()
2242 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2244 return 0;
2246 _ACEOF
2247 # Don't try gcc -ansi; that turns off useful extensions and
2248 # breaks some systems' header files.
2249 # AIX -qlanglvl=ansi
2250 # Ultrix and OSF/1 -std1
2251 # HP-UX 10.20 and later -Ae
2252 # HP-UX older versions -Aa -D_HPUX_SOURCE
2253 # SVR4 -Xc -D__EXTENSIONS__
2254 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2256 CC="$ac_save_CC $ac_arg"
2257 rm -f conftest.$ac_objext
2258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2259 (eval $ac_compile) 2>conftest.er1
2260 ac_status=$?
2261 grep -v '^ *+' conftest.er1 >conftest.err
2262 rm -f conftest.er1
2263 cat conftest.err >&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); } &&
2266 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2268 (eval $ac_try) 2>&5
2269 ac_status=$?
2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); }; } &&
2272 { ac_try='test -s conftest.$ac_objext'
2273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2274 (eval $ac_try) 2>&5
2275 ac_status=$?
2276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2277 (exit $ac_status); }; }; then
2278 ac_cv_prog_cc_stdc=$ac_arg
2279 break
2280 else
2281 echo "$as_me: failed program was:" >&5
2282 sed 's/^/| /' conftest.$ac_ext >&5
2285 rm -f conftest.err conftest.$ac_objext
2286 done
2287 rm -f conftest.$ac_ext conftest.$ac_objext
2288 CC=$ac_save_CC
2292 case "x$ac_cv_prog_cc_stdc" in
2293 x|xno)
2294 echo "$as_me:$LINENO: result: none needed" >&5
2295 echo "${ECHO_T}none needed" >&6 ;;
2297 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2298 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2299 CC="$CC $ac_cv_prog_cc_stdc" ;;
2300 esac
2302 # Some people use a C++ compiler to compile C. Since we use `exit',
2303 # in C++ we need to declare it. In case someone uses the same compiler
2304 # for both compiling C and C++ we need to have the C++ compiler decide
2305 # the declaration of exit, since it's the most demanding environment.
2306 cat >conftest.$ac_ext <<_ACEOF
2307 #ifndef __cplusplus
2308 choke me
2309 #endif
2310 _ACEOF
2311 rm -f conftest.$ac_objext
2312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2313 (eval $ac_compile) 2>conftest.er1
2314 ac_status=$?
2315 grep -v '^ *+' conftest.er1 >conftest.err
2316 rm -f conftest.er1
2317 cat conftest.err >&5
2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319 (exit $ac_status); } &&
2320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2322 (eval $ac_try) 2>&5
2323 ac_status=$?
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); }; } &&
2326 { ac_try='test -s conftest.$ac_objext'
2327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2328 (eval $ac_try) 2>&5
2329 ac_status=$?
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }; }; then
2332 for ac_declaration in \
2333 '' \
2334 'extern "C" void std::exit (int) throw (); using std::exit;' \
2335 'extern "C" void std::exit (int); using std::exit;' \
2336 'extern "C" void exit (int) throw ();' \
2337 'extern "C" void exit (int);' \
2338 'void exit (int);'
2340 cat >conftest.$ac_ext <<_ACEOF
2341 /* confdefs.h. */
2342 _ACEOF
2343 cat confdefs.h >>conftest.$ac_ext
2344 cat >>conftest.$ac_ext <<_ACEOF
2345 /* end confdefs.h. */
2346 $ac_declaration
2347 #include <stdlib.h>
2349 main ()
2351 exit (42);
2353 return 0;
2355 _ACEOF
2356 rm -f conftest.$ac_objext
2357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2358 (eval $ac_compile) 2>conftest.er1
2359 ac_status=$?
2360 grep -v '^ *+' conftest.er1 >conftest.err
2361 rm -f conftest.er1
2362 cat conftest.err >&5
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); } &&
2365 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2367 (eval $ac_try) 2>&5
2368 ac_status=$?
2369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); }; } &&
2371 { ac_try='test -s conftest.$ac_objext'
2372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2373 (eval $ac_try) 2>&5
2374 ac_status=$?
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); }; }; then
2378 else
2379 echo "$as_me: failed program was:" >&5
2380 sed 's/^/| /' conftest.$ac_ext >&5
2382 continue
2384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2385 cat >conftest.$ac_ext <<_ACEOF
2386 /* confdefs.h. */
2387 _ACEOF
2388 cat confdefs.h >>conftest.$ac_ext
2389 cat >>conftest.$ac_ext <<_ACEOF
2390 /* end confdefs.h. */
2391 $ac_declaration
2393 main ()
2395 exit (42);
2397 return 0;
2399 _ACEOF
2400 rm -f conftest.$ac_objext
2401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2402 (eval $ac_compile) 2>conftest.er1
2403 ac_status=$?
2404 grep -v '^ *+' conftest.er1 >conftest.err
2405 rm -f conftest.er1
2406 cat conftest.err >&5
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); } &&
2409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2411 (eval $ac_try) 2>&5
2412 ac_status=$?
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); }; } &&
2415 { ac_try='test -s conftest.$ac_objext'
2416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2417 (eval $ac_try) 2>&5
2418 ac_status=$?
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); }; }; then
2421 break
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 done
2429 rm -f conftest*
2430 if test -n "$ac_declaration"; then
2431 echo '#ifdef __cplusplus' >>confdefs.h
2432 echo $ac_declaration >>confdefs.h
2433 echo '#endif' >>confdefs.h
2436 else
2437 echo "$as_me: failed program was:" >&5
2438 sed 's/^/| /' conftest.$ac_ext >&5
2441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2442 ac_ext=c
2443 ac_cpp='$CPP $CPPFLAGS'
2444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2448 ac_ext=cc
2449 ac_cpp='$CXXCPP $CPPFLAGS'
2450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2453 if test -n "$ac_tool_prefix"; then
2454 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2456 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2457 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2458 echo "$as_me:$LINENO: checking for $ac_word" >&5
2459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2460 if test "${ac_cv_prog_CXX+set}" = set; then
2461 echo $ECHO_N "(cached) $ECHO_C" >&6
2462 else
2463 if test -n "$CXX"; then
2464 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2465 else
2466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2467 for as_dir in $PATH
2469 IFS=$as_save_IFS
2470 test -z "$as_dir" && as_dir=.
2471 for ac_exec_ext in '' $ac_executable_extensions; do
2472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2473 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2475 break 2
2477 done
2478 done
2482 CXX=$ac_cv_prog_CXX
2483 if test -n "$CXX"; then
2484 echo "$as_me:$LINENO: result: $CXX" >&5
2485 echo "${ECHO_T}$CXX" >&6
2486 else
2487 echo "$as_me:$LINENO: result: no" >&5
2488 echo "${ECHO_T}no" >&6
2491 test -n "$CXX" && break
2492 done
2494 if test -z "$CXX"; then
2495 ac_ct_CXX=$CXX
2496 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2498 # Extract the first word of "$ac_prog", so it can be a program name with args.
2499 set dummy $ac_prog; ac_word=$2
2500 echo "$as_me:$LINENO: checking for $ac_word" >&5
2501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2502 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 else
2505 if test -n "$ac_ct_CXX"; then
2506 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2507 else
2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2509 for as_dir in $PATH
2511 IFS=$as_save_IFS
2512 test -z "$as_dir" && as_dir=.
2513 for ac_exec_ext in '' $ac_executable_extensions; do
2514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2515 ac_cv_prog_ac_ct_CXX="$ac_prog"
2516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2517 break 2
2519 done
2520 done
2524 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2525 if test -n "$ac_ct_CXX"; then
2526 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2527 echo "${ECHO_T}$ac_ct_CXX" >&6
2528 else
2529 echo "$as_me:$LINENO: result: no" >&5
2530 echo "${ECHO_T}no" >&6
2533 test -n "$ac_ct_CXX" && break
2534 done
2535 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2537 CXX=$ac_ct_CXX
2541 # Provide some information about the compiler.
2542 echo "$as_me:$LINENO:" \
2543 "checking for C++ compiler version" >&5
2544 ac_compiler=`set X $ac_compile; echo $2`
2545 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2546 (eval $ac_compiler --version </dev/null >&5) 2>&5
2547 ac_status=$?
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); }
2550 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2551 (eval $ac_compiler -v </dev/null >&5) 2>&5
2552 ac_status=$?
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); }
2555 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2556 (eval $ac_compiler -V </dev/null >&5) 2>&5
2557 ac_status=$?
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }
2561 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2562 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2563 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2564 echo $ECHO_N "(cached) $ECHO_C" >&6
2565 else
2566 cat >conftest.$ac_ext <<_ACEOF
2567 /* confdefs.h. */
2568 _ACEOF
2569 cat confdefs.h >>conftest.$ac_ext
2570 cat >>conftest.$ac_ext <<_ACEOF
2571 /* end confdefs.h. */
2574 main ()
2576 #ifndef __GNUC__
2577 choke me
2578 #endif
2581 return 0;
2583 _ACEOF
2584 rm -f conftest.$ac_objext
2585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2586 (eval $ac_compile) 2>conftest.er1
2587 ac_status=$?
2588 grep -v '^ *+' conftest.er1 >conftest.err
2589 rm -f conftest.er1
2590 cat conftest.err >&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); } &&
2593 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2595 (eval $ac_try) 2>&5
2596 ac_status=$?
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); }; } &&
2599 { ac_try='test -s conftest.$ac_objext'
2600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2601 (eval $ac_try) 2>&5
2602 ac_status=$?
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); }; }; then
2605 ac_compiler_gnu=yes
2606 else
2607 echo "$as_me: failed program was:" >&5
2608 sed 's/^/| /' conftest.$ac_ext >&5
2610 ac_compiler_gnu=no
2612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2613 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2616 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2617 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2618 GXX=`test $ac_compiler_gnu = yes && echo yes`
2619 ac_test_CXXFLAGS=${CXXFLAGS+set}
2620 ac_save_CXXFLAGS=$CXXFLAGS
2621 CXXFLAGS="-g"
2622 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2623 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2624 if test "${ac_cv_prog_cxx_g+set}" = set; then
2625 echo $ECHO_N "(cached) $ECHO_C" >&6
2626 else
2627 cat >conftest.$ac_ext <<_ACEOF
2628 /* confdefs.h. */
2629 _ACEOF
2630 cat confdefs.h >>conftest.$ac_ext
2631 cat >>conftest.$ac_ext <<_ACEOF
2632 /* end confdefs.h. */
2635 main ()
2639 return 0;
2641 _ACEOF
2642 rm -f conftest.$ac_objext
2643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2644 (eval $ac_compile) 2>conftest.er1
2645 ac_status=$?
2646 grep -v '^ *+' conftest.er1 >conftest.err
2647 rm -f conftest.er1
2648 cat conftest.err >&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); } &&
2651 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2653 (eval $ac_try) 2>&5
2654 ac_status=$?
2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); }; } &&
2657 { ac_try='test -s conftest.$ac_objext'
2658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2659 (eval $ac_try) 2>&5
2660 ac_status=$?
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }; }; then
2663 ac_cv_prog_cxx_g=yes
2664 else
2665 echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.$ac_ext >&5
2668 ac_cv_prog_cxx_g=no
2670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2672 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2673 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2674 if test "$ac_test_CXXFLAGS" = set; then
2675 CXXFLAGS=$ac_save_CXXFLAGS
2676 elif test $ac_cv_prog_cxx_g = yes; then
2677 if test "$GXX" = yes; then
2678 CXXFLAGS="-g -O2"
2679 else
2680 CXXFLAGS="-g"
2682 else
2683 if test "$GXX" = yes; then
2684 CXXFLAGS="-O2"
2685 else
2686 CXXFLAGS=
2689 for ac_declaration in \
2690 '' \
2691 'extern "C" void std::exit (int) throw (); using std::exit;' \
2692 'extern "C" void std::exit (int); using std::exit;' \
2693 'extern "C" void exit (int) throw ();' \
2694 'extern "C" void exit (int);' \
2695 'void exit (int);'
2697 cat >conftest.$ac_ext <<_ACEOF
2698 /* confdefs.h. */
2699 _ACEOF
2700 cat confdefs.h >>conftest.$ac_ext
2701 cat >>conftest.$ac_ext <<_ACEOF
2702 /* end confdefs.h. */
2703 $ac_declaration
2704 #include <stdlib.h>
2706 main ()
2708 exit (42);
2710 return 0;
2712 _ACEOF
2713 rm -f conftest.$ac_objext
2714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2715 (eval $ac_compile) 2>conftest.er1
2716 ac_status=$?
2717 grep -v '^ *+' conftest.er1 >conftest.err
2718 rm -f conftest.er1
2719 cat conftest.err >&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); } &&
2722 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2724 (eval $ac_try) 2>&5
2725 ac_status=$?
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); }; } &&
2728 { ac_try='test -s conftest.$ac_objext'
2729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2730 (eval $ac_try) 2>&5
2731 ac_status=$?
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; }; then
2735 else
2736 echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.$ac_ext >&5
2739 continue
2741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2742 cat >conftest.$ac_ext <<_ACEOF
2743 /* confdefs.h. */
2744 _ACEOF
2745 cat confdefs.h >>conftest.$ac_ext
2746 cat >>conftest.$ac_ext <<_ACEOF
2747 /* end confdefs.h. */
2748 $ac_declaration
2750 main ()
2752 exit (42);
2754 return 0;
2756 _ACEOF
2757 rm -f conftest.$ac_objext
2758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2759 (eval $ac_compile) 2>conftest.er1
2760 ac_status=$?
2761 grep -v '^ *+' conftest.er1 >conftest.err
2762 rm -f conftest.er1
2763 cat conftest.err >&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); } &&
2766 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2768 (eval $ac_try) 2>&5
2769 ac_status=$?
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }; } &&
2772 { ac_try='test -s conftest.$ac_objext'
2773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2774 (eval $ac_try) 2>&5
2775 ac_status=$?
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }; }; then
2778 break
2779 else
2780 echo "$as_me: failed program was:" >&5
2781 sed 's/^/| /' conftest.$ac_ext >&5
2784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2785 done
2786 rm -f conftest*
2787 if test -n "$ac_declaration"; then
2788 echo '#ifdef __cplusplus' >>confdefs.h
2789 echo $ac_declaration >>confdefs.h
2790 echo '#endif' >>confdefs.h
2793 ac_ext=c
2794 ac_cpp='$CPP $CPPFLAGS'
2795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2799 if test -n "$ac_tool_prefix"; then
2800 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
2801 set dummy ${ac_tool_prefix}cpp; ac_word=$2
2802 echo "$as_me:$LINENO: checking for $ac_word" >&5
2803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2804 if test "${ac_cv_prog_CPPBIN+set}" = set; then
2805 echo $ECHO_N "(cached) $ECHO_C" >&6
2806 else
2807 if test -n "$CPPBIN"; then
2808 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
2809 else
2810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2811 for as_dir in $PATH
2813 IFS=$as_save_IFS
2814 test -z "$as_dir" && as_dir=.
2815 for ac_exec_ext in '' $ac_executable_extensions; do
2816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2817 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
2818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2819 break 2
2821 done
2822 done
2826 CPPBIN=$ac_cv_prog_CPPBIN
2827 if test -n "$CPPBIN"; then
2828 echo "$as_me:$LINENO: result: $CPPBIN" >&5
2829 echo "${ECHO_T}$CPPBIN" >&6
2830 else
2831 echo "$as_me:$LINENO: result: no" >&5
2832 echo "${ECHO_T}no" >&6
2836 if test -z "$ac_cv_prog_CPPBIN"; then
2837 ac_ct_CPPBIN=$CPPBIN
2838 # Extract the first word of "cpp", so it can be a program name with args.
2839 set dummy cpp; ac_word=$2
2840 echo "$as_me:$LINENO: checking for $ac_word" >&5
2841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2842 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
2843 echo $ECHO_N "(cached) $ECHO_C" >&6
2844 else
2845 if test -n "$ac_ct_CPPBIN"; then
2846 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
2847 else
2848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2849 for as_dir in $PATH
2851 IFS=$as_save_IFS
2852 test -z "$as_dir" && as_dir=.
2853 for ac_exec_ext in '' $ac_executable_extensions; do
2854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2855 ac_cv_prog_ac_ct_CPPBIN="cpp"
2856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2857 break 2
2859 done
2860 done
2862 test -z "$ac_cv_prog_ac_ct_CPPBIN" && ac_cv_prog_ac_ct_CPPBIN="cpp"
2865 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
2866 if test -n "$ac_ct_CPPBIN"; then
2867 echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
2868 echo "${ECHO_T}$ac_ct_CPPBIN" >&6
2869 else
2870 echo "$as_me:$LINENO: result: no" >&5
2871 echo "${ECHO_T}no" >&6
2874 CPPBIN=$ac_ct_CPPBIN
2875 else
2876 CPPBIN="$ac_cv_prog_CPPBIN"
2880 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2881 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2882 if test "${wine_cv_toolsdir+set}" = set; then
2883 echo $ECHO_N "(cached) $ECHO_C" >&6
2884 else
2885 if test -z "$with_wine_tools"; then
2886 if test "$cross_compiling" = "yes"; then
2887 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2888 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2889 { (exit 1); exit 1; }; }
2890 else
2891 wine_cv_toolsdir="\$(TOPOBJDIR)"
2893 elif test -d "$with_wine_tools/tools/winebuild"; then
2894 case $with_wine_tools in
2895 /*) wine_cv_toolsdir="$with_wine_tools" ;;
2896 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
2897 esac
2898 else
2899 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2900 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2901 { (exit 1); exit 1; }; }
2904 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2905 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2906 TOOLSDIR=$wine_cv_toolsdir
2910 ac_ext=c
2911 ac_cpp='$CPP $CPPFLAGS'
2912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2915 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2916 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2917 # On Suns, sometimes $CPP names a directory.
2918 if test -n "$CPP" && test -d "$CPP"; then
2919 CPP=
2921 if test -z "$CPP"; then
2922 if test "${ac_cv_prog_CPP+set}" = set; then
2923 echo $ECHO_N "(cached) $ECHO_C" >&6
2924 else
2925 # Double quotes because CPP needs to be expanded
2926 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2928 ac_preproc_ok=false
2929 for ac_c_preproc_warn_flag in '' yes
2931 # Use a header file that comes with gcc, so configuring glibc
2932 # with a fresh cross-compiler works.
2933 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2934 # <limits.h> exists even on freestanding compilers.
2935 # On the NeXT, cc -E runs the code through the compiler's parser,
2936 # not just through cpp. "Syntax error" is here to catch this case.
2937 cat >conftest.$ac_ext <<_ACEOF
2938 /* confdefs.h. */
2939 _ACEOF
2940 cat confdefs.h >>conftest.$ac_ext
2941 cat >>conftest.$ac_ext <<_ACEOF
2942 /* end confdefs.h. */
2943 #ifdef __STDC__
2944 # include <limits.h>
2945 #else
2946 # include <assert.h>
2947 #endif
2948 Syntax error
2949 _ACEOF
2950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2951 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2952 ac_status=$?
2953 grep -v '^ *+' conftest.er1 >conftest.err
2954 rm -f conftest.er1
2955 cat conftest.err >&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); } >/dev/null; then
2958 if test -s conftest.err; then
2959 ac_cpp_err=$ac_c_preproc_warn_flag
2960 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2961 else
2962 ac_cpp_err=
2964 else
2965 ac_cpp_err=yes
2967 if test -z "$ac_cpp_err"; then
2969 else
2970 echo "$as_me: failed program was:" >&5
2971 sed 's/^/| /' conftest.$ac_ext >&5
2973 # Broken: fails on valid input.
2974 continue
2976 rm -f conftest.err conftest.$ac_ext
2978 # OK, works on sane cases. Now check whether non-existent headers
2979 # can be detected and how.
2980 cat >conftest.$ac_ext <<_ACEOF
2981 /* confdefs.h. */
2982 _ACEOF
2983 cat confdefs.h >>conftest.$ac_ext
2984 cat >>conftest.$ac_ext <<_ACEOF
2985 /* end confdefs.h. */
2986 #include <ac_nonexistent.h>
2987 _ACEOF
2988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2989 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2990 ac_status=$?
2991 grep -v '^ *+' conftest.er1 >conftest.err
2992 rm -f conftest.er1
2993 cat conftest.err >&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); } >/dev/null; then
2996 if test -s conftest.err; then
2997 ac_cpp_err=$ac_c_preproc_warn_flag
2998 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2999 else
3000 ac_cpp_err=
3002 else
3003 ac_cpp_err=yes
3005 if test -z "$ac_cpp_err"; then
3006 # Broken: success on invalid input.
3007 continue
3008 else
3009 echo "$as_me: failed program was:" >&5
3010 sed 's/^/| /' conftest.$ac_ext >&5
3012 # Passes both tests.
3013 ac_preproc_ok=:
3014 break
3016 rm -f conftest.err conftest.$ac_ext
3018 done
3019 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3020 rm -f conftest.err conftest.$ac_ext
3021 if $ac_preproc_ok; then
3022 break
3025 done
3026 ac_cv_prog_CPP=$CPP
3029 CPP=$ac_cv_prog_CPP
3030 else
3031 ac_cv_prog_CPP=$CPP
3033 echo "$as_me:$LINENO: result: $CPP" >&5
3034 echo "${ECHO_T}$CPP" >&6
3035 ac_preproc_ok=false
3036 for ac_c_preproc_warn_flag in '' yes
3038 # Use a header file that comes with gcc, so configuring glibc
3039 # with a fresh cross-compiler works.
3040 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3041 # <limits.h> exists even on freestanding compilers.
3042 # On the NeXT, cc -E runs the code through the compiler's parser,
3043 # not just through cpp. "Syntax error" is here to catch this case.
3044 cat >conftest.$ac_ext <<_ACEOF
3045 /* confdefs.h. */
3046 _ACEOF
3047 cat confdefs.h >>conftest.$ac_ext
3048 cat >>conftest.$ac_ext <<_ACEOF
3049 /* end confdefs.h. */
3050 #ifdef __STDC__
3051 # include <limits.h>
3052 #else
3053 # include <assert.h>
3054 #endif
3055 Syntax error
3056 _ACEOF
3057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3058 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3059 ac_status=$?
3060 grep -v '^ *+' conftest.er1 >conftest.err
3061 rm -f conftest.er1
3062 cat conftest.err >&5
3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); } >/dev/null; then
3065 if test -s conftest.err; then
3066 ac_cpp_err=$ac_c_preproc_warn_flag
3067 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3068 else
3069 ac_cpp_err=
3071 else
3072 ac_cpp_err=yes
3074 if test -z "$ac_cpp_err"; then
3076 else
3077 echo "$as_me: failed program was:" >&5
3078 sed 's/^/| /' conftest.$ac_ext >&5
3080 # Broken: fails on valid input.
3081 continue
3083 rm -f conftest.err conftest.$ac_ext
3085 # OK, works on sane cases. Now check whether non-existent headers
3086 # can be detected and how.
3087 cat >conftest.$ac_ext <<_ACEOF
3088 /* confdefs.h. */
3089 _ACEOF
3090 cat confdefs.h >>conftest.$ac_ext
3091 cat >>conftest.$ac_ext <<_ACEOF
3092 /* end confdefs.h. */
3093 #include <ac_nonexistent.h>
3094 _ACEOF
3095 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3096 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3097 ac_status=$?
3098 grep -v '^ *+' conftest.er1 >conftest.err
3099 rm -f conftest.er1
3100 cat conftest.err >&5
3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 (exit $ac_status); } >/dev/null; then
3103 if test -s conftest.err; then
3104 ac_cpp_err=$ac_c_preproc_warn_flag
3105 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3106 else
3107 ac_cpp_err=
3109 else
3110 ac_cpp_err=yes
3112 if test -z "$ac_cpp_err"; then
3113 # Broken: success on invalid input.
3114 continue
3115 else
3116 echo "$as_me: failed program was:" >&5
3117 sed 's/^/| /' conftest.$ac_ext >&5
3119 # Passes both tests.
3120 ac_preproc_ok=:
3121 break
3123 rm -f conftest.err conftest.$ac_ext
3125 done
3126 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3127 rm -f conftest.err conftest.$ac_ext
3128 if $ac_preproc_ok; then
3130 else
3131 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3132 See \`config.log' for more details." >&5
3133 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3134 See \`config.log' for more details." >&2;}
3135 { (exit 1); exit 1; }; }
3138 ac_ext=c
3139 ac_cpp='$CPP $CPPFLAGS'
3140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3146 if test "x$ac_path_x_has_been_run" != xyes; then
3147 echo "$as_me:$LINENO: checking for X" >&5
3148 echo $ECHO_N "checking for X... $ECHO_C" >&6
3150 ac_path_x_has_been_run=yes
3152 # Check whether --with-x or --without-x was given.
3153 if test "${with_x+set}" = set; then
3154 withval="$with_x"
3157 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3158 if test "x$with_x" = xno; then
3159 # The user explicitly disabled X.
3160 have_x=disabled
3161 else
3162 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
3163 # Both variables are already set.
3164 have_x=yes
3165 else
3166 if test "${ac_cv_have_x+set}" = set; then
3167 echo $ECHO_N "(cached) $ECHO_C" >&6
3168 else
3169 # One or both of the vars are not set, and there is no cached value.
3170 ac_x_includes=no ac_x_libraries=no
3171 rm -fr conftest.dir
3172 if mkdir conftest.dir; then
3173 cd conftest.dir
3174 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3175 cat >Imakefile <<'_ACEOF'
3176 acfindx:
3177 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3178 _ACEOF
3179 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
3180 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3181 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3182 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3183 for ac_extension in a so sl; do
3184 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
3185 test -f $ac_im_libdir/libX11.$ac_extension; then
3186 ac_im_usrlibdir=$ac_im_libdir; break
3188 done
3189 # Screen out bogus values from the imake configuration. They are
3190 # bogus both because they are the default anyway, and because
3191 # using them would break gcc on systems where it needs fixed includes.
3192 case $ac_im_incroot in
3193 /usr/include) ;;
3194 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3195 esac
3196 case $ac_im_usrlibdir in
3197 /usr/lib | /lib) ;;
3198 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3199 esac
3201 cd ..
3202 rm -fr conftest.dir
3205 # Standard set of common directories for X headers.
3206 # Check X11 before X11Rn because it is often a symlink to the current release.
3207 ac_x_header_dirs='
3208 /usr/X11/include
3209 /usr/X11R6/include
3210 /usr/X11R5/include
3211 /usr/X11R4/include
3213 /usr/include/X11
3214 /usr/include/X11R6
3215 /usr/include/X11R5
3216 /usr/include/X11R4
3218 /usr/local/X11/include
3219 /usr/local/X11R6/include
3220 /usr/local/X11R5/include
3221 /usr/local/X11R4/include
3223 /usr/local/include/X11
3224 /usr/local/include/X11R6
3225 /usr/local/include/X11R5
3226 /usr/local/include/X11R4
3228 /usr/X386/include
3229 /usr/x386/include
3230 /usr/XFree86/include/X11
3232 /usr/include
3233 /usr/local/include
3234 /usr/unsupported/include
3235 /usr/athena/include
3236 /usr/local/x11r5/include
3237 /usr/lpp/Xamples/include
3239 /usr/openwin/include
3240 /usr/openwin/share/include'
3242 if test "$ac_x_includes" = no; then
3243 # Guess where to find include files, by looking for a specified header file.
3244 # First, try using that file with no special directory specified.
3245 cat >conftest.$ac_ext <<_ACEOF
3246 /* confdefs.h. */
3247 _ACEOF
3248 cat confdefs.h >>conftest.$ac_ext
3249 cat >>conftest.$ac_ext <<_ACEOF
3250 /* end confdefs.h. */
3251 #include <X11/Intrinsic.h>
3252 _ACEOF
3253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3254 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3255 ac_status=$?
3256 grep -v '^ *+' conftest.er1 >conftest.err
3257 rm -f conftest.er1
3258 cat conftest.err >&5
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); } >/dev/null; then
3261 if test -s conftest.err; then
3262 ac_cpp_err=$ac_c_preproc_warn_flag
3263 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3264 else
3265 ac_cpp_err=
3267 else
3268 ac_cpp_err=yes
3270 if test -z "$ac_cpp_err"; then
3271 # We can compile using X headers with no special include directory.
3272 ac_x_includes=
3273 else
3274 echo "$as_me: failed program was:" >&5
3275 sed 's/^/| /' conftest.$ac_ext >&5
3277 for ac_dir in $ac_x_header_dirs; do
3278 if test -r "$ac_dir/X11/Intrinsic.h"; then
3279 ac_x_includes=$ac_dir
3280 break
3282 done
3284 rm -f conftest.err conftest.$ac_ext
3285 fi # $ac_x_includes = no
3287 if test "$ac_x_libraries" = no; then
3288 # Check for the libraries.
3289 # See if we find them without any special options.
3290 # Don't add to $LIBS permanently.
3291 ac_save_LIBS=$LIBS
3292 LIBS="-lXt $LIBS"
3293 cat >conftest.$ac_ext <<_ACEOF
3294 /* confdefs.h. */
3295 _ACEOF
3296 cat confdefs.h >>conftest.$ac_ext
3297 cat >>conftest.$ac_ext <<_ACEOF
3298 /* end confdefs.h. */
3299 #include <X11/Intrinsic.h>
3301 main ()
3303 XtMalloc (0)
3305 return 0;
3307 _ACEOF
3308 rm -f conftest.$ac_objext conftest$ac_exeext
3309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3310 (eval $ac_link) 2>conftest.er1
3311 ac_status=$?
3312 grep -v '^ *+' conftest.er1 >conftest.err
3313 rm -f conftest.er1
3314 cat conftest.err >&5
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); } &&
3317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3319 (eval $ac_try) 2>&5
3320 ac_status=$?
3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322 (exit $ac_status); }; } &&
3323 { ac_try='test -s conftest$ac_exeext'
3324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3325 (eval $ac_try) 2>&5
3326 ac_status=$?
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); }; }; then
3329 LIBS=$ac_save_LIBS
3330 # We can link X programs with no special library path.
3331 ac_x_libraries=
3332 else
3333 echo "$as_me: failed program was:" >&5
3334 sed 's/^/| /' conftest.$ac_ext >&5
3336 LIBS=$ac_save_LIBS
3337 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3339 # Don't even attempt the hair of trying to link an X program!
3340 for ac_extension in a so sl; do
3341 if test -r $ac_dir/libXt.$ac_extension; then
3342 ac_x_libraries=$ac_dir
3343 break 2
3345 done
3346 done
3348 rm -f conftest.err conftest.$ac_objext \
3349 conftest$ac_exeext conftest.$ac_ext
3350 fi # $ac_x_libraries = no
3352 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
3353 # Didn't find X anywhere. Cache the known absence of X.
3354 ac_cv_have_x="have_x=no"
3355 else
3356 # Record where we found X for the cache.
3357 ac_cv_have_x="have_x=yes \
3358 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3363 eval "$ac_cv_have_x"
3364 fi # $with_x != no
3366 if test "$have_x" != yes; then
3367 echo "$as_me:$LINENO: result: $have_x" >&5
3368 echo "${ECHO_T}$have_x" >&6
3369 no_x=yes
3370 else
3371 # If each of the values was on the command line, it overrides each guess.
3372 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3373 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3374 # Update the cache value to reflect the command line values.
3375 ac_cv_have_x="have_x=yes \
3376 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3377 # It might be that x_includes is empty (headers are found in the
3378 # standard search path. Then output the corresponding message
3379 ac_out_x_includes=$x_includes
3380 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
3381 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
3382 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
3386 if test "$no_x" = yes; then
3387 # Not all programs may use this symbol, but it does not hurt to define it.
3389 cat >>confdefs.h <<\_ACEOF
3390 #define X_DISPLAY_MISSING 1
3391 _ACEOF
3393 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3394 else
3395 if test -n "$x_includes"; then
3396 X_CFLAGS="$X_CFLAGS -I$x_includes"
3399 # It would also be nice to do this for all -L options, not just this one.
3400 if test -n "$x_libraries"; then
3401 X_LIBS="$X_LIBS -L$x_libraries"
3402 # For Solaris; some versions of Sun CC require a space after -R and
3403 # others require no space. Words are not sufficient . . . .
3404 case `(uname -sr) 2>/dev/null` in
3405 "SunOS 5"*)
3406 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3407 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3408 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3409 cat >conftest.$ac_ext <<_ACEOF
3410 /* confdefs.h. */
3411 _ACEOF
3412 cat confdefs.h >>conftest.$ac_ext
3413 cat >>conftest.$ac_ext <<_ACEOF
3414 /* end confdefs.h. */
3417 main ()
3421 return 0;
3423 _ACEOF
3424 rm -f conftest.$ac_objext conftest$ac_exeext
3425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3426 (eval $ac_link) 2>conftest.er1
3427 ac_status=$?
3428 grep -v '^ *+' conftest.er1 >conftest.err
3429 rm -f conftest.er1
3430 cat conftest.err >&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } &&
3433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3435 (eval $ac_try) 2>&5
3436 ac_status=$?
3437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438 (exit $ac_status); }; } &&
3439 { ac_try='test -s conftest$ac_exeext'
3440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3441 (eval $ac_try) 2>&5
3442 ac_status=$?
3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); }; }; then
3445 ac_R_nospace=yes
3446 else
3447 echo "$as_me: failed program was:" >&5
3448 sed 's/^/| /' conftest.$ac_ext >&5
3450 ac_R_nospace=no
3452 rm -f conftest.err conftest.$ac_objext \
3453 conftest$ac_exeext conftest.$ac_ext
3454 if test $ac_R_nospace = yes; then
3455 echo "$as_me:$LINENO: result: no" >&5
3456 echo "${ECHO_T}no" >&6
3457 X_LIBS="$X_LIBS -R$x_libraries"
3458 else
3459 LIBS="$ac_xsave_LIBS -R $x_libraries"
3460 cat >conftest.$ac_ext <<_ACEOF
3461 /* confdefs.h. */
3462 _ACEOF
3463 cat confdefs.h >>conftest.$ac_ext
3464 cat >>conftest.$ac_ext <<_ACEOF
3465 /* end confdefs.h. */
3468 main ()
3472 return 0;
3474 _ACEOF
3475 rm -f conftest.$ac_objext conftest$ac_exeext
3476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3477 (eval $ac_link) 2>conftest.er1
3478 ac_status=$?
3479 grep -v '^ *+' conftest.er1 >conftest.err
3480 rm -f conftest.er1
3481 cat conftest.err >&5
3482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483 (exit $ac_status); } &&
3484 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3486 (eval $ac_try) 2>&5
3487 ac_status=$?
3488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3489 (exit $ac_status); }; } &&
3490 { ac_try='test -s conftest$ac_exeext'
3491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3492 (eval $ac_try) 2>&5
3493 ac_status=$?
3494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495 (exit $ac_status); }; }; then
3496 ac_R_space=yes
3497 else
3498 echo "$as_me: failed program was:" >&5
3499 sed 's/^/| /' conftest.$ac_ext >&5
3501 ac_R_space=no
3503 rm -f conftest.err conftest.$ac_objext \
3504 conftest$ac_exeext conftest.$ac_ext
3505 if test $ac_R_space = yes; then
3506 echo "$as_me:$LINENO: result: yes" >&5
3507 echo "${ECHO_T}yes" >&6
3508 X_LIBS="$X_LIBS -R $x_libraries"
3509 else
3510 echo "$as_me:$LINENO: result: neither works" >&5
3511 echo "${ECHO_T}neither works" >&6
3514 LIBS=$ac_xsave_LIBS
3515 esac
3518 # Check for system-dependent libraries X programs must link with.
3519 # Do this before checking for the system-independent R6 libraries
3520 # (-lICE), since we may need -lsocket or whatever for X linking.
3522 if test "$ISC" = yes; then
3523 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
3524 else
3525 # Martyn Johnson says this is needed for Ultrix, if the X
3526 # libraries were built with DECnet support. And Karl Berry says
3527 # the Alpha needs dnet_stub (dnet does not exist).
3528 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
3529 cat >conftest.$ac_ext <<_ACEOF
3530 /* confdefs.h. */
3531 _ACEOF
3532 cat confdefs.h >>conftest.$ac_ext
3533 cat >>conftest.$ac_ext <<_ACEOF
3534 /* end confdefs.h. */
3536 /* Override any gcc2 internal prototype to avoid an error. */
3537 #ifdef __cplusplus
3538 extern "C"
3539 #endif
3540 /* We use char because int might match the return type of a gcc2
3541 builtin and then its argument prototype would still apply. */
3542 char XOpenDisplay ();
3544 main ()
3546 XOpenDisplay ();
3548 return 0;
3550 _ACEOF
3551 rm -f conftest.$ac_objext conftest$ac_exeext
3552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3553 (eval $ac_link) 2>conftest.er1
3554 ac_status=$?
3555 grep -v '^ *+' conftest.er1 >conftest.err
3556 rm -f conftest.er1
3557 cat conftest.err >&5
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); } &&
3560 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3562 (eval $ac_try) 2>&5
3563 ac_status=$?
3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565 (exit $ac_status); }; } &&
3566 { ac_try='test -s conftest$ac_exeext'
3567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3568 (eval $ac_try) 2>&5
3569 ac_status=$?
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 (exit $ac_status); }; }; then
3573 else
3574 echo "$as_me: failed program was:" >&5
3575 sed 's/^/| /' conftest.$ac_ext >&5
3577 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3578 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3579 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3580 echo $ECHO_N "(cached) $ECHO_C" >&6
3581 else
3582 ac_check_lib_save_LIBS=$LIBS
3583 LIBS="-ldnet $LIBS"
3584 cat >conftest.$ac_ext <<_ACEOF
3585 /* confdefs.h. */
3586 _ACEOF
3587 cat confdefs.h >>conftest.$ac_ext
3588 cat >>conftest.$ac_ext <<_ACEOF
3589 /* end confdefs.h. */
3591 /* Override any gcc2 internal prototype to avoid an error. */
3592 #ifdef __cplusplus
3593 extern "C"
3594 #endif
3595 /* We use char because int might match the return type of a gcc2
3596 builtin and then its argument prototype would still apply. */
3597 char dnet_ntoa ();
3599 main ()
3601 dnet_ntoa ();
3603 return 0;
3605 _ACEOF
3606 rm -f conftest.$ac_objext conftest$ac_exeext
3607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3608 (eval $ac_link) 2>conftest.er1
3609 ac_status=$?
3610 grep -v '^ *+' conftest.er1 >conftest.err
3611 rm -f conftest.er1
3612 cat conftest.err >&5
3613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3614 (exit $ac_status); } &&
3615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3617 (eval $ac_try) 2>&5
3618 ac_status=$?
3619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620 (exit $ac_status); }; } &&
3621 { ac_try='test -s conftest$ac_exeext'
3622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3623 (eval $ac_try) 2>&5
3624 ac_status=$?
3625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626 (exit $ac_status); }; }; then
3627 ac_cv_lib_dnet_dnet_ntoa=yes
3628 else
3629 echo "$as_me: failed program was:" >&5
3630 sed 's/^/| /' conftest.$ac_ext >&5
3632 ac_cv_lib_dnet_dnet_ntoa=no
3634 rm -f conftest.err conftest.$ac_objext \
3635 conftest$ac_exeext conftest.$ac_ext
3636 LIBS=$ac_check_lib_save_LIBS
3638 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3639 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3640 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3641 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
3644 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
3645 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3646 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3647 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3648 echo $ECHO_N "(cached) $ECHO_C" >&6
3649 else
3650 ac_check_lib_save_LIBS=$LIBS
3651 LIBS="-ldnet_stub $LIBS"
3652 cat >conftest.$ac_ext <<_ACEOF
3653 /* confdefs.h. */
3654 _ACEOF
3655 cat confdefs.h >>conftest.$ac_ext
3656 cat >>conftest.$ac_ext <<_ACEOF
3657 /* end confdefs.h. */
3659 /* Override any gcc2 internal prototype to avoid an error. */
3660 #ifdef __cplusplus
3661 extern "C"
3662 #endif
3663 /* We use char because int might match the return type of a gcc2
3664 builtin and then its argument prototype would still apply. */
3665 char dnet_ntoa ();
3667 main ()
3669 dnet_ntoa ();
3671 return 0;
3673 _ACEOF
3674 rm -f conftest.$ac_objext conftest$ac_exeext
3675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3676 (eval $ac_link) 2>conftest.er1
3677 ac_status=$?
3678 grep -v '^ *+' conftest.er1 >conftest.err
3679 rm -f conftest.er1
3680 cat conftest.err >&5
3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682 (exit $ac_status); } &&
3683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3685 (eval $ac_try) 2>&5
3686 ac_status=$?
3687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688 (exit $ac_status); }; } &&
3689 { ac_try='test -s conftest$ac_exeext'
3690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3691 (eval $ac_try) 2>&5
3692 ac_status=$?
3693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3694 (exit $ac_status); }; }; then
3695 ac_cv_lib_dnet_stub_dnet_ntoa=yes
3696 else
3697 echo "$as_me: failed program was:" >&5
3698 sed 's/^/| /' conftest.$ac_ext >&5
3700 ac_cv_lib_dnet_stub_dnet_ntoa=no
3702 rm -f conftest.err conftest.$ac_objext \
3703 conftest$ac_exeext conftest.$ac_ext
3704 LIBS=$ac_check_lib_save_LIBS
3706 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3707 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3708 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3709 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
3714 rm -f conftest.err conftest.$ac_objext \
3715 conftest$ac_exeext conftest.$ac_ext
3716 LIBS="$ac_xsave_LIBS"
3718 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3719 # to get the SysV transport functions.
3720 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3721 # needs -lnsl.
3722 # The nsl library prevents programs from opening the X display
3723 # on Irix 5.2, according to T.E. Dickey.
3724 # The functions gethostbyname, getservbyname, and inet_addr are
3725 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3726 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3727 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3728 if test "${ac_cv_func_gethostbyname+set}" = set; then
3729 echo $ECHO_N "(cached) $ECHO_C" >&6
3730 else
3731 cat >conftest.$ac_ext <<_ACEOF
3732 /* confdefs.h. */
3733 _ACEOF
3734 cat confdefs.h >>conftest.$ac_ext
3735 cat >>conftest.$ac_ext <<_ACEOF
3736 /* end confdefs.h. */
3737 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3739 #define gethostbyname innocuous_gethostbyname
3741 /* System header to define __stub macros and hopefully few prototypes,
3742 which can conflict with char gethostbyname (); below.
3743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3744 <limits.h> exists even on freestanding compilers. */
3746 #ifdef __STDC__
3747 # include <limits.h>
3748 #else
3749 # include <assert.h>
3750 #endif
3752 #undef gethostbyname
3754 /* Override any gcc2 internal prototype to avoid an error. */
3755 #ifdef __cplusplus
3756 extern "C"
3758 #endif
3759 /* We use char because int might match the return type of a gcc2
3760 builtin and then its argument prototype would still apply. */
3761 char gethostbyname ();
3762 /* The GNU C library defines this for functions which it implements
3763 to always fail with ENOSYS. Some functions are actually named
3764 something starting with __ and the normal name is an alias. */
3765 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3766 choke me
3767 #else
3768 char (*f) () = gethostbyname;
3769 #endif
3770 #ifdef __cplusplus
3772 #endif
3775 main ()
3777 return f != gethostbyname;
3779 return 0;
3781 _ACEOF
3782 rm -f conftest.$ac_objext conftest$ac_exeext
3783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3784 (eval $ac_link) 2>conftest.er1
3785 ac_status=$?
3786 grep -v '^ *+' conftest.er1 >conftest.err
3787 rm -f conftest.er1
3788 cat conftest.err >&5
3789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790 (exit $ac_status); } &&
3791 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3793 (eval $ac_try) 2>&5
3794 ac_status=$?
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); }; } &&
3797 { ac_try='test -s conftest$ac_exeext'
3798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3799 (eval $ac_try) 2>&5
3800 ac_status=$?
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); }; }; then
3803 ac_cv_func_gethostbyname=yes
3804 else
3805 echo "$as_me: failed program was:" >&5
3806 sed 's/^/| /' conftest.$ac_ext >&5
3808 ac_cv_func_gethostbyname=no
3810 rm -f conftest.err conftest.$ac_objext \
3811 conftest$ac_exeext conftest.$ac_ext
3813 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3814 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3816 if test $ac_cv_func_gethostbyname = no; then
3817 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3818 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3819 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3820 echo $ECHO_N "(cached) $ECHO_C" >&6
3821 else
3822 ac_check_lib_save_LIBS=$LIBS
3823 LIBS="-lnsl $LIBS"
3824 cat >conftest.$ac_ext <<_ACEOF
3825 /* confdefs.h. */
3826 _ACEOF
3827 cat confdefs.h >>conftest.$ac_ext
3828 cat >>conftest.$ac_ext <<_ACEOF
3829 /* end confdefs.h. */
3831 /* Override any gcc2 internal prototype to avoid an error. */
3832 #ifdef __cplusplus
3833 extern "C"
3834 #endif
3835 /* We use char because int might match the return type of a gcc2
3836 builtin and then its argument prototype would still apply. */
3837 char gethostbyname ();
3839 main ()
3841 gethostbyname ();
3843 return 0;
3845 _ACEOF
3846 rm -f conftest.$ac_objext conftest$ac_exeext
3847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3848 (eval $ac_link) 2>conftest.er1
3849 ac_status=$?
3850 grep -v '^ *+' conftest.er1 >conftest.err
3851 rm -f conftest.er1
3852 cat conftest.err >&5
3853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 (exit $ac_status); } &&
3855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3857 (eval $ac_try) 2>&5
3858 ac_status=$?
3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); }; } &&
3861 { ac_try='test -s conftest$ac_exeext'
3862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3863 (eval $ac_try) 2>&5
3864 ac_status=$?
3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866 (exit $ac_status); }; }; then
3867 ac_cv_lib_nsl_gethostbyname=yes
3868 else
3869 echo "$as_me: failed program was:" >&5
3870 sed 's/^/| /' conftest.$ac_ext >&5
3872 ac_cv_lib_nsl_gethostbyname=no
3874 rm -f conftest.err conftest.$ac_objext \
3875 conftest$ac_exeext conftest.$ac_ext
3876 LIBS=$ac_check_lib_save_LIBS
3878 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3879 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3880 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3881 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
3884 if test $ac_cv_lib_nsl_gethostbyname = no; then
3885 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3886 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3887 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3888 echo $ECHO_N "(cached) $ECHO_C" >&6
3889 else
3890 ac_check_lib_save_LIBS=$LIBS
3891 LIBS="-lbsd $LIBS"
3892 cat >conftest.$ac_ext <<_ACEOF
3893 /* confdefs.h. */
3894 _ACEOF
3895 cat confdefs.h >>conftest.$ac_ext
3896 cat >>conftest.$ac_ext <<_ACEOF
3897 /* end confdefs.h. */
3899 /* Override any gcc2 internal prototype to avoid an error. */
3900 #ifdef __cplusplus
3901 extern "C"
3902 #endif
3903 /* We use char because int might match the return type of a gcc2
3904 builtin and then its argument prototype would still apply. */
3905 char gethostbyname ();
3907 main ()
3909 gethostbyname ();
3911 return 0;
3913 _ACEOF
3914 rm -f conftest.$ac_objext conftest$ac_exeext
3915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3916 (eval $ac_link) 2>conftest.er1
3917 ac_status=$?
3918 grep -v '^ *+' conftest.er1 >conftest.err
3919 rm -f conftest.er1
3920 cat conftest.err >&5
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); } &&
3923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3925 (eval $ac_try) 2>&5
3926 ac_status=$?
3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3928 (exit $ac_status); }; } &&
3929 { ac_try='test -s conftest$ac_exeext'
3930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3931 (eval $ac_try) 2>&5
3932 ac_status=$?
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); }; }; then
3935 ac_cv_lib_bsd_gethostbyname=yes
3936 else
3937 echo "$as_me: failed program was:" >&5
3938 sed 's/^/| /' conftest.$ac_ext >&5
3940 ac_cv_lib_bsd_gethostbyname=no
3942 rm -f conftest.err conftest.$ac_objext \
3943 conftest$ac_exeext conftest.$ac_ext
3944 LIBS=$ac_check_lib_save_LIBS
3946 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3947 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3948 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3949 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
3955 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3956 # socket/setsockopt and other routines are undefined under SCO ODT
3957 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3958 # on later versions), says Simon Leinen: it contains gethostby*
3959 # variants that don't use the name server (or something). -lsocket
3960 # must be given before -lnsl if both are needed. We assume that
3961 # if connect needs -lnsl, so does gethostbyname.
3962 echo "$as_me:$LINENO: checking for connect" >&5
3963 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3964 if test "${ac_cv_func_connect+set}" = set; then
3965 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 else
3967 cat >conftest.$ac_ext <<_ACEOF
3968 /* confdefs.h. */
3969 _ACEOF
3970 cat confdefs.h >>conftest.$ac_ext
3971 cat >>conftest.$ac_ext <<_ACEOF
3972 /* end confdefs.h. */
3973 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3975 #define connect innocuous_connect
3977 /* System header to define __stub macros and hopefully few prototypes,
3978 which can conflict with char connect (); below.
3979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3980 <limits.h> exists even on freestanding compilers. */
3982 #ifdef __STDC__
3983 # include <limits.h>
3984 #else
3985 # include <assert.h>
3986 #endif
3988 #undef connect
3990 /* Override any gcc2 internal prototype to avoid an error. */
3991 #ifdef __cplusplus
3992 extern "C"
3994 #endif
3995 /* We use char because int might match the return type of a gcc2
3996 builtin and then its argument prototype would still apply. */
3997 char connect ();
3998 /* The GNU C library defines this for functions which it implements
3999 to always fail with ENOSYS. Some functions are actually named
4000 something starting with __ and the normal name is an alias. */
4001 #if defined (__stub_connect) || defined (__stub___connect)
4002 choke me
4003 #else
4004 char (*f) () = connect;
4005 #endif
4006 #ifdef __cplusplus
4008 #endif
4011 main ()
4013 return f != connect;
4015 return 0;
4017 _ACEOF
4018 rm -f conftest.$ac_objext conftest$ac_exeext
4019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4020 (eval $ac_link) 2>conftest.er1
4021 ac_status=$?
4022 grep -v '^ *+' conftest.er1 >conftest.err
4023 rm -f conftest.er1
4024 cat conftest.err >&5
4025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4026 (exit $ac_status); } &&
4027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4029 (eval $ac_try) 2>&5
4030 ac_status=$?
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); }; } &&
4033 { ac_try='test -s conftest$ac_exeext'
4034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4035 (eval $ac_try) 2>&5
4036 ac_status=$?
4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 (exit $ac_status); }; }; then
4039 ac_cv_func_connect=yes
4040 else
4041 echo "$as_me: failed program was:" >&5
4042 sed 's/^/| /' conftest.$ac_ext >&5
4044 ac_cv_func_connect=no
4046 rm -f conftest.err conftest.$ac_objext \
4047 conftest$ac_exeext conftest.$ac_ext
4049 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4050 echo "${ECHO_T}$ac_cv_func_connect" >&6
4052 if test $ac_cv_func_connect = no; then
4053 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4054 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4055 if test "${ac_cv_lib_socket_connect+set}" = set; then
4056 echo $ECHO_N "(cached) $ECHO_C" >&6
4057 else
4058 ac_check_lib_save_LIBS=$LIBS
4059 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4060 cat >conftest.$ac_ext <<_ACEOF
4061 /* confdefs.h. */
4062 _ACEOF
4063 cat confdefs.h >>conftest.$ac_ext
4064 cat >>conftest.$ac_ext <<_ACEOF
4065 /* end confdefs.h. */
4067 /* Override any gcc2 internal prototype to avoid an error. */
4068 #ifdef __cplusplus
4069 extern "C"
4070 #endif
4071 /* We use char because int might match the return type of a gcc2
4072 builtin and then its argument prototype would still apply. */
4073 char connect ();
4075 main ()
4077 connect ();
4079 return 0;
4081 _ACEOF
4082 rm -f conftest.$ac_objext conftest$ac_exeext
4083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4084 (eval $ac_link) 2>conftest.er1
4085 ac_status=$?
4086 grep -v '^ *+' conftest.er1 >conftest.err
4087 rm -f conftest.er1
4088 cat conftest.err >&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); } &&
4091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4093 (eval $ac_try) 2>&5
4094 ac_status=$?
4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096 (exit $ac_status); }; } &&
4097 { ac_try='test -s conftest$ac_exeext'
4098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4099 (eval $ac_try) 2>&5
4100 ac_status=$?
4101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4102 (exit $ac_status); }; }; then
4103 ac_cv_lib_socket_connect=yes
4104 else
4105 echo "$as_me: failed program was:" >&5
4106 sed 's/^/| /' conftest.$ac_ext >&5
4108 ac_cv_lib_socket_connect=no
4110 rm -f conftest.err conftest.$ac_objext \
4111 conftest$ac_exeext conftest.$ac_ext
4112 LIBS=$ac_check_lib_save_LIBS
4114 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4115 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4116 if test $ac_cv_lib_socket_connect = yes; then
4117 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4122 # Guillermo Gomez says -lposix is necessary on A/UX.
4123 echo "$as_me:$LINENO: checking for remove" >&5
4124 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4125 if test "${ac_cv_func_remove+set}" = set; then
4126 echo $ECHO_N "(cached) $ECHO_C" >&6
4127 else
4128 cat >conftest.$ac_ext <<_ACEOF
4129 /* confdefs.h. */
4130 _ACEOF
4131 cat confdefs.h >>conftest.$ac_ext
4132 cat >>conftest.$ac_ext <<_ACEOF
4133 /* end confdefs.h. */
4134 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4136 #define remove innocuous_remove
4138 /* System header to define __stub macros and hopefully few prototypes,
4139 which can conflict with char remove (); below.
4140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4141 <limits.h> exists even on freestanding compilers. */
4143 #ifdef __STDC__
4144 # include <limits.h>
4145 #else
4146 # include <assert.h>
4147 #endif
4149 #undef remove
4151 /* Override any gcc2 internal prototype to avoid an error. */
4152 #ifdef __cplusplus
4153 extern "C"
4155 #endif
4156 /* We use char because int might match the return type of a gcc2
4157 builtin and then its argument prototype would still apply. */
4158 char remove ();
4159 /* The GNU C library defines this for functions which it implements
4160 to always fail with ENOSYS. Some functions are actually named
4161 something starting with __ and the normal name is an alias. */
4162 #if defined (__stub_remove) || defined (__stub___remove)
4163 choke me
4164 #else
4165 char (*f) () = remove;
4166 #endif
4167 #ifdef __cplusplus
4169 #endif
4172 main ()
4174 return f != remove;
4176 return 0;
4178 _ACEOF
4179 rm -f conftest.$ac_objext conftest$ac_exeext
4180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4181 (eval $ac_link) 2>conftest.er1
4182 ac_status=$?
4183 grep -v '^ *+' conftest.er1 >conftest.err
4184 rm -f conftest.er1
4185 cat conftest.err >&5
4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187 (exit $ac_status); } &&
4188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4190 (eval $ac_try) 2>&5
4191 ac_status=$?
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193 (exit $ac_status); }; } &&
4194 { ac_try='test -s conftest$ac_exeext'
4195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4196 (eval $ac_try) 2>&5
4197 ac_status=$?
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); }; }; then
4200 ac_cv_func_remove=yes
4201 else
4202 echo "$as_me: failed program was:" >&5
4203 sed 's/^/| /' conftest.$ac_ext >&5
4205 ac_cv_func_remove=no
4207 rm -f conftest.err conftest.$ac_objext \
4208 conftest$ac_exeext conftest.$ac_ext
4210 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4211 echo "${ECHO_T}$ac_cv_func_remove" >&6
4213 if test $ac_cv_func_remove = no; then
4214 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4215 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4216 if test "${ac_cv_lib_posix_remove+set}" = set; then
4217 echo $ECHO_N "(cached) $ECHO_C" >&6
4218 else
4219 ac_check_lib_save_LIBS=$LIBS
4220 LIBS="-lposix $LIBS"
4221 cat >conftest.$ac_ext <<_ACEOF
4222 /* confdefs.h. */
4223 _ACEOF
4224 cat confdefs.h >>conftest.$ac_ext
4225 cat >>conftest.$ac_ext <<_ACEOF
4226 /* end confdefs.h. */
4228 /* Override any gcc2 internal prototype to avoid an error. */
4229 #ifdef __cplusplus
4230 extern "C"
4231 #endif
4232 /* We use char because int might match the return type of a gcc2
4233 builtin and then its argument prototype would still apply. */
4234 char remove ();
4236 main ()
4238 remove ();
4240 return 0;
4242 _ACEOF
4243 rm -f conftest.$ac_objext conftest$ac_exeext
4244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4245 (eval $ac_link) 2>conftest.er1
4246 ac_status=$?
4247 grep -v '^ *+' conftest.er1 >conftest.err
4248 rm -f conftest.er1
4249 cat conftest.err >&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); } &&
4252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4254 (eval $ac_try) 2>&5
4255 ac_status=$?
4256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257 (exit $ac_status); }; } &&
4258 { ac_try='test -s conftest$ac_exeext'
4259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4260 (eval $ac_try) 2>&5
4261 ac_status=$?
4262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263 (exit $ac_status); }; }; then
4264 ac_cv_lib_posix_remove=yes
4265 else
4266 echo "$as_me: failed program was:" >&5
4267 sed 's/^/| /' conftest.$ac_ext >&5
4269 ac_cv_lib_posix_remove=no
4271 rm -f conftest.err conftest.$ac_objext \
4272 conftest$ac_exeext conftest.$ac_ext
4273 LIBS=$ac_check_lib_save_LIBS
4275 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4276 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4277 if test $ac_cv_lib_posix_remove = yes; then
4278 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4283 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4284 echo "$as_me:$LINENO: checking for shmat" >&5
4285 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4286 if test "${ac_cv_func_shmat+set}" = set; then
4287 echo $ECHO_N "(cached) $ECHO_C" >&6
4288 else
4289 cat >conftest.$ac_ext <<_ACEOF
4290 /* confdefs.h. */
4291 _ACEOF
4292 cat confdefs.h >>conftest.$ac_ext
4293 cat >>conftest.$ac_ext <<_ACEOF
4294 /* end confdefs.h. */
4295 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4297 #define shmat innocuous_shmat
4299 /* System header to define __stub macros and hopefully few prototypes,
4300 which can conflict with char shmat (); below.
4301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4302 <limits.h> exists even on freestanding compilers. */
4304 #ifdef __STDC__
4305 # include <limits.h>
4306 #else
4307 # include <assert.h>
4308 #endif
4310 #undef shmat
4312 /* Override any gcc2 internal prototype to avoid an error. */
4313 #ifdef __cplusplus
4314 extern "C"
4316 #endif
4317 /* We use char because int might match the return type of a gcc2
4318 builtin and then its argument prototype would still apply. */
4319 char shmat ();
4320 /* The GNU C library defines this for functions which it implements
4321 to always fail with ENOSYS. Some functions are actually named
4322 something starting with __ and the normal name is an alias. */
4323 #if defined (__stub_shmat) || defined (__stub___shmat)
4324 choke me
4325 #else
4326 char (*f) () = shmat;
4327 #endif
4328 #ifdef __cplusplus
4330 #endif
4333 main ()
4335 return f != shmat;
4337 return 0;
4339 _ACEOF
4340 rm -f conftest.$ac_objext conftest$ac_exeext
4341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4342 (eval $ac_link) 2>conftest.er1
4343 ac_status=$?
4344 grep -v '^ *+' conftest.er1 >conftest.err
4345 rm -f conftest.er1
4346 cat conftest.err >&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); } &&
4349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4351 (eval $ac_try) 2>&5
4352 ac_status=$?
4353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4354 (exit $ac_status); }; } &&
4355 { ac_try='test -s conftest$ac_exeext'
4356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4357 (eval $ac_try) 2>&5
4358 ac_status=$?
4359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4360 (exit $ac_status); }; }; then
4361 ac_cv_func_shmat=yes
4362 else
4363 echo "$as_me: failed program was:" >&5
4364 sed 's/^/| /' conftest.$ac_ext >&5
4366 ac_cv_func_shmat=no
4368 rm -f conftest.err conftest.$ac_objext \
4369 conftest$ac_exeext conftest.$ac_ext
4371 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4372 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4374 if test $ac_cv_func_shmat = no; then
4375 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4376 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4377 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4378 echo $ECHO_N "(cached) $ECHO_C" >&6
4379 else
4380 ac_check_lib_save_LIBS=$LIBS
4381 LIBS="-lipc $LIBS"
4382 cat >conftest.$ac_ext <<_ACEOF
4383 /* confdefs.h. */
4384 _ACEOF
4385 cat confdefs.h >>conftest.$ac_ext
4386 cat >>conftest.$ac_ext <<_ACEOF
4387 /* end confdefs.h. */
4389 /* Override any gcc2 internal prototype to avoid an error. */
4390 #ifdef __cplusplus
4391 extern "C"
4392 #endif
4393 /* We use char because int might match the return type of a gcc2
4394 builtin and then its argument prototype would still apply. */
4395 char shmat ();
4397 main ()
4399 shmat ();
4401 return 0;
4403 _ACEOF
4404 rm -f conftest.$ac_objext conftest$ac_exeext
4405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4406 (eval $ac_link) 2>conftest.er1
4407 ac_status=$?
4408 grep -v '^ *+' conftest.er1 >conftest.err
4409 rm -f conftest.er1
4410 cat conftest.err >&5
4411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4412 (exit $ac_status); } &&
4413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4415 (eval $ac_try) 2>&5
4416 ac_status=$?
4417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4418 (exit $ac_status); }; } &&
4419 { ac_try='test -s conftest$ac_exeext'
4420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4421 (eval $ac_try) 2>&5
4422 ac_status=$?
4423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 (exit $ac_status); }; }; then
4425 ac_cv_lib_ipc_shmat=yes
4426 else
4427 echo "$as_me: failed program was:" >&5
4428 sed 's/^/| /' conftest.$ac_ext >&5
4430 ac_cv_lib_ipc_shmat=no
4432 rm -f conftest.err conftest.$ac_objext \
4433 conftest$ac_exeext conftest.$ac_ext
4434 LIBS=$ac_check_lib_save_LIBS
4436 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4437 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4438 if test $ac_cv_lib_ipc_shmat = yes; then
4439 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4445 # Check for libraries that X11R6 Xt/Xaw programs need.
4446 ac_save_LDFLAGS=$LDFLAGS
4447 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4448 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4449 # check for ICE first), but we must link in the order -lSM -lICE or
4450 # we get undefined symbols. So assume we have SM if we have ICE.
4451 # These have to be linked with before -lX11, unlike the other
4452 # libraries we check for below, so use a different variable.
4453 # John Interrante, Karl Berry
4454 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4455 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4456 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4457 echo $ECHO_N "(cached) $ECHO_C" >&6
4458 else
4459 ac_check_lib_save_LIBS=$LIBS
4460 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4461 cat >conftest.$ac_ext <<_ACEOF
4462 /* confdefs.h. */
4463 _ACEOF
4464 cat confdefs.h >>conftest.$ac_ext
4465 cat >>conftest.$ac_ext <<_ACEOF
4466 /* end confdefs.h. */
4468 /* Override any gcc2 internal prototype to avoid an error. */
4469 #ifdef __cplusplus
4470 extern "C"
4471 #endif
4472 /* We use char because int might match the return type of a gcc2
4473 builtin and then its argument prototype would still apply. */
4474 char IceConnectionNumber ();
4476 main ()
4478 IceConnectionNumber ();
4480 return 0;
4482 _ACEOF
4483 rm -f conftest.$ac_objext conftest$ac_exeext
4484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4485 (eval $ac_link) 2>conftest.er1
4486 ac_status=$?
4487 grep -v '^ *+' conftest.er1 >conftest.err
4488 rm -f conftest.er1
4489 cat conftest.err >&5
4490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4491 (exit $ac_status); } &&
4492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4494 (eval $ac_try) 2>&5
4495 ac_status=$?
4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497 (exit $ac_status); }; } &&
4498 { ac_try='test -s conftest$ac_exeext'
4499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4500 (eval $ac_try) 2>&5
4501 ac_status=$?
4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503 (exit $ac_status); }; }; then
4504 ac_cv_lib_ICE_IceConnectionNumber=yes
4505 else
4506 echo "$as_me: failed program was:" >&5
4507 sed 's/^/| /' conftest.$ac_ext >&5
4509 ac_cv_lib_ICE_IceConnectionNumber=no
4511 rm -f conftest.err conftest.$ac_objext \
4512 conftest$ac_exeext conftest.$ac_ext
4513 LIBS=$ac_check_lib_save_LIBS
4515 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4516 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4517 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4518 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4521 LDFLAGS=$ac_save_LDFLAGS
4525 for ac_prog in flex lex
4527 # Extract the first word of "$ac_prog", so it can be a program name with args.
4528 set dummy $ac_prog; ac_word=$2
4529 echo "$as_me:$LINENO: checking for $ac_word" >&5
4530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4531 if test "${ac_cv_prog_LEX+set}" = set; then
4532 echo $ECHO_N "(cached) $ECHO_C" >&6
4533 else
4534 if test -n "$LEX"; then
4535 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4536 else
4537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4538 for as_dir in $PATH
4540 IFS=$as_save_IFS
4541 test -z "$as_dir" && as_dir=.
4542 for ac_exec_ext in '' $ac_executable_extensions; do
4543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4544 ac_cv_prog_LEX="$ac_prog"
4545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4546 break 2
4548 done
4549 done
4553 LEX=$ac_cv_prog_LEX
4554 if test -n "$LEX"; then
4555 echo "$as_me:$LINENO: result: $LEX" >&5
4556 echo "${ECHO_T}$LEX" >&6
4557 else
4558 echo "$as_me:$LINENO: result: no" >&5
4559 echo "${ECHO_T}no" >&6
4562 test -n "$LEX" && break
4563 done
4564 test -n "$LEX" || LEX=":"
4566 if test -z "$LEXLIB"
4567 then
4568 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4569 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4570 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4571 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 else
4573 ac_check_lib_save_LIBS=$LIBS
4574 LIBS="-lfl $LIBS"
4575 cat >conftest.$ac_ext <<_ACEOF
4576 /* confdefs.h. */
4577 _ACEOF
4578 cat confdefs.h >>conftest.$ac_ext
4579 cat >>conftest.$ac_ext <<_ACEOF
4580 /* end confdefs.h. */
4582 /* Override any gcc2 internal prototype to avoid an error. */
4583 #ifdef __cplusplus
4584 extern "C"
4585 #endif
4586 /* We use char because int might match the return type of a gcc2
4587 builtin and then its argument prototype would still apply. */
4588 char yywrap ();
4590 main ()
4592 yywrap ();
4594 return 0;
4596 _ACEOF
4597 rm -f conftest.$ac_objext conftest$ac_exeext
4598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4599 (eval $ac_link) 2>conftest.er1
4600 ac_status=$?
4601 grep -v '^ *+' conftest.er1 >conftest.err
4602 rm -f conftest.er1
4603 cat conftest.err >&5
4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); } &&
4606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4608 (eval $ac_try) 2>&5
4609 ac_status=$?
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); }; } &&
4612 { ac_try='test -s conftest$ac_exeext'
4613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4614 (eval $ac_try) 2>&5
4615 ac_status=$?
4616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617 (exit $ac_status); }; }; then
4618 ac_cv_lib_fl_yywrap=yes
4619 else
4620 echo "$as_me: failed program was:" >&5
4621 sed 's/^/| /' conftest.$ac_ext >&5
4623 ac_cv_lib_fl_yywrap=no
4625 rm -f conftest.err conftest.$ac_objext \
4626 conftest$ac_exeext conftest.$ac_ext
4627 LIBS=$ac_check_lib_save_LIBS
4629 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4630 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4631 if test $ac_cv_lib_fl_yywrap = yes; then
4632 LEXLIB="-lfl"
4633 else
4634 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4635 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4636 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4637 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 else
4639 ac_check_lib_save_LIBS=$LIBS
4640 LIBS="-ll $LIBS"
4641 cat >conftest.$ac_ext <<_ACEOF
4642 /* confdefs.h. */
4643 _ACEOF
4644 cat confdefs.h >>conftest.$ac_ext
4645 cat >>conftest.$ac_ext <<_ACEOF
4646 /* end confdefs.h. */
4648 /* Override any gcc2 internal prototype to avoid an error. */
4649 #ifdef __cplusplus
4650 extern "C"
4651 #endif
4652 /* We use char because int might match the return type of a gcc2
4653 builtin and then its argument prototype would still apply. */
4654 char yywrap ();
4656 main ()
4658 yywrap ();
4660 return 0;
4662 _ACEOF
4663 rm -f conftest.$ac_objext conftest$ac_exeext
4664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4665 (eval $ac_link) 2>conftest.er1
4666 ac_status=$?
4667 grep -v '^ *+' conftest.er1 >conftest.err
4668 rm -f conftest.er1
4669 cat conftest.err >&5
4670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4671 (exit $ac_status); } &&
4672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4674 (eval $ac_try) 2>&5
4675 ac_status=$?
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); }; } &&
4678 { ac_try='test -s conftest$ac_exeext'
4679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4680 (eval $ac_try) 2>&5
4681 ac_status=$?
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); }; }; then
4684 ac_cv_lib_l_yywrap=yes
4685 else
4686 echo "$as_me: failed program was:" >&5
4687 sed 's/^/| /' conftest.$ac_ext >&5
4689 ac_cv_lib_l_yywrap=no
4691 rm -f conftest.err conftest.$ac_objext \
4692 conftest$ac_exeext conftest.$ac_ext
4693 LIBS=$ac_check_lib_save_LIBS
4695 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4696 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4697 if test $ac_cv_lib_l_yywrap = yes; then
4698 LEXLIB="-ll"
4705 if test "x$LEX" != "x:"; then
4706 echo "$as_me:$LINENO: checking lex output file root" >&5
4707 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4708 if test "${ac_cv_prog_lex_root+set}" = set; then
4709 echo $ECHO_N "(cached) $ECHO_C" >&6
4710 else
4711 # The minimal lex program is just a single line: %%. But some broken lexes
4712 # (Solaris, I think it was) want two %% lines, so accommodate them.
4713 cat >conftest.l <<_ACEOF
4716 _ACEOF
4717 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4718 (eval $LEX conftest.l) 2>&5
4719 ac_status=$?
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); }
4722 if test -f lex.yy.c; then
4723 ac_cv_prog_lex_root=lex.yy
4724 elif test -f lexyy.c; then
4725 ac_cv_prog_lex_root=lexyy
4726 else
4727 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4728 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4729 { (exit 1); exit 1; }; }
4732 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4733 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4734 rm -f conftest.l
4735 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4737 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4738 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4739 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4740 echo $ECHO_N "(cached) $ECHO_C" >&6
4741 else
4742 # POSIX says lex can declare yytext either as a pointer or an array; the
4743 # default is implementation-dependent. Figure out which it is, since
4744 # not all implementations provide the %pointer and %array declarations.
4745 ac_cv_prog_lex_yytext_pointer=no
4746 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4747 ac_save_LIBS=$LIBS
4748 LIBS="$LIBS $LEXLIB"
4749 cat >conftest.$ac_ext <<_ACEOF
4750 `cat $LEX_OUTPUT_ROOT.c`
4751 _ACEOF
4752 rm -f conftest.$ac_objext conftest$ac_exeext
4753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4754 (eval $ac_link) 2>conftest.er1
4755 ac_status=$?
4756 grep -v '^ *+' conftest.er1 >conftest.err
4757 rm -f conftest.er1
4758 cat conftest.err >&5
4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); } &&
4761 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4763 (eval $ac_try) 2>&5
4764 ac_status=$?
4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); }; } &&
4767 { ac_try='test -s conftest$ac_exeext'
4768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4769 (eval $ac_try) 2>&5
4770 ac_status=$?
4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); }; }; then
4773 ac_cv_prog_lex_yytext_pointer=yes
4774 else
4775 echo "$as_me: failed program was:" >&5
4776 sed 's/^/| /' conftest.$ac_ext >&5
4779 rm -f conftest.err conftest.$ac_objext \
4780 conftest$ac_exeext conftest.$ac_ext
4781 LIBS=$ac_save_LIBS
4782 rm -f "${LEX_OUTPUT_ROOT}.c"
4785 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4786 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4787 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4789 cat >>confdefs.h <<\_ACEOF
4790 #define YYTEXT_POINTER 1
4791 _ACEOF
4797 for ac_prog in $LEX flex lex
4799 # Extract the first word of "$ac_prog", so it can be a program name with args.
4800 set dummy $ac_prog; ac_word=$2
4801 echo "$as_me:$LINENO: checking for $ac_word" >&5
4802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4803 if test "${ac_cv_prog_XLEX+set}" = set; then
4804 echo $ECHO_N "(cached) $ECHO_C" >&6
4805 else
4806 if test -n "$XLEX"; then
4807 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
4808 else
4809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4810 for as_dir in $PATH
4812 IFS=$as_save_IFS
4813 test -z "$as_dir" && as_dir=.
4814 for ac_exec_ext in '' $ac_executable_extensions; do
4815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4816 ac_cv_prog_XLEX="$ac_prog"
4817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4818 break 2
4820 done
4821 done
4825 XLEX=$ac_cv_prog_XLEX
4826 if test -n "$XLEX"; then
4827 echo "$as_me:$LINENO: result: $XLEX" >&5
4828 echo "${ECHO_T}$XLEX" >&6
4829 else
4830 echo "$as_me:$LINENO: result: no" >&5
4831 echo "${ECHO_T}no" >&6
4834 test -n "$XLEX" && break
4835 done
4836 test -n "$XLEX" || XLEX="none"
4838 if test "$XLEX" = "none"
4839 then
4840 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4841 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4842 { (exit 1); exit 1; }; }
4845 for ac_prog in bison
4847 # Extract the first word of "$ac_prog", so it can be a program name with args.
4848 set dummy $ac_prog; ac_word=$2
4849 echo "$as_me:$LINENO: checking for $ac_word" >&5
4850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4851 if test "${ac_cv_prog_BISON+set}" = set; then
4852 echo $ECHO_N "(cached) $ECHO_C" >&6
4853 else
4854 if test -n "$BISON"; then
4855 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4856 else
4857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4858 for as_dir in $PATH
4860 IFS=$as_save_IFS
4861 test -z "$as_dir" && as_dir=.
4862 for ac_exec_ext in '' $ac_executable_extensions; do
4863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4864 ac_cv_prog_BISON="$ac_prog"
4865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4866 break 2
4868 done
4869 done
4873 BISON=$ac_cv_prog_BISON
4874 if test -n "$BISON"; then
4875 echo "$as_me:$LINENO: result: $BISON" >&5
4876 echo "${ECHO_T}$BISON" >&6
4877 else
4878 echo "$as_me:$LINENO: result: no" >&5
4879 echo "${ECHO_T}no" >&6
4882 test -n "$BISON" && break
4883 done
4884 test -n "$BISON" || BISON="none"
4886 if test "$BISON" = "none"
4887 then
4888 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
4889 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
4890 { (exit 1); exit 1; }; }
4893 if test -n "$ac_tool_prefix"; then
4894 for ac_prog in gas as
4896 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4897 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4898 echo "$as_me:$LINENO: checking for $ac_word" >&5
4899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4900 if test "${ac_cv_prog_AS+set}" = set; then
4901 echo $ECHO_N "(cached) $ECHO_C" >&6
4902 else
4903 if test -n "$AS"; then
4904 ac_cv_prog_AS="$AS" # Let the user override the test.
4905 else
4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4907 for as_dir in $PATH
4909 IFS=$as_save_IFS
4910 test -z "$as_dir" && as_dir=.
4911 for ac_exec_ext in '' $ac_executable_extensions; do
4912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4913 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
4914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4915 break 2
4917 done
4918 done
4922 AS=$ac_cv_prog_AS
4923 if test -n "$AS"; then
4924 echo "$as_me:$LINENO: result: $AS" >&5
4925 echo "${ECHO_T}$AS" >&6
4926 else
4927 echo "$as_me:$LINENO: result: no" >&5
4928 echo "${ECHO_T}no" >&6
4931 test -n "$AS" && break
4932 done
4934 if test -z "$AS"; then
4935 ac_ct_AS=$AS
4936 for ac_prog in gas as
4938 # Extract the first word of "$ac_prog", so it can be a program name with args.
4939 set dummy $ac_prog; ac_word=$2
4940 echo "$as_me:$LINENO: checking for $ac_word" >&5
4941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4942 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4943 echo $ECHO_N "(cached) $ECHO_C" >&6
4944 else
4945 if test -n "$ac_ct_AS"; then
4946 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4947 else
4948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4949 for as_dir in $PATH
4951 IFS=$as_save_IFS
4952 test -z "$as_dir" && as_dir=.
4953 for ac_exec_ext in '' $ac_executable_extensions; do
4954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4955 ac_cv_prog_ac_ct_AS="$ac_prog"
4956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4957 break 2
4959 done
4960 done
4964 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4965 if test -n "$ac_ct_AS"; then
4966 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4967 echo "${ECHO_T}$ac_ct_AS" >&6
4968 else
4969 echo "$as_me:$LINENO: result: no" >&5
4970 echo "${ECHO_T}no" >&6
4973 test -n "$ac_ct_AS" && break
4974 done
4975 test -n "$ac_ct_AS" || ac_ct_AS="as"
4977 AS=$ac_ct_AS
4980 if test -n "$ac_tool_prefix"; then
4981 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4982 set dummy ${ac_tool_prefix}ld; ac_word=$2
4983 echo "$as_me:$LINENO: checking for $ac_word" >&5
4984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4985 if test "${ac_cv_prog_LD+set}" = set; then
4986 echo $ECHO_N "(cached) $ECHO_C" >&6
4987 else
4988 if test -n "$LD"; then
4989 ac_cv_prog_LD="$LD" # Let the user override the test.
4990 else
4991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4992 for as_dir in $PATH
4994 IFS=$as_save_IFS
4995 test -z "$as_dir" && as_dir=.
4996 for ac_exec_ext in '' $ac_executable_extensions; do
4997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4998 ac_cv_prog_LD="${ac_tool_prefix}ld"
4999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5000 break 2
5002 done
5003 done
5007 LD=$ac_cv_prog_LD
5008 if test -n "$LD"; then
5009 echo "$as_me:$LINENO: result: $LD" >&5
5010 echo "${ECHO_T}$LD" >&6
5011 else
5012 echo "$as_me:$LINENO: result: no" >&5
5013 echo "${ECHO_T}no" >&6
5017 if test -z "$ac_cv_prog_LD"; then
5018 ac_ct_LD=$LD
5019 # Extract the first word of "ld", so it can be a program name with args.
5020 set dummy ld; ac_word=$2
5021 echo "$as_me:$LINENO: checking for $ac_word" >&5
5022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5023 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5024 echo $ECHO_N "(cached) $ECHO_C" >&6
5025 else
5026 if test -n "$ac_ct_LD"; then
5027 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5028 else
5029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5030 for as_dir in $PATH
5032 IFS=$as_save_IFS
5033 test -z "$as_dir" && as_dir=.
5034 for ac_exec_ext in '' $ac_executable_extensions; do
5035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5036 ac_cv_prog_ac_ct_LD="ld"
5037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5038 break 2
5040 done
5041 done
5043 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
5046 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5047 if test -n "$ac_ct_LD"; then
5048 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5049 echo "${ECHO_T}$ac_ct_LD" >&6
5050 else
5051 echo "$as_me:$LINENO: result: no" >&5
5052 echo "${ECHO_T}no" >&6
5055 LD=$ac_ct_LD
5056 else
5057 LD="$ac_cv_prog_LD"
5060 if test -n "$ac_tool_prefix"; then
5061 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5062 set dummy ${ac_tool_prefix}ar; ac_word=$2
5063 echo "$as_me:$LINENO: checking for $ac_word" >&5
5064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5065 if test "${ac_cv_prog_AR+set}" = set; then
5066 echo $ECHO_N "(cached) $ECHO_C" >&6
5067 else
5068 if test -n "$AR"; then
5069 ac_cv_prog_AR="$AR" # Let the user override the test.
5070 else
5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5072 for as_dir in $PATH
5074 IFS=$as_save_IFS
5075 test -z "$as_dir" && as_dir=.
5076 for ac_exec_ext in '' $ac_executable_extensions; do
5077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5078 ac_cv_prog_AR="${ac_tool_prefix}ar"
5079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5080 break 2
5082 done
5083 done
5087 AR=$ac_cv_prog_AR
5088 if test -n "$AR"; then
5089 echo "$as_me:$LINENO: result: $AR" >&5
5090 echo "${ECHO_T}$AR" >&6
5091 else
5092 echo "$as_me:$LINENO: result: no" >&5
5093 echo "${ECHO_T}no" >&6
5097 if test -z "$ac_cv_prog_AR"; then
5098 ac_ct_AR=$AR
5099 # Extract the first word of "ar", so it can be a program name with args.
5100 set dummy ar; ac_word=$2
5101 echo "$as_me:$LINENO: checking for $ac_word" >&5
5102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5103 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5104 echo $ECHO_N "(cached) $ECHO_C" >&6
5105 else
5106 if test -n "$ac_ct_AR"; then
5107 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5108 else
5109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5110 for as_dir in $PATH
5112 IFS=$as_save_IFS
5113 test -z "$as_dir" && as_dir=.
5114 for ac_exec_ext in '' $ac_executable_extensions; do
5115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5116 ac_cv_prog_ac_ct_AR="ar"
5117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5118 break 2
5120 done
5121 done
5123 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
5126 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5127 if test -n "$ac_ct_AR"; then
5128 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5129 echo "${ECHO_T}$ac_ct_AR" >&6
5130 else
5131 echo "$as_me:$LINENO: result: no" >&5
5132 echo "${ECHO_T}no" >&6
5135 AR=$ac_ct_AR
5136 else
5137 AR="$ac_cv_prog_AR"
5140 if test -n "$ac_tool_prefix"; then
5141 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5142 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5143 echo "$as_me:$LINENO: checking for $ac_word" >&5
5144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5145 if test "${ac_cv_prog_RANLIB+set}" = set; then
5146 echo $ECHO_N "(cached) $ECHO_C" >&6
5147 else
5148 if test -n "$RANLIB"; then
5149 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5150 else
5151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5152 for as_dir in $PATH
5154 IFS=$as_save_IFS
5155 test -z "$as_dir" && as_dir=.
5156 for ac_exec_ext in '' $ac_executable_extensions; do
5157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5158 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5160 break 2
5162 done
5163 done
5167 RANLIB=$ac_cv_prog_RANLIB
5168 if test -n "$RANLIB"; then
5169 echo "$as_me:$LINENO: result: $RANLIB" >&5
5170 echo "${ECHO_T}$RANLIB" >&6
5171 else
5172 echo "$as_me:$LINENO: result: no" >&5
5173 echo "${ECHO_T}no" >&6
5177 if test -z "$ac_cv_prog_RANLIB"; then
5178 ac_ct_RANLIB=$RANLIB
5179 # Extract the first word of "ranlib", so it can be a program name with args.
5180 set dummy ranlib; ac_word=$2
5181 echo "$as_me:$LINENO: checking for $ac_word" >&5
5182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5183 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5184 echo $ECHO_N "(cached) $ECHO_C" >&6
5185 else
5186 if test -n "$ac_ct_RANLIB"; then
5187 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5188 else
5189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5190 for as_dir in $PATH
5192 IFS=$as_save_IFS
5193 test -z "$as_dir" && as_dir=.
5194 for ac_exec_ext in '' $ac_executable_extensions; do
5195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5196 ac_cv_prog_ac_ct_RANLIB="ranlib"
5197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5198 break 2
5200 done
5201 done
5203 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5206 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5207 if test -n "$ac_ct_RANLIB"; then
5208 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5209 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5210 else
5211 echo "$as_me:$LINENO: result: no" >&5
5212 echo "${ECHO_T}no" >&6
5215 RANLIB=$ac_ct_RANLIB
5216 else
5217 RANLIB="$ac_cv_prog_RANLIB"
5220 if test -n "$ac_tool_prefix"; then
5221 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5222 set dummy ${ac_tool_prefix}strip; ac_word=$2
5223 echo "$as_me:$LINENO: checking for $ac_word" >&5
5224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5225 if test "${ac_cv_prog_STRIP+set}" = set; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 else
5228 if test -n "$STRIP"; then
5229 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5230 else
5231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5232 for as_dir in $PATH
5234 IFS=$as_save_IFS
5235 test -z "$as_dir" && as_dir=.
5236 for ac_exec_ext in '' $ac_executable_extensions; do
5237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5238 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5240 break 2
5242 done
5243 done
5247 STRIP=$ac_cv_prog_STRIP
5248 if test -n "$STRIP"; then
5249 echo "$as_me:$LINENO: result: $STRIP" >&5
5250 echo "${ECHO_T}$STRIP" >&6
5251 else
5252 echo "$as_me:$LINENO: result: no" >&5
5253 echo "${ECHO_T}no" >&6
5257 if test -z "$ac_cv_prog_STRIP"; then
5258 ac_ct_STRIP=$STRIP
5259 # Extract the first word of "strip", so it can be a program name with args.
5260 set dummy strip; ac_word=$2
5261 echo "$as_me:$LINENO: checking for $ac_word" >&5
5262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5263 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5264 echo $ECHO_N "(cached) $ECHO_C" >&6
5265 else
5266 if test -n "$ac_ct_STRIP"; then
5267 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5268 else
5269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5270 for as_dir in $PATH
5272 IFS=$as_save_IFS
5273 test -z "$as_dir" && as_dir=.
5274 for ac_exec_ext in '' $ac_executable_extensions; do
5275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5276 ac_cv_prog_ac_ct_STRIP="strip"
5277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5278 break 2
5280 done
5281 done
5283 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="strip"
5286 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5287 if test -n "$ac_ct_STRIP"; then
5288 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5289 echo "${ECHO_T}$ac_ct_STRIP" >&6
5290 else
5291 echo "$as_me:$LINENO: result: no" >&5
5292 echo "${ECHO_T}no" >&6
5295 STRIP=$ac_ct_STRIP
5296 else
5297 STRIP="$ac_cv_prog_STRIP"
5300 if test -n "$ac_tool_prefix"; then
5301 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5302 set dummy ${ac_tool_prefix}windres; ac_word=$2
5303 echo "$as_me:$LINENO: checking for $ac_word" >&5
5304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5305 if test "${ac_cv_prog_WINDRES+set}" = set; then
5306 echo $ECHO_N "(cached) $ECHO_C" >&6
5307 else
5308 if test -n "$WINDRES"; then
5309 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5310 else
5311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5312 for as_dir in $PATH
5314 IFS=$as_save_IFS
5315 test -z "$as_dir" && as_dir=.
5316 for ac_exec_ext in '' $ac_executable_extensions; do
5317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5318 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5320 break 2
5322 done
5323 done
5327 WINDRES=$ac_cv_prog_WINDRES
5328 if test -n "$WINDRES"; then
5329 echo "$as_me:$LINENO: result: $WINDRES" >&5
5330 echo "${ECHO_T}$WINDRES" >&6
5331 else
5332 echo "$as_me:$LINENO: result: no" >&5
5333 echo "${ECHO_T}no" >&6
5337 if test -z "$ac_cv_prog_WINDRES"; then
5338 ac_ct_WINDRES=$WINDRES
5339 # Extract the first word of "windres", so it can be a program name with args.
5340 set dummy windres; ac_word=$2
5341 echo "$as_me:$LINENO: checking for $ac_word" >&5
5342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5343 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5344 echo $ECHO_N "(cached) $ECHO_C" >&6
5345 else
5346 if test -n "$ac_ct_WINDRES"; then
5347 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5348 else
5349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5350 for as_dir in $PATH
5352 IFS=$as_save_IFS
5353 test -z "$as_dir" && as_dir=.
5354 for ac_exec_ext in '' $ac_executable_extensions; do
5355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5356 ac_cv_prog_ac_ct_WINDRES="windres"
5357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5358 break 2
5360 done
5361 done
5363 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES="false"
5366 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5367 if test -n "$ac_ct_WINDRES"; then
5368 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5369 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5370 else
5371 echo "$as_me:$LINENO: result: no" >&5
5372 echo "${ECHO_T}no" >&6
5375 WINDRES=$ac_ct_WINDRES
5376 else
5377 WINDRES="$ac_cv_prog_WINDRES"
5380 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5381 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5382 LN_S=$as_ln_s
5383 if test "$LN_S" = "ln -s"; then
5384 echo "$as_me:$LINENO: result: yes" >&5
5385 echo "${ECHO_T}yes" >&6
5386 else
5387 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5388 echo "${ECHO_T}no, using $LN_S" >&6
5391 echo "$as_me:$LINENO: checking whether ln works" >&5
5392 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
5393 rm -f conf$$ conf$$.file
5394 echo >conf$$.file
5395 if ln conf$$.file conf$$ 2>/dev/null; then
5396 LN=ln
5398 echo "$as_me:$LINENO: result: yes" >&5
5399 echo "${ECHO_T}yes" >&6
5400 else
5401 LN="cp -p"
5403 echo "$as_me:$LINENO: result: no, using $LN" >&5
5404 echo "${ECHO_T}no, using $LN" >&6
5406 rm -f conf$$ conf$$.file
5407 echo "$as_me:$LINENO: checking for egrep" >&5
5408 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5409 if test "${ac_cv_prog_egrep+set}" = set; then
5410 echo $ECHO_N "(cached) $ECHO_C" >&6
5411 else
5412 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5413 then ac_cv_prog_egrep='grep -E'
5414 else ac_cv_prog_egrep='egrep'
5417 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5418 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5419 EGREP=$ac_cv_prog_egrep
5422 # Extract the first word of "ldconfig", so it can be a program name with args.
5423 set dummy ldconfig; ac_word=$2
5424 echo "$as_me:$LINENO: checking for $ac_word" >&5
5425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5426 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5427 echo $ECHO_N "(cached) $ECHO_C" >&6
5428 else
5429 case $LDCONFIG in
5430 [\\/]* | ?:[\\/]*)
5431 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5435 for as_dir in /sbin /usr/sbin $PATH
5437 IFS=$as_save_IFS
5438 test -z "$as_dir" && as_dir=.
5439 for ac_exec_ext in '' $ac_executable_extensions; do
5440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5441 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5443 break 2
5445 done
5446 done
5448 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5450 esac
5452 LDCONFIG=$ac_cv_path_LDCONFIG
5454 if test -n "$LDCONFIG"; then
5455 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5456 echo "${ECHO_T}$LDCONFIG" >&6
5457 else
5458 echo "$as_me:$LINENO: result: no" >&5
5459 echo "${ECHO_T}no" >&6
5462 # Find a good install program. We prefer a C program (faster),
5463 # so one script is as good as another. But avoid the broken or
5464 # incompatible versions:
5465 # SysV /etc/install, /usr/sbin/install
5466 # SunOS /usr/etc/install
5467 # IRIX /sbin/install
5468 # AIX /bin/install
5469 # AmigaOS /C/install, which installs bootblocks on floppy discs
5470 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5471 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5472 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5473 # OS/2's system install, which has a completely different semantic
5474 # ./install, which can be erroneously created by make from ./install.sh.
5475 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5476 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5477 if test -z "$INSTALL"; then
5478 if test "${ac_cv_path_install+set}" = set; then
5479 echo $ECHO_N "(cached) $ECHO_C" >&6
5480 else
5481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5482 for as_dir in $PATH
5484 IFS=$as_save_IFS
5485 test -z "$as_dir" && as_dir=.
5486 # Account for people who put trailing slashes in PATH elements.
5487 case $as_dir/ in
5488 ./ | .// | /cC/* | \
5489 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5490 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5491 /usr/ucb/* ) ;;
5493 # OSF1 and SCO ODT 3.0 have their own names for install.
5494 # Don't use installbsd from OSF since it installs stuff as root
5495 # by default.
5496 for ac_prog in ginstall scoinst install; do
5497 for ac_exec_ext in '' $ac_executable_extensions; do
5498 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5499 if test $ac_prog = install &&
5500 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5501 # AIX install. It has an incompatible calling convention.
5503 elif test $ac_prog = install &&
5504 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5505 # program-specific install script used by HP pwplus--don't use.
5507 else
5508 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5509 break 3
5512 done
5513 done
5515 esac
5516 done
5520 if test "${ac_cv_path_install+set}" = set; then
5521 INSTALL=$ac_cv_path_install
5522 else
5523 # As a last resort, use the slow shell script. We don't cache a
5524 # path for INSTALL within a source directory, because that will
5525 # break other packages using the cache if that directory is
5526 # removed, or if the path is relative.
5527 INSTALL=$ac_install_sh
5530 echo "$as_me:$LINENO: result: $INSTALL" >&5
5531 echo "${ECHO_T}$INSTALL" >&6
5533 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5534 # It thinks the first close brace ends the variable substitution.
5535 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5537 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5539 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5541 case "$INSTALL" in
5542 [\\/$]* | ?:[\\/]* ) ;;
5543 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5544 esac
5546 for ac_prog in lclint lint
5548 # Extract the first word of "$ac_prog", so it can be a program name with args.
5549 set dummy $ac_prog; ac_word=$2
5550 echo "$as_me:$LINENO: checking for $ac_word" >&5
5551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5552 if test "${ac_cv_prog_LINT+set}" = set; then
5553 echo $ECHO_N "(cached) $ECHO_C" >&6
5554 else
5555 if test -n "$LINT"; then
5556 ac_cv_prog_LINT="$LINT" # Let the user override the test.
5557 else
5558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5559 for as_dir in $PATH
5561 IFS=$as_save_IFS
5562 test -z "$as_dir" && as_dir=.
5563 for ac_exec_ext in '' $ac_executable_extensions; do
5564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5565 ac_cv_prog_LINT="$ac_prog"
5566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5567 break 2
5569 done
5570 done
5574 LINT=$ac_cv_prog_LINT
5575 if test -n "$LINT"; then
5576 echo "$as_me:$LINENO: result: $LINT" >&5
5577 echo "${ECHO_T}$LINT" >&6
5578 else
5579 echo "$as_me:$LINENO: result: no" >&5
5580 echo "${ECHO_T}no" >&6
5583 test -n "$LINT" && break
5584 done
5586 if test "$LINT" = "lint"
5587 then
5588 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5593 for ac_prog in fontforge
5595 # Extract the first word of "$ac_prog", so it can be a program name with args.
5596 set dummy $ac_prog; ac_word=$2
5597 echo "$as_me:$LINENO: checking for $ac_word" >&5
5598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5599 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
5600 echo $ECHO_N "(cached) $ECHO_C" >&6
5601 else
5602 if test -n "$FONTFORGE"; then
5603 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5604 else
5605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5606 for as_dir in $PATH
5608 IFS=$as_save_IFS
5609 test -z "$as_dir" && as_dir=.
5610 for ac_exec_ext in '' $ac_executable_extensions; do
5611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5612 ac_cv_prog_FONTFORGE="$ac_prog"
5613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5614 break 2
5616 done
5617 done
5621 FONTFORGE=$ac_cv_prog_FONTFORGE
5622 if test -n "$FONTFORGE"; then
5623 echo "$as_me:$LINENO: result: $FONTFORGE" >&5
5624 echo "${ECHO_T}$FONTFORGE" >&6
5625 else
5626 echo "$as_me:$LINENO: result: no" >&5
5627 echo "${ECHO_T}no" >&6
5630 test -n "$FONTFORGE" && break
5631 done
5632 test -n "$FONTFORGE" || FONTFORGE="false"
5637 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5638 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5639 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5640 echo $ECHO_N "(cached) $ECHO_C" >&6
5641 else
5642 ac_check_lib_save_LIBS=$LIBS
5643 LIBS="-li386 $LIBS"
5644 cat >conftest.$ac_ext <<_ACEOF
5645 /* confdefs.h. */
5646 _ACEOF
5647 cat confdefs.h >>conftest.$ac_ext
5648 cat >>conftest.$ac_ext <<_ACEOF
5649 /* end confdefs.h. */
5651 /* Override any gcc2 internal prototype to avoid an error. */
5652 #ifdef __cplusplus
5653 extern "C"
5654 #endif
5655 /* We use char because int might match the return type of a gcc2
5656 builtin and then its argument prototype would still apply. */
5657 char i386_set_ldt ();
5659 main ()
5661 i386_set_ldt ();
5663 return 0;
5665 _ACEOF
5666 rm -f conftest.$ac_objext conftest$ac_exeext
5667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5668 (eval $ac_link) 2>conftest.er1
5669 ac_status=$?
5670 grep -v '^ *+' conftest.er1 >conftest.err
5671 rm -f conftest.er1
5672 cat conftest.err >&5
5673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5674 (exit $ac_status); } &&
5675 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5677 (eval $ac_try) 2>&5
5678 ac_status=$?
5679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5680 (exit $ac_status); }; } &&
5681 { ac_try='test -s conftest$ac_exeext'
5682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5683 (eval $ac_try) 2>&5
5684 ac_status=$?
5685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5686 (exit $ac_status); }; }; then
5687 ac_cv_lib_i386_i386_set_ldt=yes
5688 else
5689 echo "$as_me: failed program was:" >&5
5690 sed 's/^/| /' conftest.$ac_ext >&5
5692 ac_cv_lib_i386_i386_set_ldt=no
5694 rm -f conftest.err conftest.$ac_objext \
5695 conftest$ac_exeext conftest.$ac_ext
5696 LIBS=$ac_check_lib_save_LIBS
5698 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5699 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5700 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5701 cat >>confdefs.h <<_ACEOF
5702 #define HAVE_LIBI386 1
5703 _ACEOF
5705 LIBS="-li386 $LIBS"
5710 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5711 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5712 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5713 echo $ECHO_N "(cached) $ECHO_C" >&6
5714 else
5715 ac_check_lib_save_LIBS=$LIBS
5716 LIBS="-lossaudio $LIBS"
5717 cat >conftest.$ac_ext <<_ACEOF
5718 /* confdefs.h. */
5719 _ACEOF
5720 cat confdefs.h >>conftest.$ac_ext
5721 cat >>conftest.$ac_ext <<_ACEOF
5722 /* end confdefs.h. */
5724 /* Override any gcc2 internal prototype to avoid an error. */
5725 #ifdef __cplusplus
5726 extern "C"
5727 #endif
5728 /* We use char because int might match the return type of a gcc2
5729 builtin and then its argument prototype would still apply. */
5730 char _oss_ioctl ();
5732 main ()
5734 _oss_ioctl ();
5736 return 0;
5738 _ACEOF
5739 rm -f conftest.$ac_objext conftest$ac_exeext
5740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5741 (eval $ac_link) 2>conftest.er1
5742 ac_status=$?
5743 grep -v '^ *+' conftest.er1 >conftest.err
5744 rm -f conftest.er1
5745 cat conftest.err >&5
5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); } &&
5748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5750 (eval $ac_try) 2>&5
5751 ac_status=$?
5752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5753 (exit $ac_status); }; } &&
5754 { ac_try='test -s conftest$ac_exeext'
5755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5756 (eval $ac_try) 2>&5
5757 ac_status=$?
5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759 (exit $ac_status); }; }; then
5760 ac_cv_lib_ossaudio__oss_ioctl=yes
5761 else
5762 echo "$as_me: failed program was:" >&5
5763 sed 's/^/| /' conftest.$ac_ext >&5
5765 ac_cv_lib_ossaudio__oss_ioctl=no
5767 rm -f conftest.err conftest.$ac_objext \
5768 conftest$ac_exeext conftest.$ac_ext
5769 LIBS=$ac_check_lib_save_LIBS
5771 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5772 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5773 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5774 cat >>confdefs.h <<_ACEOF
5775 #define HAVE_LIBOSSAUDIO 1
5776 _ACEOF
5778 LIBS="-lossaudio $LIBS"
5783 for ac_func in iswalnum
5785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5786 echo "$as_me:$LINENO: checking for $ac_func" >&5
5787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5788 if eval "test \"\${$as_ac_var+set}\" = set"; then
5789 echo $ECHO_N "(cached) $ECHO_C" >&6
5790 else
5791 cat >conftest.$ac_ext <<_ACEOF
5792 /* confdefs.h. */
5793 _ACEOF
5794 cat confdefs.h >>conftest.$ac_ext
5795 cat >>conftest.$ac_ext <<_ACEOF
5796 /* end confdefs.h. */
5797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5799 #define $ac_func innocuous_$ac_func
5801 /* System header to define __stub macros and hopefully few prototypes,
5802 which can conflict with char $ac_func (); below.
5803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5804 <limits.h> exists even on freestanding compilers. */
5806 #ifdef __STDC__
5807 # include <limits.h>
5808 #else
5809 # include <assert.h>
5810 #endif
5812 #undef $ac_func
5814 /* Override any gcc2 internal prototype to avoid an error. */
5815 #ifdef __cplusplus
5816 extern "C"
5818 #endif
5819 /* We use char because int might match the return type of a gcc2
5820 builtin and then its argument prototype would still apply. */
5821 char $ac_func ();
5822 /* The GNU C library defines this for functions which it implements
5823 to always fail with ENOSYS. Some functions are actually named
5824 something starting with __ and the normal name is an alias. */
5825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5826 choke me
5827 #else
5828 char (*f) () = $ac_func;
5829 #endif
5830 #ifdef __cplusplus
5832 #endif
5835 main ()
5837 return f != $ac_func;
5839 return 0;
5841 _ACEOF
5842 rm -f conftest.$ac_objext conftest$ac_exeext
5843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5844 (eval $ac_link) 2>conftest.er1
5845 ac_status=$?
5846 grep -v '^ *+' conftest.er1 >conftest.err
5847 rm -f conftest.er1
5848 cat conftest.err >&5
5849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850 (exit $ac_status); } &&
5851 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5853 (eval $ac_try) 2>&5
5854 ac_status=$?
5855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856 (exit $ac_status); }; } &&
5857 { ac_try='test -s conftest$ac_exeext'
5858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5859 (eval $ac_try) 2>&5
5860 ac_status=$?
5861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5862 (exit $ac_status); }; }; then
5863 eval "$as_ac_var=yes"
5864 else
5865 echo "$as_me: failed program was:" >&5
5866 sed 's/^/| /' conftest.$ac_ext >&5
5868 eval "$as_ac_var=no"
5870 rm -f conftest.err conftest.$ac_objext \
5871 conftest$ac_exeext conftest.$ac_ext
5873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5875 if test `eval echo '${'$as_ac_var'}'` = yes; then
5876 cat >>confdefs.h <<_ACEOF
5877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5878 _ACEOF
5880 else
5882 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
5883 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
5884 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
5885 echo $ECHO_N "(cached) $ECHO_C" >&6
5886 else
5887 ac_check_lib_save_LIBS=$LIBS
5888 LIBS="-lw $LIBS"
5889 cat >conftest.$ac_ext <<_ACEOF
5890 /* confdefs.h. */
5891 _ACEOF
5892 cat confdefs.h >>conftest.$ac_ext
5893 cat >>conftest.$ac_ext <<_ACEOF
5894 /* end confdefs.h. */
5896 /* Override any gcc2 internal prototype to avoid an error. */
5897 #ifdef __cplusplus
5898 extern "C"
5899 #endif
5900 /* We use char because int might match the return type of a gcc2
5901 builtin and then its argument prototype would still apply. */
5902 char iswalnum ();
5904 main ()
5906 iswalnum ();
5908 return 0;
5910 _ACEOF
5911 rm -f conftest.$ac_objext conftest$ac_exeext
5912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5913 (eval $ac_link) 2>conftest.er1
5914 ac_status=$?
5915 grep -v '^ *+' conftest.er1 >conftest.err
5916 rm -f conftest.er1
5917 cat conftest.err >&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); } &&
5920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5922 (eval $ac_try) 2>&5
5923 ac_status=$?
5924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5925 (exit $ac_status); }; } &&
5926 { ac_try='test -s conftest$ac_exeext'
5927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5928 (eval $ac_try) 2>&5
5929 ac_status=$?
5930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 (exit $ac_status); }; }; then
5932 ac_cv_lib_w_iswalnum=yes
5933 else
5934 echo "$as_me: failed program was:" >&5
5935 sed 's/^/| /' conftest.$ac_ext >&5
5937 ac_cv_lib_w_iswalnum=no
5939 rm -f conftest.err conftest.$ac_objext \
5940 conftest$ac_exeext conftest.$ac_ext
5941 LIBS=$ac_check_lib_save_LIBS
5943 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
5944 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
5945 if test $ac_cv_lib_w_iswalnum = yes; then
5946 cat >>confdefs.h <<_ACEOF
5947 #define HAVE_LIBW 1
5948 _ACEOF
5950 LIBS="-lw $LIBS"
5955 done
5958 for ac_func in gethostbyname
5960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5961 echo "$as_me:$LINENO: checking for $ac_func" >&5
5962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5963 if eval "test \"\${$as_ac_var+set}\" = set"; then
5964 echo $ECHO_N "(cached) $ECHO_C" >&6
5965 else
5966 cat >conftest.$ac_ext <<_ACEOF
5967 /* confdefs.h. */
5968 _ACEOF
5969 cat confdefs.h >>conftest.$ac_ext
5970 cat >>conftest.$ac_ext <<_ACEOF
5971 /* end confdefs.h. */
5972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5974 #define $ac_func innocuous_$ac_func
5976 /* System header to define __stub macros and hopefully few prototypes,
5977 which can conflict with char $ac_func (); below.
5978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5979 <limits.h> exists even on freestanding compilers. */
5981 #ifdef __STDC__
5982 # include <limits.h>
5983 #else
5984 # include <assert.h>
5985 #endif
5987 #undef $ac_func
5989 /* Override any gcc2 internal prototype to avoid an error. */
5990 #ifdef __cplusplus
5991 extern "C"
5993 #endif
5994 /* We use char because int might match the return type of a gcc2
5995 builtin and then its argument prototype would still apply. */
5996 char $ac_func ();
5997 /* The GNU C library defines this for functions which it implements
5998 to always fail with ENOSYS. Some functions are actually named
5999 something starting with __ and the normal name is an alias. */
6000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6001 choke me
6002 #else
6003 char (*f) () = $ac_func;
6004 #endif
6005 #ifdef __cplusplus
6007 #endif
6010 main ()
6012 return f != $ac_func;
6014 return 0;
6016 _ACEOF
6017 rm -f conftest.$ac_objext conftest$ac_exeext
6018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6019 (eval $ac_link) 2>conftest.er1
6020 ac_status=$?
6021 grep -v '^ *+' conftest.er1 >conftest.err
6022 rm -f conftest.er1
6023 cat conftest.err >&5
6024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); } &&
6026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6028 (eval $ac_try) 2>&5
6029 ac_status=$?
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); }; } &&
6032 { ac_try='test -s conftest$ac_exeext'
6033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6034 (eval $ac_try) 2>&5
6035 ac_status=$?
6036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6037 (exit $ac_status); }; }; then
6038 eval "$as_ac_var=yes"
6039 else
6040 echo "$as_me: failed program was:" >&5
6041 sed 's/^/| /' conftest.$ac_ext >&5
6043 eval "$as_ac_var=no"
6045 rm -f conftest.err conftest.$ac_objext \
6046 conftest$ac_exeext conftest.$ac_ext
6048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6050 if test `eval echo '${'$as_ac_var'}'` = yes; then
6051 cat >>confdefs.h <<_ACEOF
6052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6053 _ACEOF
6055 else
6057 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6058 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6059 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6060 echo $ECHO_N "(cached) $ECHO_C" >&6
6061 else
6062 ac_check_lib_save_LIBS=$LIBS
6063 LIBS="-lnsl $LIBS"
6064 cat >conftest.$ac_ext <<_ACEOF
6065 /* confdefs.h. */
6066 _ACEOF
6067 cat confdefs.h >>conftest.$ac_ext
6068 cat >>conftest.$ac_ext <<_ACEOF
6069 /* end confdefs.h. */
6071 /* Override any gcc2 internal prototype to avoid an error. */
6072 #ifdef __cplusplus
6073 extern "C"
6074 #endif
6075 /* We use char because int might match the return type of a gcc2
6076 builtin and then its argument prototype would still apply. */
6077 char gethostbyname ();
6079 main ()
6081 gethostbyname ();
6083 return 0;
6085 _ACEOF
6086 rm -f conftest.$ac_objext conftest$ac_exeext
6087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6088 (eval $ac_link) 2>conftest.er1
6089 ac_status=$?
6090 grep -v '^ *+' conftest.er1 >conftest.err
6091 rm -f conftest.er1
6092 cat conftest.err >&5
6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); } &&
6095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6097 (eval $ac_try) 2>&5
6098 ac_status=$?
6099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100 (exit $ac_status); }; } &&
6101 { ac_try='test -s conftest$ac_exeext'
6102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6103 (eval $ac_try) 2>&5
6104 ac_status=$?
6105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6106 (exit $ac_status); }; }; then
6107 ac_cv_lib_nsl_gethostbyname=yes
6108 else
6109 echo "$as_me: failed program was:" >&5
6110 sed 's/^/| /' conftest.$ac_ext >&5
6112 ac_cv_lib_nsl_gethostbyname=no
6114 rm -f conftest.err conftest.$ac_objext \
6115 conftest$ac_exeext conftest.$ac_ext
6116 LIBS=$ac_check_lib_save_LIBS
6118 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6119 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6120 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6121 cat >>confdefs.h <<_ACEOF
6122 #define HAVE_LIBNSL 1
6123 _ACEOF
6125 LIBS="-lnsl $LIBS"
6130 done
6133 for ac_func in connect
6135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6136 echo "$as_me:$LINENO: checking for $ac_func" >&5
6137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6138 if eval "test \"\${$as_ac_var+set}\" = set"; then
6139 echo $ECHO_N "(cached) $ECHO_C" >&6
6140 else
6141 cat >conftest.$ac_ext <<_ACEOF
6142 /* confdefs.h. */
6143 _ACEOF
6144 cat confdefs.h >>conftest.$ac_ext
6145 cat >>conftest.$ac_ext <<_ACEOF
6146 /* end confdefs.h. */
6147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6149 #define $ac_func innocuous_$ac_func
6151 /* System header to define __stub macros and hopefully few prototypes,
6152 which can conflict with char $ac_func (); below.
6153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6154 <limits.h> exists even on freestanding compilers. */
6156 #ifdef __STDC__
6157 # include <limits.h>
6158 #else
6159 # include <assert.h>
6160 #endif
6162 #undef $ac_func
6164 /* Override any gcc2 internal prototype to avoid an error. */
6165 #ifdef __cplusplus
6166 extern "C"
6168 #endif
6169 /* We use char because int might match the return type of a gcc2
6170 builtin and then its argument prototype would still apply. */
6171 char $ac_func ();
6172 /* The GNU C library defines this for functions which it implements
6173 to always fail with ENOSYS. Some functions are actually named
6174 something starting with __ and the normal name is an alias. */
6175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6176 choke me
6177 #else
6178 char (*f) () = $ac_func;
6179 #endif
6180 #ifdef __cplusplus
6182 #endif
6185 main ()
6187 return f != $ac_func;
6189 return 0;
6191 _ACEOF
6192 rm -f conftest.$ac_objext conftest$ac_exeext
6193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6194 (eval $ac_link) 2>conftest.er1
6195 ac_status=$?
6196 grep -v '^ *+' conftest.er1 >conftest.err
6197 rm -f conftest.er1
6198 cat conftest.err >&5
6199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6200 (exit $ac_status); } &&
6201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6203 (eval $ac_try) 2>&5
6204 ac_status=$?
6205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6206 (exit $ac_status); }; } &&
6207 { ac_try='test -s conftest$ac_exeext'
6208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6209 (eval $ac_try) 2>&5
6210 ac_status=$?
6211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6212 (exit $ac_status); }; }; then
6213 eval "$as_ac_var=yes"
6214 else
6215 echo "$as_me: failed program was:" >&5
6216 sed 's/^/| /' conftest.$ac_ext >&5
6218 eval "$as_ac_var=no"
6220 rm -f conftest.err conftest.$ac_objext \
6221 conftest$ac_exeext conftest.$ac_ext
6223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6225 if test `eval echo '${'$as_ac_var'}'` = yes; then
6226 cat >>confdefs.h <<_ACEOF
6227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6228 _ACEOF
6230 else
6232 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6233 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6234 if test "${ac_cv_lib_socket_connect+set}" = set; then
6235 echo $ECHO_N "(cached) $ECHO_C" >&6
6236 else
6237 ac_check_lib_save_LIBS=$LIBS
6238 LIBS="-lsocket $LIBS"
6239 cat >conftest.$ac_ext <<_ACEOF
6240 /* confdefs.h. */
6241 _ACEOF
6242 cat confdefs.h >>conftest.$ac_ext
6243 cat >>conftest.$ac_ext <<_ACEOF
6244 /* end confdefs.h. */
6246 /* Override any gcc2 internal prototype to avoid an error. */
6247 #ifdef __cplusplus
6248 extern "C"
6249 #endif
6250 /* We use char because int might match the return type of a gcc2
6251 builtin and then its argument prototype would still apply. */
6252 char connect ();
6254 main ()
6256 connect ();
6258 return 0;
6260 _ACEOF
6261 rm -f conftest.$ac_objext conftest$ac_exeext
6262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6263 (eval $ac_link) 2>conftest.er1
6264 ac_status=$?
6265 grep -v '^ *+' conftest.er1 >conftest.err
6266 rm -f conftest.er1
6267 cat conftest.err >&5
6268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6269 (exit $ac_status); } &&
6270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6272 (eval $ac_try) 2>&5
6273 ac_status=$?
6274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6275 (exit $ac_status); }; } &&
6276 { ac_try='test -s conftest$ac_exeext'
6277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6278 (eval $ac_try) 2>&5
6279 ac_status=$?
6280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6281 (exit $ac_status); }; }; then
6282 ac_cv_lib_socket_connect=yes
6283 else
6284 echo "$as_me: failed program was:" >&5
6285 sed 's/^/| /' conftest.$ac_ext >&5
6287 ac_cv_lib_socket_connect=no
6289 rm -f conftest.err conftest.$ac_objext \
6290 conftest$ac_exeext conftest.$ac_ext
6291 LIBS=$ac_check_lib_save_LIBS
6293 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6294 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6295 if test $ac_cv_lib_socket_connect = yes; then
6296 cat >>confdefs.h <<_ACEOF
6297 #define HAVE_LIBSOCKET 1
6298 _ACEOF
6300 LIBS="-lsocket $LIBS"
6305 done
6308 for ac_func in inet_aton
6310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6311 echo "$as_me:$LINENO: checking for $ac_func" >&5
6312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6313 if eval "test \"\${$as_ac_var+set}\" = set"; then
6314 echo $ECHO_N "(cached) $ECHO_C" >&6
6315 else
6316 cat >conftest.$ac_ext <<_ACEOF
6317 /* confdefs.h. */
6318 _ACEOF
6319 cat confdefs.h >>conftest.$ac_ext
6320 cat >>conftest.$ac_ext <<_ACEOF
6321 /* end confdefs.h. */
6322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6324 #define $ac_func innocuous_$ac_func
6326 /* System header to define __stub macros and hopefully few prototypes,
6327 which can conflict with char $ac_func (); below.
6328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6329 <limits.h> exists even on freestanding compilers. */
6331 #ifdef __STDC__
6332 # include <limits.h>
6333 #else
6334 # include <assert.h>
6335 #endif
6337 #undef $ac_func
6339 /* Override any gcc2 internal prototype to avoid an error. */
6340 #ifdef __cplusplus
6341 extern "C"
6343 #endif
6344 /* We use char because int might match the return type of a gcc2
6345 builtin and then its argument prototype would still apply. */
6346 char $ac_func ();
6347 /* The GNU C library defines this for functions which it implements
6348 to always fail with ENOSYS. Some functions are actually named
6349 something starting with __ and the normal name is an alias. */
6350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6351 choke me
6352 #else
6353 char (*f) () = $ac_func;
6354 #endif
6355 #ifdef __cplusplus
6357 #endif
6360 main ()
6362 return f != $ac_func;
6364 return 0;
6366 _ACEOF
6367 rm -f conftest.$ac_objext conftest$ac_exeext
6368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6369 (eval $ac_link) 2>conftest.er1
6370 ac_status=$?
6371 grep -v '^ *+' conftest.er1 >conftest.err
6372 rm -f conftest.er1
6373 cat conftest.err >&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); } &&
6376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6378 (eval $ac_try) 2>&5
6379 ac_status=$?
6380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6381 (exit $ac_status); }; } &&
6382 { ac_try='test -s conftest$ac_exeext'
6383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6384 (eval $ac_try) 2>&5
6385 ac_status=$?
6386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6387 (exit $ac_status); }; }; then
6388 eval "$as_ac_var=yes"
6389 else
6390 echo "$as_me: failed program was:" >&5
6391 sed 's/^/| /' conftest.$ac_ext >&5
6393 eval "$as_ac_var=no"
6395 rm -f conftest.err conftest.$ac_objext \
6396 conftest$ac_exeext conftest.$ac_ext
6398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6400 if test `eval echo '${'$as_ac_var'}'` = yes; then
6401 cat >>confdefs.h <<_ACEOF
6402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6403 _ACEOF
6405 else
6407 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6408 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6409 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6410 echo $ECHO_N "(cached) $ECHO_C" >&6
6411 else
6412 ac_check_lib_save_LIBS=$LIBS
6413 LIBS="-lresolv $LIBS"
6414 cat >conftest.$ac_ext <<_ACEOF
6415 /* confdefs.h. */
6416 _ACEOF
6417 cat confdefs.h >>conftest.$ac_ext
6418 cat >>conftest.$ac_ext <<_ACEOF
6419 /* end confdefs.h. */
6421 /* Override any gcc2 internal prototype to avoid an error. */
6422 #ifdef __cplusplus
6423 extern "C"
6424 #endif
6425 /* We use char because int might match the return type of a gcc2
6426 builtin and then its argument prototype would still apply. */
6427 char inet_aton ();
6429 main ()
6431 inet_aton ();
6433 return 0;
6435 _ACEOF
6436 rm -f conftest.$ac_objext conftest$ac_exeext
6437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6438 (eval $ac_link) 2>conftest.er1
6439 ac_status=$?
6440 grep -v '^ *+' conftest.er1 >conftest.err
6441 rm -f conftest.er1
6442 cat conftest.err >&5
6443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6444 (exit $ac_status); } &&
6445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6447 (eval $ac_try) 2>&5
6448 ac_status=$?
6449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6450 (exit $ac_status); }; } &&
6451 { ac_try='test -s conftest$ac_exeext'
6452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6453 (eval $ac_try) 2>&5
6454 ac_status=$?
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); }; }; then
6457 ac_cv_lib_resolv_inet_aton=yes
6458 else
6459 echo "$as_me: failed program was:" >&5
6460 sed 's/^/| /' conftest.$ac_ext >&5
6462 ac_cv_lib_resolv_inet_aton=no
6464 rm -f conftest.err conftest.$ac_objext \
6465 conftest$ac_exeext conftest.$ac_ext
6466 LIBS=$ac_check_lib_save_LIBS
6468 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6469 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6470 if test $ac_cv_lib_resolv_inet_aton = yes; then
6471 cat >>confdefs.h <<_ACEOF
6472 #define HAVE_LIBRESOLV 1
6473 _ACEOF
6475 LIBS="-lresolv $LIBS"
6480 done
6483 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6484 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6485 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6486 echo $ECHO_N "(cached) $ECHO_C" >&6
6487 else
6488 ac_check_lib_save_LIBS=$LIBS
6489 LIBS="-lxpg4 $LIBS"
6490 cat >conftest.$ac_ext <<_ACEOF
6491 /* confdefs.h. */
6492 _ACEOF
6493 cat confdefs.h >>conftest.$ac_ext
6494 cat >>conftest.$ac_ext <<_ACEOF
6495 /* end confdefs.h. */
6497 /* Override any gcc2 internal prototype to avoid an error. */
6498 #ifdef __cplusplus
6499 extern "C"
6500 #endif
6501 /* We use char because int might match the return type of a gcc2
6502 builtin and then its argument prototype would still apply. */
6503 char _xpg4_setrunelocale ();
6505 main ()
6507 _xpg4_setrunelocale ();
6509 return 0;
6511 _ACEOF
6512 rm -f conftest.$ac_objext conftest$ac_exeext
6513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6514 (eval $ac_link) 2>conftest.er1
6515 ac_status=$?
6516 grep -v '^ *+' conftest.er1 >conftest.err
6517 rm -f conftest.er1
6518 cat conftest.err >&5
6519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6520 (exit $ac_status); } &&
6521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6523 (eval $ac_try) 2>&5
6524 ac_status=$?
6525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526 (exit $ac_status); }; } &&
6527 { ac_try='test -s conftest$ac_exeext'
6528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6529 (eval $ac_try) 2>&5
6530 ac_status=$?
6531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532 (exit $ac_status); }; }; then
6533 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6534 else
6535 echo "$as_me: failed program was:" >&5
6536 sed 's/^/| /' conftest.$ac_ext >&5
6538 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6540 rm -f conftest.err conftest.$ac_objext \
6541 conftest$ac_exeext conftest.$ac_ext
6542 LIBS=$ac_check_lib_save_LIBS
6544 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6545 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6546 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6547 cat >>confdefs.h <<_ACEOF
6548 #define HAVE_LIBXPG4 1
6549 _ACEOF
6551 LIBS="-lxpg4 $LIBS"
6556 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6557 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6558 if test "${ac_cv_lib_poll_poll+set}" = set; then
6559 echo $ECHO_N "(cached) $ECHO_C" >&6
6560 else
6561 ac_check_lib_save_LIBS=$LIBS
6562 LIBS="-lpoll $LIBS"
6563 cat >conftest.$ac_ext <<_ACEOF
6564 /* confdefs.h. */
6565 _ACEOF
6566 cat confdefs.h >>conftest.$ac_ext
6567 cat >>conftest.$ac_ext <<_ACEOF
6568 /* end confdefs.h. */
6570 /* Override any gcc2 internal prototype to avoid an error. */
6571 #ifdef __cplusplus
6572 extern "C"
6573 #endif
6574 /* We use char because int might match the return type of a gcc2
6575 builtin and then its argument prototype would still apply. */
6576 char poll ();
6578 main ()
6580 poll ();
6582 return 0;
6584 _ACEOF
6585 rm -f conftest.$ac_objext conftest$ac_exeext
6586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6587 (eval $ac_link) 2>conftest.er1
6588 ac_status=$?
6589 grep -v '^ *+' conftest.er1 >conftest.err
6590 rm -f conftest.er1
6591 cat conftest.err >&5
6592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6593 (exit $ac_status); } &&
6594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6596 (eval $ac_try) 2>&5
6597 ac_status=$?
6598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6599 (exit $ac_status); }; } &&
6600 { ac_try='test -s conftest$ac_exeext'
6601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6602 (eval $ac_try) 2>&5
6603 ac_status=$?
6604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6605 (exit $ac_status); }; }; then
6606 ac_cv_lib_poll_poll=yes
6607 else
6608 echo "$as_me: failed program was:" >&5
6609 sed 's/^/| /' conftest.$ac_ext >&5
6611 ac_cv_lib_poll_poll=no
6613 rm -f conftest.err conftest.$ac_objext \
6614 conftest$ac_exeext conftest.$ac_ext
6615 LIBS=$ac_check_lib_save_LIBS
6617 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6618 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6619 if test $ac_cv_lib_poll_poll = yes; then
6620 cat >>confdefs.h <<_ACEOF
6621 #define HAVE_LIBPOLL 1
6622 _ACEOF
6624 LIBS="-lpoll $LIBS"
6629 echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
6630 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6
6631 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
6632 echo $ECHO_N "(cached) $ECHO_C" >&6
6633 else
6634 ac_check_lib_save_LIBS=$LIBS
6635 LIBS="-lresolv $LIBS"
6636 cat >conftest.$ac_ext <<_ACEOF
6637 /* confdefs.h. */
6638 _ACEOF
6639 cat confdefs.h >>conftest.$ac_ext
6640 cat >>conftest.$ac_ext <<_ACEOF
6641 /* end confdefs.h. */
6643 /* Override any gcc2 internal prototype to avoid an error. */
6644 #ifdef __cplusplus
6645 extern "C"
6646 #endif
6647 /* We use char because int might match the return type of a gcc2
6648 builtin and then its argument prototype would still apply. */
6649 char res_9_init ();
6651 main ()
6653 res_9_init ();
6655 return 0;
6657 _ACEOF
6658 rm -f conftest.$ac_objext conftest$ac_exeext
6659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6660 (eval $ac_link) 2>conftest.er1
6661 ac_status=$?
6662 grep -v '^ *+' conftest.er1 >conftest.err
6663 rm -f conftest.er1
6664 cat conftest.err >&5
6665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6666 (exit $ac_status); } &&
6667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6669 (eval $ac_try) 2>&5
6670 ac_status=$?
6671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6672 (exit $ac_status); }; } &&
6673 { ac_try='test -s conftest$ac_exeext'
6674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6675 (eval $ac_try) 2>&5
6676 ac_status=$?
6677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678 (exit $ac_status); }; }; then
6679 ac_cv_lib_resolv_res_9_init=yes
6680 else
6681 echo "$as_me: failed program was:" >&5
6682 sed 's/^/| /' conftest.$ac_ext >&5
6684 ac_cv_lib_resolv_res_9_init=no
6686 rm -f conftest.err conftest.$ac_objext \
6687 conftest$ac_exeext conftest.$ac_ext
6688 LIBS=$ac_check_lib_save_LIBS
6690 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
6691 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6
6692 if test $ac_cv_lib_resolv_res_9_init = yes; then
6693 cat >>confdefs.h <<_ACEOF
6694 #define HAVE_LIBRESOLV 1
6695 _ACEOF
6697 LIBS="-lresolv $LIBS"
6701 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6702 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6703 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6704 echo $ECHO_N "(cached) $ECHO_C" >&6
6705 else
6706 ac_check_lib_save_LIBS=$LIBS
6707 LIBS="-lpthread $LIBS"
6708 cat >conftest.$ac_ext <<_ACEOF
6709 /* confdefs.h. */
6710 _ACEOF
6711 cat confdefs.h >>conftest.$ac_ext
6712 cat >>conftest.$ac_ext <<_ACEOF
6713 /* end confdefs.h. */
6715 /* Override any gcc2 internal prototype to avoid an error. */
6716 #ifdef __cplusplus
6717 extern "C"
6718 #endif
6719 /* We use char because int might match the return type of a gcc2
6720 builtin and then its argument prototype would still apply. */
6721 char pthread_create ();
6723 main ()
6725 pthread_create ();
6727 return 0;
6729 _ACEOF
6730 rm -f conftest.$ac_objext conftest$ac_exeext
6731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6732 (eval $ac_link) 2>conftest.er1
6733 ac_status=$?
6734 grep -v '^ *+' conftest.er1 >conftest.err
6735 rm -f conftest.er1
6736 cat conftest.err >&5
6737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6738 (exit $ac_status); } &&
6739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6741 (eval $ac_try) 2>&5
6742 ac_status=$?
6743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744 (exit $ac_status); }; } &&
6745 { ac_try='test -s conftest$ac_exeext'
6746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6747 (eval $ac_try) 2>&5
6748 ac_status=$?
6749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6750 (exit $ac_status); }; }; then
6751 ac_cv_lib_pthread_pthread_create=yes
6752 else
6753 echo "$as_me: failed program was:" >&5
6754 sed 's/^/| /' conftest.$ac_ext >&5
6756 ac_cv_lib_pthread_pthread_create=no
6758 rm -f conftest.err conftest.$ac_objext \
6759 conftest$ac_exeext conftest.$ac_ext
6760 LIBS=$ac_check_lib_save_LIBS
6762 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6763 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6764 if test $ac_cv_lib_pthread_pthread_create = yes; then
6765 LIBPTHREAD="-lpthread"
6772 XFILES=""
6774 OPENGLFILES=""
6776 GLU32FILES=""
6778 OPENGL_LIBS=""
6781 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6782 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6783 if test "${ac_cv_header_stdc+set}" = set; then
6784 echo $ECHO_N "(cached) $ECHO_C" >&6
6785 else
6786 cat >conftest.$ac_ext <<_ACEOF
6787 /* confdefs.h. */
6788 _ACEOF
6789 cat confdefs.h >>conftest.$ac_ext
6790 cat >>conftest.$ac_ext <<_ACEOF
6791 /* end confdefs.h. */
6792 #include <stdlib.h>
6793 #include <stdarg.h>
6794 #include <string.h>
6795 #include <float.h>
6798 main ()
6802 return 0;
6804 _ACEOF
6805 rm -f conftest.$ac_objext
6806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6807 (eval $ac_compile) 2>conftest.er1
6808 ac_status=$?
6809 grep -v '^ *+' conftest.er1 >conftest.err
6810 rm -f conftest.er1
6811 cat conftest.err >&5
6812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813 (exit $ac_status); } &&
6814 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6816 (eval $ac_try) 2>&5
6817 ac_status=$?
6818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819 (exit $ac_status); }; } &&
6820 { ac_try='test -s conftest.$ac_objext'
6821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6822 (eval $ac_try) 2>&5
6823 ac_status=$?
6824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825 (exit $ac_status); }; }; then
6826 ac_cv_header_stdc=yes
6827 else
6828 echo "$as_me: failed program was:" >&5
6829 sed 's/^/| /' conftest.$ac_ext >&5
6831 ac_cv_header_stdc=no
6833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6835 if test $ac_cv_header_stdc = yes; then
6836 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6837 cat >conftest.$ac_ext <<_ACEOF
6838 /* confdefs.h. */
6839 _ACEOF
6840 cat confdefs.h >>conftest.$ac_ext
6841 cat >>conftest.$ac_ext <<_ACEOF
6842 /* end confdefs.h. */
6843 #include <string.h>
6845 _ACEOF
6846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6847 $EGREP "memchr" >/dev/null 2>&1; then
6849 else
6850 ac_cv_header_stdc=no
6852 rm -f conftest*
6856 if test $ac_cv_header_stdc = yes; then
6857 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6858 cat >conftest.$ac_ext <<_ACEOF
6859 /* confdefs.h. */
6860 _ACEOF
6861 cat confdefs.h >>conftest.$ac_ext
6862 cat >>conftest.$ac_ext <<_ACEOF
6863 /* end confdefs.h. */
6864 #include <stdlib.h>
6866 _ACEOF
6867 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6868 $EGREP "free" >/dev/null 2>&1; then
6870 else
6871 ac_cv_header_stdc=no
6873 rm -f conftest*
6877 if test $ac_cv_header_stdc = yes; then
6878 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6879 if test "$cross_compiling" = yes; then
6881 else
6882 cat >conftest.$ac_ext <<_ACEOF
6883 /* confdefs.h. */
6884 _ACEOF
6885 cat confdefs.h >>conftest.$ac_ext
6886 cat >>conftest.$ac_ext <<_ACEOF
6887 /* end confdefs.h. */
6888 #include <ctype.h>
6889 #if ((' ' & 0x0FF) == 0x020)
6890 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6891 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6892 #else
6893 # define ISLOWER(c) \
6894 (('a' <= (c) && (c) <= 'i') \
6895 || ('j' <= (c) && (c) <= 'r') \
6896 || ('s' <= (c) && (c) <= 'z'))
6897 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6898 #endif
6900 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6902 main ()
6904 int i;
6905 for (i = 0; i < 256; i++)
6906 if (XOR (islower (i), ISLOWER (i))
6907 || toupper (i) != TOUPPER (i))
6908 exit(2);
6909 exit (0);
6911 _ACEOF
6912 rm -f conftest$ac_exeext
6913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6914 (eval $ac_link) 2>&5
6915 ac_status=$?
6916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6917 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6919 (eval $ac_try) 2>&5
6920 ac_status=$?
6921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6922 (exit $ac_status); }; }; then
6924 else
6925 echo "$as_me: program exited with status $ac_status" >&5
6926 echo "$as_me: failed program was:" >&5
6927 sed 's/^/| /' conftest.$ac_ext >&5
6929 ( exit $ac_status )
6930 ac_cv_header_stdc=no
6932 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6936 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6937 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6938 if test $ac_cv_header_stdc = yes; then
6940 cat >>confdefs.h <<\_ACEOF
6941 #define STDC_HEADERS 1
6942 _ACEOF
6946 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6956 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6957 inttypes.h stdint.h unistd.h
6959 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6960 echo "$as_me:$LINENO: checking for $ac_header" >&5
6961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6963 echo $ECHO_N "(cached) $ECHO_C" >&6
6964 else
6965 cat >conftest.$ac_ext <<_ACEOF
6966 /* confdefs.h. */
6967 _ACEOF
6968 cat confdefs.h >>conftest.$ac_ext
6969 cat >>conftest.$ac_ext <<_ACEOF
6970 /* end confdefs.h. */
6971 $ac_includes_default
6973 #include <$ac_header>
6974 _ACEOF
6975 rm -f conftest.$ac_objext
6976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6977 (eval $ac_compile) 2>conftest.er1
6978 ac_status=$?
6979 grep -v '^ *+' conftest.er1 >conftest.err
6980 rm -f conftest.er1
6981 cat conftest.err >&5
6982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6983 (exit $ac_status); } &&
6984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6986 (eval $ac_try) 2>&5
6987 ac_status=$?
6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 (exit $ac_status); }; } &&
6990 { ac_try='test -s conftest.$ac_objext'
6991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6992 (eval $ac_try) 2>&5
6993 ac_status=$?
6994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995 (exit $ac_status); }; }; then
6996 eval "$as_ac_Header=yes"
6997 else
6998 echo "$as_me: failed program was:" >&5
6999 sed 's/^/| /' conftest.$ac_ext >&5
7001 eval "$as_ac_Header=no"
7003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7008 cat >>confdefs.h <<_ACEOF
7009 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7010 _ACEOF
7014 done
7102 for ac_header in \
7103 arpa/inet.h \
7104 arpa/nameser.h \
7105 asm/types.h \
7106 cups/cups.h \
7107 direct.h \
7108 elf.h \
7109 float.h \
7110 fontconfig/fontconfig.h \
7111 getopt.h \
7112 gif_lib.h \
7113 ieeefp.h \
7114 io.h \
7115 jack/jack.h \
7116 jpeglib.h \
7117 lcms/lcms.h \
7118 lcms.h \
7119 link.h \
7120 linux/cdrom.h \
7121 linux/compiler.h \
7122 linux/hdreg.h \
7123 linux/input.h \
7124 linux/ioctl.h \
7125 linux/joystick.h \
7126 linux/major.h \
7127 linux/param.h \
7128 linux/serial.h \
7129 linux/ucdrom.h \
7130 machine/cpu.h \
7131 mntent.h \
7132 netdb.h \
7133 netinet/in.h \
7134 netinet/in_systm.h \
7135 netinet/tcp.h \
7136 netinet/tcp_fsm.h \
7137 openssl/ssl.h \
7138 poll.h \
7139 process.h \
7140 pthread.h \
7141 pwd.h \
7142 regex.h \
7143 sched.h \
7144 scsi/sg.h \
7145 scsi/scsi.h \
7146 scsi/scsi_ioctl.h \
7147 stdint.h \
7148 strings.h \
7149 sys/cdio.h \
7150 sys/elf32.h \
7151 sys/errno.h \
7152 sys/epoll.h \
7153 sys/exec_elf.h \
7154 sys/filio.h \
7155 sys/ioctl.h \
7156 sys/ipc.h \
7157 sys/link.h \
7158 sys/lwp.h \
7159 sys/mman.h \
7160 sys/modem.h \
7161 sys/msg.h \
7162 sys/param.h \
7163 sys/poll.h \
7164 sys/ptrace.h \
7165 sys/reg.h \
7166 sys/scsiio.h \
7167 sys/shm.h \
7168 sys/signal.h \
7169 sys/socket.h \
7170 sys/sockio.h \
7171 sys/statfs.h \
7172 sys/statvfs.h \
7173 sys/strtio.h \
7174 sys/syscall.h \
7175 sys/sysctl.h \
7176 sys/time.h \
7177 sys/times.h \
7178 sys/uio.h \
7179 sys/un.h \
7180 sys/vfs.h \
7181 sys/vm86.h \
7182 sys/wait.h \
7183 syscall.h \
7184 termios.h \
7185 unistd.h \
7186 utime.h \
7187 valgrind/memcheck.h
7190 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7192 echo "$as_me:$LINENO: checking for $ac_header" >&5
7193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7195 echo $ECHO_N "(cached) $ECHO_C" >&6
7197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7199 else
7200 # Is the header compilable?
7201 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7202 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7203 cat >conftest.$ac_ext <<_ACEOF
7204 /* confdefs.h. */
7205 _ACEOF
7206 cat confdefs.h >>conftest.$ac_ext
7207 cat >>conftest.$ac_ext <<_ACEOF
7208 /* end confdefs.h. */
7209 $ac_includes_default
7210 #include <$ac_header>
7211 _ACEOF
7212 rm -f conftest.$ac_objext
7213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7214 (eval $ac_compile) 2>conftest.er1
7215 ac_status=$?
7216 grep -v '^ *+' conftest.er1 >conftest.err
7217 rm -f conftest.er1
7218 cat conftest.err >&5
7219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7220 (exit $ac_status); } &&
7221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7223 (eval $ac_try) 2>&5
7224 ac_status=$?
7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7226 (exit $ac_status); }; } &&
7227 { ac_try='test -s conftest.$ac_objext'
7228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7229 (eval $ac_try) 2>&5
7230 ac_status=$?
7231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7232 (exit $ac_status); }; }; then
7233 ac_header_compiler=yes
7234 else
7235 echo "$as_me: failed program was:" >&5
7236 sed 's/^/| /' conftest.$ac_ext >&5
7238 ac_header_compiler=no
7240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7241 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7242 echo "${ECHO_T}$ac_header_compiler" >&6
7244 # Is the header present?
7245 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7246 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7247 cat >conftest.$ac_ext <<_ACEOF
7248 /* confdefs.h. */
7249 _ACEOF
7250 cat confdefs.h >>conftest.$ac_ext
7251 cat >>conftest.$ac_ext <<_ACEOF
7252 /* end confdefs.h. */
7253 #include <$ac_header>
7254 _ACEOF
7255 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7256 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7257 ac_status=$?
7258 grep -v '^ *+' conftest.er1 >conftest.err
7259 rm -f conftest.er1
7260 cat conftest.err >&5
7261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262 (exit $ac_status); } >/dev/null; then
7263 if test -s conftest.err; then
7264 ac_cpp_err=$ac_c_preproc_warn_flag
7265 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7266 else
7267 ac_cpp_err=
7269 else
7270 ac_cpp_err=yes
7272 if test -z "$ac_cpp_err"; then
7273 ac_header_preproc=yes
7274 else
7275 echo "$as_me: failed program was:" >&5
7276 sed 's/^/| /' conftest.$ac_ext >&5
7278 ac_header_preproc=no
7280 rm -f conftest.err conftest.$ac_ext
7281 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7282 echo "${ECHO_T}$ac_header_preproc" >&6
7284 # So? What about this header?
7285 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7286 yes:no: )
7287 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7288 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7290 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7291 ac_header_preproc=yes
7293 no:yes:* )
7294 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7295 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7296 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7297 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7298 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7299 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7300 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7301 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7302 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7303 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7304 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7305 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7307 cat <<\_ASBOX
7308 ## ------------------------------------ ##
7309 ## Report this to wine-devel@winehq.org ##
7310 ## ------------------------------------ ##
7311 _ASBOX
7313 sed "s/^/$as_me: WARNING: /" >&2
7315 esac
7316 echo "$as_me:$LINENO: checking for $ac_header" >&5
7317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7319 echo $ECHO_N "(cached) $ECHO_C" >&6
7320 else
7321 eval "$as_ac_Header=\$ac_header_preproc"
7323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7327 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7328 cat >>confdefs.h <<_ACEOF
7329 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7330 _ACEOF
7334 done
7336 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7337 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
7338 if test "${ac_cv_header_stat_broken+set}" = set; then
7339 echo $ECHO_N "(cached) $ECHO_C" >&6
7340 else
7341 cat >conftest.$ac_ext <<_ACEOF
7342 /* confdefs.h. */
7343 _ACEOF
7344 cat confdefs.h >>conftest.$ac_ext
7345 cat >>conftest.$ac_ext <<_ACEOF
7346 /* end confdefs.h. */
7347 #include <sys/types.h>
7348 #include <sys/stat.h>
7350 #if defined(S_ISBLK) && defined(S_IFDIR)
7351 # if S_ISBLK (S_IFDIR)
7352 You lose.
7353 # endif
7354 #endif
7356 #if defined(S_ISBLK) && defined(S_IFCHR)
7357 # if S_ISBLK (S_IFCHR)
7358 You lose.
7359 # endif
7360 #endif
7362 #if defined(S_ISLNK) && defined(S_IFREG)
7363 # if S_ISLNK (S_IFREG)
7364 You lose.
7365 # endif
7366 #endif
7368 #if defined(S_ISSOCK) && defined(S_IFREG)
7369 # if S_ISSOCK (S_IFREG)
7370 You lose.
7371 # endif
7372 #endif
7374 _ACEOF
7375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7376 $EGREP "You lose" >/dev/null 2>&1; then
7377 ac_cv_header_stat_broken=yes
7378 else
7379 ac_cv_header_stat_broken=no
7381 rm -f conftest*
7384 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7385 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
7386 if test $ac_cv_header_stat_broken = yes; then
7388 cat >>confdefs.h <<\_ACEOF
7389 #define STAT_MACROS_BROKEN 1
7390 _ACEOF
7396 if test "$have_x" = "yes"
7397 then
7398 XLIB="-lXext -lX11"
7399 ac_save_CPPFLAGS="$CPPFLAGS"
7400 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7403 for ac_header in X11/Xlib.h
7405 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7407 echo "$as_me:$LINENO: checking for $ac_header" >&5
7408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7410 echo $ECHO_N "(cached) $ECHO_C" >&6
7412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7414 else
7415 # Is the header compilable?
7416 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7417 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7418 cat >conftest.$ac_ext <<_ACEOF
7419 /* confdefs.h. */
7420 _ACEOF
7421 cat confdefs.h >>conftest.$ac_ext
7422 cat >>conftest.$ac_ext <<_ACEOF
7423 /* end confdefs.h. */
7424 $ac_includes_default
7425 #include <$ac_header>
7426 _ACEOF
7427 rm -f conftest.$ac_objext
7428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7429 (eval $ac_compile) 2>conftest.er1
7430 ac_status=$?
7431 grep -v '^ *+' conftest.er1 >conftest.err
7432 rm -f conftest.er1
7433 cat conftest.err >&5
7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435 (exit $ac_status); } &&
7436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7438 (eval $ac_try) 2>&5
7439 ac_status=$?
7440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7441 (exit $ac_status); }; } &&
7442 { ac_try='test -s conftest.$ac_objext'
7443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7444 (eval $ac_try) 2>&5
7445 ac_status=$?
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); }; }; then
7448 ac_header_compiler=yes
7449 else
7450 echo "$as_me: failed program was:" >&5
7451 sed 's/^/| /' conftest.$ac_ext >&5
7453 ac_header_compiler=no
7455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7456 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7457 echo "${ECHO_T}$ac_header_compiler" >&6
7459 # Is the header present?
7460 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7461 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7462 cat >conftest.$ac_ext <<_ACEOF
7463 /* confdefs.h. */
7464 _ACEOF
7465 cat confdefs.h >>conftest.$ac_ext
7466 cat >>conftest.$ac_ext <<_ACEOF
7467 /* end confdefs.h. */
7468 #include <$ac_header>
7469 _ACEOF
7470 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7471 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7472 ac_status=$?
7473 grep -v '^ *+' conftest.er1 >conftest.err
7474 rm -f conftest.er1
7475 cat conftest.err >&5
7476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7477 (exit $ac_status); } >/dev/null; then
7478 if test -s conftest.err; then
7479 ac_cpp_err=$ac_c_preproc_warn_flag
7480 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7481 else
7482 ac_cpp_err=
7484 else
7485 ac_cpp_err=yes
7487 if test -z "$ac_cpp_err"; then
7488 ac_header_preproc=yes
7489 else
7490 echo "$as_me: failed program was:" >&5
7491 sed 's/^/| /' conftest.$ac_ext >&5
7493 ac_header_preproc=no
7495 rm -f conftest.err conftest.$ac_ext
7496 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7497 echo "${ECHO_T}$ac_header_preproc" >&6
7499 # So? What about this header?
7500 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7501 yes:no: )
7502 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7503 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7504 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7505 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7506 ac_header_preproc=yes
7508 no:yes:* )
7509 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7510 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7511 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7512 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7513 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7514 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7515 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7516 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7517 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7518 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7519 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7520 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7522 cat <<\_ASBOX
7523 ## ------------------------------------ ##
7524 ## Report this to wine-devel@winehq.org ##
7525 ## ------------------------------------ ##
7526 _ASBOX
7528 sed "s/^/$as_me: WARNING: /" >&2
7530 esac
7531 echo "$as_me:$LINENO: checking for $ac_header" >&5
7532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7534 echo $ECHO_N "(cached) $ECHO_C" >&6
7535 else
7536 eval "$as_ac_Header=\$ac_header_preproc"
7538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7539 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7542 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7543 cat >>confdefs.h <<_ACEOF
7544 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7545 _ACEOF
7556 for ac_header in X11/XKBlib.h \
7557 X11/Xutil.h \
7558 X11/extensions/shape.h \
7559 X11/extensions/XInput.h \
7560 X11/extensions/XShm.h \
7561 X11/extensions/Xrandr.h \
7562 X11/extensions/Xrender.h \
7563 X11/extensions/xf86dga.h \
7564 X11/extensions/xf86vmode.h
7566 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7567 echo "$as_me:$LINENO: checking for $ac_header" >&5
7568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7570 echo $ECHO_N "(cached) $ECHO_C" >&6
7571 else
7572 cat >conftest.$ac_ext <<_ACEOF
7573 /* confdefs.h. */
7574 _ACEOF
7575 cat confdefs.h >>conftest.$ac_ext
7576 cat >>conftest.$ac_ext <<_ACEOF
7577 /* end confdefs.h. */
7578 #include <X11/Xlib.h>
7579 #ifdef HAVE_X11_XUTIL_H
7580 # include <X11/Xutil.h>
7581 #endif
7583 #include <$ac_header>
7584 _ACEOF
7585 rm -f conftest.$ac_objext
7586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7587 (eval $ac_compile) 2>conftest.er1
7588 ac_status=$?
7589 grep -v '^ *+' conftest.er1 >conftest.err
7590 rm -f conftest.er1
7591 cat conftest.err >&5
7592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7593 (exit $ac_status); } &&
7594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7596 (eval $ac_try) 2>&5
7597 ac_status=$?
7598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7599 (exit $ac_status); }; } &&
7600 { ac_try='test -s conftest.$ac_objext'
7601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7602 (eval $ac_try) 2>&5
7603 ac_status=$?
7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); }; }; then
7606 eval "$as_ac_Header=yes"
7607 else
7608 echo "$as_me: failed program was:" >&5
7609 sed 's/^/| /' conftest.$ac_ext >&5
7611 eval "$as_ac_Header=no"
7613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7616 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7617 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7618 cat >>confdefs.h <<_ACEOF
7619 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7620 _ACEOF
7624 done
7627 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7628 then
7629 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7630 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7631 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7632 echo $ECHO_N "(cached) $ECHO_C" >&6
7633 else
7634 ac_check_lib_save_LIBS=$LIBS
7635 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7636 cat >conftest.$ac_ext <<_ACEOF
7637 /* confdefs.h. */
7638 _ACEOF
7639 cat confdefs.h >>conftest.$ac_ext
7640 cat >>conftest.$ac_ext <<_ACEOF
7641 /* end confdefs.h. */
7643 /* Override any gcc2 internal prototype to avoid an error. */
7644 #ifdef __cplusplus
7645 extern "C"
7646 #endif
7647 /* We use char because int might match the return type of a gcc2
7648 builtin and then its argument prototype would still apply. */
7649 char XkbQueryExtension ();
7651 main ()
7653 XkbQueryExtension ();
7655 return 0;
7657 _ACEOF
7658 rm -f conftest.$ac_objext conftest$ac_exeext
7659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7660 (eval $ac_link) 2>conftest.er1
7661 ac_status=$?
7662 grep -v '^ *+' conftest.er1 >conftest.err
7663 rm -f conftest.er1
7664 cat conftest.err >&5
7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7666 (exit $ac_status); } &&
7667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7669 (eval $ac_try) 2>&5
7670 ac_status=$?
7671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7672 (exit $ac_status); }; } &&
7673 { ac_try='test -s conftest$ac_exeext'
7674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7675 (eval $ac_try) 2>&5
7676 ac_status=$?
7677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7678 (exit $ac_status); }; }; then
7679 ac_cv_lib_X11_XkbQueryExtension=yes
7680 else
7681 echo "$as_me: failed program was:" >&5
7682 sed 's/^/| /' conftest.$ac_ext >&5
7684 ac_cv_lib_X11_XkbQueryExtension=no
7686 rm -f conftest.err conftest.$ac_objext \
7687 conftest$ac_exeext conftest.$ac_ext
7688 LIBS=$ac_check_lib_save_LIBS
7690 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7691 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7692 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7694 cat >>confdefs.h <<\_ACEOF
7695 #define HAVE_XKB 1
7696 _ACEOF
7702 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7703 then
7704 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7705 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7706 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7707 echo $ECHO_N "(cached) $ECHO_C" >&6
7708 else
7709 ac_check_lib_save_LIBS=$LIBS
7710 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7711 cat >conftest.$ac_ext <<_ACEOF
7712 /* confdefs.h. */
7713 _ACEOF
7714 cat confdefs.h >>conftest.$ac_ext
7715 cat >>conftest.$ac_ext <<_ACEOF
7716 /* end confdefs.h. */
7718 /* Override any gcc2 internal prototype to avoid an error. */
7719 #ifdef __cplusplus
7720 extern "C"
7721 #endif
7722 /* We use char because int might match the return type of a gcc2
7723 builtin and then its argument prototype would still apply. */
7724 char XShmQueryExtension ();
7726 main ()
7728 XShmQueryExtension ();
7730 return 0;
7732 _ACEOF
7733 rm -f conftest.$ac_objext conftest$ac_exeext
7734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7735 (eval $ac_link) 2>conftest.er1
7736 ac_status=$?
7737 grep -v '^ *+' conftest.er1 >conftest.err
7738 rm -f conftest.er1
7739 cat conftest.err >&5
7740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741 (exit $ac_status); } &&
7742 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7744 (eval $ac_try) 2>&5
7745 ac_status=$?
7746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7747 (exit $ac_status); }; } &&
7748 { ac_try='test -s conftest$ac_exeext'
7749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7750 (eval $ac_try) 2>&5
7751 ac_status=$?
7752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753 (exit $ac_status); }; }; then
7754 ac_cv_lib_Xext_XShmQueryExtension=yes
7755 else
7756 echo "$as_me: failed program was:" >&5
7757 sed 's/^/| /' conftest.$ac_ext >&5
7759 ac_cv_lib_Xext_XShmQueryExtension=no
7761 rm -f conftest.err conftest.$ac_objext \
7762 conftest$ac_exeext conftest.$ac_ext
7763 LIBS=$ac_check_lib_save_LIBS
7765 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7766 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7767 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7769 cat >>confdefs.h <<\_ACEOF
7770 #define HAVE_LIBXXSHM 1
7771 _ACEOF
7777 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7778 then
7779 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7780 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7781 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7782 echo $ECHO_N "(cached) $ECHO_C" >&6
7783 else
7784 ac_check_lib_save_LIBS=$LIBS
7785 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7786 cat >conftest.$ac_ext <<_ACEOF
7787 /* confdefs.h. */
7788 _ACEOF
7789 cat confdefs.h >>conftest.$ac_ext
7790 cat >>conftest.$ac_ext <<_ACEOF
7791 /* end confdefs.h. */
7793 /* Override any gcc2 internal prototype to avoid an error. */
7794 #ifdef __cplusplus
7795 extern "C"
7796 #endif
7797 /* We use char because int might match the return type of a gcc2
7798 builtin and then its argument prototype would still apply. */
7799 char XShapeQueryExtension ();
7801 main ()
7803 XShapeQueryExtension ();
7805 return 0;
7807 _ACEOF
7808 rm -f conftest.$ac_objext conftest$ac_exeext
7809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7810 (eval $ac_link) 2>conftest.er1
7811 ac_status=$?
7812 grep -v '^ *+' conftest.er1 >conftest.err
7813 rm -f conftest.er1
7814 cat conftest.err >&5
7815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7816 (exit $ac_status); } &&
7817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7819 (eval $ac_try) 2>&5
7820 ac_status=$?
7821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7822 (exit $ac_status); }; } &&
7823 { ac_try='test -s conftest$ac_exeext'
7824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7825 (eval $ac_try) 2>&5
7826 ac_status=$?
7827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7828 (exit $ac_status); }; }; then
7829 ac_cv_lib_Xext_XShapeQueryExtension=yes
7830 else
7831 echo "$as_me: failed program was:" >&5
7832 sed 's/^/| /' conftest.$ac_ext >&5
7834 ac_cv_lib_Xext_XShapeQueryExtension=no
7836 rm -f conftest.err conftest.$ac_objext \
7837 conftest$ac_exeext conftest.$ac_ext
7838 LIBS=$ac_check_lib_save_LIBS
7840 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7841 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
7842 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7844 cat >>confdefs.h <<\_ACEOF
7845 #define HAVE_LIBXSHAPE 1
7846 _ACEOF
7852 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
7853 then
7854 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
7855 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7856 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
7857 echo $ECHO_N "(cached) $ECHO_C" >&6
7858 else
7859 ac_check_lib_save_LIBS=$LIBS
7860 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7861 cat >conftest.$ac_ext <<_ACEOF
7862 /* confdefs.h. */
7863 _ACEOF
7864 cat confdefs.h >>conftest.$ac_ext
7865 cat >>conftest.$ac_ext <<_ACEOF
7866 /* end confdefs.h. */
7868 /* Override any gcc2 internal prototype to avoid an error. */
7869 #ifdef __cplusplus
7870 extern "C"
7871 #endif
7872 /* We use char because int might match the return type of a gcc2
7873 builtin and then its argument prototype would still apply. */
7874 char XDGAQueryExtension ();
7876 main ()
7878 XDGAQueryExtension ();
7880 return 0;
7882 _ACEOF
7883 rm -f conftest.$ac_objext conftest$ac_exeext
7884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7885 (eval $ac_link) 2>conftest.er1
7886 ac_status=$?
7887 grep -v '^ *+' conftest.er1 >conftest.err
7888 rm -f conftest.er1
7889 cat conftest.err >&5
7890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7891 (exit $ac_status); } &&
7892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7894 (eval $ac_try) 2>&5
7895 ac_status=$?
7896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897 (exit $ac_status); }; } &&
7898 { ac_try='test -s conftest$ac_exeext'
7899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7900 (eval $ac_try) 2>&5
7901 ac_status=$?
7902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903 (exit $ac_status); }; }; then
7904 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
7905 else
7906 echo "$as_me: failed program was:" >&5
7907 sed 's/^/| /' conftest.$ac_ext >&5
7909 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
7911 rm -f conftest.err conftest.$ac_objext \
7912 conftest$ac_exeext conftest.$ac_ext
7913 LIBS=$ac_check_lib_save_LIBS
7915 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
7916 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
7917 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
7919 cat >>confdefs.h <<\_ACEOF
7920 #define HAVE_LIBXXF86DGA2 1
7921 _ACEOF
7923 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7929 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7930 then
7931 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7932 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7933 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7934 echo $ECHO_N "(cached) $ECHO_C" >&6
7935 else
7936 ac_check_lib_save_LIBS=$LIBS
7937 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7938 cat >conftest.$ac_ext <<_ACEOF
7939 /* confdefs.h. */
7940 _ACEOF
7941 cat confdefs.h >>conftest.$ac_ext
7942 cat >>conftest.$ac_ext <<_ACEOF
7943 /* end confdefs.h. */
7945 /* Override any gcc2 internal prototype to avoid an error. */
7946 #ifdef __cplusplus
7947 extern "C"
7948 #endif
7949 /* We use char because int might match the return type of a gcc2
7950 builtin and then its argument prototype would still apply. */
7951 char XF86VidModeQueryExtension ();
7953 main ()
7955 XF86VidModeQueryExtension ();
7957 return 0;
7959 _ACEOF
7960 rm -f conftest.$ac_objext conftest$ac_exeext
7961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7962 (eval $ac_link) 2>conftest.er1
7963 ac_status=$?
7964 grep -v '^ *+' conftest.er1 >conftest.err
7965 rm -f conftest.er1
7966 cat conftest.err >&5
7967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7968 (exit $ac_status); } &&
7969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7971 (eval $ac_try) 2>&5
7972 ac_status=$?
7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974 (exit $ac_status); }; } &&
7975 { ac_try='test -s conftest$ac_exeext'
7976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7977 (eval $ac_try) 2>&5
7978 ac_status=$?
7979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980 (exit $ac_status); }; }; then
7981 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
7982 else
7983 echo "$as_me: failed program was:" >&5
7984 sed 's/^/| /' conftest.$ac_ext >&5
7986 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
7988 rm -f conftest.err conftest.$ac_objext \
7989 conftest$ac_exeext conftest.$ac_ext
7990 LIBS=$ac_check_lib_save_LIBS
7992 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7993 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7994 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
7996 cat >>confdefs.h <<\_ACEOF
7997 #define HAVE_LIBXXF86VM 1
7998 _ACEOF
8000 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8006 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8007 then
8008 cat >conftest.$ac_ext <<_ACEOF
8009 /* confdefs.h. */
8010 _ACEOF
8011 cat confdefs.h >>conftest.$ac_ext
8012 cat >>conftest.$ac_ext <<_ACEOF
8013 /* end confdefs.h. */
8014 #include <X11/Xlib.h>
8015 #include <X11/extensions/Xrandr.h>
8017 main ()
8019 static typeof(XRRSetScreenConfigAndRate) * func;
8021 return 0;
8023 _ACEOF
8024 rm -f conftest.$ac_objext
8025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8026 (eval $ac_compile) 2>conftest.er1
8027 ac_status=$?
8028 grep -v '^ *+' conftest.er1 >conftest.err
8029 rm -f conftest.er1
8030 cat conftest.err >&5
8031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8032 (exit $ac_status); } &&
8033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8035 (eval $ac_try) 2>&5
8036 ac_status=$?
8037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8038 (exit $ac_status); }; } &&
8039 { ac_try='test -s conftest.$ac_objext'
8040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8041 (eval $ac_try) 2>&5
8042 ac_status=$?
8043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8044 (exit $ac_status); }; }; then
8046 cat >>confdefs.h <<\_ACEOF
8047 #define HAVE_LIBXRANDR 1
8048 _ACEOF
8050 else
8051 echo "$as_me: failed program was:" >&5
8052 sed 's/^/| /' conftest.$ac_ext >&5
8055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8058 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8059 then
8060 echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8061 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6
8062 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8063 echo $ECHO_N "(cached) $ECHO_C" >&6
8064 else
8065 ac_check_lib_save_LIBS=$LIBS
8066 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8067 cat >conftest.$ac_ext <<_ACEOF
8068 /* confdefs.h. */
8069 _ACEOF
8070 cat confdefs.h >>conftest.$ac_ext
8071 cat >>conftest.$ac_ext <<_ACEOF
8072 /* end confdefs.h. */
8074 /* Override any gcc2 internal prototype to avoid an error. */
8075 #ifdef __cplusplus
8076 extern "C"
8077 #endif
8078 /* We use char because int might match the return type of a gcc2
8079 builtin and then its argument prototype would still apply. */
8080 char XRenderSetPictureTransform ();
8082 main ()
8084 XRenderSetPictureTransform ();
8086 return 0;
8088 _ACEOF
8089 rm -f conftest.$ac_objext conftest$ac_exeext
8090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8091 (eval $ac_link) 2>conftest.er1
8092 ac_status=$?
8093 grep -v '^ *+' conftest.er1 >conftest.err
8094 rm -f conftest.er1
8095 cat conftest.err >&5
8096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8097 (exit $ac_status); } &&
8098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8100 (eval $ac_try) 2>&5
8101 ac_status=$?
8102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8103 (exit $ac_status); }; } &&
8104 { ac_try='test -s conftest$ac_exeext'
8105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8106 (eval $ac_try) 2>&5
8107 ac_status=$?
8108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8109 (exit $ac_status); }; }; then
8110 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8111 else
8112 echo "$as_me: failed program was:" >&5
8113 sed 's/^/| /' conftest.$ac_ext >&5
8115 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8117 rm -f conftest.err conftest.$ac_objext \
8118 conftest$ac_exeext conftest.$ac_ext
8119 LIBS=$ac_check_lib_save_LIBS
8121 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8122 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6
8123 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8125 cat >>confdefs.h <<\_ACEOF
8126 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8127 _ACEOF
8136 done
8138 if test "x$with_opengl" != "xno"
8139 then
8140 if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
8141 then
8142 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8143 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8144 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8145 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8146 { (exit 1); exit 1; }; }
8151 for ac_header in GL/gl.h GL/glx.h
8153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8155 echo "$as_me:$LINENO: checking for $ac_header" >&5
8156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8158 echo $ECHO_N "(cached) $ECHO_C" >&6
8160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8162 else
8163 # Is the header compilable?
8164 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8165 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8166 cat >conftest.$ac_ext <<_ACEOF
8167 /* confdefs.h. */
8168 _ACEOF
8169 cat confdefs.h >>conftest.$ac_ext
8170 cat >>conftest.$ac_ext <<_ACEOF
8171 /* end confdefs.h. */
8172 $ac_includes_default
8173 #include <$ac_header>
8174 _ACEOF
8175 rm -f conftest.$ac_objext
8176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8177 (eval $ac_compile) 2>conftest.er1
8178 ac_status=$?
8179 grep -v '^ *+' conftest.er1 >conftest.err
8180 rm -f conftest.er1
8181 cat conftest.err >&5
8182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8183 (exit $ac_status); } &&
8184 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8186 (eval $ac_try) 2>&5
8187 ac_status=$?
8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189 (exit $ac_status); }; } &&
8190 { ac_try='test -s conftest.$ac_objext'
8191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8192 (eval $ac_try) 2>&5
8193 ac_status=$?
8194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195 (exit $ac_status); }; }; then
8196 ac_header_compiler=yes
8197 else
8198 echo "$as_me: failed program was:" >&5
8199 sed 's/^/| /' conftest.$ac_ext >&5
8201 ac_header_compiler=no
8203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8204 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8205 echo "${ECHO_T}$ac_header_compiler" >&6
8207 # Is the header present?
8208 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8209 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8210 cat >conftest.$ac_ext <<_ACEOF
8211 /* confdefs.h. */
8212 _ACEOF
8213 cat confdefs.h >>conftest.$ac_ext
8214 cat >>conftest.$ac_ext <<_ACEOF
8215 /* end confdefs.h. */
8216 #include <$ac_header>
8217 _ACEOF
8218 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8219 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8220 ac_status=$?
8221 grep -v '^ *+' conftest.er1 >conftest.err
8222 rm -f conftest.er1
8223 cat conftest.err >&5
8224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 (exit $ac_status); } >/dev/null; then
8226 if test -s conftest.err; then
8227 ac_cpp_err=$ac_c_preproc_warn_flag
8228 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8229 else
8230 ac_cpp_err=
8232 else
8233 ac_cpp_err=yes
8235 if test -z "$ac_cpp_err"; then
8236 ac_header_preproc=yes
8237 else
8238 echo "$as_me: failed program was:" >&5
8239 sed 's/^/| /' conftest.$ac_ext >&5
8241 ac_header_preproc=no
8243 rm -f conftest.err conftest.$ac_ext
8244 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8245 echo "${ECHO_T}$ac_header_preproc" >&6
8247 # So? What about this header?
8248 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8249 yes:no: )
8250 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8251 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8253 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8254 ac_header_preproc=yes
8256 no:yes:* )
8257 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8258 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8259 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8260 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8261 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8262 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8263 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8264 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8266 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8267 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8268 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8270 cat <<\_ASBOX
8271 ## ------------------------------------ ##
8272 ## Report this to wine-devel@winehq.org ##
8273 ## ------------------------------------ ##
8274 _ASBOX
8276 sed "s/^/$as_me: WARNING: /" >&2
8278 esac
8279 echo "$as_me:$LINENO: checking for $ac_header" >&5
8280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8282 echo $ECHO_N "(cached) $ECHO_C" >&6
8283 else
8284 eval "$as_ac_Header=\$ac_header_preproc"
8286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8291 cat >>confdefs.h <<_ACEOF
8292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8293 _ACEOF
8297 done
8299 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8300 then
8302 for ac_header in GL/glext.h
8304 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8305 echo "$as_me:$LINENO: checking for $ac_header" >&5
8306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8308 echo $ECHO_N "(cached) $ECHO_C" >&6
8309 else
8310 cat >conftest.$ac_ext <<_ACEOF
8311 /* confdefs.h. */
8312 _ACEOF
8313 cat confdefs.h >>conftest.$ac_ext
8314 cat >>conftest.$ac_ext <<_ACEOF
8315 /* end confdefs.h. */
8316 #include <GL/glx.h>
8318 #include <$ac_header>
8319 _ACEOF
8320 rm -f conftest.$ac_objext
8321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8322 (eval $ac_compile) 2>conftest.er1
8323 ac_status=$?
8324 grep -v '^ *+' conftest.er1 >conftest.err
8325 rm -f conftest.er1
8326 cat conftest.err >&5
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 (exit $ac_status); } &&
8329 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8331 (eval $ac_try) 2>&5
8332 ac_status=$?
8333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8334 (exit $ac_status); }; } &&
8335 { ac_try='test -s conftest.$ac_objext'
8336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8337 (eval $ac_try) 2>&5
8338 ac_status=$?
8339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8340 (exit $ac_status); }; }; then
8341 eval "$as_ac_Header=yes"
8342 else
8343 echo "$as_me: failed program was:" >&5
8344 sed 's/^/| /' conftest.$ac_ext >&5
8346 eval "$as_ac_Header=no"
8348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8352 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8353 cat >>confdefs.h <<_ACEOF
8354 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8355 _ACEOF
8359 done
8361 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8362 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8363 if test "${wine_cv_opengl_version_OK+set}" = set; then
8364 echo $ECHO_N "(cached) $ECHO_C" >&6
8365 else
8366 cat >conftest.$ac_ext <<_ACEOF
8367 /* confdefs.h. */
8368 _ACEOF
8369 cat confdefs.h >>conftest.$ac_ext
8370 cat >>conftest.$ac_ext <<_ACEOF
8371 /* end confdefs.h. */
8372 #include <GL/gl.h>
8374 main ()
8376 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8378 return 0;
8380 _ACEOF
8381 rm -f conftest.$ac_objext
8382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8383 (eval $ac_compile) 2>conftest.er1
8384 ac_status=$?
8385 grep -v '^ *+' conftest.er1 >conftest.err
8386 rm -f conftest.er1
8387 cat conftest.err >&5
8388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8389 (exit $ac_status); } &&
8390 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8392 (eval $ac_try) 2>&5
8393 ac_status=$?
8394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8395 (exit $ac_status); }; } &&
8396 { ac_try='test -s conftest.$ac_objext'
8397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8398 (eval $ac_try) 2>&5
8399 ac_status=$?
8400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 (exit $ac_status); }; }; then
8402 wine_cv_opengl_version_OK="yes"
8403 else
8404 echo "$as_me: failed program was:" >&5
8405 sed 's/^/| /' conftest.$ac_ext >&5
8407 wine_cv_opengl_version_OK="no"
8410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8413 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8414 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8416 if test "$wine_cv_opengl_version_OK" = "yes"
8417 then
8418 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8419 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8420 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8421 echo $ECHO_N "(cached) $ECHO_C" >&6
8422 else
8423 ac_check_lib_save_LIBS=$LIBS
8424 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8425 cat >conftest.$ac_ext <<_ACEOF
8426 /* confdefs.h. */
8427 _ACEOF
8428 cat confdefs.h >>conftest.$ac_ext
8429 cat >>conftest.$ac_ext <<_ACEOF
8430 /* end confdefs.h. */
8432 /* Override any gcc2 internal prototype to avoid an error. */
8433 #ifdef __cplusplus
8434 extern "C"
8435 #endif
8436 /* We use char because int might match the return type of a gcc2
8437 builtin and then its argument prototype would still apply. */
8438 char glXCreateContext ();
8440 main ()
8442 glXCreateContext ();
8444 return 0;
8446 _ACEOF
8447 rm -f conftest.$ac_objext conftest$ac_exeext
8448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8449 (eval $ac_link) 2>conftest.er1
8450 ac_status=$?
8451 grep -v '^ *+' conftest.er1 >conftest.err
8452 rm -f conftest.er1
8453 cat conftest.err >&5
8454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8455 (exit $ac_status); } &&
8456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8458 (eval $ac_try) 2>&5
8459 ac_status=$?
8460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8461 (exit $ac_status); }; } &&
8462 { ac_try='test -s conftest$ac_exeext'
8463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8464 (eval $ac_try) 2>&5
8465 ac_status=$?
8466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8467 (exit $ac_status); }; }; then
8468 ac_cv_lib_GL_glXCreateContext=yes
8469 else
8470 echo "$as_me: failed program was:" >&5
8471 sed 's/^/| /' conftest.$ac_ext >&5
8473 ac_cv_lib_GL_glXCreateContext=no
8475 rm -f conftest.err conftest.$ac_objext \
8476 conftest$ac_exeext conftest.$ac_ext
8477 LIBS=$ac_check_lib_save_LIBS
8479 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8480 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8481 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8482 OPENGL_LIBS="-lGL"
8487 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8488 then
8489 OPENGLFILES='$(OPENGLFILES)'
8491 cat >>confdefs.h <<\_ACEOF
8492 #define HAVE_OPENGL 1
8493 _ACEOF
8496 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8497 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8498 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8499 echo $ECHO_N "(cached) $ECHO_C" >&6
8500 else
8501 ac_check_lib_save_LIBS=$LIBS
8502 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8503 $LIBS"
8504 cat >conftest.$ac_ext <<_ACEOF
8505 /* confdefs.h. */
8506 _ACEOF
8507 cat confdefs.h >>conftest.$ac_ext
8508 cat >>conftest.$ac_ext <<_ACEOF
8509 /* end confdefs.h. */
8511 /* Override any gcc2 internal prototype to avoid an error. */
8512 #ifdef __cplusplus
8513 extern "C"
8514 #endif
8515 /* We use char because int might match the return type of a gcc2
8516 builtin and then its argument prototype would still apply. */
8517 char gluLookAt ();
8519 main ()
8521 gluLookAt ();
8523 return 0;
8525 _ACEOF
8526 rm -f conftest.$ac_objext conftest$ac_exeext
8527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8528 (eval $ac_link) 2>conftest.er1
8529 ac_status=$?
8530 grep -v '^ *+' conftest.er1 >conftest.err
8531 rm -f conftest.er1
8532 cat conftest.err >&5
8533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8534 (exit $ac_status); } &&
8535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8537 (eval $ac_try) 2>&5
8538 ac_status=$?
8539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8540 (exit $ac_status); }; } &&
8541 { ac_try='test -s conftest$ac_exeext'
8542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8543 (eval $ac_try) 2>&5
8544 ac_status=$?
8545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8546 (exit $ac_status); }; }; then
8547 ac_cv_lib_GLU_gluLookAt=yes
8548 else
8549 echo "$as_me: failed program was:" >&5
8550 sed 's/^/| /' conftest.$ac_ext >&5
8552 ac_cv_lib_GLU_gluLookAt=no
8554 rm -f conftest.err conftest.$ac_objext \
8555 conftest$ac_exeext conftest.$ac_ext
8556 LIBS=$ac_check_lib_save_LIBS
8558 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8559 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8560 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8561 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8562 GLU32FILES='$(GLU32FILES)'
8568 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8569 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8570 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8571 echo $ECHO_N "(cached) $ECHO_C" >&6
8572 else
8573 ac_check_lib_save_LIBS=$LIBS
8574 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8575 cat >conftest.$ac_ext <<_ACEOF
8576 /* confdefs.h. */
8577 _ACEOF
8578 cat confdefs.h >>conftest.$ac_ext
8579 cat >>conftest.$ac_ext <<_ACEOF
8580 /* end confdefs.h. */
8582 /* Override any gcc2 internal prototype to avoid an error. */
8583 #ifdef __cplusplus
8584 extern "C"
8585 #endif
8586 /* We use char because int might match the return type of a gcc2
8587 builtin and then its argument prototype would still apply. */
8588 char glutMainLoop ();
8590 main ()
8592 glutMainLoop ();
8594 return 0;
8596 _ACEOF
8597 rm -f conftest.$ac_objext conftest$ac_exeext
8598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8599 (eval $ac_link) 2>conftest.er1
8600 ac_status=$?
8601 grep -v '^ *+' conftest.er1 >conftest.err
8602 rm -f conftest.er1
8603 cat conftest.err >&5
8604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8605 (exit $ac_status); } &&
8606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8608 (eval $ac_try) 2>&5
8609 ac_status=$?
8610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8611 (exit $ac_status); }; } &&
8612 { ac_try='test -s conftest$ac_exeext'
8613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8614 (eval $ac_try) 2>&5
8615 ac_status=$?
8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 (exit $ac_status); }; }; then
8618 ac_cv_lib_glut_glutMainLoop=yes
8619 else
8620 echo "$as_me: failed program was:" >&5
8621 sed 's/^/| /' conftest.$ac_ext >&5
8623 ac_cv_lib_glut_glutMainLoop=no
8625 rm -f conftest.err conftest.$ac_objext \
8626 conftest$ac_exeext conftest.$ac_ext
8627 LIBS=$ac_check_lib_save_LIBS
8629 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
8630 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
8631 if test $ac_cv_lib_glut_glutMainLoop = yes; then
8632 GLUT_LIBS="-lglut -lXmu -lXi"
8634 GLUT32FILES='$(GLUT32FILES)'
8641 NASLIBS=""
8644 for ac_header in audio/audiolib.h
8646 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8648 echo "$as_me:$LINENO: checking for $ac_header" >&5
8649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8651 echo $ECHO_N "(cached) $ECHO_C" >&6
8653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8655 else
8656 # Is the header compilable?
8657 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8658 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8659 cat >conftest.$ac_ext <<_ACEOF
8660 /* confdefs.h. */
8661 _ACEOF
8662 cat confdefs.h >>conftest.$ac_ext
8663 cat >>conftest.$ac_ext <<_ACEOF
8664 /* end confdefs.h. */
8665 $ac_includes_default
8666 #include <$ac_header>
8667 _ACEOF
8668 rm -f conftest.$ac_objext
8669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8670 (eval $ac_compile) 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); } &&
8677 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8679 (eval $ac_try) 2>&5
8680 ac_status=$?
8681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682 (exit $ac_status); }; } &&
8683 { ac_try='test -s conftest.$ac_objext'
8684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8685 (eval $ac_try) 2>&5
8686 ac_status=$?
8687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8688 (exit $ac_status); }; }; then
8689 ac_header_compiler=yes
8690 else
8691 echo "$as_me: failed program was:" >&5
8692 sed 's/^/| /' conftest.$ac_ext >&5
8694 ac_header_compiler=no
8696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8697 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8698 echo "${ECHO_T}$ac_header_compiler" >&6
8700 # Is the header present?
8701 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8702 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8703 cat >conftest.$ac_ext <<_ACEOF
8704 /* confdefs.h. */
8705 _ACEOF
8706 cat confdefs.h >>conftest.$ac_ext
8707 cat >>conftest.$ac_ext <<_ACEOF
8708 /* end confdefs.h. */
8709 #include <$ac_header>
8710 _ACEOF
8711 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8712 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8713 ac_status=$?
8714 grep -v '^ *+' conftest.er1 >conftest.err
8715 rm -f conftest.er1
8716 cat conftest.err >&5
8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 (exit $ac_status); } >/dev/null; then
8719 if test -s conftest.err; then
8720 ac_cpp_err=$ac_c_preproc_warn_flag
8721 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8722 else
8723 ac_cpp_err=
8725 else
8726 ac_cpp_err=yes
8728 if test -z "$ac_cpp_err"; then
8729 ac_header_preproc=yes
8730 else
8731 echo "$as_me: failed program was:" >&5
8732 sed 's/^/| /' conftest.$ac_ext >&5
8734 ac_header_preproc=no
8736 rm -f conftest.err conftest.$ac_ext
8737 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8738 echo "${ECHO_T}$ac_header_preproc" >&6
8740 # So? What about this header?
8741 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8742 yes:no: )
8743 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8744 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8746 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8747 ac_header_preproc=yes
8749 no:yes:* )
8750 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8751 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8752 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8753 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8754 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8755 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8756 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8757 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8758 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8759 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8760 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8761 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8763 cat <<\_ASBOX
8764 ## ------------------------------------ ##
8765 ## Report this to wine-devel@winehq.org ##
8766 ## ------------------------------------ ##
8767 _ASBOX
8769 sed "s/^/$as_me: WARNING: /" >&2
8771 esac
8772 echo "$as_me:$LINENO: checking for $ac_header" >&5
8773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8775 echo $ECHO_N "(cached) $ECHO_C" >&6
8776 else
8777 eval "$as_ac_Header=\$ac_header_preproc"
8779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8780 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8783 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8784 cat >>confdefs.h <<_ACEOF
8785 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8786 _ACEOF
8788 for ac_header in audio/soundlib.h
8790 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8791 echo "$as_me:$LINENO: checking for $ac_header" >&5
8792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8794 echo $ECHO_N "(cached) $ECHO_C" >&6
8795 else
8796 cat >conftest.$ac_ext <<_ACEOF
8797 /* confdefs.h. */
8798 _ACEOF
8799 cat confdefs.h >>conftest.$ac_ext
8800 cat >>conftest.$ac_ext <<_ACEOF
8801 /* end confdefs.h. */
8802 #include <audio/audiolib.h>
8804 #include <$ac_header>
8805 _ACEOF
8806 rm -f conftest.$ac_objext
8807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8808 (eval $ac_compile) 2>conftest.er1
8809 ac_status=$?
8810 grep -v '^ *+' conftest.er1 >conftest.err
8811 rm -f conftest.er1
8812 cat conftest.err >&5
8813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814 (exit $ac_status); } &&
8815 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8817 (eval $ac_try) 2>&5
8818 ac_status=$?
8819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820 (exit $ac_status); }; } &&
8821 { ac_try='test -s conftest.$ac_objext'
8822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8823 (eval $ac_try) 2>&5
8824 ac_status=$?
8825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826 (exit $ac_status); }; }; then
8827 eval "$as_ac_Header=yes"
8828 else
8829 echo "$as_me: failed program was:" >&5
8830 sed 's/^/| /' conftest.$ac_ext >&5
8832 eval "$as_ac_Header=no"
8834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8837 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8838 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8839 cat >>confdefs.h <<_ACEOF
8840 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8841 _ACEOF
8845 done
8847 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8848 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8849 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8850 echo $ECHO_N "(cached) $ECHO_C" >&6
8851 else
8852 ac_check_lib_save_LIBS=$LIBS
8853 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8854 cat >conftest.$ac_ext <<_ACEOF
8855 /* confdefs.h. */
8856 _ACEOF
8857 cat confdefs.h >>conftest.$ac_ext
8858 cat >>conftest.$ac_ext <<_ACEOF
8859 /* end confdefs.h. */
8861 /* Override any gcc2 internal prototype to avoid an error. */
8862 #ifdef __cplusplus
8863 extern "C"
8864 #endif
8865 /* We use char because int might match the return type of a gcc2
8866 builtin and then its argument prototype would still apply. */
8867 char AuCreateFlow ();
8869 main ()
8871 AuCreateFlow ();
8873 return 0;
8875 _ACEOF
8876 rm -f conftest.$ac_objext conftest$ac_exeext
8877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8878 (eval $ac_link) 2>conftest.er1
8879 ac_status=$?
8880 grep -v '^ *+' conftest.er1 >conftest.err
8881 rm -f conftest.er1
8882 cat conftest.err >&5
8883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8884 (exit $ac_status); } &&
8885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8887 (eval $ac_try) 2>&5
8888 ac_status=$?
8889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890 (exit $ac_status); }; } &&
8891 { ac_try='test -s conftest$ac_exeext'
8892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8893 (eval $ac_try) 2>&5
8894 ac_status=$?
8895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8896 (exit $ac_status); }; }; then
8897 ac_cv_lib_audio_AuCreateFlow=yes
8898 else
8899 echo "$as_me: failed program was:" >&5
8900 sed 's/^/| /' conftest.$ac_ext >&5
8902 ac_cv_lib_audio_AuCreateFlow=no
8904 rm -f conftest.err conftest.$ac_objext \
8905 conftest$ac_exeext conftest.$ac_ext
8906 LIBS=$ac_check_lib_save_LIBS
8908 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8909 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8910 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8912 cat >>confdefs.h <<\_ACEOF
8913 #define HAVE_NAS 1
8914 _ACEOF
8916 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8921 done
8924 CPPFLAGS="$ac_save_CPPFLAGS"
8925 XFILES='$(XFILES)'
8926 else
8927 XLIB=""
8928 X_CFLAGS=""
8929 X_LIBS=""
8932 CURSESLIBS=""
8933 if test "x$with_curses" != "xno"
8934 then
8936 for ac_header in ncurses.h
8938 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8940 echo "$as_me:$LINENO: checking for $ac_header" >&5
8941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8943 echo $ECHO_N "(cached) $ECHO_C" >&6
8945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8947 else
8948 # Is the header compilable?
8949 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8951 cat >conftest.$ac_ext <<_ACEOF
8952 /* confdefs.h. */
8953 _ACEOF
8954 cat confdefs.h >>conftest.$ac_ext
8955 cat >>conftest.$ac_ext <<_ACEOF
8956 /* end confdefs.h. */
8957 $ac_includes_default
8958 #include <$ac_header>
8959 _ACEOF
8960 rm -f conftest.$ac_objext
8961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8962 (eval $ac_compile) 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); } &&
8969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8971 (eval $ac_try) 2>&5
8972 ac_status=$?
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); }; } &&
8975 { ac_try='test -s conftest.$ac_objext'
8976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8977 (eval $ac_try) 2>&5
8978 ac_status=$?
8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980 (exit $ac_status); }; }; then
8981 ac_header_compiler=yes
8982 else
8983 echo "$as_me: failed program was:" >&5
8984 sed 's/^/| /' conftest.$ac_ext >&5
8986 ac_header_compiler=no
8988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8990 echo "${ECHO_T}$ac_header_compiler" >&6
8992 # Is the header present?
8993 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8994 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8995 cat >conftest.$ac_ext <<_ACEOF
8996 /* confdefs.h. */
8997 _ACEOF
8998 cat confdefs.h >>conftest.$ac_ext
8999 cat >>conftest.$ac_ext <<_ACEOF
9000 /* end confdefs.h. */
9001 #include <$ac_header>
9002 _ACEOF
9003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9005 ac_status=$?
9006 grep -v '^ *+' conftest.er1 >conftest.err
9007 rm -f conftest.er1
9008 cat conftest.err >&5
9009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9010 (exit $ac_status); } >/dev/null; then
9011 if test -s conftest.err; then
9012 ac_cpp_err=$ac_c_preproc_warn_flag
9013 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9014 else
9015 ac_cpp_err=
9017 else
9018 ac_cpp_err=yes
9020 if test -z "$ac_cpp_err"; then
9021 ac_header_preproc=yes
9022 else
9023 echo "$as_me: failed program was:" >&5
9024 sed 's/^/| /' conftest.$ac_ext >&5
9026 ac_header_preproc=no
9028 rm -f conftest.err conftest.$ac_ext
9029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9030 echo "${ECHO_T}$ac_header_preproc" >&6
9032 # So? What about this header?
9033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9034 yes:no: )
9035 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9036 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9038 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9039 ac_header_preproc=yes
9041 no:yes:* )
9042 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9043 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9044 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9045 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9046 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9047 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9048 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9049 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9052 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9053 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9055 cat <<\_ASBOX
9056 ## ------------------------------------ ##
9057 ## Report this to wine-devel@winehq.org ##
9058 ## ------------------------------------ ##
9059 _ASBOX
9061 sed "s/^/$as_me: WARNING: /" >&2
9063 esac
9064 echo "$as_me:$LINENO: checking for $ac_header" >&5
9065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9067 echo $ECHO_N "(cached) $ECHO_C" >&6
9068 else
9069 eval "$as_ac_Header=\$ac_header_preproc"
9071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9076 cat >>confdefs.h <<_ACEOF
9077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9078 _ACEOF
9079 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9080 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9081 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9082 echo $ECHO_N "(cached) $ECHO_C" >&6
9083 else
9084 ac_check_lib_save_LIBS=$LIBS
9085 LIBS="-lncurses $LIBS"
9086 cat >conftest.$ac_ext <<_ACEOF
9087 /* confdefs.h. */
9088 _ACEOF
9089 cat confdefs.h >>conftest.$ac_ext
9090 cat >>conftest.$ac_ext <<_ACEOF
9091 /* end confdefs.h. */
9093 /* Override any gcc2 internal prototype to avoid an error. */
9094 #ifdef __cplusplus
9095 extern "C"
9096 #endif
9097 /* We use char because int might match the return type of a gcc2
9098 builtin and then its argument prototype would still apply. */
9099 char waddch ();
9101 main ()
9103 waddch ();
9105 return 0;
9107 _ACEOF
9108 rm -f conftest.$ac_objext conftest$ac_exeext
9109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9110 (eval $ac_link) 2>conftest.er1
9111 ac_status=$?
9112 grep -v '^ *+' conftest.er1 >conftest.err
9113 rm -f conftest.er1
9114 cat conftest.err >&5
9115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9116 (exit $ac_status); } &&
9117 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9119 (eval $ac_try) 2>&5
9120 ac_status=$?
9121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9122 (exit $ac_status); }; } &&
9123 { ac_try='test -s conftest$ac_exeext'
9124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9125 (eval $ac_try) 2>&5
9126 ac_status=$?
9127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9128 (exit $ac_status); }; }; then
9129 ac_cv_lib_ncurses_waddch=yes
9130 else
9131 echo "$as_me: failed program was:" >&5
9132 sed 's/^/| /' conftest.$ac_ext >&5
9134 ac_cv_lib_ncurses_waddch=no
9136 rm -f conftest.err conftest.$ac_objext \
9137 conftest$ac_exeext conftest.$ac_ext
9138 LIBS=$ac_check_lib_save_LIBS
9140 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9141 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9142 if test $ac_cv_lib_ncurses_waddch = yes; then
9144 cat >>confdefs.h <<\_ACEOF
9145 #define HAVE_LIBNCURSES 1
9146 _ACEOF
9148 CURSESLIBS="-lncurses"
9149 else
9151 for ac_header in curses.h
9153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9155 echo "$as_me:$LINENO: checking for $ac_header" >&5
9156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9158 echo $ECHO_N "(cached) $ECHO_C" >&6
9160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9162 else
9163 # Is the header compilable?
9164 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9165 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9166 cat >conftest.$ac_ext <<_ACEOF
9167 /* confdefs.h. */
9168 _ACEOF
9169 cat confdefs.h >>conftest.$ac_ext
9170 cat >>conftest.$ac_ext <<_ACEOF
9171 /* end confdefs.h. */
9172 $ac_includes_default
9173 #include <$ac_header>
9174 _ACEOF
9175 rm -f conftest.$ac_objext
9176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9177 (eval $ac_compile) 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); } &&
9184 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9186 (eval $ac_try) 2>&5
9187 ac_status=$?
9188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189 (exit $ac_status); }; } &&
9190 { ac_try='test -s conftest.$ac_objext'
9191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9192 (eval $ac_try) 2>&5
9193 ac_status=$?
9194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9195 (exit $ac_status); }; }; then
9196 ac_header_compiler=yes
9197 else
9198 echo "$as_me: failed program was:" >&5
9199 sed 's/^/| /' conftest.$ac_ext >&5
9201 ac_header_compiler=no
9203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9204 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9205 echo "${ECHO_T}$ac_header_compiler" >&6
9207 # Is the header present?
9208 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9209 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9210 cat >conftest.$ac_ext <<_ACEOF
9211 /* confdefs.h. */
9212 _ACEOF
9213 cat confdefs.h >>conftest.$ac_ext
9214 cat >>conftest.$ac_ext <<_ACEOF
9215 /* end confdefs.h. */
9216 #include <$ac_header>
9217 _ACEOF
9218 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9219 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9220 ac_status=$?
9221 grep -v '^ *+' conftest.er1 >conftest.err
9222 rm -f conftest.er1
9223 cat conftest.err >&5
9224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9225 (exit $ac_status); } >/dev/null; then
9226 if test -s conftest.err; then
9227 ac_cpp_err=$ac_c_preproc_warn_flag
9228 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9229 else
9230 ac_cpp_err=
9232 else
9233 ac_cpp_err=yes
9235 if test -z "$ac_cpp_err"; then
9236 ac_header_preproc=yes
9237 else
9238 echo "$as_me: failed program was:" >&5
9239 sed 's/^/| /' conftest.$ac_ext >&5
9241 ac_header_preproc=no
9243 rm -f conftest.err conftest.$ac_ext
9244 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9245 echo "${ECHO_T}$ac_header_preproc" >&6
9247 # So? What about this header?
9248 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9249 yes:no: )
9250 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9251 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9253 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9254 ac_header_preproc=yes
9256 no:yes:* )
9257 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9258 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9259 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9260 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9261 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9262 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9263 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9264 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9266 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9267 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9268 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9270 cat <<\_ASBOX
9271 ## ------------------------------------ ##
9272 ## Report this to wine-devel@winehq.org ##
9273 ## ------------------------------------ ##
9274 _ASBOX
9276 sed "s/^/$as_me: WARNING: /" >&2
9278 esac
9279 echo "$as_me:$LINENO: checking for $ac_header" >&5
9280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9282 echo $ECHO_N "(cached) $ECHO_C" >&6
9283 else
9284 eval "$as_ac_Header=\$ac_header_preproc"
9286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9291 cat >>confdefs.h <<_ACEOF
9292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9293 _ACEOF
9294 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9295 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9296 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9297 echo $ECHO_N "(cached) $ECHO_C" >&6
9298 else
9299 ac_check_lib_save_LIBS=$LIBS
9300 LIBS="-lcurses $LIBS"
9301 cat >conftest.$ac_ext <<_ACEOF
9302 /* confdefs.h. */
9303 _ACEOF
9304 cat confdefs.h >>conftest.$ac_ext
9305 cat >>conftest.$ac_ext <<_ACEOF
9306 /* end confdefs.h. */
9308 /* Override any gcc2 internal prototype to avoid an error. */
9309 #ifdef __cplusplus
9310 extern "C"
9311 #endif
9312 /* We use char because int might match the return type of a gcc2
9313 builtin and then its argument prototype would still apply. */
9314 char waddch ();
9316 main ()
9318 waddch ();
9320 return 0;
9322 _ACEOF
9323 rm -f conftest.$ac_objext conftest$ac_exeext
9324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9325 (eval $ac_link) 2>conftest.er1
9326 ac_status=$?
9327 grep -v '^ *+' conftest.er1 >conftest.err
9328 rm -f conftest.er1
9329 cat conftest.err >&5
9330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9331 (exit $ac_status); } &&
9332 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9334 (eval $ac_try) 2>&5
9335 ac_status=$?
9336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9337 (exit $ac_status); }; } &&
9338 { ac_try='test -s conftest$ac_exeext'
9339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9340 (eval $ac_try) 2>&5
9341 ac_status=$?
9342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9343 (exit $ac_status); }; }; then
9344 ac_cv_lib_curses_waddch=yes
9345 else
9346 echo "$as_me: failed program was:" >&5
9347 sed 's/^/| /' conftest.$ac_ext >&5
9349 ac_cv_lib_curses_waddch=no
9351 rm -f conftest.err conftest.$ac_objext \
9352 conftest$ac_exeext conftest.$ac_ext
9353 LIBS=$ac_check_lib_save_LIBS
9355 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9356 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9357 if test $ac_cv_lib_curses_waddch = yes; then
9359 cat >>confdefs.h <<\_ACEOF
9360 #define HAVE_LIBCURSES 1
9361 _ACEOF
9363 CURSESLIBS="-lcurses"
9368 done
9374 done
9379 # Extract the first word of "sane-config", so it can be a program name with args.
9380 set dummy sane-config; ac_word=$2
9381 echo "$as_me:$LINENO: checking for $ac_word" >&5
9382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9383 if test "${ac_cv_prog_sane_devel+set}" = set; then
9384 echo $ECHO_N "(cached) $ECHO_C" >&6
9385 else
9386 if test -n "$sane_devel"; then
9387 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9388 else
9389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9390 for as_dir in $PATH
9392 IFS=$as_save_IFS
9393 test -z "$as_dir" && as_dir=.
9394 for ac_exec_ext in '' $ac_executable_extensions; do
9395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9396 ac_cv_prog_sane_devel="sane-config"
9397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9398 break 2
9400 done
9401 done
9403 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9406 sane_devel=$ac_cv_prog_sane_devel
9407 if test -n "$sane_devel"; then
9408 echo "$as_me:$LINENO: result: $sane_devel" >&5
9409 echo "${ECHO_T}$sane_devel" >&6
9410 else
9411 echo "$as_me:$LINENO: result: no" >&5
9412 echo "${ECHO_T}no" >&6
9415 if test "$sane_devel" = "no"
9416 then
9417 SANELIBS=""
9418 SANEINCL=""
9419 else
9420 SANELIBS="`$sane_devel --libs`"
9421 SANEINCL="`$sane_devel --cflags`"
9422 ac_save_CPPFLAGS="$CPPFLAGS"
9423 ac_save_LIBS="$LIBS"
9424 CPPFLAGS="$CPPFLAGS $SANEINCL"
9425 LIBS="$LIBS $SANELIBS"
9426 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9427 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9428 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9429 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9430 echo $ECHO_N "(cached) $ECHO_C" >&6
9432 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9433 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9434 else
9435 # Is the header compilable?
9436 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9437 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9438 cat >conftest.$ac_ext <<_ACEOF
9439 /* confdefs.h. */
9440 _ACEOF
9441 cat confdefs.h >>conftest.$ac_ext
9442 cat >>conftest.$ac_ext <<_ACEOF
9443 /* end confdefs.h. */
9444 $ac_includes_default
9445 #include <sane/sane.h>
9446 _ACEOF
9447 rm -f conftest.$ac_objext
9448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9449 (eval $ac_compile) 2>conftest.er1
9450 ac_status=$?
9451 grep -v '^ *+' conftest.er1 >conftest.err
9452 rm -f conftest.er1
9453 cat conftest.err >&5
9454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9455 (exit $ac_status); } &&
9456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9458 (eval $ac_try) 2>&5
9459 ac_status=$?
9460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9461 (exit $ac_status); }; } &&
9462 { ac_try='test -s conftest.$ac_objext'
9463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9464 (eval $ac_try) 2>&5
9465 ac_status=$?
9466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9467 (exit $ac_status); }; }; then
9468 ac_header_compiler=yes
9469 else
9470 echo "$as_me: failed program was:" >&5
9471 sed 's/^/| /' conftest.$ac_ext >&5
9473 ac_header_compiler=no
9475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9476 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9477 echo "${ECHO_T}$ac_header_compiler" >&6
9479 # Is the header present?
9480 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9481 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9482 cat >conftest.$ac_ext <<_ACEOF
9483 /* confdefs.h. */
9484 _ACEOF
9485 cat confdefs.h >>conftest.$ac_ext
9486 cat >>conftest.$ac_ext <<_ACEOF
9487 /* end confdefs.h. */
9488 #include <sane/sane.h>
9489 _ACEOF
9490 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9491 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9492 ac_status=$?
9493 grep -v '^ *+' conftest.er1 >conftest.err
9494 rm -f conftest.er1
9495 cat conftest.err >&5
9496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9497 (exit $ac_status); } >/dev/null; then
9498 if test -s conftest.err; then
9499 ac_cpp_err=$ac_c_preproc_warn_flag
9500 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9501 else
9502 ac_cpp_err=
9504 else
9505 ac_cpp_err=yes
9507 if test -z "$ac_cpp_err"; then
9508 ac_header_preproc=yes
9509 else
9510 echo "$as_me: failed program was:" >&5
9511 sed 's/^/| /' conftest.$ac_ext >&5
9513 ac_header_preproc=no
9515 rm -f conftest.err conftest.$ac_ext
9516 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9517 echo "${ECHO_T}$ac_header_preproc" >&6
9519 # So? What about this header?
9520 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9521 yes:no: )
9522 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9523 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9524 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9525 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9526 ac_header_preproc=yes
9528 no:yes:* )
9529 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9530 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9531 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9532 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9533 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9534 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9535 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9536 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9537 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9538 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9539 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9540 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9542 cat <<\_ASBOX
9543 ## ------------------------------------ ##
9544 ## Report this to wine-devel@winehq.org ##
9545 ## ------------------------------------ ##
9546 _ASBOX
9548 sed "s/^/$as_me: WARNING: /" >&2
9550 esac
9551 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9552 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9553 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9554 echo $ECHO_N "(cached) $ECHO_C" >&6
9555 else
9556 ac_cv_header_sane_sane_h=$ac_header_preproc
9558 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9559 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9562 if test $ac_cv_header_sane_sane_h = yes; then
9563 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9564 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9565 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9566 echo $ECHO_N "(cached) $ECHO_C" >&6
9567 else
9568 ac_check_lib_save_LIBS=$LIBS
9569 LIBS="-lsane $LIBS"
9570 cat >conftest.$ac_ext <<_ACEOF
9571 /* confdefs.h. */
9572 _ACEOF
9573 cat confdefs.h >>conftest.$ac_ext
9574 cat >>conftest.$ac_ext <<_ACEOF
9575 /* end confdefs.h. */
9577 /* Override any gcc2 internal prototype to avoid an error. */
9578 #ifdef __cplusplus
9579 extern "C"
9580 #endif
9581 /* We use char because int might match the return type of a gcc2
9582 builtin and then its argument prototype would still apply. */
9583 char sane_open ();
9585 main ()
9587 sane_open ();
9589 return 0;
9591 _ACEOF
9592 rm -f conftest.$ac_objext conftest$ac_exeext
9593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9594 (eval $ac_link) 2>conftest.er1
9595 ac_status=$?
9596 grep -v '^ *+' conftest.er1 >conftest.err
9597 rm -f conftest.er1
9598 cat conftest.err >&5
9599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600 (exit $ac_status); } &&
9601 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9603 (eval $ac_try) 2>&5
9604 ac_status=$?
9605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9606 (exit $ac_status); }; } &&
9607 { ac_try='test -s conftest$ac_exeext'
9608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9609 (eval $ac_try) 2>&5
9610 ac_status=$?
9611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9612 (exit $ac_status); }; }; then
9613 ac_cv_lib_sane_sane_open=yes
9614 else
9615 echo "$as_me: failed program was:" >&5
9616 sed 's/^/| /' conftest.$ac_ext >&5
9618 ac_cv_lib_sane_sane_open=no
9620 rm -f conftest.err conftest.$ac_objext \
9621 conftest$ac_exeext conftest.$ac_ext
9622 LIBS=$ac_check_lib_save_LIBS
9624 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9625 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9626 if test $ac_cv_lib_sane_sane_open = yes; then
9628 cat >>confdefs.h <<\_ACEOF
9629 #define HAVE_SANE 1
9630 _ACEOF
9632 else
9633 SANELIBS=""
9634 SANEINCL=""
9637 else
9638 SANELIBS=""
9639 SANEINCL=""
9643 LIBS="$ac_save_LIBS"
9644 CPPFLAGS="$ac_save_CPPFLAGS"
9650 for ac_header in unicode/ubidi.h
9652 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9654 echo "$as_me:$LINENO: checking for $ac_header" >&5
9655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9657 echo $ECHO_N "(cached) $ECHO_C" >&6
9659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9661 else
9662 # Is the header compilable?
9663 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9664 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9665 cat >conftest.$ac_ext <<_ACEOF
9666 /* confdefs.h. */
9667 _ACEOF
9668 cat confdefs.h >>conftest.$ac_ext
9669 cat >>conftest.$ac_ext <<_ACEOF
9670 /* end confdefs.h. */
9671 $ac_includes_default
9672 #include <$ac_header>
9673 _ACEOF
9674 rm -f conftest.$ac_objext
9675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9676 (eval $ac_compile) 2>conftest.er1
9677 ac_status=$?
9678 grep -v '^ *+' conftest.er1 >conftest.err
9679 rm -f conftest.er1
9680 cat conftest.err >&5
9681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682 (exit $ac_status); } &&
9683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9685 (eval $ac_try) 2>&5
9686 ac_status=$?
9687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9688 (exit $ac_status); }; } &&
9689 { ac_try='test -s conftest.$ac_objext'
9690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9691 (eval $ac_try) 2>&5
9692 ac_status=$?
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694 (exit $ac_status); }; }; then
9695 ac_header_compiler=yes
9696 else
9697 echo "$as_me: failed program was:" >&5
9698 sed 's/^/| /' conftest.$ac_ext >&5
9700 ac_header_compiler=no
9702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9703 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9704 echo "${ECHO_T}$ac_header_compiler" >&6
9706 # Is the header present?
9707 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9708 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9709 cat >conftest.$ac_ext <<_ACEOF
9710 /* confdefs.h. */
9711 _ACEOF
9712 cat confdefs.h >>conftest.$ac_ext
9713 cat >>conftest.$ac_ext <<_ACEOF
9714 /* end confdefs.h. */
9715 #include <$ac_header>
9716 _ACEOF
9717 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9718 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9719 ac_status=$?
9720 grep -v '^ *+' conftest.er1 >conftest.err
9721 rm -f conftest.er1
9722 cat conftest.err >&5
9723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9724 (exit $ac_status); } >/dev/null; then
9725 if test -s conftest.err; then
9726 ac_cpp_err=$ac_c_preproc_warn_flag
9727 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9728 else
9729 ac_cpp_err=
9731 else
9732 ac_cpp_err=yes
9734 if test -z "$ac_cpp_err"; then
9735 ac_header_preproc=yes
9736 else
9737 echo "$as_me: failed program was:" >&5
9738 sed 's/^/| /' conftest.$ac_ext >&5
9740 ac_header_preproc=no
9742 rm -f conftest.err conftest.$ac_ext
9743 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9744 echo "${ECHO_T}$ac_header_preproc" >&6
9746 # So? What about this header?
9747 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9748 yes:no: )
9749 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9750 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9751 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9752 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9753 ac_header_preproc=yes
9755 no:yes:* )
9756 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9757 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9758 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9759 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9760 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9761 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9762 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9763 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9765 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9766 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9767 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9769 cat <<\_ASBOX
9770 ## ------------------------------------ ##
9771 ## Report this to wine-devel@winehq.org ##
9772 ## ------------------------------------ ##
9773 _ASBOX
9775 sed "s/^/$as_me: WARNING: /" >&2
9777 esac
9778 echo "$as_me:$LINENO: checking for $ac_header" >&5
9779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9781 echo $ECHO_N "(cached) $ECHO_C" >&6
9782 else
9783 eval "$as_ac_Header=\$ac_header_preproc"
9785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9789 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9790 cat >>confdefs.h <<_ACEOF
9791 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9792 _ACEOF
9796 done
9798 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
9799 then
9800 saved_libs="$LIBS"
9801 ICU_LIB_DIR="${ICU_LIB_DIR-/usr/lib}"
9802 ICUUC_LIB="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
9803 ICUDATA_LIB="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
9804 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
9805 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
9806 LIBS="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9807 cat >conftest.$ac_ext <<_ACEOF
9808 /* confdefs.h. */
9809 _ACEOF
9810 cat confdefs.h >>conftest.$ac_ext
9811 cat >>conftest.$ac_ext <<_ACEOF
9812 /* end confdefs.h. */
9813 #include <unicode/ubidi.h>
9815 main ()
9817 ubidi_open()
9819 return 0;
9821 _ACEOF
9822 rm -f conftest.$ac_objext conftest$ac_exeext
9823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9824 (eval $ac_link) 2>conftest.er1
9825 ac_status=$?
9826 grep -v '^ *+' conftest.er1 >conftest.err
9827 rm -f conftest.er1
9828 cat conftest.err >&5
9829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9830 (exit $ac_status); } &&
9831 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9833 (eval $ac_try) 2>&5
9834 ac_status=$?
9835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9836 (exit $ac_status); }; } &&
9837 { ac_try='test -s conftest$ac_exeext'
9838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9839 (eval $ac_try) 2>&5
9840 ac_status=$?
9841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9842 (exit $ac_status); }; }; then
9844 cat >>confdefs.h <<\_ACEOF
9845 #define HAVE_ICU 1
9846 _ACEOF
9848 ICULIBS="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9850 echo "$as_me:$LINENO: result: yes" >&5
9851 echo "${ECHO_T}yes" >&6
9852 else
9853 echo "$as_me: failed program was:" >&5
9854 sed 's/^/| /' conftest.$ac_ext >&5
9856 echo "$as_me:$LINENO: result: no" >&5
9857 echo "${ECHO_T}no" >&6
9859 rm -f conftest.err conftest.$ac_objext \
9860 conftest$ac_exeext conftest.$ac_ext
9861 LIBS="$saved_libs"
9864 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
9865 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
9866 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
9867 echo $ECHO_N "(cached) $ECHO_C" >&6
9868 else
9869 ac_check_lib_save_LIBS=$LIBS
9870 LIBS="-lfreetype $X_LIBS $LIBS"
9871 cat >conftest.$ac_ext <<_ACEOF
9872 /* confdefs.h. */
9873 _ACEOF
9874 cat confdefs.h >>conftest.$ac_ext
9875 cat >>conftest.$ac_ext <<_ACEOF
9876 /* end confdefs.h. */
9878 /* Override any gcc2 internal prototype to avoid an error. */
9879 #ifdef __cplusplus
9880 extern "C"
9881 #endif
9882 /* We use char because int might match the return type of a gcc2
9883 builtin and then its argument prototype would still apply. */
9884 char FT_Init_FreeType ();
9886 main ()
9888 FT_Init_FreeType ();
9890 return 0;
9892 _ACEOF
9893 rm -f conftest.$ac_objext conftest$ac_exeext
9894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9895 (eval $ac_link) 2>conftest.er1
9896 ac_status=$?
9897 grep -v '^ *+' conftest.er1 >conftest.err
9898 rm -f conftest.er1
9899 cat conftest.err >&5
9900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9901 (exit $ac_status); } &&
9902 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9904 (eval $ac_try) 2>&5
9905 ac_status=$?
9906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9907 (exit $ac_status); }; } &&
9908 { ac_try='test -s conftest$ac_exeext'
9909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9910 (eval $ac_try) 2>&5
9911 ac_status=$?
9912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9913 (exit $ac_status); }; }; then
9914 ac_cv_lib_freetype_FT_Init_FreeType=yes
9915 else
9916 echo "$as_me: failed program was:" >&5
9917 sed 's/^/| /' conftest.$ac_ext >&5
9919 ac_cv_lib_freetype_FT_Init_FreeType=no
9921 rm -f conftest.err conftest.$ac_objext \
9922 conftest$ac_exeext conftest.$ac_ext
9923 LIBS=$ac_check_lib_save_LIBS
9925 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
9926 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
9927 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
9928 ft_lib=yes
9929 else
9930 ft_lib=no
9933 if test "$ft_lib" = "no"
9934 then
9935 FREETYPELIBS=""
9936 FREETYPEINCL=""
9937 wine_cv_msg_freetype=no
9938 else
9939 # Extract the first word of "freetype-config", so it can be a program name with args.
9940 set dummy freetype-config; ac_word=$2
9941 echo "$as_me:$LINENO: checking for $ac_word" >&5
9942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9943 if test "${ac_cv_prog_ft_devel+set}" = set; then
9944 echo $ECHO_N "(cached) $ECHO_C" >&6
9945 else
9946 if test -n "$ft_devel"; then
9947 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
9948 else
9949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9950 for as_dir in $PATH
9952 IFS=$as_save_IFS
9953 test -z "$as_dir" && as_dir=.
9954 for ac_exec_ext in '' $ac_executable_extensions; do
9955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9956 ac_cv_prog_ft_devel="freetype-config"
9957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9958 break 2
9960 done
9961 done
9963 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
9966 ft_devel=$ac_cv_prog_ft_devel
9967 if test -n "$ft_devel"; then
9968 echo "$as_me:$LINENO: result: $ft_devel" >&5
9969 echo "${ECHO_T}$ft_devel" >&6
9970 else
9971 echo "$as_me:$LINENO: result: no" >&5
9972 echo "${ECHO_T}no" >&6
9975 if test "$ft_devel" = "no"
9976 then
9977 # Extract the first word of "freetype2-config", so it can be a program name with args.
9978 set dummy freetype2-config; ac_word=$2
9979 echo "$as_me:$LINENO: checking for $ac_word" >&5
9980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9981 if test "${ac_cv_prog_ft_devel2+set}" = set; then
9982 echo $ECHO_N "(cached) $ECHO_C" >&6
9983 else
9984 if test -n "$ft_devel2"; then
9985 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
9986 else
9987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9988 for as_dir in $PATH
9990 IFS=$as_save_IFS
9991 test -z "$as_dir" && as_dir=.
9992 for ac_exec_ext in '' $ac_executable_extensions; do
9993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9994 ac_cv_prog_ft_devel2="freetype2-config"
9995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9996 break 2
9998 done
9999 done
10001 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10004 ft_devel2=$ac_cv_prog_ft_devel2
10005 if test -n "$ft_devel2"; then
10006 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10007 echo "${ECHO_T}$ft_devel2" >&6
10008 else
10009 echo "$as_me:$LINENO: result: no" >&5
10010 echo "${ECHO_T}no" >&6
10013 if test "$ft_devel2" = "freetype2-config"
10014 then
10015 ft_devel=$ft_devel2
10018 if test "$ft_devel" = "no"
10019 then
10020 FREETYPELIBS=""
10021 FREETYPEINCL=""
10022 wine_cv_msg_freetype=yes
10023 else
10024 FREETYPELIBS=`$ft_devel --libs`
10025 FREETYPEINCL=`$ft_devel --cflags`
10026 ac_save_CPPFLAGS="$CPPFLAGS"
10027 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
10038 for ac_header in ft2build.h \
10039 freetype/freetype.h \
10040 freetype/ftglyph.h \
10041 freetype/tttables.h \
10042 freetype/ftnames.h \
10043 freetype/ftsnames.h \
10044 freetype/ttnameid.h \
10045 freetype/ftoutln.h \
10046 freetype/ftwinfnt.h \
10047 freetype/internal/sfnt.h
10049 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10050 echo "$as_me:$LINENO: checking for $ac_header" >&5
10051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10053 echo $ECHO_N "(cached) $ECHO_C" >&6
10054 else
10055 cat >conftest.$ac_ext <<_ACEOF
10056 /* confdefs.h. */
10057 _ACEOF
10058 cat confdefs.h >>conftest.$ac_ext
10059 cat >>conftest.$ac_ext <<_ACEOF
10060 /* end confdefs.h. */
10061 #if HAVE_FT2BUILD_H
10062 #include <ft2build.h>
10063 #endif
10065 #include <$ac_header>
10066 _ACEOF
10067 rm -f conftest.$ac_objext
10068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10069 (eval $ac_compile) 2>conftest.er1
10070 ac_status=$?
10071 grep -v '^ *+' conftest.er1 >conftest.err
10072 rm -f conftest.er1
10073 cat conftest.err >&5
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); } &&
10076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10078 (eval $ac_try) 2>&5
10079 ac_status=$?
10080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10081 (exit $ac_status); }; } &&
10082 { ac_try='test -s conftest.$ac_objext'
10083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10084 (eval $ac_try) 2>&5
10085 ac_status=$?
10086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10087 (exit $ac_status); }; }; then
10088 eval "$as_ac_Header=yes"
10089 else
10090 echo "$as_me: failed program was:" >&5
10091 sed 's/^/| /' conftest.$ac_ext >&5
10093 eval "$as_ac_Header=no"
10095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10099 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10100 cat >>confdefs.h <<_ACEOF
10101 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10102 _ACEOF
10106 done
10108 cat >conftest.$ac_ext <<_ACEOF
10109 /* confdefs.h. */
10110 _ACEOF
10111 cat confdefs.h >>conftest.$ac_ext
10112 cat >>conftest.$ac_ext <<_ACEOF
10113 /* end confdefs.h. */
10114 #include <ft2build.h>
10115 #include <freetype/fttrigon.h>
10116 _ACEOF
10117 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10118 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10119 ac_status=$?
10120 grep -v '^ *+' conftest.er1 >conftest.err
10121 rm -f conftest.er1
10122 cat conftest.err >&5
10123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10124 (exit $ac_status); } >/dev/null; then
10125 if test -s conftest.err; then
10126 ac_cpp_err=$ac_c_preproc_warn_flag
10127 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10128 else
10129 ac_cpp_err=
10131 else
10132 ac_cpp_err=yes
10134 if test -z "$ac_cpp_err"; then
10136 cat >>confdefs.h <<\_ACEOF
10137 #define HAVE_FREETYPE_FTTRIGON_H 1
10138 _ACEOF
10140 wine_cv_fttrigon=yes
10141 else
10142 echo "$as_me: failed program was:" >&5
10143 sed 's/^/| /' conftest.$ac_ext >&5
10145 wine_cv_fttrigon=no
10147 rm -f conftest.err conftest.$ac_ext
10148 CPPFLAGS="$ac_save_CPPFLAGS"
10149 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10150 then
10152 cat >>confdefs.h <<\_ACEOF
10153 #define HAVE_FREETYPE 1
10154 _ACEOF
10156 wine_cv_msg_freetype=no
10157 else
10158 FREETYPELIBS=""
10159 FREETYPEINCL=""
10160 wine_cv_msg_freetype=yes
10167 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
10168 then
10169 FONTSSUBDIRS="fonts"
10173 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10174 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10175 if test "${ac_cv_c_ppdev+set}" = set; then
10176 echo $ECHO_N "(cached) $ECHO_C" >&6
10177 else
10178 cat >conftest.$ac_ext <<_ACEOF
10179 /* confdefs.h. */
10180 _ACEOF
10181 cat confdefs.h >>conftest.$ac_ext
10182 cat >>conftest.$ac_ext <<_ACEOF
10183 /* end confdefs.h. */
10184 #include <linux/ppdev.h>
10186 main ()
10188 ioctl (1,PPCLAIM,0)
10190 return 0;
10192 _ACEOF
10193 rm -f conftest.$ac_objext
10194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10195 (eval $ac_compile) 2>conftest.er1
10196 ac_status=$?
10197 grep -v '^ *+' conftest.er1 >conftest.err
10198 rm -f conftest.er1
10199 cat conftest.err >&5
10200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); } &&
10202 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10204 (eval $ac_try) 2>&5
10205 ac_status=$?
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); }; } &&
10208 { ac_try='test -s conftest.$ac_objext'
10209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10210 (eval $ac_try) 2>&5
10211 ac_status=$?
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); }; }; then
10214 ac_cv_c_ppdev="yes"
10215 else
10216 echo "$as_me: failed program was:" >&5
10217 sed 's/^/| /' conftest.$ac_ext >&5
10219 ac_cv_c_ppdev="no"
10221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10224 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10225 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10226 if test "$ac_cv_c_ppdev" = "yes"
10227 then
10229 cat >>confdefs.h <<\_ACEOF
10230 #define HAVE_PPDEV 1
10231 _ACEOF
10235 echo "$as_me:$LINENO: checking for va_copy" >&5
10236 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10237 if test "${ac_cv_c_va_copy+set}" = set; then
10238 echo $ECHO_N "(cached) $ECHO_C" >&6
10239 else
10240 cat >conftest.$ac_ext <<_ACEOF
10241 /* confdefs.h. */
10242 _ACEOF
10243 cat confdefs.h >>conftest.$ac_ext
10244 cat >>conftest.$ac_ext <<_ACEOF
10245 /* end confdefs.h. */
10246 #include <stdarg.h>
10248 main ()
10250 va_list ap1, ap2;
10251 va_copy(ap1,ap2);
10254 return 0;
10256 _ACEOF
10257 rm -f conftest.$ac_objext conftest$ac_exeext
10258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10259 (eval $ac_link) 2>conftest.er1
10260 ac_status=$?
10261 grep -v '^ *+' conftest.er1 >conftest.err
10262 rm -f conftest.er1
10263 cat conftest.err >&5
10264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265 (exit $ac_status); } &&
10266 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10268 (eval $ac_try) 2>&5
10269 ac_status=$?
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); }; } &&
10272 { ac_try='test -s conftest$ac_exeext'
10273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10274 (eval $ac_try) 2>&5
10275 ac_status=$?
10276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10277 (exit $ac_status); }; }; then
10278 ac_cv_c_va_copy="yes"
10279 else
10280 echo "$as_me: failed program was:" >&5
10281 sed 's/^/| /' conftest.$ac_ext >&5
10283 ac_cv_c_va_copy="no"
10285 rm -f conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10289 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10290 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10291 if test "$ac_cv_c_va_copy" = "yes"
10292 then
10294 cat >>confdefs.h <<\_ACEOF
10295 #define HAVE_VA_COPY 1
10296 _ACEOF
10299 echo "$as_me:$LINENO: checking for __va_copy" >&5
10300 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10301 if test "${ac_cv_c___va_copy+set}" = set; then
10302 echo $ECHO_N "(cached) $ECHO_C" >&6
10303 else
10304 cat >conftest.$ac_ext <<_ACEOF
10305 /* confdefs.h. */
10306 _ACEOF
10307 cat confdefs.h >>conftest.$ac_ext
10308 cat >>conftest.$ac_ext <<_ACEOF
10309 /* end confdefs.h. */
10310 #include <stdarg.h>
10312 main ()
10314 va_list ap1, ap2;
10315 __va_copy(ap1,ap2);
10318 return 0;
10320 _ACEOF
10321 rm -f conftest.$ac_objext conftest$ac_exeext
10322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10323 (eval $ac_link) 2>conftest.er1
10324 ac_status=$?
10325 grep -v '^ *+' conftest.er1 >conftest.err
10326 rm -f conftest.er1
10327 cat conftest.err >&5
10328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329 (exit $ac_status); } &&
10330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10332 (eval $ac_try) 2>&5
10333 ac_status=$?
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); }; } &&
10336 { ac_try='test -s conftest$ac_exeext'
10337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10338 (eval $ac_try) 2>&5
10339 ac_status=$?
10340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10341 (exit $ac_status); }; }; then
10342 ac_cv_c___va_copy="yes"
10343 else
10344 echo "$as_me: failed program was:" >&5
10345 sed 's/^/| /' conftest.$ac_ext >&5
10347 ac_cv_c___va_copy="no"
10349 rm -f conftest.err conftest.$ac_objext \
10350 conftest$ac_exeext conftest.$ac_ext
10353 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10354 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10355 if test "$ac_cv_c___va_copy" = "yes"
10356 then
10358 cat >>confdefs.h <<\_ACEOF
10359 #define HAVE___VA_COPY 1
10360 _ACEOF
10364 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10365 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10366 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10367 echo $ECHO_N "(cached) $ECHO_C" >&6
10368 else
10369 cat >conftest.$ac_ext <<_ACEOF
10370 /* confdefs.h. */
10371 _ACEOF
10372 cat confdefs.h >>conftest.$ac_ext
10373 cat >>conftest.$ac_ext <<_ACEOF
10374 /* end confdefs.h. */
10375 #include <setjmp.h>
10377 main ()
10379 sigjmp_buf buf;
10380 sigsetjmp( buf, 1 );
10381 siglongjmp( buf, 1 );
10383 return 0;
10385 _ACEOF
10386 rm -f conftest.$ac_objext conftest$ac_exeext
10387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10388 (eval $ac_link) 2>conftest.er1
10389 ac_status=$?
10390 grep -v '^ *+' conftest.er1 >conftest.err
10391 rm -f conftest.er1
10392 cat conftest.err >&5
10393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394 (exit $ac_status); } &&
10395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10397 (eval $ac_try) 2>&5
10398 ac_status=$?
10399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400 (exit $ac_status); }; } &&
10401 { ac_try='test -s conftest$ac_exeext'
10402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10403 (eval $ac_try) 2>&5
10404 ac_status=$?
10405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10406 (exit $ac_status); }; }; then
10407 ac_cv_c_sigsetjmp="yes"
10408 else
10409 echo "$as_me: failed program was:" >&5
10410 sed 's/^/| /' conftest.$ac_ext >&5
10412 ac_cv_c_sigsetjmp="no"
10414 rm -f conftest.err conftest.$ac_objext \
10415 conftest$ac_exeext conftest.$ac_ext
10418 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10419 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10420 if test "$ac_cv_c_sigsetjmp" = "yes"
10421 then
10423 cat >>confdefs.h <<\_ACEOF
10424 #define HAVE_SIGSETJMP 1
10425 _ACEOF
10429 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10430 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10431 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10432 echo $ECHO_N "(cached) $ECHO_C" >&6
10433 else
10434 cat >conftest.$ac_ext <<_ACEOF
10435 /* confdefs.h. */
10436 _ACEOF
10437 cat confdefs.h >>conftest.$ac_ext
10438 cat >>conftest.$ac_ext <<_ACEOF
10439 /* end confdefs.h. */
10440 #define _GNU_SOURCE
10441 #include <pthread.h>
10444 main ()
10446 if ((pthread_rwlock_t *) 0)
10447 return 0;
10448 if (sizeof (pthread_rwlock_t))
10449 return 0;
10451 return 0;
10453 _ACEOF
10454 rm -f conftest.$ac_objext
10455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10456 (eval $ac_compile) 2>conftest.er1
10457 ac_status=$?
10458 grep -v '^ *+' conftest.er1 >conftest.err
10459 rm -f conftest.er1
10460 cat conftest.err >&5
10461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10462 (exit $ac_status); } &&
10463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10465 (eval $ac_try) 2>&5
10466 ac_status=$?
10467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10468 (exit $ac_status); }; } &&
10469 { ac_try='test -s conftest.$ac_objext'
10470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10471 (eval $ac_try) 2>&5
10472 ac_status=$?
10473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10474 (exit $ac_status); }; }; then
10475 ac_cv_type_pthread_rwlock_t=yes
10476 else
10477 echo "$as_me: failed program was:" >&5
10478 sed 's/^/| /' conftest.$ac_ext >&5
10480 ac_cv_type_pthread_rwlock_t=no
10482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10484 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10485 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10486 if test $ac_cv_type_pthread_rwlock_t = yes; then
10488 cat >>confdefs.h <<_ACEOF
10489 #define HAVE_PTHREAD_RWLOCK_T 1
10490 _ACEOF
10494 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
10495 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
10496 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
10497 echo $ECHO_N "(cached) $ECHO_C" >&6
10498 else
10499 cat >conftest.$ac_ext <<_ACEOF
10500 /* confdefs.h. */
10501 _ACEOF
10502 cat confdefs.h >>conftest.$ac_ext
10503 cat >>conftest.$ac_ext <<_ACEOF
10504 /* end confdefs.h. */
10505 #define _GNU_SOURCE
10506 #include <pthread.h>
10509 main ()
10511 if ((pthread_rwlockattr_t *) 0)
10512 return 0;
10513 if (sizeof (pthread_rwlockattr_t))
10514 return 0;
10516 return 0;
10518 _ACEOF
10519 rm -f conftest.$ac_objext
10520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10521 (eval $ac_compile) 2>conftest.er1
10522 ac_status=$?
10523 grep -v '^ *+' conftest.er1 >conftest.err
10524 rm -f conftest.er1
10525 cat conftest.err >&5
10526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10527 (exit $ac_status); } &&
10528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10530 (eval $ac_try) 2>&5
10531 ac_status=$?
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); }; } &&
10534 { ac_try='test -s conftest.$ac_objext'
10535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10536 (eval $ac_try) 2>&5
10537 ac_status=$?
10538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10539 (exit $ac_status); }; }; then
10540 ac_cv_type_pthread_rwlockattr_t=yes
10541 else
10542 echo "$as_me: failed program was:" >&5
10543 sed 's/^/| /' conftest.$ac_ext >&5
10545 ac_cv_type_pthread_rwlockattr_t=no
10547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10549 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
10550 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
10551 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
10553 cat >>confdefs.h <<_ACEOF
10554 #define HAVE_PTHREAD_RWLOCKATTR_T 1
10555 _ACEOF
10561 ac_save_LIBS="$LIBS"
10562 LIBS="$LIBS $LIBPTHREAD"
10566 for ac_func in \
10567 pthread_getattr_np \
10568 pthread_get_stackaddr_np \
10569 pthread_get_stacksize_np \
10572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10573 echo "$as_me:$LINENO: checking for $ac_func" >&5
10574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10575 if eval "test \"\${$as_ac_var+set}\" = set"; then
10576 echo $ECHO_N "(cached) $ECHO_C" >&6
10577 else
10578 cat >conftest.$ac_ext <<_ACEOF
10579 /* confdefs.h. */
10580 _ACEOF
10581 cat confdefs.h >>conftest.$ac_ext
10582 cat >>conftest.$ac_ext <<_ACEOF
10583 /* end confdefs.h. */
10584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10586 #define $ac_func innocuous_$ac_func
10588 /* System header to define __stub macros and hopefully few prototypes,
10589 which can conflict with char $ac_func (); below.
10590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10591 <limits.h> exists even on freestanding compilers. */
10593 #ifdef __STDC__
10594 # include <limits.h>
10595 #else
10596 # include <assert.h>
10597 #endif
10599 #undef $ac_func
10601 /* Override any gcc2 internal prototype to avoid an error. */
10602 #ifdef __cplusplus
10603 extern "C"
10605 #endif
10606 /* We use char because int might match the return type of a gcc2
10607 builtin and then its argument prototype would still apply. */
10608 char $ac_func ();
10609 /* The GNU C library defines this for functions which it implements
10610 to always fail with ENOSYS. Some functions are actually named
10611 something starting with __ and the normal name is an alias. */
10612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10613 choke me
10614 #else
10615 char (*f) () = $ac_func;
10616 #endif
10617 #ifdef __cplusplus
10619 #endif
10622 main ()
10624 return f != $ac_func;
10626 return 0;
10628 _ACEOF
10629 rm -f conftest.$ac_objext conftest$ac_exeext
10630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10631 (eval $ac_link) 2>conftest.er1
10632 ac_status=$?
10633 grep -v '^ *+' conftest.er1 >conftest.err
10634 rm -f conftest.er1
10635 cat conftest.err >&5
10636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10637 (exit $ac_status); } &&
10638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10640 (eval $ac_try) 2>&5
10641 ac_status=$?
10642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10643 (exit $ac_status); }; } &&
10644 { ac_try='test -s conftest$ac_exeext'
10645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10646 (eval $ac_try) 2>&5
10647 ac_status=$?
10648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10649 (exit $ac_status); }; }; then
10650 eval "$as_ac_var=yes"
10651 else
10652 echo "$as_me: failed program was:" >&5
10653 sed 's/^/| /' conftest.$ac_ext >&5
10655 eval "$as_ac_var=no"
10657 rm -f conftest.err conftest.$ac_objext \
10658 conftest$ac_exeext conftest.$ac_ext
10660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10662 if test `eval echo '${'$as_ac_var'}'` = yes; then
10663 cat >>confdefs.h <<_ACEOF
10664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10665 _ACEOF
10668 done
10670 LIBS="$ac_save_LIBS"
10675 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
10677 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10679 echo "$as_me:$LINENO: checking for $ac_header" >&5
10680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10681 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10682 echo $ECHO_N "(cached) $ECHO_C" >&6
10684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10685 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10686 else
10687 # Is the header compilable?
10688 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10689 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10690 cat >conftest.$ac_ext <<_ACEOF
10691 /* confdefs.h. */
10692 _ACEOF
10693 cat confdefs.h >>conftest.$ac_ext
10694 cat >>conftest.$ac_ext <<_ACEOF
10695 /* end confdefs.h. */
10696 $ac_includes_default
10697 #include <$ac_header>
10698 _ACEOF
10699 rm -f conftest.$ac_objext
10700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10701 (eval $ac_compile) 2>conftest.er1
10702 ac_status=$?
10703 grep -v '^ *+' conftest.er1 >conftest.err
10704 rm -f conftest.er1
10705 cat conftest.err >&5
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); } &&
10708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10710 (eval $ac_try) 2>&5
10711 ac_status=$?
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); }; } &&
10714 { ac_try='test -s conftest.$ac_objext'
10715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10716 (eval $ac_try) 2>&5
10717 ac_status=$?
10718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719 (exit $ac_status); }; }; then
10720 ac_header_compiler=yes
10721 else
10722 echo "$as_me: failed program was:" >&5
10723 sed 's/^/| /' conftest.$ac_ext >&5
10725 ac_header_compiler=no
10727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10728 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10729 echo "${ECHO_T}$ac_header_compiler" >&6
10731 # Is the header present?
10732 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10733 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10734 cat >conftest.$ac_ext <<_ACEOF
10735 /* confdefs.h. */
10736 _ACEOF
10737 cat confdefs.h >>conftest.$ac_ext
10738 cat >>conftest.$ac_ext <<_ACEOF
10739 /* end confdefs.h. */
10740 #include <$ac_header>
10741 _ACEOF
10742 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10743 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10744 ac_status=$?
10745 grep -v '^ *+' conftest.er1 >conftest.err
10746 rm -f conftest.er1
10747 cat conftest.err >&5
10748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10749 (exit $ac_status); } >/dev/null; then
10750 if test -s conftest.err; then
10751 ac_cpp_err=$ac_c_preproc_warn_flag
10752 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10753 else
10754 ac_cpp_err=
10756 else
10757 ac_cpp_err=yes
10759 if test -z "$ac_cpp_err"; then
10760 ac_header_preproc=yes
10761 else
10762 echo "$as_me: failed program was:" >&5
10763 sed 's/^/| /' conftest.$ac_ext >&5
10765 ac_header_preproc=no
10767 rm -f conftest.err conftest.$ac_ext
10768 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10769 echo "${ECHO_T}$ac_header_preproc" >&6
10771 # So? What about this header?
10772 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10773 yes:no: )
10774 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10775 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10776 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10777 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10778 ac_header_preproc=yes
10780 no:yes:* )
10781 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10782 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10783 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10784 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10785 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10786 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10787 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10788 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10789 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10790 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10791 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10792 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10794 cat <<\_ASBOX
10795 ## ------------------------------------ ##
10796 ## Report this to wine-devel@winehq.org ##
10797 ## ------------------------------------ ##
10798 _ASBOX
10800 sed "s/^/$as_me: WARNING: /" >&2
10802 esac
10803 echo "$as_me:$LINENO: checking for $ac_header" >&5
10804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10806 echo $ECHO_N "(cached) $ECHO_C" >&6
10807 else
10808 eval "$as_ac_Header=\$ac_header_preproc"
10810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10811 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10815 cat >>confdefs.h <<_ACEOF
10816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10817 _ACEOF
10818 break
10821 done
10824 echo "$as_me:$LINENO: checking for Open Sound System" >&5
10825 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
10826 if test "${ac_cv_c_opensoundsystem+set}" = set; then
10827 echo $ECHO_N "(cached) $ECHO_C" >&6
10828 else
10829 cat >conftest.$ac_ext <<_ACEOF
10830 /* confdefs.h. */
10831 _ACEOF
10832 cat confdefs.h >>conftest.$ac_ext
10833 cat >>conftest.$ac_ext <<_ACEOF
10834 /* end confdefs.h. */
10836 #if defined(HAVE_SYS_SOUNDCARD_H)
10837 #include <sys/soundcard.h>
10838 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10839 #include <machine/soundcard.h>
10840 #elif defined(HAVE_SOUNDCARD_H)
10841 #include <soundcard.h>
10842 #endif
10845 main ()
10849 /* check for one of the Open Sound System specific SNDCTL_ defines */
10850 #if !defined(SNDCTL_DSP_STEREO)
10851 #error No open sound system
10852 #endif
10855 return 0;
10857 _ACEOF
10858 rm -f conftest.$ac_objext
10859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10860 (eval $ac_compile) 2>conftest.er1
10861 ac_status=$?
10862 grep -v '^ *+' conftest.er1 >conftest.err
10863 rm -f conftest.er1
10864 cat conftest.err >&5
10865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10866 (exit $ac_status); } &&
10867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10869 (eval $ac_try) 2>&5
10870 ac_status=$?
10871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10872 (exit $ac_status); }; } &&
10873 { ac_try='test -s conftest.$ac_objext'
10874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10875 (eval $ac_try) 2>&5
10876 ac_status=$?
10877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10878 (exit $ac_status); }; }; then
10879 ac_cv_c_opensoundsystem="yes"
10880 else
10881 echo "$as_me: failed program was:" >&5
10882 sed 's/^/| /' conftest.$ac_ext >&5
10884 ac_cv_c_opensoundsystem="no"
10886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10888 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
10889 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
10891 if test "$ac_cv_c_opensoundsystem" = "yes"
10892 then
10894 cat >>confdefs.h <<\_ACEOF
10895 #define HAVE_OSS 1
10896 _ACEOF
10900 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
10901 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
10902 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
10903 echo $ECHO_N "(cached) $ECHO_C" >&6
10904 else
10905 cat >conftest.$ac_ext <<_ACEOF
10906 /* confdefs.h. */
10907 _ACEOF
10908 cat confdefs.h >>conftest.$ac_ext
10909 cat >>conftest.$ac_ext <<_ACEOF
10910 /* end confdefs.h. */
10912 #if defined(HAVE_SYS_SOUNDCARD_H)
10913 #include <sys/soundcard.h>
10914 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10915 #include <machine/soundcard.h>
10916 #elif defined(HAVE_SOUNDCARD_H)
10917 #include <soundcard.h>
10918 #endif
10921 main ()
10925 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
10926 #if !defined(SNDCTL_SEQ_SYNC)
10927 #error No open sound system MIDI interface
10928 #endif
10931 return 0;
10933 _ACEOF
10934 rm -f conftest.$ac_objext
10935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10936 (eval $ac_compile) 2>conftest.er1
10937 ac_status=$?
10938 grep -v '^ *+' conftest.er1 >conftest.err
10939 rm -f conftest.er1
10940 cat conftest.err >&5
10941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10942 (exit $ac_status); } &&
10943 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10945 (eval $ac_try) 2>&5
10946 ac_status=$?
10947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948 (exit $ac_status); }; } &&
10949 { ac_try='test -s conftest.$ac_objext'
10950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10951 (eval $ac_try) 2>&5
10952 ac_status=$?
10953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 (exit $ac_status); }; }; then
10955 ac_cv_c_opensoundsystem_midi="yes"
10956 else
10957 echo "$as_me: failed program was:" >&5
10958 sed 's/^/| /' conftest.$ac_ext >&5
10960 ac_cv_c_opensoundsystem_midi="no"
10962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10964 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
10965 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
10967 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
10968 then
10970 cat >>confdefs.h <<\_ACEOF
10971 #define HAVE_OSS_MIDI 1
10972 _ACEOF
10976 # Extract the first word of "artsc-config", so it can be a program name with args.
10977 set dummy artsc-config; ac_word=$2
10978 echo "$as_me:$LINENO: checking for $ac_word" >&5
10979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10980 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
10981 echo $ECHO_N "(cached) $ECHO_C" >&6
10982 else
10983 case $ARTSCCONFIG in
10984 [\\/]* | ?:[\\/]*)
10985 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
10988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10989 for as_dir in $PATH
10991 IFS=$as_save_IFS
10992 test -z "$as_dir" && as_dir=.
10993 for ac_exec_ext in '' $ac_executable_extensions; do
10994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10995 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
10996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10997 break 2
10999 done
11000 done
11003 esac
11005 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
11007 if test -n "$ARTSCCONFIG"; then
11008 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11009 echo "${ECHO_T}$ARTSCCONFIG" >&6
11010 else
11011 echo "$as_me:$LINENO: result: no" >&5
11012 echo "${ECHO_T}no" >&6
11015 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
11016 then
11017 ARTSC_CFLAGS=""
11018 for i in `$ARTSCCONFIG --cflags`
11020 case "$i" in
11021 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
11022 esac
11023 done
11024 ARTSC_LIBS=`$ARTSCCONFIG --libs`
11025 save_CFLAGS="$CFLAGS"
11026 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
11027 echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
11028 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6
11029 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
11030 echo $ECHO_N "(cached) $ECHO_C" >&6
11031 else
11032 ac_check_lib_save_LIBS=$LIBS
11033 LIBS="-lartsc $LIBS"
11034 cat >conftest.$ac_ext <<_ACEOF
11035 /* confdefs.h. */
11036 _ACEOF
11037 cat confdefs.h >>conftest.$ac_ext
11038 cat >>conftest.$ac_ext <<_ACEOF
11039 /* end confdefs.h. */
11041 /* Override any gcc2 internal prototype to avoid an error. */
11042 #ifdef __cplusplus
11043 extern "C"
11044 #endif
11045 /* We use char because int might match the return type of a gcc2
11046 builtin and then its argument prototype would still apply. */
11047 char arts_init ();
11049 main ()
11051 arts_init ();
11053 return 0;
11055 _ACEOF
11056 rm -f conftest.$ac_objext conftest$ac_exeext
11057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11058 (eval $ac_link) 2>conftest.er1
11059 ac_status=$?
11060 grep -v '^ *+' conftest.er1 >conftest.err
11061 rm -f conftest.er1
11062 cat conftest.err >&5
11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); } &&
11065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11067 (eval $ac_try) 2>&5
11068 ac_status=$?
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); }; } &&
11071 { ac_try='test -s conftest$ac_exeext'
11072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11073 (eval $ac_try) 2>&5
11074 ac_status=$?
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); }; }; then
11077 ac_cv_lib_artsc_arts_init=yes
11078 else
11079 echo "$as_me: failed program was:" >&5
11080 sed 's/^/| /' conftest.$ac_ext >&5
11082 ac_cv_lib_artsc_arts_init=no
11084 rm -f conftest.err conftest.$ac_objext \
11085 conftest$ac_exeext conftest.$ac_ext
11086 LIBS=$ac_check_lib_save_LIBS
11088 echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
11089 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6
11090 if test $ac_cv_lib_artsc_arts_init = yes; then
11091 cat >conftest.$ac_ext <<_ACEOF
11092 /* confdefs.h. */
11093 _ACEOF
11094 cat confdefs.h >>conftest.$ac_ext
11095 cat >>conftest.$ac_ext <<_ACEOF
11096 /* end confdefs.h. */
11097 #include <artsc.h>
11099 main ()
11101 arts_stream_t stream;
11103 return 0;
11105 _ACEOF
11106 rm -f conftest.$ac_objext
11107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11108 (eval $ac_compile) 2>conftest.er1
11109 ac_status=$?
11110 grep -v '^ *+' conftest.er1 >conftest.err
11111 rm -f conftest.er1
11112 cat conftest.err >&5
11113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11114 (exit $ac_status); } &&
11115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11117 (eval $ac_try) 2>&5
11118 ac_status=$?
11119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120 (exit $ac_status); }; } &&
11121 { ac_try='test -s conftest.$ac_objext'
11122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11123 (eval $ac_try) 2>&5
11124 ac_status=$?
11125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11126 (exit $ac_status); }; }; then
11127 ARTSLIBS=$ARTSC_LIBS
11129 ARTSINCL=$ARTSC_CFLAGS
11132 cat >>confdefs.h <<\_ACEOF
11133 #define HAVE_ARTS 1
11134 _ACEOF
11136 else
11137 echo "$as_me: failed program was:" >&5
11138 sed 's/^/| /' conftest.$ac_ext >&5
11141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11144 CFLAGS="$save_CFLAGS"
11147 ALSALIBS=""
11151 for ac_header in alsa/asoundlib.h sys/asoundlib.h
11153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11155 echo "$as_me:$LINENO: checking for $ac_header" >&5
11156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11158 echo $ECHO_N "(cached) $ECHO_C" >&6
11160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11162 else
11163 # Is the header compilable?
11164 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11165 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11166 cat >conftest.$ac_ext <<_ACEOF
11167 /* confdefs.h. */
11168 _ACEOF
11169 cat confdefs.h >>conftest.$ac_ext
11170 cat >>conftest.$ac_ext <<_ACEOF
11171 /* end confdefs.h. */
11172 $ac_includes_default
11173 #include <$ac_header>
11174 _ACEOF
11175 rm -f conftest.$ac_objext
11176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11177 (eval $ac_compile) 2>conftest.er1
11178 ac_status=$?
11179 grep -v '^ *+' conftest.er1 >conftest.err
11180 rm -f conftest.er1
11181 cat conftest.err >&5
11182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11183 (exit $ac_status); } &&
11184 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11186 (eval $ac_try) 2>&5
11187 ac_status=$?
11188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11189 (exit $ac_status); }; } &&
11190 { ac_try='test -s conftest.$ac_objext'
11191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11192 (eval $ac_try) 2>&5
11193 ac_status=$?
11194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11195 (exit $ac_status); }; }; then
11196 ac_header_compiler=yes
11197 else
11198 echo "$as_me: failed program was:" >&5
11199 sed 's/^/| /' conftest.$ac_ext >&5
11201 ac_header_compiler=no
11203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11204 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11205 echo "${ECHO_T}$ac_header_compiler" >&6
11207 # Is the header present?
11208 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11209 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11210 cat >conftest.$ac_ext <<_ACEOF
11211 /* confdefs.h. */
11212 _ACEOF
11213 cat confdefs.h >>conftest.$ac_ext
11214 cat >>conftest.$ac_ext <<_ACEOF
11215 /* end confdefs.h. */
11216 #include <$ac_header>
11217 _ACEOF
11218 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11219 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11220 ac_status=$?
11221 grep -v '^ *+' conftest.er1 >conftest.err
11222 rm -f conftest.er1
11223 cat conftest.err >&5
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); } >/dev/null; then
11226 if test -s conftest.err; then
11227 ac_cpp_err=$ac_c_preproc_warn_flag
11228 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11229 else
11230 ac_cpp_err=
11232 else
11233 ac_cpp_err=yes
11235 if test -z "$ac_cpp_err"; then
11236 ac_header_preproc=yes
11237 else
11238 echo "$as_me: failed program was:" >&5
11239 sed 's/^/| /' conftest.$ac_ext >&5
11241 ac_header_preproc=no
11243 rm -f conftest.err conftest.$ac_ext
11244 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11245 echo "${ECHO_T}$ac_header_preproc" >&6
11247 # So? What about this header?
11248 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11249 yes:no: )
11250 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11251 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11253 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11254 ac_header_preproc=yes
11256 no:yes:* )
11257 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11258 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11259 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11260 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11261 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11262 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11263 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11264 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11266 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11267 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11268 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11270 cat <<\_ASBOX
11271 ## ------------------------------------ ##
11272 ## Report this to wine-devel@winehq.org ##
11273 ## ------------------------------------ ##
11274 _ASBOX
11276 sed "s/^/$as_me: WARNING: /" >&2
11278 esac
11279 echo "$as_me:$LINENO: checking for $ac_header" >&5
11280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11282 echo $ECHO_N "(cached) $ECHO_C" >&6
11283 else
11284 eval "$as_ac_Header=\$ac_header_preproc"
11286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11291 cat >>confdefs.h <<_ACEOF
11292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11293 _ACEOF
11294 break
11297 done
11299 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11300 then
11301 echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
11302 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6
11303 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
11304 echo $ECHO_N "(cached) $ECHO_C" >&6
11305 else
11306 ac_check_lib_save_LIBS=$LIBS
11307 LIBS="-lasound $LIBS"
11308 cat >conftest.$ac_ext <<_ACEOF
11309 /* confdefs.h. */
11310 _ACEOF
11311 cat confdefs.h >>conftest.$ac_ext
11312 cat >>conftest.$ac_ext <<_ACEOF
11313 /* end confdefs.h. */
11315 /* Override any gcc2 internal prototype to avoid an error. */
11316 #ifdef __cplusplus
11317 extern "C"
11318 #endif
11319 /* We use char because int might match the return type of a gcc2
11320 builtin and then its argument prototype would still apply. */
11321 char snd_pcm_hw_params_get_access ();
11323 main ()
11325 snd_pcm_hw_params_get_access ();
11327 return 0;
11329 _ACEOF
11330 rm -f conftest.$ac_objext conftest$ac_exeext
11331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11332 (eval $ac_link) 2>conftest.er1
11333 ac_status=$?
11334 grep -v '^ *+' conftest.er1 >conftest.err
11335 rm -f conftest.er1
11336 cat conftest.err >&5
11337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11338 (exit $ac_status); } &&
11339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11341 (eval $ac_try) 2>&5
11342 ac_status=$?
11343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11344 (exit $ac_status); }; } &&
11345 { ac_try='test -s conftest$ac_exeext'
11346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11347 (eval $ac_try) 2>&5
11348 ac_status=$?
11349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11350 (exit $ac_status); }; }; then
11351 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
11352 else
11353 echo "$as_me: failed program was:" >&5
11354 sed 's/^/| /' conftest.$ac_ext >&5
11356 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
11358 rm -f conftest.err conftest.$ac_objext \
11359 conftest$ac_exeext conftest.$ac_ext
11360 LIBS=$ac_check_lib_save_LIBS
11362 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
11363 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6
11364 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
11365 cat >conftest.$ac_ext <<_ACEOF
11366 /* confdefs.h. */
11367 _ACEOF
11368 cat confdefs.h >>conftest.$ac_ext
11369 cat >>conftest.$ac_ext <<_ACEOF
11370 /* end confdefs.h. */
11371 #ifdef HAVE_ALSA_ASOUNDLIB_H
11372 #include <alsa/asoundlib.h>
11373 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11374 #include <sys/asoundlib.h>
11375 #endif
11377 main ()
11379 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
11381 return 0;
11383 _ACEOF
11384 rm -f conftest.$ac_objext
11385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11386 (eval $ac_compile) 2>conftest.er1
11387 ac_status=$?
11388 grep -v '^ *+' conftest.er1 >conftest.err
11389 rm -f conftest.er1
11390 cat conftest.err >&5
11391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 (exit $ac_status); } &&
11393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11395 (eval $ac_try) 2>&5
11396 ac_status=$?
11397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 (exit $ac_status); }; } &&
11399 { ac_try='test -s conftest.$ac_objext'
11400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11401 (eval $ac_try) 2>&5
11402 ac_status=$?
11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404 (exit $ac_status); }; }; then
11406 cat >>confdefs.h <<\_ACEOF
11407 #define HAVE_ALSA 1
11408 _ACEOF
11410 ALSALIBS="-lasound"
11411 else
11412 echo "$as_me: failed program was:" >&5
11413 sed 's/^/| /' conftest.$ac_ext >&5
11416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11422 AUDIOIOLIBS=""
11425 for ac_header in libaudioio.h
11427 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11429 echo "$as_me:$LINENO: checking for $ac_header" >&5
11430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11432 echo $ECHO_N "(cached) $ECHO_C" >&6
11434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11436 else
11437 # Is the header compilable?
11438 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11439 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11440 cat >conftest.$ac_ext <<_ACEOF
11441 /* confdefs.h. */
11442 _ACEOF
11443 cat confdefs.h >>conftest.$ac_ext
11444 cat >>conftest.$ac_ext <<_ACEOF
11445 /* end confdefs.h. */
11446 $ac_includes_default
11447 #include <$ac_header>
11448 _ACEOF
11449 rm -f conftest.$ac_objext
11450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11451 (eval $ac_compile) 2>conftest.er1
11452 ac_status=$?
11453 grep -v '^ *+' conftest.er1 >conftest.err
11454 rm -f conftest.er1
11455 cat conftest.err >&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); } &&
11458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11460 (eval $ac_try) 2>&5
11461 ac_status=$?
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }; } &&
11464 { ac_try='test -s conftest.$ac_objext'
11465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11466 (eval $ac_try) 2>&5
11467 ac_status=$?
11468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11469 (exit $ac_status); }; }; then
11470 ac_header_compiler=yes
11471 else
11472 echo "$as_me: failed program was:" >&5
11473 sed 's/^/| /' conftest.$ac_ext >&5
11475 ac_header_compiler=no
11477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11478 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11479 echo "${ECHO_T}$ac_header_compiler" >&6
11481 # Is the header present?
11482 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11483 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11484 cat >conftest.$ac_ext <<_ACEOF
11485 /* confdefs.h. */
11486 _ACEOF
11487 cat confdefs.h >>conftest.$ac_ext
11488 cat >>conftest.$ac_ext <<_ACEOF
11489 /* end confdefs.h. */
11490 #include <$ac_header>
11491 _ACEOF
11492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11493 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11494 ac_status=$?
11495 grep -v '^ *+' conftest.er1 >conftest.err
11496 rm -f conftest.er1
11497 cat conftest.err >&5
11498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11499 (exit $ac_status); } >/dev/null; then
11500 if test -s conftest.err; then
11501 ac_cpp_err=$ac_c_preproc_warn_flag
11502 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11503 else
11504 ac_cpp_err=
11506 else
11507 ac_cpp_err=yes
11509 if test -z "$ac_cpp_err"; then
11510 ac_header_preproc=yes
11511 else
11512 echo "$as_me: failed program was:" >&5
11513 sed 's/^/| /' conftest.$ac_ext >&5
11515 ac_header_preproc=no
11517 rm -f conftest.err conftest.$ac_ext
11518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11519 echo "${ECHO_T}$ac_header_preproc" >&6
11521 # So? What about this header?
11522 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11523 yes:no: )
11524 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11525 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11527 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11528 ac_header_preproc=yes
11530 no:yes:* )
11531 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11532 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11533 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11534 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11535 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11536 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11537 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11538 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11540 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11541 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11542 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11544 cat <<\_ASBOX
11545 ## ------------------------------------ ##
11546 ## Report this to wine-devel@winehq.org ##
11547 ## ------------------------------------ ##
11548 _ASBOX
11550 sed "s/^/$as_me: WARNING: /" >&2
11552 esac
11553 echo "$as_me:$LINENO: checking for $ac_header" >&5
11554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11556 echo $ECHO_N "(cached) $ECHO_C" >&6
11557 else
11558 eval "$as_ac_Header=\$ac_header_preproc"
11560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11565 cat >>confdefs.h <<_ACEOF
11566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11567 _ACEOF
11568 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
11569 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
11570 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
11571 echo $ECHO_N "(cached) $ECHO_C" >&6
11572 else
11573 ac_check_lib_save_LIBS=$LIBS
11574 LIBS="-laudioio $LIBS"
11575 cat >conftest.$ac_ext <<_ACEOF
11576 /* confdefs.h. */
11577 _ACEOF
11578 cat confdefs.h >>conftest.$ac_ext
11579 cat >>conftest.$ac_ext <<_ACEOF
11580 /* end confdefs.h. */
11582 /* Override any gcc2 internal prototype to avoid an error. */
11583 #ifdef __cplusplus
11584 extern "C"
11585 #endif
11586 /* We use char because int might match the return type of a gcc2
11587 builtin and then its argument prototype would still apply. */
11588 char AudioIOGetVersion ();
11590 main ()
11592 AudioIOGetVersion ();
11594 return 0;
11596 _ACEOF
11597 rm -f conftest.$ac_objext conftest$ac_exeext
11598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11599 (eval $ac_link) 2>conftest.er1
11600 ac_status=$?
11601 grep -v '^ *+' conftest.er1 >conftest.err
11602 rm -f conftest.er1
11603 cat conftest.err >&5
11604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); } &&
11606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11608 (eval $ac_try) 2>&5
11609 ac_status=$?
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); }; } &&
11612 { ac_try='test -s conftest$ac_exeext'
11613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11614 (eval $ac_try) 2>&5
11615 ac_status=$?
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); }; }; then
11618 ac_cv_lib_audioio_AudioIOGetVersion=yes
11619 else
11620 echo "$as_me: failed program was:" >&5
11621 sed 's/^/| /' conftest.$ac_ext >&5
11623 ac_cv_lib_audioio_AudioIOGetVersion=no
11625 rm -f conftest.err conftest.$ac_objext \
11626 conftest$ac_exeext conftest.$ac_ext
11627 LIBS=$ac_check_lib_save_LIBS
11629 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
11630 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
11631 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
11632 AUDIOIOLIBS="-laudioio"
11634 cat >>confdefs.h <<\_ACEOF
11635 #define HAVE_LIBAUDIOIO 1
11636 _ACEOF
11642 done
11647 for ac_header in capi20.h
11649 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11651 echo "$as_me:$LINENO: checking for $ac_header" >&5
11652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11654 echo $ECHO_N "(cached) $ECHO_C" >&6
11656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11658 else
11659 # Is the header compilable?
11660 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11661 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11662 cat >conftest.$ac_ext <<_ACEOF
11663 /* confdefs.h. */
11664 _ACEOF
11665 cat confdefs.h >>conftest.$ac_ext
11666 cat >>conftest.$ac_ext <<_ACEOF
11667 /* end confdefs.h. */
11668 $ac_includes_default
11669 #include <$ac_header>
11670 _ACEOF
11671 rm -f conftest.$ac_objext
11672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11673 (eval $ac_compile) 2>conftest.er1
11674 ac_status=$?
11675 grep -v '^ *+' conftest.er1 >conftest.err
11676 rm -f conftest.er1
11677 cat conftest.err >&5
11678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11679 (exit $ac_status); } &&
11680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11682 (eval $ac_try) 2>&5
11683 ac_status=$?
11684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11685 (exit $ac_status); }; } &&
11686 { ac_try='test -s conftest.$ac_objext'
11687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11688 (eval $ac_try) 2>&5
11689 ac_status=$?
11690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11691 (exit $ac_status); }; }; then
11692 ac_header_compiler=yes
11693 else
11694 echo "$as_me: failed program was:" >&5
11695 sed 's/^/| /' conftest.$ac_ext >&5
11697 ac_header_compiler=no
11699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11700 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11701 echo "${ECHO_T}$ac_header_compiler" >&6
11703 # Is the header present?
11704 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11705 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11706 cat >conftest.$ac_ext <<_ACEOF
11707 /* confdefs.h. */
11708 _ACEOF
11709 cat confdefs.h >>conftest.$ac_ext
11710 cat >>conftest.$ac_ext <<_ACEOF
11711 /* end confdefs.h. */
11712 #include <$ac_header>
11713 _ACEOF
11714 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11715 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11716 ac_status=$?
11717 grep -v '^ *+' conftest.er1 >conftest.err
11718 rm -f conftest.er1
11719 cat conftest.err >&5
11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721 (exit $ac_status); } >/dev/null; then
11722 if test -s conftest.err; then
11723 ac_cpp_err=$ac_c_preproc_warn_flag
11724 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11725 else
11726 ac_cpp_err=
11728 else
11729 ac_cpp_err=yes
11731 if test -z "$ac_cpp_err"; then
11732 ac_header_preproc=yes
11733 else
11734 echo "$as_me: failed program was:" >&5
11735 sed 's/^/| /' conftest.$ac_ext >&5
11737 ac_header_preproc=no
11739 rm -f conftest.err conftest.$ac_ext
11740 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11741 echo "${ECHO_T}$ac_header_preproc" >&6
11743 # So? What about this header?
11744 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11745 yes:no: )
11746 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11747 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11749 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11750 ac_header_preproc=yes
11752 no:yes:* )
11753 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11754 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11755 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11756 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11757 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11758 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11759 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11760 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11761 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11762 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11763 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11764 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11766 cat <<\_ASBOX
11767 ## ------------------------------------ ##
11768 ## Report this to wine-devel@winehq.org ##
11769 ## ------------------------------------ ##
11770 _ASBOX
11772 sed "s/^/$as_me: WARNING: /" >&2
11774 esac
11775 echo "$as_me:$LINENO: checking for $ac_header" >&5
11776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11778 echo $ECHO_N "(cached) $ECHO_C" >&6
11779 else
11780 eval "$as_ac_Header=\$ac_header_preproc"
11782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11783 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11786 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11787 cat >>confdefs.h <<_ACEOF
11788 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11789 _ACEOF
11792 for ac_header in linux/capi.h
11794 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11796 echo "$as_me:$LINENO: checking for $ac_header" >&5
11797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11799 echo $ECHO_N "(cached) $ECHO_C" >&6
11801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11803 else
11804 # Is the header compilable?
11805 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11806 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11807 cat >conftest.$ac_ext <<_ACEOF
11808 /* confdefs.h. */
11809 _ACEOF
11810 cat confdefs.h >>conftest.$ac_ext
11811 cat >>conftest.$ac_ext <<_ACEOF
11812 /* end confdefs.h. */
11813 $ac_includes_default
11814 #include <$ac_header>
11815 _ACEOF
11816 rm -f conftest.$ac_objext
11817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11818 (eval $ac_compile) 2>conftest.er1
11819 ac_status=$?
11820 grep -v '^ *+' conftest.er1 >conftest.err
11821 rm -f conftest.er1
11822 cat conftest.err >&5
11823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 (exit $ac_status); } &&
11825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11827 (eval $ac_try) 2>&5
11828 ac_status=$?
11829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11830 (exit $ac_status); }; } &&
11831 { ac_try='test -s conftest.$ac_objext'
11832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11833 (eval $ac_try) 2>&5
11834 ac_status=$?
11835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836 (exit $ac_status); }; }; then
11837 ac_header_compiler=yes
11838 else
11839 echo "$as_me: failed program was:" >&5
11840 sed 's/^/| /' conftest.$ac_ext >&5
11842 ac_header_compiler=no
11844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11845 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11846 echo "${ECHO_T}$ac_header_compiler" >&6
11848 # Is the header present?
11849 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11850 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11851 cat >conftest.$ac_ext <<_ACEOF
11852 /* confdefs.h. */
11853 _ACEOF
11854 cat confdefs.h >>conftest.$ac_ext
11855 cat >>conftest.$ac_ext <<_ACEOF
11856 /* end confdefs.h. */
11857 #include <$ac_header>
11858 _ACEOF
11859 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11860 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11861 ac_status=$?
11862 grep -v '^ *+' conftest.er1 >conftest.err
11863 rm -f conftest.er1
11864 cat conftest.err >&5
11865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11866 (exit $ac_status); } >/dev/null; then
11867 if test -s conftest.err; then
11868 ac_cpp_err=$ac_c_preproc_warn_flag
11869 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11870 else
11871 ac_cpp_err=
11873 else
11874 ac_cpp_err=yes
11876 if test -z "$ac_cpp_err"; then
11877 ac_header_preproc=yes
11878 else
11879 echo "$as_me: failed program was:" >&5
11880 sed 's/^/| /' conftest.$ac_ext >&5
11882 ac_header_preproc=no
11884 rm -f conftest.err conftest.$ac_ext
11885 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11886 echo "${ECHO_T}$ac_header_preproc" >&6
11888 # So? What about this header?
11889 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11890 yes:no: )
11891 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11892 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11894 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11895 ac_header_preproc=yes
11897 no:yes:* )
11898 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11899 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11900 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11901 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11902 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11903 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11904 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11905 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11906 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11907 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11908 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11909 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11911 cat <<\_ASBOX
11912 ## ------------------------------------ ##
11913 ## Report this to wine-devel@winehq.org ##
11914 ## ------------------------------------ ##
11915 _ASBOX
11917 sed "s/^/$as_me: WARNING: /" >&2
11919 esac
11920 echo "$as_me:$LINENO: checking for $ac_header" >&5
11921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11923 echo $ECHO_N "(cached) $ECHO_C" >&6
11924 else
11925 eval "$as_ac_Header=\$ac_header_preproc"
11927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11928 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11931 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11932 cat >>confdefs.h <<_ACEOF
11933 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11934 _ACEOF
11936 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
11937 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
11938 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
11939 echo $ECHO_N "(cached) $ECHO_C" >&6
11940 else
11941 ac_check_lib_save_LIBS=$LIBS
11942 LIBS="-lcapi20 $LIBS"
11943 cat >conftest.$ac_ext <<_ACEOF
11944 /* confdefs.h. */
11945 _ACEOF
11946 cat confdefs.h >>conftest.$ac_ext
11947 cat >>conftest.$ac_ext <<_ACEOF
11948 /* end confdefs.h. */
11950 /* Override any gcc2 internal prototype to avoid an error. */
11951 #ifdef __cplusplus
11952 extern "C"
11953 #endif
11954 /* We use char because int might match the return type of a gcc2
11955 builtin and then its argument prototype would still apply. */
11956 char capi20_register ();
11958 main ()
11960 capi20_register ();
11962 return 0;
11964 _ACEOF
11965 rm -f conftest.$ac_objext conftest$ac_exeext
11966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11967 (eval $ac_link) 2>conftest.er1
11968 ac_status=$?
11969 grep -v '^ *+' conftest.er1 >conftest.err
11970 rm -f conftest.er1
11971 cat conftest.err >&5
11972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973 (exit $ac_status); } &&
11974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11976 (eval $ac_try) 2>&5
11977 ac_status=$?
11978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); }; } &&
11980 { ac_try='test -s conftest$ac_exeext'
11981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11982 (eval $ac_try) 2>&5
11983 ac_status=$?
11984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985 (exit $ac_status); }; }; then
11986 ac_cv_lib_capi20_capi20_register=yes
11987 else
11988 echo "$as_me: failed program was:" >&5
11989 sed 's/^/| /' conftest.$ac_ext >&5
11991 ac_cv_lib_capi20_capi20_register=no
11993 rm -f conftest.err conftest.$ac_objext \
11994 conftest$ac_exeext conftest.$ac_ext
11995 LIBS=$ac_check_lib_save_LIBS
11997 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
11998 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
11999 if test $ac_cv_lib_capi20_capi20_register = yes; then
12002 cat >>confdefs.h <<\_ACEOF
12003 #define HAVE_CAPI4LINUX 1
12004 _ACEOF
12012 done
12017 done
12021 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
12022 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
12023 if test "${ac_cv_mmap64_works+set}" = set; then
12024 echo $ECHO_N "(cached) $ECHO_C" >&6
12025 else
12026 if test "$cross_compiling" = yes; then
12027 ac_cv_mmap64_works="no"
12028 else
12029 cat >conftest.$ac_ext <<_ACEOF
12030 /* confdefs.h. */
12031 _ACEOF
12032 cat confdefs.h >>conftest.$ac_ext
12033 cat >>conftest.$ac_ext <<_ACEOF
12034 /* end confdefs.h. */
12036 #define _FILE_OFFSET_BITS 64
12037 #include <stdio.h>
12038 #include <unistd.h>
12039 #include <fcntl.h>
12040 #include <sys/mman.h>
12041 #include <errno.h>
12043 int main(int argc,char **argv) {
12044 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
12045 if (fd == -1) exit(1);
12047 unlink("conftest.map");
12049 write(fd,"test",4);
12051 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
12052 (errno == EINVAL)
12054 exit(1);
12056 close(fd);
12057 fprintf(stderr,"success!\n");
12058 exit(0);
12062 _ACEOF
12063 rm -f conftest$ac_exeext
12064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12065 (eval $ac_link) 2>&5
12066 ac_status=$?
12067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12070 (eval $ac_try) 2>&5
12071 ac_status=$?
12072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); }; }; then
12074 ac_cv_mmap64_works="yes"
12075 else
12076 echo "$as_me: program exited with status $ac_status" >&5
12077 echo "$as_me: failed program was:" >&5
12078 sed 's/^/| /' conftest.$ac_ext >&5
12080 ( exit $ac_status )
12081 ac_cv_mmap64_works="no"
12083 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12086 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12087 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12089 if test "$ac_cv_mmap64_works" = "yes"
12090 then
12092 cat >>confdefs.h <<\_ACEOF
12093 #define _FILE_OFFSET_BITS 64
12094 _ACEOF
12099 EXTRACFLAGS=""
12101 if test "x${GCC}" = "xyes"
12102 then
12103 EXTRACFLAGS="-Wall -pipe"
12105 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12106 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12107 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12108 echo $ECHO_N "(cached) $ECHO_C" >&6
12109 else
12110 if test "$cross_compiling" = yes; then
12111 ac_cv_c_gcc_strength_bug="yes"
12112 else
12113 cat >conftest.$ac_ext <<_ACEOF
12114 /* confdefs.h. */
12115 _ACEOF
12116 cat confdefs.h >>conftest.$ac_ext
12117 cat >>conftest.$ac_ext <<_ACEOF
12118 /* end confdefs.h. */
12120 int L[4] = {0,1,2,3};
12121 int main(void) {
12122 static int Array[3];
12123 unsigned int B = 3;
12124 int i;
12125 for(i=0; i<B; i++) Array[i] = i - 3;
12126 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12127 L[i] = 4;
12129 exit( Array[1] != -2 || L[2] != 3);
12131 _ACEOF
12132 rm -f conftest$ac_exeext
12133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12134 (eval $ac_link) 2>&5
12135 ac_status=$?
12136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12139 (eval $ac_try) 2>&5
12140 ac_status=$?
12141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142 (exit $ac_status); }; }; then
12143 ac_cv_c_gcc_strength_bug="no"
12144 else
12145 echo "$as_me: program exited with status $ac_status" >&5
12146 echo "$as_me: failed program was:" >&5
12147 sed 's/^/| /' conftest.$ac_ext >&5
12149 ( exit $ac_status )
12150 ac_cv_c_gcc_strength_bug="yes"
12152 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12155 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12156 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12157 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12158 then
12159 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12162 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12163 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12164 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12165 echo $ECHO_N "(cached) $ECHO_C" >&6
12166 else
12167 ac_wine_try_cflags_saved=$CFLAGS
12168 CFLAGS="$CFLAGS -fshort-wchar"
12169 cat >conftest.$ac_ext <<_ACEOF
12170 /* confdefs.h. */
12171 _ACEOF
12172 cat confdefs.h >>conftest.$ac_ext
12173 cat >>conftest.$ac_ext <<_ACEOF
12174 /* end confdefs.h. */
12177 main ()
12181 return 0;
12183 _ACEOF
12184 rm -f conftest.$ac_objext conftest$ac_exeext
12185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12186 (eval $ac_link) 2>conftest.er1
12187 ac_status=$?
12188 grep -v '^ *+' conftest.er1 >conftest.err
12189 rm -f conftest.er1
12190 cat conftest.err >&5
12191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192 (exit $ac_status); } &&
12193 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12195 (eval $ac_try) 2>&5
12196 ac_status=$?
12197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198 (exit $ac_status); }; } &&
12199 { ac_try='test -s conftest$ac_exeext'
12200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12201 (eval $ac_try) 2>&5
12202 ac_status=$?
12203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12204 (exit $ac_status); }; }; then
12205 ac_cv_c_gcc_fshort_wchar="yes"
12206 else
12207 echo "$as_me: failed program was:" >&5
12208 sed 's/^/| /' conftest.$ac_ext >&5
12210 ac_cv_c_gcc_fshort_wchar="no"
12212 rm -f conftest.err conftest.$ac_objext \
12213 conftest$ac_exeext conftest.$ac_ext
12214 CFLAGS=$ac_wine_try_cflags_saved
12216 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12217 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12218 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12219 then
12221 cat >>confdefs.h <<\_ACEOF
12222 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12223 _ACEOF
12227 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12228 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12229 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12230 echo $ECHO_N "(cached) $ECHO_C" >&6
12231 else
12232 ac_wine_try_cflags_saved=$CFLAGS
12233 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
12234 cat >conftest.$ac_ext <<_ACEOF
12235 /* confdefs.h. */
12236 _ACEOF
12237 cat confdefs.h >>conftest.$ac_ext
12238 cat >>conftest.$ac_ext <<_ACEOF
12239 /* end confdefs.h. */
12242 main ()
12246 return 0;
12248 _ACEOF
12249 rm -f conftest.$ac_objext conftest$ac_exeext
12250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12251 (eval $ac_link) 2>conftest.er1
12252 ac_status=$?
12253 grep -v '^ *+' conftest.er1 >conftest.err
12254 rm -f conftest.er1
12255 cat conftest.err >&5
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); } &&
12258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12260 (eval $ac_try) 2>&5
12261 ac_status=$?
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); }; } &&
12264 { ac_try='test -s conftest$ac_exeext'
12265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12266 (eval $ac_try) 2>&5
12267 ac_status=$?
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); }; }; then
12270 ac_cv_c_gcc_stack_boundary="yes"
12271 else
12272 echo "$as_me: failed program was:" >&5
12273 sed 's/^/| /' conftest.$ac_ext >&5
12275 ac_cv_c_gcc_stack_boundary="no"
12277 rm -f conftest.err conftest.$ac_objext \
12278 conftest$ac_exeext conftest.$ac_ext
12279 CFLAGS=$ac_wine_try_cflags_saved
12281 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12282 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12283 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12284 then
12285 EXTRACFLAGS="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12288 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12289 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12290 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12291 echo $ECHO_N "(cached) $ECHO_C" >&6
12292 else
12293 ac_wine_try_cflags_saved=$CFLAGS
12294 CFLAGS="$CFLAGS -fno-strict-aliasing"
12295 cat >conftest.$ac_ext <<_ACEOF
12296 /* confdefs.h. */
12297 _ACEOF
12298 cat confdefs.h >>conftest.$ac_ext
12299 cat >>conftest.$ac_ext <<_ACEOF
12300 /* end confdefs.h. */
12303 main ()
12307 return 0;
12309 _ACEOF
12310 rm -f conftest.$ac_objext conftest$ac_exeext
12311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12312 (eval $ac_link) 2>conftest.er1
12313 ac_status=$?
12314 grep -v '^ *+' conftest.er1 >conftest.err
12315 rm -f conftest.er1
12316 cat conftest.err >&5
12317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318 (exit $ac_status); } &&
12319 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12321 (eval $ac_try) 2>&5
12322 ac_status=$?
12323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12324 (exit $ac_status); }; } &&
12325 { ac_try='test -s conftest$ac_exeext'
12326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12327 (eval $ac_try) 2>&5
12328 ac_status=$?
12329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12330 (exit $ac_status); }; }; then
12331 ac_cv_c_gcc_no_strict_aliasing="yes"
12332 else
12333 echo "$as_me: failed program was:" >&5
12334 sed 's/^/| /' conftest.$ac_ext >&5
12336 ac_cv_c_gcc_no_strict_aliasing="no"
12338 rm -f conftest.err conftest.$ac_objext \
12339 conftest$ac_exeext conftest.$ac_ext
12340 CFLAGS=$ac_wine_try_cflags_saved
12342 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12343 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12344 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12345 then
12346 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12349 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12350 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12351 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12352 echo $ECHO_N "(cached) $ECHO_C" >&6
12353 else
12354 ac_wine_try_cflags_saved=$CFLAGS
12355 CFLAGS="$CFLAGS -gstabs+"
12356 cat >conftest.$ac_ext <<_ACEOF
12357 /* confdefs.h. */
12358 _ACEOF
12359 cat confdefs.h >>conftest.$ac_ext
12360 cat >>conftest.$ac_ext <<_ACEOF
12361 /* end confdefs.h. */
12364 main ()
12368 return 0;
12370 _ACEOF
12371 rm -f conftest.$ac_objext conftest$ac_exeext
12372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12373 (eval $ac_link) 2>conftest.er1
12374 ac_status=$?
12375 grep -v '^ *+' conftest.er1 >conftest.err
12376 rm -f conftest.er1
12377 cat conftest.err >&5
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); } &&
12380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12382 (eval $ac_try) 2>&5
12383 ac_status=$?
12384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385 (exit $ac_status); }; } &&
12386 { ac_try='test -s conftest$ac_exeext'
12387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12388 (eval $ac_try) 2>&5
12389 ac_status=$?
12390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 (exit $ac_status); }; }; then
12392 ac_cv_c_gcc_gstabs="yes"
12393 else
12394 echo "$as_me: failed program was:" >&5
12395 sed 's/^/| /' conftest.$ac_ext >&5
12397 ac_cv_c_gcc_gstabs="no"
12399 rm -f conftest.err conftest.$ac_objext \
12400 conftest$ac_exeext conftest.$ac_ext
12401 CFLAGS=$ac_wine_try_cflags_saved
12403 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12404 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12405 if test "$ac_cv_c_gcc_gstabs" = "yes"
12406 then
12407 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
12410 saved_CFLAGS="$CFLAGS"
12411 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12412 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12413 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12414 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12415 echo $ECHO_N "(cached) $ECHO_C" >&6
12416 else
12417 cat >conftest.$ac_ext <<_ACEOF
12418 /* confdefs.h. */
12419 _ACEOF
12420 cat confdefs.h >>conftest.$ac_ext
12421 cat >>conftest.$ac_ext <<_ACEOF
12422 /* end confdefs.h. */
12423 #include <string.h>
12425 main ()
12429 return 0;
12431 _ACEOF
12432 rm -f conftest.$ac_objext
12433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12434 (eval $ac_compile) 2>conftest.er1
12435 ac_status=$?
12436 grep -v '^ *+' conftest.er1 >conftest.err
12437 rm -f conftest.er1
12438 cat conftest.err >&5
12439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440 (exit $ac_status); } &&
12441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12443 (eval $ac_try) 2>&5
12444 ac_status=$?
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); }; } &&
12447 { ac_try='test -s conftest.$ac_objext'
12448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12449 (eval $ac_try) 2>&5
12450 ac_status=$?
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); }; }; then
12453 ac_cv_c_string_h_warnings=no
12454 else
12455 echo "$as_me: failed program was:" >&5
12456 sed 's/^/| /' conftest.$ac_ext >&5
12458 ac_cv_c_string_h_warnings=yes
12460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12462 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12463 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12464 CFLAGS="$saved_CFLAGS"
12465 if test "$ac_cv_c_string_h_warnings" = "no"
12466 then
12467 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12472 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12473 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12474 if test "${ac_cv_asm_func_def+set}" = set; then
12475 echo $ECHO_N "(cached) $ECHO_C" >&6
12476 else
12477 cat >conftest.$ac_ext <<_ACEOF
12478 /* confdefs.h. */
12479 _ACEOF
12480 cat confdefs.h >>conftest.$ac_ext
12481 cat >>conftest.$ac_ext <<_ACEOF
12482 /* end confdefs.h. */
12483 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"); }
12486 main ()
12490 return 0;
12492 _ACEOF
12493 rm -f conftest.$ac_objext conftest$ac_exeext
12494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12495 (eval $ac_link) 2>conftest.er1
12496 ac_status=$?
12497 grep -v '^ *+' conftest.er1 >conftest.err
12498 rm -f conftest.er1
12499 cat conftest.err >&5
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); } &&
12502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12504 (eval $ac_try) 2>&5
12505 ac_status=$?
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); }; } &&
12508 { ac_try='test -s conftest$ac_exeext'
12509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12510 (eval $ac_try) 2>&5
12511 ac_status=$?
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); }; }; then
12514 ac_cv_asm_func_def=".def"
12515 else
12516 echo "$as_me: failed program was:" >&5
12517 sed 's/^/| /' conftest.$ac_ext >&5
12519 cat >conftest.$ac_ext <<_ACEOF
12520 /* confdefs.h. */
12521 _ACEOF
12522 cat confdefs.h >>conftest.$ac_ext
12523 cat >>conftest.$ac_ext <<_ACEOF
12524 /* end confdefs.h. */
12525 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12528 main ()
12532 return 0;
12534 _ACEOF
12535 rm -f conftest.$ac_objext conftest$ac_exeext
12536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12537 (eval $ac_link) 2>conftest.er1
12538 ac_status=$?
12539 grep -v '^ *+' conftest.er1 >conftest.err
12540 rm -f conftest.er1
12541 cat conftest.err >&5
12542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543 (exit $ac_status); } &&
12544 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12546 (eval $ac_try) 2>&5
12547 ac_status=$?
12548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549 (exit $ac_status); }; } &&
12550 { ac_try='test -s conftest$ac_exeext'
12551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12552 (eval $ac_try) 2>&5
12553 ac_status=$?
12554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555 (exit $ac_status); }; }; then
12556 ac_cv_asm_func_def=".type @function"
12557 else
12558 echo "$as_me: failed program was:" >&5
12559 sed 's/^/| /' conftest.$ac_ext >&5
12561 cat >conftest.$ac_ext <<_ACEOF
12562 /* confdefs.h. */
12563 _ACEOF
12564 cat confdefs.h >>conftest.$ac_ext
12565 cat >>conftest.$ac_ext <<_ACEOF
12566 /* end confdefs.h. */
12567 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12570 main ()
12574 return 0;
12576 _ACEOF
12577 rm -f conftest.$ac_objext conftest$ac_exeext
12578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12579 (eval $ac_link) 2>conftest.er1
12580 ac_status=$?
12581 grep -v '^ *+' conftest.er1 >conftest.err
12582 rm -f conftest.er1
12583 cat conftest.err >&5
12584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585 (exit $ac_status); } &&
12586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12588 (eval $ac_try) 2>&5
12589 ac_status=$?
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); }; } &&
12592 { ac_try='test -s conftest$ac_exeext'
12593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12594 (eval $ac_try) 2>&5
12595 ac_status=$?
12596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12597 (exit $ac_status); }; }; then
12598 ac_cv_asm_func_def=".type 2"
12599 else
12600 echo "$as_me: failed program was:" >&5
12601 sed 's/^/| /' conftest.$ac_ext >&5
12603 ac_cv_asm_func_def="unknown"
12605 rm -f conftest.err conftest.$ac_objext \
12606 conftest$ac_exeext conftest.$ac_ext
12608 rm -f conftest.err conftest.$ac_objext \
12609 conftest$ac_exeext conftest.$ac_ext
12611 rm -f conftest.err conftest.$ac_objext \
12612 conftest$ac_exeext conftest.$ac_ext
12614 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12615 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
12619 case "$ac_cv_asm_func_def" in
12620 ".def")
12621 cat >>confdefs.h <<\_ACEOF
12622 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12623 _ACEOF
12625 ".type @function")
12626 cat >>confdefs.h <<\_ACEOF
12627 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12628 _ACEOF
12630 ".type 2")
12631 cat >>confdefs.h <<\_ACEOF
12632 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12633 _ACEOF
12636 cat >>confdefs.h <<\_ACEOF
12637 #define __ASM_FUNC(name) ""
12638 _ACEOF
12640 esac
12643 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12644 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
12645 if test "${ac_cv_c_extern_prefix+set}" = set; then
12646 echo $ECHO_N "(cached) $ECHO_C" >&6
12647 else
12648 cat >conftest.$ac_ext <<_ACEOF
12649 /* confdefs.h. */
12650 _ACEOF
12651 cat confdefs.h >>conftest.$ac_ext
12652 cat >>conftest.$ac_ext <<_ACEOF
12653 /* end confdefs.h. */
12654 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12655 extern int ac_test;
12657 main ()
12659 if (ac_test) return 1
12661 return 0;
12663 _ACEOF
12664 rm -f conftest.$ac_objext conftest$ac_exeext
12665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12666 (eval $ac_link) 2>conftest.er1
12667 ac_status=$?
12668 grep -v '^ *+' conftest.er1 >conftest.err
12669 rm -f conftest.er1
12670 cat conftest.err >&5
12671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); } &&
12673 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12675 (eval $ac_try) 2>&5
12676 ac_status=$?
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); }; } &&
12679 { ac_try='test -s conftest$ac_exeext'
12680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12681 (eval $ac_try) 2>&5
12682 ac_status=$?
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); }; }; then
12685 ac_cv_c_extern_prefix="yes"
12686 else
12687 echo "$as_me: failed program was:" >&5
12688 sed 's/^/| /' conftest.$ac_ext >&5
12690 ac_cv_c_extern_prefix="no"
12692 rm -f conftest.err conftest.$ac_objext \
12693 conftest$ac_exeext conftest.$ac_ext
12695 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12696 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
12700 if test "$ac_cv_c_extern_prefix" = "yes"
12701 then
12702 cat >>confdefs.h <<\_ACEOF
12703 #define __ASM_NAME(name) "_" name
12704 _ACEOF
12706 else
12707 cat >>confdefs.h <<\_ACEOF
12708 #define __ASM_NAME(name) name
12709 _ACEOF
12714 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
12715 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
12716 if test "${ac_cv_c_asm_string+set}" = set; then
12717 echo $ECHO_N "(cached) $ECHO_C" >&6
12718 else
12719 cat >conftest.$ac_ext <<_ACEOF
12720 /* confdefs.h. */
12721 _ACEOF
12722 cat confdefs.h >>conftest.$ac_ext
12723 cat >>conftest.$ac_ext <<_ACEOF
12724 /* end confdefs.h. */
12725 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
12728 main ()
12732 return 0;
12734 _ACEOF
12735 rm -f conftest.$ac_objext conftest$ac_exeext
12736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12737 (eval $ac_link) 2>conftest.er1
12738 ac_status=$?
12739 grep -v '^ *+' conftest.er1 >conftest.err
12740 rm -f conftest.er1
12741 cat conftest.err >&5
12742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743 (exit $ac_status); } &&
12744 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12746 (eval $ac_try) 2>&5
12747 ac_status=$?
12748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12749 (exit $ac_status); }; } &&
12750 { ac_try='test -s conftest$ac_exeext'
12751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12752 (eval $ac_try) 2>&5
12753 ac_status=$?
12754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12755 (exit $ac_status); }; }; then
12756 ac_cv_c_asm_string=".string"
12757 else
12758 echo "$as_me: failed program was:" >&5
12759 sed 's/^/| /' conftest.$ac_ext >&5
12761 cat >conftest.$ac_ext <<_ACEOF
12762 /* confdefs.h. */
12763 _ACEOF
12764 cat confdefs.h >>conftest.$ac_ext
12765 cat >>conftest.$ac_ext <<_ACEOF
12766 /* end confdefs.h. */
12767 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
12770 main ()
12774 return 0;
12776 _ACEOF
12777 rm -f conftest.$ac_objext conftest$ac_exeext
12778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12779 (eval $ac_link) 2>conftest.er1
12780 ac_status=$?
12781 grep -v '^ *+' conftest.er1 >conftest.err
12782 rm -f conftest.er1
12783 cat conftest.err >&5
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); } &&
12786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12788 (eval $ac_try) 2>&5
12789 ac_status=$?
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); }; } &&
12792 { ac_try='test -s conftest$ac_exeext'
12793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12794 (eval $ac_try) 2>&5
12795 ac_status=$?
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); }; }; then
12798 ac_cv_c_asm_string=".asciz"
12799 else
12800 echo "$as_me: failed program was:" >&5
12801 sed 's/^/| /' conftest.$ac_ext >&5
12803 cat >conftest.$ac_ext <<_ACEOF
12804 /* confdefs.h. */
12805 _ACEOF
12806 cat confdefs.h >>conftest.$ac_ext
12807 cat >>conftest.$ac_ext <<_ACEOF
12808 /* end confdefs.h. */
12809 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
12812 main ()
12816 return 0;
12818 _ACEOF
12819 rm -f conftest.$ac_objext conftest$ac_exeext
12820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12821 (eval $ac_link) 2>conftest.er1
12822 ac_status=$?
12823 grep -v '^ *+' conftest.er1 >conftest.err
12824 rm -f conftest.er1
12825 cat conftest.err >&5
12826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827 (exit $ac_status); } &&
12828 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12830 (eval $ac_try) 2>&5
12831 ac_status=$?
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); }; } &&
12834 { ac_try='test -s conftest$ac_exeext'
12835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12836 (eval $ac_try) 2>&5
12837 ac_status=$?
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); }; }; then
12840 ac_cv_c_asm_string=".ascii"
12841 else
12842 echo "$as_me: failed program was:" >&5
12843 sed 's/^/| /' conftest.$ac_ext >&5
12845 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
12846 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
12847 { (exit 1); exit 1; }; }
12849 rm -f conftest.err conftest.$ac_objext \
12850 conftest$ac_exeext conftest.$ac_ext
12852 rm -f conftest.err conftest.$ac_objext \
12853 conftest$ac_exeext conftest.$ac_ext
12855 rm -f conftest.err conftest.$ac_objext \
12856 conftest$ac_exeext conftest.$ac_ext
12858 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
12859 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
12862 cat >>confdefs.h <<_ACEOF
12863 #define __ASM_STRING "$ac_cv_c_asm_string"
12864 _ACEOF
12868 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
12869 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
12870 if test "${ac_cv_c_asm_short+set}" = set; then
12871 echo $ECHO_N "(cached) $ECHO_C" >&6
12872 else
12873 cat >conftest.$ac_ext <<_ACEOF
12874 /* confdefs.h. */
12875 _ACEOF
12876 cat confdefs.h >>conftest.$ac_ext
12877 cat >>conftest.$ac_ext <<_ACEOF
12878 /* end confdefs.h. */
12879 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
12882 main ()
12886 return 0;
12888 _ACEOF
12889 rm -f conftest.$ac_objext conftest$ac_exeext
12890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12891 (eval $ac_link) 2>conftest.er1
12892 ac_status=$?
12893 grep -v '^ *+' conftest.er1 >conftest.err
12894 rm -f conftest.er1
12895 cat conftest.err >&5
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); } &&
12898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12900 (eval $ac_try) 2>&5
12901 ac_status=$?
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); }; } &&
12904 { ac_try='test -s conftest$ac_exeext'
12905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12906 (eval $ac_try) 2>&5
12907 ac_status=$?
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); }; }; then
12910 ac_cv_c_asm_short=".short"
12911 else
12912 echo "$as_me: failed program was:" >&5
12913 sed 's/^/| /' conftest.$ac_ext >&5
12915 cat >conftest.$ac_ext <<_ACEOF
12916 /* confdefs.h. */
12917 _ACEOF
12918 cat confdefs.h >>conftest.$ac_ext
12919 cat >>conftest.$ac_ext <<_ACEOF
12920 /* end confdefs.h. */
12921 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
12924 main ()
12928 return 0;
12930 _ACEOF
12931 rm -f conftest.$ac_objext conftest$ac_exeext
12932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12933 (eval $ac_link) 2>conftest.er1
12934 ac_status=$?
12935 grep -v '^ *+' conftest.er1 >conftest.err
12936 rm -f conftest.er1
12937 cat conftest.err >&5
12938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939 (exit $ac_status); } &&
12940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12942 (eval $ac_try) 2>&5
12943 ac_status=$?
12944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12945 (exit $ac_status); }; } &&
12946 { ac_try='test -s conftest$ac_exeext'
12947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12948 (eval $ac_try) 2>&5
12949 ac_status=$?
12950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951 (exit $ac_status); }; }; then
12952 ac_cv_c_asm_short=".half"
12953 else
12954 echo "$as_me: failed program was:" >&5
12955 sed 's/^/| /' conftest.$ac_ext >&5
12957 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
12958 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
12959 { (exit 1); exit 1; }; }
12961 rm -f conftest.err conftest.$ac_objext \
12962 conftest$ac_exeext conftest.$ac_ext
12964 rm -f conftest.err conftest.$ac_objext \
12965 conftest$ac_exeext conftest.$ac_ext
12967 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
12968 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
12971 cat >>confdefs.h <<_ACEOF
12972 #define __ASM_SHORT "$ac_cv_c_asm_short"
12973 _ACEOF
12977 echo "$as_me:$LINENO: checking for .size in assembler" >&5
12978 echo $ECHO_N "checking for .size in assembler... $ECHO_C" >&6
12979 if test "${ac_cv_c_asm_size+set}" = set; then
12980 echo $ECHO_N "(cached) $ECHO_C" >&6
12981 else
12982 cat >conftest.$ac_ext <<_ACEOF
12983 /* confdefs.h. */
12984 _ACEOF
12985 cat confdefs.h >>conftest.$ac_ext
12986 cat >>conftest.$ac_ext <<_ACEOF
12987 /* end confdefs.h. */
12988 void ac_asm(void) { asm(".globl _ac_test\n.size _ac_test, . - _ac_test"); }
12991 main ()
12995 return 0;
12997 _ACEOF
12998 rm -f conftest.$ac_objext conftest$ac_exeext
12999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13000 (eval $ac_link) 2>conftest.er1
13001 ac_status=$?
13002 grep -v '^ *+' conftest.er1 >conftest.err
13003 rm -f conftest.er1
13004 cat conftest.err >&5
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); } &&
13007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13009 (eval $ac_try) 2>&5
13010 ac_status=$?
13011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13012 (exit $ac_status); }; } &&
13013 { ac_try='test -s conftest$ac_exeext'
13014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13015 (eval $ac_try) 2>&5
13016 ac_status=$?
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); }; }; then
13019 ac_cv_c_asm_size="yes"
13020 else
13021 echo "$as_me: failed program was:" >&5
13022 sed 's/^/| /' conftest.$ac_ext >&5
13024 ac_cv_c_asm_size="no"
13026 rm -f conftest.err conftest.$ac_objext \
13027 conftest$ac_exeext conftest.$ac_ext
13029 echo "$as_me:$LINENO: result: $ac_cv_c_asm_size" >&5
13030 echo "${ECHO_T}$ac_cv_c_asm_size" >&6
13032 if test "$ac_cv_c_asm_size" = "yes"
13033 then
13035 cat >>confdefs.h <<\_ACEOF
13036 #define HAVE_ASM_DOT_SIZE 1
13037 _ACEOF
13042 DLLEXT=""
13044 DLLFLAGS="-D_REENTRANT"
13046 DLLIBS=""
13048 LDSHARED=""
13050 LDDLLFLAGS=""
13052 LIBEXT="so"
13054 IMPLIBEXT="def"
13057 case $host_os in
13058 cygwin*|mingw32*)
13059 if test -n "$ac_tool_prefix"; then
13060 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13061 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
13062 echo "$as_me:$LINENO: checking for $ac_word" >&5
13063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13064 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13065 echo $ECHO_N "(cached) $ECHO_C" >&6
13066 else
13067 if test -n "$DLLTOOL"; then
13068 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13069 else
13070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13071 for as_dir in $PATH
13073 IFS=$as_save_IFS
13074 test -z "$as_dir" && as_dir=.
13075 for ac_exec_ext in '' $ac_executable_extensions; do
13076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13077 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13079 break 2
13081 done
13082 done
13086 DLLTOOL=$ac_cv_prog_DLLTOOL
13087 if test -n "$DLLTOOL"; then
13088 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13089 echo "${ECHO_T}$DLLTOOL" >&6
13090 else
13091 echo "$as_me:$LINENO: result: no" >&5
13092 echo "${ECHO_T}no" >&6
13096 if test -z "$ac_cv_prog_DLLTOOL"; then
13097 ac_ct_DLLTOOL=$DLLTOOL
13098 # Extract the first word of "dlltool", so it can be a program name with args.
13099 set dummy dlltool; ac_word=$2
13100 echo "$as_me:$LINENO: checking for $ac_word" >&5
13101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13102 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13103 echo $ECHO_N "(cached) $ECHO_C" >&6
13104 else
13105 if test -n "$ac_ct_DLLTOOL"; then
13106 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13107 else
13108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13109 for as_dir in $PATH
13111 IFS=$as_save_IFS
13112 test -z "$as_dir" && as_dir=.
13113 for ac_exec_ext in '' $ac_executable_extensions; do
13114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13115 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13117 break 2
13119 done
13120 done
13122 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
13125 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13126 if test -n "$ac_ct_DLLTOOL"; then
13127 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13128 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13129 else
13130 echo "$as_me:$LINENO: result: no" >&5
13131 echo "${ECHO_T}no" >&6
13134 DLLTOOL=$ac_ct_DLLTOOL
13135 else
13136 DLLTOOL="$ac_cv_prog_DLLTOOL"
13139 if test -n "$ac_tool_prefix"; then
13140 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13141 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13142 echo "$as_me:$LINENO: checking for $ac_word" >&5
13143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13144 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13145 echo $ECHO_N "(cached) $ECHO_C" >&6
13146 else
13147 if test -n "$DLLWRAP"; then
13148 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13149 else
13150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13151 for as_dir in $PATH
13153 IFS=$as_save_IFS
13154 test -z "$as_dir" && as_dir=.
13155 for ac_exec_ext in '' $ac_executable_extensions; do
13156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13157 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13159 break 2
13161 done
13162 done
13166 DLLWRAP=$ac_cv_prog_DLLWRAP
13167 if test -n "$DLLWRAP"; then
13168 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13169 echo "${ECHO_T}$DLLWRAP" >&6
13170 else
13171 echo "$as_me:$LINENO: result: no" >&5
13172 echo "${ECHO_T}no" >&6
13176 if test -z "$ac_cv_prog_DLLWRAP"; then
13177 ac_ct_DLLWRAP=$DLLWRAP
13178 # Extract the first word of "dllwrap", so it can be a program name with args.
13179 set dummy dllwrap; ac_word=$2
13180 echo "$as_me:$LINENO: checking for $ac_word" >&5
13181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13182 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13183 echo $ECHO_N "(cached) $ECHO_C" >&6
13184 else
13185 if test -n "$ac_ct_DLLWRAP"; then
13186 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13187 else
13188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13189 for as_dir in $PATH
13191 IFS=$as_save_IFS
13192 test -z "$as_dir" && as_dir=.
13193 for ac_exec_ext in '' $ac_executable_extensions; do
13194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13195 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13197 break 2
13199 done
13200 done
13202 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
13205 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13206 if test -n "$ac_ct_DLLWRAP"; then
13207 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13208 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13209 else
13210 echo "$as_me:$LINENO: result: no" >&5
13211 echo "${ECHO_T}no" >&6
13214 DLLWRAP=$ac_ct_DLLWRAP
13215 else
13216 DLLWRAP="$ac_cv_prog_DLLWRAP"
13219 if test "$DLLWRAP" = "false"; then
13220 LIBEXT="a"
13221 else
13222 LIBEXT="dll"
13224 IMPLIBEXT="a"
13225 WIN16_FILES=""
13226 WIN16_INSTALL=""
13230 for ac_header in dlfcn.h
13232 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13234 echo "$as_me:$LINENO: checking for $ac_header" >&5
13235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13237 echo $ECHO_N "(cached) $ECHO_C" >&6
13239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13241 else
13242 # Is the header compilable?
13243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13245 cat >conftest.$ac_ext <<_ACEOF
13246 /* confdefs.h. */
13247 _ACEOF
13248 cat confdefs.h >>conftest.$ac_ext
13249 cat >>conftest.$ac_ext <<_ACEOF
13250 /* end confdefs.h. */
13251 $ac_includes_default
13252 #include <$ac_header>
13253 _ACEOF
13254 rm -f conftest.$ac_objext
13255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13256 (eval $ac_compile) 2>conftest.er1
13257 ac_status=$?
13258 grep -v '^ *+' conftest.er1 >conftest.err
13259 rm -f conftest.er1
13260 cat conftest.err >&5
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); } &&
13263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13265 (eval $ac_try) 2>&5
13266 ac_status=$?
13267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13268 (exit $ac_status); }; } &&
13269 { ac_try='test -s conftest.$ac_objext'
13270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13271 (eval $ac_try) 2>&5
13272 ac_status=$?
13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 (exit $ac_status); }; }; then
13275 ac_header_compiler=yes
13276 else
13277 echo "$as_me: failed program was:" >&5
13278 sed 's/^/| /' conftest.$ac_ext >&5
13280 ac_header_compiler=no
13282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13283 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13284 echo "${ECHO_T}$ac_header_compiler" >&6
13286 # Is the header present?
13287 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13288 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13289 cat >conftest.$ac_ext <<_ACEOF
13290 /* confdefs.h. */
13291 _ACEOF
13292 cat confdefs.h >>conftest.$ac_ext
13293 cat >>conftest.$ac_ext <<_ACEOF
13294 /* end confdefs.h. */
13295 #include <$ac_header>
13296 _ACEOF
13297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13298 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13299 ac_status=$?
13300 grep -v '^ *+' conftest.er1 >conftest.err
13301 rm -f conftest.er1
13302 cat conftest.err >&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); } >/dev/null; then
13305 if test -s conftest.err; then
13306 ac_cpp_err=$ac_c_preproc_warn_flag
13307 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13308 else
13309 ac_cpp_err=
13311 else
13312 ac_cpp_err=yes
13314 if test -z "$ac_cpp_err"; then
13315 ac_header_preproc=yes
13316 else
13317 echo "$as_me: failed program was:" >&5
13318 sed 's/^/| /' conftest.$ac_ext >&5
13320 ac_header_preproc=no
13322 rm -f conftest.err conftest.$ac_ext
13323 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13324 echo "${ECHO_T}$ac_header_preproc" >&6
13326 # So? What about this header?
13327 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13328 yes:no: )
13329 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13330 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13332 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13333 ac_header_preproc=yes
13335 no:yes:* )
13336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13337 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13339 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13340 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13341 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13342 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13343 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13346 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13347 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13349 cat <<\_ASBOX
13350 ## ------------------------------------ ##
13351 ## Report this to wine-devel@winehq.org ##
13352 ## ------------------------------------ ##
13353 _ASBOX
13355 sed "s/^/$as_me: WARNING: /" >&2
13357 esac
13358 echo "$as_me:$LINENO: checking for $ac_header" >&5
13359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13361 echo $ECHO_N "(cached) $ECHO_C" >&6
13362 else
13363 eval "$as_ac_Header=\$ac_header_preproc"
13365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13370 cat >>confdefs.h <<_ACEOF
13371 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13372 _ACEOF
13374 for ac_func in dlopen
13376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13377 echo "$as_me:$LINENO: checking for $ac_func" >&5
13378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13379 if eval "test \"\${$as_ac_var+set}\" = set"; then
13380 echo $ECHO_N "(cached) $ECHO_C" >&6
13381 else
13382 cat >conftest.$ac_ext <<_ACEOF
13383 /* confdefs.h. */
13384 _ACEOF
13385 cat confdefs.h >>conftest.$ac_ext
13386 cat >>conftest.$ac_ext <<_ACEOF
13387 /* end confdefs.h. */
13388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13390 #define $ac_func innocuous_$ac_func
13392 /* System header to define __stub macros and hopefully few prototypes,
13393 which can conflict with char $ac_func (); below.
13394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13395 <limits.h> exists even on freestanding compilers. */
13397 #ifdef __STDC__
13398 # include <limits.h>
13399 #else
13400 # include <assert.h>
13401 #endif
13403 #undef $ac_func
13405 /* Override any gcc2 internal prototype to avoid an error. */
13406 #ifdef __cplusplus
13407 extern "C"
13409 #endif
13410 /* We use char because int might match the return type of a gcc2
13411 builtin and then its argument prototype would still apply. */
13412 char $ac_func ();
13413 /* The GNU C library defines this for functions which it implements
13414 to always fail with ENOSYS. Some functions are actually named
13415 something starting with __ and the normal name is an alias. */
13416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13417 choke me
13418 #else
13419 char (*f) () = $ac_func;
13420 #endif
13421 #ifdef __cplusplus
13423 #endif
13426 main ()
13428 return f != $ac_func;
13430 return 0;
13432 _ACEOF
13433 rm -f conftest.$ac_objext conftest$ac_exeext
13434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13435 (eval $ac_link) 2>conftest.er1
13436 ac_status=$?
13437 grep -v '^ *+' conftest.er1 >conftest.err
13438 rm -f conftest.er1
13439 cat conftest.err >&5
13440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13441 (exit $ac_status); } &&
13442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13444 (eval $ac_try) 2>&5
13445 ac_status=$?
13446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13447 (exit $ac_status); }; } &&
13448 { ac_try='test -s conftest$ac_exeext'
13449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13450 (eval $ac_try) 2>&5
13451 ac_status=$?
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); }; }; then
13454 eval "$as_ac_var=yes"
13455 else
13456 echo "$as_me: failed program was:" >&5
13457 sed 's/^/| /' conftest.$ac_ext >&5
13459 eval "$as_ac_var=no"
13461 rm -f conftest.err conftest.$ac_objext \
13462 conftest$ac_exeext conftest.$ac_ext
13464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13466 if test `eval echo '${'$as_ac_var'}'` = yes; then
13467 cat >>confdefs.h <<_ACEOF
13468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13469 _ACEOF
13471 else
13472 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13473 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13474 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13475 echo $ECHO_N "(cached) $ECHO_C" >&6
13476 else
13477 ac_check_lib_save_LIBS=$LIBS
13478 LIBS="-ldl $LIBS"
13479 cat >conftest.$ac_ext <<_ACEOF
13480 /* confdefs.h. */
13481 _ACEOF
13482 cat confdefs.h >>conftest.$ac_ext
13483 cat >>conftest.$ac_ext <<_ACEOF
13484 /* end confdefs.h. */
13486 /* Override any gcc2 internal prototype to avoid an error. */
13487 #ifdef __cplusplus
13488 extern "C"
13489 #endif
13490 /* We use char because int might match the return type of a gcc2
13491 builtin and then its argument prototype would still apply. */
13492 char dlopen ();
13494 main ()
13496 dlopen ();
13498 return 0;
13500 _ACEOF
13501 rm -f conftest.$ac_objext conftest$ac_exeext
13502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13503 (eval $ac_link) 2>conftest.er1
13504 ac_status=$?
13505 grep -v '^ *+' conftest.er1 >conftest.err
13506 rm -f conftest.er1
13507 cat conftest.err >&5
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); } &&
13510 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13512 (eval $ac_try) 2>&5
13513 ac_status=$?
13514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13515 (exit $ac_status); }; } &&
13516 { ac_try='test -s conftest$ac_exeext'
13517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13518 (eval $ac_try) 2>&5
13519 ac_status=$?
13520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13521 (exit $ac_status); }; }; then
13522 ac_cv_lib_dl_dlopen=yes
13523 else
13524 echo "$as_me: failed program was:" >&5
13525 sed 's/^/| /' conftest.$ac_ext >&5
13527 ac_cv_lib_dl_dlopen=no
13529 rm -f conftest.err conftest.$ac_objext \
13530 conftest$ac_exeext conftest.$ac_ext
13531 LIBS=$ac_check_lib_save_LIBS
13533 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13534 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13535 if test $ac_cv_lib_dl_dlopen = yes; then
13537 cat >>confdefs.h <<\_ACEOF
13538 #define HAVE_DLOPEN 1
13539 _ACEOF
13541 DLLIBS="-ldl"
13542 else
13543 LIBEXT="a"
13547 done
13549 else
13550 LIBEXT="a"
13553 done
13556 if test "$LIBEXT" = "so"
13557 then
13558 DLLFLAGS="$DLLFLAGS -fPIC"
13559 DLLEXT=".so"
13560 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13561 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13562 if test "${ac_cv_c_dll_gnuelf+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,-soname,conftest.so.1.0,-Bsymbolic"
13567 cat >conftest.$ac_ext <<_ACEOF
13568 void myfunc() {}
13569 _ACEOF
13570 rm -f conftest.$ac_objext conftest$ac_exeext
13571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13572 (eval $ac_link) 2>conftest.er1
13573 ac_status=$?
13574 grep -v '^ *+' conftest.er1 >conftest.err
13575 rm -f conftest.er1
13576 cat conftest.err >&5
13577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13578 (exit $ac_status); } &&
13579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13581 (eval $ac_try) 2>&5
13582 ac_status=$?
13583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13584 (exit $ac_status); }; } &&
13585 { ac_try='test -s conftest$ac_exeext'
13586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13587 (eval $ac_try) 2>&5
13588 ac_status=$?
13589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13590 (exit $ac_status); }; }; then
13591 ac_cv_c_dll_gnuelf="yes"
13592 else
13593 echo "$as_me: failed program was:" >&5
13594 sed 's/^/| /' conftest.$ac_ext >&5
13596 ac_cv_c_dll_gnuelf="no"
13598 rm -f conftest.err conftest.$ac_objext \
13599 conftest$ac_exeext conftest.$ac_ext
13600 CFLAGS=$ac_wine_try_cflags_saved
13602 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13603 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
13604 if test "$ac_cv_c_dll_gnuelf" = "yes"
13605 then
13606 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13607 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13608 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
13609 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
13610 if test "${ac_cv_c_dll_zdefs+set}" = set; then
13611 echo $ECHO_N "(cached) $ECHO_C" >&6
13612 else
13613 ac_wine_try_cflags_saved=$CFLAGS
13614 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13615 cat >conftest.$ac_ext <<_ACEOF
13616 /* confdefs.h. */
13617 _ACEOF
13618 cat confdefs.h >>conftest.$ac_ext
13619 cat >>conftest.$ac_ext <<_ACEOF
13620 /* end confdefs.h. */
13623 main ()
13627 return 0;
13629 _ACEOF
13630 rm -f conftest.$ac_objext conftest$ac_exeext
13631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13632 (eval $ac_link) 2>conftest.er1
13633 ac_status=$?
13634 grep -v '^ *+' conftest.er1 >conftest.err
13635 rm -f conftest.er1
13636 cat conftest.err >&5
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 (exit $ac_status); } &&
13639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13641 (eval $ac_try) 2>&5
13642 ac_status=$?
13643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13644 (exit $ac_status); }; } &&
13645 { ac_try='test -s conftest$ac_exeext'
13646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13647 (eval $ac_try) 2>&5
13648 ac_status=$?
13649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13650 (exit $ac_status); }; }; then
13651 ac_cv_c_dll_zdefs="yes"
13652 else
13653 echo "$as_me: failed program was:" >&5
13654 sed 's/^/| /' conftest.$ac_ext >&5
13656 ac_cv_c_dll_zdefs="no"
13658 rm -f conftest.err conftest.$ac_objext \
13659 conftest$ac_exeext conftest.$ac_ext
13660 CFLAGS=$ac_wine_try_cflags_saved
13662 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
13663 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
13664 if test "$ac_cv_c_dll_zdefs" = "yes"
13665 then
13666 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13669 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
13670 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
13671 if test "${ac_cv_c_dll_init_fini+set}" = set; then
13672 echo $ECHO_N "(cached) $ECHO_C" >&6
13673 else
13674 ac_wine_try_cflags_saved=$CFLAGS
13675 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13676 cat >conftest.$ac_ext <<_ACEOF
13677 /* confdefs.h. */
13678 _ACEOF
13679 cat confdefs.h >>conftest.$ac_ext
13680 cat >>conftest.$ac_ext <<_ACEOF
13681 /* end confdefs.h. */
13684 main ()
13688 return 0;
13690 _ACEOF
13691 rm -f conftest.$ac_objext conftest$ac_exeext
13692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13693 (eval $ac_link) 2>conftest.er1
13694 ac_status=$?
13695 grep -v '^ *+' conftest.er1 >conftest.err
13696 rm -f conftest.er1
13697 cat conftest.err >&5
13698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); } &&
13700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13702 (eval $ac_try) 2>&5
13703 ac_status=$?
13704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13705 (exit $ac_status); }; } &&
13706 { ac_try='test -s conftest$ac_exeext'
13707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13708 (eval $ac_try) 2>&5
13709 ac_status=$?
13710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13711 (exit $ac_status); }; }; then
13712 ac_cv_c_dll_init_fini="yes"
13713 else
13714 echo "$as_me: failed program was:" >&5
13715 sed 's/^/| /' conftest.$ac_ext >&5
13717 ac_cv_c_dll_init_fini="no"
13719 rm -f conftest.err conftest.$ac_objext \
13720 conftest$ac_exeext conftest.$ac_ext
13721 CFLAGS=$ac_wine_try_cflags_saved
13723 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
13724 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
13725 if test "$ac_cv_c_dll_init_fini" = "yes"
13726 then
13727 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13730 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
13731 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
13732 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
13733 echo $ECHO_N "(cached) $ECHO_C" >&6
13734 else
13735 echo '{ global: *; };' >conftest.map
13736 ac_wine_try_cflags_saved=$CFLAGS
13737 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13738 cat >conftest.$ac_ext <<_ACEOF
13739 /* confdefs.h. */
13740 _ACEOF
13741 cat confdefs.h >>conftest.$ac_ext
13742 cat >>conftest.$ac_ext <<_ACEOF
13743 /* end confdefs.h. */
13746 main ()
13750 return 0;
13752 _ACEOF
13753 rm -f conftest.$ac_objext conftest$ac_exeext
13754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13755 (eval $ac_link) 2>conftest.er1
13756 ac_status=$?
13757 grep -v '^ *+' conftest.er1 >conftest.err
13758 rm -f conftest.er1
13759 cat conftest.err >&5
13760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13761 (exit $ac_status); } &&
13762 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13764 (eval $ac_try) 2>&5
13765 ac_status=$?
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); }; } &&
13768 { ac_try='test -s conftest$ac_exeext'
13769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13770 (eval $ac_try) 2>&5
13771 ac_status=$?
13772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13773 (exit $ac_status); }; }; then
13774 ac_cv_c_ld_version_scripts="yes"
13775 else
13776 echo "$as_me: failed program was:" >&5
13777 sed 's/^/| /' conftest.$ac_ext >&5
13779 ac_cv_c_ld_version_scripts="no"
13781 rm -f conftest.err conftest.$ac_objext \
13782 conftest$ac_exeext conftest.$ac_ext
13783 CFLAGS=$ac_wine_try_cflags_saved
13784 rm -f conftest.map
13786 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
13787 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
13788 if test "$ac_cv_c_ld_version_scripts" = "yes"
13789 then
13790 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13793 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
13794 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
13795 if test "${ac_cv_c_export_dynamic+set}" = set; then
13796 echo $ECHO_N "(cached) $ECHO_C" >&6
13797 else
13798 ac_wine_try_cflags_saved=$CFLAGS
13799 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13800 cat >conftest.$ac_ext <<_ACEOF
13801 /* confdefs.h. */
13802 _ACEOF
13803 cat confdefs.h >>conftest.$ac_ext
13804 cat >>conftest.$ac_ext <<_ACEOF
13805 /* end confdefs.h. */
13808 main ()
13812 return 0;
13814 _ACEOF
13815 rm -f conftest.$ac_objext conftest$ac_exeext
13816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13817 (eval $ac_link) 2>conftest.er1
13818 ac_status=$?
13819 grep -v '^ *+' conftest.er1 >conftest.err
13820 rm -f conftest.er1
13821 cat conftest.err >&5
13822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823 (exit $ac_status); } &&
13824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13826 (eval $ac_try) 2>&5
13827 ac_status=$?
13828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13829 (exit $ac_status); }; } &&
13830 { ac_try='test -s conftest$ac_exeext'
13831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13832 (eval $ac_try) 2>&5
13833 ac_status=$?
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 (exit $ac_status); }; }; then
13836 ac_cv_c_export_dynamic="yes"
13837 else
13838 echo "$as_me: failed program was:" >&5
13839 sed 's/^/| /' conftest.$ac_ext >&5
13841 ac_cv_c_export_dynamic="no"
13843 rm -f conftest.err conftest.$ac_objext \
13844 conftest$ac_exeext conftest.$ac_ext
13845 CFLAGS=$ac_wine_try_cflags_saved
13847 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
13848 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
13849 if test "$ac_cv_c_export_dynamic" = "yes"
13850 then
13851 LDEXECFLAGS="-Wl,--export-dynamic"
13855 case $host_cpu in
13856 *i[3456789]86*)
13857 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x77f00000" >&5
13858 echo $ECHO_N "checking whether we can relocate the executable to 0x77f00000... $ECHO_C" >&6
13859 if test "${ac_cv_ld_reloc_exec+set}" = set; then
13860 echo $ECHO_N "(cached) $ECHO_C" >&6
13861 else
13862 ac_wine_try_cflags_saved=$CFLAGS
13863 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x77f00400"
13864 cat >conftest.$ac_ext <<_ACEOF
13865 /* confdefs.h. */
13866 _ACEOF
13867 cat confdefs.h >>conftest.$ac_ext
13868 cat >>conftest.$ac_ext <<_ACEOF
13869 /* end confdefs.h. */
13872 main ()
13876 return 0;
13878 _ACEOF
13879 rm -f conftest.$ac_objext conftest$ac_exeext
13880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13881 (eval $ac_link) 2>conftest.er1
13882 ac_status=$?
13883 grep -v '^ *+' conftest.er1 >conftest.err
13884 rm -f conftest.er1
13885 cat conftest.err >&5
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); } &&
13888 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13890 (eval $ac_try) 2>&5
13891 ac_status=$?
13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893 (exit $ac_status); }; } &&
13894 { ac_try='test -s conftest$ac_exeext'
13895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13896 (eval $ac_try) 2>&5
13897 ac_status=$?
13898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13899 (exit $ac_status); }; }; then
13900 ac_cv_ld_reloc_exec="yes"
13901 else
13902 echo "$as_me: failed program was:" >&5
13903 sed 's/^/| /' conftest.$ac_ext >&5
13905 ac_cv_ld_reloc_exec="no"
13907 rm -f conftest.err conftest.$ac_objext \
13908 conftest$ac_exeext conftest.$ac_ext
13909 CFLAGS=$ac_wine_try_cflags_saved
13911 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
13912 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
13913 if test "$ac_cv_ld_reloc_exec" = "yes"
13914 then
13915 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x77f00400"
13918 esac
13920 else
13921 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13922 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
13923 if test "${ac_cv_c_dll_unixware+set}" = set; then
13924 echo $ECHO_N "(cached) $ECHO_C" >&6
13925 else
13926 ac_wine_try_cflags_saved=$CFLAGS
13927 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13928 cat >conftest.$ac_ext <<_ACEOF
13929 void myfunc() {}
13930 _ACEOF
13931 rm -f conftest.$ac_objext conftest$ac_exeext
13932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13933 (eval $ac_link) 2>conftest.er1
13934 ac_status=$?
13935 grep -v '^ *+' conftest.er1 >conftest.err
13936 rm -f conftest.er1
13937 cat conftest.err >&5
13938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13939 (exit $ac_status); } &&
13940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13942 (eval $ac_try) 2>&5
13943 ac_status=$?
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 (exit $ac_status); }; } &&
13946 { ac_try='test -s conftest$ac_exeext'
13947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13948 (eval $ac_try) 2>&5
13949 ac_status=$?
13950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 (exit $ac_status); }; }; then
13952 ac_cv_c_dll_unixware="yes"
13953 else
13954 echo "$as_me: failed program was:" >&5
13955 sed 's/^/| /' conftest.$ac_ext >&5
13957 ac_cv_c_dll_unixware="no"
13959 rm -f conftest.err conftest.$ac_objext \
13960 conftest$ac_exeext conftest.$ac_ext
13961 CFLAGS=$ac_wine_try_cflags_saved
13963 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13964 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
13965 if test "$ac_cv_c_dll_unixware" = "yes"
13966 then
13967 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13968 LDDLLFLAGS="-Wl,-G,-B,symbolic"
13970 else
13971 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
13972 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
13973 if test "${ac_cv_c_dll_macho+set}" = set; then
13974 echo $ECHO_N "(cached) $ECHO_C" >&6
13975 else
13976 ac_wine_try_cflags_saved=$CFLAGS
13977 CFLAGS="$CFLAGS -bundle"
13978 cat >conftest.$ac_ext <<_ACEOF
13979 void myfunc() {}
13980 _ACEOF
13981 rm -f conftest.$ac_objext conftest$ac_exeext
13982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13983 (eval $ac_link) 2>conftest.er1
13984 ac_status=$?
13985 grep -v '^ *+' conftest.er1 >conftest.err
13986 rm -f conftest.er1
13987 cat conftest.err >&5
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); } &&
13990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13992 (eval $ac_try) 2>&5
13993 ac_status=$?
13994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13995 (exit $ac_status); }; } &&
13996 { ac_try='test -s conftest$ac_exeext'
13997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13998 (eval $ac_try) 2>&5
13999 ac_status=$?
14000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14001 (exit $ac_status); }; }; then
14002 ac_cv_c_dll_macho="yes"
14003 else
14004 echo "$as_me: failed program was:" >&5
14005 sed 's/^/| /' conftest.$ac_ext >&5
14007 ac_cv_c_dll_macho="no"
14009 rm -f conftest.err conftest.$ac_objext \
14010 conftest$ac_exeext conftest.$ac_ext
14011 CFLAGS=$ac_wine_try_cflags_saved
14013 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
14014 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
14015 if test "$ac_cv_c_dll_macho" = "yes"
14016 then
14017 LIBEXT="dylib"
14018 LDDLLFLAGS="-bundle -flat_namespace -undefined suppress -read_only_relocs warning"
14019 LDSHARED="\$(CC) -dynamiclib"
14020 CFLAGS="$CFLAGS -ffixed-r13 -no-cpp-precomp"
14021 STRIP="$STRIP -u -r"
14022 LDEXECFLAGS="-seg1addr 0x120000"
14024 LDLIBWINEFLAGS="-seg1addr 0x140000"
14026 COREFOUNDATIONLIB="-framework CoreFoundation"
14028 IOKITLIB="-framework IOKit"
14030 IOKITLIB="$IOKITLIB $COREFOUNDATIONLIB"
14031 else
14032 echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
14033 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6
14034 if test "${ac_cv_c_dll_hpux+set}" = set; then
14035 echo $ECHO_N "(cached) $ECHO_C" >&6
14036 else
14037 ac_wine_try_cflags_saved=$CFLAGS
14038 CFLAGS="$CFLAGS -shared"
14039 cat >conftest.$ac_ext <<_ACEOF
14040 void myfunc() {}
14041 _ACEOF
14042 rm -f conftest.$ac_objext conftest$ac_exeext
14043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14044 (eval $ac_link) 2>conftest.er1
14045 ac_status=$?
14046 grep -v '^ *+' conftest.er1 >conftest.err
14047 rm -f conftest.er1
14048 cat conftest.err >&5
14049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 (exit $ac_status); } &&
14051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14053 (eval $ac_try) 2>&5
14054 ac_status=$?
14055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14056 (exit $ac_status); }; } &&
14057 { ac_try='test -s conftest$ac_exeext'
14058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14059 (eval $ac_try) 2>&5
14060 ac_status=$?
14061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14062 (exit $ac_status); }; }; then
14063 ac_cv_c_dll_hpux="yes"
14064 else
14065 echo "$as_me: failed program was:" >&5
14066 sed 's/^/| /' conftest.$ac_ext >&5
14068 ac_cv_c_dll_hpux="no"
14070 rm -f conftest.err conftest.$ac_objext \
14071 conftest$ac_exeext conftest.$ac_ext
14072 CFLAGS=$ac_wine_try_cflags_saved
14074 echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
14075 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6
14076 if test "$ac_cv_c_dll_hpux" = "yes"
14077 then
14078 LIBEXT="sl"
14079 DLLEXT=".sl"
14080 LDDLLFLAGS="-shared -fPIC"
14081 LDSHARED="\$(CC) -shared"
14088 CROSSTEST=""
14090 if test "$cross_compiling" = "no"
14091 then
14092 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
14094 # Extract the first word of "$ac_prog", so it can be a program name with args.
14095 set dummy $ac_prog; ac_word=$2
14096 echo "$as_me:$LINENO: checking for $ac_word" >&5
14097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14098 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14099 echo $ECHO_N "(cached) $ECHO_C" >&6
14100 else
14101 if test -n "$CROSSCC"; then
14102 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
14103 else
14104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14105 for as_dir in $PATH
14107 IFS=$as_save_IFS
14108 test -z "$as_dir" && as_dir=.
14109 for ac_exec_ext in '' $ac_executable_extensions; do
14110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14111 ac_cv_prog_CROSSCC="$ac_prog"
14112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14113 break 2
14115 done
14116 done
14120 CROSSCC=$ac_cv_prog_CROSSCC
14121 if test -n "$CROSSCC"; then
14122 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14123 echo "${ECHO_T}$CROSSCC" >&6
14124 else
14125 echo "$as_me:$LINENO: result: no" >&5
14126 echo "${ECHO_T}no" >&6
14129 test -n "$CROSSCC" && break
14130 done
14131 test -n "$CROSSCC" || CROSSCC="false"
14133 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14135 # Extract the first word of "$ac_prog", so it can be a program name with args.
14136 set dummy $ac_prog; ac_word=$2
14137 echo "$as_me:$LINENO: checking for $ac_word" >&5
14138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14139 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14140 echo $ECHO_N "(cached) $ECHO_C" >&6
14141 else
14142 if test -n "$DLLTOOL"; then
14143 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14144 else
14145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14146 for as_dir in $PATH
14148 IFS=$as_save_IFS
14149 test -z "$as_dir" && as_dir=.
14150 for ac_exec_ext in '' $ac_executable_extensions; do
14151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14152 ac_cv_prog_DLLTOOL="$ac_prog"
14153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14154 break 2
14156 done
14157 done
14161 DLLTOOL=$ac_cv_prog_DLLTOOL
14162 if test -n "$DLLTOOL"; then
14163 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14164 echo "${ECHO_T}$DLLTOOL" >&6
14165 else
14166 echo "$as_me:$LINENO: result: no" >&5
14167 echo "${ECHO_T}no" >&6
14170 test -n "$DLLTOOL" && break
14171 done
14172 test -n "$DLLTOOL" || DLLTOOL="false"
14174 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
14176 # Extract the first word of "$ac_prog", so it can be a program name with args.
14177 set dummy $ac_prog; ac_word=$2
14178 echo "$as_me:$LINENO: checking for $ac_word" >&5
14179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14180 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14181 echo $ECHO_N "(cached) $ECHO_C" >&6
14182 else
14183 if test -n "$CROSSWINDRES"; then
14184 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14185 else
14186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14187 for as_dir in $PATH
14189 IFS=$as_save_IFS
14190 test -z "$as_dir" && as_dir=.
14191 for ac_exec_ext in '' $ac_executable_extensions; do
14192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14193 ac_cv_prog_CROSSWINDRES="$ac_prog"
14194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14195 break 2
14197 done
14198 done
14202 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14203 if test -n "$CROSSWINDRES"; then
14204 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14205 echo "${ECHO_T}$CROSSWINDRES" >&6
14206 else
14207 echo "$as_me:$LINENO: result: no" >&5
14208 echo "${ECHO_T}no" >&6
14211 test -n "$CROSSWINDRES" && break
14212 done
14213 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14215 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14218 esac
14220 if test "$LIBEXT" = "a"; then
14221 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14222 It is currently not possible to build Wine without shared library
14223 (.so) support to allow transparent switch between .so and .dll files.
14224 If you are using Linux, you will need a newer binutils.
14225 " >&5
14226 echo "$as_me: error: could not find a way to build shared libraries.
14227 It is currently not possible to build Wine without shared library
14228 (.so) support to allow transparent switch between .so and .dll files.
14229 If you are using Linux, you will need a newer binutils.
14230 " >&2;}
14231 { (exit 1); exit 1; }; }
14234 case $build_os in
14235 cygwin*|mingw32*)
14236 LDPATH="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14238 darwin*|macosx*)
14239 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14242 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14244 esac
14246 case $host_os in
14247 mingw32*)
14248 CRTLIBS="-lmsvcrt"
14250 SOCKETLIBS="-lws2_32"
14253 esac
14255 case $host_os in
14256 linux*)
14257 case $host_cpu in
14258 *i[3456789]86*) WINE_BINARIES="wine-glibc wine-kthread wine-pthread wine-preloader"
14260 *) WINE_BINARIES="wine-glibc wine-kthread wine-pthread"
14262 esac
14263 MAIN_BINARY="wine-glibc"
14266 darwin*)
14267 WINE_BINARIES="wine-pthread"
14269 MAIN_BINARY="wine-pthread"
14273 WINE_BINARIES="wine-kthread"
14275 MAIN_BINARY="wine-kthread"
14278 esac
14281 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14282 then
14283 # Extract the first word of "ldd", so it can be a program name with args.
14284 set dummy ldd; ac_word=$2
14285 echo "$as_me:$LINENO: checking for $ac_word" >&5
14286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14287 if test "${ac_cv_path_LDD+set}" = set; then
14288 echo $ECHO_N "(cached) $ECHO_C" >&6
14289 else
14290 case $LDD in
14291 [\\/]* | ?:[\\/]*)
14292 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14296 as_dummy="/sbin:/usr/sbin:$PATH"
14297 for as_dir in $as_dummy
14299 IFS=$as_save_IFS
14300 test -z "$as_dir" && as_dir=.
14301 for ac_exec_ext in '' $ac_executable_extensions; do
14302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14303 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14305 break 2
14307 done
14308 done
14310 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14312 esac
14314 LDD=$ac_cv_path_LDD
14316 if test -n "$LDD"; then
14317 echo "$as_me:$LINENO: result: $LDD" >&5
14318 echo "${ECHO_T}$LDD" >&6
14319 else
14320 echo "$as_me:$LINENO: result: no" >&5
14321 echo "${ECHO_T}no" >&6
14325 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14326 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14327 if test "${ac_cv_lib_soname_X11+set}" = set; then
14328 echo $ECHO_N "(cached) $ECHO_C" >&6
14329 else
14330 ac_get_soname_save_LIBS=$LIBS
14331 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14332 cat >conftest.$ac_ext <<_ACEOF
14333 /* confdefs.h. */
14334 _ACEOF
14335 cat confdefs.h >>conftest.$ac_ext
14336 cat >>conftest.$ac_ext <<_ACEOF
14337 /* end confdefs.h. */
14339 /* Override any gcc2 internal prototype to avoid an error. */
14340 #ifdef __cplusplus
14341 extern "C"
14342 #endif
14343 /* We use char because int might match the return type of a gcc2
14344 builtin and then its argument prototype would still apply. */
14345 char XCreateWindow ();
14347 main ()
14349 XCreateWindow ();
14351 return 0;
14353 _ACEOF
14354 rm -f conftest.$ac_objext conftest$ac_exeext
14355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14356 (eval $ac_link) 2>conftest.er1
14357 ac_status=$?
14358 grep -v '^ *+' conftest.er1 >conftest.err
14359 rm -f conftest.er1
14360 cat conftest.err >&5
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); } &&
14363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14365 (eval $ac_try) 2>&5
14366 ac_status=$?
14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); }; } &&
14369 { ac_try='test -s conftest$ac_exeext'
14370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14371 (eval $ac_try) 2>&5
14372 ac_status=$?
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); }; }; then
14375 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"`
14376 if test "x$ac_cv_lib_soname_X11" = "x"
14377 then
14378 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14380 else
14381 echo "$as_me: failed program was:" >&5
14382 sed 's/^/| /' conftest.$ac_ext >&5
14384 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14386 rm -f conftest.err conftest.$ac_objext \
14387 conftest$ac_exeext conftest.$ac_ext
14388 LIBS=$ac_get_soname_save_LIBS
14390 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14391 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14392 if test "x$ac_cv_lib_soname_X11" != xNONE
14393 then
14394 cat >>confdefs.h <<_ACEOF
14395 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14396 _ACEOF
14399 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14400 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14401 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14402 echo $ECHO_N "(cached) $ECHO_C" >&6
14403 else
14404 ac_get_soname_save_LIBS=$LIBS
14405 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14406 cat >conftest.$ac_ext <<_ACEOF
14407 /* confdefs.h. */
14408 _ACEOF
14409 cat confdefs.h >>conftest.$ac_ext
14410 cat >>conftest.$ac_ext <<_ACEOF
14411 /* end confdefs.h. */
14413 /* Override any gcc2 internal prototype to avoid an error. */
14414 #ifdef __cplusplus
14415 extern "C"
14416 #endif
14417 /* We use char because int might match the return type of a gcc2
14418 builtin and then its argument prototype would still apply. */
14419 char XextCreateExtension ();
14421 main ()
14423 XextCreateExtension ();
14425 return 0;
14427 _ACEOF
14428 rm -f conftest.$ac_objext conftest$ac_exeext
14429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14430 (eval $ac_link) 2>conftest.er1
14431 ac_status=$?
14432 grep -v '^ *+' conftest.er1 >conftest.err
14433 rm -f conftest.er1
14434 cat conftest.err >&5
14435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14436 (exit $ac_status); } &&
14437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14439 (eval $ac_try) 2>&5
14440 ac_status=$?
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); }; } &&
14443 { ac_try='test -s conftest$ac_exeext'
14444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14445 (eval $ac_try) 2>&5
14446 ac_status=$?
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); }; }; then
14449 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"`
14450 if test "x$ac_cv_lib_soname_Xext" = "x"
14451 then
14452 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14454 else
14455 echo "$as_me: failed program was:" >&5
14456 sed 's/^/| /' conftest.$ac_ext >&5
14458 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14460 rm -f conftest.err conftest.$ac_objext \
14461 conftest$ac_exeext conftest.$ac_ext
14462 LIBS=$ac_get_soname_save_LIBS
14464 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14465 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14466 if test "x$ac_cv_lib_soname_Xext" != xNONE
14467 then
14468 cat >>confdefs.h <<_ACEOF
14469 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14470 _ACEOF
14473 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14474 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14475 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14476 echo $ECHO_N "(cached) $ECHO_C" >&6
14477 else
14478 ac_get_soname_save_LIBS=$LIBS
14479 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14480 cat >conftest.$ac_ext <<_ACEOF
14481 /* confdefs.h. */
14482 _ACEOF
14483 cat confdefs.h >>conftest.$ac_ext
14484 cat >>conftest.$ac_ext <<_ACEOF
14485 /* end confdefs.h. */
14487 /* Override any gcc2 internal prototype to avoid an error. */
14488 #ifdef __cplusplus
14489 extern "C"
14490 #endif
14491 /* We use char because int might match the return type of a gcc2
14492 builtin and then its argument prototype would still apply. */
14493 char XOpenDevice ();
14495 main ()
14497 XOpenDevice ();
14499 return 0;
14501 _ACEOF
14502 rm -f conftest.$ac_objext conftest$ac_exeext
14503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14504 (eval $ac_link) 2>conftest.er1
14505 ac_status=$?
14506 grep -v '^ *+' conftest.er1 >conftest.err
14507 rm -f conftest.er1
14508 cat conftest.err >&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); } &&
14511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14513 (eval $ac_try) 2>&5
14514 ac_status=$?
14515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516 (exit $ac_status); }; } &&
14517 { ac_try='test -s conftest$ac_exeext'
14518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14519 (eval $ac_try) 2>&5
14520 ac_status=$?
14521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14522 (exit $ac_status); }; }; then
14523 ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"`
14524 if test "x$ac_cv_lib_soname_Xi" = "x"
14525 then
14526 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14528 else
14529 echo "$as_me: failed program was:" >&5
14530 sed 's/^/| /' conftest.$ac_ext >&5
14532 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14534 rm -f conftest.err conftest.$ac_objext \
14535 conftest$ac_exeext conftest.$ac_ext
14536 LIBS=$ac_get_soname_save_LIBS
14538 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14539 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14540 if test "x$ac_cv_lib_soname_Xi" != xNONE
14541 then
14542 cat >>confdefs.h <<_ACEOF
14543 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14544 _ACEOF
14547 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14548 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14549 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14550 echo $ECHO_N "(cached) $ECHO_C" >&6
14551 else
14552 ac_get_soname_save_LIBS=$LIBS
14553 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14554 cat >conftest.$ac_ext <<_ACEOF
14555 /* confdefs.h. */
14556 _ACEOF
14557 cat confdefs.h >>conftest.$ac_ext
14558 cat >>conftest.$ac_ext <<_ACEOF
14559 /* end confdefs.h. */
14561 /* Override any gcc2 internal prototype to avoid an error. */
14562 #ifdef __cplusplus
14563 extern "C"
14564 #endif
14565 /* We use char because int might match the return type of a gcc2
14566 builtin and then its argument prototype would still apply. */
14567 char XRenderQueryExtension ();
14569 main ()
14571 XRenderQueryExtension ();
14573 return 0;
14575 _ACEOF
14576 rm -f conftest.$ac_objext conftest$ac_exeext
14577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14578 (eval $ac_link) 2>conftest.er1
14579 ac_status=$?
14580 grep -v '^ *+' conftest.er1 >conftest.err
14581 rm -f conftest.er1
14582 cat conftest.err >&5
14583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584 (exit $ac_status); } &&
14585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14587 (eval $ac_try) 2>&5
14588 ac_status=$?
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); }; } &&
14591 { ac_try='test -s conftest$ac_exeext'
14592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14593 (eval $ac_try) 2>&5
14594 ac_status=$?
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); }; }; then
14597 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"`
14598 if test "x$ac_cv_lib_soname_Xrender" = "x"
14599 then
14600 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14602 else
14603 echo "$as_me: failed program was:" >&5
14604 sed 's/^/| /' conftest.$ac_ext >&5
14606 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14608 rm -f conftest.err conftest.$ac_objext \
14609 conftest$ac_exeext conftest.$ac_ext
14610 LIBS=$ac_get_soname_save_LIBS
14612 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14613 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14614 if test "x$ac_cv_lib_soname_Xrender" != xNONE
14615 then
14616 cat >>confdefs.h <<_ACEOF
14617 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14618 _ACEOF
14621 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14622 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
14623 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14624 echo $ECHO_N "(cached) $ECHO_C" >&6
14625 else
14626 ac_get_soname_save_LIBS=$LIBS
14627 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14628 cat >conftest.$ac_ext <<_ACEOF
14629 /* confdefs.h. */
14630 _ACEOF
14631 cat confdefs.h >>conftest.$ac_ext
14632 cat >>conftest.$ac_ext <<_ACEOF
14633 /* end confdefs.h. */
14635 /* Override any gcc2 internal prototype to avoid an error. */
14636 #ifdef __cplusplus
14637 extern "C"
14638 #endif
14639 /* We use char because int might match the return type of a gcc2
14640 builtin and then its argument prototype would still apply. */
14641 char XRRQueryExtension ();
14643 main ()
14645 XRRQueryExtension ();
14647 return 0;
14649 _ACEOF
14650 rm -f conftest.$ac_objext conftest$ac_exeext
14651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14652 (eval $ac_link) 2>conftest.er1
14653 ac_status=$?
14654 grep -v '^ *+' conftest.er1 >conftest.err
14655 rm -f conftest.er1
14656 cat conftest.err >&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); } &&
14659 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14661 (eval $ac_try) 2>&5
14662 ac_status=$?
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); }; } &&
14665 { ac_try='test -s conftest$ac_exeext'
14666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14667 (eval $ac_try) 2>&5
14668 ac_status=$?
14669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670 (exit $ac_status); }; }; then
14671 ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"`
14672 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14673 then
14674 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14676 else
14677 echo "$as_me: failed program was:" >&5
14678 sed 's/^/| /' conftest.$ac_ext >&5
14680 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14682 rm -f conftest.err conftest.$ac_objext \
14683 conftest$ac_exeext conftest.$ac_ext
14684 LIBS=$ac_get_soname_save_LIBS
14686 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14687 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
14688 if test "x$ac_cv_lib_soname_Xrandr" != xNONE
14689 then
14690 cat >>confdefs.h <<_ACEOF
14691 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14692 _ACEOF
14695 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14696 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14697 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14698 echo $ECHO_N "(cached) $ECHO_C" >&6
14699 else
14700 ac_get_soname_save_LIBS=$LIBS
14701 LIBS="-lfreetype $X_LIBS $LIBS"
14702 cat >conftest.$ac_ext <<_ACEOF
14703 /* confdefs.h. */
14704 _ACEOF
14705 cat confdefs.h >>conftest.$ac_ext
14706 cat >>conftest.$ac_ext <<_ACEOF
14707 /* end confdefs.h. */
14709 /* Override any gcc2 internal prototype to avoid an error. */
14710 #ifdef __cplusplus
14711 extern "C"
14712 #endif
14713 /* We use char because int might match the return type of a gcc2
14714 builtin and then its argument prototype would still apply. */
14715 char FT_Init_FreeType ();
14717 main ()
14719 FT_Init_FreeType ();
14721 return 0;
14723 _ACEOF
14724 rm -f conftest.$ac_objext conftest$ac_exeext
14725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14726 (eval $ac_link) 2>conftest.er1
14727 ac_status=$?
14728 grep -v '^ *+' conftest.er1 >conftest.err
14729 rm -f conftest.er1
14730 cat conftest.err >&5
14731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 (exit $ac_status); } &&
14733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14735 (eval $ac_try) 2>&5
14736 ac_status=$?
14737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 (exit $ac_status); }; } &&
14739 { ac_try='test -s conftest$ac_exeext'
14740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14741 (eval $ac_try) 2>&5
14742 ac_status=$?
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); }; }; then
14745 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"`
14746 if test "x$ac_cv_lib_soname_freetype" = "x"
14747 then
14748 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14750 else
14751 echo "$as_me: failed program was:" >&5
14752 sed 's/^/| /' conftest.$ac_ext >&5
14754 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14756 rm -f conftest.err conftest.$ac_objext \
14757 conftest$ac_exeext conftest.$ac_ext
14758 LIBS=$ac_get_soname_save_LIBS
14760 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14761 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
14762 if test "x$ac_cv_lib_soname_freetype" != xNONE
14763 then
14764 cat >>confdefs.h <<_ACEOF
14765 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14766 _ACEOF
14769 echo "$as_me:$LINENO: checking for -lGL soname" >&5
14770 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
14771 if test "${ac_cv_lib_soname_GL+set}" = set; then
14772 echo $ECHO_N "(cached) $ECHO_C" >&6
14773 else
14774 ac_get_soname_save_LIBS=$LIBS
14775 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14776 cat >conftest.$ac_ext <<_ACEOF
14777 /* confdefs.h. */
14778 _ACEOF
14779 cat confdefs.h >>conftest.$ac_ext
14780 cat >>conftest.$ac_ext <<_ACEOF
14781 /* end confdefs.h. */
14783 /* Override any gcc2 internal prototype to avoid an error. */
14784 #ifdef __cplusplus
14785 extern "C"
14786 #endif
14787 /* We use char because int might match the return type of a gcc2
14788 builtin and then its argument prototype would still apply. */
14789 char glXQueryExtension ();
14791 main ()
14793 glXQueryExtension ();
14795 return 0;
14797 _ACEOF
14798 rm -f conftest.$ac_objext conftest$ac_exeext
14799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14800 (eval $ac_link) 2>conftest.er1
14801 ac_status=$?
14802 grep -v '^ *+' conftest.er1 >conftest.err
14803 rm -f conftest.er1
14804 cat conftest.err >&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } &&
14807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14810 ac_status=$?
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; } &&
14813 { ac_try='test -s conftest$ac_exeext'
14814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14815 (eval $ac_try) 2>&5
14816 ac_status=$?
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); }; }; then
14819 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"`
14820 if test "x$ac_cv_lib_soname_GL" = "x"
14821 then
14822 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14824 else
14825 echo "$as_me: failed program was:" >&5
14826 sed 's/^/| /' conftest.$ac_ext >&5
14828 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14830 rm -f conftest.err conftest.$ac_objext \
14831 conftest$ac_exeext conftest.$ac_ext
14832 LIBS=$ac_get_soname_save_LIBS
14834 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14835 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
14836 if test "x$ac_cv_lib_soname_GL" != xNONE
14837 then
14838 cat >>confdefs.h <<_ACEOF
14839 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14840 _ACEOF
14843 echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14844 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6
14845 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14846 echo $ECHO_N "(cached) $ECHO_C" >&6
14847 else
14848 ac_get_soname_save_LIBS=$LIBS
14849 LIBS="-ltxc_dxtn $LIBS"
14850 cat >conftest.$ac_ext <<_ACEOF
14851 /* confdefs.h. */
14852 _ACEOF
14853 cat confdefs.h >>conftest.$ac_ext
14854 cat >>conftest.$ac_ext <<_ACEOF
14855 /* end confdefs.h. */
14857 /* Override any gcc2 internal prototype to avoid an error. */
14858 #ifdef __cplusplus
14859 extern "C"
14860 #endif
14861 /* We use char because int might match the return type of a gcc2
14862 builtin and then its argument prototype would still apply. */
14863 char fetch_2d_texel_rgba_dxt1 ();
14865 main ()
14867 fetch_2d_texel_rgba_dxt1 ();
14869 return 0;
14871 _ACEOF
14872 rm -f conftest.$ac_objext conftest$ac_exeext
14873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14874 (eval $ac_link) 2>conftest.er1
14875 ac_status=$?
14876 grep -v '^ *+' conftest.er1 >conftest.err
14877 rm -f conftest.er1
14878 cat conftest.err >&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); } &&
14881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14883 (eval $ac_try) 2>&5
14884 ac_status=$?
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); }; } &&
14887 { ac_try='test -s conftest$ac_exeext'
14888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14889 (eval $ac_try) 2>&5
14890 ac_status=$?
14891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892 (exit $ac_status); }; }; then
14893 ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"`
14894 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
14895 then
14896 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14898 else
14899 echo "$as_me: failed program was:" >&5
14900 sed 's/^/| /' conftest.$ac_ext >&5
14902 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14904 rm -f conftest.err conftest.$ac_objext \
14905 conftest$ac_exeext conftest.$ac_ext
14906 LIBS=$ac_get_soname_save_LIBS
14908 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
14909 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6
14910 if test "x$ac_cv_lib_soname_txc_dxtn" != xNONE
14911 then
14912 cat >>confdefs.h <<_ACEOF
14913 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
14914 _ACEOF
14917 echo "$as_me:$LINENO: checking for -lcups soname" >&5
14918 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
14919 if test "${ac_cv_lib_soname_cups+set}" = set; then
14920 echo $ECHO_N "(cached) $ECHO_C" >&6
14921 else
14922 ac_get_soname_save_LIBS=$LIBS
14923 LIBS="-lcups $LIBS"
14924 cat >conftest.$ac_ext <<_ACEOF
14925 /* confdefs.h. */
14926 _ACEOF
14927 cat confdefs.h >>conftest.$ac_ext
14928 cat >>conftest.$ac_ext <<_ACEOF
14929 /* end confdefs.h. */
14931 /* Override any gcc2 internal prototype to avoid an error. */
14932 #ifdef __cplusplus
14933 extern "C"
14934 #endif
14935 /* We use char because int might match the return type of a gcc2
14936 builtin and then its argument prototype would still apply. */
14937 char cupsGetDefault ();
14939 main ()
14941 cupsGetDefault ();
14943 return 0;
14945 _ACEOF
14946 rm -f conftest.$ac_objext conftest$ac_exeext
14947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14948 (eval $ac_link) 2>conftest.er1
14949 ac_status=$?
14950 grep -v '^ *+' conftest.er1 >conftest.err
14951 rm -f conftest.er1
14952 cat conftest.err >&5
14953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14954 (exit $ac_status); } &&
14955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14957 (eval $ac_try) 2>&5
14958 ac_status=$?
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); }; } &&
14961 { ac_try='test -s conftest$ac_exeext'
14962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14963 (eval $ac_try) 2>&5
14964 ac_status=$?
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); }; }; then
14967 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"`
14968 if test "x$ac_cv_lib_soname_cups" = "x"
14969 then
14970 ac_cv_lib_soname_cups="libcups.$LIBEXT"
14972 else
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.$ac_ext >&5
14976 ac_cv_lib_soname_cups="libcups.$LIBEXT"
14978 rm -f conftest.err conftest.$ac_objext \
14979 conftest$ac_exeext conftest.$ac_ext
14980 LIBS=$ac_get_soname_save_LIBS
14982 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14983 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
14984 if test "x$ac_cv_lib_soname_cups" != xNONE
14985 then
14986 cat >>confdefs.h <<_ACEOF
14987 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14988 _ACEOF
14991 echo "$as_me:$LINENO: checking for -ljack soname" >&5
14992 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
14993 if test "${ac_cv_lib_soname_jack+set}" = set; then
14994 echo $ECHO_N "(cached) $ECHO_C" >&6
14995 else
14996 ac_get_soname_save_LIBS=$LIBS
14997 LIBS="-ljack $LIBS"
14998 cat >conftest.$ac_ext <<_ACEOF
14999 /* confdefs.h. */
15000 _ACEOF
15001 cat confdefs.h >>conftest.$ac_ext
15002 cat >>conftest.$ac_ext <<_ACEOF
15003 /* end confdefs.h. */
15005 /* Override any gcc2 internal prototype to avoid an error. */
15006 #ifdef __cplusplus
15007 extern "C"
15008 #endif
15009 /* We use char because int might match the return type of a gcc2
15010 builtin and then its argument prototype would still apply. */
15011 char jack_client_new ();
15013 main ()
15015 jack_client_new ();
15017 return 0;
15019 _ACEOF
15020 rm -f conftest.$ac_objext conftest$ac_exeext
15021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15022 (eval $ac_link) 2>conftest.er1
15023 ac_status=$?
15024 grep -v '^ *+' conftest.er1 >conftest.err
15025 rm -f conftest.er1
15026 cat conftest.err >&5
15027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028 (exit $ac_status); } &&
15029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15031 (eval $ac_try) 2>&5
15032 ac_status=$?
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); }; } &&
15035 { ac_try='test -s conftest$ac_exeext'
15036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15037 (eval $ac_try) 2>&5
15038 ac_status=$?
15039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); }; }; then
15041 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"`
15042 if test "x$ac_cv_lib_soname_jack" = "x"
15043 then
15044 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15046 else
15047 echo "$as_me: failed program was:" >&5
15048 sed 's/^/| /' conftest.$ac_ext >&5
15050 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15052 rm -f conftest.err conftest.$ac_objext \
15053 conftest$ac_exeext conftest.$ac_ext
15054 LIBS=$ac_get_soname_save_LIBS
15056 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15057 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15058 if test "x$ac_cv_lib_soname_jack" != xNONE
15059 then
15060 cat >>confdefs.h <<_ACEOF
15061 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15062 _ACEOF
15065 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15066 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15067 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15068 echo $ECHO_N "(cached) $ECHO_C" >&6
15069 else
15070 ac_get_soname_save_LIBS=$LIBS
15071 LIBS="-lfontconfig $LIBS"
15072 cat >conftest.$ac_ext <<_ACEOF
15073 /* confdefs.h. */
15074 _ACEOF
15075 cat confdefs.h >>conftest.$ac_ext
15076 cat >>conftest.$ac_ext <<_ACEOF
15077 /* end confdefs.h. */
15079 /* Override any gcc2 internal prototype to avoid an error. */
15080 #ifdef __cplusplus
15081 extern "C"
15082 #endif
15083 /* We use char because int might match the return type of a gcc2
15084 builtin and then its argument prototype would still apply. */
15085 char FcInit ();
15087 main ()
15089 FcInit ();
15091 return 0;
15093 _ACEOF
15094 rm -f conftest.$ac_objext conftest$ac_exeext
15095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15096 (eval $ac_link) 2>conftest.er1
15097 ac_status=$?
15098 grep -v '^ *+' conftest.er1 >conftest.err
15099 rm -f conftest.er1
15100 cat conftest.err >&5
15101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15102 (exit $ac_status); } &&
15103 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15105 (eval $ac_try) 2>&5
15106 ac_status=$?
15107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15108 (exit $ac_status); }; } &&
15109 { ac_try='test -s conftest$ac_exeext'
15110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15111 (eval $ac_try) 2>&5
15112 ac_status=$?
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); }; }; then
15115 ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"`
15116 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15117 then
15118 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15120 else
15121 echo "$as_me: failed program was:" >&5
15122 sed 's/^/| /' conftest.$ac_ext >&5
15124 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15126 rm -f conftest.err conftest.$ac_objext \
15127 conftest$ac_exeext conftest.$ac_ext
15128 LIBS=$ac_get_soname_save_LIBS
15130 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15131 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15132 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
15133 then
15134 cat >>confdefs.h <<_ACEOF
15135 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15136 _ACEOF
15139 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15140 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15141 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15142 echo $ECHO_N "(cached) $ECHO_C" >&6
15143 else
15144 ac_get_soname_save_LIBS=$LIBS
15145 LIBS="-lssl $LIBS"
15146 cat >conftest.$ac_ext <<_ACEOF
15147 /* confdefs.h. */
15148 _ACEOF
15149 cat confdefs.h >>conftest.$ac_ext
15150 cat >>conftest.$ac_ext <<_ACEOF
15151 /* end confdefs.h. */
15153 /* Override any gcc2 internal prototype to avoid an error. */
15154 #ifdef __cplusplus
15155 extern "C"
15156 #endif
15157 /* We use char because int might match the return type of a gcc2
15158 builtin and then its argument prototype would still apply. */
15159 char SSL_library_init ();
15161 main ()
15163 SSL_library_init ();
15165 return 0;
15167 _ACEOF
15168 rm -f conftest.$ac_objext conftest$ac_exeext
15169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15170 (eval $ac_link) 2>conftest.er1
15171 ac_status=$?
15172 grep -v '^ *+' conftest.er1 >conftest.err
15173 rm -f conftest.er1
15174 cat conftest.err >&5
15175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15176 (exit $ac_status); } &&
15177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15179 (eval $ac_try) 2>&5
15180 ac_status=$?
15181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15182 (exit $ac_status); }; } &&
15183 { ac_try='test -s conftest$ac_exeext'
15184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15185 (eval $ac_try) 2>&5
15186 ac_status=$?
15187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15188 (exit $ac_status); }; }; then
15189 ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"`
15190 if test "x$ac_cv_lib_soname_ssl" = "x"
15191 then
15192 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15194 else
15195 echo "$as_me: failed program was:" >&5
15196 sed 's/^/| /' conftest.$ac_ext >&5
15198 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15200 rm -f conftest.err conftest.$ac_objext \
15201 conftest$ac_exeext conftest.$ac_ext
15202 LIBS=$ac_get_soname_save_LIBS
15204 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15205 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15206 if test "x$ac_cv_lib_soname_ssl" != xNONE
15207 then
15208 cat >>confdefs.h <<_ACEOF
15209 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15210 _ACEOF
15213 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15214 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15215 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15216 echo $ECHO_N "(cached) $ECHO_C" >&6
15217 else
15218 ac_get_soname_save_LIBS=$LIBS
15219 LIBS="-lcrypto $LIBS"
15220 cat >conftest.$ac_ext <<_ACEOF
15221 /* confdefs.h. */
15222 _ACEOF
15223 cat confdefs.h >>conftest.$ac_ext
15224 cat >>conftest.$ac_ext <<_ACEOF
15225 /* end confdefs.h. */
15227 /* Override any gcc2 internal prototype to avoid an error. */
15228 #ifdef __cplusplus
15229 extern "C"
15230 #endif
15231 /* We use char because int might match the return type of a gcc2
15232 builtin and then its argument prototype would still apply. */
15233 char BIO_new_socket ();
15235 main ()
15237 BIO_new_socket ();
15239 return 0;
15241 _ACEOF
15242 rm -f conftest.$ac_objext conftest$ac_exeext
15243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15244 (eval $ac_link) 2>conftest.er1
15245 ac_status=$?
15246 grep -v '^ *+' conftest.er1 >conftest.err
15247 rm -f conftest.er1
15248 cat conftest.err >&5
15249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15250 (exit $ac_status); } &&
15251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15253 (eval $ac_try) 2>&5
15254 ac_status=$?
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); }; } &&
15257 { ac_try='test -s conftest$ac_exeext'
15258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15259 (eval $ac_try) 2>&5
15260 ac_status=$?
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); }; }; then
15263 ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"`
15264 if test "x$ac_cv_lib_soname_crypto" = "x"
15265 then
15266 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15268 else
15269 echo "$as_me: failed program was:" >&5
15270 sed 's/^/| /' conftest.$ac_ext >&5
15272 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15274 rm -f conftest.err conftest.$ac_objext \
15275 conftest$ac_exeext conftest.$ac_ext
15276 LIBS=$ac_get_soname_save_LIBS
15278 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15279 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15280 if test "x$ac_cv_lib_soname_crypto" != xNONE
15281 then
15282 cat >>confdefs.h <<_ACEOF
15283 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15284 _ACEOF
15287 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15288 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15289 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15290 echo $ECHO_N "(cached) $ECHO_C" >&6
15291 else
15292 ac_get_soname_save_LIBS=$LIBS
15293 LIBS="-lncurses $LIBS"
15294 cat >conftest.$ac_ext <<_ACEOF
15295 /* confdefs.h. */
15296 _ACEOF
15297 cat confdefs.h >>conftest.$ac_ext
15298 cat >>conftest.$ac_ext <<_ACEOF
15299 /* end confdefs.h. */
15301 /* Override any gcc2 internal prototype to avoid an error. */
15302 #ifdef __cplusplus
15303 extern "C"
15304 #endif
15305 /* We use char because int might match the return type of a gcc2
15306 builtin and then its argument prototype would still apply. */
15307 char waddch ();
15309 main ()
15311 waddch ();
15313 return 0;
15315 _ACEOF
15316 rm -f conftest.$ac_objext conftest$ac_exeext
15317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15318 (eval $ac_link) 2>conftest.er1
15319 ac_status=$?
15320 grep -v '^ *+' conftest.er1 >conftest.err
15321 rm -f conftest.er1
15322 cat conftest.err >&5
15323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324 (exit $ac_status); } &&
15325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15327 (eval $ac_try) 2>&5
15328 ac_status=$?
15329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); }; } &&
15331 { ac_try='test -s conftest$ac_exeext'
15332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15333 (eval $ac_try) 2>&5
15334 ac_status=$?
15335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15336 (exit $ac_status); }; }; then
15337 ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"`
15338 if test "x$ac_cv_lib_soname_ncurses" = "x"
15339 then
15340 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15342 else
15343 echo "$as_me: failed program was:" >&5
15344 sed 's/^/| /' conftest.$ac_ext >&5
15346 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15348 rm -f conftest.err conftest.$ac_objext \
15349 conftest$ac_exeext conftest.$ac_ext
15350 LIBS=$ac_get_soname_save_LIBS
15352 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15353 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15354 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15355 then
15356 cat >>confdefs.h <<_ACEOF
15357 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15358 _ACEOF
15361 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15362 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15363 if test "${ac_cv_lib_soname_curses+set}" = set; then
15364 echo $ECHO_N "(cached) $ECHO_C" >&6
15365 else
15366 ac_get_soname_save_LIBS=$LIBS
15367 LIBS="-lcurses $LIBS"
15368 cat >conftest.$ac_ext <<_ACEOF
15369 /* confdefs.h. */
15370 _ACEOF
15371 cat confdefs.h >>conftest.$ac_ext
15372 cat >>conftest.$ac_ext <<_ACEOF
15373 /* end confdefs.h. */
15375 /* Override any gcc2 internal prototype to avoid an error. */
15376 #ifdef __cplusplus
15377 extern "C"
15378 #endif
15379 /* We use char because int might match the return type of a gcc2
15380 builtin and then its argument prototype would still apply. */
15381 char waddch ();
15383 main ()
15385 waddch ();
15387 return 0;
15389 _ACEOF
15390 rm -f conftest.$ac_objext conftest$ac_exeext
15391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15392 (eval $ac_link) 2>conftest.er1
15393 ac_status=$?
15394 grep -v '^ *+' conftest.er1 >conftest.err
15395 rm -f conftest.er1
15396 cat conftest.err >&5
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); } &&
15399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15401 (eval $ac_try) 2>&5
15402 ac_status=$?
15403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15404 (exit $ac_status); }; } &&
15405 { ac_try='test -s conftest$ac_exeext'
15406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15407 (eval $ac_try) 2>&5
15408 ac_status=$?
15409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15410 (exit $ac_status); }; }; then
15411 ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"`
15412 if test "x$ac_cv_lib_soname_curses" = "x"
15413 then
15414 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15416 else
15417 echo "$as_me: failed program was:" >&5
15418 sed 's/^/| /' conftest.$ac_ext >&5
15420 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15422 rm -f conftest.err conftest.$ac_objext \
15423 conftest$ac_exeext conftest.$ac_ext
15424 LIBS=$ac_get_soname_save_LIBS
15426 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15427 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15428 if test "x$ac_cv_lib_soname_curses" != xNONE
15429 then
15430 cat >>confdefs.h <<_ACEOF
15431 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15432 _ACEOF
15435 echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15436 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6
15437 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15438 echo $ECHO_N "(cached) $ECHO_C" >&6
15439 else
15440 ac_get_soname_save_LIBS=$LIBS
15441 LIBS="-ljpeg $LIBS"
15442 cat >conftest.$ac_ext <<_ACEOF
15443 /* confdefs.h. */
15444 _ACEOF
15445 cat confdefs.h >>conftest.$ac_ext
15446 cat >>conftest.$ac_ext <<_ACEOF
15447 /* end confdefs.h. */
15449 /* Override any gcc2 internal prototype to avoid an error. */
15450 #ifdef __cplusplus
15451 extern "C"
15452 #endif
15453 /* We use char because int might match the return type of a gcc2
15454 builtin and then its argument prototype would still apply. */
15455 char jpeg_start_decompress ();
15457 main ()
15459 jpeg_start_decompress ();
15461 return 0;
15463 _ACEOF
15464 rm -f conftest.$ac_objext conftest$ac_exeext
15465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15466 (eval $ac_link) 2>conftest.er1
15467 ac_status=$?
15468 grep -v '^ *+' conftest.er1 >conftest.err
15469 rm -f conftest.er1
15470 cat conftest.err >&5
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); } &&
15473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15475 (eval $ac_try) 2>&5
15476 ac_status=$?
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); }; } &&
15479 { ac_try='test -s conftest$ac_exeext'
15480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15481 (eval $ac_try) 2>&5
15482 ac_status=$?
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); }; }; then
15485 ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"`
15486 if test "x$ac_cv_lib_soname_jpeg" = "x"
15487 then
15488 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15490 else
15491 echo "$as_me: failed program was:" >&5
15492 sed 's/^/| /' conftest.$ac_ext >&5
15494 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15496 rm -f conftest.err conftest.$ac_objext \
15497 conftest$ac_exeext conftest.$ac_ext
15498 LIBS=$ac_get_soname_save_LIBS
15500 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15501 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6
15502 if test "x$ac_cv_lib_soname_jpeg" != xNONE
15503 then
15504 cat >>confdefs.h <<_ACEOF
15505 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15506 _ACEOF
15509 echo "$as_me:$LINENO: checking for -lungif soname" >&5
15510 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6
15511 if test "${ac_cv_lib_soname_ungif+set}" = set; then
15512 echo $ECHO_N "(cached) $ECHO_C" >&6
15513 else
15514 ac_get_soname_save_LIBS=$LIBS
15515 LIBS="-lungif $LIBS"
15516 cat >conftest.$ac_ext <<_ACEOF
15517 /* confdefs.h. */
15518 _ACEOF
15519 cat confdefs.h >>conftest.$ac_ext
15520 cat >>conftest.$ac_ext <<_ACEOF
15521 /* end confdefs.h. */
15523 /* Override any gcc2 internal prototype to avoid an error. */
15524 #ifdef __cplusplus
15525 extern "C"
15526 #endif
15527 /* We use char because int might match the return type of a gcc2
15528 builtin and then its argument prototype would still apply. */
15529 char DGifOpen ();
15531 main ()
15533 DGifOpen ();
15535 return 0;
15537 _ACEOF
15538 rm -f conftest.$ac_objext conftest$ac_exeext
15539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15540 (eval $ac_link) 2>conftest.er1
15541 ac_status=$?
15542 grep -v '^ *+' conftest.er1 >conftest.err
15543 rm -f conftest.er1
15544 cat conftest.err >&5
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); } &&
15547 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15549 (eval $ac_try) 2>&5
15550 ac_status=$?
15551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552 (exit $ac_status); }; } &&
15553 { ac_try='test -s conftest$ac_exeext'
15554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15555 (eval $ac_try) 2>&5
15556 ac_status=$?
15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15558 (exit $ac_status); }; }; then
15559 ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"`
15560 if test "x$ac_cv_lib_soname_ungif" = "x"
15561 then
15562 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
15564 else
15565 echo "$as_me: failed program was:" >&5
15566 sed 's/^/| /' conftest.$ac_ext >&5
15568 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
15570 rm -f conftest.err conftest.$ac_objext \
15571 conftest$ac_exeext conftest.$ac_ext
15572 LIBS=$ac_get_soname_save_LIBS
15574 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
15575 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6
15576 if test "x$ac_cv_lib_soname_ungif" != xNONE
15577 then
15578 cat >>confdefs.h <<_ACEOF
15579 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
15580 _ACEOF
15583 echo "$as_me:$LINENO: checking for -lgif soname" >&5
15584 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6
15585 if test "${ac_cv_lib_soname_gif+set}" = set; then
15586 echo $ECHO_N "(cached) $ECHO_C" >&6
15587 else
15588 ac_get_soname_save_LIBS=$LIBS
15589 LIBS="-lgif $LIBS"
15590 cat >conftest.$ac_ext <<_ACEOF
15591 /* confdefs.h. */
15592 _ACEOF
15593 cat confdefs.h >>conftest.$ac_ext
15594 cat >>conftest.$ac_ext <<_ACEOF
15595 /* end confdefs.h. */
15597 /* Override any gcc2 internal prototype to avoid an error. */
15598 #ifdef __cplusplus
15599 extern "C"
15600 #endif
15601 /* We use char because int might match the return type of a gcc2
15602 builtin and then its argument prototype would still apply. */
15603 char DGifOpen ();
15605 main ()
15607 DGifOpen ();
15609 return 0;
15611 _ACEOF
15612 rm -f conftest.$ac_objext conftest$ac_exeext
15613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15614 (eval $ac_link) 2>conftest.er1
15615 ac_status=$?
15616 grep -v '^ *+' conftest.er1 >conftest.err
15617 rm -f conftest.er1
15618 cat conftest.err >&5
15619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15620 (exit $ac_status); } &&
15621 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15623 (eval $ac_try) 2>&5
15624 ac_status=$?
15625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15626 (exit $ac_status); }; } &&
15627 { ac_try='test -s conftest$ac_exeext'
15628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15629 (eval $ac_try) 2>&5
15630 ac_status=$?
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); }; }; then
15633 ac_cv_lib_soname_gif=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"`
15634 if test "x$ac_cv_lib_soname_gif" = "x"
15635 then
15636 ac_cv_lib_soname_gif="libgif.$LIBEXT"
15638 else
15639 echo "$as_me: failed program was:" >&5
15640 sed 's/^/| /' conftest.$ac_ext >&5
15642 ac_cv_lib_soname_gif="libgif.$LIBEXT"
15644 rm -f conftest.err conftest.$ac_objext \
15645 conftest$ac_exeext conftest.$ac_ext
15646 LIBS=$ac_get_soname_save_LIBS
15648 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
15649 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6
15650 if test "x$ac_cv_lib_soname_gif" != xNONE
15651 then
15652 cat >>confdefs.h <<_ACEOF
15653 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
15654 _ACEOF
15657 echo "$as_me:$LINENO: checking for -llcms soname" >&5
15658 echo $ECHO_N "checking for -llcms soname... $ECHO_C" >&6
15659 if test "${ac_cv_lib_soname_lcms+set}" = set; then
15660 echo $ECHO_N "(cached) $ECHO_C" >&6
15661 else
15662 ac_get_soname_save_LIBS=$LIBS
15663 LIBS="-llcms $LIBS"
15664 cat >conftest.$ac_ext <<_ACEOF
15665 /* confdefs.h. */
15666 _ACEOF
15667 cat confdefs.h >>conftest.$ac_ext
15668 cat >>conftest.$ac_ext <<_ACEOF
15669 /* end confdefs.h. */
15671 /* Override any gcc2 internal prototype to avoid an error. */
15672 #ifdef __cplusplus
15673 extern "C"
15674 #endif
15675 /* We use char because int might match the return type of a gcc2
15676 builtin and then its argument prototype would still apply. */
15677 char cmsOpenProfileFromFile ();
15679 main ()
15681 cmsOpenProfileFromFile ();
15683 return 0;
15685 _ACEOF
15686 rm -f conftest.$ac_objext conftest$ac_exeext
15687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15688 (eval $ac_link) 2>conftest.er1
15689 ac_status=$?
15690 grep -v '^ *+' conftest.er1 >conftest.err
15691 rm -f conftest.er1
15692 cat conftest.err >&5
15693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15694 (exit $ac_status); } &&
15695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15697 (eval $ac_try) 2>&5
15698 ac_status=$?
15699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700 (exit $ac_status); }; } &&
15701 { ac_try='test -s conftest$ac_exeext'
15702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15703 (eval $ac_try) 2>&5
15704 ac_status=$?
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); }; }; then
15707 ac_cv_lib_soname_lcms=`$ac_cv_path_LDD conftest$ac_exeext | grep liblcms\\.$LIBEXT | sed "s/^.*\(liblcms\.$LIBEXT[^ ]*\).*$/\1/"`
15708 if test "x$ac_cv_lib_soname_lcms" = "x"
15709 then
15710 ac_cv_lib_soname_lcms="liblcms.$LIBEXT"
15712 else
15713 echo "$as_me: failed program was:" >&5
15714 sed 's/^/| /' conftest.$ac_ext >&5
15716 ac_cv_lib_soname_lcms="liblcms.$LIBEXT"
15718 rm -f conftest.err conftest.$ac_objext \
15719 conftest$ac_exeext conftest.$ac_ext
15720 LIBS=$ac_get_soname_save_LIBS
15722 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_lcms" >&5
15723 echo "${ECHO_T}$ac_cv_lib_soname_lcms" >&6
15724 if test "x$ac_cv_lib_soname_lcms" != xNONE
15725 then
15726 cat >>confdefs.h <<_ACEOF
15727 #define SONAME_LIBLCMS "$ac_cv_lib_soname_lcms"
15728 _ACEOF
15731 echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15732 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6
15733 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15734 echo $ECHO_N "(cached) $ECHO_C" >&6
15735 else
15736 ac_get_soname_save_LIBS=$LIBS
15737 LIBS="-lcapi20 $LIBS"
15738 cat >conftest.$ac_ext <<_ACEOF
15739 /* confdefs.h. */
15740 _ACEOF
15741 cat confdefs.h >>conftest.$ac_ext
15742 cat >>conftest.$ac_ext <<_ACEOF
15743 /* end confdefs.h. */
15745 /* Override any gcc2 internal prototype to avoid an error. */
15746 #ifdef __cplusplus
15747 extern "C"
15748 #endif
15749 /* We use char because int might match the return type of a gcc2
15750 builtin and then its argument prototype would still apply. */
15751 char capi20_isinstalled ();
15753 main ()
15755 capi20_isinstalled ();
15757 return 0;
15759 _ACEOF
15760 rm -f conftest.$ac_objext conftest$ac_exeext
15761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15762 (eval $ac_link) 2>conftest.er1
15763 ac_status=$?
15764 grep -v '^ *+' conftest.er1 >conftest.err
15765 rm -f conftest.er1
15766 cat conftest.err >&5
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); } &&
15769 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15771 (eval $ac_try) 2>&5
15772 ac_status=$?
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); }; } &&
15775 { ac_try='test -s conftest$ac_exeext'
15776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15777 (eval $ac_try) 2>&5
15778 ac_status=$?
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); }; }; then
15781 ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.$LIBEXT | sed "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"`
15782 if test "x$ac_cv_lib_soname_capi20" = "x"
15783 then
15784 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15786 else
15787 echo "$as_me: failed program was:" >&5
15788 sed 's/^/| /' conftest.$ac_ext >&5
15790 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15792 rm -f conftest.err conftest.$ac_objext \
15793 conftest$ac_exeext conftest.$ac_ext
15794 LIBS=$ac_get_soname_save_LIBS
15796 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15797 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6
15798 if test "x$ac_cv_lib_soname_capi20" != xNONE
15799 then
15800 cat >>confdefs.h <<_ACEOF
15801 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15802 _ACEOF
15808 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15809 # for constant arguments. Useless!
15810 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15811 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15812 if test "${ac_cv_working_alloca_h+set}" = set; then
15813 echo $ECHO_N "(cached) $ECHO_C" >&6
15814 else
15815 cat >conftest.$ac_ext <<_ACEOF
15816 /* confdefs.h. */
15817 _ACEOF
15818 cat confdefs.h >>conftest.$ac_ext
15819 cat >>conftest.$ac_ext <<_ACEOF
15820 /* end confdefs.h. */
15821 #include <alloca.h>
15823 main ()
15825 char *p = (char *) alloca (2 * sizeof (int));
15827 return 0;
15829 _ACEOF
15830 rm -f conftest.$ac_objext conftest$ac_exeext
15831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15832 (eval $ac_link) 2>conftest.er1
15833 ac_status=$?
15834 grep -v '^ *+' conftest.er1 >conftest.err
15835 rm -f conftest.er1
15836 cat conftest.err >&5
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); } &&
15839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15841 (eval $ac_try) 2>&5
15842 ac_status=$?
15843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15844 (exit $ac_status); }; } &&
15845 { ac_try='test -s conftest$ac_exeext'
15846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15847 (eval $ac_try) 2>&5
15848 ac_status=$?
15849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 (exit $ac_status); }; }; then
15851 ac_cv_working_alloca_h=yes
15852 else
15853 echo "$as_me: failed program was:" >&5
15854 sed 's/^/| /' conftest.$ac_ext >&5
15856 ac_cv_working_alloca_h=no
15858 rm -f conftest.err conftest.$ac_objext \
15859 conftest$ac_exeext conftest.$ac_ext
15861 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15862 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15863 if test $ac_cv_working_alloca_h = yes; then
15865 cat >>confdefs.h <<\_ACEOF
15866 #define HAVE_ALLOCA_H 1
15867 _ACEOF
15871 echo "$as_me:$LINENO: checking for alloca" >&5
15872 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15873 if test "${ac_cv_func_alloca_works+set}" = set; then
15874 echo $ECHO_N "(cached) $ECHO_C" >&6
15875 else
15876 cat >conftest.$ac_ext <<_ACEOF
15877 /* confdefs.h. */
15878 _ACEOF
15879 cat confdefs.h >>conftest.$ac_ext
15880 cat >>conftest.$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15882 #ifdef __GNUC__
15883 # define alloca __builtin_alloca
15884 #else
15885 # ifdef _MSC_VER
15886 # include <malloc.h>
15887 # define alloca _alloca
15888 # else
15889 # if HAVE_ALLOCA_H
15890 # include <alloca.h>
15891 # else
15892 # ifdef _AIX
15893 #pragma alloca
15894 # else
15895 # ifndef alloca /* predefined by HP cc +Olibcalls */
15896 char *alloca ();
15897 # endif
15898 # endif
15899 # endif
15900 # endif
15901 #endif
15904 main ()
15906 char *p = (char *) alloca (1);
15908 return 0;
15910 _ACEOF
15911 rm -f conftest.$ac_objext conftest$ac_exeext
15912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15913 (eval $ac_link) 2>conftest.er1
15914 ac_status=$?
15915 grep -v '^ *+' conftest.er1 >conftest.err
15916 rm -f conftest.er1
15917 cat conftest.err >&5
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); } &&
15920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15922 (eval $ac_try) 2>&5
15923 ac_status=$?
15924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15925 (exit $ac_status); }; } &&
15926 { ac_try='test -s conftest$ac_exeext'
15927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15928 (eval $ac_try) 2>&5
15929 ac_status=$?
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); }; }; then
15932 ac_cv_func_alloca_works=yes
15933 else
15934 echo "$as_me: failed program was:" >&5
15935 sed 's/^/| /' conftest.$ac_ext >&5
15937 ac_cv_func_alloca_works=no
15939 rm -f conftest.err conftest.$ac_objext \
15940 conftest$ac_exeext conftest.$ac_ext
15942 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15943 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15945 if test $ac_cv_func_alloca_works = yes; then
15947 cat >>confdefs.h <<\_ACEOF
15948 #define HAVE_ALLOCA 1
15949 _ACEOF
15951 else
15952 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15953 # that cause trouble. Some versions do not even contain alloca or
15954 # contain a buggy version. If you still want to use their alloca,
15955 # use ar to extract alloca.o from them instead of compiling alloca.c.
15957 ALLOCA=alloca.$ac_objext
15959 cat >>confdefs.h <<\_ACEOF
15960 #define C_ALLOCA 1
15961 _ACEOF
15964 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15965 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15966 if test "${ac_cv_os_cray+set}" = set; then
15967 echo $ECHO_N "(cached) $ECHO_C" >&6
15968 else
15969 cat >conftest.$ac_ext <<_ACEOF
15970 /* confdefs.h. */
15971 _ACEOF
15972 cat confdefs.h >>conftest.$ac_ext
15973 cat >>conftest.$ac_ext <<_ACEOF
15974 /* end confdefs.h. */
15975 #if defined(CRAY) && ! defined(CRAY2)
15976 webecray
15977 #else
15978 wenotbecray
15979 #endif
15981 _ACEOF
15982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15983 $EGREP "webecray" >/dev/null 2>&1; then
15984 ac_cv_os_cray=yes
15985 else
15986 ac_cv_os_cray=no
15988 rm -f conftest*
15991 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15992 echo "${ECHO_T}$ac_cv_os_cray" >&6
15993 if test $ac_cv_os_cray = yes; then
15994 for ac_func in _getb67 GETB67 getb67; do
15995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15996 echo "$as_me:$LINENO: checking for $ac_func" >&5
15997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15998 if eval "test \"\${$as_ac_var+set}\" = set"; then
15999 echo $ECHO_N "(cached) $ECHO_C" >&6
16000 else
16001 cat >conftest.$ac_ext <<_ACEOF
16002 /* confdefs.h. */
16003 _ACEOF
16004 cat confdefs.h >>conftest.$ac_ext
16005 cat >>conftest.$ac_ext <<_ACEOF
16006 /* end confdefs.h. */
16007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16009 #define $ac_func innocuous_$ac_func
16011 /* System header to define __stub macros and hopefully few prototypes,
16012 which can conflict with char $ac_func (); below.
16013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16014 <limits.h> exists even on freestanding compilers. */
16016 #ifdef __STDC__
16017 # include <limits.h>
16018 #else
16019 # include <assert.h>
16020 #endif
16022 #undef $ac_func
16024 /* Override any gcc2 internal prototype to avoid an error. */
16025 #ifdef __cplusplus
16026 extern "C"
16028 #endif
16029 /* We use char because int might match the return type of a gcc2
16030 builtin and then its argument prototype would still apply. */
16031 char $ac_func ();
16032 /* The GNU C library defines this for functions which it implements
16033 to always fail with ENOSYS. Some functions are actually named
16034 something starting with __ and the normal name is an alias. */
16035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16036 choke me
16037 #else
16038 char (*f) () = $ac_func;
16039 #endif
16040 #ifdef __cplusplus
16042 #endif
16045 main ()
16047 return f != $ac_func;
16049 return 0;
16051 _ACEOF
16052 rm -f conftest.$ac_objext conftest$ac_exeext
16053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16054 (eval $ac_link) 2>conftest.er1
16055 ac_status=$?
16056 grep -v '^ *+' conftest.er1 >conftest.err
16057 rm -f conftest.er1
16058 cat conftest.err >&5
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); } &&
16061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16063 (eval $ac_try) 2>&5
16064 ac_status=$?
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); }; } &&
16067 { ac_try='test -s conftest$ac_exeext'
16068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16069 (eval $ac_try) 2>&5
16070 ac_status=$?
16071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16072 (exit $ac_status); }; }; then
16073 eval "$as_ac_var=yes"
16074 else
16075 echo "$as_me: failed program was:" >&5
16076 sed 's/^/| /' conftest.$ac_ext >&5
16078 eval "$as_ac_var=no"
16080 rm -f conftest.err conftest.$ac_objext \
16081 conftest$ac_exeext conftest.$ac_ext
16083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16085 if test `eval echo '${'$as_ac_var'}'` = yes; then
16087 cat >>confdefs.h <<_ACEOF
16088 #define CRAY_STACKSEG_END $ac_func
16089 _ACEOF
16091 break
16094 done
16097 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16098 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
16099 if test "${ac_cv_c_stack_direction+set}" = set; then
16100 echo $ECHO_N "(cached) $ECHO_C" >&6
16101 else
16102 if test "$cross_compiling" = yes; then
16103 ac_cv_c_stack_direction=0
16104 else
16105 cat >conftest.$ac_ext <<_ACEOF
16106 /* confdefs.h. */
16107 _ACEOF
16108 cat confdefs.h >>conftest.$ac_ext
16109 cat >>conftest.$ac_ext <<_ACEOF
16110 /* end confdefs.h. */
16112 find_stack_direction ()
16114 static char *addr = 0;
16115 auto char dummy;
16116 if (addr == 0)
16118 addr = &dummy;
16119 return find_stack_direction ();
16121 else
16122 return (&dummy > addr) ? 1 : -1;
16126 main ()
16128 exit (find_stack_direction () < 0);
16130 _ACEOF
16131 rm -f conftest$ac_exeext
16132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16133 (eval $ac_link) 2>&5
16134 ac_status=$?
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16138 (eval $ac_try) 2>&5
16139 ac_status=$?
16140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16141 (exit $ac_status); }; }; then
16142 ac_cv_c_stack_direction=1
16143 else
16144 echo "$as_me: program exited with status $ac_status" >&5
16145 echo "$as_me: failed program was:" >&5
16146 sed 's/^/| /' conftest.$ac_ext >&5
16148 ( exit $ac_status )
16149 ac_cv_c_stack_direction=-1
16151 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16154 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16155 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16157 cat >>confdefs.h <<_ACEOF
16158 #define STACK_DIRECTION $ac_cv_c_stack_direction
16159 _ACEOF
16224 for ac_func in \
16225 _lwp_create \
16226 _lwp_self \
16227 _pclose \
16228 _popen \
16229 _snprintf \
16230 _spawnvp \
16231 _stricmp \
16232 _strnicmp \
16233 _vsnprintf \
16234 chsize \
16235 clone \
16236 epoll_create \
16237 ffs \
16238 finite \
16239 fork \
16240 fpclass \
16241 fstatfs \
16242 fstatvfs \
16243 ftruncate \
16244 futimes \
16245 futimesat \
16246 getnetbyname \
16247 getopt_long \
16248 getpagesize \
16249 getprotobyname \
16250 getprotobynumber \
16251 getpwuid \
16252 getservbyport \
16253 gettid \
16254 gettimeofday \
16255 getuid \
16256 inet_network \
16257 lstat \
16258 memmove \
16259 mmap \
16260 pclose \
16261 popen \
16262 pread \
16263 pwrite \
16264 readlink \
16265 rfork \
16266 sched_yield \
16267 select \
16268 sendmsg \
16269 settimeofday \
16270 sigaltstack \
16271 sigprocmask \
16272 snprintf \
16273 spawnvp \
16274 statfs \
16275 statvfs \
16276 strcasecmp \
16277 strerror \
16278 strncasecmp \
16279 tcgetattr \
16280 timegm \
16281 usleep \
16282 vsnprintf \
16283 wait4 \
16284 waitpid \
16287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16288 echo "$as_me:$LINENO: checking for $ac_func" >&5
16289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16290 if eval "test \"\${$as_ac_var+set}\" = set"; then
16291 echo $ECHO_N "(cached) $ECHO_C" >&6
16292 else
16293 cat >conftest.$ac_ext <<_ACEOF
16294 /* confdefs.h. */
16295 _ACEOF
16296 cat confdefs.h >>conftest.$ac_ext
16297 cat >>conftest.$ac_ext <<_ACEOF
16298 /* end confdefs.h. */
16299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16301 #define $ac_func innocuous_$ac_func
16303 /* System header to define __stub macros and hopefully few prototypes,
16304 which can conflict with char $ac_func (); below.
16305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16306 <limits.h> exists even on freestanding compilers. */
16308 #ifdef __STDC__
16309 # include <limits.h>
16310 #else
16311 # include <assert.h>
16312 #endif
16314 #undef $ac_func
16316 /* Override any gcc2 internal prototype to avoid an error. */
16317 #ifdef __cplusplus
16318 extern "C"
16320 #endif
16321 /* We use char because int might match the return type of a gcc2
16322 builtin and then its argument prototype would still apply. */
16323 char $ac_func ();
16324 /* The GNU C library defines this for functions which it implements
16325 to always fail with ENOSYS. Some functions are actually named
16326 something starting with __ and the normal name is an alias. */
16327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16328 choke me
16329 #else
16330 char (*f) () = $ac_func;
16331 #endif
16332 #ifdef __cplusplus
16334 #endif
16337 main ()
16339 return f != $ac_func;
16341 return 0;
16343 _ACEOF
16344 rm -f conftest.$ac_objext conftest$ac_exeext
16345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16346 (eval $ac_link) 2>conftest.er1
16347 ac_status=$?
16348 grep -v '^ *+' conftest.er1 >conftest.err
16349 rm -f conftest.er1
16350 cat conftest.err >&5
16351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16352 (exit $ac_status); } &&
16353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16355 (eval $ac_try) 2>&5
16356 ac_status=$?
16357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16358 (exit $ac_status); }; } &&
16359 { ac_try='test -s conftest$ac_exeext'
16360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16361 (eval $ac_try) 2>&5
16362 ac_status=$?
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); }; }; then
16365 eval "$as_ac_var=yes"
16366 else
16367 echo "$as_me: failed program was:" >&5
16368 sed 's/^/| /' conftest.$ac_ext >&5
16370 eval "$as_ac_var=no"
16372 rm -f conftest.err conftest.$ac_objext \
16373 conftest$ac_exeext conftest.$ac_ext
16375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16377 if test `eval echo '${'$as_ac_var'}'` = yes; then
16378 cat >>confdefs.h <<_ACEOF
16379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16380 _ACEOF
16383 done
16389 for ac_header in sys/mount.h sys/user.h
16391 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16392 echo "$as_me:$LINENO: checking for $ac_header" >&5
16393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16395 echo $ECHO_N "(cached) $ECHO_C" >&6
16396 else
16397 cat >conftest.$ac_ext <<_ACEOF
16398 /* confdefs.h. */
16399 _ACEOF
16400 cat confdefs.h >>conftest.$ac_ext
16401 cat >>conftest.$ac_ext <<_ACEOF
16402 /* end confdefs.h. */
16403 #include <sys/types.h>
16404 #if HAVE_SYS_PARAM_H
16405 # include <sys/param.h>
16406 #endif
16408 #include <$ac_header>
16409 _ACEOF
16410 rm -f conftest.$ac_objext
16411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16412 (eval $ac_compile) 2>conftest.er1
16413 ac_status=$?
16414 grep -v '^ *+' conftest.er1 >conftest.err
16415 rm -f conftest.er1
16416 cat conftest.err >&5
16417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16418 (exit $ac_status); } &&
16419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16421 (eval $ac_try) 2>&5
16422 ac_status=$?
16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424 (exit $ac_status); }; } &&
16425 { ac_try='test -s conftest.$ac_objext'
16426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16427 (eval $ac_try) 2>&5
16428 ac_status=$?
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); }; }; then
16431 eval "$as_ac_Header=yes"
16432 else
16433 echo "$as_me: failed program was:" >&5
16434 sed 's/^/| /' conftest.$ac_ext >&5
16436 eval "$as_ac_Header=no"
16438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16442 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16443 cat >>confdefs.h <<_ACEOF
16444 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16445 _ACEOF
16449 done
16457 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h
16459 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16460 echo "$as_me:$LINENO: checking for $ac_header" >&5
16461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16463 echo $ECHO_N "(cached) $ECHO_C" >&6
16464 else
16465 cat >conftest.$ac_ext <<_ACEOF
16466 /* confdefs.h. */
16467 _ACEOF
16468 cat confdefs.h >>conftest.$ac_ext
16469 cat >>conftest.$ac_ext <<_ACEOF
16470 /* end confdefs.h. */
16471 #include <sys/types.h>
16472 #if HAVE_SYS_SOCKET_H
16473 # include <sys/socket.h>
16474 #endif
16476 #include <$ac_header>
16477 _ACEOF
16478 rm -f conftest.$ac_objext
16479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16480 (eval $ac_compile) 2>conftest.er1
16481 ac_status=$?
16482 grep -v '^ *+' conftest.er1 >conftest.err
16483 rm -f conftest.er1
16484 cat conftest.err >&5
16485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486 (exit $ac_status); } &&
16487 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16489 (eval $ac_try) 2>&5
16490 ac_status=$?
16491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16492 (exit $ac_status); }; } &&
16493 { ac_try='test -s conftest.$ac_objext'
16494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16495 (eval $ac_try) 2>&5
16496 ac_status=$?
16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); }; }; then
16499 eval "$as_ac_Header=yes"
16500 else
16501 echo "$as_me: failed program was:" >&5
16502 sed 's/^/| /' conftest.$ac_ext >&5
16504 eval "$as_ac_Header=no"
16506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16509 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16510 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16511 cat >>confdefs.h <<_ACEOF
16512 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16513 _ACEOF
16517 done
16521 for ac_header in resolv.h
16523 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16524 echo "$as_me:$LINENO: checking for $ac_header" >&5
16525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16527 echo $ECHO_N "(cached) $ECHO_C" >&6
16528 else
16529 cat >conftest.$ac_ext <<_ACEOF
16530 /* confdefs.h. */
16531 _ACEOF
16532 cat confdefs.h >>conftest.$ac_ext
16533 cat >>conftest.$ac_ext <<_ACEOF
16534 /* end confdefs.h. */
16535 #include <sys/types.h>
16536 #if HAVE_SYS_SOCKET_H
16537 # include <sys/socket.h>
16538 #endif
16539 #if HAVE_NETINET_IN_H
16540 # include <netinet/in.h>
16541 #endif
16542 #if HAVE_ARPA_NAMESER_H
16543 # include <arpa/nameser.h>
16544 #endif
16546 #include <$ac_header>
16547 _ACEOF
16548 rm -f conftest.$ac_objext
16549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16550 (eval $ac_compile) 2>conftest.er1
16551 ac_status=$?
16552 grep -v '^ *+' conftest.er1 >conftest.err
16553 rm -f conftest.er1
16554 cat conftest.err >&5
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); } &&
16557 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16559 (eval $ac_try) 2>&5
16560 ac_status=$?
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); }; } &&
16563 { ac_try='test -s conftest.$ac_objext'
16564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16565 (eval $ac_try) 2>&5
16566 ac_status=$?
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); }; }; then
16569 eval "$as_ac_Header=yes"
16570 else
16571 echo "$as_me: failed program was:" >&5
16572 sed 's/^/| /' conftest.$ac_ext >&5
16574 eval "$as_ac_Header=no"
16576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16581 cat >>confdefs.h <<_ACEOF
16582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16583 _ACEOF
16587 done
16591 for ac_header in ucontext.h
16593 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16594 echo "$as_me:$LINENO: checking for $ac_header" >&5
16595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16597 echo $ECHO_N "(cached) $ECHO_C" >&6
16598 else
16599 cat >conftest.$ac_ext <<_ACEOF
16600 /* confdefs.h. */
16601 _ACEOF
16602 cat confdefs.h >>conftest.$ac_ext
16603 cat >>conftest.$ac_ext <<_ACEOF
16604 /* end confdefs.h. */
16605 #include <signal.h>
16607 #include <$ac_header>
16608 _ACEOF
16609 rm -f conftest.$ac_objext
16610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16611 (eval $ac_compile) 2>conftest.er1
16612 ac_status=$?
16613 grep -v '^ *+' conftest.er1 >conftest.err
16614 rm -f conftest.er1
16615 cat conftest.err >&5
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); } &&
16618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16620 (eval $ac_try) 2>&5
16621 ac_status=$?
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); }; } &&
16624 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
16630 eval "$as_ac_Header=yes"
16631 else
16632 echo "$as_me: failed program was:" >&5
16633 sed 's/^/| /' conftest.$ac_ext >&5
16635 eval "$as_ac_Header=no"
16637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16642 cat >>confdefs.h <<_ACEOF
16643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16644 _ACEOF
16648 done
16653 for ac_header in linux/videodev.h
16655 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16656 echo "$as_me:$LINENO: checking for $ac_header" >&5
16657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16659 echo $ECHO_N "(cached) $ECHO_C" >&6
16660 else
16661 cat >conftest.$ac_ext <<_ACEOF
16662 /* confdefs.h. */
16663 _ACEOF
16664 cat confdefs.h >>conftest.$ac_ext
16665 cat >>conftest.$ac_ext <<_ACEOF
16666 /* end confdefs.h. */
16667 #ifdef HAVE_SYS_TIME_H
16668 #include <sys/time.h>
16669 #endif
16670 #ifdef HAVE_ASM_TYPES_H
16671 #include <asm/types.h>
16672 #endif
16674 #include <$ac_header>
16675 _ACEOF
16676 rm -f conftest.$ac_objext
16677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16678 (eval $ac_compile) 2>conftest.er1
16679 ac_status=$?
16680 grep -v '^ *+' conftest.er1 >conftest.err
16681 rm -f conftest.er1
16682 cat conftest.err >&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); } &&
16685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16687 (eval $ac_try) 2>&5
16688 ac_status=$?
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); }; } &&
16691 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
16697 eval "$as_ac_Header=yes"
16698 else
16699 echo "$as_me: failed program was:" >&5
16700 sed 's/^/| /' conftest.$ac_ext >&5
16702 eval "$as_ac_Header=no"
16704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16707 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16708 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16709 cat >>confdefs.h <<_ACEOF
16710 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16711 _ACEOF
16715 done
16719 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
16720 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
16721 if test "${ac_cv_c_ipx_gnu+set}" = set; then
16722 echo $ECHO_N "(cached) $ECHO_C" >&6
16723 else
16724 cat >conftest.$ac_ext <<_ACEOF
16725 /* confdefs.h. */
16726 _ACEOF
16727 cat confdefs.h >>conftest.$ac_ext
16728 cat >>conftest.$ac_ext <<_ACEOF
16729 /* end confdefs.h. */
16730 #include <sys/types.h>
16731 #ifdef HAVE_SYS_SOCKET_H
16732 # include <sys/socket.h>
16733 #endif
16734 #include <netipx/ipx.h>
16736 main ()
16738 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16740 return 0;
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 ac_cv_c_ipx_gnu="yes"
16765 else
16766 echo "$as_me: failed program was:" >&5
16767 sed 's/^/| /' conftest.$ac_ext >&5
16769 ac_cv_c_ipx_gnu="no"
16771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16774 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
16775 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
16776 if test "$ac_cv_c_ipx_gnu" = "yes"
16777 then
16779 cat >>confdefs.h <<\_ACEOF
16780 #define HAVE_IPX_GNU 1
16781 _ACEOF
16785 if test "$ac_cv_c_ipx_gnu" = "no"
16786 then
16787 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
16788 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
16789 if test "${ac_cv_c_ipx_linux+set}" = set; then
16790 echo $ECHO_N "(cached) $ECHO_C" >&6
16791 else
16792 cat >conftest.$ac_ext <<_ACEOF
16793 /* confdefs.h. */
16794 _ACEOF
16795 cat confdefs.h >>conftest.$ac_ext
16796 cat >>conftest.$ac_ext <<_ACEOF
16797 /* end confdefs.h. */
16798 #include <sys/types.h>
16799 #ifdef HAVE_SYS_SOCKET_H
16800 # include <sys/socket.h>
16801 #endif
16802 #include <asm/types.h>
16803 #include <linux/ipx.h>
16805 main ()
16807 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16809 return 0;
16811 _ACEOF
16812 rm -f conftest.$ac_objext
16813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16814 (eval $ac_compile) 2>conftest.er1
16815 ac_status=$?
16816 grep -v '^ *+' conftest.er1 >conftest.err
16817 rm -f conftest.er1
16818 cat conftest.err >&5
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); } &&
16821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16823 (eval $ac_try) 2>&5
16824 ac_status=$?
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); }; } &&
16827 { ac_try='test -s conftest.$ac_objext'
16828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16829 (eval $ac_try) 2>&5
16830 ac_status=$?
16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832 (exit $ac_status); }; }; then
16833 ac_cv_c_ipx_linux="yes"
16834 else
16835 echo "$as_me: failed program was:" >&5
16836 sed 's/^/| /' conftest.$ac_ext >&5
16838 ac_cv_c_ipx_linux="no"
16840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16843 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
16844 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
16845 if test "$ac_cv_c_ipx_linux" = "yes"
16846 then
16848 cat >>confdefs.h <<\_ACEOF
16849 #define HAVE_IPX_LINUX 1
16850 _ACEOF
16856 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16857 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16858 if test "${ac_cv_c_const+set}" = set; then
16859 echo $ECHO_N "(cached) $ECHO_C" >&6
16860 else
16861 cat >conftest.$ac_ext <<_ACEOF
16862 /* confdefs.h. */
16863 _ACEOF
16864 cat confdefs.h >>conftest.$ac_ext
16865 cat >>conftest.$ac_ext <<_ACEOF
16866 /* end confdefs.h. */
16869 main ()
16871 /* FIXME: Include the comments suggested by Paul. */
16872 #ifndef __cplusplus
16873 /* Ultrix mips cc rejects this. */
16874 typedef int charset[2];
16875 const charset x;
16876 /* SunOS 4.1.1 cc rejects this. */
16877 char const *const *ccp;
16878 char **p;
16879 /* NEC SVR4.0.2 mips cc rejects this. */
16880 struct point {int x, y;};
16881 static struct point const zero = {0,0};
16882 /* AIX XL C 1.02.0.0 rejects this.
16883 It does not let you subtract one const X* pointer from another in
16884 an arm of an if-expression whose if-part is not a constant
16885 expression */
16886 const char *g = "string";
16887 ccp = &g + (g ? g-g : 0);
16888 /* HPUX 7.0 cc rejects these. */
16889 ++ccp;
16890 p = (char**) ccp;
16891 ccp = (char const *const *) p;
16892 { /* SCO 3.2v4 cc rejects this. */
16893 char *t;
16894 char const *s = 0 ? (char *) 0 : (char const *) 0;
16896 *t++ = 0;
16898 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16899 int x[] = {25, 17};
16900 const int *foo = &x[0];
16901 ++foo;
16903 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16904 typedef const int *iptr;
16905 iptr p = 0;
16906 ++p;
16908 { /* AIX XL C 1.02.0.0 rejects this saying
16909 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16910 struct s { int j; const int *ap[3]; };
16911 struct s *b; b->j = 5;
16913 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16914 const int foo = 10;
16916 #endif
16919 return 0;
16921 _ACEOF
16922 rm -f conftest.$ac_objext
16923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16924 (eval $ac_compile) 2>conftest.er1
16925 ac_status=$?
16926 grep -v '^ *+' conftest.er1 >conftest.err
16927 rm -f conftest.er1
16928 cat conftest.err >&5
16929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); } &&
16931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16933 (eval $ac_try) 2>&5
16934 ac_status=$?
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); }; } &&
16937 { ac_try='test -s conftest.$ac_objext'
16938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16939 (eval $ac_try) 2>&5
16940 ac_status=$?
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); }; }; then
16943 ac_cv_c_const=yes
16944 else
16945 echo "$as_me: failed program was:" >&5
16946 sed 's/^/| /' conftest.$ac_ext >&5
16948 ac_cv_c_const=no
16950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16952 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16953 echo "${ECHO_T}$ac_cv_c_const" >&6
16954 if test $ac_cv_c_const = no; then
16956 cat >>confdefs.h <<\_ACEOF
16957 #define const
16958 _ACEOF
16962 echo "$as_me:$LINENO: checking for inline" >&5
16963 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16964 if test "${ac_cv_c_inline+set}" = set; then
16965 echo $ECHO_N "(cached) $ECHO_C" >&6
16966 else
16967 ac_cv_c_inline=no
16968 for ac_kw in inline __inline__ __inline; do
16969 cat >conftest.$ac_ext <<_ACEOF
16970 /* confdefs.h. */
16971 _ACEOF
16972 cat confdefs.h >>conftest.$ac_ext
16973 cat >>conftest.$ac_ext <<_ACEOF
16974 /* end confdefs.h. */
16975 #ifndef __cplusplus
16976 typedef int foo_t;
16977 static $ac_kw foo_t static_foo () {return 0; }
16978 $ac_kw foo_t foo () {return 0; }
16979 #endif
16981 _ACEOF
16982 rm -f conftest.$ac_objext
16983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16984 (eval $ac_compile) 2>conftest.er1
16985 ac_status=$?
16986 grep -v '^ *+' conftest.er1 >conftest.err
16987 rm -f conftest.er1
16988 cat conftest.err >&5
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); } &&
16991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16993 (eval $ac_try) 2>&5
16994 ac_status=$?
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); }; } &&
16997 { ac_try='test -s conftest.$ac_objext'
16998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16999 (eval $ac_try) 2>&5
17000 ac_status=$?
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); }; }; then
17003 ac_cv_c_inline=$ac_kw; break
17004 else
17005 echo "$as_me: failed program was:" >&5
17006 sed 's/^/| /' conftest.$ac_ext >&5
17009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17010 done
17013 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17014 echo "${ECHO_T}$ac_cv_c_inline" >&6
17017 case $ac_cv_c_inline in
17018 inline | yes) ;;
17020 case $ac_cv_c_inline in
17021 no) ac_val=;;
17022 *) ac_val=$ac_cv_c_inline;;
17023 esac
17024 cat >>confdefs.h <<_ACEOF
17025 #ifndef __cplusplus
17026 #define inline $ac_val
17027 #endif
17028 _ACEOF
17030 esac
17032 echo "$as_me:$LINENO: checking for mode_t" >&5
17033 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
17034 if test "${ac_cv_type_mode_t+set}" = set; then
17035 echo $ECHO_N "(cached) $ECHO_C" >&6
17036 else
17037 cat >conftest.$ac_ext <<_ACEOF
17038 /* confdefs.h. */
17039 _ACEOF
17040 cat confdefs.h >>conftest.$ac_ext
17041 cat >>conftest.$ac_ext <<_ACEOF
17042 /* end confdefs.h. */
17043 $ac_includes_default
17045 main ()
17047 if ((mode_t *) 0)
17048 return 0;
17049 if (sizeof (mode_t))
17050 return 0;
17052 return 0;
17054 _ACEOF
17055 rm -f conftest.$ac_objext
17056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17057 (eval $ac_compile) 2>conftest.er1
17058 ac_status=$?
17059 grep -v '^ *+' conftest.er1 >conftest.err
17060 rm -f conftest.er1
17061 cat conftest.err >&5
17062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); } &&
17064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17070 { ac_try='test -s conftest.$ac_objext'
17071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17072 (eval $ac_try) 2>&5
17073 ac_status=$?
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); }; }; then
17076 ac_cv_type_mode_t=yes
17077 else
17078 echo "$as_me: failed program was:" >&5
17079 sed 's/^/| /' conftest.$ac_ext >&5
17081 ac_cv_type_mode_t=no
17083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17085 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17086 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
17087 if test $ac_cv_type_mode_t = yes; then
17089 cat >>confdefs.h <<_ACEOF
17090 #define HAVE_MODE_T 1
17091 _ACEOF
17095 echo "$as_me:$LINENO: checking for off_t" >&5
17096 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
17097 if test "${ac_cv_type_off_t+set}" = set; then
17098 echo $ECHO_N "(cached) $ECHO_C" >&6
17099 else
17100 cat >conftest.$ac_ext <<_ACEOF
17101 /* confdefs.h. */
17102 _ACEOF
17103 cat confdefs.h >>conftest.$ac_ext
17104 cat >>conftest.$ac_ext <<_ACEOF
17105 /* end confdefs.h. */
17106 $ac_includes_default
17108 main ()
17110 if ((off_t *) 0)
17111 return 0;
17112 if (sizeof (off_t))
17113 return 0;
17115 return 0;
17117 _ACEOF
17118 rm -f conftest.$ac_objext
17119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17120 (eval $ac_compile) 2>conftest.er1
17121 ac_status=$?
17122 grep -v '^ *+' conftest.er1 >conftest.err
17123 rm -f conftest.er1
17124 cat conftest.err >&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); } &&
17127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17129 (eval $ac_try) 2>&5
17130 ac_status=$?
17131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17132 (exit $ac_status); }; } &&
17133 { ac_try='test -s conftest.$ac_objext'
17134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17135 (eval $ac_try) 2>&5
17136 ac_status=$?
17137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17138 (exit $ac_status); }; }; then
17139 ac_cv_type_off_t=yes
17140 else
17141 echo "$as_me: failed program was:" >&5
17142 sed 's/^/| /' conftest.$ac_ext >&5
17144 ac_cv_type_off_t=no
17146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17148 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17149 echo "${ECHO_T}$ac_cv_type_off_t" >&6
17150 if test $ac_cv_type_off_t = yes; then
17152 cat >>confdefs.h <<_ACEOF
17153 #define HAVE_OFF_T 1
17154 _ACEOF
17158 echo "$as_me:$LINENO: checking for pid_t" >&5
17159 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17160 if test "${ac_cv_type_pid_t+set}" = set; then
17161 echo $ECHO_N "(cached) $ECHO_C" >&6
17162 else
17163 cat >conftest.$ac_ext <<_ACEOF
17164 /* confdefs.h. */
17165 _ACEOF
17166 cat confdefs.h >>conftest.$ac_ext
17167 cat >>conftest.$ac_ext <<_ACEOF
17168 /* end confdefs.h. */
17169 $ac_includes_default
17171 main ()
17173 if ((pid_t *) 0)
17174 return 0;
17175 if (sizeof (pid_t))
17176 return 0;
17178 return 0;
17180 _ACEOF
17181 rm -f conftest.$ac_objext
17182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17183 (eval $ac_compile) 2>conftest.er1
17184 ac_status=$?
17185 grep -v '^ *+' conftest.er1 >conftest.err
17186 rm -f conftest.er1
17187 cat conftest.err >&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } &&
17190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17192 (eval $ac_try) 2>&5
17193 ac_status=$?
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); }; } &&
17196 { ac_try='test -s conftest.$ac_objext'
17197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17198 (eval $ac_try) 2>&5
17199 ac_status=$?
17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201 (exit $ac_status); }; }; then
17202 ac_cv_type_pid_t=yes
17203 else
17204 echo "$as_me: failed program was:" >&5
17205 sed 's/^/| /' conftest.$ac_ext >&5
17207 ac_cv_type_pid_t=no
17209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17211 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17212 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
17213 if test $ac_cv_type_pid_t = yes; then
17215 cat >>confdefs.h <<_ACEOF
17216 #define HAVE_PID_T 1
17217 _ACEOF
17221 echo "$as_me:$LINENO: checking for size_t" >&5
17222 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17223 if test "${ac_cv_type_size_t+set}" = set; then
17224 echo $ECHO_N "(cached) $ECHO_C" >&6
17225 else
17226 cat >conftest.$ac_ext <<_ACEOF
17227 /* confdefs.h. */
17228 _ACEOF
17229 cat confdefs.h >>conftest.$ac_ext
17230 cat >>conftest.$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17232 $ac_includes_default
17234 main ()
17236 if ((size_t *) 0)
17237 return 0;
17238 if (sizeof (size_t))
17239 return 0;
17241 return 0;
17243 _ACEOF
17244 rm -f conftest.$ac_objext
17245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17246 (eval $ac_compile) 2>conftest.er1
17247 ac_status=$?
17248 grep -v '^ *+' conftest.er1 >conftest.err
17249 rm -f conftest.er1
17250 cat conftest.err >&5
17251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); } &&
17253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17255 (eval $ac_try) 2>&5
17256 ac_status=$?
17257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17258 (exit $ac_status); }; } &&
17259 { ac_try='test -s conftest.$ac_objext'
17260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17261 (eval $ac_try) 2>&5
17262 ac_status=$?
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); }; }; then
17265 ac_cv_type_size_t=yes
17266 else
17267 echo "$as_me: failed program was:" >&5
17268 sed 's/^/| /' conftest.$ac_ext >&5
17270 ac_cv_type_size_t=no
17272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17274 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17275 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17276 if test $ac_cv_type_size_t = yes; then
17278 cat >>confdefs.h <<_ACEOF
17279 #define HAVE_SIZE_T 1
17280 _ACEOF
17284 echo "$as_me:$LINENO: checking for ssize_t" >&5
17285 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17286 if test "${ac_cv_type_ssize_t+set}" = set; then
17287 echo $ECHO_N "(cached) $ECHO_C" >&6
17288 else
17289 cat >conftest.$ac_ext <<_ACEOF
17290 /* confdefs.h. */
17291 _ACEOF
17292 cat confdefs.h >>conftest.$ac_ext
17293 cat >>conftest.$ac_ext <<_ACEOF
17294 /* end confdefs.h. */
17295 $ac_includes_default
17297 main ()
17299 if ((ssize_t *) 0)
17300 return 0;
17301 if (sizeof (ssize_t))
17302 return 0;
17304 return 0;
17306 _ACEOF
17307 rm -f conftest.$ac_objext
17308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17309 (eval $ac_compile) 2>conftest.er1
17310 ac_status=$?
17311 grep -v '^ *+' conftest.er1 >conftest.err
17312 rm -f conftest.er1
17313 cat conftest.err >&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } &&
17316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17318 (eval $ac_try) 2>&5
17319 ac_status=$?
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); }; } &&
17322 { ac_try='test -s conftest.$ac_objext'
17323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17324 (eval $ac_try) 2>&5
17325 ac_status=$?
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); }; }; then
17328 ac_cv_type_ssize_t=yes
17329 else
17330 echo "$as_me: failed program was:" >&5
17331 sed 's/^/| /' conftest.$ac_ext >&5
17333 ac_cv_type_ssize_t=no
17335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17337 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17338 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
17339 if test $ac_cv_type_ssize_t = yes; then
17341 cat >>confdefs.h <<_ACEOF
17342 #define HAVE_SSIZE_T 1
17343 _ACEOF
17347 echo "$as_me:$LINENO: checking for long long" >&5
17348 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17349 if test "${ac_cv_type_long_long+set}" = set; then
17350 echo $ECHO_N "(cached) $ECHO_C" >&6
17351 else
17352 cat >conftest.$ac_ext <<_ACEOF
17353 /* confdefs.h. */
17354 _ACEOF
17355 cat confdefs.h >>conftest.$ac_ext
17356 cat >>conftest.$ac_ext <<_ACEOF
17357 /* end confdefs.h. */
17358 $ac_includes_default
17360 main ()
17362 if ((long long *) 0)
17363 return 0;
17364 if (sizeof (long long))
17365 return 0;
17367 return 0;
17369 _ACEOF
17370 rm -f conftest.$ac_objext
17371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17372 (eval $ac_compile) 2>conftest.er1
17373 ac_status=$?
17374 grep -v '^ *+' conftest.er1 >conftest.err
17375 rm -f conftest.er1
17376 cat conftest.err >&5
17377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17378 (exit $ac_status); } &&
17379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17381 (eval $ac_try) 2>&5
17382 ac_status=$?
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); }; } &&
17385 { ac_try='test -s conftest.$ac_objext'
17386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17387 (eval $ac_try) 2>&5
17388 ac_status=$?
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); }; }; then
17391 ac_cv_type_long_long=yes
17392 else
17393 echo "$as_me: failed program was:" >&5
17394 sed 's/^/| /' conftest.$ac_ext >&5
17396 ac_cv_type_long_long=no
17398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17400 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17401 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17402 if test $ac_cv_type_long_long = yes; then
17404 cat >>confdefs.h <<_ACEOF
17405 #define HAVE_LONG_LONG 1
17406 _ACEOF
17410 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17411 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
17412 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17413 echo $ECHO_N "(cached) $ECHO_C" >&6
17414 else
17415 cat >conftest.$ac_ext <<_ACEOF
17416 /* confdefs.h. */
17417 _ACEOF
17418 cat confdefs.h >>conftest.$ac_ext
17419 cat >>conftest.$ac_ext <<_ACEOF
17420 /* end confdefs.h. */
17421 $ac_includes_default
17423 main ()
17425 if ((fsblkcnt_t *) 0)
17426 return 0;
17427 if (sizeof (fsblkcnt_t))
17428 return 0;
17430 return 0;
17432 _ACEOF
17433 rm -f conftest.$ac_objext
17434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17435 (eval $ac_compile) 2>conftest.er1
17436 ac_status=$?
17437 grep -v '^ *+' conftest.er1 >conftest.err
17438 rm -f conftest.er1
17439 cat conftest.err >&5
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); } &&
17442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17444 (eval $ac_try) 2>&5
17445 ac_status=$?
17446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447 (exit $ac_status); }; } &&
17448 { ac_try='test -s conftest.$ac_objext'
17449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17450 (eval $ac_try) 2>&5
17451 ac_status=$?
17452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17453 (exit $ac_status); }; }; then
17454 ac_cv_type_fsblkcnt_t=yes
17455 else
17456 echo "$as_me: failed program was:" >&5
17457 sed 's/^/| /' conftest.$ac_ext >&5
17459 ac_cv_type_fsblkcnt_t=no
17461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17463 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17464 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
17465 if test $ac_cv_type_fsblkcnt_t = yes; then
17467 cat >>confdefs.h <<_ACEOF
17468 #define HAVE_FSBLKCNT_T 1
17469 _ACEOF
17473 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17474 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
17475 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17476 echo $ECHO_N "(cached) $ECHO_C" >&6
17477 else
17478 cat >conftest.$ac_ext <<_ACEOF
17479 /* confdefs.h. */
17480 _ACEOF
17481 cat confdefs.h >>conftest.$ac_ext
17482 cat >>conftest.$ac_ext <<_ACEOF
17483 /* end confdefs.h. */
17484 $ac_includes_default
17486 main ()
17488 if ((fsfilcnt_t *) 0)
17489 return 0;
17490 if (sizeof (fsfilcnt_t))
17491 return 0;
17493 return 0;
17495 _ACEOF
17496 rm -f conftest.$ac_objext
17497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17498 (eval $ac_compile) 2>conftest.er1
17499 ac_status=$?
17500 grep -v '^ *+' conftest.er1 >conftest.err
17501 rm -f conftest.er1
17502 cat conftest.err >&5
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); } &&
17505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17507 (eval $ac_try) 2>&5
17508 ac_status=$?
17509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); }; } &&
17511 { ac_try='test -s conftest.$ac_objext'
17512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17513 (eval $ac_try) 2>&5
17514 ac_status=$?
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); }; }; then
17517 ac_cv_type_fsfilcnt_t=yes
17518 else
17519 echo "$as_me: failed program was:" >&5
17520 sed 's/^/| /' conftest.$ac_ext >&5
17522 ac_cv_type_fsfilcnt_t=no
17524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17526 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17527 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
17528 if test $ac_cv_type_fsfilcnt_t = yes; then
17530 cat >>confdefs.h <<_ACEOF
17531 #define HAVE_FSFILCNT_T 1
17532 _ACEOF
17537 echo "$as_me:$LINENO: checking for sigset_t" >&5
17538 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6
17539 if test "${ac_cv_type_sigset_t+set}" = set; then
17540 echo $ECHO_N "(cached) $ECHO_C" >&6
17541 else
17542 cat >conftest.$ac_ext <<_ACEOF
17543 /* confdefs.h. */
17544 _ACEOF
17545 cat confdefs.h >>conftest.$ac_ext
17546 cat >>conftest.$ac_ext <<_ACEOF
17547 /* end confdefs.h. */
17548 #include <signal.h>
17551 main ()
17553 if ((sigset_t *) 0)
17554 return 0;
17555 if (sizeof (sigset_t))
17556 return 0;
17558 return 0;
17560 _ACEOF
17561 rm -f conftest.$ac_objext
17562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17563 (eval $ac_compile) 2>conftest.er1
17564 ac_status=$?
17565 grep -v '^ *+' conftest.er1 >conftest.err
17566 rm -f conftest.er1
17567 cat conftest.err >&5
17568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569 (exit $ac_status); } &&
17570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17572 (eval $ac_try) 2>&5
17573 ac_status=$?
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); }; } &&
17576 { ac_try='test -s conftest.$ac_objext'
17577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17578 (eval $ac_try) 2>&5
17579 ac_status=$?
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); }; }; then
17582 ac_cv_type_sigset_t=yes
17583 else
17584 echo "$as_me: failed program was:" >&5
17585 sed 's/^/| /' conftest.$ac_ext >&5
17587 ac_cv_type_sigset_t=no
17589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17591 echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17592 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6
17593 if test $ac_cv_type_sigset_t = yes; then
17595 cat >>confdefs.h <<_ACEOF
17596 #define HAVE_SIGSET_T 1
17597 _ACEOF
17603 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17604 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17605 if test "${wine_cv_linux_input_h+set}" = set; then
17606 echo $ECHO_N "(cached) $ECHO_C" >&6
17607 else
17608 cat >conftest.$ac_ext <<_ACEOF
17609 /* confdefs.h. */
17610 _ACEOF
17611 cat confdefs.h >>conftest.$ac_ext
17612 cat >>conftest.$ac_ext <<_ACEOF
17613 /* end confdefs.h. */
17615 #include <linux/input.h>
17618 main ()
17621 int foo = EVIOCGBIT(EV_ABS,42);
17622 int bar = BTN_PINKIE;
17623 int fortytwo = 42;
17626 return 0;
17628 _ACEOF
17629 rm -f conftest.$ac_objext
17630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17631 (eval $ac_compile) 2>conftest.er1
17632 ac_status=$?
17633 grep -v '^ *+' conftest.er1 >conftest.err
17634 rm -f conftest.er1
17635 cat conftest.err >&5
17636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); } &&
17638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17640 (eval $ac_try) 2>&5
17641 ac_status=$?
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); }; } &&
17644 { ac_try='test -s conftest.$ac_objext'
17645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17646 (eval $ac_try) 2>&5
17647 ac_status=$?
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); }; }; then
17650 wine_cv_linux_input_h=yes
17651 else
17652 echo "$as_me: failed program was:" >&5
17653 sed 's/^/| /' conftest.$ac_ext >&5
17655 wine_cv_linux_input_h=no
17657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17660 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
17661 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
17662 if test "$wine_cv_linux_input_h" = "yes"
17663 then
17665 cat >>confdefs.h <<\_ACEOF
17666 #define HAVE_CORRECT_LINUXINPUT_H 1
17667 _ACEOF
17671 echo "$as_me:$LINENO: checking for sigaddset" >&5
17672 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6
17673 if test "${wine_cv_have_sigaddset+set}" = set; then
17674 echo $ECHO_N "(cached) $ECHO_C" >&6
17675 else
17676 cat >conftest.$ac_ext <<_ACEOF
17677 /* confdefs.h. */
17678 _ACEOF
17679 cat confdefs.h >>conftest.$ac_ext
17680 cat >>conftest.$ac_ext <<_ACEOF
17681 /* end confdefs.h. */
17682 #include <signal.h>
17684 main ()
17686 sigset_t set; sigaddset(&set,SIGTERM);
17688 return 0;
17690 _ACEOF
17691 rm -f conftest.$ac_objext conftest$ac_exeext
17692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17693 (eval $ac_link) 2>conftest.er1
17694 ac_status=$?
17695 grep -v '^ *+' conftest.er1 >conftest.err
17696 rm -f conftest.er1
17697 cat conftest.err >&5
17698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17699 (exit $ac_status); } &&
17700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17702 (eval $ac_try) 2>&5
17703 ac_status=$?
17704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705 (exit $ac_status); }; } &&
17706 { ac_try='test -s conftest$ac_exeext'
17707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17708 (eval $ac_try) 2>&5
17709 ac_status=$?
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); }; }; then
17712 wine_cv_have_sigaddset=yes
17713 else
17714 echo "$as_me: failed program was:" >&5
17715 sed 's/^/| /' conftest.$ac_ext >&5
17717 wine_cv_have_sigaddset=no
17719 rm -f conftest.err conftest.$ac_objext \
17720 conftest$ac_exeext conftest.$ac_ext
17722 echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17723 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6
17724 if test "$wine_cv_have_sigaddset" = "yes"
17725 then
17727 cat >>confdefs.h <<\_ACEOF
17728 #define HAVE_SIGADDSET 1
17729 _ACEOF
17734 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17735 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
17736 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17737 echo $ECHO_N "(cached) $ECHO_C" >&6
17738 else
17739 cat >conftest.$ac_ext <<_ACEOF
17740 /* confdefs.h. */
17741 _ACEOF
17742 cat confdefs.h >>conftest.$ac_ext
17743 cat >>conftest.$ac_ext <<_ACEOF
17744 /* end confdefs.h. */
17746 #include <netdb.h>
17749 main ()
17752 char *name=NULL;
17753 struct hostent he;
17754 struct hostent *result;
17755 char *buf=NULL;
17756 int bufsize=0;
17757 int res,errnr;
17758 char *addr=NULL;
17759 int addrlen=0;
17760 int addrtype=0;
17761 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17762 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17765 return 0;
17767 _ACEOF
17768 rm -f conftest.$ac_objext conftest$ac_exeext
17769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17770 (eval $ac_link) 2>conftest.er1
17771 ac_status=$?
17772 grep -v '^ *+' conftest.er1 >conftest.err
17773 rm -f conftest.er1
17774 cat conftest.err >&5
17775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); } &&
17777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17779 (eval $ac_try) 2>&5
17780 ac_status=$?
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); }; } &&
17783 { ac_try='test -s conftest$ac_exeext'
17784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17785 (eval $ac_try) 2>&5
17786 ac_status=$?
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); }; }; then
17789 wine_cv_linux_gethostbyname_r_6=yes
17790 else
17791 echo "$as_me: failed program was:" >&5
17792 sed 's/^/| /' conftest.$ac_ext >&5
17794 wine_cv_linux_gethostbyname_r_6=no
17797 rm -f conftest.err conftest.$ac_objext \
17798 conftest$ac_exeext conftest.$ac_ext
17801 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17802 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
17803 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17804 then
17806 cat >>confdefs.h <<\_ACEOF
17807 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17808 _ACEOF
17812 if test "$ac_cv_header_linux_joystick_h" = "yes"
17813 then
17814 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17815 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
17816 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17817 echo $ECHO_N "(cached) $ECHO_C" >&6
17818 else
17819 cat >conftest.$ac_ext <<_ACEOF
17820 /* confdefs.h. */
17821 _ACEOF
17822 cat confdefs.h >>conftest.$ac_ext
17823 cat >>conftest.$ac_ext <<_ACEOF
17824 /* end confdefs.h. */
17826 #include <sys/ioctl.h>
17827 #include <linux/joystick.h>
17829 struct js_event blub;
17830 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17831 #error "no 2.2 header"
17832 #endif
17835 main ()
17837 /*empty*/
17839 return 0;
17841 _ACEOF
17842 rm -f conftest.$ac_objext
17843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17844 (eval $ac_compile) 2>conftest.er1
17845 ac_status=$?
17846 grep -v '^ *+' conftest.er1 >conftest.err
17847 rm -f conftest.er1
17848 cat conftest.err >&5
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); } &&
17851 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17853 (eval $ac_try) 2>&5
17854 ac_status=$?
17855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856 (exit $ac_status); }; } &&
17857 { ac_try='test -s conftest.$ac_objext'
17858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17859 (eval $ac_try) 2>&5
17860 ac_status=$?
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); }; }; then
17863 wine_cv_linux_joystick_22_api=yes
17864 else
17865 echo "$as_me: failed program was:" >&5
17866 sed 's/^/| /' conftest.$ac_ext >&5
17868 wine_cv_linux_joystick_22_api=no
17870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17873 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17874 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
17875 if test "$wine_cv_linux_joystick_22_api" = "yes"
17876 then
17878 cat >>confdefs.h <<\_ACEOF
17879 #define HAVE_LINUX_22_JOYSTICK_API 1
17880 _ACEOF
17886 if test "$ac_cv_header_sys_vfs_h" = "yes"
17887 then
17888 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
17889 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
17890 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
17891 echo $ECHO_N "(cached) $ECHO_C" >&6
17892 else
17893 cat >conftest.$ac_ext <<_ACEOF
17894 /* confdefs.h. */
17895 _ACEOF
17896 cat confdefs.h >>conftest.$ac_ext
17897 cat >>conftest.$ac_ext <<_ACEOF
17898 /* end confdefs.h. */
17900 #include <sys/types.h>
17901 #ifdef HAVE_SYS_PARAM_H
17902 # include <sys/param.h>
17903 #endif
17904 #include <sys/vfs.h>
17907 main ()
17910 struct statfs stfs;
17912 memset(&stfs,0,sizeof(stfs));
17915 return 0;
17917 _ACEOF
17918 rm -f conftest.$ac_objext
17919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17920 (eval $ac_compile) 2>conftest.er1
17921 ac_status=$?
17922 grep -v '^ *+' conftest.er1 >conftest.err
17923 rm -f conftest.er1
17924 cat conftest.err >&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); } &&
17927 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17929 (eval $ac_try) 2>&5
17930 ac_status=$?
17931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17932 (exit $ac_status); }; } &&
17933 { ac_try='test -s conftest.$ac_objext'
17934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17935 (eval $ac_try) 2>&5
17936 ac_status=$?
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); }; }; then
17939 wine_cv_sys_vfs_has_statfs=yes
17940 else
17941 echo "$as_me: failed program was:" >&5
17942 sed 's/^/| /' conftest.$ac_ext >&5
17944 wine_cv_sys_vfs_has_statfs=no
17947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17950 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
17951 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
17952 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
17953 then
17955 cat >>confdefs.h <<\_ACEOF
17956 #define STATFS_DEFINED_BY_SYS_VFS 1
17957 _ACEOF
17962 if test "$ac_cv_header_sys_statfs_h" = "yes"
17963 then
17964 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
17965 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
17966 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
17967 echo $ECHO_N "(cached) $ECHO_C" >&6
17968 else
17969 cat >conftest.$ac_ext <<_ACEOF
17970 /* confdefs.h. */
17971 _ACEOF
17972 cat confdefs.h >>conftest.$ac_ext
17973 cat >>conftest.$ac_ext <<_ACEOF
17974 /* end confdefs.h. */
17976 #include <sys/types.h>
17977 #ifdef HAVE_SYS_PARAM_H
17978 # include <sys/param.h>
17979 #endif
17980 #include <sys/statfs.h>
17983 main ()
17986 struct statfs stfs;
17989 return 0;
17991 _ACEOF
17992 rm -f conftest.$ac_objext
17993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17994 (eval $ac_compile) 2>conftest.er1
17995 ac_status=$?
17996 grep -v '^ *+' conftest.er1 >conftest.err
17997 rm -f conftest.er1
17998 cat conftest.err >&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); } &&
18001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18003 (eval $ac_try) 2>&5
18004 ac_status=$?
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); }; } &&
18007 { ac_try='test -s conftest.$ac_objext'
18008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18009 (eval $ac_try) 2>&5
18010 ac_status=$?
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); }; }; then
18013 wine_cv_sys_statfs_has_statfs=yes
18014 else
18015 echo "$as_me: failed program was:" >&5
18016 sed 's/^/| /' conftest.$ac_ext >&5
18018 wine_cv_sys_statfs_has_statfs=no
18021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18024 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
18025 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
18026 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
18027 then
18029 cat >>confdefs.h <<\_ACEOF
18030 #define STATFS_DEFINED_BY_SYS_STATFS 1
18031 _ACEOF
18036 if test "$ac_cv_header_sys_mount_h" = "yes"
18037 then
18038 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
18039 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
18040 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
18041 echo $ECHO_N "(cached) $ECHO_C" >&6
18042 else
18043 cat >conftest.$ac_ext <<_ACEOF
18044 /* confdefs.h. */
18045 _ACEOF
18046 cat confdefs.h >>conftest.$ac_ext
18047 cat >>conftest.$ac_ext <<_ACEOF
18048 /* end confdefs.h. */
18050 #include <sys/types.h>
18051 #ifdef HAVE_SYS_PARAM_H
18052 # include <sys/param.h>
18053 #endif
18054 #include <sys/mount.h>
18057 main ()
18060 struct statfs stfs;
18063 return 0;
18065 _ACEOF
18066 rm -f conftest.$ac_objext
18067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18068 (eval $ac_compile) 2>conftest.er1
18069 ac_status=$?
18070 grep -v '^ *+' conftest.er1 >conftest.err
18071 rm -f conftest.er1
18072 cat conftest.err >&5
18073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18074 (exit $ac_status); } &&
18075 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18077 (eval $ac_try) 2>&5
18078 ac_status=$?
18079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18080 (exit $ac_status); }; } &&
18081 { ac_try='test -s conftest.$ac_objext'
18082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18083 (eval $ac_try) 2>&5
18084 ac_status=$?
18085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18086 (exit $ac_status); }; }; then
18087 wine_cv_sys_mount_has_statfs=yes
18088 else
18089 echo "$as_me: failed program was:" >&5
18090 sed 's/^/| /' conftest.$ac_ext >&5
18092 wine_cv_sys_mount_has_statfs=no
18095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18098 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
18099 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
18100 if test "$wine_cv_sys_mount_has_statfs" = "yes"
18101 then
18103 cat >>confdefs.h <<\_ACEOF
18104 #define STATFS_DEFINED_BY_SYS_MOUNT 1
18105 _ACEOF
18111 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18112 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
18113 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18114 echo $ECHO_N "(cached) $ECHO_C" >&6
18115 else
18116 cat >conftest.$ac_ext <<_ACEOF
18117 /* confdefs.h. */
18118 _ACEOF
18119 cat confdefs.h >>conftest.$ac_ext
18120 cat >>conftest.$ac_ext <<_ACEOF
18121 /* end confdefs.h. */
18122 #include <sys/types.h>
18123 #ifdef HAVE_SYS_PARAM_H
18124 # include <sys/param.h>
18125 #endif
18126 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18127 # include <sys/mount.h>
18128 #else
18129 # ifdef STATFS_DEFINED_BY_SYS_VFS
18130 # include <sys/vfs.h>
18131 # else
18132 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18133 # include <sys/statfs.h>
18134 # endif
18135 # endif
18136 #endif
18139 main ()
18141 static struct statfs ac_aggr;
18142 if (ac_aggr.f_bfree)
18143 return 0;
18145 return 0;
18147 _ACEOF
18148 rm -f conftest.$ac_objext
18149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18150 (eval $ac_compile) 2>conftest.er1
18151 ac_status=$?
18152 grep -v '^ *+' conftest.er1 >conftest.err
18153 rm -f conftest.er1
18154 cat conftest.err >&5
18155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18156 (exit $ac_status); } &&
18157 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18159 (eval $ac_try) 2>&5
18160 ac_status=$?
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18162 (exit $ac_status); }; } &&
18163 { ac_try='test -s conftest.$ac_objext'
18164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18165 (eval $ac_try) 2>&5
18166 ac_status=$?
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); }; }; then
18169 ac_cv_member_struct_statfs_f_bfree=yes
18170 else
18171 echo "$as_me: failed program was:" >&5
18172 sed 's/^/| /' conftest.$ac_ext >&5
18174 cat >conftest.$ac_ext <<_ACEOF
18175 /* confdefs.h. */
18176 _ACEOF
18177 cat confdefs.h >>conftest.$ac_ext
18178 cat >>conftest.$ac_ext <<_ACEOF
18179 /* end confdefs.h. */
18180 #include <sys/types.h>
18181 #ifdef HAVE_SYS_PARAM_H
18182 # include <sys/param.h>
18183 #endif
18184 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18185 # include <sys/mount.h>
18186 #else
18187 # ifdef STATFS_DEFINED_BY_SYS_VFS
18188 # include <sys/vfs.h>
18189 # else
18190 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18191 # include <sys/statfs.h>
18192 # endif
18193 # endif
18194 #endif
18197 main ()
18199 static struct statfs ac_aggr;
18200 if (sizeof ac_aggr.f_bfree)
18201 return 0;
18203 return 0;
18205 _ACEOF
18206 rm -f conftest.$ac_objext
18207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18208 (eval $ac_compile) 2>conftest.er1
18209 ac_status=$?
18210 grep -v '^ *+' conftest.er1 >conftest.err
18211 rm -f conftest.er1
18212 cat conftest.err >&5
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); } &&
18215 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18217 (eval $ac_try) 2>&5
18218 ac_status=$?
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); }; } &&
18221 { ac_try='test -s conftest.$ac_objext'
18222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18223 (eval $ac_try) 2>&5
18224 ac_status=$?
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); }; }; then
18227 ac_cv_member_struct_statfs_f_bfree=yes
18228 else
18229 echo "$as_me: failed program was:" >&5
18230 sed 's/^/| /' conftest.$ac_ext >&5
18232 ac_cv_member_struct_statfs_f_bfree=no
18234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18238 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18239 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
18240 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18242 cat >>confdefs.h <<_ACEOF
18243 #define HAVE_STRUCT_STATFS_F_BFREE 1
18244 _ACEOF
18248 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18249 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
18250 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18251 echo $ECHO_N "(cached) $ECHO_C" >&6
18252 else
18253 cat >conftest.$ac_ext <<_ACEOF
18254 /* confdefs.h. */
18255 _ACEOF
18256 cat confdefs.h >>conftest.$ac_ext
18257 cat >>conftest.$ac_ext <<_ACEOF
18258 /* end confdefs.h. */
18259 #include <sys/types.h>
18260 #ifdef HAVE_SYS_PARAM_H
18261 # include <sys/param.h>
18262 #endif
18263 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18264 # include <sys/mount.h>
18265 #else
18266 # ifdef STATFS_DEFINED_BY_SYS_VFS
18267 # include <sys/vfs.h>
18268 # else
18269 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18270 # include <sys/statfs.h>
18271 # endif
18272 # endif
18273 #endif
18276 main ()
18278 static struct statfs ac_aggr;
18279 if (ac_aggr.f_bavail)
18280 return 0;
18282 return 0;
18284 _ACEOF
18285 rm -f conftest.$ac_objext
18286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18287 (eval $ac_compile) 2>conftest.er1
18288 ac_status=$?
18289 grep -v '^ *+' conftest.er1 >conftest.err
18290 rm -f conftest.er1
18291 cat conftest.err >&5
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); } &&
18294 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18296 (eval $ac_try) 2>&5
18297 ac_status=$?
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); }; } &&
18300 { ac_try='test -s conftest.$ac_objext'
18301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18302 (eval $ac_try) 2>&5
18303 ac_status=$?
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); }; }; then
18306 ac_cv_member_struct_statfs_f_bavail=yes
18307 else
18308 echo "$as_me: failed program was:" >&5
18309 sed 's/^/| /' conftest.$ac_ext >&5
18311 cat >conftest.$ac_ext <<_ACEOF
18312 /* confdefs.h. */
18313 _ACEOF
18314 cat confdefs.h >>conftest.$ac_ext
18315 cat >>conftest.$ac_ext <<_ACEOF
18316 /* end confdefs.h. */
18317 #include <sys/types.h>
18318 #ifdef HAVE_SYS_PARAM_H
18319 # include <sys/param.h>
18320 #endif
18321 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18322 # include <sys/mount.h>
18323 #else
18324 # ifdef STATFS_DEFINED_BY_SYS_VFS
18325 # include <sys/vfs.h>
18326 # else
18327 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18328 # include <sys/statfs.h>
18329 # endif
18330 # endif
18331 #endif
18334 main ()
18336 static struct statfs ac_aggr;
18337 if (sizeof ac_aggr.f_bavail)
18338 return 0;
18340 return 0;
18342 _ACEOF
18343 rm -f conftest.$ac_objext
18344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18345 (eval $ac_compile) 2>conftest.er1
18346 ac_status=$?
18347 grep -v '^ *+' conftest.er1 >conftest.err
18348 rm -f conftest.er1
18349 cat conftest.err >&5
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); } &&
18352 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18354 (eval $ac_try) 2>&5
18355 ac_status=$?
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); }; } &&
18358 { ac_try='test -s conftest.$ac_objext'
18359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18360 (eval $ac_try) 2>&5
18361 ac_status=$?
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); }; }; then
18364 ac_cv_member_struct_statfs_f_bavail=yes
18365 else
18366 echo "$as_me: failed program was:" >&5
18367 sed 's/^/| /' conftest.$ac_ext >&5
18369 ac_cv_member_struct_statfs_f_bavail=no
18371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18375 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18376 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18377 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18379 cat >>confdefs.h <<_ACEOF
18380 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18381 _ACEOF
18385 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18386 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
18387 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18388 echo $ECHO_N "(cached) $ECHO_C" >&6
18389 else
18390 cat >conftest.$ac_ext <<_ACEOF
18391 /* confdefs.h. */
18392 _ACEOF
18393 cat confdefs.h >>conftest.$ac_ext
18394 cat >>conftest.$ac_ext <<_ACEOF
18395 /* end confdefs.h. */
18396 #include <sys/types.h>
18397 #ifdef HAVE_SYS_PARAM_H
18398 # include <sys/param.h>
18399 #endif
18400 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18401 # include <sys/mount.h>
18402 #else
18403 # ifdef STATFS_DEFINED_BY_SYS_VFS
18404 # include <sys/vfs.h>
18405 # else
18406 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18407 # include <sys/statfs.h>
18408 # endif
18409 # endif
18410 #endif
18413 main ()
18415 static struct statfs ac_aggr;
18416 if (ac_aggr.f_frsize)
18417 return 0;
18419 return 0;
18421 _ACEOF
18422 rm -f conftest.$ac_objext
18423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18424 (eval $ac_compile) 2>conftest.er1
18425 ac_status=$?
18426 grep -v '^ *+' conftest.er1 >conftest.err
18427 rm -f conftest.er1
18428 cat conftest.err >&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); } &&
18431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18433 (eval $ac_try) 2>&5
18434 ac_status=$?
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); }; } &&
18437 { ac_try='test -s conftest.$ac_objext'
18438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18439 (eval $ac_try) 2>&5
18440 ac_status=$?
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); }; }; then
18443 ac_cv_member_struct_statfs_f_frsize=yes
18444 else
18445 echo "$as_me: failed program was:" >&5
18446 sed 's/^/| /' conftest.$ac_ext >&5
18448 cat >conftest.$ac_ext <<_ACEOF
18449 /* confdefs.h. */
18450 _ACEOF
18451 cat confdefs.h >>conftest.$ac_ext
18452 cat >>conftest.$ac_ext <<_ACEOF
18453 /* end confdefs.h. */
18454 #include <sys/types.h>
18455 #ifdef HAVE_SYS_PARAM_H
18456 # include <sys/param.h>
18457 #endif
18458 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18459 # include <sys/mount.h>
18460 #else
18461 # ifdef STATFS_DEFINED_BY_SYS_VFS
18462 # include <sys/vfs.h>
18463 # else
18464 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18465 # include <sys/statfs.h>
18466 # endif
18467 # endif
18468 #endif
18471 main ()
18473 static struct statfs ac_aggr;
18474 if (sizeof ac_aggr.f_frsize)
18475 return 0;
18477 return 0;
18479 _ACEOF
18480 rm -f conftest.$ac_objext
18481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18482 (eval $ac_compile) 2>conftest.er1
18483 ac_status=$?
18484 grep -v '^ *+' conftest.er1 >conftest.err
18485 rm -f conftest.er1
18486 cat conftest.err >&5
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); } &&
18489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18491 (eval $ac_try) 2>&5
18492 ac_status=$?
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); }; } &&
18495 { ac_try='test -s conftest.$ac_objext'
18496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18497 (eval $ac_try) 2>&5
18498 ac_status=$?
18499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18500 (exit $ac_status); }; }; then
18501 ac_cv_member_struct_statfs_f_frsize=yes
18502 else
18503 echo "$as_me: failed program was:" >&5
18504 sed 's/^/| /' conftest.$ac_ext >&5
18506 ac_cv_member_struct_statfs_f_frsize=no
18508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18512 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18513 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
18514 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18516 cat >>confdefs.h <<_ACEOF
18517 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18518 _ACEOF
18522 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18523 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
18524 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18525 echo $ECHO_N "(cached) $ECHO_C" >&6
18526 else
18527 cat >conftest.$ac_ext <<_ACEOF
18528 /* confdefs.h. */
18529 _ACEOF
18530 cat confdefs.h >>conftest.$ac_ext
18531 cat >>conftest.$ac_ext <<_ACEOF
18532 /* end confdefs.h. */
18533 #include <sys/types.h>
18534 #ifdef HAVE_SYS_PARAM_H
18535 # include <sys/param.h>
18536 #endif
18537 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18538 # include <sys/mount.h>
18539 #else
18540 # ifdef STATFS_DEFINED_BY_SYS_VFS
18541 # include <sys/vfs.h>
18542 # else
18543 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18544 # include <sys/statfs.h>
18545 # endif
18546 # endif
18547 #endif
18550 main ()
18552 static struct statfs ac_aggr;
18553 if (ac_aggr.f_ffree)
18554 return 0;
18556 return 0;
18558 _ACEOF
18559 rm -f conftest.$ac_objext
18560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18561 (eval $ac_compile) 2>conftest.er1
18562 ac_status=$?
18563 grep -v '^ *+' conftest.er1 >conftest.err
18564 rm -f conftest.er1
18565 cat conftest.err >&5
18566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18567 (exit $ac_status); } &&
18568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18570 (eval $ac_try) 2>&5
18571 ac_status=$?
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); }; } &&
18574 { ac_try='test -s conftest.$ac_objext'
18575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18576 (eval $ac_try) 2>&5
18577 ac_status=$?
18578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18579 (exit $ac_status); }; }; then
18580 ac_cv_member_struct_statfs_f_ffree=yes
18581 else
18582 echo "$as_me: failed program was:" >&5
18583 sed 's/^/| /' conftest.$ac_ext >&5
18585 cat >conftest.$ac_ext <<_ACEOF
18586 /* confdefs.h. */
18587 _ACEOF
18588 cat confdefs.h >>conftest.$ac_ext
18589 cat >>conftest.$ac_ext <<_ACEOF
18590 /* end confdefs.h. */
18591 #include <sys/types.h>
18592 #ifdef HAVE_SYS_PARAM_H
18593 # include <sys/param.h>
18594 #endif
18595 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18596 # include <sys/mount.h>
18597 #else
18598 # ifdef STATFS_DEFINED_BY_SYS_VFS
18599 # include <sys/vfs.h>
18600 # else
18601 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18602 # include <sys/statfs.h>
18603 # endif
18604 # endif
18605 #endif
18608 main ()
18610 static struct statfs ac_aggr;
18611 if (sizeof ac_aggr.f_ffree)
18612 return 0;
18614 return 0;
18616 _ACEOF
18617 rm -f conftest.$ac_objext
18618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18619 (eval $ac_compile) 2>conftest.er1
18620 ac_status=$?
18621 grep -v '^ *+' conftest.er1 >conftest.err
18622 rm -f conftest.er1
18623 cat conftest.err >&5
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); } &&
18626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18628 (eval $ac_try) 2>&5
18629 ac_status=$?
18630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18631 (exit $ac_status); }; } &&
18632 { ac_try='test -s conftest.$ac_objext'
18633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18634 (eval $ac_try) 2>&5
18635 ac_status=$?
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); }; }; then
18638 ac_cv_member_struct_statfs_f_ffree=yes
18639 else
18640 echo "$as_me: failed program was:" >&5
18641 sed 's/^/| /' conftest.$ac_ext >&5
18643 ac_cv_member_struct_statfs_f_ffree=no
18645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18649 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18650 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
18651 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18653 cat >>confdefs.h <<_ACEOF
18654 #define HAVE_STRUCT_STATFS_F_FFREE 1
18655 _ACEOF
18659 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18660 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
18661 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18662 echo $ECHO_N "(cached) $ECHO_C" >&6
18663 else
18664 cat >conftest.$ac_ext <<_ACEOF
18665 /* confdefs.h. */
18666 _ACEOF
18667 cat confdefs.h >>conftest.$ac_ext
18668 cat >>conftest.$ac_ext <<_ACEOF
18669 /* end confdefs.h. */
18670 #include <sys/types.h>
18671 #ifdef HAVE_SYS_PARAM_H
18672 # include <sys/param.h>
18673 #endif
18674 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18675 # include <sys/mount.h>
18676 #else
18677 # ifdef STATFS_DEFINED_BY_SYS_VFS
18678 # include <sys/vfs.h>
18679 # else
18680 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18681 # include <sys/statfs.h>
18682 # endif
18683 # endif
18684 #endif
18687 main ()
18689 static struct statfs ac_aggr;
18690 if (ac_aggr.f_favail)
18691 return 0;
18693 return 0;
18695 _ACEOF
18696 rm -f conftest.$ac_objext
18697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18698 (eval $ac_compile) 2>conftest.er1
18699 ac_status=$?
18700 grep -v '^ *+' conftest.er1 >conftest.err
18701 rm -f conftest.er1
18702 cat conftest.err >&5
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); } &&
18705 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18707 (eval $ac_try) 2>&5
18708 ac_status=$?
18709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18710 (exit $ac_status); }; } &&
18711 { ac_try='test -s conftest.$ac_objext'
18712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18713 (eval $ac_try) 2>&5
18714 ac_status=$?
18715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18716 (exit $ac_status); }; }; then
18717 ac_cv_member_struct_statfs_f_favail=yes
18718 else
18719 echo "$as_me: failed program was:" >&5
18720 sed 's/^/| /' conftest.$ac_ext >&5
18722 cat >conftest.$ac_ext <<_ACEOF
18723 /* confdefs.h. */
18724 _ACEOF
18725 cat confdefs.h >>conftest.$ac_ext
18726 cat >>conftest.$ac_ext <<_ACEOF
18727 /* end confdefs.h. */
18728 #include <sys/types.h>
18729 #ifdef HAVE_SYS_PARAM_H
18730 # include <sys/param.h>
18731 #endif
18732 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18733 # include <sys/mount.h>
18734 #else
18735 # ifdef STATFS_DEFINED_BY_SYS_VFS
18736 # include <sys/vfs.h>
18737 # else
18738 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18739 # include <sys/statfs.h>
18740 # endif
18741 # endif
18742 #endif
18745 main ()
18747 static struct statfs ac_aggr;
18748 if (sizeof ac_aggr.f_favail)
18749 return 0;
18751 return 0;
18753 _ACEOF
18754 rm -f conftest.$ac_objext
18755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18756 (eval $ac_compile) 2>conftest.er1
18757 ac_status=$?
18758 grep -v '^ *+' conftest.er1 >conftest.err
18759 rm -f conftest.er1
18760 cat conftest.err >&5
18761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762 (exit $ac_status); } &&
18763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18765 (eval $ac_try) 2>&5
18766 ac_status=$?
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); }; } &&
18769 { ac_try='test -s conftest.$ac_objext'
18770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18771 (eval $ac_try) 2>&5
18772 ac_status=$?
18773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18774 (exit $ac_status); }; }; then
18775 ac_cv_member_struct_statfs_f_favail=yes
18776 else
18777 echo "$as_me: failed program was:" >&5
18778 sed 's/^/| /' conftest.$ac_ext >&5
18780 ac_cv_member_struct_statfs_f_favail=no
18782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18786 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18787 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
18788 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18790 cat >>confdefs.h <<_ACEOF
18791 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18792 _ACEOF
18796 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18797 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
18798 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18799 echo $ECHO_N "(cached) $ECHO_C" >&6
18800 else
18801 cat >conftest.$ac_ext <<_ACEOF
18802 /* confdefs.h. */
18803 _ACEOF
18804 cat confdefs.h >>conftest.$ac_ext
18805 cat >>conftest.$ac_ext <<_ACEOF
18806 /* end confdefs.h. */
18807 #include <sys/types.h>
18808 #ifdef HAVE_SYS_PARAM_H
18809 # include <sys/param.h>
18810 #endif
18811 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18812 # include <sys/mount.h>
18813 #else
18814 # ifdef STATFS_DEFINED_BY_SYS_VFS
18815 # include <sys/vfs.h>
18816 # else
18817 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18818 # include <sys/statfs.h>
18819 # endif
18820 # endif
18821 #endif
18824 main ()
18826 static struct statfs ac_aggr;
18827 if (ac_aggr.f_namelen)
18828 return 0;
18830 return 0;
18832 _ACEOF
18833 rm -f conftest.$ac_objext
18834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18835 (eval $ac_compile) 2>conftest.er1
18836 ac_status=$?
18837 grep -v '^ *+' conftest.er1 >conftest.err
18838 rm -f conftest.er1
18839 cat conftest.err >&5
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); } &&
18842 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18844 (eval $ac_try) 2>&5
18845 ac_status=$?
18846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847 (exit $ac_status); }; } &&
18848 { ac_try='test -s conftest.$ac_objext'
18849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18850 (eval $ac_try) 2>&5
18851 ac_status=$?
18852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18853 (exit $ac_status); }; }; then
18854 ac_cv_member_struct_statfs_f_namelen=yes
18855 else
18856 echo "$as_me: failed program was:" >&5
18857 sed 's/^/| /' conftest.$ac_ext >&5
18859 cat >conftest.$ac_ext <<_ACEOF
18860 /* confdefs.h. */
18861 _ACEOF
18862 cat confdefs.h >>conftest.$ac_ext
18863 cat >>conftest.$ac_ext <<_ACEOF
18864 /* end confdefs.h. */
18865 #include <sys/types.h>
18866 #ifdef HAVE_SYS_PARAM_H
18867 # include <sys/param.h>
18868 #endif
18869 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18870 # include <sys/mount.h>
18871 #else
18872 # ifdef STATFS_DEFINED_BY_SYS_VFS
18873 # include <sys/vfs.h>
18874 # else
18875 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18876 # include <sys/statfs.h>
18877 # endif
18878 # endif
18879 #endif
18882 main ()
18884 static struct statfs ac_aggr;
18885 if (sizeof ac_aggr.f_namelen)
18886 return 0;
18888 return 0;
18890 _ACEOF
18891 rm -f conftest.$ac_objext
18892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18893 (eval $ac_compile) 2>conftest.er1
18894 ac_status=$?
18895 grep -v '^ *+' conftest.er1 >conftest.err
18896 rm -f conftest.er1
18897 cat conftest.err >&5
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); } &&
18900 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18902 (eval $ac_try) 2>&5
18903 ac_status=$?
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); }; } &&
18906 { ac_try='test -s conftest.$ac_objext'
18907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18908 (eval $ac_try) 2>&5
18909 ac_status=$?
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); }; }; then
18912 ac_cv_member_struct_statfs_f_namelen=yes
18913 else
18914 echo "$as_me: failed program was:" >&5
18915 sed 's/^/| /' conftest.$ac_ext >&5
18917 ac_cv_member_struct_statfs_f_namelen=no
18919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18923 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18924 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
18925 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18927 cat >>confdefs.h <<_ACEOF
18928 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18929 _ACEOF
18935 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18936 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
18937 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18938 echo $ECHO_N "(cached) $ECHO_C" >&6
18939 else
18940 cat >conftest.$ac_ext <<_ACEOF
18941 /* confdefs.h. */
18942 _ACEOF
18943 cat confdefs.h >>conftest.$ac_ext
18944 cat >>conftest.$ac_ext <<_ACEOF
18945 /* end confdefs.h. */
18946 #ifdef HAVE_SYS_STATVFS_H
18947 #include <sys/statvfs.h>
18948 #endif
18951 main ()
18953 static struct statvfs ac_aggr;
18954 if (ac_aggr.f_blocks)
18955 return 0;
18957 return 0;
18959 _ACEOF
18960 rm -f conftest.$ac_objext
18961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18962 (eval $ac_compile) 2>conftest.er1
18963 ac_status=$?
18964 grep -v '^ *+' conftest.er1 >conftest.err
18965 rm -f conftest.er1
18966 cat conftest.err >&5
18967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18968 (exit $ac_status); } &&
18969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18971 (eval $ac_try) 2>&5
18972 ac_status=$?
18973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18974 (exit $ac_status); }; } &&
18975 { ac_try='test -s conftest.$ac_objext'
18976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18977 (eval $ac_try) 2>&5
18978 ac_status=$?
18979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18980 (exit $ac_status); }; }; then
18981 ac_cv_member_struct_statvfs_f_blocks=yes
18982 else
18983 echo "$as_me: failed program was:" >&5
18984 sed 's/^/| /' conftest.$ac_ext >&5
18986 cat >conftest.$ac_ext <<_ACEOF
18987 /* confdefs.h. */
18988 _ACEOF
18989 cat confdefs.h >>conftest.$ac_ext
18990 cat >>conftest.$ac_ext <<_ACEOF
18991 /* end confdefs.h. */
18992 #ifdef HAVE_SYS_STATVFS_H
18993 #include <sys/statvfs.h>
18994 #endif
18997 main ()
18999 static struct statvfs ac_aggr;
19000 if (sizeof ac_aggr.f_blocks)
19001 return 0;
19003 return 0;
19005 _ACEOF
19006 rm -f conftest.$ac_objext
19007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19008 (eval $ac_compile) 2>conftest.er1
19009 ac_status=$?
19010 grep -v '^ *+' conftest.er1 >conftest.err
19011 rm -f conftest.er1
19012 cat conftest.err >&5
19013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19014 (exit $ac_status); } &&
19015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19017 (eval $ac_try) 2>&5
19018 ac_status=$?
19019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020 (exit $ac_status); }; } &&
19021 { ac_try='test -s conftest.$ac_objext'
19022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19023 (eval $ac_try) 2>&5
19024 ac_status=$?
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); }; }; then
19027 ac_cv_member_struct_statvfs_f_blocks=yes
19028 else
19029 echo "$as_me: failed program was:" >&5
19030 sed 's/^/| /' conftest.$ac_ext >&5
19032 ac_cv_member_struct_statvfs_f_blocks=no
19034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19038 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19039 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
19040 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19042 cat >>confdefs.h <<_ACEOF
19043 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19044 _ACEOF
19050 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19051 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
19052 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19053 echo $ECHO_N "(cached) $ECHO_C" >&6
19054 else
19055 cat >conftest.$ac_ext <<_ACEOF
19056 /* confdefs.h. */
19057 _ACEOF
19058 cat confdefs.h >>conftest.$ac_ext
19059 cat >>conftest.$ac_ext <<_ACEOF
19060 /* end confdefs.h. */
19061 #include <sys/types.h>
19062 #ifdef HAVE_SYS_SOCKET_H
19063 # include <sys/socket.h>
19064 #endif
19065 #ifdef HAVE_SYS_UN_H
19066 # include <sys/un.h>
19067 #endif
19070 main ()
19072 static struct msghdr ac_aggr;
19073 if (ac_aggr.msg_accrights)
19074 return 0;
19076 return 0;
19078 _ACEOF
19079 rm -f conftest.$ac_objext
19080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19081 (eval $ac_compile) 2>conftest.er1
19082 ac_status=$?
19083 grep -v '^ *+' conftest.er1 >conftest.err
19084 rm -f conftest.er1
19085 cat conftest.err >&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); } &&
19088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19090 (eval $ac_try) 2>&5
19091 ac_status=$?
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); }; } &&
19094 { ac_try='test -s conftest.$ac_objext'
19095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19096 (eval $ac_try) 2>&5
19097 ac_status=$?
19098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099 (exit $ac_status); }; }; then
19100 ac_cv_member_struct_msghdr_msg_accrights=yes
19101 else
19102 echo "$as_me: failed program was:" >&5
19103 sed 's/^/| /' conftest.$ac_ext >&5
19105 cat >conftest.$ac_ext <<_ACEOF
19106 /* confdefs.h. */
19107 _ACEOF
19108 cat confdefs.h >>conftest.$ac_ext
19109 cat >>conftest.$ac_ext <<_ACEOF
19110 /* end confdefs.h. */
19111 #include <sys/types.h>
19112 #ifdef HAVE_SYS_SOCKET_H
19113 # include <sys/socket.h>
19114 #endif
19115 #ifdef HAVE_SYS_UN_H
19116 # include <sys/un.h>
19117 #endif
19120 main ()
19122 static struct msghdr ac_aggr;
19123 if (sizeof ac_aggr.msg_accrights)
19124 return 0;
19126 return 0;
19128 _ACEOF
19129 rm -f conftest.$ac_objext
19130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19131 (eval $ac_compile) 2>conftest.er1
19132 ac_status=$?
19133 grep -v '^ *+' conftest.er1 >conftest.err
19134 rm -f conftest.er1
19135 cat conftest.err >&5
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); } &&
19138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19140 (eval $ac_try) 2>&5
19141 ac_status=$?
19142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19143 (exit $ac_status); }; } &&
19144 { ac_try='test -s conftest.$ac_objext'
19145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19146 (eval $ac_try) 2>&5
19147 ac_status=$?
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); }; }; then
19150 ac_cv_member_struct_msghdr_msg_accrights=yes
19151 else
19152 echo "$as_me: failed program was:" >&5
19153 sed 's/^/| /' conftest.$ac_ext >&5
19155 ac_cv_member_struct_msghdr_msg_accrights=no
19157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19161 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19162 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
19163 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19165 cat >>confdefs.h <<_ACEOF
19166 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19167 _ACEOF
19171 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19172 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
19173 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19174 echo $ECHO_N "(cached) $ECHO_C" >&6
19175 else
19176 cat >conftest.$ac_ext <<_ACEOF
19177 /* confdefs.h. */
19178 _ACEOF
19179 cat confdefs.h >>conftest.$ac_ext
19180 cat >>conftest.$ac_ext <<_ACEOF
19181 /* end confdefs.h. */
19182 #include <sys/types.h>
19183 #ifdef HAVE_SYS_SOCKET_H
19184 # include <sys/socket.h>
19185 #endif
19186 #ifdef HAVE_SYS_UN_H
19187 # include <sys/un.h>
19188 #endif
19191 main ()
19193 static struct sockaddr ac_aggr;
19194 if (ac_aggr.sa_len)
19195 return 0;
19197 return 0;
19199 _ACEOF
19200 rm -f conftest.$ac_objext
19201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19202 (eval $ac_compile) 2>conftest.er1
19203 ac_status=$?
19204 grep -v '^ *+' conftest.er1 >conftest.err
19205 rm -f conftest.er1
19206 cat conftest.err >&5
19207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208 (exit $ac_status); } &&
19209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19211 (eval $ac_try) 2>&5
19212 ac_status=$?
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); }; } &&
19215 { ac_try='test -s conftest.$ac_objext'
19216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19217 (eval $ac_try) 2>&5
19218 ac_status=$?
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; }; then
19221 ac_cv_member_struct_sockaddr_sa_len=yes
19222 else
19223 echo "$as_me: failed program was:" >&5
19224 sed 's/^/| /' conftest.$ac_ext >&5
19226 cat >conftest.$ac_ext <<_ACEOF
19227 /* confdefs.h. */
19228 _ACEOF
19229 cat confdefs.h >>conftest.$ac_ext
19230 cat >>conftest.$ac_ext <<_ACEOF
19231 /* end confdefs.h. */
19232 #include <sys/types.h>
19233 #ifdef HAVE_SYS_SOCKET_H
19234 # include <sys/socket.h>
19235 #endif
19236 #ifdef HAVE_SYS_UN_H
19237 # include <sys/un.h>
19238 #endif
19241 main ()
19243 static struct sockaddr ac_aggr;
19244 if (sizeof ac_aggr.sa_len)
19245 return 0;
19247 return 0;
19249 _ACEOF
19250 rm -f conftest.$ac_objext
19251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19252 (eval $ac_compile) 2>conftest.er1
19253 ac_status=$?
19254 grep -v '^ *+' conftest.er1 >conftest.err
19255 rm -f conftest.er1
19256 cat conftest.err >&5
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); } &&
19259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19261 (eval $ac_try) 2>&5
19262 ac_status=$?
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); }; } &&
19265 { ac_try='test -s conftest.$ac_objext'
19266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19267 (eval $ac_try) 2>&5
19268 ac_status=$?
19269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270 (exit $ac_status); }; }; then
19271 ac_cv_member_struct_sockaddr_sa_len=yes
19272 else
19273 echo "$as_me: failed program was:" >&5
19274 sed 's/^/| /' conftest.$ac_ext >&5
19276 ac_cv_member_struct_sockaddr_sa_len=no
19278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19282 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19283 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
19284 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19286 cat >>confdefs.h <<_ACEOF
19287 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19288 _ACEOF
19292 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19293 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
19294 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19295 echo $ECHO_N "(cached) $ECHO_C" >&6
19296 else
19297 cat >conftest.$ac_ext <<_ACEOF
19298 /* confdefs.h. */
19299 _ACEOF
19300 cat confdefs.h >>conftest.$ac_ext
19301 cat >>conftest.$ac_ext <<_ACEOF
19302 /* end confdefs.h. */
19303 #include <sys/types.h>
19304 #ifdef HAVE_SYS_SOCKET_H
19305 # include <sys/socket.h>
19306 #endif
19307 #ifdef HAVE_SYS_UN_H
19308 # include <sys/un.h>
19309 #endif
19312 main ()
19314 static struct sockaddr_un ac_aggr;
19315 if (ac_aggr.sun_len)
19316 return 0;
19318 return 0;
19320 _ACEOF
19321 rm -f conftest.$ac_objext
19322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19323 (eval $ac_compile) 2>conftest.er1
19324 ac_status=$?
19325 grep -v '^ *+' conftest.er1 >conftest.err
19326 rm -f conftest.er1
19327 cat conftest.err >&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } &&
19330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19332 (eval $ac_try) 2>&5
19333 ac_status=$?
19334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19335 (exit $ac_status); }; } &&
19336 { ac_try='test -s conftest.$ac_objext'
19337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19338 (eval $ac_try) 2>&5
19339 ac_status=$?
19340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19341 (exit $ac_status); }; }; then
19342 ac_cv_member_struct_sockaddr_un_sun_len=yes
19343 else
19344 echo "$as_me: failed program was:" >&5
19345 sed 's/^/| /' conftest.$ac_ext >&5
19347 cat >conftest.$ac_ext <<_ACEOF
19348 /* confdefs.h. */
19349 _ACEOF
19350 cat confdefs.h >>conftest.$ac_ext
19351 cat >>conftest.$ac_ext <<_ACEOF
19352 /* end confdefs.h. */
19353 #include <sys/types.h>
19354 #ifdef HAVE_SYS_SOCKET_H
19355 # include <sys/socket.h>
19356 #endif
19357 #ifdef HAVE_SYS_UN_H
19358 # include <sys/un.h>
19359 #endif
19362 main ()
19364 static struct sockaddr_un ac_aggr;
19365 if (sizeof ac_aggr.sun_len)
19366 return 0;
19368 return 0;
19370 _ACEOF
19371 rm -f conftest.$ac_objext
19372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19373 (eval $ac_compile) 2>conftest.er1
19374 ac_status=$?
19375 grep -v '^ *+' conftest.er1 >conftest.err
19376 rm -f conftest.er1
19377 cat conftest.err >&5
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); } &&
19380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19382 (eval $ac_try) 2>&5
19383 ac_status=$?
19384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19385 (exit $ac_status); }; } &&
19386 { ac_try='test -s conftest.$ac_objext'
19387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19388 (eval $ac_try) 2>&5
19389 ac_status=$?
19390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19391 (exit $ac_status); }; }; then
19392 ac_cv_member_struct_sockaddr_un_sun_len=yes
19393 else
19394 echo "$as_me: failed program was:" >&5
19395 sed 's/^/| /' conftest.$ac_ext >&5
19397 ac_cv_member_struct_sockaddr_un_sun_len=no
19399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19403 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19404 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
19405 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19407 cat >>confdefs.h <<_ACEOF
19408 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19409 _ACEOF
19415 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19416 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
19417 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19418 echo $ECHO_N "(cached) $ECHO_C" >&6
19419 else
19420 cat >conftest.$ac_ext <<_ACEOF
19421 /* confdefs.h. */
19422 _ACEOF
19423 cat confdefs.h >>conftest.$ac_ext
19424 cat >>conftest.$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19426 #include <signal.h>
19429 main ()
19431 static siginfo_t ac_aggr;
19432 if (ac_aggr.si_fd)
19433 return 0;
19435 return 0;
19437 _ACEOF
19438 rm -f conftest.$ac_objext
19439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19440 (eval $ac_compile) 2>conftest.er1
19441 ac_status=$?
19442 grep -v '^ *+' conftest.er1 >conftest.err
19443 rm -f conftest.er1
19444 cat conftest.err >&5
19445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19446 (exit $ac_status); } &&
19447 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19449 (eval $ac_try) 2>&5
19450 ac_status=$?
19451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19452 (exit $ac_status); }; } &&
19453 { ac_try='test -s conftest.$ac_objext'
19454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19455 (eval $ac_try) 2>&5
19456 ac_status=$?
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); }; }; then
19459 ac_cv_member_siginfo_t_si_fd=yes
19460 else
19461 echo "$as_me: failed program was:" >&5
19462 sed 's/^/| /' conftest.$ac_ext >&5
19464 cat >conftest.$ac_ext <<_ACEOF
19465 /* confdefs.h. */
19466 _ACEOF
19467 cat confdefs.h >>conftest.$ac_ext
19468 cat >>conftest.$ac_ext <<_ACEOF
19469 /* end confdefs.h. */
19470 #include <signal.h>
19473 main ()
19475 static siginfo_t ac_aggr;
19476 if (sizeof ac_aggr.si_fd)
19477 return 0;
19479 return 0;
19481 _ACEOF
19482 rm -f conftest.$ac_objext
19483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19484 (eval $ac_compile) 2>conftest.er1
19485 ac_status=$?
19486 grep -v '^ *+' conftest.er1 >conftest.err
19487 rm -f conftest.er1
19488 cat conftest.err >&5
19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19490 (exit $ac_status); } &&
19491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19493 (eval $ac_try) 2>&5
19494 ac_status=$?
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); }; } &&
19497 { ac_try='test -s conftest.$ac_objext'
19498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19499 (eval $ac_try) 2>&5
19500 ac_status=$?
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); }; }; then
19503 ac_cv_member_siginfo_t_si_fd=yes
19504 else
19505 echo "$as_me: failed program was:" >&5
19506 sed 's/^/| /' conftest.$ac_ext >&5
19508 ac_cv_member_siginfo_t_si_fd=no
19510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19514 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19515 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
19516 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19518 cat >>confdefs.h <<_ACEOF
19519 #define HAVE_SIGINFO_T_SI_FD 1
19520 _ACEOF
19526 echo "$as_me:$LINENO: checking for struct option.name" >&5
19527 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19528 if test "${ac_cv_member_struct_option_name+set}" = set; then
19529 echo $ECHO_N "(cached) $ECHO_C" >&6
19530 else
19531 cat >conftest.$ac_ext <<_ACEOF
19532 /* confdefs.h. */
19533 _ACEOF
19534 cat confdefs.h >>conftest.$ac_ext
19535 cat >>conftest.$ac_ext <<_ACEOF
19536 /* end confdefs.h. */
19537 #ifdef HAVE_GETOPT_H
19538 #include <getopt.h>
19539 #endif
19542 main ()
19544 static struct option ac_aggr;
19545 if (ac_aggr.name)
19546 return 0;
19548 return 0;
19550 _ACEOF
19551 rm -f conftest.$ac_objext
19552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19553 (eval $ac_compile) 2>conftest.er1
19554 ac_status=$?
19555 grep -v '^ *+' conftest.er1 >conftest.err
19556 rm -f conftest.er1
19557 cat conftest.err >&5
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); } &&
19560 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19562 (eval $ac_try) 2>&5
19563 ac_status=$?
19564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19565 (exit $ac_status); }; } &&
19566 { ac_try='test -s conftest.$ac_objext'
19567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19568 (eval $ac_try) 2>&5
19569 ac_status=$?
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); }; }; then
19572 ac_cv_member_struct_option_name=yes
19573 else
19574 echo "$as_me: failed program was:" >&5
19575 sed 's/^/| /' conftest.$ac_ext >&5
19577 cat >conftest.$ac_ext <<_ACEOF
19578 /* confdefs.h. */
19579 _ACEOF
19580 cat confdefs.h >>conftest.$ac_ext
19581 cat >>conftest.$ac_ext <<_ACEOF
19582 /* end confdefs.h. */
19583 #ifdef HAVE_GETOPT_H
19584 #include <getopt.h>
19585 #endif
19588 main ()
19590 static struct option ac_aggr;
19591 if (sizeof ac_aggr.name)
19592 return 0;
19594 return 0;
19596 _ACEOF
19597 rm -f conftest.$ac_objext
19598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19599 (eval $ac_compile) 2>conftest.er1
19600 ac_status=$?
19601 grep -v '^ *+' conftest.er1 >conftest.err
19602 rm -f conftest.er1
19603 cat conftest.err >&5
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); } &&
19606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19608 (eval $ac_try) 2>&5
19609 ac_status=$?
19610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611 (exit $ac_status); }; } &&
19612 { ac_try='test -s conftest.$ac_objext'
19613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19614 (eval $ac_try) 2>&5
19615 ac_status=$?
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); }; }; then
19618 ac_cv_member_struct_option_name=yes
19619 else
19620 echo "$as_me: failed program was:" >&5
19621 sed 's/^/| /' conftest.$ac_ext >&5
19623 ac_cv_member_struct_option_name=no
19625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19629 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19630 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19631 if test $ac_cv_member_struct_option_name = yes; then
19633 cat >>confdefs.h <<_ACEOF
19634 #define HAVE_STRUCT_OPTION_NAME 1
19635 _ACEOF
19641 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19642 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19643 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19644 echo $ECHO_N "(cached) $ECHO_C" >&6
19645 else
19646 cat >conftest.$ac_ext <<_ACEOF
19647 /* confdefs.h. */
19648 _ACEOF
19649 cat confdefs.h >>conftest.$ac_ext
19650 cat >>conftest.$ac_ext <<_ACEOF
19651 /* end confdefs.h. */
19652 $ac_includes_default
19654 main ()
19656 static struct stat ac_aggr;
19657 if (ac_aggr.st_blocks)
19658 return 0;
19660 return 0;
19662 _ACEOF
19663 rm -f conftest.$ac_objext
19664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19665 (eval $ac_compile) 2>conftest.er1
19666 ac_status=$?
19667 grep -v '^ *+' conftest.er1 >conftest.err
19668 rm -f conftest.er1
19669 cat conftest.err >&5
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671 (exit $ac_status); } &&
19672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19674 (eval $ac_try) 2>&5
19675 ac_status=$?
19676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19677 (exit $ac_status); }; } &&
19678 { ac_try='test -s conftest.$ac_objext'
19679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19680 (eval $ac_try) 2>&5
19681 ac_status=$?
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); }; }; then
19684 ac_cv_member_struct_stat_st_blocks=yes
19685 else
19686 echo "$as_me: failed program was:" >&5
19687 sed 's/^/| /' conftest.$ac_ext >&5
19689 cat >conftest.$ac_ext <<_ACEOF
19690 /* confdefs.h. */
19691 _ACEOF
19692 cat confdefs.h >>conftest.$ac_ext
19693 cat >>conftest.$ac_ext <<_ACEOF
19694 /* end confdefs.h. */
19695 $ac_includes_default
19697 main ()
19699 static struct stat ac_aggr;
19700 if (sizeof ac_aggr.st_blocks)
19701 return 0;
19703 return 0;
19705 _ACEOF
19706 rm -f conftest.$ac_objext
19707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19708 (eval $ac_compile) 2>conftest.er1
19709 ac_status=$?
19710 grep -v '^ *+' conftest.er1 >conftest.err
19711 rm -f conftest.er1
19712 cat conftest.err >&5
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); } &&
19715 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19717 (eval $ac_try) 2>&5
19718 ac_status=$?
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); }; } &&
19721 { ac_try='test -s conftest.$ac_objext'
19722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19723 (eval $ac_try) 2>&5
19724 ac_status=$?
19725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19726 (exit $ac_status); }; }; then
19727 ac_cv_member_struct_stat_st_blocks=yes
19728 else
19729 echo "$as_me: failed program was:" >&5
19730 sed 's/^/| /' conftest.$ac_ext >&5
19732 ac_cv_member_struct_stat_st_blocks=no
19734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19738 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19739 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19740 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19742 cat >>confdefs.h <<_ACEOF
19743 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19744 _ACEOF
19751 case $host_cpu in
19752 *i[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19753 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
19754 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19755 echo $ECHO_N "(cached) $ECHO_C" >&6
19756 else
19757 cat >conftest.$ac_ext <<_ACEOF
19758 /* confdefs.h. */
19759 _ACEOF
19760 cat confdefs.h >>conftest.$ac_ext
19761 cat >>conftest.$ac_ext <<_ACEOF
19762 /* end confdefs.h. */
19763 #ifndef __i386__
19765 #endif
19766 _ACEOF
19767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19768 $EGREP "yes" >/dev/null 2>&1; then
19769 ac_cv_cpp_def___i386__=yes
19770 else
19771 ac_cv_cpp_def___i386__=no
19773 rm -f conftest*
19776 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19777 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
19778 if test $ac_cv_cpp_def___i386__ = yes; then
19779 CFLAGS="$CFLAGS -D__i386__"
19780 LINTFLAGS="$LINTFLAGS -D__i386__"
19783 *alpha*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19784 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
19785 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19786 echo $ECHO_N "(cached) $ECHO_C" >&6
19787 else
19788 cat >conftest.$ac_ext <<_ACEOF
19789 /* confdefs.h. */
19790 _ACEOF
19791 cat confdefs.h >>conftest.$ac_ext
19792 cat >>conftest.$ac_ext <<_ACEOF
19793 /* end confdefs.h. */
19794 #ifndef __ALPHA__
19796 #endif
19797 _ACEOF
19798 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19799 $EGREP "yes" >/dev/null 2>&1; then
19800 ac_cv_cpp_def___ALPHA__=yes
19801 else
19802 ac_cv_cpp_def___ALPHA__=no
19804 rm -f conftest*
19807 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
19808 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
19809 if test $ac_cv_cpp_def___ALPHA__ = yes; then
19810 CFLAGS="$CFLAGS -D__ALPHA__"
19811 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
19814 *sparc*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
19815 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
19816 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
19817 echo $ECHO_N "(cached) $ECHO_C" >&6
19818 else
19819 cat >conftest.$ac_ext <<_ACEOF
19820 /* confdefs.h. */
19821 _ACEOF
19822 cat confdefs.h >>conftest.$ac_ext
19823 cat >>conftest.$ac_ext <<_ACEOF
19824 /* end confdefs.h. */
19825 #ifndef __sparc__
19827 #endif
19828 _ACEOF
19829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19830 $EGREP "yes" >/dev/null 2>&1; then
19831 ac_cv_cpp_def___sparc__=yes
19832 else
19833 ac_cv_cpp_def___sparc__=no
19835 rm -f conftest*
19838 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
19839 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
19840 if test $ac_cv_cpp_def___sparc__ = yes; then
19841 CFLAGS="$CFLAGS -D__sparc__"
19842 LINTFLAGS="$LINTFLAGS -D__sparc__"
19845 *powerpc*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
19846 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
19847 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
19848 echo $ECHO_N "(cached) $ECHO_C" >&6
19849 else
19850 cat >conftest.$ac_ext <<_ACEOF
19851 /* confdefs.h. */
19852 _ACEOF
19853 cat confdefs.h >>conftest.$ac_ext
19854 cat >>conftest.$ac_ext <<_ACEOF
19855 /* end confdefs.h. */
19856 #ifndef __powerpc__
19858 #endif
19859 _ACEOF
19860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19861 $EGREP "yes" >/dev/null 2>&1; then
19862 ac_cv_cpp_def___powerpc__=yes
19863 else
19864 ac_cv_cpp_def___powerpc__=no
19866 rm -f conftest*
19869 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
19870 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
19871 if test $ac_cv_cpp_def___powerpc__ = yes; then
19872 CFLAGS="$CFLAGS -D__powerpc__"
19873 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19876 esac
19878 case $host_vendor in
19879 *sun*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
19880 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
19881 if test "${ac_cv_cpp_def___sun__+set}" = set; then
19882 echo $ECHO_N "(cached) $ECHO_C" >&6
19883 else
19884 cat >conftest.$ac_ext <<_ACEOF
19885 /* confdefs.h. */
19886 _ACEOF
19887 cat confdefs.h >>conftest.$ac_ext
19888 cat >>conftest.$ac_ext <<_ACEOF
19889 /* end confdefs.h. */
19890 #ifndef __sun__
19892 #endif
19893 _ACEOF
19894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19895 $EGREP "yes" >/dev/null 2>&1; then
19896 ac_cv_cpp_def___sun__=yes
19897 else
19898 ac_cv_cpp_def___sun__=no
19900 rm -f conftest*
19903 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
19904 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
19905 if test $ac_cv_cpp_def___sun__ = yes; then
19906 CFLAGS="$CFLAGS -D__sun__"
19907 LINTFLAGS="$LINTFLAGS -D__sun__"
19910 esac
19916 ac_config_commands="$ac_config_commands dlls/ddraw/d3ddevice"
19918 ac_config_commands="$ac_config_commands dlls/ddraw/dclipper"
19920 ac_config_commands="$ac_config_commands dlls/ddraw/ddraw"
19922 ac_config_commands="$ac_config_commands dlls/ddraw/direct3d"
19924 ac_config_commands="$ac_config_commands dlls/ddraw/dpalette"
19926 ac_config_commands="$ac_config_commands dlls/ddraw/dsurface"
19928 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
19930 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
19932 ac_config_commands="$ac_config_commands dlls/kernel/messages"
19934 ac_config_commands="$ac_config_commands dlls/user/dde"
19936 ac_config_commands="$ac_config_commands dlls/user/resources"
19938 ac_config_commands="$ac_config_commands dlls/wineps/data"
19940 ac_config_commands="$ac_config_commands include/wine"
19942 ac_config_commands="$ac_config_commands programs/regedit/tests"
19944 ac_config_commands="$ac_config_commands windows"
19947 MAKE_RULES=Make.rules
19950 MAKE_DLL_RULES=dlls/Makedll.rules
19953 MAKE_TEST_RULES=dlls/Maketest.rules
19956 MAKE_LIB_RULES=libs/Makelib.rules
19959 MAKE_PROG_RULES=programs/Makeprog.rules
19962 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/advpack/Makefile dlls/advpack/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/cryptdll/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/hhctrl.ocx/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/lzexpand/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msacm/tests/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/msdmo/Makefile dlls/mshtml/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/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/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/rasapi32/Makefile dlls/riched20/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/secur32/Makefile dlls/sensapi/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/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile dlls/x11drv/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/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"
19965 cat >confcache <<\_ACEOF
19966 # This file is a shell script that caches the results of configure
19967 # tests run on this system so they can be shared between configure
19968 # scripts and configure runs, see configure's option --config-cache.
19969 # It is not useful on other systems. If it contains results you don't
19970 # want to keep, you may remove or edit it.
19972 # config.status only pays attention to the cache file if you give it
19973 # the --recheck option to rerun configure.
19975 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19976 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19977 # following values.
19979 _ACEOF
19981 # The following way of writing the cache mishandles newlines in values,
19982 # but we know of no workaround that is simple, portable, and efficient.
19983 # So, don't put newlines in cache variables' values.
19984 # Ultrix sh set writes to stderr and can't be redirected directly,
19985 # and sets the high bit in the cache file unless we assign to the vars.
19987 (set) 2>&1 |
19988 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19989 *ac_space=\ *)
19990 # `set' does not quote correctly, so add quotes (double-quote
19991 # substitution turns \\\\ into \\, and sed turns \\ into \).
19992 sed -n \
19993 "s/'/'\\\\''/g;
19994 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19997 # `set' quotes correctly as required by POSIX, so do not add quotes.
19998 sed -n \
19999 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20001 esac;
20003 sed '
20004 t clear
20005 : clear
20006 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20007 t end
20008 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20009 : end' >>confcache
20010 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20011 if test -w $cache_file; then
20012 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20013 cat confcache >$cache_file
20014 else
20015 echo "not updating unwritable cache $cache_file"
20018 rm -f confcache
20020 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20021 # Let make expand exec_prefix.
20022 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20024 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20025 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20026 # trailing colons and then remove the whole line if VPATH becomes empty
20027 # (actually we leave an empty line to preserve line numbers).
20028 if test "x$srcdir" = x.; then
20029 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20030 s/:*\$(srcdir):*/:/;
20031 s/:*\${srcdir}:*/:/;
20032 s/:*@srcdir@:*/:/;
20033 s/^\([^=]*=[ ]*\):*/\1/;
20034 s/:*$//;
20035 s/^[^=]*=[ ]*$//;
20039 DEFS=-DHAVE_CONFIG_H
20041 ac_libobjs=
20042 ac_ltlibobjs=
20043 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20044 # 1. Remove the extension, and $U if already installed.
20045 ac_i=`echo "$ac_i" |
20046 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20047 # 2. Add them.
20048 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20049 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
20050 done
20051 LIBOBJS=$ac_libobjs
20053 LTLIBOBJS=$ac_ltlibobjs
20057 : ${CONFIG_STATUS=./config.status}
20058 ac_clean_files_save=$ac_clean_files
20059 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20060 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20061 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20062 cat >$CONFIG_STATUS <<_ACEOF
20063 #! $SHELL
20064 # Generated by $as_me.
20065 # Run this file to recreate the current configuration.
20066 # Compiler output produced by configure, useful for debugging
20067 # configure, is in config.log if it exists.
20069 debug=false
20070 ac_cs_recheck=false
20071 ac_cs_silent=false
20072 SHELL=\${CONFIG_SHELL-$SHELL}
20073 _ACEOF
20075 cat >>$CONFIG_STATUS <<\_ACEOF
20076 ## --------------------- ##
20077 ## M4sh Initialization. ##
20078 ## --------------------- ##
20080 # Be Bourne compatible
20081 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20082 emulate sh
20083 NULLCMD=:
20084 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20085 # is contrary to our usage. Disable this feature.
20086 alias -g '${1+"$@"}'='"$@"'
20087 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20088 set -o posix
20090 DUALCASE=1; export DUALCASE # for MKS sh
20092 # Support unset when possible.
20093 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20094 as_unset=unset
20095 else
20096 as_unset=false
20100 # Work around bugs in pre-3.0 UWIN ksh.
20101 $as_unset ENV MAIL MAILPATH
20102 PS1='$ '
20103 PS2='> '
20104 PS4='+ '
20106 # NLS nuisances.
20107 for as_var in \
20108 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20109 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20110 LC_TELEPHONE LC_TIME
20112 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20113 eval $as_var=C; export $as_var
20114 else
20115 $as_unset $as_var
20117 done
20119 # Required to use basename.
20120 if expr a : '\(a\)' >/dev/null 2>&1; then
20121 as_expr=expr
20122 else
20123 as_expr=false
20126 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20127 as_basename=basename
20128 else
20129 as_basename=false
20133 # Name of the executable.
20134 as_me=`$as_basename "$0" ||
20135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20136 X"$0" : 'X\(//\)$' \| \
20137 X"$0" : 'X\(/\)$' \| \
20138 . : '\(.\)' 2>/dev/null ||
20139 echo X/"$0" |
20140 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20141 /^X\/\(\/\/\)$/{ s//\1/; q; }
20142 /^X\/\(\/\).*/{ s//\1/; q; }
20143 s/.*/./; q'`
20146 # PATH needs CR, and LINENO needs CR and PATH.
20147 # Avoid depending upon Character Ranges.
20148 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20149 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20150 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20151 as_cr_digits='0123456789'
20152 as_cr_alnum=$as_cr_Letters$as_cr_digits
20154 # The user is always right.
20155 if test "${PATH_SEPARATOR+set}" != set; then
20156 echo "#! /bin/sh" >conf$$.sh
20157 echo "exit 0" >>conf$$.sh
20158 chmod +x conf$$.sh
20159 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20160 PATH_SEPARATOR=';'
20161 else
20162 PATH_SEPARATOR=:
20164 rm -f conf$$.sh
20168 as_lineno_1=$LINENO
20169 as_lineno_2=$LINENO
20170 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20171 test "x$as_lineno_1" != "x$as_lineno_2" &&
20172 test "x$as_lineno_3" = "x$as_lineno_2" || {
20173 # Find who we are. Look in the path if we contain no path at all
20174 # relative or not.
20175 case $0 in
20176 *[\\/]* ) as_myself=$0 ;;
20177 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20178 for as_dir in $PATH
20180 IFS=$as_save_IFS
20181 test -z "$as_dir" && as_dir=.
20182 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20183 done
20186 esac
20187 # We did not find ourselves, most probably we were run as `sh COMMAND'
20188 # in which case we are not to be found in the path.
20189 if test "x$as_myself" = x; then
20190 as_myself=$0
20192 if test ! -f "$as_myself"; then
20193 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20194 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20195 { (exit 1); exit 1; }; }
20197 case $CONFIG_SHELL in
20199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20200 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20202 IFS=$as_save_IFS
20203 test -z "$as_dir" && as_dir=.
20204 for as_base in sh bash ksh sh5; do
20205 case $as_dir in
20207 if ("$as_dir/$as_base" -c '
20208 as_lineno_1=$LINENO
20209 as_lineno_2=$LINENO
20210 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20211 test "x$as_lineno_1" != "x$as_lineno_2" &&
20212 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20213 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20214 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20215 CONFIG_SHELL=$as_dir/$as_base
20216 export CONFIG_SHELL
20217 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20218 fi;;
20219 esac
20220 done
20221 done
20223 esac
20225 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20226 # uniformly replaced by the line number. The first 'sed' inserts a
20227 # line-number line before each line; the second 'sed' does the real
20228 # work. The second script uses 'N' to pair each line-number line
20229 # with the numbered line, and appends trailing '-' during
20230 # substitution so that $LINENO is not a special case at line end.
20231 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20232 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20233 sed '=' <$as_myself |
20234 sed '
20236 s,$,-,
20237 : loop
20238 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20239 t loop
20240 s,-$,,
20241 s,^['$as_cr_digits']*\n,,
20242 ' >$as_me.lineno &&
20243 chmod +x $as_me.lineno ||
20244 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20245 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20246 { (exit 1); exit 1; }; }
20248 # Don't try to exec as it changes $[0], causing all sort of problems
20249 # (the dirname of $[0] is not the place where we might find the
20250 # original and so on. Autoconf is especially sensible to this).
20251 . ./$as_me.lineno
20252 # Exit status is that of the last command.
20253 exit
20257 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20258 *c*,-n*) ECHO_N= ECHO_C='
20259 ' ECHO_T=' ' ;;
20260 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20261 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
20262 esac
20264 if expr a : '\(a\)' >/dev/null 2>&1; then
20265 as_expr=expr
20266 else
20267 as_expr=false
20270 rm -f conf$$ conf$$.exe conf$$.file
20271 echo >conf$$.file
20272 if ln -s conf$$.file conf$$ 2>/dev/null; then
20273 # We could just check for DJGPP; but this test a) works b) is more generic
20274 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20275 if test -f conf$$.exe; then
20276 # Don't use ln at all; we don't have any links
20277 as_ln_s='cp -p'
20278 else
20279 as_ln_s='ln -s'
20281 elif ln conf$$.file conf$$ 2>/dev/null; then
20282 as_ln_s=ln
20283 else
20284 as_ln_s='cp -p'
20286 rm -f conf$$ conf$$.exe conf$$.file
20288 if mkdir -p . 2>/dev/null; then
20289 as_mkdir_p=:
20290 else
20291 test -d ./-p && rmdir ./-p
20292 as_mkdir_p=false
20295 as_executable_p="test -f"
20297 # Sed expression to map a string onto a valid CPP name.
20298 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20300 # Sed expression to map a string onto a valid variable name.
20301 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20304 # IFS
20305 # We need space, tab and new line, in precisely that order.
20306 as_nl='
20308 IFS=" $as_nl"
20310 # CDPATH.
20311 $as_unset CDPATH
20313 exec 6>&1
20315 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20316 # report actual input values of CONFIG_FILES etc. instead of their
20317 # values after options handling. Logging --version etc. is OK.
20318 exec 5>>config.log
20320 echo
20321 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20322 ## Running $as_me. ##
20323 _ASBOX
20324 } >&5
20325 cat >&5 <<_CSEOF
20327 This file was extended by Wine $as_me 20050419, which was
20328 generated by GNU Autoconf 2.59. Invocation command line was
20330 CONFIG_FILES = $CONFIG_FILES
20331 CONFIG_HEADERS = $CONFIG_HEADERS
20332 CONFIG_LINKS = $CONFIG_LINKS
20333 CONFIG_COMMANDS = $CONFIG_COMMANDS
20334 $ $0 $@
20336 _CSEOF
20337 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20338 echo >&5
20339 _ACEOF
20341 # Files that config.status was made for.
20342 if test -n "$ac_config_files"; then
20343 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20346 if test -n "$ac_config_headers"; then
20347 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20350 if test -n "$ac_config_links"; then
20351 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20354 if test -n "$ac_config_commands"; then
20355 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20358 cat >>$CONFIG_STATUS <<\_ACEOF
20360 ac_cs_usage="\
20361 \`$as_me' instantiates files from templates according to the
20362 current configuration.
20364 Usage: $0 [OPTIONS] [FILE]...
20366 -h, --help print this help, then exit
20367 -V, --version print version number, then exit
20368 -q, --quiet do not print progress messages
20369 -d, --debug don't remove temporary files
20370 --recheck update $as_me by reconfiguring in the same conditions
20371 --file=FILE[:TEMPLATE]
20372 instantiate the configuration file FILE
20373 --header=FILE[:TEMPLATE]
20374 instantiate the configuration header FILE
20376 Configuration files:
20377 $config_files
20379 Configuration headers:
20380 $config_headers
20382 Configuration commands:
20383 $config_commands
20385 Report bugs to <bug-autoconf@gnu.org>."
20386 _ACEOF
20388 cat >>$CONFIG_STATUS <<_ACEOF
20389 ac_cs_version="\\
20390 Wine config.status 20050419
20391 configured by $0, generated by GNU Autoconf 2.59,
20392 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20394 Copyright (C) 2003 Free Software Foundation, Inc.
20395 This config.status script is free software; the Free Software Foundation
20396 gives unlimited permission to copy, distribute and modify it."
20397 srcdir=$srcdir
20398 INSTALL="$INSTALL"
20399 _ACEOF
20401 cat >>$CONFIG_STATUS <<\_ACEOF
20402 # If no file are specified by the user, then we need to provide default
20403 # value. By we need to know if files were specified by the user.
20404 ac_need_defaults=:
20405 while test $# != 0
20407 case $1 in
20408 --*=*)
20409 ac_option=`expr "x$1" : 'x\([^=]*\)='`
20410 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20411 ac_shift=:
20414 ac_option=$1
20415 ac_optarg=$2
20416 ac_shift=shift
20418 *) # This is not an option, so the user has probably given explicit
20419 # arguments.
20420 ac_option=$1
20421 ac_need_defaults=false;;
20422 esac
20424 case $ac_option in
20425 # Handling of the options.
20426 _ACEOF
20427 cat >>$CONFIG_STATUS <<\_ACEOF
20428 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20429 ac_cs_recheck=: ;;
20430 --version | --vers* | -V )
20431 echo "$ac_cs_version"; exit 0 ;;
20432 --he | --h)
20433 # Conflict between --help and --header
20434 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20435 Try \`$0 --help' for more information." >&5
20436 echo "$as_me: error: ambiguous option: $1
20437 Try \`$0 --help' for more information." >&2;}
20438 { (exit 1); exit 1; }; };;
20439 --help | --hel | -h )
20440 echo "$ac_cs_usage"; exit 0 ;;
20441 --debug | --d* | -d )
20442 debug=: ;;
20443 --file | --fil | --fi | --f )
20444 $ac_shift
20445 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20446 ac_need_defaults=false;;
20447 --header | --heade | --head | --hea )
20448 $ac_shift
20449 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20450 ac_need_defaults=false;;
20451 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20452 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20453 ac_cs_silent=: ;;
20455 # This is an error.
20456 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20457 Try \`$0 --help' for more information." >&5
20458 echo "$as_me: error: unrecognized option: $1
20459 Try \`$0 --help' for more information." >&2;}
20460 { (exit 1); exit 1; }; } ;;
20462 *) ac_config_targets="$ac_config_targets $1" ;;
20464 esac
20465 shift
20466 done
20468 ac_configure_extra_args=
20470 if $ac_cs_silent; then
20471 exec 6>/dev/null
20472 ac_configure_extra_args="$ac_configure_extra_args --silent"
20475 _ACEOF
20476 cat >>$CONFIG_STATUS <<_ACEOF
20477 if \$ac_cs_recheck; then
20478 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20479 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20482 _ACEOF
20488 cat >>$CONFIG_STATUS <<\_ACEOF
20489 for ac_config_target in $ac_config_targets
20491 case "$ac_config_target" in
20492 # Handling of arguments.
20493 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
20494 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
20495 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
20496 "libs/Makelib.rules" ) CONFIG_FILES="$CONFIG_FILES libs/Makelib.rules" ;;
20497 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
20498 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20499 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
20500 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20501 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20502 "dlls/advpack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
20503 "dlls/advpack/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
20504 "dlls/amstream/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
20505 "dlls/atl/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
20506 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20507 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20508 "dlls/cabinet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20509 "dlls/capi2032/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20510 "dlls/cards/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
20511 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20512 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
20513 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20514 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20515 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
20516 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20517 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20518 "dlls/cryptdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
20519 "dlls/ctl3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
20520 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20521 "dlls/d3d9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20522 "dlls/d3dim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20523 "dlls/d3drm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20524 "dlls/d3dx8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20525 "dlls/d3dxof/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20526 "dlls/dbghelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20527 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20528 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20529 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20530 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
20531 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
20532 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20533 "dlls/dmband/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
20534 "dlls/dmcompos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20535 "dlls/dmime/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
20536 "dlls/dmloader/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20537 "dlls/dmscript/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20538 "dlls/dmstyle/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20539 "dlls/dmsynth/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20540 "dlls/dmusic/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20541 "dlls/dmusic32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20542 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
20543 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20544 "dlls/dpnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20545 "dlls/dpnhpast/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20546 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
20547 "dlls/dsound/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20548 "dlls/dswave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
20549 "dlls/dxdiagn/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20550 "dlls/dxerr8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20551 "dlls/dxerr9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20552 "dlls/dxguid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20553 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
20554 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20555 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
20556 "dlls/glut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
20557 "dlls/hhctrl.ocx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20558 "dlls/iccvid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20559 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
20560 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20561 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20562 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
20563 "dlls/iphlpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20564 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20565 "dlls/itss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
20566 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
20567 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20568 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
20569 "dlls/lzexpand/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/tests/Makefile" ;;
20570 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20571 "dlls/mapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20572 "dlls/mlang/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
20573 "dlls/mlang/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20574 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20575 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20576 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
20577 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
20578 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
20579 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
20580 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
20581 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
20582 "dlls/msacm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/tests/Makefile" ;;
20583 "dlls/mscms/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
20584 "dlls/mscms/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
20585 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20586 "dlls/mshtml/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20587 "dlls/msi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
20588 "dlls/msi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
20589 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20590 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
20591 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20592 "dlls/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20593 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20594 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20595 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20596 "dlls/msvcrt40/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20597 "dlls/msvcrtd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20598 "dlls/msvcrtd/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20599 "dlls/msvidc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20600 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
20601 "dlls/mswsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20602 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20603 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20604 "dlls/newdev/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
20605 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20606 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20607 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20608 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
20609 "dlls/ole32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
20610 "dlls/oleacc/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20611 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20612 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20613 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
20614 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20615 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20616 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
20617 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20618 "dlls/powrprof/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
20619 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
20620 "dlls/psapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
20621 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
20622 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
20623 "dlls/quartz/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
20624 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20625 "dlls/riched20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
20626 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
20627 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20628 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20629 "dlls/rsabase/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20630 "dlls/rsabase/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
20631 "dlls/rsaenh/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
20632 "dlls/rsaenh/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
20633 "dlls/secur32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
20634 "dlls/sensapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
20635 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
20636 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20637 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20638 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
20639 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20640 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20641 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20642 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20643 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20644 "dlls/stdole32.tlb/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
20645 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
20646 "dlls/strmiids/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
20647 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20648 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
20649 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
20650 "dlls/unicows/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
20651 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
20652 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20653 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20654 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
20655 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20656 "dlls/uuid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
20657 "dlls/uxtheme/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20658 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20659 "dlls/vdmdbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
20660 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
20661 "dlls/version/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
20662 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20663 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20664 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20665 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20666 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20667 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
20668 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
20669 "dlls/wined3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20670 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
20671 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
20672 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
20673 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20674 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
20675 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20676 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
20677 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
20678 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
20679 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
20680 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
20681 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
20682 "dlls/winmm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20683 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
20684 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20685 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20686 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20687 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20688 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20689 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20690 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
20691 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
20692 "dlls/winsock/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
20693 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
20694 "dlls/winspool/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20695 "dlls/wintab32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20696 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20697 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
20698 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
20699 "dlls/wtsapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
20700 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
20701 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
20702 "fonts/Makefile" ) CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
20703 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20704 "libs/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
20705 "libs/port/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
20706 "libs/unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/unicode/Makefile" ;;
20707 "libs/wine/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
20708 "libs/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
20709 "loader/Makefile" ) CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
20710 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
20711 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
20712 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
20713 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
20714 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
20715 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
20716 "programs/msiexec/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
20717 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
20718 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
20719 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
20720 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
20721 "programs/rpcss/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
20722 "programs/rundll32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
20723 "programs/start/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
20724 "programs/taskmgr/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
20725 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
20726 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
20727 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
20728 "programs/wineboot/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
20729 "programs/winebrowser/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
20730 "programs/winecfg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
20731 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
20732 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
20733 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
20734 "programs/winemenubuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
20735 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
20736 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
20737 "programs/winetest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
20738 "programs/winevdm/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
20739 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
20740 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
20741 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
20742 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
20743 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
20744 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
20745 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
20746 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
20747 "tools/winegcc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
20748 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
20749 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
20750 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
20751 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
20752 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
20753 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
20754 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
20755 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
20756 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
20757 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
20758 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
20759 "dlls/user/dde" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/dde" ;;
20760 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
20761 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
20762 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
20763 "programs/regedit/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regedit/tests" ;;
20764 "windows" ) CONFIG_COMMANDS="$CONFIG_COMMANDS windows" ;;
20765 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20766 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20767 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20768 { (exit 1); exit 1; }; };;
20769 esac
20770 done
20772 # If the user did not use the arguments to specify the items to instantiate,
20773 # then the envvar interface is used. Set only those that are not.
20774 # We use the long form for the default assignment because of an extremely
20775 # bizarre bug on SunOS 4.1.3.
20776 if $ac_need_defaults; then
20777 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20778 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20779 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20782 # Have a temporary directory for convenience. Make it in the build tree
20783 # simply because there is no reason to put it here, and in addition,
20784 # creating and moving files from /tmp can sometimes cause problems.
20785 # Create a temporary directory, and hook for its removal unless debugging.
20786 $debug ||
20788 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20789 trap '{ (exit 1); exit 1; }' 1 2 13 15
20792 # Create a (secure) tmp directory for tmp files.
20795 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20796 test -n "$tmp" && test -d "$tmp"
20797 } ||
20799 tmp=./confstat$$-$RANDOM
20800 (umask 077 && mkdir $tmp)
20801 } ||
20803 echo "$me: cannot create a temporary directory in ." >&2
20804 { (exit 1); exit 1; }
20807 _ACEOF
20809 cat >>$CONFIG_STATUS <<_ACEOF
20812 # CONFIG_FILES section.
20815 # No need to generate the scripts if there are no CONFIG_FILES.
20816 # This happens for instance when ./config.status config.h
20817 if test -n "\$CONFIG_FILES"; then
20818 # Protect against being on the right side of a sed subst in config.status.
20819 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20820 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20821 s,@SHELL@,$SHELL,;t t
20822 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20823 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20824 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20825 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20826 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20827 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20828 s,@exec_prefix@,$exec_prefix,;t t
20829 s,@prefix@,$prefix,;t t
20830 s,@program_transform_name@,$program_transform_name,;t t
20831 s,@bindir@,$bindir,;t t
20832 s,@sbindir@,$sbindir,;t t
20833 s,@libexecdir@,$libexecdir,;t t
20834 s,@datadir@,$datadir,;t t
20835 s,@sysconfdir@,$sysconfdir,;t t
20836 s,@sharedstatedir@,$sharedstatedir,;t t
20837 s,@localstatedir@,$localstatedir,;t t
20838 s,@libdir@,$libdir,;t t
20839 s,@includedir@,$includedir,;t t
20840 s,@oldincludedir@,$oldincludedir,;t t
20841 s,@infodir@,$infodir,;t t
20842 s,@mandir@,$mandir,;t t
20843 s,@build_alias@,$build_alias,;t t
20844 s,@host_alias@,$host_alias,;t t
20845 s,@target_alias@,$target_alias,;t t
20846 s,@DEFS@,$DEFS,;t t
20847 s,@ECHO_C@,$ECHO_C,;t t
20848 s,@ECHO_N@,$ECHO_N,;t t
20849 s,@ECHO_T@,$ECHO_T,;t t
20850 s,@LIBS@,$LIBS,;t t
20851 s,@WIN16_FILES@,$WIN16_FILES,;t t
20852 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
20853 s,@DLLDEFS@,$DLLDEFS,;t t
20854 s,@build@,$build,;t t
20855 s,@build_cpu@,$build_cpu,;t t
20856 s,@build_vendor@,$build_vendor,;t t
20857 s,@build_os@,$build_os,;t t
20858 s,@host@,$host,;t t
20859 s,@host_cpu@,$host_cpu,;t t
20860 s,@host_vendor@,$host_vendor,;t t
20861 s,@host_os@,$host_os,;t t
20862 s,@SET_MAKE@,$SET_MAKE,;t t
20863 s,@CC@,$CC,;t t
20864 s,@CFLAGS@,$CFLAGS,;t t
20865 s,@LDFLAGS@,$LDFLAGS,;t t
20866 s,@CPPFLAGS@,$CPPFLAGS,;t t
20867 s,@ac_ct_CC@,$ac_ct_CC,;t t
20868 s,@EXEEXT@,$EXEEXT,;t t
20869 s,@OBJEXT@,$OBJEXT,;t t
20870 s,@CXX@,$CXX,;t t
20871 s,@CXXFLAGS@,$CXXFLAGS,;t t
20872 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20873 s,@CPPBIN@,$CPPBIN,;t t
20874 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
20875 s,@TOOLSDIR@,$TOOLSDIR,;t t
20876 s,@CPP@,$CPP,;t t
20877 s,@X_CFLAGS@,$X_CFLAGS,;t t
20878 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
20879 s,@X_LIBS@,$X_LIBS,;t t
20880 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
20881 s,@LEX@,$LEX,;t t
20882 s,@LEXLIB@,$LEXLIB,;t t
20883 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20884 s,@XLEX@,$XLEX,;t t
20885 s,@BISON@,$BISON,;t t
20886 s,@AS@,$AS,;t t
20887 s,@ac_ct_AS@,$ac_ct_AS,;t t
20888 s,@LD@,$LD,;t t
20889 s,@ac_ct_LD@,$ac_ct_LD,;t t
20890 s,@AR@,$AR,;t t
20891 s,@ac_ct_AR@,$ac_ct_AR,;t t
20892 s,@RANLIB@,$RANLIB,;t t
20893 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20894 s,@STRIP@,$STRIP,;t t
20895 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20896 s,@WINDRES@,$WINDRES,;t t
20897 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
20898 s,@LN_S@,$LN_S,;t t
20899 s,@LN@,$LN,;t t
20900 s,@EGREP@,$EGREP,;t t
20901 s,@LDCONFIG@,$LDCONFIG,;t t
20902 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20903 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20904 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20905 s,@LINT@,$LINT,;t t
20906 s,@LINTFLAGS@,$LINTFLAGS,;t t
20907 s,@FONTFORGE@,$FONTFORGE,;t t
20908 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
20909 s,@XLIB@,$XLIB,;t t
20910 s,@XFILES@,$XFILES,;t t
20911 s,@OPENGLFILES@,$OPENGLFILES,;t t
20912 s,@GLU32FILES@,$GLU32FILES,;t t
20913 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
20914 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
20915 s,@GLUT32FILES@,$GLUT32FILES,;t t
20916 s,@NASLIBS@,$NASLIBS,;t t
20917 s,@CURSESLIBS@,$CURSESLIBS,;t t
20918 s,@sane_devel@,$sane_devel,;t t
20919 s,@SANELIBS@,$SANELIBS,;t t
20920 s,@SANEINCL@,$SANEINCL,;t t
20921 s,@ICULIBS@,$ICULIBS,;t t
20922 s,@ft_devel@,$ft_devel,;t t
20923 s,@ft_devel2@,$ft_devel2,;t t
20924 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
20925 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
20926 s,@FONTSSUBDIRS@,$FONTSSUBDIRS,;t t
20927 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
20928 s,@ARTSLIBS@,$ARTSLIBS,;t t
20929 s,@ARTSINCL@,$ARTSINCL,;t t
20930 s,@ALSALIBS@,$ALSALIBS,;t t
20931 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
20932 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
20933 s,@DLLEXT@,$DLLEXT,;t t
20934 s,@DLLFLAGS@,$DLLFLAGS,;t t
20935 s,@DLLIBS@,$DLLIBS,;t t
20936 s,@LDSHARED@,$LDSHARED,;t t
20937 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
20938 s,@LIBEXT@,$LIBEXT,;t t
20939 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
20940 s,@DLLTOOL@,$DLLTOOL,;t t
20941 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
20942 s,@DLLWRAP@,$DLLWRAP,;t t
20943 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
20944 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
20945 s,@LDLIBWINEFLAGS@,$LDLIBWINEFLAGS,;t t
20946 s,@COREFOUNDATIONLIB@,$COREFOUNDATIONLIB,;t t
20947 s,@IOKITLIB@,$IOKITLIB,;t t
20948 s,@CROSSTEST@,$CROSSTEST,;t t
20949 s,@CROSSCC@,$CROSSCC,;t t
20950 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
20951 s,@LDPATH@,$LDPATH,;t t
20952 s,@CRTLIBS@,$CRTLIBS,;t t
20953 s,@SOCKETLIBS@,$SOCKETLIBS,;t t
20954 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
20955 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
20956 s,@LDD@,$LDD,;t t
20957 s,@ALLOCA@,$ALLOCA,;t t
20958 s,@LIBOBJS@,$LIBOBJS,;t t
20959 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20960 /@MAKE_RULES@/r $MAKE_RULES
20961 s,@MAKE_RULES@,,;t t
20962 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
20963 s,@MAKE_DLL_RULES@,,;t t
20964 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
20965 s,@MAKE_TEST_RULES@,,;t t
20966 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
20967 s,@MAKE_LIB_RULES@,,;t t
20968 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
20969 s,@MAKE_PROG_RULES@,,;t t
20970 CEOF
20972 _ACEOF
20974 cat >>$CONFIG_STATUS <<\_ACEOF
20975 # Split the substitutions into bite-sized pieces for seds with
20976 # small command number limits, like on Digital OSF/1 and HP-UX.
20977 ac_max_sed_lines=48
20978 ac_sed_frag=1 # Number of current file.
20979 ac_beg=1 # First line for current file.
20980 ac_end=$ac_max_sed_lines # Line after last line for current file.
20981 ac_more_lines=:
20982 ac_sed_cmds=
20983 while $ac_more_lines; do
20984 if test $ac_beg -gt 1; then
20985 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20986 else
20987 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20989 if test ! -s $tmp/subs.frag; then
20990 ac_more_lines=false
20991 else
20992 # The purpose of the label and of the branching condition is to
20993 # speed up the sed processing (if there are no `@' at all, there
20994 # is no need to browse any of the substitutions).
20995 # These are the two extra sed commands mentioned above.
20996 (echo ':t
20997 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
20998 if test -z "$ac_sed_cmds"; then
20999 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21000 else
21001 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21003 ac_sed_frag=`expr $ac_sed_frag + 1`
21004 ac_beg=$ac_end
21005 ac_end=`expr $ac_end + $ac_max_sed_lines`
21007 done
21008 if test -z "$ac_sed_cmds"; then
21009 ac_sed_cmds=cat
21011 fi # test -n "$CONFIG_FILES"
21013 _ACEOF
21014 cat >>$CONFIG_STATUS <<\_ACEOF
21015 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21016 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21017 case $ac_file in
21018 - | *:- | *:-:* ) # input from stdin
21019 cat >$tmp/stdin
21020 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21021 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21022 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21023 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21024 * ) ac_file_in=$ac_file.in ;;
21025 esac
21027 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21028 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21029 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21030 X"$ac_file" : 'X\(//\)[^/]' \| \
21031 X"$ac_file" : 'X\(//\)$' \| \
21032 X"$ac_file" : 'X\(/\)' \| \
21033 . : '\(.\)' 2>/dev/null ||
21034 echo X"$ac_file" |
21035 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21036 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21037 /^X\(\/\/\)$/{ s//\1/; q; }
21038 /^X\(\/\).*/{ s//\1/; q; }
21039 s/.*/./; q'`
21040 { if $as_mkdir_p; then
21041 mkdir -p "$ac_dir"
21042 else
21043 as_dir="$ac_dir"
21044 as_dirs=
21045 while test ! -d "$as_dir"; do
21046 as_dirs="$as_dir $as_dirs"
21047 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21048 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21049 X"$as_dir" : 'X\(//\)[^/]' \| \
21050 X"$as_dir" : 'X\(//\)$' \| \
21051 X"$as_dir" : 'X\(/\)' \| \
21052 . : '\(.\)' 2>/dev/null ||
21053 echo X"$as_dir" |
21054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21055 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21056 /^X\(\/\/\)$/{ s//\1/; q; }
21057 /^X\(\/\).*/{ s//\1/; q; }
21058 s/.*/./; q'`
21059 done
21060 test ! -n "$as_dirs" || mkdir $as_dirs
21061 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21062 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21063 { (exit 1); exit 1; }; }; }
21065 ac_builddir=.
21067 if test "$ac_dir" != .; then
21068 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21069 # A "../" for each directory in $ac_dir_suffix.
21070 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21071 else
21072 ac_dir_suffix= ac_top_builddir=
21075 case $srcdir in
21076 .) # No --srcdir option. We are building in place.
21077 ac_srcdir=.
21078 if test -z "$ac_top_builddir"; then
21079 ac_top_srcdir=.
21080 else
21081 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21082 fi ;;
21083 [\\/]* | ?:[\\/]* ) # Absolute path.
21084 ac_srcdir=$srcdir$ac_dir_suffix;
21085 ac_top_srcdir=$srcdir ;;
21086 *) # Relative path.
21087 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21088 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21089 esac
21091 # Do not use `cd foo && pwd` to compute absolute paths, because
21092 # the directories may not exist.
21093 case `pwd` in
21094 .) ac_abs_builddir="$ac_dir";;
21096 case "$ac_dir" in
21097 .) ac_abs_builddir=`pwd`;;
21098 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21099 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21100 esac;;
21101 esac
21102 case $ac_abs_builddir in
21103 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21105 case ${ac_top_builddir}. in
21106 .) ac_abs_top_builddir=$ac_abs_builddir;;
21107 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21108 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21109 esac;;
21110 esac
21111 case $ac_abs_builddir in
21112 .) ac_abs_srcdir=$ac_srcdir;;
21114 case $ac_srcdir in
21115 .) ac_abs_srcdir=$ac_abs_builddir;;
21116 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21117 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21118 esac;;
21119 esac
21120 case $ac_abs_builddir in
21121 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21123 case $ac_top_srcdir in
21124 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21125 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21126 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21127 esac;;
21128 esac
21131 case $INSTALL in
21132 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21133 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21134 esac
21136 # Let's still pretend it is `configure' which instantiates (i.e., don't
21137 # use $as_me), people would be surprised to read:
21138 # /* config.h. Generated by config.status. */
21139 if test x"$ac_file" = x-; then
21140 configure_input=
21141 else
21142 configure_input="$ac_file. "
21144 configure_input=$configure_input"Generated from `echo $ac_file_in |
21145 sed 's,.*/,,'` by configure."
21147 # First look for the input files in the build tree, otherwise in the
21148 # src tree.
21149 ac_file_inputs=`IFS=:
21150 for f in $ac_file_in; do
21151 case $f in
21152 -) echo $tmp/stdin ;;
21153 [\\/$]*)
21154 # Absolute (can't be DOS-style, as IFS=:)
21155 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21156 echo "$as_me: error: cannot find input file: $f" >&2;}
21157 { (exit 1); exit 1; }; }
21158 echo "$f";;
21159 *) # Relative
21160 if test -f "$f"; then
21161 # Build tree
21162 echo "$f"
21163 elif test -f "$srcdir/$f"; then
21164 # Source tree
21165 echo "$srcdir/$f"
21166 else
21167 # /dev/null tree
21168 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21169 echo "$as_me: error: cannot find input file: $f" >&2;}
21170 { (exit 1); exit 1; }; }
21171 fi;;
21172 esac
21173 done` || { (exit 1); exit 1; }
21175 if test x"$ac_file" != x-; then
21176 { echo "$as_me:$LINENO: creating $ac_file" >&5
21177 echo "$as_me: creating $ac_file" >&6;}
21178 rm -f "$ac_file"
21180 _ACEOF
21181 cat >>$CONFIG_STATUS <<_ACEOF
21182 sed "$ac_vpsub
21183 $extrasub
21184 _ACEOF
21185 cat >>$CONFIG_STATUS <<\_ACEOF
21187 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21188 s,@configure_input@,$configure_input,;t t
21189 s,@srcdir@,$ac_srcdir,;t t
21190 s,@abs_srcdir@,$ac_abs_srcdir,;t t
21191 s,@top_srcdir@,$ac_top_srcdir,;t t
21192 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21193 s,@builddir@,$ac_builddir,;t t
21194 s,@abs_builddir@,$ac_abs_builddir,;t t
21195 s,@top_builddir@,$ac_top_builddir,;t t
21196 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21197 s,@INSTALL@,$ac_INSTALL,;t t
21198 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21199 rm -f $tmp/stdin
21200 if test x"$ac_file" != x-; then
21201 mv $tmp/out $ac_file
21202 else
21203 cat $tmp/out
21204 rm -f $tmp/out
21207 done
21208 _ACEOF
21209 cat >>$CONFIG_STATUS <<\_ACEOF
21212 # CONFIG_HEADER section.
21215 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21216 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21218 # ac_d sets the value in "#define NAME VALUE" lines.
21219 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21220 ac_dB='[ ].*$,\1#\2'
21221 ac_dC=' '
21222 ac_dD=',;t'
21223 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21224 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21225 ac_uB='$,\1#\2define\3'
21226 ac_uC=' '
21227 ac_uD=',;t'
21229 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21230 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21231 case $ac_file in
21232 - | *:- | *:-:* ) # input from stdin
21233 cat >$tmp/stdin
21234 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21235 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21236 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21237 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21238 * ) ac_file_in=$ac_file.in ;;
21239 esac
21241 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21242 echo "$as_me: creating $ac_file" >&6;}
21244 # First look for the input files in the build tree, otherwise in the
21245 # src tree.
21246 ac_file_inputs=`IFS=:
21247 for f in $ac_file_in; do
21248 case $f in
21249 -) echo $tmp/stdin ;;
21250 [\\/$]*)
21251 # Absolute (can't be DOS-style, as IFS=:)
21252 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21253 echo "$as_me: error: cannot find input file: $f" >&2;}
21254 { (exit 1); exit 1; }; }
21255 # Do quote $f, to prevent DOS paths from being IFS'd.
21256 echo "$f";;
21257 *) # Relative
21258 if test -f "$f"; then
21259 # Build tree
21260 echo "$f"
21261 elif test -f "$srcdir/$f"; then
21262 # Source tree
21263 echo "$srcdir/$f"
21264 else
21265 # /dev/null tree
21266 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21267 echo "$as_me: error: cannot find input file: $f" >&2;}
21268 { (exit 1); exit 1; }; }
21269 fi;;
21270 esac
21271 done` || { (exit 1); exit 1; }
21272 # Remove the trailing spaces.
21273 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21275 _ACEOF
21277 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21278 # `conftest.undefs', that substitutes the proper values into
21279 # config.h.in to produce config.h. The first handles `#define'
21280 # templates, and the second `#undef' templates.
21281 # And first: Protect against being on the right side of a sed subst in
21282 # config.status. Protect against being in an unquoted here document
21283 # in config.status.
21284 rm -f conftest.defines conftest.undefs
21285 # Using a here document instead of a string reduces the quoting nightmare.
21286 # Putting comments in sed scripts is not portable.
21288 # `end' is used to avoid that the second main sed command (meant for
21289 # 0-ary CPP macros) applies to n-ary macro definitions.
21290 # See the Autoconf documentation for `clear'.
21291 cat >confdef2sed.sed <<\_ACEOF
21292 s/[\\&,]/\\&/g
21293 s,[\\$`],\\&,g
21294 t clear
21295 : clear
21296 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21297 t end
21298 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21299 : end
21300 _ACEOF
21301 # If some macros were called several times there might be several times
21302 # the same #defines, which is useless. Nevertheless, we may not want to
21303 # sort them, since we want the *last* AC-DEFINE to be honored.
21304 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21305 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21306 rm -f confdef2sed.sed
21308 # This sed command replaces #undef with comments. This is necessary, for
21309 # example, in the case of _POSIX_SOURCE, which is predefined and required
21310 # on some systems where configure will not decide to define it.
21311 cat >>conftest.undefs <<\_ACEOF
21312 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21313 _ACEOF
21315 # Break up conftest.defines because some shells have a limit on the size
21316 # of here documents, and old seds have small limits too (100 cmds).
21317 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21318 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21319 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21320 echo ' :' >>$CONFIG_STATUS
21321 rm -f conftest.tail
21322 while grep . conftest.defines >/dev/null
21324 # Write a limited-size here document to $tmp/defines.sed.
21325 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21326 # Speed up: don't consider the non `#define' lines.
21327 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21328 # Work around the forget-to-reset-the-flag bug.
21329 echo 't clr' >>$CONFIG_STATUS
21330 echo ': clr' >>$CONFIG_STATUS
21331 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21332 echo 'CEOF
21333 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21334 rm -f $tmp/in
21335 mv $tmp/out $tmp/in
21336 ' >>$CONFIG_STATUS
21337 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21338 rm -f conftest.defines
21339 mv conftest.tail conftest.defines
21340 done
21341 rm -f conftest.defines
21342 echo ' fi # grep' >>$CONFIG_STATUS
21343 echo >>$CONFIG_STATUS
21345 # Break up conftest.undefs because some shells have a limit on the size
21346 # of here documents, and old seds have small limits too (100 cmds).
21347 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21348 rm -f conftest.tail
21349 while grep . conftest.undefs >/dev/null
21351 # Write a limited-size here document to $tmp/undefs.sed.
21352 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21353 # Speed up: don't consider the non `#undef'
21354 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21355 # Work around the forget-to-reset-the-flag bug.
21356 echo 't clr' >>$CONFIG_STATUS
21357 echo ': clr' >>$CONFIG_STATUS
21358 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21359 echo 'CEOF
21360 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21361 rm -f $tmp/in
21362 mv $tmp/out $tmp/in
21363 ' >>$CONFIG_STATUS
21364 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21365 rm -f conftest.undefs
21366 mv conftest.tail conftest.undefs
21367 done
21368 rm -f conftest.undefs
21370 cat >>$CONFIG_STATUS <<\_ACEOF
21371 # Let's still pretend it is `configure' which instantiates (i.e., don't
21372 # use $as_me), people would be surprised to read:
21373 # /* config.h. Generated by config.status. */
21374 if test x"$ac_file" = x-; then
21375 echo "/* Generated by configure. */" >$tmp/config.h
21376 else
21377 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21379 cat $tmp/in >>$tmp/config.h
21380 rm -f $tmp/in
21381 if test x"$ac_file" != x-; then
21382 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21383 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21384 echo "$as_me: $ac_file is unchanged" >&6;}
21385 else
21386 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21387 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21388 X"$ac_file" : 'X\(//\)[^/]' \| \
21389 X"$ac_file" : 'X\(//\)$' \| \
21390 X"$ac_file" : 'X\(/\)' \| \
21391 . : '\(.\)' 2>/dev/null ||
21392 echo X"$ac_file" |
21393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21394 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21395 /^X\(\/\/\)$/{ s//\1/; q; }
21396 /^X\(\/\).*/{ s//\1/; q; }
21397 s/.*/./; q'`
21398 { if $as_mkdir_p; then
21399 mkdir -p "$ac_dir"
21400 else
21401 as_dir="$ac_dir"
21402 as_dirs=
21403 while test ! -d "$as_dir"; do
21404 as_dirs="$as_dir $as_dirs"
21405 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21406 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21407 X"$as_dir" : 'X\(//\)[^/]' \| \
21408 X"$as_dir" : 'X\(//\)$' \| \
21409 X"$as_dir" : 'X\(/\)' \| \
21410 . : '\(.\)' 2>/dev/null ||
21411 echo X"$as_dir" |
21412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21413 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21414 /^X\(\/\/\)$/{ s//\1/; q; }
21415 /^X\(\/\).*/{ s//\1/; q; }
21416 s/.*/./; q'`
21417 done
21418 test ! -n "$as_dirs" || mkdir $as_dirs
21419 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21420 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21421 { (exit 1); exit 1; }; }; }
21423 rm -f $ac_file
21424 mv $tmp/config.h $ac_file
21426 else
21427 cat $tmp/config.h
21428 rm -f $tmp/config.h
21430 done
21431 _ACEOF
21432 cat >>$CONFIG_STATUS <<\_ACEOF
21435 # CONFIG_COMMANDS section.
21437 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21438 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21439 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21440 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21441 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21442 X"$ac_dest" : 'X\(//\)[^/]' \| \
21443 X"$ac_dest" : 'X\(//\)$' \| \
21444 X"$ac_dest" : 'X\(/\)' \| \
21445 . : '\(.\)' 2>/dev/null ||
21446 echo X"$ac_dest" |
21447 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21448 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21449 /^X\(\/\/\)$/{ s//\1/; q; }
21450 /^X\(\/\).*/{ s//\1/; q; }
21451 s/.*/./; q'`
21452 { if $as_mkdir_p; then
21453 mkdir -p "$ac_dir"
21454 else
21455 as_dir="$ac_dir"
21456 as_dirs=
21457 while test ! -d "$as_dir"; do
21458 as_dirs="$as_dir $as_dirs"
21459 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21460 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21461 X"$as_dir" : 'X\(//\)[^/]' \| \
21462 X"$as_dir" : 'X\(//\)$' \| \
21463 X"$as_dir" : 'X\(/\)' \| \
21464 . : '\(.\)' 2>/dev/null ||
21465 echo X"$as_dir" |
21466 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21467 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21468 /^X\(\/\/\)$/{ s//\1/; q; }
21469 /^X\(\/\).*/{ s//\1/; q; }
21470 s/.*/./; q'`
21471 done
21472 test ! -n "$as_dirs" || mkdir $as_dirs
21473 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21474 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21475 { (exit 1); exit 1; }; }; }
21477 ac_builddir=.
21479 if test "$ac_dir" != .; then
21480 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21481 # A "../" for each directory in $ac_dir_suffix.
21482 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21483 else
21484 ac_dir_suffix= ac_top_builddir=
21487 case $srcdir in
21488 .) # No --srcdir option. We are building in place.
21489 ac_srcdir=.
21490 if test -z "$ac_top_builddir"; then
21491 ac_top_srcdir=.
21492 else
21493 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21494 fi ;;
21495 [\\/]* | ?:[\\/]* ) # Absolute path.
21496 ac_srcdir=$srcdir$ac_dir_suffix;
21497 ac_top_srcdir=$srcdir ;;
21498 *) # Relative path.
21499 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21500 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21501 esac
21503 # Do not use `cd foo && pwd` to compute absolute paths, because
21504 # the directories may not exist.
21505 case `pwd` in
21506 .) ac_abs_builddir="$ac_dir";;
21508 case "$ac_dir" in
21509 .) ac_abs_builddir=`pwd`;;
21510 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21511 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21512 esac;;
21513 esac
21514 case $ac_abs_builddir in
21515 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21517 case ${ac_top_builddir}. in
21518 .) ac_abs_top_builddir=$ac_abs_builddir;;
21519 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21520 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21521 esac;;
21522 esac
21523 case $ac_abs_builddir in
21524 .) ac_abs_srcdir=$ac_srcdir;;
21526 case $ac_srcdir in
21527 .) ac_abs_srcdir=$ac_abs_builddir;;
21528 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21529 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21530 esac;;
21531 esac
21532 case $ac_abs_builddir in
21533 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21535 case $ac_top_srcdir in
21536 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21537 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21538 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21539 esac;;
21540 esac
21543 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21544 echo "$as_me: executing $ac_dest commands" >&6;}
21545 case $ac_dest in
21546 dlls/ddraw/d3ddevice ) test -d "dlls/ddraw/d3ddevice" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
21547 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir "dlls/ddraw/d3ddevice") ;;
21548 dlls/ddraw/dclipper ) test -d "dlls/ddraw/dclipper" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
21549 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir "dlls/ddraw/dclipper") ;;
21550 dlls/ddraw/ddraw ) test -d "dlls/ddraw/ddraw" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
21551 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir "dlls/ddraw/ddraw") ;;
21552 dlls/ddraw/direct3d ) test -d "dlls/ddraw/direct3d" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
21553 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir "dlls/ddraw/direct3d") ;;
21554 dlls/ddraw/dpalette ) test -d "dlls/ddraw/dpalette" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
21555 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir "dlls/ddraw/dpalette") ;;
21556 dlls/ddraw/dsurface ) test -d "dlls/ddraw/dsurface" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
21557 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir "dlls/ddraw/dsurface") ;;
21558 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21559 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
21560 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21561 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
21562 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21563 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
21564 dlls/user/dde ) test -d "dlls/user/dde" || ({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
21565 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir "dlls/user/dde") ;;
21566 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21567 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
21568 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21569 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
21570 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
21571 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
21572 programs/regedit/tests ) test -d "programs/regedit/tests" || ({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
21573 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir "programs/regedit/tests") ;;
21574 windows ) test -d "windows" || ({ echo "$as_me:$LINENO: creating windows" >&5
21575 echo "$as_me: creating windows" >&6;} && mkdir "windows") ;;
21576 esac
21577 done
21578 _ACEOF
21580 cat >>$CONFIG_STATUS <<\_ACEOF
21582 { (exit 0); exit 0; }
21583 _ACEOF
21584 chmod +x $CONFIG_STATUS
21585 ac_clean_files=$ac_clean_files_save
21588 # configure is writing to config.log, and then calls config.status.
21589 # config.status does its own redirection, appending to config.log.
21590 # Unfortunately, on DOS this fails, as config.log is still kept open
21591 # by configure, so config.status won't be able to write to it; its
21592 # output is simply discarded. So we exec the FD to /dev/null,
21593 # effectively closing config.log, so it can be properly (re)opened and
21594 # appended to by config.status. When coming back to configure, we
21595 # need to make the FD available again.
21596 if test "$no_create" != yes; then
21597 ac_cs_success=:
21598 ac_config_status_args=
21599 test "$silent" = yes &&
21600 ac_config_status_args="$ac_config_status_args --quiet"
21601 exec 5>/dev/null
21602 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21603 exec 5>>config.log
21604 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21605 # would make configure fail if this is the last instruction.
21606 $ac_cs_success || { (exit 1); exit 1; }
21610 if test "$have_x" = "no"
21611 then
21612 echo
21613 echo "*** Warning: X development files not found. Wine will be built without"
21614 echo "*** X support, which currently does not work, and would probably not be"
21615 echo "*** what you want anyway. You will need to install devel packages of"
21616 echo "*** Xlib/Xfree86 at the very least."
21619 if test "$wine_cv_opengl_version_OK" = "no"
21620 then
21621 echo
21622 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21623 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21626 if test "$wine_cv_msg_freetype" = "yes"
21627 then
21628 echo
21629 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21630 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21631 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21632 echo "*** enable Wine to use TrueType fonts."
21635 if test -z "$ALSALIBS" -a -z "$ARTSC_LIBS" -a -z "$AUDIOIOLIBS" -a \
21636 -z "$ac_cv_lib_soname_jack" -a -z "$NASLIBS" -a \
21637 "$ac_cv_c_opensoundsystem" = "no"
21638 then
21639 echo "*** No sound system was found. Windows applications will be silent."
21640 echo "*** The currently supported sound systems are:"
21641 echo "*** ALSA, ARTS, AudioIO, Jack, NAS and OSS"
21644 echo
21645 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
21646 echo