Implement IROTData::GetComparisonData for file & item monikers.
[wine/hacks.git] / configure
blob237d6d24948e6df62a9d26d4fd6bbab48eebc470
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
7104 for ac_header in \
7105 arpa/inet.h \
7106 arpa/nameser.h \
7107 asm/types.h \
7108 cups/cups.h \
7109 direct.h \
7110 elf.h \
7111 float.h \
7112 fontconfig/fontconfig.h \
7113 getopt.h \
7114 gif_lib.h \
7115 ieeefp.h \
7116 io.h \
7117 jack/jack.h \
7118 jpeglib.h \
7119 lcms/lcms.h \
7120 lcms.h \
7121 link.h \
7122 linux/cdrom.h \
7123 linux/compiler.h \
7124 linux/hdreg.h \
7125 linux/input.h \
7126 linux/ioctl.h \
7127 linux/joystick.h \
7128 linux/major.h \
7129 linux/param.h \
7130 linux/serial.h \
7131 linux/ucdrom.h \
7132 mach/machine.h \
7133 machine/cpu.h \
7134 machine/limits.h \
7135 mntent.h \
7136 netdb.h \
7137 netinet/in.h \
7138 netinet/in_systm.h \
7139 netinet/tcp.h \
7140 netinet/tcp_fsm.h \
7141 openssl/ssl.h \
7142 poll.h \
7143 process.h \
7144 pthread.h \
7145 pwd.h \
7146 regex.h \
7147 sched.h \
7148 scsi/sg.h \
7149 scsi/scsi.h \
7150 scsi/scsi_ioctl.h \
7151 stdint.h \
7152 strings.h \
7153 sys/cdio.h \
7154 sys/elf32.h \
7155 sys/errno.h \
7156 sys/epoll.h \
7157 sys/exec_elf.h \
7158 sys/filio.h \
7159 sys/ioctl.h \
7160 sys/ipc.h \
7161 sys/link.h \
7162 sys/lwp.h \
7163 sys/mman.h \
7164 sys/modem.h \
7165 sys/msg.h \
7166 sys/param.h \
7167 sys/poll.h \
7168 sys/ptrace.h \
7169 sys/reg.h \
7170 sys/scsiio.h \
7171 sys/shm.h \
7172 sys/signal.h \
7173 sys/socket.h \
7174 sys/sockio.h \
7175 sys/statfs.h \
7176 sys/statvfs.h \
7177 sys/strtio.h \
7178 sys/syscall.h \
7179 sys/sysctl.h \
7180 sys/time.h \
7181 sys/times.h \
7182 sys/uio.h \
7183 sys/un.h \
7184 sys/vfs.h \
7185 sys/vm86.h \
7186 sys/wait.h \
7187 syscall.h \
7188 termios.h \
7189 unistd.h \
7190 utime.h \
7191 valgrind/memcheck.h
7194 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7196 echo "$as_me:$LINENO: checking for $ac_header" >&5
7197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7199 echo $ECHO_N "(cached) $ECHO_C" >&6
7201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7203 else
7204 # Is the header compilable?
7205 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7206 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7207 cat >conftest.$ac_ext <<_ACEOF
7208 /* confdefs.h. */
7209 _ACEOF
7210 cat confdefs.h >>conftest.$ac_ext
7211 cat >>conftest.$ac_ext <<_ACEOF
7212 /* end confdefs.h. */
7213 $ac_includes_default
7214 #include <$ac_header>
7215 _ACEOF
7216 rm -f conftest.$ac_objext
7217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7218 (eval $ac_compile) 2>conftest.er1
7219 ac_status=$?
7220 grep -v '^ *+' conftest.er1 >conftest.err
7221 rm -f conftest.er1
7222 cat conftest.err >&5
7223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224 (exit $ac_status); } &&
7225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7227 (eval $ac_try) 2>&5
7228 ac_status=$?
7229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230 (exit $ac_status); }; } &&
7231 { ac_try='test -s conftest.$ac_objext'
7232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7233 (eval $ac_try) 2>&5
7234 ac_status=$?
7235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7236 (exit $ac_status); }; }; then
7237 ac_header_compiler=yes
7238 else
7239 echo "$as_me: failed program was:" >&5
7240 sed 's/^/| /' conftest.$ac_ext >&5
7242 ac_header_compiler=no
7244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7245 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7246 echo "${ECHO_T}$ac_header_compiler" >&6
7248 # Is the header present?
7249 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7250 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7251 cat >conftest.$ac_ext <<_ACEOF
7252 /* confdefs.h. */
7253 _ACEOF
7254 cat confdefs.h >>conftest.$ac_ext
7255 cat >>conftest.$ac_ext <<_ACEOF
7256 /* end confdefs.h. */
7257 #include <$ac_header>
7258 _ACEOF
7259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7260 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7261 ac_status=$?
7262 grep -v '^ *+' conftest.er1 >conftest.err
7263 rm -f conftest.er1
7264 cat conftest.err >&5
7265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7266 (exit $ac_status); } >/dev/null; then
7267 if test -s conftest.err; then
7268 ac_cpp_err=$ac_c_preproc_warn_flag
7269 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7270 else
7271 ac_cpp_err=
7273 else
7274 ac_cpp_err=yes
7276 if test -z "$ac_cpp_err"; then
7277 ac_header_preproc=yes
7278 else
7279 echo "$as_me: failed program was:" >&5
7280 sed 's/^/| /' conftest.$ac_ext >&5
7282 ac_header_preproc=no
7284 rm -f conftest.err conftest.$ac_ext
7285 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7286 echo "${ECHO_T}$ac_header_preproc" >&6
7288 # So? What about this header?
7289 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7290 yes:no: )
7291 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7292 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7294 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7295 ac_header_preproc=yes
7297 no:yes:* )
7298 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7299 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7300 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7301 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7302 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7303 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7304 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7305 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7307 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7308 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7309 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7311 cat <<\_ASBOX
7312 ## ------------------------------------ ##
7313 ## Report this to wine-devel@winehq.org ##
7314 ## ------------------------------------ ##
7315 _ASBOX
7317 sed "s/^/$as_me: WARNING: /" >&2
7319 esac
7320 echo "$as_me:$LINENO: checking for $ac_header" >&5
7321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7323 echo $ECHO_N "(cached) $ECHO_C" >&6
7324 else
7325 eval "$as_ac_Header=\$ac_header_preproc"
7327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7331 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7332 cat >>confdefs.h <<_ACEOF
7333 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7334 _ACEOF
7338 done
7340 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7341 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
7342 if test "${ac_cv_header_stat_broken+set}" = set; then
7343 echo $ECHO_N "(cached) $ECHO_C" >&6
7344 else
7345 cat >conftest.$ac_ext <<_ACEOF
7346 /* confdefs.h. */
7347 _ACEOF
7348 cat confdefs.h >>conftest.$ac_ext
7349 cat >>conftest.$ac_ext <<_ACEOF
7350 /* end confdefs.h. */
7351 #include <sys/types.h>
7352 #include <sys/stat.h>
7354 #if defined(S_ISBLK) && defined(S_IFDIR)
7355 # if S_ISBLK (S_IFDIR)
7356 You lose.
7357 # endif
7358 #endif
7360 #if defined(S_ISBLK) && defined(S_IFCHR)
7361 # if S_ISBLK (S_IFCHR)
7362 You lose.
7363 # endif
7364 #endif
7366 #if defined(S_ISLNK) && defined(S_IFREG)
7367 # if S_ISLNK (S_IFREG)
7368 You lose.
7369 # endif
7370 #endif
7372 #if defined(S_ISSOCK) && defined(S_IFREG)
7373 # if S_ISSOCK (S_IFREG)
7374 You lose.
7375 # endif
7376 #endif
7378 _ACEOF
7379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7380 $EGREP "You lose" >/dev/null 2>&1; then
7381 ac_cv_header_stat_broken=yes
7382 else
7383 ac_cv_header_stat_broken=no
7385 rm -f conftest*
7388 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7389 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
7390 if test $ac_cv_header_stat_broken = yes; then
7392 cat >>confdefs.h <<\_ACEOF
7393 #define STAT_MACROS_BROKEN 1
7394 _ACEOF
7400 if test "$have_x" = "yes"
7401 then
7402 XLIB="-lXext -lX11"
7403 ac_save_CPPFLAGS="$CPPFLAGS"
7404 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7407 for ac_header in X11/Xlib.h
7409 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7411 echo "$as_me:$LINENO: checking for $ac_header" >&5
7412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7414 echo $ECHO_N "(cached) $ECHO_C" >&6
7416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7417 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7418 else
7419 # Is the header compilable?
7420 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7421 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7422 cat >conftest.$ac_ext <<_ACEOF
7423 /* confdefs.h. */
7424 _ACEOF
7425 cat confdefs.h >>conftest.$ac_ext
7426 cat >>conftest.$ac_ext <<_ACEOF
7427 /* end confdefs.h. */
7428 $ac_includes_default
7429 #include <$ac_header>
7430 _ACEOF
7431 rm -f conftest.$ac_objext
7432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7433 (eval $ac_compile) 2>conftest.er1
7434 ac_status=$?
7435 grep -v '^ *+' conftest.er1 >conftest.err
7436 rm -f conftest.er1
7437 cat conftest.err >&5
7438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7439 (exit $ac_status); } &&
7440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7442 (eval $ac_try) 2>&5
7443 ac_status=$?
7444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7445 (exit $ac_status); }; } &&
7446 { ac_try='test -s conftest.$ac_objext'
7447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7448 (eval $ac_try) 2>&5
7449 ac_status=$?
7450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451 (exit $ac_status); }; }; then
7452 ac_header_compiler=yes
7453 else
7454 echo "$as_me: failed program was:" >&5
7455 sed 's/^/| /' conftest.$ac_ext >&5
7457 ac_header_compiler=no
7459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7460 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7461 echo "${ECHO_T}$ac_header_compiler" >&6
7463 # Is the header present?
7464 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7465 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7466 cat >conftest.$ac_ext <<_ACEOF
7467 /* confdefs.h. */
7468 _ACEOF
7469 cat confdefs.h >>conftest.$ac_ext
7470 cat >>conftest.$ac_ext <<_ACEOF
7471 /* end confdefs.h. */
7472 #include <$ac_header>
7473 _ACEOF
7474 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7475 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7476 ac_status=$?
7477 grep -v '^ *+' conftest.er1 >conftest.err
7478 rm -f conftest.er1
7479 cat conftest.err >&5
7480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7481 (exit $ac_status); } >/dev/null; then
7482 if test -s conftest.err; then
7483 ac_cpp_err=$ac_c_preproc_warn_flag
7484 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7485 else
7486 ac_cpp_err=
7488 else
7489 ac_cpp_err=yes
7491 if test -z "$ac_cpp_err"; then
7492 ac_header_preproc=yes
7493 else
7494 echo "$as_me: failed program was:" >&5
7495 sed 's/^/| /' conftest.$ac_ext >&5
7497 ac_header_preproc=no
7499 rm -f conftest.err conftest.$ac_ext
7500 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7501 echo "${ECHO_T}$ac_header_preproc" >&6
7503 # So? What about this header?
7504 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7505 yes:no: )
7506 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7507 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7508 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7509 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7510 ac_header_preproc=yes
7512 no:yes:* )
7513 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7514 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7515 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7516 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7517 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7518 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7519 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7520 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7521 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7522 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7523 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7524 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7526 cat <<\_ASBOX
7527 ## ------------------------------------ ##
7528 ## Report this to wine-devel@winehq.org ##
7529 ## ------------------------------------ ##
7530 _ASBOX
7532 sed "s/^/$as_me: WARNING: /" >&2
7534 esac
7535 echo "$as_me:$LINENO: checking for $ac_header" >&5
7536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7538 echo $ECHO_N "(cached) $ECHO_C" >&6
7539 else
7540 eval "$as_ac_Header=\$ac_header_preproc"
7542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7546 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7547 cat >>confdefs.h <<_ACEOF
7548 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7549 _ACEOF
7560 for ac_header in X11/XKBlib.h \
7561 X11/Xutil.h \
7562 X11/extensions/shape.h \
7563 X11/extensions/XInput.h \
7564 X11/extensions/XShm.h \
7565 X11/extensions/Xrandr.h \
7566 X11/extensions/Xrender.h \
7567 X11/extensions/xf86dga.h \
7568 X11/extensions/xf86vmode.h
7570 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7571 echo "$as_me:$LINENO: checking for $ac_header" >&5
7572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7574 echo $ECHO_N "(cached) $ECHO_C" >&6
7575 else
7576 cat >conftest.$ac_ext <<_ACEOF
7577 /* confdefs.h. */
7578 _ACEOF
7579 cat confdefs.h >>conftest.$ac_ext
7580 cat >>conftest.$ac_ext <<_ACEOF
7581 /* end confdefs.h. */
7582 #include <X11/Xlib.h>
7583 #ifdef HAVE_X11_XUTIL_H
7584 # include <X11/Xutil.h>
7585 #endif
7587 #include <$ac_header>
7588 _ACEOF
7589 rm -f conftest.$ac_objext
7590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7591 (eval $ac_compile) 2>conftest.er1
7592 ac_status=$?
7593 grep -v '^ *+' conftest.er1 >conftest.err
7594 rm -f conftest.er1
7595 cat conftest.err >&5
7596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7597 (exit $ac_status); } &&
7598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7600 (eval $ac_try) 2>&5
7601 ac_status=$?
7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7603 (exit $ac_status); }; } &&
7604 { ac_try='test -s conftest.$ac_objext'
7605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7606 (eval $ac_try) 2>&5
7607 ac_status=$?
7608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609 (exit $ac_status); }; }; then
7610 eval "$as_ac_Header=yes"
7611 else
7612 echo "$as_me: failed program was:" >&5
7613 sed 's/^/| /' conftest.$ac_ext >&5
7615 eval "$as_ac_Header=no"
7617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7621 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7622 cat >>confdefs.h <<_ACEOF
7623 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7624 _ACEOF
7628 done
7631 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7632 then
7633 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7634 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7635 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7636 echo $ECHO_N "(cached) $ECHO_C" >&6
7637 else
7638 ac_check_lib_save_LIBS=$LIBS
7639 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7640 cat >conftest.$ac_ext <<_ACEOF
7641 /* confdefs.h. */
7642 _ACEOF
7643 cat confdefs.h >>conftest.$ac_ext
7644 cat >>conftest.$ac_ext <<_ACEOF
7645 /* end confdefs.h. */
7647 /* Override any gcc2 internal prototype to avoid an error. */
7648 #ifdef __cplusplus
7649 extern "C"
7650 #endif
7651 /* We use char because int might match the return type of a gcc2
7652 builtin and then its argument prototype would still apply. */
7653 char XkbQueryExtension ();
7655 main ()
7657 XkbQueryExtension ();
7659 return 0;
7661 _ACEOF
7662 rm -f conftest.$ac_objext conftest$ac_exeext
7663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7664 (eval $ac_link) 2>conftest.er1
7665 ac_status=$?
7666 grep -v '^ *+' conftest.er1 >conftest.err
7667 rm -f conftest.er1
7668 cat conftest.err >&5
7669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670 (exit $ac_status); } &&
7671 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7673 (eval $ac_try) 2>&5
7674 ac_status=$?
7675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7676 (exit $ac_status); }; } &&
7677 { ac_try='test -s conftest$ac_exeext'
7678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7679 (eval $ac_try) 2>&5
7680 ac_status=$?
7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 (exit $ac_status); }; }; then
7683 ac_cv_lib_X11_XkbQueryExtension=yes
7684 else
7685 echo "$as_me: failed program was:" >&5
7686 sed 's/^/| /' conftest.$ac_ext >&5
7688 ac_cv_lib_X11_XkbQueryExtension=no
7690 rm -f conftest.err conftest.$ac_objext \
7691 conftest$ac_exeext conftest.$ac_ext
7692 LIBS=$ac_check_lib_save_LIBS
7694 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7695 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7696 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7698 cat >>confdefs.h <<\_ACEOF
7699 #define HAVE_XKB 1
7700 _ACEOF
7706 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7707 then
7708 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7709 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7710 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7711 echo $ECHO_N "(cached) $ECHO_C" >&6
7712 else
7713 ac_check_lib_save_LIBS=$LIBS
7714 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7715 cat >conftest.$ac_ext <<_ACEOF
7716 /* confdefs.h. */
7717 _ACEOF
7718 cat confdefs.h >>conftest.$ac_ext
7719 cat >>conftest.$ac_ext <<_ACEOF
7720 /* end confdefs.h. */
7722 /* Override any gcc2 internal prototype to avoid an error. */
7723 #ifdef __cplusplus
7724 extern "C"
7725 #endif
7726 /* We use char because int might match the return type of a gcc2
7727 builtin and then its argument prototype would still apply. */
7728 char XShmQueryExtension ();
7730 main ()
7732 XShmQueryExtension ();
7734 return 0;
7736 _ACEOF
7737 rm -f conftest.$ac_objext conftest$ac_exeext
7738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7739 (eval $ac_link) 2>conftest.er1
7740 ac_status=$?
7741 grep -v '^ *+' conftest.er1 >conftest.err
7742 rm -f conftest.er1
7743 cat conftest.err >&5
7744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7745 (exit $ac_status); } &&
7746 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7748 (eval $ac_try) 2>&5
7749 ac_status=$?
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); }; } &&
7752 { ac_try='test -s conftest$ac_exeext'
7753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7754 (eval $ac_try) 2>&5
7755 ac_status=$?
7756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7757 (exit $ac_status); }; }; then
7758 ac_cv_lib_Xext_XShmQueryExtension=yes
7759 else
7760 echo "$as_me: failed program was:" >&5
7761 sed 's/^/| /' conftest.$ac_ext >&5
7763 ac_cv_lib_Xext_XShmQueryExtension=no
7765 rm -f conftest.err conftest.$ac_objext \
7766 conftest$ac_exeext conftest.$ac_ext
7767 LIBS=$ac_check_lib_save_LIBS
7769 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7770 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7771 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7773 cat >>confdefs.h <<\_ACEOF
7774 #define HAVE_LIBXXSHM 1
7775 _ACEOF
7781 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7782 then
7783 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7784 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7785 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7786 echo $ECHO_N "(cached) $ECHO_C" >&6
7787 else
7788 ac_check_lib_save_LIBS=$LIBS
7789 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7790 cat >conftest.$ac_ext <<_ACEOF
7791 /* confdefs.h. */
7792 _ACEOF
7793 cat confdefs.h >>conftest.$ac_ext
7794 cat >>conftest.$ac_ext <<_ACEOF
7795 /* end confdefs.h. */
7797 /* Override any gcc2 internal prototype to avoid an error. */
7798 #ifdef __cplusplus
7799 extern "C"
7800 #endif
7801 /* We use char because int might match the return type of a gcc2
7802 builtin and then its argument prototype would still apply. */
7803 char XShapeQueryExtension ();
7805 main ()
7807 XShapeQueryExtension ();
7809 return 0;
7811 _ACEOF
7812 rm -f conftest.$ac_objext conftest$ac_exeext
7813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7814 (eval $ac_link) 2>conftest.er1
7815 ac_status=$?
7816 grep -v '^ *+' conftest.er1 >conftest.err
7817 rm -f conftest.er1
7818 cat conftest.err >&5
7819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7820 (exit $ac_status); } &&
7821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7823 (eval $ac_try) 2>&5
7824 ac_status=$?
7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 (exit $ac_status); }; } &&
7827 { ac_try='test -s conftest$ac_exeext'
7828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7829 (eval $ac_try) 2>&5
7830 ac_status=$?
7831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7832 (exit $ac_status); }; }; then
7833 ac_cv_lib_Xext_XShapeQueryExtension=yes
7834 else
7835 echo "$as_me: failed program was:" >&5
7836 sed 's/^/| /' conftest.$ac_ext >&5
7838 ac_cv_lib_Xext_XShapeQueryExtension=no
7840 rm -f conftest.err conftest.$ac_objext \
7841 conftest$ac_exeext conftest.$ac_ext
7842 LIBS=$ac_check_lib_save_LIBS
7844 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7845 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
7846 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7848 cat >>confdefs.h <<\_ACEOF
7849 #define HAVE_LIBXSHAPE 1
7850 _ACEOF
7856 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
7857 then
7858 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
7859 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7860 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
7861 echo $ECHO_N "(cached) $ECHO_C" >&6
7862 else
7863 ac_check_lib_save_LIBS=$LIBS
7864 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7865 cat >conftest.$ac_ext <<_ACEOF
7866 /* confdefs.h. */
7867 _ACEOF
7868 cat confdefs.h >>conftest.$ac_ext
7869 cat >>conftest.$ac_ext <<_ACEOF
7870 /* end confdefs.h. */
7872 /* Override any gcc2 internal prototype to avoid an error. */
7873 #ifdef __cplusplus
7874 extern "C"
7875 #endif
7876 /* We use char because int might match the return type of a gcc2
7877 builtin and then its argument prototype would still apply. */
7878 char XDGAQueryExtension ();
7880 main ()
7882 XDGAQueryExtension ();
7884 return 0;
7886 _ACEOF
7887 rm -f conftest.$ac_objext conftest$ac_exeext
7888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7889 (eval $ac_link) 2>conftest.er1
7890 ac_status=$?
7891 grep -v '^ *+' conftest.er1 >conftest.err
7892 rm -f conftest.er1
7893 cat conftest.err >&5
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 (exit $ac_status); } &&
7896 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7898 (eval $ac_try) 2>&5
7899 ac_status=$?
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901 (exit $ac_status); }; } &&
7902 { ac_try='test -s conftest$ac_exeext'
7903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7904 (eval $ac_try) 2>&5
7905 ac_status=$?
7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907 (exit $ac_status); }; }; then
7908 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
7909 else
7910 echo "$as_me: failed program was:" >&5
7911 sed 's/^/| /' conftest.$ac_ext >&5
7913 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
7915 rm -f conftest.err conftest.$ac_objext \
7916 conftest$ac_exeext conftest.$ac_ext
7917 LIBS=$ac_check_lib_save_LIBS
7919 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
7920 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
7921 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
7923 cat >>confdefs.h <<\_ACEOF
7924 #define HAVE_LIBXXF86DGA2 1
7925 _ACEOF
7927 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7933 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7934 then
7935 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7936 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7937 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7938 echo $ECHO_N "(cached) $ECHO_C" >&6
7939 else
7940 ac_check_lib_save_LIBS=$LIBS
7941 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7942 cat >conftest.$ac_ext <<_ACEOF
7943 /* confdefs.h. */
7944 _ACEOF
7945 cat confdefs.h >>conftest.$ac_ext
7946 cat >>conftest.$ac_ext <<_ACEOF
7947 /* end confdefs.h. */
7949 /* Override any gcc2 internal prototype to avoid an error. */
7950 #ifdef __cplusplus
7951 extern "C"
7952 #endif
7953 /* We use char because int might match the return type of a gcc2
7954 builtin and then its argument prototype would still apply. */
7955 char XF86VidModeQueryExtension ();
7957 main ()
7959 XF86VidModeQueryExtension ();
7961 return 0;
7963 _ACEOF
7964 rm -f conftest.$ac_objext conftest$ac_exeext
7965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7966 (eval $ac_link) 2>conftest.er1
7967 ac_status=$?
7968 grep -v '^ *+' conftest.er1 >conftest.err
7969 rm -f conftest.er1
7970 cat conftest.err >&5
7971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7972 (exit $ac_status); } &&
7973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7975 (eval $ac_try) 2>&5
7976 ac_status=$?
7977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7978 (exit $ac_status); }; } &&
7979 { ac_try='test -s conftest$ac_exeext'
7980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7981 (eval $ac_try) 2>&5
7982 ac_status=$?
7983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7984 (exit $ac_status); }; }; then
7985 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
7986 else
7987 echo "$as_me: failed program was:" >&5
7988 sed 's/^/| /' conftest.$ac_ext >&5
7990 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
7992 rm -f conftest.err conftest.$ac_objext \
7993 conftest$ac_exeext conftest.$ac_ext
7994 LIBS=$ac_check_lib_save_LIBS
7996 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7997 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7998 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8000 cat >>confdefs.h <<\_ACEOF
8001 #define HAVE_LIBXXF86VM 1
8002 _ACEOF
8004 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8010 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8011 then
8012 cat >conftest.$ac_ext <<_ACEOF
8013 /* confdefs.h. */
8014 _ACEOF
8015 cat confdefs.h >>conftest.$ac_ext
8016 cat >>conftest.$ac_ext <<_ACEOF
8017 /* end confdefs.h. */
8018 #include <X11/Xlib.h>
8019 #include <X11/extensions/Xrandr.h>
8021 main ()
8023 static typeof(XRRSetScreenConfigAndRate) * func;
8025 return 0;
8027 _ACEOF
8028 rm -f conftest.$ac_objext
8029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8030 (eval $ac_compile) 2>conftest.er1
8031 ac_status=$?
8032 grep -v '^ *+' conftest.er1 >conftest.err
8033 rm -f conftest.er1
8034 cat conftest.err >&5
8035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8036 (exit $ac_status); } &&
8037 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8039 (eval $ac_try) 2>&5
8040 ac_status=$?
8041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8042 (exit $ac_status); }; } &&
8043 { ac_try='test -s conftest.$ac_objext'
8044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8045 (eval $ac_try) 2>&5
8046 ac_status=$?
8047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8048 (exit $ac_status); }; }; then
8050 cat >>confdefs.h <<\_ACEOF
8051 #define HAVE_LIBXRANDR 1
8052 _ACEOF
8054 else
8055 echo "$as_me: failed program was:" >&5
8056 sed 's/^/| /' conftest.$ac_ext >&5
8059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8062 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8063 then
8064 echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8065 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6
8066 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8067 echo $ECHO_N "(cached) $ECHO_C" >&6
8068 else
8069 ac_check_lib_save_LIBS=$LIBS
8070 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8071 cat >conftest.$ac_ext <<_ACEOF
8072 /* confdefs.h. */
8073 _ACEOF
8074 cat confdefs.h >>conftest.$ac_ext
8075 cat >>conftest.$ac_ext <<_ACEOF
8076 /* end confdefs.h. */
8078 /* Override any gcc2 internal prototype to avoid an error. */
8079 #ifdef __cplusplus
8080 extern "C"
8081 #endif
8082 /* We use char because int might match the return type of a gcc2
8083 builtin and then its argument prototype would still apply. */
8084 char XRenderSetPictureTransform ();
8086 main ()
8088 XRenderSetPictureTransform ();
8090 return 0;
8092 _ACEOF
8093 rm -f conftest.$ac_objext conftest$ac_exeext
8094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8095 (eval $ac_link) 2>conftest.er1
8096 ac_status=$?
8097 grep -v '^ *+' conftest.er1 >conftest.err
8098 rm -f conftest.er1
8099 cat conftest.err >&5
8100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8101 (exit $ac_status); } &&
8102 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8104 (eval $ac_try) 2>&5
8105 ac_status=$?
8106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8107 (exit $ac_status); }; } &&
8108 { ac_try='test -s conftest$ac_exeext'
8109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8110 (eval $ac_try) 2>&5
8111 ac_status=$?
8112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8113 (exit $ac_status); }; }; then
8114 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8115 else
8116 echo "$as_me: failed program was:" >&5
8117 sed 's/^/| /' conftest.$ac_ext >&5
8119 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8121 rm -f conftest.err conftest.$ac_objext \
8122 conftest$ac_exeext conftest.$ac_ext
8123 LIBS=$ac_check_lib_save_LIBS
8125 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8126 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6
8127 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8129 cat >>confdefs.h <<\_ACEOF
8130 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8131 _ACEOF
8140 done
8142 if test "x$with_opengl" != "xno"
8143 then
8144 if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
8145 then
8146 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8147 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8148 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8149 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8150 { (exit 1); exit 1; }; }
8155 for ac_header in GL/gl.h GL/glx.h
8157 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8159 echo "$as_me:$LINENO: checking for $ac_header" >&5
8160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8162 echo $ECHO_N "(cached) $ECHO_C" >&6
8164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8166 else
8167 # Is the header compilable?
8168 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8169 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8170 cat >conftest.$ac_ext <<_ACEOF
8171 /* confdefs.h. */
8172 _ACEOF
8173 cat confdefs.h >>conftest.$ac_ext
8174 cat >>conftest.$ac_ext <<_ACEOF
8175 /* end confdefs.h. */
8176 $ac_includes_default
8177 #include <$ac_header>
8178 _ACEOF
8179 rm -f conftest.$ac_objext
8180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8181 (eval $ac_compile) 2>conftest.er1
8182 ac_status=$?
8183 grep -v '^ *+' conftest.er1 >conftest.err
8184 rm -f conftest.er1
8185 cat conftest.err >&5
8186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8187 (exit $ac_status); } &&
8188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8190 (eval $ac_try) 2>&5
8191 ac_status=$?
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 (exit $ac_status); }; } &&
8194 { ac_try='test -s conftest.$ac_objext'
8195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8196 (eval $ac_try) 2>&5
8197 ac_status=$?
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); }; }; then
8200 ac_header_compiler=yes
8201 else
8202 echo "$as_me: failed program was:" >&5
8203 sed 's/^/| /' conftest.$ac_ext >&5
8205 ac_header_compiler=no
8207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8208 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8209 echo "${ECHO_T}$ac_header_compiler" >&6
8211 # Is the header present?
8212 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8213 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8214 cat >conftest.$ac_ext <<_ACEOF
8215 /* confdefs.h. */
8216 _ACEOF
8217 cat confdefs.h >>conftest.$ac_ext
8218 cat >>conftest.$ac_ext <<_ACEOF
8219 /* end confdefs.h. */
8220 #include <$ac_header>
8221 _ACEOF
8222 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8223 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8224 ac_status=$?
8225 grep -v '^ *+' conftest.er1 >conftest.err
8226 rm -f conftest.er1
8227 cat conftest.err >&5
8228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8229 (exit $ac_status); } >/dev/null; then
8230 if test -s conftest.err; then
8231 ac_cpp_err=$ac_c_preproc_warn_flag
8232 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8233 else
8234 ac_cpp_err=
8236 else
8237 ac_cpp_err=yes
8239 if test -z "$ac_cpp_err"; then
8240 ac_header_preproc=yes
8241 else
8242 echo "$as_me: failed program was:" >&5
8243 sed 's/^/| /' conftest.$ac_ext >&5
8245 ac_header_preproc=no
8247 rm -f conftest.err conftest.$ac_ext
8248 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8249 echo "${ECHO_T}$ac_header_preproc" >&6
8251 # So? What about this header?
8252 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8253 yes:no: )
8254 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8255 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8257 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8258 ac_header_preproc=yes
8260 no:yes:* )
8261 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8262 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8263 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8264 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8265 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8266 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8267 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8268 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8269 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8270 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8271 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8272 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8274 cat <<\_ASBOX
8275 ## ------------------------------------ ##
8276 ## Report this to wine-devel@winehq.org ##
8277 ## ------------------------------------ ##
8278 _ASBOX
8280 sed "s/^/$as_me: WARNING: /" >&2
8282 esac
8283 echo "$as_me:$LINENO: checking for $ac_header" >&5
8284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8286 echo $ECHO_N "(cached) $ECHO_C" >&6
8287 else
8288 eval "$as_ac_Header=\$ac_header_preproc"
8290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8291 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8294 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8295 cat >>confdefs.h <<_ACEOF
8296 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8297 _ACEOF
8301 done
8303 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8304 then
8306 for ac_header in GL/glext.h
8308 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8309 echo "$as_me:$LINENO: checking for $ac_header" >&5
8310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8312 echo $ECHO_N "(cached) $ECHO_C" >&6
8313 else
8314 cat >conftest.$ac_ext <<_ACEOF
8315 /* confdefs.h. */
8316 _ACEOF
8317 cat confdefs.h >>conftest.$ac_ext
8318 cat >>conftest.$ac_ext <<_ACEOF
8319 /* end confdefs.h. */
8320 #include <GL/glx.h>
8322 #include <$ac_header>
8323 _ACEOF
8324 rm -f conftest.$ac_objext
8325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8326 (eval $ac_compile) 2>conftest.er1
8327 ac_status=$?
8328 grep -v '^ *+' conftest.er1 >conftest.err
8329 rm -f conftest.er1
8330 cat conftest.err >&5
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); } &&
8333 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8335 (eval $ac_try) 2>&5
8336 ac_status=$?
8337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338 (exit $ac_status); }; } &&
8339 { ac_try='test -s conftest.$ac_objext'
8340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8341 (eval $ac_try) 2>&5
8342 ac_status=$?
8343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8344 (exit $ac_status); }; }; then
8345 eval "$as_ac_Header=yes"
8346 else
8347 echo "$as_me: failed program was:" >&5
8348 sed 's/^/| /' conftest.$ac_ext >&5
8350 eval "$as_ac_Header=no"
8352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8355 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8356 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8357 cat >>confdefs.h <<_ACEOF
8358 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8359 _ACEOF
8363 done
8365 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8366 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8367 if test "${wine_cv_opengl_version_OK+set}" = set; then
8368 echo $ECHO_N "(cached) $ECHO_C" >&6
8369 else
8370 cat >conftest.$ac_ext <<_ACEOF
8371 /* confdefs.h. */
8372 _ACEOF
8373 cat confdefs.h >>conftest.$ac_ext
8374 cat >>conftest.$ac_ext <<_ACEOF
8375 /* end confdefs.h. */
8376 #include <GL/gl.h>
8378 main ()
8380 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8382 return 0;
8384 _ACEOF
8385 rm -f conftest.$ac_objext
8386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8387 (eval $ac_compile) 2>conftest.er1
8388 ac_status=$?
8389 grep -v '^ *+' conftest.er1 >conftest.err
8390 rm -f conftest.er1
8391 cat conftest.err >&5
8392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393 (exit $ac_status); } &&
8394 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8396 (eval $ac_try) 2>&5
8397 ac_status=$?
8398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8399 (exit $ac_status); }; } &&
8400 { ac_try='test -s conftest.$ac_objext'
8401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8402 (eval $ac_try) 2>&5
8403 ac_status=$?
8404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8405 (exit $ac_status); }; }; then
8406 wine_cv_opengl_version_OK="yes"
8407 else
8408 echo "$as_me: failed program was:" >&5
8409 sed 's/^/| /' conftest.$ac_ext >&5
8411 wine_cv_opengl_version_OK="no"
8414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8417 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8418 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8420 if test "$wine_cv_opengl_version_OK" = "yes"
8421 then
8422 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8423 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8424 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8425 echo $ECHO_N "(cached) $ECHO_C" >&6
8426 else
8427 ac_check_lib_save_LIBS=$LIBS
8428 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8429 cat >conftest.$ac_ext <<_ACEOF
8430 /* confdefs.h. */
8431 _ACEOF
8432 cat confdefs.h >>conftest.$ac_ext
8433 cat >>conftest.$ac_ext <<_ACEOF
8434 /* end confdefs.h. */
8436 /* Override any gcc2 internal prototype to avoid an error. */
8437 #ifdef __cplusplus
8438 extern "C"
8439 #endif
8440 /* We use char because int might match the return type of a gcc2
8441 builtin and then its argument prototype would still apply. */
8442 char glXCreateContext ();
8444 main ()
8446 glXCreateContext ();
8448 return 0;
8450 _ACEOF
8451 rm -f conftest.$ac_objext conftest$ac_exeext
8452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8453 (eval $ac_link) 2>conftest.er1
8454 ac_status=$?
8455 grep -v '^ *+' conftest.er1 >conftest.err
8456 rm -f conftest.er1
8457 cat conftest.err >&5
8458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8459 (exit $ac_status); } &&
8460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8462 (eval $ac_try) 2>&5
8463 ac_status=$?
8464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8465 (exit $ac_status); }; } &&
8466 { ac_try='test -s conftest$ac_exeext'
8467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8468 (eval $ac_try) 2>&5
8469 ac_status=$?
8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471 (exit $ac_status); }; }; then
8472 ac_cv_lib_GL_glXCreateContext=yes
8473 else
8474 echo "$as_me: failed program was:" >&5
8475 sed 's/^/| /' conftest.$ac_ext >&5
8477 ac_cv_lib_GL_glXCreateContext=no
8479 rm -f conftest.err conftest.$ac_objext \
8480 conftest$ac_exeext conftest.$ac_ext
8481 LIBS=$ac_check_lib_save_LIBS
8483 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8484 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8485 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8486 OPENGL_LIBS="-lGL"
8491 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8492 then
8493 OPENGLFILES='$(OPENGLFILES)'
8495 cat >>confdefs.h <<\_ACEOF
8496 #define HAVE_OPENGL 1
8497 _ACEOF
8500 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8501 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8502 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8503 echo $ECHO_N "(cached) $ECHO_C" >&6
8504 else
8505 ac_check_lib_save_LIBS=$LIBS
8506 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8507 $LIBS"
8508 cat >conftest.$ac_ext <<_ACEOF
8509 /* confdefs.h. */
8510 _ACEOF
8511 cat confdefs.h >>conftest.$ac_ext
8512 cat >>conftest.$ac_ext <<_ACEOF
8513 /* end confdefs.h. */
8515 /* Override any gcc2 internal prototype to avoid an error. */
8516 #ifdef __cplusplus
8517 extern "C"
8518 #endif
8519 /* We use char because int might match the return type of a gcc2
8520 builtin and then its argument prototype would still apply. */
8521 char gluLookAt ();
8523 main ()
8525 gluLookAt ();
8527 return 0;
8529 _ACEOF
8530 rm -f conftest.$ac_objext conftest$ac_exeext
8531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8532 (eval $ac_link) 2>conftest.er1
8533 ac_status=$?
8534 grep -v '^ *+' conftest.er1 >conftest.err
8535 rm -f conftest.er1
8536 cat conftest.err >&5
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); } &&
8539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8541 (eval $ac_try) 2>&5
8542 ac_status=$?
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); }; } &&
8545 { ac_try='test -s conftest$ac_exeext'
8546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8547 (eval $ac_try) 2>&5
8548 ac_status=$?
8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 (exit $ac_status); }; }; then
8551 ac_cv_lib_GLU_gluLookAt=yes
8552 else
8553 echo "$as_me: failed program was:" >&5
8554 sed 's/^/| /' conftest.$ac_ext >&5
8556 ac_cv_lib_GLU_gluLookAt=no
8558 rm -f conftest.err conftest.$ac_objext \
8559 conftest$ac_exeext conftest.$ac_ext
8560 LIBS=$ac_check_lib_save_LIBS
8562 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8563 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8564 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8565 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8566 GLU32FILES='$(GLU32FILES)'
8572 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8573 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8574 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8575 echo $ECHO_N "(cached) $ECHO_C" >&6
8576 else
8577 ac_check_lib_save_LIBS=$LIBS
8578 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8579 cat >conftest.$ac_ext <<_ACEOF
8580 /* confdefs.h. */
8581 _ACEOF
8582 cat confdefs.h >>conftest.$ac_ext
8583 cat >>conftest.$ac_ext <<_ACEOF
8584 /* end confdefs.h. */
8586 /* Override any gcc2 internal prototype to avoid an error. */
8587 #ifdef __cplusplus
8588 extern "C"
8589 #endif
8590 /* We use char because int might match the return type of a gcc2
8591 builtin and then its argument prototype would still apply. */
8592 char glutMainLoop ();
8594 main ()
8596 glutMainLoop ();
8598 return 0;
8600 _ACEOF
8601 rm -f conftest.$ac_objext conftest$ac_exeext
8602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8603 (eval $ac_link) 2>conftest.er1
8604 ac_status=$?
8605 grep -v '^ *+' conftest.er1 >conftest.err
8606 rm -f conftest.er1
8607 cat conftest.err >&5
8608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8609 (exit $ac_status); } &&
8610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8612 (eval $ac_try) 2>&5
8613 ac_status=$?
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); }; } &&
8616 { ac_try='test -s conftest$ac_exeext'
8617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8618 (eval $ac_try) 2>&5
8619 ac_status=$?
8620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621 (exit $ac_status); }; }; then
8622 ac_cv_lib_glut_glutMainLoop=yes
8623 else
8624 echo "$as_me: failed program was:" >&5
8625 sed 's/^/| /' conftest.$ac_ext >&5
8627 ac_cv_lib_glut_glutMainLoop=no
8629 rm -f conftest.err conftest.$ac_objext \
8630 conftest$ac_exeext conftest.$ac_ext
8631 LIBS=$ac_check_lib_save_LIBS
8633 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
8634 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
8635 if test $ac_cv_lib_glut_glutMainLoop = yes; then
8636 GLUT_LIBS="-lglut -lXmu -lXi"
8638 GLUT32FILES='$(GLUT32FILES)'
8645 NASLIBS=""
8648 for ac_header in audio/audiolib.h
8650 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8652 echo "$as_me:$LINENO: checking for $ac_header" >&5
8653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8655 echo $ECHO_N "(cached) $ECHO_C" >&6
8657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8658 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8659 else
8660 # Is the header compilable?
8661 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8662 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8663 cat >conftest.$ac_ext <<_ACEOF
8664 /* confdefs.h. */
8665 _ACEOF
8666 cat confdefs.h >>conftest.$ac_ext
8667 cat >>conftest.$ac_ext <<_ACEOF
8668 /* end confdefs.h. */
8669 $ac_includes_default
8670 #include <$ac_header>
8671 _ACEOF
8672 rm -f conftest.$ac_objext
8673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8674 (eval $ac_compile) 2>conftest.er1
8675 ac_status=$?
8676 grep -v '^ *+' conftest.er1 >conftest.err
8677 rm -f conftest.er1
8678 cat conftest.err >&5
8679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680 (exit $ac_status); } &&
8681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8683 (eval $ac_try) 2>&5
8684 ac_status=$?
8685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686 (exit $ac_status); }; } &&
8687 { ac_try='test -s conftest.$ac_objext'
8688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8689 (eval $ac_try) 2>&5
8690 ac_status=$?
8691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692 (exit $ac_status); }; }; then
8693 ac_header_compiler=yes
8694 else
8695 echo "$as_me: failed program was:" >&5
8696 sed 's/^/| /' conftest.$ac_ext >&5
8698 ac_header_compiler=no
8700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8702 echo "${ECHO_T}$ac_header_compiler" >&6
8704 # Is the header present?
8705 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8706 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8707 cat >conftest.$ac_ext <<_ACEOF
8708 /* confdefs.h. */
8709 _ACEOF
8710 cat confdefs.h >>conftest.$ac_ext
8711 cat >>conftest.$ac_ext <<_ACEOF
8712 /* end confdefs.h. */
8713 #include <$ac_header>
8714 _ACEOF
8715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8716 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8717 ac_status=$?
8718 grep -v '^ *+' conftest.er1 >conftest.err
8719 rm -f conftest.er1
8720 cat conftest.err >&5
8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722 (exit $ac_status); } >/dev/null; then
8723 if test -s conftest.err; then
8724 ac_cpp_err=$ac_c_preproc_warn_flag
8725 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8726 else
8727 ac_cpp_err=
8729 else
8730 ac_cpp_err=yes
8732 if test -z "$ac_cpp_err"; then
8733 ac_header_preproc=yes
8734 else
8735 echo "$as_me: failed program was:" >&5
8736 sed 's/^/| /' conftest.$ac_ext >&5
8738 ac_header_preproc=no
8740 rm -f conftest.err conftest.$ac_ext
8741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8742 echo "${ECHO_T}$ac_header_preproc" >&6
8744 # So? What about this header?
8745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8746 yes:no: )
8747 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8748 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8750 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8751 ac_header_preproc=yes
8753 no:yes:* )
8754 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8755 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8756 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8757 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8758 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8759 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8760 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8761 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8763 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8764 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8765 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8767 cat <<\_ASBOX
8768 ## ------------------------------------ ##
8769 ## Report this to wine-devel@winehq.org ##
8770 ## ------------------------------------ ##
8771 _ASBOX
8773 sed "s/^/$as_me: WARNING: /" >&2
8775 esac
8776 echo "$as_me:$LINENO: checking for $ac_header" >&5
8777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8779 echo $ECHO_N "(cached) $ECHO_C" >&6
8780 else
8781 eval "$as_ac_Header=\$ac_header_preproc"
8783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8787 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8788 cat >>confdefs.h <<_ACEOF
8789 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8790 _ACEOF
8792 for ac_header in audio/soundlib.h
8794 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8795 echo "$as_me:$LINENO: checking for $ac_header" >&5
8796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8798 echo $ECHO_N "(cached) $ECHO_C" >&6
8799 else
8800 cat >conftest.$ac_ext <<_ACEOF
8801 /* confdefs.h. */
8802 _ACEOF
8803 cat confdefs.h >>conftest.$ac_ext
8804 cat >>conftest.$ac_ext <<_ACEOF
8805 /* end confdefs.h. */
8806 #include <audio/audiolib.h>
8808 #include <$ac_header>
8809 _ACEOF
8810 rm -f conftest.$ac_objext
8811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8812 (eval $ac_compile) 2>conftest.er1
8813 ac_status=$?
8814 grep -v '^ *+' conftest.er1 >conftest.err
8815 rm -f conftest.er1
8816 cat conftest.err >&5
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818 (exit $ac_status); } &&
8819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8821 (eval $ac_try) 2>&5
8822 ac_status=$?
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 (exit $ac_status); }; } &&
8825 { ac_try='test -s conftest.$ac_objext'
8826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8827 (eval $ac_try) 2>&5
8828 ac_status=$?
8829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830 (exit $ac_status); }; }; then
8831 eval "$as_ac_Header=yes"
8832 else
8833 echo "$as_me: failed program was:" >&5
8834 sed 's/^/| /' conftest.$ac_ext >&5
8836 eval "$as_ac_Header=no"
8838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8841 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8842 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8843 cat >>confdefs.h <<_ACEOF
8844 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8845 _ACEOF
8849 done
8851 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8852 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8853 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8854 echo $ECHO_N "(cached) $ECHO_C" >&6
8855 else
8856 ac_check_lib_save_LIBS=$LIBS
8857 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8858 cat >conftest.$ac_ext <<_ACEOF
8859 /* confdefs.h. */
8860 _ACEOF
8861 cat confdefs.h >>conftest.$ac_ext
8862 cat >>conftest.$ac_ext <<_ACEOF
8863 /* end confdefs.h. */
8865 /* Override any gcc2 internal prototype to avoid an error. */
8866 #ifdef __cplusplus
8867 extern "C"
8868 #endif
8869 /* We use char because int might match the return type of a gcc2
8870 builtin and then its argument prototype would still apply. */
8871 char AuCreateFlow ();
8873 main ()
8875 AuCreateFlow ();
8877 return 0;
8879 _ACEOF
8880 rm -f conftest.$ac_objext conftest$ac_exeext
8881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8882 (eval $ac_link) 2>conftest.er1
8883 ac_status=$?
8884 grep -v '^ *+' conftest.er1 >conftest.err
8885 rm -f conftest.er1
8886 cat conftest.err >&5
8887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888 (exit $ac_status); } &&
8889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8891 (eval $ac_try) 2>&5
8892 ac_status=$?
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); }; } &&
8895 { ac_try='test -s conftest$ac_exeext'
8896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8897 (eval $ac_try) 2>&5
8898 ac_status=$?
8899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8900 (exit $ac_status); }; }; then
8901 ac_cv_lib_audio_AuCreateFlow=yes
8902 else
8903 echo "$as_me: failed program was:" >&5
8904 sed 's/^/| /' conftest.$ac_ext >&5
8906 ac_cv_lib_audio_AuCreateFlow=no
8908 rm -f conftest.err conftest.$ac_objext \
8909 conftest$ac_exeext conftest.$ac_ext
8910 LIBS=$ac_check_lib_save_LIBS
8912 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8913 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8914 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8916 cat >>confdefs.h <<\_ACEOF
8917 #define HAVE_NAS 1
8918 _ACEOF
8920 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8925 done
8928 CPPFLAGS="$ac_save_CPPFLAGS"
8929 XFILES='$(XFILES)'
8930 else
8931 XLIB=""
8932 X_CFLAGS=""
8933 X_LIBS=""
8936 CURSESLIBS=""
8937 if test "x$with_curses" != "xno"
8938 then
8940 for ac_header in ncurses.h
8942 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8944 echo "$as_me:$LINENO: checking for $ac_header" >&5
8945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8947 echo $ECHO_N "(cached) $ECHO_C" >&6
8949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8951 else
8952 # Is the header compilable?
8953 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8954 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8955 cat >conftest.$ac_ext <<_ACEOF
8956 /* confdefs.h. */
8957 _ACEOF
8958 cat confdefs.h >>conftest.$ac_ext
8959 cat >>conftest.$ac_ext <<_ACEOF
8960 /* end confdefs.h. */
8961 $ac_includes_default
8962 #include <$ac_header>
8963 _ACEOF
8964 rm -f conftest.$ac_objext
8965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8966 (eval $ac_compile) 2>conftest.er1
8967 ac_status=$?
8968 grep -v '^ *+' conftest.er1 >conftest.err
8969 rm -f conftest.er1
8970 cat conftest.err >&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); } &&
8973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8975 (eval $ac_try) 2>&5
8976 ac_status=$?
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 (exit $ac_status); }; } &&
8979 { ac_try='test -s conftest.$ac_objext'
8980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8981 (eval $ac_try) 2>&5
8982 ac_status=$?
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); }; }; then
8985 ac_header_compiler=yes
8986 else
8987 echo "$as_me: failed program was:" >&5
8988 sed 's/^/| /' conftest.$ac_ext >&5
8990 ac_header_compiler=no
8992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8993 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8994 echo "${ECHO_T}$ac_header_compiler" >&6
8996 # Is the header present?
8997 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8998 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8999 cat >conftest.$ac_ext <<_ACEOF
9000 /* confdefs.h. */
9001 _ACEOF
9002 cat confdefs.h >>conftest.$ac_ext
9003 cat >>conftest.$ac_ext <<_ACEOF
9004 /* end confdefs.h. */
9005 #include <$ac_header>
9006 _ACEOF
9007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9008 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9009 ac_status=$?
9010 grep -v '^ *+' conftest.er1 >conftest.err
9011 rm -f conftest.er1
9012 cat conftest.err >&5
9013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9014 (exit $ac_status); } >/dev/null; then
9015 if test -s conftest.err; then
9016 ac_cpp_err=$ac_c_preproc_warn_flag
9017 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9018 else
9019 ac_cpp_err=
9021 else
9022 ac_cpp_err=yes
9024 if test -z "$ac_cpp_err"; then
9025 ac_header_preproc=yes
9026 else
9027 echo "$as_me: failed program was:" >&5
9028 sed 's/^/| /' conftest.$ac_ext >&5
9030 ac_header_preproc=no
9032 rm -f conftest.err conftest.$ac_ext
9033 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9034 echo "${ECHO_T}$ac_header_preproc" >&6
9036 # So? What about this header?
9037 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9038 yes:no: )
9039 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9040 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9042 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9043 ac_header_preproc=yes
9045 no:yes:* )
9046 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9047 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9048 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9049 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9050 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9051 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9052 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9053 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9054 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9055 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9056 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9057 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9059 cat <<\_ASBOX
9060 ## ------------------------------------ ##
9061 ## Report this to wine-devel@winehq.org ##
9062 ## ------------------------------------ ##
9063 _ASBOX
9065 sed "s/^/$as_me: WARNING: /" >&2
9067 esac
9068 echo "$as_me:$LINENO: checking for $ac_header" >&5
9069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9071 echo $ECHO_N "(cached) $ECHO_C" >&6
9072 else
9073 eval "$as_ac_Header=\$ac_header_preproc"
9075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9079 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9080 cat >>confdefs.h <<_ACEOF
9081 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9082 _ACEOF
9083 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9084 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9085 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9086 echo $ECHO_N "(cached) $ECHO_C" >&6
9087 else
9088 ac_check_lib_save_LIBS=$LIBS
9089 LIBS="-lncurses $LIBS"
9090 cat >conftest.$ac_ext <<_ACEOF
9091 /* confdefs.h. */
9092 _ACEOF
9093 cat confdefs.h >>conftest.$ac_ext
9094 cat >>conftest.$ac_ext <<_ACEOF
9095 /* end confdefs.h. */
9097 /* Override any gcc2 internal prototype to avoid an error. */
9098 #ifdef __cplusplus
9099 extern "C"
9100 #endif
9101 /* We use char because int might match the return type of a gcc2
9102 builtin and then its argument prototype would still apply. */
9103 char waddch ();
9105 main ()
9107 waddch ();
9109 return 0;
9111 _ACEOF
9112 rm -f conftest.$ac_objext conftest$ac_exeext
9113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9114 (eval $ac_link) 2>conftest.er1
9115 ac_status=$?
9116 grep -v '^ *+' conftest.er1 >conftest.err
9117 rm -f conftest.er1
9118 cat conftest.err >&5
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); } &&
9121 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9123 (eval $ac_try) 2>&5
9124 ac_status=$?
9125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9126 (exit $ac_status); }; } &&
9127 { ac_try='test -s conftest$ac_exeext'
9128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9129 (eval $ac_try) 2>&5
9130 ac_status=$?
9131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132 (exit $ac_status); }; }; then
9133 ac_cv_lib_ncurses_waddch=yes
9134 else
9135 echo "$as_me: failed program was:" >&5
9136 sed 's/^/| /' conftest.$ac_ext >&5
9138 ac_cv_lib_ncurses_waddch=no
9140 rm -f conftest.err conftest.$ac_objext \
9141 conftest$ac_exeext conftest.$ac_ext
9142 LIBS=$ac_check_lib_save_LIBS
9144 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9145 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9146 if test $ac_cv_lib_ncurses_waddch = yes; then
9148 cat >>confdefs.h <<\_ACEOF
9149 #define HAVE_LIBNCURSES 1
9150 _ACEOF
9152 CURSESLIBS="-lncurses"
9153 else
9155 for ac_header in curses.h
9157 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9159 echo "$as_me:$LINENO: checking for $ac_header" >&5
9160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9162 echo $ECHO_N "(cached) $ECHO_C" >&6
9164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9166 else
9167 # Is the header compilable?
9168 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9169 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9170 cat >conftest.$ac_ext <<_ACEOF
9171 /* confdefs.h. */
9172 _ACEOF
9173 cat confdefs.h >>conftest.$ac_ext
9174 cat >>conftest.$ac_ext <<_ACEOF
9175 /* end confdefs.h. */
9176 $ac_includes_default
9177 #include <$ac_header>
9178 _ACEOF
9179 rm -f conftest.$ac_objext
9180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9181 (eval $ac_compile) 2>conftest.er1
9182 ac_status=$?
9183 grep -v '^ *+' conftest.er1 >conftest.err
9184 rm -f conftest.er1
9185 cat conftest.err >&5
9186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9187 (exit $ac_status); } &&
9188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9190 (eval $ac_try) 2>&5
9191 ac_status=$?
9192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9193 (exit $ac_status); }; } &&
9194 { ac_try='test -s conftest.$ac_objext'
9195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9196 (eval $ac_try) 2>&5
9197 ac_status=$?
9198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9199 (exit $ac_status); }; }; then
9200 ac_header_compiler=yes
9201 else
9202 echo "$as_me: failed program was:" >&5
9203 sed 's/^/| /' conftest.$ac_ext >&5
9205 ac_header_compiler=no
9207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9208 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9209 echo "${ECHO_T}$ac_header_compiler" >&6
9211 # Is the header present?
9212 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9213 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9214 cat >conftest.$ac_ext <<_ACEOF
9215 /* confdefs.h. */
9216 _ACEOF
9217 cat confdefs.h >>conftest.$ac_ext
9218 cat >>conftest.$ac_ext <<_ACEOF
9219 /* end confdefs.h. */
9220 #include <$ac_header>
9221 _ACEOF
9222 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9223 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9224 ac_status=$?
9225 grep -v '^ *+' conftest.er1 >conftest.err
9226 rm -f conftest.er1
9227 cat conftest.err >&5
9228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9229 (exit $ac_status); } >/dev/null; then
9230 if test -s conftest.err; then
9231 ac_cpp_err=$ac_c_preproc_warn_flag
9232 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9233 else
9234 ac_cpp_err=
9236 else
9237 ac_cpp_err=yes
9239 if test -z "$ac_cpp_err"; then
9240 ac_header_preproc=yes
9241 else
9242 echo "$as_me: failed program was:" >&5
9243 sed 's/^/| /' conftest.$ac_ext >&5
9245 ac_header_preproc=no
9247 rm -f conftest.err conftest.$ac_ext
9248 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9249 echo "${ECHO_T}$ac_header_preproc" >&6
9251 # So? What about this header?
9252 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9253 yes:no: )
9254 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9255 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9257 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9258 ac_header_preproc=yes
9260 no:yes:* )
9261 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9262 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9263 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9264 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9265 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9266 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9267 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9268 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9269 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9270 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9271 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9272 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9274 cat <<\_ASBOX
9275 ## ------------------------------------ ##
9276 ## Report this to wine-devel@winehq.org ##
9277 ## ------------------------------------ ##
9278 _ASBOX
9280 sed "s/^/$as_me: WARNING: /" >&2
9282 esac
9283 echo "$as_me:$LINENO: checking for $ac_header" >&5
9284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9286 echo $ECHO_N "(cached) $ECHO_C" >&6
9287 else
9288 eval "$as_ac_Header=\$ac_header_preproc"
9290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9291 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9294 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9295 cat >>confdefs.h <<_ACEOF
9296 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9297 _ACEOF
9298 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9299 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9300 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9301 echo $ECHO_N "(cached) $ECHO_C" >&6
9302 else
9303 ac_check_lib_save_LIBS=$LIBS
9304 LIBS="-lcurses $LIBS"
9305 cat >conftest.$ac_ext <<_ACEOF
9306 /* confdefs.h. */
9307 _ACEOF
9308 cat confdefs.h >>conftest.$ac_ext
9309 cat >>conftest.$ac_ext <<_ACEOF
9310 /* end confdefs.h. */
9312 /* Override any gcc2 internal prototype to avoid an error. */
9313 #ifdef __cplusplus
9314 extern "C"
9315 #endif
9316 /* We use char because int might match the return type of a gcc2
9317 builtin and then its argument prototype would still apply. */
9318 char waddch ();
9320 main ()
9322 waddch ();
9324 return 0;
9326 _ACEOF
9327 rm -f conftest.$ac_objext conftest$ac_exeext
9328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9329 (eval $ac_link) 2>conftest.er1
9330 ac_status=$?
9331 grep -v '^ *+' conftest.er1 >conftest.err
9332 rm -f conftest.er1
9333 cat conftest.err >&5
9334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9335 (exit $ac_status); } &&
9336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9338 (eval $ac_try) 2>&5
9339 ac_status=$?
9340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341 (exit $ac_status); }; } &&
9342 { ac_try='test -s conftest$ac_exeext'
9343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9344 (eval $ac_try) 2>&5
9345 ac_status=$?
9346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9347 (exit $ac_status); }; }; then
9348 ac_cv_lib_curses_waddch=yes
9349 else
9350 echo "$as_me: failed program was:" >&5
9351 sed 's/^/| /' conftest.$ac_ext >&5
9353 ac_cv_lib_curses_waddch=no
9355 rm -f conftest.err conftest.$ac_objext \
9356 conftest$ac_exeext conftest.$ac_ext
9357 LIBS=$ac_check_lib_save_LIBS
9359 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9360 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9361 if test $ac_cv_lib_curses_waddch = yes; then
9363 cat >>confdefs.h <<\_ACEOF
9364 #define HAVE_LIBCURSES 1
9365 _ACEOF
9367 CURSESLIBS="-lcurses"
9372 done
9378 done
9383 # Extract the first word of "sane-config", so it can be a program name with args.
9384 set dummy sane-config; ac_word=$2
9385 echo "$as_me:$LINENO: checking for $ac_word" >&5
9386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9387 if test "${ac_cv_prog_sane_devel+set}" = set; then
9388 echo $ECHO_N "(cached) $ECHO_C" >&6
9389 else
9390 if test -n "$sane_devel"; then
9391 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9392 else
9393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9394 for as_dir in $PATH
9396 IFS=$as_save_IFS
9397 test -z "$as_dir" && as_dir=.
9398 for ac_exec_ext in '' $ac_executable_extensions; do
9399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9400 ac_cv_prog_sane_devel="sane-config"
9401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9402 break 2
9404 done
9405 done
9407 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9410 sane_devel=$ac_cv_prog_sane_devel
9411 if test -n "$sane_devel"; then
9412 echo "$as_me:$LINENO: result: $sane_devel" >&5
9413 echo "${ECHO_T}$sane_devel" >&6
9414 else
9415 echo "$as_me:$LINENO: result: no" >&5
9416 echo "${ECHO_T}no" >&6
9419 if test "$sane_devel" = "no"
9420 then
9421 SANELIBS=""
9422 SANEINCL=""
9423 else
9424 SANELIBS="`$sane_devel --libs`"
9425 SANEINCL="`$sane_devel --cflags`"
9426 ac_save_CPPFLAGS="$CPPFLAGS"
9427 ac_save_LIBS="$LIBS"
9428 CPPFLAGS="$CPPFLAGS $SANEINCL"
9429 LIBS="$LIBS $SANELIBS"
9430 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9431 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9432 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9433 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9434 echo $ECHO_N "(cached) $ECHO_C" >&6
9436 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9437 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9438 else
9439 # Is the header compilable?
9440 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9441 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9442 cat >conftest.$ac_ext <<_ACEOF
9443 /* confdefs.h. */
9444 _ACEOF
9445 cat confdefs.h >>conftest.$ac_ext
9446 cat >>conftest.$ac_ext <<_ACEOF
9447 /* end confdefs.h. */
9448 $ac_includes_default
9449 #include <sane/sane.h>
9450 _ACEOF
9451 rm -f conftest.$ac_objext
9452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9453 (eval $ac_compile) 2>conftest.er1
9454 ac_status=$?
9455 grep -v '^ *+' conftest.er1 >conftest.err
9456 rm -f conftest.er1
9457 cat conftest.err >&5
9458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9459 (exit $ac_status); } &&
9460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9462 (eval $ac_try) 2>&5
9463 ac_status=$?
9464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9465 (exit $ac_status); }; } &&
9466 { ac_try='test -s conftest.$ac_objext'
9467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9468 (eval $ac_try) 2>&5
9469 ac_status=$?
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 (exit $ac_status); }; }; then
9472 ac_header_compiler=yes
9473 else
9474 echo "$as_me: failed program was:" >&5
9475 sed 's/^/| /' conftest.$ac_ext >&5
9477 ac_header_compiler=no
9479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9481 echo "${ECHO_T}$ac_header_compiler" >&6
9483 # Is the header present?
9484 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9485 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9486 cat >conftest.$ac_ext <<_ACEOF
9487 /* confdefs.h. */
9488 _ACEOF
9489 cat confdefs.h >>conftest.$ac_ext
9490 cat >>conftest.$ac_ext <<_ACEOF
9491 /* end confdefs.h. */
9492 #include <sane/sane.h>
9493 _ACEOF
9494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9496 ac_status=$?
9497 grep -v '^ *+' conftest.er1 >conftest.err
9498 rm -f conftest.er1
9499 cat conftest.err >&5
9500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9501 (exit $ac_status); } >/dev/null; then
9502 if test -s conftest.err; then
9503 ac_cpp_err=$ac_c_preproc_warn_flag
9504 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9505 else
9506 ac_cpp_err=
9508 else
9509 ac_cpp_err=yes
9511 if test -z "$ac_cpp_err"; then
9512 ac_header_preproc=yes
9513 else
9514 echo "$as_me: failed program was:" >&5
9515 sed 's/^/| /' conftest.$ac_ext >&5
9517 ac_header_preproc=no
9519 rm -f conftest.err conftest.$ac_ext
9520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9521 echo "${ECHO_T}$ac_header_preproc" >&6
9523 # So? What about this header?
9524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9525 yes:no: )
9526 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9527 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9528 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9529 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9530 ac_header_preproc=yes
9532 no:yes:* )
9533 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9534 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9535 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9536 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9537 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9538 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9539 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9540 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9541 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9542 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9543 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9544 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9546 cat <<\_ASBOX
9547 ## ------------------------------------ ##
9548 ## Report this to wine-devel@winehq.org ##
9549 ## ------------------------------------ ##
9550 _ASBOX
9552 sed "s/^/$as_me: WARNING: /" >&2
9554 esac
9555 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9556 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9557 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9558 echo $ECHO_N "(cached) $ECHO_C" >&6
9559 else
9560 ac_cv_header_sane_sane_h=$ac_header_preproc
9562 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9563 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9566 if test $ac_cv_header_sane_sane_h = yes; then
9567 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9568 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9569 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9570 echo $ECHO_N "(cached) $ECHO_C" >&6
9571 else
9572 ac_check_lib_save_LIBS=$LIBS
9573 LIBS="-lsane $LIBS"
9574 cat >conftest.$ac_ext <<_ACEOF
9575 /* confdefs.h. */
9576 _ACEOF
9577 cat confdefs.h >>conftest.$ac_ext
9578 cat >>conftest.$ac_ext <<_ACEOF
9579 /* end confdefs.h. */
9581 /* Override any gcc2 internal prototype to avoid an error. */
9582 #ifdef __cplusplus
9583 extern "C"
9584 #endif
9585 /* We use char because int might match the return type of a gcc2
9586 builtin and then its argument prototype would still apply. */
9587 char sane_open ();
9589 main ()
9591 sane_open ();
9593 return 0;
9595 _ACEOF
9596 rm -f conftest.$ac_objext conftest$ac_exeext
9597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9598 (eval $ac_link) 2>conftest.er1
9599 ac_status=$?
9600 grep -v '^ *+' conftest.er1 >conftest.err
9601 rm -f conftest.er1
9602 cat conftest.err >&5
9603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9604 (exit $ac_status); } &&
9605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9607 (eval $ac_try) 2>&5
9608 ac_status=$?
9609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9610 (exit $ac_status); }; } &&
9611 { ac_try='test -s conftest$ac_exeext'
9612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9613 (eval $ac_try) 2>&5
9614 ac_status=$?
9615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9616 (exit $ac_status); }; }; then
9617 ac_cv_lib_sane_sane_open=yes
9618 else
9619 echo "$as_me: failed program was:" >&5
9620 sed 's/^/| /' conftest.$ac_ext >&5
9622 ac_cv_lib_sane_sane_open=no
9624 rm -f conftest.err conftest.$ac_objext \
9625 conftest$ac_exeext conftest.$ac_ext
9626 LIBS=$ac_check_lib_save_LIBS
9628 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9629 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9630 if test $ac_cv_lib_sane_sane_open = yes; then
9632 cat >>confdefs.h <<\_ACEOF
9633 #define HAVE_SANE 1
9634 _ACEOF
9636 else
9637 SANELIBS=""
9638 SANEINCL=""
9641 else
9642 SANELIBS=""
9643 SANEINCL=""
9647 LIBS="$ac_save_LIBS"
9648 CPPFLAGS="$ac_save_CPPFLAGS"
9654 for ac_header in unicode/ubidi.h
9656 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9658 echo "$as_me:$LINENO: checking for $ac_header" >&5
9659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9661 echo $ECHO_N "(cached) $ECHO_C" >&6
9663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9665 else
9666 # Is the header compilable?
9667 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9668 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9669 cat >conftest.$ac_ext <<_ACEOF
9670 /* confdefs.h. */
9671 _ACEOF
9672 cat confdefs.h >>conftest.$ac_ext
9673 cat >>conftest.$ac_ext <<_ACEOF
9674 /* end confdefs.h. */
9675 $ac_includes_default
9676 #include <$ac_header>
9677 _ACEOF
9678 rm -f conftest.$ac_objext
9679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9680 (eval $ac_compile) 2>conftest.er1
9681 ac_status=$?
9682 grep -v '^ *+' conftest.er1 >conftest.err
9683 rm -f conftest.er1
9684 cat conftest.err >&5
9685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686 (exit $ac_status); } &&
9687 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9689 (eval $ac_try) 2>&5
9690 ac_status=$?
9691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9692 (exit $ac_status); }; } &&
9693 { ac_try='test -s conftest.$ac_objext'
9694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9695 (eval $ac_try) 2>&5
9696 ac_status=$?
9697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9698 (exit $ac_status); }; }; then
9699 ac_header_compiler=yes
9700 else
9701 echo "$as_me: failed program was:" >&5
9702 sed 's/^/| /' conftest.$ac_ext >&5
9704 ac_header_compiler=no
9706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9707 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9708 echo "${ECHO_T}$ac_header_compiler" >&6
9710 # Is the header present?
9711 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9712 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9713 cat >conftest.$ac_ext <<_ACEOF
9714 /* confdefs.h. */
9715 _ACEOF
9716 cat confdefs.h >>conftest.$ac_ext
9717 cat >>conftest.$ac_ext <<_ACEOF
9718 /* end confdefs.h. */
9719 #include <$ac_header>
9720 _ACEOF
9721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9722 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9723 ac_status=$?
9724 grep -v '^ *+' conftest.er1 >conftest.err
9725 rm -f conftest.er1
9726 cat conftest.err >&5
9727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9728 (exit $ac_status); } >/dev/null; then
9729 if test -s conftest.err; then
9730 ac_cpp_err=$ac_c_preproc_warn_flag
9731 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9732 else
9733 ac_cpp_err=
9735 else
9736 ac_cpp_err=yes
9738 if test -z "$ac_cpp_err"; then
9739 ac_header_preproc=yes
9740 else
9741 echo "$as_me: failed program was:" >&5
9742 sed 's/^/| /' conftest.$ac_ext >&5
9744 ac_header_preproc=no
9746 rm -f conftest.err conftest.$ac_ext
9747 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9748 echo "${ECHO_T}$ac_header_preproc" >&6
9750 # So? What about this header?
9751 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9752 yes:no: )
9753 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9754 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9755 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9756 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9757 ac_header_preproc=yes
9759 no:yes:* )
9760 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9761 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9762 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9763 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9764 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9765 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9766 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9767 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9768 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9769 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9770 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9771 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9773 cat <<\_ASBOX
9774 ## ------------------------------------ ##
9775 ## Report this to wine-devel@winehq.org ##
9776 ## ------------------------------------ ##
9777 _ASBOX
9779 sed "s/^/$as_me: WARNING: /" >&2
9781 esac
9782 echo "$as_me:$LINENO: checking for $ac_header" >&5
9783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9785 echo $ECHO_N "(cached) $ECHO_C" >&6
9786 else
9787 eval "$as_ac_Header=\$ac_header_preproc"
9789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9790 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9793 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9794 cat >>confdefs.h <<_ACEOF
9795 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9796 _ACEOF
9800 done
9802 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
9803 then
9804 saved_libs="$LIBS"
9805 ICU_LIB_DIR="${ICU_LIB_DIR-/usr/lib}"
9806 ICUUC_LIB="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
9807 ICUDATA_LIB="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
9808 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
9809 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
9810 LIBS="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9811 cat >conftest.$ac_ext <<_ACEOF
9812 /* confdefs.h. */
9813 _ACEOF
9814 cat confdefs.h >>conftest.$ac_ext
9815 cat >>conftest.$ac_ext <<_ACEOF
9816 /* end confdefs.h. */
9817 #include <unicode/ubidi.h>
9819 main ()
9821 ubidi_open()
9823 return 0;
9825 _ACEOF
9826 rm -f conftest.$ac_objext conftest$ac_exeext
9827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9828 (eval $ac_link) 2>conftest.er1
9829 ac_status=$?
9830 grep -v '^ *+' conftest.er1 >conftest.err
9831 rm -f conftest.er1
9832 cat conftest.err >&5
9833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834 (exit $ac_status); } &&
9835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9837 (eval $ac_try) 2>&5
9838 ac_status=$?
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); }; } &&
9841 { ac_try='test -s conftest$ac_exeext'
9842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9843 (eval $ac_try) 2>&5
9844 ac_status=$?
9845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9846 (exit $ac_status); }; }; then
9848 cat >>confdefs.h <<\_ACEOF
9849 #define HAVE_ICU 1
9850 _ACEOF
9852 ICULIBS="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9854 echo "$as_me:$LINENO: result: yes" >&5
9855 echo "${ECHO_T}yes" >&6
9856 else
9857 echo "$as_me: failed program was:" >&5
9858 sed 's/^/| /' conftest.$ac_ext >&5
9860 echo "$as_me:$LINENO: result: no" >&5
9861 echo "${ECHO_T}no" >&6
9863 rm -f conftest.err conftest.$ac_objext \
9864 conftest$ac_exeext conftest.$ac_ext
9865 LIBS="$saved_libs"
9868 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
9869 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
9870 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
9871 echo $ECHO_N "(cached) $ECHO_C" >&6
9872 else
9873 ac_check_lib_save_LIBS=$LIBS
9874 LIBS="-lfreetype $X_LIBS $LIBS"
9875 cat >conftest.$ac_ext <<_ACEOF
9876 /* confdefs.h. */
9877 _ACEOF
9878 cat confdefs.h >>conftest.$ac_ext
9879 cat >>conftest.$ac_ext <<_ACEOF
9880 /* end confdefs.h. */
9882 /* Override any gcc2 internal prototype to avoid an error. */
9883 #ifdef __cplusplus
9884 extern "C"
9885 #endif
9886 /* We use char because int might match the return type of a gcc2
9887 builtin and then its argument prototype would still apply. */
9888 char FT_Init_FreeType ();
9890 main ()
9892 FT_Init_FreeType ();
9894 return 0;
9896 _ACEOF
9897 rm -f conftest.$ac_objext conftest$ac_exeext
9898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9899 (eval $ac_link) 2>conftest.er1
9900 ac_status=$?
9901 grep -v '^ *+' conftest.er1 >conftest.err
9902 rm -f conftest.er1
9903 cat conftest.err >&5
9904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905 (exit $ac_status); } &&
9906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9908 (eval $ac_try) 2>&5
9909 ac_status=$?
9910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9911 (exit $ac_status); }; } &&
9912 { ac_try='test -s conftest$ac_exeext'
9913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9914 (eval $ac_try) 2>&5
9915 ac_status=$?
9916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9917 (exit $ac_status); }; }; then
9918 ac_cv_lib_freetype_FT_Init_FreeType=yes
9919 else
9920 echo "$as_me: failed program was:" >&5
9921 sed 's/^/| /' conftest.$ac_ext >&5
9923 ac_cv_lib_freetype_FT_Init_FreeType=no
9925 rm -f conftest.err conftest.$ac_objext \
9926 conftest$ac_exeext conftest.$ac_ext
9927 LIBS=$ac_check_lib_save_LIBS
9929 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
9930 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
9931 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
9932 ft_lib=yes
9933 else
9934 ft_lib=no
9937 if test "$ft_lib" = "no"
9938 then
9939 FREETYPELIBS=""
9940 FREETYPEINCL=""
9941 wine_cv_msg_freetype=no
9942 else
9943 # Extract the first word of "freetype-config", so it can be a program name with args.
9944 set dummy freetype-config; ac_word=$2
9945 echo "$as_me:$LINENO: checking for $ac_word" >&5
9946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9947 if test "${ac_cv_prog_ft_devel+set}" = set; then
9948 echo $ECHO_N "(cached) $ECHO_C" >&6
9949 else
9950 if test -n "$ft_devel"; then
9951 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
9952 else
9953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9954 for as_dir in $PATH
9956 IFS=$as_save_IFS
9957 test -z "$as_dir" && as_dir=.
9958 for ac_exec_ext in '' $ac_executable_extensions; do
9959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9960 ac_cv_prog_ft_devel="freetype-config"
9961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9962 break 2
9964 done
9965 done
9967 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
9970 ft_devel=$ac_cv_prog_ft_devel
9971 if test -n "$ft_devel"; then
9972 echo "$as_me:$LINENO: result: $ft_devel" >&5
9973 echo "${ECHO_T}$ft_devel" >&6
9974 else
9975 echo "$as_me:$LINENO: result: no" >&5
9976 echo "${ECHO_T}no" >&6
9979 if test "$ft_devel" = "no"
9980 then
9981 # Extract the first word of "freetype2-config", so it can be a program name with args.
9982 set dummy freetype2-config; ac_word=$2
9983 echo "$as_me:$LINENO: checking for $ac_word" >&5
9984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9985 if test "${ac_cv_prog_ft_devel2+set}" = set; then
9986 echo $ECHO_N "(cached) $ECHO_C" >&6
9987 else
9988 if test -n "$ft_devel2"; then
9989 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
9990 else
9991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9992 for as_dir in $PATH
9994 IFS=$as_save_IFS
9995 test -z "$as_dir" && as_dir=.
9996 for ac_exec_ext in '' $ac_executable_extensions; do
9997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9998 ac_cv_prog_ft_devel2="freetype2-config"
9999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10000 break 2
10002 done
10003 done
10005 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10008 ft_devel2=$ac_cv_prog_ft_devel2
10009 if test -n "$ft_devel2"; then
10010 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10011 echo "${ECHO_T}$ft_devel2" >&6
10012 else
10013 echo "$as_me:$LINENO: result: no" >&5
10014 echo "${ECHO_T}no" >&6
10017 if test "$ft_devel2" = "freetype2-config"
10018 then
10019 ft_devel=$ft_devel2
10022 if test "$ft_devel" = "no"
10023 then
10024 FREETYPELIBS=""
10025 FREETYPEINCL=""
10026 wine_cv_msg_freetype=yes
10027 else
10028 FREETYPELIBS=`$ft_devel --libs`
10029 FREETYPEINCL=`$ft_devel --cflags`
10030 ac_save_CPPFLAGS="$CPPFLAGS"
10031 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
10042 for ac_header in ft2build.h \
10043 freetype/freetype.h \
10044 freetype/ftglyph.h \
10045 freetype/tttables.h \
10046 freetype/ftnames.h \
10047 freetype/ftsnames.h \
10048 freetype/ttnameid.h \
10049 freetype/ftoutln.h \
10050 freetype/ftwinfnt.h \
10051 freetype/internal/sfnt.h
10053 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10054 echo "$as_me:$LINENO: checking for $ac_header" >&5
10055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10057 echo $ECHO_N "(cached) $ECHO_C" >&6
10058 else
10059 cat >conftest.$ac_ext <<_ACEOF
10060 /* confdefs.h. */
10061 _ACEOF
10062 cat confdefs.h >>conftest.$ac_ext
10063 cat >>conftest.$ac_ext <<_ACEOF
10064 /* end confdefs.h. */
10065 #if HAVE_FT2BUILD_H
10066 #include <ft2build.h>
10067 #endif
10069 #include <$ac_header>
10070 _ACEOF
10071 rm -f conftest.$ac_objext
10072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10073 (eval $ac_compile) 2>conftest.er1
10074 ac_status=$?
10075 grep -v '^ *+' conftest.er1 >conftest.err
10076 rm -f conftest.er1
10077 cat conftest.err >&5
10078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10079 (exit $ac_status); } &&
10080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10082 (eval $ac_try) 2>&5
10083 ac_status=$?
10084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10085 (exit $ac_status); }; } &&
10086 { ac_try='test -s conftest.$ac_objext'
10087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10088 (eval $ac_try) 2>&5
10089 ac_status=$?
10090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10091 (exit $ac_status); }; }; then
10092 eval "$as_ac_Header=yes"
10093 else
10094 echo "$as_me: failed program was:" >&5
10095 sed 's/^/| /' conftest.$ac_ext >&5
10097 eval "$as_ac_Header=no"
10099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10102 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10104 cat >>confdefs.h <<_ACEOF
10105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10106 _ACEOF
10110 done
10112 cat >conftest.$ac_ext <<_ACEOF
10113 /* confdefs.h. */
10114 _ACEOF
10115 cat confdefs.h >>conftest.$ac_ext
10116 cat >>conftest.$ac_ext <<_ACEOF
10117 /* end confdefs.h. */
10118 #include <ft2build.h>
10119 #include <freetype/fttrigon.h>
10120 _ACEOF
10121 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10122 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10123 ac_status=$?
10124 grep -v '^ *+' conftest.er1 >conftest.err
10125 rm -f conftest.er1
10126 cat conftest.err >&5
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 (exit $ac_status); } >/dev/null; then
10129 if test -s conftest.err; then
10130 ac_cpp_err=$ac_c_preproc_warn_flag
10131 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10132 else
10133 ac_cpp_err=
10135 else
10136 ac_cpp_err=yes
10138 if test -z "$ac_cpp_err"; then
10140 cat >>confdefs.h <<\_ACEOF
10141 #define HAVE_FREETYPE_FTTRIGON_H 1
10142 _ACEOF
10144 wine_cv_fttrigon=yes
10145 else
10146 echo "$as_me: failed program was:" >&5
10147 sed 's/^/| /' conftest.$ac_ext >&5
10149 wine_cv_fttrigon=no
10151 rm -f conftest.err conftest.$ac_ext
10152 CPPFLAGS="$ac_save_CPPFLAGS"
10153 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10154 then
10156 cat >>confdefs.h <<\_ACEOF
10157 #define HAVE_FREETYPE 1
10158 _ACEOF
10160 wine_cv_msg_freetype=no
10161 else
10162 FREETYPELIBS=""
10163 FREETYPEINCL=""
10164 wine_cv_msg_freetype=yes
10171 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
10172 then
10173 FONTSSUBDIRS="fonts"
10177 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10178 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10179 if test "${ac_cv_c_ppdev+set}" = set; then
10180 echo $ECHO_N "(cached) $ECHO_C" >&6
10181 else
10182 cat >conftest.$ac_ext <<_ACEOF
10183 /* confdefs.h. */
10184 _ACEOF
10185 cat confdefs.h >>conftest.$ac_ext
10186 cat >>conftest.$ac_ext <<_ACEOF
10187 /* end confdefs.h. */
10188 #include <linux/ppdev.h>
10190 main ()
10192 ioctl (1,PPCLAIM,0)
10194 return 0;
10196 _ACEOF
10197 rm -f conftest.$ac_objext
10198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10199 (eval $ac_compile) 2>conftest.er1
10200 ac_status=$?
10201 grep -v '^ *+' conftest.er1 >conftest.err
10202 rm -f conftest.er1
10203 cat conftest.err >&5
10204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10205 (exit $ac_status); } &&
10206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10208 (eval $ac_try) 2>&5
10209 ac_status=$?
10210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10211 (exit $ac_status); }; } &&
10212 { ac_try='test -s conftest.$ac_objext'
10213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10214 (eval $ac_try) 2>&5
10215 ac_status=$?
10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); }; }; then
10218 ac_cv_c_ppdev="yes"
10219 else
10220 echo "$as_me: failed program was:" >&5
10221 sed 's/^/| /' conftest.$ac_ext >&5
10223 ac_cv_c_ppdev="no"
10225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10228 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10229 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10230 if test "$ac_cv_c_ppdev" = "yes"
10231 then
10233 cat >>confdefs.h <<\_ACEOF
10234 #define HAVE_PPDEV 1
10235 _ACEOF
10239 echo "$as_me:$LINENO: checking for va_copy" >&5
10240 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10241 if test "${ac_cv_c_va_copy+set}" = set; then
10242 echo $ECHO_N "(cached) $ECHO_C" >&6
10243 else
10244 cat >conftest.$ac_ext <<_ACEOF
10245 /* confdefs.h. */
10246 _ACEOF
10247 cat confdefs.h >>conftest.$ac_ext
10248 cat >>conftest.$ac_ext <<_ACEOF
10249 /* end confdefs.h. */
10250 #include <stdarg.h>
10252 main ()
10254 va_list ap1, ap2;
10255 va_copy(ap1,ap2);
10258 return 0;
10260 _ACEOF
10261 rm -f conftest.$ac_objext conftest$ac_exeext
10262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10263 (eval $ac_link) 2>conftest.er1
10264 ac_status=$?
10265 grep -v '^ *+' conftest.er1 >conftest.err
10266 rm -f conftest.er1
10267 cat conftest.err >&5
10268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10269 (exit $ac_status); } &&
10270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10272 (eval $ac_try) 2>&5
10273 ac_status=$?
10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275 (exit $ac_status); }; } &&
10276 { ac_try='test -s conftest$ac_exeext'
10277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10278 (eval $ac_try) 2>&5
10279 ac_status=$?
10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10281 (exit $ac_status); }; }; then
10282 ac_cv_c_va_copy="yes"
10283 else
10284 echo "$as_me: failed program was:" >&5
10285 sed 's/^/| /' conftest.$ac_ext >&5
10287 ac_cv_c_va_copy="no"
10289 rm -f conftest.err conftest.$ac_objext \
10290 conftest$ac_exeext conftest.$ac_ext
10293 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10294 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10295 if test "$ac_cv_c_va_copy" = "yes"
10296 then
10298 cat >>confdefs.h <<\_ACEOF
10299 #define HAVE_VA_COPY 1
10300 _ACEOF
10303 echo "$as_me:$LINENO: checking for __va_copy" >&5
10304 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10305 if test "${ac_cv_c___va_copy+set}" = set; then
10306 echo $ECHO_N "(cached) $ECHO_C" >&6
10307 else
10308 cat >conftest.$ac_ext <<_ACEOF
10309 /* confdefs.h. */
10310 _ACEOF
10311 cat confdefs.h >>conftest.$ac_ext
10312 cat >>conftest.$ac_ext <<_ACEOF
10313 /* end confdefs.h. */
10314 #include <stdarg.h>
10316 main ()
10318 va_list ap1, ap2;
10319 __va_copy(ap1,ap2);
10322 return 0;
10324 _ACEOF
10325 rm -f conftest.$ac_objext conftest$ac_exeext
10326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10327 (eval $ac_link) 2>conftest.er1
10328 ac_status=$?
10329 grep -v '^ *+' conftest.er1 >conftest.err
10330 rm -f conftest.er1
10331 cat conftest.err >&5
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); } &&
10334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10336 (eval $ac_try) 2>&5
10337 ac_status=$?
10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10339 (exit $ac_status); }; } &&
10340 { ac_try='test -s conftest$ac_exeext'
10341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10342 (eval $ac_try) 2>&5
10343 ac_status=$?
10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345 (exit $ac_status); }; }; then
10346 ac_cv_c___va_copy="yes"
10347 else
10348 echo "$as_me: failed program was:" >&5
10349 sed 's/^/| /' conftest.$ac_ext >&5
10351 ac_cv_c___va_copy="no"
10353 rm -f conftest.err conftest.$ac_objext \
10354 conftest$ac_exeext conftest.$ac_ext
10357 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10358 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10359 if test "$ac_cv_c___va_copy" = "yes"
10360 then
10362 cat >>confdefs.h <<\_ACEOF
10363 #define HAVE___VA_COPY 1
10364 _ACEOF
10368 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10369 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10370 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10371 echo $ECHO_N "(cached) $ECHO_C" >&6
10372 else
10373 cat >conftest.$ac_ext <<_ACEOF
10374 /* confdefs.h. */
10375 _ACEOF
10376 cat confdefs.h >>conftest.$ac_ext
10377 cat >>conftest.$ac_ext <<_ACEOF
10378 /* end confdefs.h. */
10379 #include <setjmp.h>
10381 main ()
10383 sigjmp_buf buf;
10384 sigsetjmp( buf, 1 );
10385 siglongjmp( buf, 1 );
10387 return 0;
10389 _ACEOF
10390 rm -f conftest.$ac_objext conftest$ac_exeext
10391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10392 (eval $ac_link) 2>conftest.er1
10393 ac_status=$?
10394 grep -v '^ *+' conftest.er1 >conftest.err
10395 rm -f conftest.er1
10396 cat conftest.err >&5
10397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10398 (exit $ac_status); } &&
10399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10401 (eval $ac_try) 2>&5
10402 ac_status=$?
10403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10404 (exit $ac_status); }; } &&
10405 { ac_try='test -s conftest$ac_exeext'
10406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10407 (eval $ac_try) 2>&5
10408 ac_status=$?
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); }; }; then
10411 ac_cv_c_sigsetjmp="yes"
10412 else
10413 echo "$as_me: failed program was:" >&5
10414 sed 's/^/| /' conftest.$ac_ext >&5
10416 ac_cv_c_sigsetjmp="no"
10418 rm -f conftest.err conftest.$ac_objext \
10419 conftest$ac_exeext conftest.$ac_ext
10422 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10423 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10424 if test "$ac_cv_c_sigsetjmp" = "yes"
10425 then
10427 cat >>confdefs.h <<\_ACEOF
10428 #define HAVE_SIGSETJMP 1
10429 _ACEOF
10433 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10434 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10435 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10436 echo $ECHO_N "(cached) $ECHO_C" >&6
10437 else
10438 cat >conftest.$ac_ext <<_ACEOF
10439 /* confdefs.h. */
10440 _ACEOF
10441 cat confdefs.h >>conftest.$ac_ext
10442 cat >>conftest.$ac_ext <<_ACEOF
10443 /* end confdefs.h. */
10444 #define _GNU_SOURCE
10445 #include <pthread.h>
10448 main ()
10450 if ((pthread_rwlock_t *) 0)
10451 return 0;
10452 if (sizeof (pthread_rwlock_t))
10453 return 0;
10455 return 0;
10457 _ACEOF
10458 rm -f conftest.$ac_objext
10459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10460 (eval $ac_compile) 2>conftest.er1
10461 ac_status=$?
10462 grep -v '^ *+' conftest.er1 >conftest.err
10463 rm -f conftest.er1
10464 cat conftest.err >&5
10465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10466 (exit $ac_status); } &&
10467 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10469 (eval $ac_try) 2>&5
10470 ac_status=$?
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); }; } &&
10473 { ac_try='test -s conftest.$ac_objext'
10474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10475 (eval $ac_try) 2>&5
10476 ac_status=$?
10477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10478 (exit $ac_status); }; }; then
10479 ac_cv_type_pthread_rwlock_t=yes
10480 else
10481 echo "$as_me: failed program was:" >&5
10482 sed 's/^/| /' conftest.$ac_ext >&5
10484 ac_cv_type_pthread_rwlock_t=no
10486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10488 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10489 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10490 if test $ac_cv_type_pthread_rwlock_t = yes; then
10492 cat >>confdefs.h <<_ACEOF
10493 #define HAVE_PTHREAD_RWLOCK_T 1
10494 _ACEOF
10498 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
10499 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
10500 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
10501 echo $ECHO_N "(cached) $ECHO_C" >&6
10502 else
10503 cat >conftest.$ac_ext <<_ACEOF
10504 /* confdefs.h. */
10505 _ACEOF
10506 cat confdefs.h >>conftest.$ac_ext
10507 cat >>conftest.$ac_ext <<_ACEOF
10508 /* end confdefs.h. */
10509 #define _GNU_SOURCE
10510 #include <pthread.h>
10513 main ()
10515 if ((pthread_rwlockattr_t *) 0)
10516 return 0;
10517 if (sizeof (pthread_rwlockattr_t))
10518 return 0;
10520 return 0;
10522 _ACEOF
10523 rm -f conftest.$ac_objext
10524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10525 (eval $ac_compile) 2>conftest.er1
10526 ac_status=$?
10527 grep -v '^ *+' conftest.er1 >conftest.err
10528 rm -f conftest.er1
10529 cat conftest.err >&5
10530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10531 (exit $ac_status); } &&
10532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10534 (eval $ac_try) 2>&5
10535 ac_status=$?
10536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10537 (exit $ac_status); }; } &&
10538 { ac_try='test -s conftest.$ac_objext'
10539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10540 (eval $ac_try) 2>&5
10541 ac_status=$?
10542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10543 (exit $ac_status); }; }; then
10544 ac_cv_type_pthread_rwlockattr_t=yes
10545 else
10546 echo "$as_me: failed program was:" >&5
10547 sed 's/^/| /' conftest.$ac_ext >&5
10549 ac_cv_type_pthread_rwlockattr_t=no
10551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10553 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
10554 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
10555 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
10557 cat >>confdefs.h <<_ACEOF
10558 #define HAVE_PTHREAD_RWLOCKATTR_T 1
10559 _ACEOF
10565 ac_save_LIBS="$LIBS"
10566 LIBS="$LIBS $LIBPTHREAD"
10570 for ac_func in \
10571 pthread_getattr_np \
10572 pthread_get_stackaddr_np \
10573 pthread_get_stacksize_np \
10576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10577 echo "$as_me:$LINENO: checking for $ac_func" >&5
10578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10579 if eval "test \"\${$as_ac_var+set}\" = set"; then
10580 echo $ECHO_N "(cached) $ECHO_C" >&6
10581 else
10582 cat >conftest.$ac_ext <<_ACEOF
10583 /* confdefs.h. */
10584 _ACEOF
10585 cat confdefs.h >>conftest.$ac_ext
10586 cat >>conftest.$ac_ext <<_ACEOF
10587 /* end confdefs.h. */
10588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10590 #define $ac_func innocuous_$ac_func
10592 /* System header to define __stub macros and hopefully few prototypes,
10593 which can conflict with char $ac_func (); below.
10594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10595 <limits.h> exists even on freestanding compilers. */
10597 #ifdef __STDC__
10598 # include <limits.h>
10599 #else
10600 # include <assert.h>
10601 #endif
10603 #undef $ac_func
10605 /* Override any gcc2 internal prototype to avoid an error. */
10606 #ifdef __cplusplus
10607 extern "C"
10609 #endif
10610 /* We use char because int might match the return type of a gcc2
10611 builtin and then its argument prototype would still apply. */
10612 char $ac_func ();
10613 /* The GNU C library defines this for functions which it implements
10614 to always fail with ENOSYS. Some functions are actually named
10615 something starting with __ and the normal name is an alias. */
10616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10617 choke me
10618 #else
10619 char (*f) () = $ac_func;
10620 #endif
10621 #ifdef __cplusplus
10623 #endif
10626 main ()
10628 return f != $ac_func;
10630 return 0;
10632 _ACEOF
10633 rm -f conftest.$ac_objext conftest$ac_exeext
10634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10635 (eval $ac_link) 2>conftest.er1
10636 ac_status=$?
10637 grep -v '^ *+' conftest.er1 >conftest.err
10638 rm -f conftest.er1
10639 cat conftest.err >&5
10640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10641 (exit $ac_status); } &&
10642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10644 (eval $ac_try) 2>&5
10645 ac_status=$?
10646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10647 (exit $ac_status); }; } &&
10648 { ac_try='test -s conftest$ac_exeext'
10649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10650 (eval $ac_try) 2>&5
10651 ac_status=$?
10652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10653 (exit $ac_status); }; }; then
10654 eval "$as_ac_var=yes"
10655 else
10656 echo "$as_me: failed program was:" >&5
10657 sed 's/^/| /' conftest.$ac_ext >&5
10659 eval "$as_ac_var=no"
10661 rm -f conftest.err conftest.$ac_objext \
10662 conftest$ac_exeext conftest.$ac_ext
10664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10666 if test `eval echo '${'$as_ac_var'}'` = yes; then
10667 cat >>confdefs.h <<_ACEOF
10668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10669 _ACEOF
10672 done
10674 LIBS="$ac_save_LIBS"
10679 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
10681 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10683 echo "$as_me:$LINENO: checking for $ac_header" >&5
10684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10686 echo $ECHO_N "(cached) $ECHO_C" >&6
10688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10689 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10690 else
10691 # Is the header compilable?
10692 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10693 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10694 cat >conftest.$ac_ext <<_ACEOF
10695 /* confdefs.h. */
10696 _ACEOF
10697 cat confdefs.h >>conftest.$ac_ext
10698 cat >>conftest.$ac_ext <<_ACEOF
10699 /* end confdefs.h. */
10700 $ac_includes_default
10701 #include <$ac_header>
10702 _ACEOF
10703 rm -f conftest.$ac_objext
10704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10705 (eval $ac_compile) 2>conftest.er1
10706 ac_status=$?
10707 grep -v '^ *+' conftest.er1 >conftest.err
10708 rm -f conftest.er1
10709 cat conftest.err >&5
10710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10711 (exit $ac_status); } &&
10712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10714 (eval $ac_try) 2>&5
10715 ac_status=$?
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); }; } &&
10718 { ac_try='test -s conftest.$ac_objext'
10719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10720 (eval $ac_try) 2>&5
10721 ac_status=$?
10722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10723 (exit $ac_status); }; }; then
10724 ac_header_compiler=yes
10725 else
10726 echo "$as_me: failed program was:" >&5
10727 sed 's/^/| /' conftest.$ac_ext >&5
10729 ac_header_compiler=no
10731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10732 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10733 echo "${ECHO_T}$ac_header_compiler" >&6
10735 # Is the header present?
10736 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10737 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10738 cat >conftest.$ac_ext <<_ACEOF
10739 /* confdefs.h. */
10740 _ACEOF
10741 cat confdefs.h >>conftest.$ac_ext
10742 cat >>conftest.$ac_ext <<_ACEOF
10743 /* end confdefs.h. */
10744 #include <$ac_header>
10745 _ACEOF
10746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10747 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10748 ac_status=$?
10749 grep -v '^ *+' conftest.er1 >conftest.err
10750 rm -f conftest.er1
10751 cat conftest.err >&5
10752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10753 (exit $ac_status); } >/dev/null; then
10754 if test -s conftest.err; then
10755 ac_cpp_err=$ac_c_preproc_warn_flag
10756 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10757 else
10758 ac_cpp_err=
10760 else
10761 ac_cpp_err=yes
10763 if test -z "$ac_cpp_err"; then
10764 ac_header_preproc=yes
10765 else
10766 echo "$as_me: failed program was:" >&5
10767 sed 's/^/| /' conftest.$ac_ext >&5
10769 ac_header_preproc=no
10771 rm -f conftest.err conftest.$ac_ext
10772 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10773 echo "${ECHO_T}$ac_header_preproc" >&6
10775 # So? What about this header?
10776 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10777 yes:no: )
10778 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10779 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10781 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10782 ac_header_preproc=yes
10784 no:yes:* )
10785 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10786 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10787 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10788 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10789 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10790 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10791 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10792 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10794 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10795 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10796 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10798 cat <<\_ASBOX
10799 ## ------------------------------------ ##
10800 ## Report this to wine-devel@winehq.org ##
10801 ## ------------------------------------ ##
10802 _ASBOX
10804 sed "s/^/$as_me: WARNING: /" >&2
10806 esac
10807 echo "$as_me:$LINENO: checking for $ac_header" >&5
10808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10810 echo $ECHO_N "(cached) $ECHO_C" >&6
10811 else
10812 eval "$as_ac_Header=\$ac_header_preproc"
10814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10818 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10819 cat >>confdefs.h <<_ACEOF
10820 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10821 _ACEOF
10822 break
10825 done
10828 echo "$as_me:$LINENO: checking for Open Sound System" >&5
10829 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
10830 if test "${ac_cv_c_opensoundsystem+set}" = set; then
10831 echo $ECHO_N "(cached) $ECHO_C" >&6
10832 else
10833 cat >conftest.$ac_ext <<_ACEOF
10834 /* confdefs.h. */
10835 _ACEOF
10836 cat confdefs.h >>conftest.$ac_ext
10837 cat >>conftest.$ac_ext <<_ACEOF
10838 /* end confdefs.h. */
10840 #if defined(HAVE_SYS_SOUNDCARD_H)
10841 #include <sys/soundcard.h>
10842 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10843 #include <machine/soundcard.h>
10844 #elif defined(HAVE_SOUNDCARD_H)
10845 #include <soundcard.h>
10846 #endif
10849 main ()
10853 /* check for one of the Open Sound System specific SNDCTL_ defines */
10854 #if !defined(SNDCTL_DSP_STEREO)
10855 #error No open sound system
10856 #endif
10859 return 0;
10861 _ACEOF
10862 rm -f conftest.$ac_objext
10863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10864 (eval $ac_compile) 2>conftest.er1
10865 ac_status=$?
10866 grep -v '^ *+' conftest.er1 >conftest.err
10867 rm -f conftest.er1
10868 cat conftest.err >&5
10869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10870 (exit $ac_status); } &&
10871 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10873 (eval $ac_try) 2>&5
10874 ac_status=$?
10875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10876 (exit $ac_status); }; } &&
10877 { ac_try='test -s conftest.$ac_objext'
10878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10879 (eval $ac_try) 2>&5
10880 ac_status=$?
10881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10882 (exit $ac_status); }; }; then
10883 ac_cv_c_opensoundsystem="yes"
10884 else
10885 echo "$as_me: failed program was:" >&5
10886 sed 's/^/| /' conftest.$ac_ext >&5
10888 ac_cv_c_opensoundsystem="no"
10890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10892 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
10893 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
10895 if test "$ac_cv_c_opensoundsystem" = "yes"
10896 then
10898 cat >>confdefs.h <<\_ACEOF
10899 #define HAVE_OSS 1
10900 _ACEOF
10904 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
10905 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
10906 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
10907 echo $ECHO_N "(cached) $ECHO_C" >&6
10908 else
10909 cat >conftest.$ac_ext <<_ACEOF
10910 /* confdefs.h. */
10911 _ACEOF
10912 cat confdefs.h >>conftest.$ac_ext
10913 cat >>conftest.$ac_ext <<_ACEOF
10914 /* end confdefs.h. */
10916 #if defined(HAVE_SYS_SOUNDCARD_H)
10917 #include <sys/soundcard.h>
10918 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10919 #include <machine/soundcard.h>
10920 #elif defined(HAVE_SOUNDCARD_H)
10921 #include <soundcard.h>
10922 #endif
10925 main ()
10929 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
10930 #if !defined(SNDCTL_SEQ_SYNC)
10931 #error No open sound system MIDI interface
10932 #endif
10935 return 0;
10937 _ACEOF
10938 rm -f conftest.$ac_objext
10939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10940 (eval $ac_compile) 2>conftest.er1
10941 ac_status=$?
10942 grep -v '^ *+' conftest.er1 >conftest.err
10943 rm -f conftest.er1
10944 cat conftest.err >&5
10945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946 (exit $ac_status); } &&
10947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10949 (eval $ac_try) 2>&5
10950 ac_status=$?
10951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10952 (exit $ac_status); }; } &&
10953 { ac_try='test -s conftest.$ac_objext'
10954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10955 (eval $ac_try) 2>&5
10956 ac_status=$?
10957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10958 (exit $ac_status); }; }; then
10959 ac_cv_c_opensoundsystem_midi="yes"
10960 else
10961 echo "$as_me: failed program was:" >&5
10962 sed 's/^/| /' conftest.$ac_ext >&5
10964 ac_cv_c_opensoundsystem_midi="no"
10966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10968 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
10969 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
10971 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
10972 then
10974 cat >>confdefs.h <<\_ACEOF
10975 #define HAVE_OSS_MIDI 1
10976 _ACEOF
10980 # Extract the first word of "artsc-config", so it can be a program name with args.
10981 set dummy artsc-config; ac_word=$2
10982 echo "$as_me:$LINENO: checking for $ac_word" >&5
10983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10984 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
10985 echo $ECHO_N "(cached) $ECHO_C" >&6
10986 else
10987 case $ARTSCCONFIG in
10988 [\\/]* | ?:[\\/]*)
10989 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
10992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10993 for as_dir in $PATH
10995 IFS=$as_save_IFS
10996 test -z "$as_dir" && as_dir=.
10997 for ac_exec_ext in '' $ac_executable_extensions; do
10998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10999 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
11000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11001 break 2
11003 done
11004 done
11007 esac
11009 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
11011 if test -n "$ARTSCCONFIG"; then
11012 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11013 echo "${ECHO_T}$ARTSCCONFIG" >&6
11014 else
11015 echo "$as_me:$LINENO: result: no" >&5
11016 echo "${ECHO_T}no" >&6
11019 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
11020 then
11021 ARTSC_CFLAGS=""
11022 for i in `$ARTSCCONFIG --cflags`
11024 case "$i" in
11025 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
11026 esac
11027 done
11028 ARTSC_LIBS=`$ARTSCCONFIG --libs`
11029 save_CFLAGS="$CFLAGS"
11030 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
11031 echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
11032 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6
11033 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
11034 echo $ECHO_N "(cached) $ECHO_C" >&6
11035 else
11036 ac_check_lib_save_LIBS=$LIBS
11037 LIBS="-lartsc $LIBS"
11038 cat >conftest.$ac_ext <<_ACEOF
11039 /* confdefs.h. */
11040 _ACEOF
11041 cat confdefs.h >>conftest.$ac_ext
11042 cat >>conftest.$ac_ext <<_ACEOF
11043 /* end confdefs.h. */
11045 /* Override any gcc2 internal prototype to avoid an error. */
11046 #ifdef __cplusplus
11047 extern "C"
11048 #endif
11049 /* We use char because int might match the return type of a gcc2
11050 builtin and then its argument prototype would still apply. */
11051 char arts_init ();
11053 main ()
11055 arts_init ();
11057 return 0;
11059 _ACEOF
11060 rm -f conftest.$ac_objext conftest$ac_exeext
11061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11062 (eval $ac_link) 2>conftest.er1
11063 ac_status=$?
11064 grep -v '^ *+' conftest.er1 >conftest.err
11065 rm -f conftest.er1
11066 cat conftest.err >&5
11067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); } &&
11069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11071 (eval $ac_try) 2>&5
11072 ac_status=$?
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); }; } &&
11075 { ac_try='test -s conftest$ac_exeext'
11076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11077 (eval $ac_try) 2>&5
11078 ac_status=$?
11079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); }; }; then
11081 ac_cv_lib_artsc_arts_init=yes
11082 else
11083 echo "$as_me: failed program was:" >&5
11084 sed 's/^/| /' conftest.$ac_ext >&5
11086 ac_cv_lib_artsc_arts_init=no
11088 rm -f conftest.err conftest.$ac_objext \
11089 conftest$ac_exeext conftest.$ac_ext
11090 LIBS=$ac_check_lib_save_LIBS
11092 echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
11093 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6
11094 if test $ac_cv_lib_artsc_arts_init = yes; then
11095 cat >conftest.$ac_ext <<_ACEOF
11096 /* confdefs.h. */
11097 _ACEOF
11098 cat confdefs.h >>conftest.$ac_ext
11099 cat >>conftest.$ac_ext <<_ACEOF
11100 /* end confdefs.h. */
11101 #include <artsc.h>
11103 main ()
11105 arts_stream_t stream;
11107 return 0;
11109 _ACEOF
11110 rm -f conftest.$ac_objext
11111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11112 (eval $ac_compile) 2>conftest.er1
11113 ac_status=$?
11114 grep -v '^ *+' conftest.er1 >conftest.err
11115 rm -f conftest.er1
11116 cat conftest.err >&5
11117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11118 (exit $ac_status); } &&
11119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11121 (eval $ac_try) 2>&5
11122 ac_status=$?
11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 (exit $ac_status); }; } &&
11125 { ac_try='test -s conftest.$ac_objext'
11126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11127 (eval $ac_try) 2>&5
11128 ac_status=$?
11129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11130 (exit $ac_status); }; }; then
11131 ARTSLIBS=$ARTSC_LIBS
11133 ARTSINCL=$ARTSC_CFLAGS
11136 cat >>confdefs.h <<\_ACEOF
11137 #define HAVE_ARTS 1
11138 _ACEOF
11140 else
11141 echo "$as_me: failed program was:" >&5
11142 sed 's/^/| /' conftest.$ac_ext >&5
11145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11148 CFLAGS="$save_CFLAGS"
11151 ALSALIBS=""
11155 for ac_header in alsa/asoundlib.h sys/asoundlib.h
11157 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11159 echo "$as_me:$LINENO: checking for $ac_header" >&5
11160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11162 echo $ECHO_N "(cached) $ECHO_C" >&6
11164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11166 else
11167 # Is the header compilable?
11168 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11169 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11170 cat >conftest.$ac_ext <<_ACEOF
11171 /* confdefs.h. */
11172 _ACEOF
11173 cat confdefs.h >>conftest.$ac_ext
11174 cat >>conftest.$ac_ext <<_ACEOF
11175 /* end confdefs.h. */
11176 $ac_includes_default
11177 #include <$ac_header>
11178 _ACEOF
11179 rm -f conftest.$ac_objext
11180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11181 (eval $ac_compile) 2>conftest.er1
11182 ac_status=$?
11183 grep -v '^ *+' conftest.er1 >conftest.err
11184 rm -f conftest.er1
11185 cat conftest.err >&5
11186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11187 (exit $ac_status); } &&
11188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11190 (eval $ac_try) 2>&5
11191 ac_status=$?
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); }; } &&
11194 { ac_try='test -s conftest.$ac_objext'
11195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11196 (eval $ac_try) 2>&5
11197 ac_status=$?
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); }; }; then
11200 ac_header_compiler=yes
11201 else
11202 echo "$as_me: failed program was:" >&5
11203 sed 's/^/| /' conftest.$ac_ext >&5
11205 ac_header_compiler=no
11207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11208 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11209 echo "${ECHO_T}$ac_header_compiler" >&6
11211 # Is the header present?
11212 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11213 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11214 cat >conftest.$ac_ext <<_ACEOF
11215 /* confdefs.h. */
11216 _ACEOF
11217 cat confdefs.h >>conftest.$ac_ext
11218 cat >>conftest.$ac_ext <<_ACEOF
11219 /* end confdefs.h. */
11220 #include <$ac_header>
11221 _ACEOF
11222 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11223 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11224 ac_status=$?
11225 grep -v '^ *+' conftest.er1 >conftest.err
11226 rm -f conftest.er1
11227 cat conftest.err >&5
11228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229 (exit $ac_status); } >/dev/null; then
11230 if test -s conftest.err; then
11231 ac_cpp_err=$ac_c_preproc_warn_flag
11232 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11233 else
11234 ac_cpp_err=
11236 else
11237 ac_cpp_err=yes
11239 if test -z "$ac_cpp_err"; then
11240 ac_header_preproc=yes
11241 else
11242 echo "$as_me: failed program was:" >&5
11243 sed 's/^/| /' conftest.$ac_ext >&5
11245 ac_header_preproc=no
11247 rm -f conftest.err conftest.$ac_ext
11248 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11249 echo "${ECHO_T}$ac_header_preproc" >&6
11251 # So? What about this header?
11252 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11253 yes:no: )
11254 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11255 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11257 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11258 ac_header_preproc=yes
11260 no:yes:* )
11261 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11262 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11263 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11264 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11265 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11266 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11267 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11268 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11269 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11270 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11271 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11272 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11274 cat <<\_ASBOX
11275 ## ------------------------------------ ##
11276 ## Report this to wine-devel@winehq.org ##
11277 ## ------------------------------------ ##
11278 _ASBOX
11280 sed "s/^/$as_me: WARNING: /" >&2
11282 esac
11283 echo "$as_me:$LINENO: checking for $ac_header" >&5
11284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11286 echo $ECHO_N "(cached) $ECHO_C" >&6
11287 else
11288 eval "$as_ac_Header=\$ac_header_preproc"
11290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11291 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11294 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11295 cat >>confdefs.h <<_ACEOF
11296 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11297 _ACEOF
11298 break
11301 done
11303 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11304 then
11305 echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
11306 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6
11307 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
11308 echo $ECHO_N "(cached) $ECHO_C" >&6
11309 else
11310 ac_check_lib_save_LIBS=$LIBS
11311 LIBS="-lasound $LIBS"
11312 cat >conftest.$ac_ext <<_ACEOF
11313 /* confdefs.h. */
11314 _ACEOF
11315 cat confdefs.h >>conftest.$ac_ext
11316 cat >>conftest.$ac_ext <<_ACEOF
11317 /* end confdefs.h. */
11319 /* Override any gcc2 internal prototype to avoid an error. */
11320 #ifdef __cplusplus
11321 extern "C"
11322 #endif
11323 /* We use char because int might match the return type of a gcc2
11324 builtin and then its argument prototype would still apply. */
11325 char snd_pcm_hw_params_get_access ();
11327 main ()
11329 snd_pcm_hw_params_get_access ();
11331 return 0;
11333 _ACEOF
11334 rm -f conftest.$ac_objext conftest$ac_exeext
11335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11336 (eval $ac_link) 2>conftest.er1
11337 ac_status=$?
11338 grep -v '^ *+' conftest.er1 >conftest.err
11339 rm -f conftest.er1
11340 cat conftest.err >&5
11341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11342 (exit $ac_status); } &&
11343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11345 (eval $ac_try) 2>&5
11346 ac_status=$?
11347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11348 (exit $ac_status); }; } &&
11349 { ac_try='test -s conftest$ac_exeext'
11350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11351 (eval $ac_try) 2>&5
11352 ac_status=$?
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); }; }; then
11355 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
11356 else
11357 echo "$as_me: failed program was:" >&5
11358 sed 's/^/| /' conftest.$ac_ext >&5
11360 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
11362 rm -f conftest.err conftest.$ac_objext \
11363 conftest$ac_exeext conftest.$ac_ext
11364 LIBS=$ac_check_lib_save_LIBS
11366 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
11367 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6
11368 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
11369 cat >conftest.$ac_ext <<_ACEOF
11370 /* confdefs.h. */
11371 _ACEOF
11372 cat confdefs.h >>conftest.$ac_ext
11373 cat >>conftest.$ac_ext <<_ACEOF
11374 /* end confdefs.h. */
11375 #ifdef HAVE_ALSA_ASOUNDLIB_H
11376 #include <alsa/asoundlib.h>
11377 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11378 #include <sys/asoundlib.h>
11379 #endif
11381 main ()
11383 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
11385 return 0;
11387 _ACEOF
11388 rm -f conftest.$ac_objext
11389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11390 (eval $ac_compile) 2>conftest.er1
11391 ac_status=$?
11392 grep -v '^ *+' conftest.er1 >conftest.err
11393 rm -f conftest.er1
11394 cat conftest.err >&5
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); } &&
11397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11399 (eval $ac_try) 2>&5
11400 ac_status=$?
11401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11402 (exit $ac_status); }; } &&
11403 { ac_try='test -s conftest.$ac_objext'
11404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11405 (eval $ac_try) 2>&5
11406 ac_status=$?
11407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11408 (exit $ac_status); }; }; then
11410 cat >>confdefs.h <<\_ACEOF
11411 #define HAVE_ALSA 1
11412 _ACEOF
11414 ALSALIBS="-lasound"
11415 else
11416 echo "$as_me: failed program was:" >&5
11417 sed 's/^/| /' conftest.$ac_ext >&5
11420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11426 AUDIOIOLIBS=""
11429 for ac_header in libaudioio.h
11431 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11433 echo "$as_me:$LINENO: checking for $ac_header" >&5
11434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11436 echo $ECHO_N "(cached) $ECHO_C" >&6
11438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11439 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11440 else
11441 # Is the header compilable?
11442 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11443 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11444 cat >conftest.$ac_ext <<_ACEOF
11445 /* confdefs.h. */
11446 _ACEOF
11447 cat confdefs.h >>conftest.$ac_ext
11448 cat >>conftest.$ac_ext <<_ACEOF
11449 /* end confdefs.h. */
11450 $ac_includes_default
11451 #include <$ac_header>
11452 _ACEOF
11453 rm -f conftest.$ac_objext
11454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11455 (eval $ac_compile) 2>conftest.er1
11456 ac_status=$?
11457 grep -v '^ *+' conftest.er1 >conftest.err
11458 rm -f conftest.er1
11459 cat conftest.err >&5
11460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11461 (exit $ac_status); } &&
11462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11464 (eval $ac_try) 2>&5
11465 ac_status=$?
11466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11467 (exit $ac_status); }; } &&
11468 { ac_try='test -s conftest.$ac_objext'
11469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11470 (eval $ac_try) 2>&5
11471 ac_status=$?
11472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11473 (exit $ac_status); }; }; then
11474 ac_header_compiler=yes
11475 else
11476 echo "$as_me: failed program was:" >&5
11477 sed 's/^/| /' conftest.$ac_ext >&5
11479 ac_header_compiler=no
11481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11482 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11483 echo "${ECHO_T}$ac_header_compiler" >&6
11485 # Is the header present?
11486 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11487 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11488 cat >conftest.$ac_ext <<_ACEOF
11489 /* confdefs.h. */
11490 _ACEOF
11491 cat confdefs.h >>conftest.$ac_ext
11492 cat >>conftest.$ac_ext <<_ACEOF
11493 /* end confdefs.h. */
11494 #include <$ac_header>
11495 _ACEOF
11496 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11497 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11498 ac_status=$?
11499 grep -v '^ *+' conftest.er1 >conftest.err
11500 rm -f conftest.er1
11501 cat conftest.err >&5
11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 (exit $ac_status); } >/dev/null; then
11504 if test -s conftest.err; then
11505 ac_cpp_err=$ac_c_preproc_warn_flag
11506 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11507 else
11508 ac_cpp_err=
11510 else
11511 ac_cpp_err=yes
11513 if test -z "$ac_cpp_err"; then
11514 ac_header_preproc=yes
11515 else
11516 echo "$as_me: failed program was:" >&5
11517 sed 's/^/| /' conftest.$ac_ext >&5
11519 ac_header_preproc=no
11521 rm -f conftest.err conftest.$ac_ext
11522 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11523 echo "${ECHO_T}$ac_header_preproc" >&6
11525 # So? What about this header?
11526 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11527 yes:no: )
11528 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11529 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11530 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11531 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11532 ac_header_preproc=yes
11534 no:yes:* )
11535 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11536 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11537 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11538 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11539 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11540 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11541 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11542 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11543 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11544 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11545 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11546 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11548 cat <<\_ASBOX
11549 ## ------------------------------------ ##
11550 ## Report this to wine-devel@winehq.org ##
11551 ## ------------------------------------ ##
11552 _ASBOX
11554 sed "s/^/$as_me: WARNING: /" >&2
11556 esac
11557 echo "$as_me:$LINENO: checking for $ac_header" >&5
11558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11560 echo $ECHO_N "(cached) $ECHO_C" >&6
11561 else
11562 eval "$as_ac_Header=\$ac_header_preproc"
11564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11568 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11569 cat >>confdefs.h <<_ACEOF
11570 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11571 _ACEOF
11572 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
11573 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
11574 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
11575 echo $ECHO_N "(cached) $ECHO_C" >&6
11576 else
11577 ac_check_lib_save_LIBS=$LIBS
11578 LIBS="-laudioio $LIBS"
11579 cat >conftest.$ac_ext <<_ACEOF
11580 /* confdefs.h. */
11581 _ACEOF
11582 cat confdefs.h >>conftest.$ac_ext
11583 cat >>conftest.$ac_ext <<_ACEOF
11584 /* end confdefs.h. */
11586 /* Override any gcc2 internal prototype to avoid an error. */
11587 #ifdef __cplusplus
11588 extern "C"
11589 #endif
11590 /* We use char because int might match the return type of a gcc2
11591 builtin and then its argument prototype would still apply. */
11592 char AudioIOGetVersion ();
11594 main ()
11596 AudioIOGetVersion ();
11598 return 0;
11600 _ACEOF
11601 rm -f conftest.$ac_objext conftest$ac_exeext
11602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11603 (eval $ac_link) 2>conftest.er1
11604 ac_status=$?
11605 grep -v '^ *+' conftest.er1 >conftest.err
11606 rm -f conftest.er1
11607 cat conftest.err >&5
11608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11609 (exit $ac_status); } &&
11610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11612 (eval $ac_try) 2>&5
11613 ac_status=$?
11614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11615 (exit $ac_status); }; } &&
11616 { ac_try='test -s conftest$ac_exeext'
11617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11618 (eval $ac_try) 2>&5
11619 ac_status=$?
11620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11621 (exit $ac_status); }; }; then
11622 ac_cv_lib_audioio_AudioIOGetVersion=yes
11623 else
11624 echo "$as_me: failed program was:" >&5
11625 sed 's/^/| /' conftest.$ac_ext >&5
11627 ac_cv_lib_audioio_AudioIOGetVersion=no
11629 rm -f conftest.err conftest.$ac_objext \
11630 conftest$ac_exeext conftest.$ac_ext
11631 LIBS=$ac_check_lib_save_LIBS
11633 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
11634 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
11635 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
11636 AUDIOIOLIBS="-laudioio"
11638 cat >>confdefs.h <<\_ACEOF
11639 #define HAVE_LIBAUDIOIO 1
11640 _ACEOF
11646 done
11651 for ac_header in capi20.h
11653 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11655 echo "$as_me:$LINENO: checking for $ac_header" >&5
11656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11658 echo $ECHO_N "(cached) $ECHO_C" >&6
11660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11662 else
11663 # Is the header compilable?
11664 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11665 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11666 cat >conftest.$ac_ext <<_ACEOF
11667 /* confdefs.h. */
11668 _ACEOF
11669 cat confdefs.h >>conftest.$ac_ext
11670 cat >>conftest.$ac_ext <<_ACEOF
11671 /* end confdefs.h. */
11672 $ac_includes_default
11673 #include <$ac_header>
11674 _ACEOF
11675 rm -f conftest.$ac_objext
11676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11677 (eval $ac_compile) 2>conftest.er1
11678 ac_status=$?
11679 grep -v '^ *+' conftest.er1 >conftest.err
11680 rm -f conftest.er1
11681 cat conftest.err >&5
11682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11683 (exit $ac_status); } &&
11684 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11686 (eval $ac_try) 2>&5
11687 ac_status=$?
11688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11689 (exit $ac_status); }; } &&
11690 { ac_try='test -s conftest.$ac_objext'
11691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11692 (eval $ac_try) 2>&5
11693 ac_status=$?
11694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11695 (exit $ac_status); }; }; then
11696 ac_header_compiler=yes
11697 else
11698 echo "$as_me: failed program was:" >&5
11699 sed 's/^/| /' conftest.$ac_ext >&5
11701 ac_header_compiler=no
11703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11704 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11705 echo "${ECHO_T}$ac_header_compiler" >&6
11707 # Is the header present?
11708 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11709 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11710 cat >conftest.$ac_ext <<_ACEOF
11711 /* confdefs.h. */
11712 _ACEOF
11713 cat confdefs.h >>conftest.$ac_ext
11714 cat >>conftest.$ac_ext <<_ACEOF
11715 /* end confdefs.h. */
11716 #include <$ac_header>
11717 _ACEOF
11718 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11719 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11720 ac_status=$?
11721 grep -v '^ *+' conftest.er1 >conftest.err
11722 rm -f conftest.er1
11723 cat conftest.err >&5
11724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11725 (exit $ac_status); } >/dev/null; then
11726 if test -s conftest.err; then
11727 ac_cpp_err=$ac_c_preproc_warn_flag
11728 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11729 else
11730 ac_cpp_err=
11732 else
11733 ac_cpp_err=yes
11735 if test -z "$ac_cpp_err"; then
11736 ac_header_preproc=yes
11737 else
11738 echo "$as_me: failed program was:" >&5
11739 sed 's/^/| /' conftest.$ac_ext >&5
11741 ac_header_preproc=no
11743 rm -f conftest.err conftest.$ac_ext
11744 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11745 echo "${ECHO_T}$ac_header_preproc" >&6
11747 # So? What about this header?
11748 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11749 yes:no: )
11750 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11751 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11753 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11754 ac_header_preproc=yes
11756 no:yes:* )
11757 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11758 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11759 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11760 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11761 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11762 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11763 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11764 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11766 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11767 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11768 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11770 cat <<\_ASBOX
11771 ## ------------------------------------ ##
11772 ## Report this to wine-devel@winehq.org ##
11773 ## ------------------------------------ ##
11774 _ASBOX
11776 sed "s/^/$as_me: WARNING: /" >&2
11778 esac
11779 echo "$as_me:$LINENO: checking for $ac_header" >&5
11780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11782 echo $ECHO_N "(cached) $ECHO_C" >&6
11783 else
11784 eval "$as_ac_Header=\$ac_header_preproc"
11786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11791 cat >>confdefs.h <<_ACEOF
11792 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11793 _ACEOF
11796 for ac_header in linux/capi.h
11798 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11800 echo "$as_me:$LINENO: checking for $ac_header" >&5
11801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11803 echo $ECHO_N "(cached) $ECHO_C" >&6
11805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11807 else
11808 # Is the header compilable?
11809 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11810 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11811 cat >conftest.$ac_ext <<_ACEOF
11812 /* confdefs.h. */
11813 _ACEOF
11814 cat confdefs.h >>conftest.$ac_ext
11815 cat >>conftest.$ac_ext <<_ACEOF
11816 /* end confdefs.h. */
11817 $ac_includes_default
11818 #include <$ac_header>
11819 _ACEOF
11820 rm -f conftest.$ac_objext
11821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11822 (eval $ac_compile) 2>conftest.er1
11823 ac_status=$?
11824 grep -v '^ *+' conftest.er1 >conftest.err
11825 rm -f conftest.er1
11826 cat conftest.err >&5
11827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11828 (exit $ac_status); } &&
11829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11831 (eval $ac_try) 2>&5
11832 ac_status=$?
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); }; } &&
11835 { ac_try='test -s conftest.$ac_objext'
11836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11837 (eval $ac_try) 2>&5
11838 ac_status=$?
11839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840 (exit $ac_status); }; }; then
11841 ac_header_compiler=yes
11842 else
11843 echo "$as_me: failed program was:" >&5
11844 sed 's/^/| /' conftest.$ac_ext >&5
11846 ac_header_compiler=no
11848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11849 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11850 echo "${ECHO_T}$ac_header_compiler" >&6
11852 # Is the header present?
11853 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11854 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11855 cat >conftest.$ac_ext <<_ACEOF
11856 /* confdefs.h. */
11857 _ACEOF
11858 cat confdefs.h >>conftest.$ac_ext
11859 cat >>conftest.$ac_ext <<_ACEOF
11860 /* end confdefs.h. */
11861 #include <$ac_header>
11862 _ACEOF
11863 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11864 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11865 ac_status=$?
11866 grep -v '^ *+' conftest.er1 >conftest.err
11867 rm -f conftest.er1
11868 cat conftest.err >&5
11869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870 (exit $ac_status); } >/dev/null; then
11871 if test -s conftest.err; then
11872 ac_cpp_err=$ac_c_preproc_warn_flag
11873 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11874 else
11875 ac_cpp_err=
11877 else
11878 ac_cpp_err=yes
11880 if test -z "$ac_cpp_err"; then
11881 ac_header_preproc=yes
11882 else
11883 echo "$as_me: failed program was:" >&5
11884 sed 's/^/| /' conftest.$ac_ext >&5
11886 ac_header_preproc=no
11888 rm -f conftest.err conftest.$ac_ext
11889 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11890 echo "${ECHO_T}$ac_header_preproc" >&6
11892 # So? What about this header?
11893 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11894 yes:no: )
11895 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11896 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11898 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11899 ac_header_preproc=yes
11901 no:yes:* )
11902 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11903 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11904 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11905 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11906 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11907 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11908 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11909 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11911 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11912 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11913 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11915 cat <<\_ASBOX
11916 ## ------------------------------------ ##
11917 ## Report this to wine-devel@winehq.org ##
11918 ## ------------------------------------ ##
11919 _ASBOX
11921 sed "s/^/$as_me: WARNING: /" >&2
11923 esac
11924 echo "$as_me:$LINENO: checking for $ac_header" >&5
11925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11927 echo $ECHO_N "(cached) $ECHO_C" >&6
11928 else
11929 eval "$as_ac_Header=\$ac_header_preproc"
11931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11936 cat >>confdefs.h <<_ACEOF
11937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11938 _ACEOF
11940 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
11941 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
11942 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
11943 echo $ECHO_N "(cached) $ECHO_C" >&6
11944 else
11945 ac_check_lib_save_LIBS=$LIBS
11946 LIBS="-lcapi20 $LIBS"
11947 cat >conftest.$ac_ext <<_ACEOF
11948 /* confdefs.h. */
11949 _ACEOF
11950 cat confdefs.h >>conftest.$ac_ext
11951 cat >>conftest.$ac_ext <<_ACEOF
11952 /* end confdefs.h. */
11954 /* Override any gcc2 internal prototype to avoid an error. */
11955 #ifdef __cplusplus
11956 extern "C"
11957 #endif
11958 /* We use char because int might match the return type of a gcc2
11959 builtin and then its argument prototype would still apply. */
11960 char capi20_register ();
11962 main ()
11964 capi20_register ();
11966 return 0;
11968 _ACEOF
11969 rm -f conftest.$ac_objext conftest$ac_exeext
11970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11971 (eval $ac_link) 2>conftest.er1
11972 ac_status=$?
11973 grep -v '^ *+' conftest.er1 >conftest.err
11974 rm -f conftest.er1
11975 cat conftest.err >&5
11976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11977 (exit $ac_status); } &&
11978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11980 (eval $ac_try) 2>&5
11981 ac_status=$?
11982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983 (exit $ac_status); }; } &&
11984 { ac_try='test -s conftest$ac_exeext'
11985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11986 (eval $ac_try) 2>&5
11987 ac_status=$?
11988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 (exit $ac_status); }; }; then
11990 ac_cv_lib_capi20_capi20_register=yes
11991 else
11992 echo "$as_me: failed program was:" >&5
11993 sed 's/^/| /' conftest.$ac_ext >&5
11995 ac_cv_lib_capi20_capi20_register=no
11997 rm -f conftest.err conftest.$ac_objext \
11998 conftest$ac_exeext conftest.$ac_ext
11999 LIBS=$ac_check_lib_save_LIBS
12001 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12002 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12003 if test $ac_cv_lib_capi20_capi20_register = yes; then
12006 cat >>confdefs.h <<\_ACEOF
12007 #define HAVE_CAPI4LINUX 1
12008 _ACEOF
12016 done
12021 done
12025 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
12026 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
12027 if test "${ac_cv_mmap64_works+set}" = set; then
12028 echo $ECHO_N "(cached) $ECHO_C" >&6
12029 else
12030 if test "$cross_compiling" = yes; then
12031 ac_cv_mmap64_works="no"
12032 else
12033 cat >conftest.$ac_ext <<_ACEOF
12034 /* confdefs.h. */
12035 _ACEOF
12036 cat confdefs.h >>conftest.$ac_ext
12037 cat >>conftest.$ac_ext <<_ACEOF
12038 /* end confdefs.h. */
12040 #define _FILE_OFFSET_BITS 64
12041 #include <stdio.h>
12042 #include <unistd.h>
12043 #include <fcntl.h>
12044 #include <sys/mman.h>
12045 #include <errno.h>
12047 int main(int argc,char **argv) {
12048 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
12049 if (fd == -1) exit(1);
12051 unlink("conftest.map");
12053 write(fd,"test",4);
12055 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
12056 (errno == EINVAL)
12058 exit(1);
12060 close(fd);
12061 fprintf(stderr,"success!\n");
12062 exit(0);
12066 _ACEOF
12067 rm -f conftest$ac_exeext
12068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12069 (eval $ac_link) 2>&5
12070 ac_status=$?
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12074 (eval $ac_try) 2>&5
12075 ac_status=$?
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); }; }; then
12078 ac_cv_mmap64_works="yes"
12079 else
12080 echo "$as_me: program exited with status $ac_status" >&5
12081 echo "$as_me: failed program was:" >&5
12082 sed 's/^/| /' conftest.$ac_ext >&5
12084 ( exit $ac_status )
12085 ac_cv_mmap64_works="no"
12087 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12090 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12091 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12093 if test "$ac_cv_mmap64_works" = "yes"
12094 then
12096 cat >>confdefs.h <<\_ACEOF
12097 #define _FILE_OFFSET_BITS 64
12098 _ACEOF
12103 EXTRACFLAGS=""
12105 if test "x${GCC}" = "xyes"
12106 then
12107 EXTRACFLAGS="-Wall -pipe"
12109 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12110 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12111 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12112 echo $ECHO_N "(cached) $ECHO_C" >&6
12113 else
12114 if test "$cross_compiling" = yes; then
12115 ac_cv_c_gcc_strength_bug="yes"
12116 else
12117 cat >conftest.$ac_ext <<_ACEOF
12118 /* confdefs.h. */
12119 _ACEOF
12120 cat confdefs.h >>conftest.$ac_ext
12121 cat >>conftest.$ac_ext <<_ACEOF
12122 /* end confdefs.h. */
12124 int L[4] = {0,1,2,3};
12125 int main(void) {
12126 static int Array[3];
12127 unsigned int B = 3;
12128 int i;
12129 for(i=0; i<B; i++) Array[i] = i - 3;
12130 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12131 L[i] = 4;
12133 exit( Array[1] != -2 || L[2] != 3);
12135 _ACEOF
12136 rm -f conftest$ac_exeext
12137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12138 (eval $ac_link) 2>&5
12139 ac_status=$?
12140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12141 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12143 (eval $ac_try) 2>&5
12144 ac_status=$?
12145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12146 (exit $ac_status); }; }; then
12147 ac_cv_c_gcc_strength_bug="no"
12148 else
12149 echo "$as_me: program exited with status $ac_status" >&5
12150 echo "$as_me: failed program was:" >&5
12151 sed 's/^/| /' conftest.$ac_ext >&5
12153 ( exit $ac_status )
12154 ac_cv_c_gcc_strength_bug="yes"
12156 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12159 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12160 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12161 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12162 then
12163 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12166 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12167 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12168 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12169 echo $ECHO_N "(cached) $ECHO_C" >&6
12170 else
12171 ac_wine_try_cflags_saved=$CFLAGS
12172 CFLAGS="$CFLAGS -fshort-wchar"
12173 cat >conftest.$ac_ext <<_ACEOF
12174 /* confdefs.h. */
12175 _ACEOF
12176 cat confdefs.h >>conftest.$ac_ext
12177 cat >>conftest.$ac_ext <<_ACEOF
12178 /* end confdefs.h. */
12181 main ()
12185 return 0;
12187 _ACEOF
12188 rm -f conftest.$ac_objext conftest$ac_exeext
12189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12190 (eval $ac_link) 2>conftest.er1
12191 ac_status=$?
12192 grep -v '^ *+' conftest.er1 >conftest.err
12193 rm -f conftest.er1
12194 cat conftest.err >&5
12195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196 (exit $ac_status); } &&
12197 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12199 (eval $ac_try) 2>&5
12200 ac_status=$?
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); }; } &&
12203 { ac_try='test -s conftest$ac_exeext'
12204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12205 (eval $ac_try) 2>&5
12206 ac_status=$?
12207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12208 (exit $ac_status); }; }; then
12209 ac_cv_c_gcc_fshort_wchar="yes"
12210 else
12211 echo "$as_me: failed program was:" >&5
12212 sed 's/^/| /' conftest.$ac_ext >&5
12214 ac_cv_c_gcc_fshort_wchar="no"
12216 rm -f conftest.err conftest.$ac_objext \
12217 conftest$ac_exeext conftest.$ac_ext
12218 CFLAGS=$ac_wine_try_cflags_saved
12220 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12221 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12222 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12223 then
12225 cat >>confdefs.h <<\_ACEOF
12226 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12227 _ACEOF
12231 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12232 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12233 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12234 echo $ECHO_N "(cached) $ECHO_C" >&6
12235 else
12236 ac_wine_try_cflags_saved=$CFLAGS
12237 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
12238 cat >conftest.$ac_ext <<_ACEOF
12239 /* confdefs.h. */
12240 _ACEOF
12241 cat confdefs.h >>conftest.$ac_ext
12242 cat >>conftest.$ac_ext <<_ACEOF
12243 /* end confdefs.h. */
12246 main ()
12250 return 0;
12252 _ACEOF
12253 rm -f conftest.$ac_objext conftest$ac_exeext
12254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12255 (eval $ac_link) 2>conftest.er1
12256 ac_status=$?
12257 grep -v '^ *+' conftest.er1 >conftest.err
12258 rm -f conftest.er1
12259 cat conftest.err >&5
12260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12261 (exit $ac_status); } &&
12262 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12264 (eval $ac_try) 2>&5
12265 ac_status=$?
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); }; } &&
12268 { ac_try='test -s conftest$ac_exeext'
12269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12270 (eval $ac_try) 2>&5
12271 ac_status=$?
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); }; }; then
12274 ac_cv_c_gcc_stack_boundary="yes"
12275 else
12276 echo "$as_me: failed program was:" >&5
12277 sed 's/^/| /' conftest.$ac_ext >&5
12279 ac_cv_c_gcc_stack_boundary="no"
12281 rm -f conftest.err conftest.$ac_objext \
12282 conftest$ac_exeext conftest.$ac_ext
12283 CFLAGS=$ac_wine_try_cflags_saved
12285 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12286 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12287 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12288 then
12289 EXTRACFLAGS="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12292 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12293 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12294 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12295 echo $ECHO_N "(cached) $ECHO_C" >&6
12296 else
12297 ac_wine_try_cflags_saved=$CFLAGS
12298 CFLAGS="$CFLAGS -fno-strict-aliasing"
12299 cat >conftest.$ac_ext <<_ACEOF
12300 /* confdefs.h. */
12301 _ACEOF
12302 cat confdefs.h >>conftest.$ac_ext
12303 cat >>conftest.$ac_ext <<_ACEOF
12304 /* end confdefs.h. */
12307 main ()
12311 return 0;
12313 _ACEOF
12314 rm -f conftest.$ac_objext conftest$ac_exeext
12315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12316 (eval $ac_link) 2>conftest.er1
12317 ac_status=$?
12318 grep -v '^ *+' conftest.er1 >conftest.err
12319 rm -f conftest.er1
12320 cat conftest.err >&5
12321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12322 (exit $ac_status); } &&
12323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12325 (eval $ac_try) 2>&5
12326 ac_status=$?
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); }; } &&
12329 { ac_try='test -s conftest$ac_exeext'
12330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12331 (eval $ac_try) 2>&5
12332 ac_status=$?
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); }; }; then
12335 ac_cv_c_gcc_no_strict_aliasing="yes"
12336 else
12337 echo "$as_me: failed program was:" >&5
12338 sed 's/^/| /' conftest.$ac_ext >&5
12340 ac_cv_c_gcc_no_strict_aliasing="no"
12342 rm -f conftest.err conftest.$ac_objext \
12343 conftest$ac_exeext conftest.$ac_ext
12344 CFLAGS=$ac_wine_try_cflags_saved
12346 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12347 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12348 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12349 then
12350 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12353 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12354 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12355 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12356 echo $ECHO_N "(cached) $ECHO_C" >&6
12357 else
12358 ac_wine_try_cflags_saved=$CFLAGS
12359 CFLAGS="$CFLAGS -gstabs+"
12360 cat >conftest.$ac_ext <<_ACEOF
12361 /* confdefs.h. */
12362 _ACEOF
12363 cat confdefs.h >>conftest.$ac_ext
12364 cat >>conftest.$ac_ext <<_ACEOF
12365 /* end confdefs.h. */
12368 main ()
12372 return 0;
12374 _ACEOF
12375 rm -f conftest.$ac_objext conftest$ac_exeext
12376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12377 (eval $ac_link) 2>conftest.er1
12378 ac_status=$?
12379 grep -v '^ *+' conftest.er1 >conftest.err
12380 rm -f conftest.er1
12381 cat conftest.err >&5
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); } &&
12384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12386 (eval $ac_try) 2>&5
12387 ac_status=$?
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); }; } &&
12390 { ac_try='test -s conftest$ac_exeext'
12391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12392 (eval $ac_try) 2>&5
12393 ac_status=$?
12394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395 (exit $ac_status); }; }; then
12396 ac_cv_c_gcc_gstabs="yes"
12397 else
12398 echo "$as_me: failed program was:" >&5
12399 sed 's/^/| /' conftest.$ac_ext >&5
12401 ac_cv_c_gcc_gstabs="no"
12403 rm -f conftest.err conftest.$ac_objext \
12404 conftest$ac_exeext conftest.$ac_ext
12405 CFLAGS=$ac_wine_try_cflags_saved
12407 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12408 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12409 if test "$ac_cv_c_gcc_gstabs" = "yes"
12410 then
12411 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
12414 saved_CFLAGS="$CFLAGS"
12415 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12416 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12417 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12418 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12419 echo $ECHO_N "(cached) $ECHO_C" >&6
12420 else
12421 cat >conftest.$ac_ext <<_ACEOF
12422 /* confdefs.h. */
12423 _ACEOF
12424 cat confdefs.h >>conftest.$ac_ext
12425 cat >>conftest.$ac_ext <<_ACEOF
12426 /* end confdefs.h. */
12427 #include <string.h>
12429 main ()
12433 return 0;
12435 _ACEOF
12436 rm -f conftest.$ac_objext
12437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12438 (eval $ac_compile) 2>conftest.er1
12439 ac_status=$?
12440 grep -v '^ *+' conftest.er1 >conftest.err
12441 rm -f conftest.er1
12442 cat conftest.err >&5
12443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12444 (exit $ac_status); } &&
12445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12447 (eval $ac_try) 2>&5
12448 ac_status=$?
12449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12450 (exit $ac_status); }; } &&
12451 { ac_try='test -s conftest.$ac_objext'
12452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12453 (eval $ac_try) 2>&5
12454 ac_status=$?
12455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12456 (exit $ac_status); }; }; then
12457 ac_cv_c_string_h_warnings=no
12458 else
12459 echo "$as_me: failed program was:" >&5
12460 sed 's/^/| /' conftest.$ac_ext >&5
12462 ac_cv_c_string_h_warnings=yes
12464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12466 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12467 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12468 CFLAGS="$saved_CFLAGS"
12469 if test "$ac_cv_c_string_h_warnings" = "no"
12470 then
12471 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12476 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12477 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12478 if test "${ac_cv_asm_func_def+set}" = set; then
12479 echo $ECHO_N "(cached) $ECHO_C" >&6
12480 else
12481 cat >conftest.$ac_ext <<_ACEOF
12482 /* confdefs.h. */
12483 _ACEOF
12484 cat confdefs.h >>conftest.$ac_ext
12485 cat >>conftest.$ac_ext <<_ACEOF
12486 /* end confdefs.h. */
12487 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"); }
12490 main ()
12494 return 0;
12496 _ACEOF
12497 rm -f conftest.$ac_objext conftest$ac_exeext
12498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12499 (eval $ac_link) 2>conftest.er1
12500 ac_status=$?
12501 grep -v '^ *+' conftest.er1 >conftest.err
12502 rm -f conftest.er1
12503 cat conftest.err >&5
12504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12505 (exit $ac_status); } &&
12506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12508 (eval $ac_try) 2>&5
12509 ac_status=$?
12510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12511 (exit $ac_status); }; } &&
12512 { ac_try='test -s conftest$ac_exeext'
12513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12514 (eval $ac_try) 2>&5
12515 ac_status=$?
12516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517 (exit $ac_status); }; }; then
12518 ac_cv_asm_func_def=".def"
12519 else
12520 echo "$as_me: failed program was:" >&5
12521 sed 's/^/| /' conftest.$ac_ext >&5
12523 cat >conftest.$ac_ext <<_ACEOF
12524 /* confdefs.h. */
12525 _ACEOF
12526 cat confdefs.h >>conftest.$ac_ext
12527 cat >>conftest.$ac_ext <<_ACEOF
12528 /* end confdefs.h. */
12529 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12532 main ()
12536 return 0;
12538 _ACEOF
12539 rm -f conftest.$ac_objext conftest$ac_exeext
12540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12541 (eval $ac_link) 2>conftest.er1
12542 ac_status=$?
12543 grep -v '^ *+' conftest.er1 >conftest.err
12544 rm -f conftest.er1
12545 cat conftest.err >&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } &&
12548 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12550 (eval $ac_try) 2>&5
12551 ac_status=$?
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); }; } &&
12554 { ac_try='test -s conftest$ac_exeext'
12555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12556 (eval $ac_try) 2>&5
12557 ac_status=$?
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); }; }; then
12560 ac_cv_asm_func_def=".type @function"
12561 else
12562 echo "$as_me: failed program was:" >&5
12563 sed 's/^/| /' conftest.$ac_ext >&5
12565 cat >conftest.$ac_ext <<_ACEOF
12566 /* confdefs.h. */
12567 _ACEOF
12568 cat confdefs.h >>conftest.$ac_ext
12569 cat >>conftest.$ac_ext <<_ACEOF
12570 /* end confdefs.h. */
12571 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12574 main ()
12578 return 0;
12580 _ACEOF
12581 rm -f conftest.$ac_objext conftest$ac_exeext
12582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12583 (eval $ac_link) 2>conftest.er1
12584 ac_status=$?
12585 grep -v '^ *+' conftest.er1 >conftest.err
12586 rm -f conftest.er1
12587 cat conftest.err >&5
12588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12589 (exit $ac_status); } &&
12590 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12592 (eval $ac_try) 2>&5
12593 ac_status=$?
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); }; } &&
12596 { ac_try='test -s conftest$ac_exeext'
12597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12598 (eval $ac_try) 2>&5
12599 ac_status=$?
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); }; }; then
12602 ac_cv_asm_func_def=".type 2"
12603 else
12604 echo "$as_me: failed program was:" >&5
12605 sed 's/^/| /' conftest.$ac_ext >&5
12607 ac_cv_asm_func_def="unknown"
12609 rm -f conftest.err conftest.$ac_objext \
12610 conftest$ac_exeext conftest.$ac_ext
12612 rm -f conftest.err conftest.$ac_objext \
12613 conftest$ac_exeext conftest.$ac_ext
12615 rm -f conftest.err conftest.$ac_objext \
12616 conftest$ac_exeext conftest.$ac_ext
12618 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12619 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
12623 case "$ac_cv_asm_func_def" in
12624 ".def")
12625 cat >>confdefs.h <<\_ACEOF
12626 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12627 _ACEOF
12629 ".type @function")
12630 cat >>confdefs.h <<\_ACEOF
12631 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12632 _ACEOF
12634 ".type 2")
12635 cat >>confdefs.h <<\_ACEOF
12636 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12637 _ACEOF
12640 cat >>confdefs.h <<\_ACEOF
12641 #define __ASM_FUNC(name) ""
12642 _ACEOF
12644 esac
12647 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12648 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
12649 if test "${ac_cv_c_extern_prefix+set}" = set; then
12650 echo $ECHO_N "(cached) $ECHO_C" >&6
12651 else
12652 cat >conftest.$ac_ext <<_ACEOF
12653 /* confdefs.h. */
12654 _ACEOF
12655 cat confdefs.h >>conftest.$ac_ext
12656 cat >>conftest.$ac_ext <<_ACEOF
12657 /* end confdefs.h. */
12658 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12659 extern int ac_test;
12661 main ()
12663 if (ac_test) return 1
12665 return 0;
12667 _ACEOF
12668 rm -f conftest.$ac_objext conftest$ac_exeext
12669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12670 (eval $ac_link) 2>conftest.er1
12671 ac_status=$?
12672 grep -v '^ *+' conftest.er1 >conftest.err
12673 rm -f conftest.er1
12674 cat conftest.err >&5
12675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12676 (exit $ac_status); } &&
12677 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12679 (eval $ac_try) 2>&5
12680 ac_status=$?
12681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12682 (exit $ac_status); }; } &&
12683 { ac_try='test -s conftest$ac_exeext'
12684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12685 (eval $ac_try) 2>&5
12686 ac_status=$?
12687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12688 (exit $ac_status); }; }; then
12689 ac_cv_c_extern_prefix="yes"
12690 else
12691 echo "$as_me: failed program was:" >&5
12692 sed 's/^/| /' conftest.$ac_ext >&5
12694 ac_cv_c_extern_prefix="no"
12696 rm -f conftest.err conftest.$ac_objext \
12697 conftest$ac_exeext conftest.$ac_ext
12699 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12700 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
12704 if test "$ac_cv_c_extern_prefix" = "yes"
12705 then
12706 cat >>confdefs.h <<\_ACEOF
12707 #define __ASM_NAME(name) "_" name
12708 _ACEOF
12710 else
12711 cat >>confdefs.h <<\_ACEOF
12712 #define __ASM_NAME(name) name
12713 _ACEOF
12718 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
12719 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
12720 if test "${ac_cv_c_asm_string+set}" = set; then
12721 echo $ECHO_N "(cached) $ECHO_C" >&6
12722 else
12723 cat >conftest.$ac_ext <<_ACEOF
12724 /* confdefs.h. */
12725 _ACEOF
12726 cat confdefs.h >>conftest.$ac_ext
12727 cat >>conftest.$ac_ext <<_ACEOF
12728 /* end confdefs.h. */
12729 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
12732 main ()
12736 return 0;
12738 _ACEOF
12739 rm -f conftest.$ac_objext conftest$ac_exeext
12740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12741 (eval $ac_link) 2>conftest.er1
12742 ac_status=$?
12743 grep -v '^ *+' conftest.er1 >conftest.err
12744 rm -f conftest.er1
12745 cat conftest.err >&5
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); } &&
12748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12750 (eval $ac_try) 2>&5
12751 ac_status=$?
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); }; } &&
12754 { ac_try='test -s conftest$ac_exeext'
12755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12756 (eval $ac_try) 2>&5
12757 ac_status=$?
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); }; }; then
12760 ac_cv_c_asm_string=".string"
12761 else
12762 echo "$as_me: failed program was:" >&5
12763 sed 's/^/| /' conftest.$ac_ext >&5
12765 cat >conftest.$ac_ext <<_ACEOF
12766 /* confdefs.h. */
12767 _ACEOF
12768 cat confdefs.h >>conftest.$ac_ext
12769 cat >>conftest.$ac_ext <<_ACEOF
12770 /* end confdefs.h. */
12771 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
12774 main ()
12778 return 0;
12780 _ACEOF
12781 rm -f conftest.$ac_objext conftest$ac_exeext
12782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12783 (eval $ac_link) 2>conftest.er1
12784 ac_status=$?
12785 grep -v '^ *+' conftest.er1 >conftest.err
12786 rm -f conftest.er1
12787 cat conftest.err >&5
12788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12789 (exit $ac_status); } &&
12790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12792 (eval $ac_try) 2>&5
12793 ac_status=$?
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); }; } &&
12796 { ac_try='test -s conftest$ac_exeext'
12797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12798 (eval $ac_try) 2>&5
12799 ac_status=$?
12800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12801 (exit $ac_status); }; }; then
12802 ac_cv_c_asm_string=".asciz"
12803 else
12804 echo "$as_me: failed program was:" >&5
12805 sed 's/^/| /' conftest.$ac_ext >&5
12807 cat >conftest.$ac_ext <<_ACEOF
12808 /* confdefs.h. */
12809 _ACEOF
12810 cat confdefs.h >>conftest.$ac_ext
12811 cat >>conftest.$ac_ext <<_ACEOF
12812 /* end confdefs.h. */
12813 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
12816 main ()
12820 return 0;
12822 _ACEOF
12823 rm -f conftest.$ac_objext conftest$ac_exeext
12824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12825 (eval $ac_link) 2>conftest.er1
12826 ac_status=$?
12827 grep -v '^ *+' conftest.er1 >conftest.err
12828 rm -f conftest.er1
12829 cat conftest.err >&5
12830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12831 (exit $ac_status); } &&
12832 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12834 (eval $ac_try) 2>&5
12835 ac_status=$?
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); }; } &&
12838 { ac_try='test -s conftest$ac_exeext'
12839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12840 (eval $ac_try) 2>&5
12841 ac_status=$?
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); }; }; then
12844 ac_cv_c_asm_string=".ascii"
12845 else
12846 echo "$as_me: failed program was:" >&5
12847 sed 's/^/| /' conftest.$ac_ext >&5
12849 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
12850 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
12851 { (exit 1); exit 1; }; }
12853 rm -f conftest.err conftest.$ac_objext \
12854 conftest$ac_exeext conftest.$ac_ext
12856 rm -f conftest.err conftest.$ac_objext \
12857 conftest$ac_exeext conftest.$ac_ext
12859 rm -f conftest.err conftest.$ac_objext \
12860 conftest$ac_exeext conftest.$ac_ext
12862 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
12863 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
12866 cat >>confdefs.h <<_ACEOF
12867 #define __ASM_STRING "$ac_cv_c_asm_string"
12868 _ACEOF
12872 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
12873 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
12874 if test "${ac_cv_c_asm_short+set}" = set; then
12875 echo $ECHO_N "(cached) $ECHO_C" >&6
12876 else
12877 cat >conftest.$ac_ext <<_ACEOF
12878 /* confdefs.h. */
12879 _ACEOF
12880 cat confdefs.h >>conftest.$ac_ext
12881 cat >>conftest.$ac_ext <<_ACEOF
12882 /* end confdefs.h. */
12883 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
12886 main ()
12890 return 0;
12892 _ACEOF
12893 rm -f conftest.$ac_objext conftest$ac_exeext
12894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12895 (eval $ac_link) 2>conftest.er1
12896 ac_status=$?
12897 grep -v '^ *+' conftest.er1 >conftest.err
12898 rm -f conftest.er1
12899 cat conftest.err >&5
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); } &&
12902 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12904 (eval $ac_try) 2>&5
12905 ac_status=$?
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); }; } &&
12908 { ac_try='test -s conftest$ac_exeext'
12909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12910 (eval $ac_try) 2>&5
12911 ac_status=$?
12912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12913 (exit $ac_status); }; }; then
12914 ac_cv_c_asm_short=".short"
12915 else
12916 echo "$as_me: failed program was:" >&5
12917 sed 's/^/| /' conftest.$ac_ext >&5
12919 cat >conftest.$ac_ext <<_ACEOF
12920 /* confdefs.h. */
12921 _ACEOF
12922 cat confdefs.h >>conftest.$ac_ext
12923 cat >>conftest.$ac_ext <<_ACEOF
12924 /* end confdefs.h. */
12925 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
12928 main ()
12932 return 0;
12934 _ACEOF
12935 rm -f conftest.$ac_objext conftest$ac_exeext
12936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12937 (eval $ac_link) 2>conftest.er1
12938 ac_status=$?
12939 grep -v '^ *+' conftest.er1 >conftest.err
12940 rm -f conftest.er1
12941 cat conftest.err >&5
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); } &&
12944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12946 (eval $ac_try) 2>&5
12947 ac_status=$?
12948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949 (exit $ac_status); }; } &&
12950 { ac_try='test -s conftest$ac_exeext'
12951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12952 (eval $ac_try) 2>&5
12953 ac_status=$?
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); }; }; then
12956 ac_cv_c_asm_short=".half"
12957 else
12958 echo "$as_me: failed program was:" >&5
12959 sed 's/^/| /' conftest.$ac_ext >&5
12961 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
12962 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
12963 { (exit 1); exit 1; }; }
12965 rm -f conftest.err conftest.$ac_objext \
12966 conftest$ac_exeext conftest.$ac_ext
12968 rm -f conftest.err conftest.$ac_objext \
12969 conftest$ac_exeext conftest.$ac_ext
12971 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
12972 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
12975 cat >>confdefs.h <<_ACEOF
12976 #define __ASM_SHORT "$ac_cv_c_asm_short"
12977 _ACEOF
12981 echo "$as_me:$LINENO: checking for .size in assembler" >&5
12982 echo $ECHO_N "checking for .size in assembler... $ECHO_C" >&6
12983 if test "${ac_cv_c_asm_size+set}" = set; then
12984 echo $ECHO_N "(cached) $ECHO_C" >&6
12985 else
12986 cat >conftest.$ac_ext <<_ACEOF
12987 /* confdefs.h. */
12988 _ACEOF
12989 cat confdefs.h >>conftest.$ac_ext
12990 cat >>conftest.$ac_ext <<_ACEOF
12991 /* end confdefs.h. */
12992 void ac_asm(void) { asm(".globl _ac_test\n.size _ac_test, . - _ac_test"); }
12995 main ()
12999 return 0;
13001 _ACEOF
13002 rm -f conftest.$ac_objext conftest$ac_exeext
13003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13004 (eval $ac_link) 2>conftest.er1
13005 ac_status=$?
13006 grep -v '^ *+' conftest.er1 >conftest.err
13007 rm -f conftest.er1
13008 cat conftest.err >&5
13009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13010 (exit $ac_status); } &&
13011 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13013 (eval $ac_try) 2>&5
13014 ac_status=$?
13015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13016 (exit $ac_status); }; } &&
13017 { ac_try='test -s conftest$ac_exeext'
13018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13019 (eval $ac_try) 2>&5
13020 ac_status=$?
13021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13022 (exit $ac_status); }; }; then
13023 ac_cv_c_asm_size="yes"
13024 else
13025 echo "$as_me: failed program was:" >&5
13026 sed 's/^/| /' conftest.$ac_ext >&5
13028 ac_cv_c_asm_size="no"
13030 rm -f conftest.err conftest.$ac_objext \
13031 conftest$ac_exeext conftest.$ac_ext
13033 echo "$as_me:$LINENO: result: $ac_cv_c_asm_size" >&5
13034 echo "${ECHO_T}$ac_cv_c_asm_size" >&6
13036 if test "$ac_cv_c_asm_size" = "yes"
13037 then
13039 cat >>confdefs.h <<\_ACEOF
13040 #define HAVE_ASM_DOT_SIZE 1
13041 _ACEOF
13046 DLLEXT=""
13048 DLLFLAGS="-D_REENTRANT"
13050 DLLIBS=""
13052 LDSHARED=""
13054 LDDLLFLAGS=""
13056 LIBEXT="so"
13058 IMPLIBEXT="def"
13061 case $host_os in
13062 cygwin*|mingw32*)
13063 if test -n "$ac_tool_prefix"; then
13064 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13065 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
13066 echo "$as_me:$LINENO: checking for $ac_word" >&5
13067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13068 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13069 echo $ECHO_N "(cached) $ECHO_C" >&6
13070 else
13071 if test -n "$DLLTOOL"; then
13072 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13073 else
13074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13075 for as_dir in $PATH
13077 IFS=$as_save_IFS
13078 test -z "$as_dir" && as_dir=.
13079 for ac_exec_ext in '' $ac_executable_extensions; do
13080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13081 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13083 break 2
13085 done
13086 done
13090 DLLTOOL=$ac_cv_prog_DLLTOOL
13091 if test -n "$DLLTOOL"; then
13092 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13093 echo "${ECHO_T}$DLLTOOL" >&6
13094 else
13095 echo "$as_me:$LINENO: result: no" >&5
13096 echo "${ECHO_T}no" >&6
13100 if test -z "$ac_cv_prog_DLLTOOL"; then
13101 ac_ct_DLLTOOL=$DLLTOOL
13102 # Extract the first word of "dlltool", so it can be a program name with args.
13103 set dummy dlltool; ac_word=$2
13104 echo "$as_me:$LINENO: checking for $ac_word" >&5
13105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13106 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13107 echo $ECHO_N "(cached) $ECHO_C" >&6
13108 else
13109 if test -n "$ac_ct_DLLTOOL"; then
13110 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13111 else
13112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13113 for as_dir in $PATH
13115 IFS=$as_save_IFS
13116 test -z "$as_dir" && as_dir=.
13117 for ac_exec_ext in '' $ac_executable_extensions; do
13118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13119 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13121 break 2
13123 done
13124 done
13126 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
13129 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13130 if test -n "$ac_ct_DLLTOOL"; then
13131 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13132 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13133 else
13134 echo "$as_me:$LINENO: result: no" >&5
13135 echo "${ECHO_T}no" >&6
13138 DLLTOOL=$ac_ct_DLLTOOL
13139 else
13140 DLLTOOL="$ac_cv_prog_DLLTOOL"
13143 if test -n "$ac_tool_prefix"; then
13144 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13145 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13146 echo "$as_me:$LINENO: checking for $ac_word" >&5
13147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13148 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13149 echo $ECHO_N "(cached) $ECHO_C" >&6
13150 else
13151 if test -n "$DLLWRAP"; then
13152 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13153 else
13154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13155 for as_dir in $PATH
13157 IFS=$as_save_IFS
13158 test -z "$as_dir" && as_dir=.
13159 for ac_exec_ext in '' $ac_executable_extensions; do
13160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13161 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13163 break 2
13165 done
13166 done
13170 DLLWRAP=$ac_cv_prog_DLLWRAP
13171 if test -n "$DLLWRAP"; then
13172 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13173 echo "${ECHO_T}$DLLWRAP" >&6
13174 else
13175 echo "$as_me:$LINENO: result: no" >&5
13176 echo "${ECHO_T}no" >&6
13180 if test -z "$ac_cv_prog_DLLWRAP"; then
13181 ac_ct_DLLWRAP=$DLLWRAP
13182 # Extract the first word of "dllwrap", so it can be a program name with args.
13183 set dummy dllwrap; ac_word=$2
13184 echo "$as_me:$LINENO: checking for $ac_word" >&5
13185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13186 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13187 echo $ECHO_N "(cached) $ECHO_C" >&6
13188 else
13189 if test -n "$ac_ct_DLLWRAP"; then
13190 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13191 else
13192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13193 for as_dir in $PATH
13195 IFS=$as_save_IFS
13196 test -z "$as_dir" && as_dir=.
13197 for ac_exec_ext in '' $ac_executable_extensions; do
13198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13199 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13201 break 2
13203 done
13204 done
13206 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
13209 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13210 if test -n "$ac_ct_DLLWRAP"; then
13211 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13212 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13213 else
13214 echo "$as_me:$LINENO: result: no" >&5
13215 echo "${ECHO_T}no" >&6
13218 DLLWRAP=$ac_ct_DLLWRAP
13219 else
13220 DLLWRAP="$ac_cv_prog_DLLWRAP"
13223 if test "$DLLWRAP" = "false"; then
13224 LIBEXT="a"
13225 else
13226 LIBEXT="dll"
13228 IMPLIBEXT="a"
13229 WIN16_FILES=""
13230 WIN16_INSTALL=""
13234 for ac_header in dlfcn.h
13236 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13238 echo "$as_me:$LINENO: checking for $ac_header" >&5
13239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13241 echo $ECHO_N "(cached) $ECHO_C" >&6
13243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13245 else
13246 # Is the header compilable?
13247 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13249 cat >conftest.$ac_ext <<_ACEOF
13250 /* confdefs.h. */
13251 _ACEOF
13252 cat confdefs.h >>conftest.$ac_ext
13253 cat >>conftest.$ac_ext <<_ACEOF
13254 /* end confdefs.h. */
13255 $ac_includes_default
13256 #include <$ac_header>
13257 _ACEOF
13258 rm -f conftest.$ac_objext
13259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13260 (eval $ac_compile) 2>conftest.er1
13261 ac_status=$?
13262 grep -v '^ *+' conftest.er1 >conftest.err
13263 rm -f conftest.er1
13264 cat conftest.err >&5
13265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266 (exit $ac_status); } &&
13267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13269 (eval $ac_try) 2>&5
13270 ac_status=$?
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); }; } &&
13273 { ac_try='test -s conftest.$ac_objext'
13274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13275 (eval $ac_try) 2>&5
13276 ac_status=$?
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); }; }; then
13279 ac_header_compiler=yes
13280 else
13281 echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.$ac_ext >&5
13284 ac_header_compiler=no
13286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13288 echo "${ECHO_T}$ac_header_compiler" >&6
13290 # Is the header present?
13291 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13292 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13293 cat >conftest.$ac_ext <<_ACEOF
13294 /* confdefs.h. */
13295 _ACEOF
13296 cat confdefs.h >>conftest.$ac_ext
13297 cat >>conftest.$ac_ext <<_ACEOF
13298 /* end confdefs.h. */
13299 #include <$ac_header>
13300 _ACEOF
13301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13302 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13303 ac_status=$?
13304 grep -v '^ *+' conftest.er1 >conftest.err
13305 rm -f conftest.er1
13306 cat conftest.err >&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); } >/dev/null; then
13309 if test -s conftest.err; then
13310 ac_cpp_err=$ac_c_preproc_warn_flag
13311 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13312 else
13313 ac_cpp_err=
13315 else
13316 ac_cpp_err=yes
13318 if test -z "$ac_cpp_err"; then
13319 ac_header_preproc=yes
13320 else
13321 echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.$ac_ext >&5
13324 ac_header_preproc=no
13326 rm -f conftest.err conftest.$ac_ext
13327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13328 echo "${ECHO_T}$ac_header_preproc" >&6
13330 # So? What about this header?
13331 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13332 yes:no: )
13333 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13334 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13336 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13337 ac_header_preproc=yes
13339 no:yes:* )
13340 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13341 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13342 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13343 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13344 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13345 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13346 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13347 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13348 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13349 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13350 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13351 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13353 cat <<\_ASBOX
13354 ## ------------------------------------ ##
13355 ## Report this to wine-devel@winehq.org ##
13356 ## ------------------------------------ ##
13357 _ASBOX
13359 sed "s/^/$as_me: WARNING: /" >&2
13361 esac
13362 echo "$as_me:$LINENO: checking for $ac_header" >&5
13363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13365 echo $ECHO_N "(cached) $ECHO_C" >&6
13366 else
13367 eval "$as_ac_Header=\$ac_header_preproc"
13369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13370 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13373 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13374 cat >>confdefs.h <<_ACEOF
13375 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13376 _ACEOF
13378 for ac_func in dlopen
13380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13381 echo "$as_me:$LINENO: checking for $ac_func" >&5
13382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13383 if eval "test \"\${$as_ac_var+set}\" = set"; then
13384 echo $ECHO_N "(cached) $ECHO_C" >&6
13385 else
13386 cat >conftest.$ac_ext <<_ACEOF
13387 /* confdefs.h. */
13388 _ACEOF
13389 cat confdefs.h >>conftest.$ac_ext
13390 cat >>conftest.$ac_ext <<_ACEOF
13391 /* end confdefs.h. */
13392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13394 #define $ac_func innocuous_$ac_func
13396 /* System header to define __stub macros and hopefully few prototypes,
13397 which can conflict with char $ac_func (); below.
13398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13399 <limits.h> exists even on freestanding compilers. */
13401 #ifdef __STDC__
13402 # include <limits.h>
13403 #else
13404 # include <assert.h>
13405 #endif
13407 #undef $ac_func
13409 /* Override any gcc2 internal prototype to avoid an error. */
13410 #ifdef __cplusplus
13411 extern "C"
13413 #endif
13414 /* We use char because int might match the return type of a gcc2
13415 builtin and then its argument prototype would still apply. */
13416 char $ac_func ();
13417 /* The GNU C library defines this for functions which it implements
13418 to always fail with ENOSYS. Some functions are actually named
13419 something starting with __ and the normal name is an alias. */
13420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13421 choke me
13422 #else
13423 char (*f) () = $ac_func;
13424 #endif
13425 #ifdef __cplusplus
13427 #endif
13430 main ()
13432 return f != $ac_func;
13434 return 0;
13436 _ACEOF
13437 rm -f conftest.$ac_objext conftest$ac_exeext
13438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13439 (eval $ac_link) 2>conftest.er1
13440 ac_status=$?
13441 grep -v '^ *+' conftest.er1 >conftest.err
13442 rm -f conftest.er1
13443 cat conftest.err >&5
13444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445 (exit $ac_status); } &&
13446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13448 (eval $ac_try) 2>&5
13449 ac_status=$?
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); }; } &&
13452 { ac_try='test -s conftest$ac_exeext'
13453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13454 (eval $ac_try) 2>&5
13455 ac_status=$?
13456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13457 (exit $ac_status); }; }; then
13458 eval "$as_ac_var=yes"
13459 else
13460 echo "$as_me: failed program was:" >&5
13461 sed 's/^/| /' conftest.$ac_ext >&5
13463 eval "$as_ac_var=no"
13465 rm -f conftest.err conftest.$ac_objext \
13466 conftest$ac_exeext conftest.$ac_ext
13468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13470 if test `eval echo '${'$as_ac_var'}'` = yes; then
13471 cat >>confdefs.h <<_ACEOF
13472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13473 _ACEOF
13475 else
13476 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13477 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13478 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13479 echo $ECHO_N "(cached) $ECHO_C" >&6
13480 else
13481 ac_check_lib_save_LIBS=$LIBS
13482 LIBS="-ldl $LIBS"
13483 cat >conftest.$ac_ext <<_ACEOF
13484 /* confdefs.h. */
13485 _ACEOF
13486 cat confdefs.h >>conftest.$ac_ext
13487 cat >>conftest.$ac_ext <<_ACEOF
13488 /* end confdefs.h. */
13490 /* Override any gcc2 internal prototype to avoid an error. */
13491 #ifdef __cplusplus
13492 extern "C"
13493 #endif
13494 /* We use char because int might match the return type of a gcc2
13495 builtin and then its argument prototype would still apply. */
13496 char dlopen ();
13498 main ()
13500 dlopen ();
13502 return 0;
13504 _ACEOF
13505 rm -f conftest.$ac_objext conftest$ac_exeext
13506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13507 (eval $ac_link) 2>conftest.er1
13508 ac_status=$?
13509 grep -v '^ *+' conftest.er1 >conftest.err
13510 rm -f conftest.er1
13511 cat conftest.err >&5
13512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13513 (exit $ac_status); } &&
13514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13516 (eval $ac_try) 2>&5
13517 ac_status=$?
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); }; } &&
13520 { ac_try='test -s conftest$ac_exeext'
13521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13522 (eval $ac_try) 2>&5
13523 ac_status=$?
13524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13525 (exit $ac_status); }; }; then
13526 ac_cv_lib_dl_dlopen=yes
13527 else
13528 echo "$as_me: failed program was:" >&5
13529 sed 's/^/| /' conftest.$ac_ext >&5
13531 ac_cv_lib_dl_dlopen=no
13533 rm -f conftest.err conftest.$ac_objext \
13534 conftest$ac_exeext conftest.$ac_ext
13535 LIBS=$ac_check_lib_save_LIBS
13537 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13538 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13539 if test $ac_cv_lib_dl_dlopen = yes; then
13541 cat >>confdefs.h <<\_ACEOF
13542 #define HAVE_DLOPEN 1
13543 _ACEOF
13545 DLLIBS="-ldl"
13546 else
13547 LIBEXT="a"
13551 done
13553 else
13554 LIBEXT="a"
13557 done
13560 if test "$LIBEXT" = "so"
13561 then
13562 DLLFLAGS="$DLLFLAGS -fPIC"
13563 DLLEXT=".so"
13564 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13565 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13566 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13567 echo $ECHO_N "(cached) $ECHO_C" >&6
13568 else
13569 ac_wine_try_cflags_saved=$CFLAGS
13570 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13571 cat >conftest.$ac_ext <<_ACEOF
13572 void myfunc() {}
13573 _ACEOF
13574 rm -f conftest.$ac_objext conftest$ac_exeext
13575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13576 (eval $ac_link) 2>conftest.er1
13577 ac_status=$?
13578 grep -v '^ *+' conftest.er1 >conftest.err
13579 rm -f conftest.er1
13580 cat conftest.err >&5
13581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13582 (exit $ac_status); } &&
13583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13585 (eval $ac_try) 2>&5
13586 ac_status=$?
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); }; } &&
13589 { ac_try='test -s conftest$ac_exeext'
13590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13591 (eval $ac_try) 2>&5
13592 ac_status=$?
13593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13594 (exit $ac_status); }; }; then
13595 ac_cv_c_dll_gnuelf="yes"
13596 else
13597 echo "$as_me: failed program was:" >&5
13598 sed 's/^/| /' conftest.$ac_ext >&5
13600 ac_cv_c_dll_gnuelf="no"
13602 rm -f conftest.err conftest.$ac_objext \
13603 conftest$ac_exeext conftest.$ac_ext
13604 CFLAGS=$ac_wine_try_cflags_saved
13606 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13607 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
13608 if test "$ac_cv_c_dll_gnuelf" = "yes"
13609 then
13610 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13611 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13612 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
13613 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
13614 if test "${ac_cv_c_dll_zdefs+set}" = set; then
13615 echo $ECHO_N "(cached) $ECHO_C" >&6
13616 else
13617 ac_wine_try_cflags_saved=$CFLAGS
13618 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13619 cat >conftest.$ac_ext <<_ACEOF
13620 /* confdefs.h. */
13621 _ACEOF
13622 cat confdefs.h >>conftest.$ac_ext
13623 cat >>conftest.$ac_ext <<_ACEOF
13624 /* end confdefs.h. */
13627 main ()
13631 return 0;
13633 _ACEOF
13634 rm -f conftest.$ac_objext conftest$ac_exeext
13635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13636 (eval $ac_link) 2>conftest.er1
13637 ac_status=$?
13638 grep -v '^ *+' conftest.er1 >conftest.err
13639 rm -f conftest.er1
13640 cat conftest.err >&5
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 (exit $ac_status); } &&
13643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13645 (eval $ac_try) 2>&5
13646 ac_status=$?
13647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13648 (exit $ac_status); }; } &&
13649 { ac_try='test -s conftest$ac_exeext'
13650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13651 (eval $ac_try) 2>&5
13652 ac_status=$?
13653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13654 (exit $ac_status); }; }; then
13655 ac_cv_c_dll_zdefs="yes"
13656 else
13657 echo "$as_me: failed program was:" >&5
13658 sed 's/^/| /' conftest.$ac_ext >&5
13660 ac_cv_c_dll_zdefs="no"
13662 rm -f conftest.err conftest.$ac_objext \
13663 conftest$ac_exeext conftest.$ac_ext
13664 CFLAGS=$ac_wine_try_cflags_saved
13666 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
13667 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
13668 if test "$ac_cv_c_dll_zdefs" = "yes"
13669 then
13670 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13673 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
13674 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
13675 if test "${ac_cv_c_dll_init_fini+set}" = set; then
13676 echo $ECHO_N "(cached) $ECHO_C" >&6
13677 else
13678 ac_wine_try_cflags_saved=$CFLAGS
13679 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13680 cat >conftest.$ac_ext <<_ACEOF
13681 /* confdefs.h. */
13682 _ACEOF
13683 cat confdefs.h >>conftest.$ac_ext
13684 cat >>conftest.$ac_ext <<_ACEOF
13685 /* end confdefs.h. */
13688 main ()
13692 return 0;
13694 _ACEOF
13695 rm -f conftest.$ac_objext conftest$ac_exeext
13696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13697 (eval $ac_link) 2>conftest.er1
13698 ac_status=$?
13699 grep -v '^ *+' conftest.er1 >conftest.err
13700 rm -f conftest.er1
13701 cat conftest.err >&5
13702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); } &&
13704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13706 (eval $ac_try) 2>&5
13707 ac_status=$?
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); }; } &&
13710 { ac_try='test -s conftest$ac_exeext'
13711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13712 (eval $ac_try) 2>&5
13713 ac_status=$?
13714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13715 (exit $ac_status); }; }; then
13716 ac_cv_c_dll_init_fini="yes"
13717 else
13718 echo "$as_me: failed program was:" >&5
13719 sed 's/^/| /' conftest.$ac_ext >&5
13721 ac_cv_c_dll_init_fini="no"
13723 rm -f conftest.err conftest.$ac_objext \
13724 conftest$ac_exeext conftest.$ac_ext
13725 CFLAGS=$ac_wine_try_cflags_saved
13727 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
13728 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
13729 if test "$ac_cv_c_dll_init_fini" = "yes"
13730 then
13731 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13734 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
13735 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
13736 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
13737 echo $ECHO_N "(cached) $ECHO_C" >&6
13738 else
13739 echo '{ global: *; };' >conftest.map
13740 ac_wine_try_cflags_saved=$CFLAGS
13741 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13742 cat >conftest.$ac_ext <<_ACEOF
13743 /* confdefs.h. */
13744 _ACEOF
13745 cat confdefs.h >>conftest.$ac_ext
13746 cat >>conftest.$ac_ext <<_ACEOF
13747 /* end confdefs.h. */
13750 main ()
13754 return 0;
13756 _ACEOF
13757 rm -f conftest.$ac_objext conftest$ac_exeext
13758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13759 (eval $ac_link) 2>conftest.er1
13760 ac_status=$?
13761 grep -v '^ *+' conftest.er1 >conftest.err
13762 rm -f conftest.er1
13763 cat conftest.err >&5
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 (exit $ac_status); } &&
13766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13768 (eval $ac_try) 2>&5
13769 ac_status=$?
13770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771 (exit $ac_status); }; } &&
13772 { ac_try='test -s conftest$ac_exeext'
13773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13774 (eval $ac_try) 2>&5
13775 ac_status=$?
13776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777 (exit $ac_status); }; }; then
13778 ac_cv_c_ld_version_scripts="yes"
13779 else
13780 echo "$as_me: failed program was:" >&5
13781 sed 's/^/| /' conftest.$ac_ext >&5
13783 ac_cv_c_ld_version_scripts="no"
13785 rm -f conftest.err conftest.$ac_objext \
13786 conftest$ac_exeext conftest.$ac_ext
13787 CFLAGS=$ac_wine_try_cflags_saved
13788 rm -f conftest.map
13790 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
13791 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
13792 if test "$ac_cv_c_ld_version_scripts" = "yes"
13793 then
13794 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13797 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
13798 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
13799 if test "${ac_cv_c_export_dynamic+set}" = set; then
13800 echo $ECHO_N "(cached) $ECHO_C" >&6
13801 else
13802 ac_wine_try_cflags_saved=$CFLAGS
13803 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13804 cat >conftest.$ac_ext <<_ACEOF
13805 /* confdefs.h. */
13806 _ACEOF
13807 cat confdefs.h >>conftest.$ac_ext
13808 cat >>conftest.$ac_ext <<_ACEOF
13809 /* end confdefs.h. */
13812 main ()
13816 return 0;
13818 _ACEOF
13819 rm -f conftest.$ac_objext conftest$ac_exeext
13820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13821 (eval $ac_link) 2>conftest.er1
13822 ac_status=$?
13823 grep -v '^ *+' conftest.er1 >conftest.err
13824 rm -f conftest.er1
13825 cat conftest.err >&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); } &&
13828 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13830 (eval $ac_try) 2>&5
13831 ac_status=$?
13832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13833 (exit $ac_status); }; } &&
13834 { ac_try='test -s conftest$ac_exeext'
13835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13836 (eval $ac_try) 2>&5
13837 ac_status=$?
13838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839 (exit $ac_status); }; }; then
13840 ac_cv_c_export_dynamic="yes"
13841 else
13842 echo "$as_me: failed program was:" >&5
13843 sed 's/^/| /' conftest.$ac_ext >&5
13845 ac_cv_c_export_dynamic="no"
13847 rm -f conftest.err conftest.$ac_objext \
13848 conftest$ac_exeext conftest.$ac_ext
13849 CFLAGS=$ac_wine_try_cflags_saved
13851 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
13852 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
13853 if test "$ac_cv_c_export_dynamic" = "yes"
13854 then
13855 LDEXECFLAGS="-Wl,--export-dynamic"
13859 case $host_cpu in
13860 *i[3456789]86*)
13861 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x77f00000" >&5
13862 echo $ECHO_N "checking whether we can relocate the executable to 0x77f00000... $ECHO_C" >&6
13863 if test "${ac_cv_ld_reloc_exec+set}" = set; then
13864 echo $ECHO_N "(cached) $ECHO_C" >&6
13865 else
13866 ac_wine_try_cflags_saved=$CFLAGS
13867 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x77f00400"
13868 cat >conftest.$ac_ext <<_ACEOF
13869 /* confdefs.h. */
13870 _ACEOF
13871 cat confdefs.h >>conftest.$ac_ext
13872 cat >>conftest.$ac_ext <<_ACEOF
13873 /* end confdefs.h. */
13876 main ()
13880 return 0;
13882 _ACEOF
13883 rm -f conftest.$ac_objext conftest$ac_exeext
13884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13885 (eval $ac_link) 2>conftest.er1
13886 ac_status=$?
13887 grep -v '^ *+' conftest.er1 >conftest.err
13888 rm -f conftest.er1
13889 cat conftest.err >&5
13890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13891 (exit $ac_status); } &&
13892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13894 (eval $ac_try) 2>&5
13895 ac_status=$?
13896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13897 (exit $ac_status); }; } &&
13898 { ac_try='test -s conftest$ac_exeext'
13899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13900 (eval $ac_try) 2>&5
13901 ac_status=$?
13902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13903 (exit $ac_status); }; }; then
13904 ac_cv_ld_reloc_exec="yes"
13905 else
13906 echo "$as_me: failed program was:" >&5
13907 sed 's/^/| /' conftest.$ac_ext >&5
13909 ac_cv_ld_reloc_exec="no"
13911 rm -f conftest.err conftest.$ac_objext \
13912 conftest$ac_exeext conftest.$ac_ext
13913 CFLAGS=$ac_wine_try_cflags_saved
13915 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
13916 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
13917 if test "$ac_cv_ld_reloc_exec" = "yes"
13918 then
13919 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x77f00400"
13922 esac
13924 else
13925 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13926 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
13927 if test "${ac_cv_c_dll_unixware+set}" = set; then
13928 echo $ECHO_N "(cached) $ECHO_C" >&6
13929 else
13930 ac_wine_try_cflags_saved=$CFLAGS
13931 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13932 cat >conftest.$ac_ext <<_ACEOF
13933 void myfunc() {}
13934 _ACEOF
13935 rm -f conftest.$ac_objext conftest$ac_exeext
13936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13937 (eval $ac_link) 2>conftest.er1
13938 ac_status=$?
13939 grep -v '^ *+' conftest.er1 >conftest.err
13940 rm -f conftest.er1
13941 cat conftest.err >&5
13942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13943 (exit $ac_status); } &&
13944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13946 (eval $ac_try) 2>&5
13947 ac_status=$?
13948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13949 (exit $ac_status); }; } &&
13950 { ac_try='test -s conftest$ac_exeext'
13951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13952 (eval $ac_try) 2>&5
13953 ac_status=$?
13954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13955 (exit $ac_status); }; }; then
13956 ac_cv_c_dll_unixware="yes"
13957 else
13958 echo "$as_me: failed program was:" >&5
13959 sed 's/^/| /' conftest.$ac_ext >&5
13961 ac_cv_c_dll_unixware="no"
13963 rm -f conftest.err conftest.$ac_objext \
13964 conftest$ac_exeext conftest.$ac_ext
13965 CFLAGS=$ac_wine_try_cflags_saved
13967 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13968 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
13969 if test "$ac_cv_c_dll_unixware" = "yes"
13970 then
13971 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13972 LDDLLFLAGS="-Wl,-G,-B,symbolic"
13974 else
13975 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
13976 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
13977 if test "${ac_cv_c_dll_macho+set}" = set; then
13978 echo $ECHO_N "(cached) $ECHO_C" >&6
13979 else
13980 ac_wine_try_cflags_saved=$CFLAGS
13981 CFLAGS="$CFLAGS -bundle"
13982 cat >conftest.$ac_ext <<_ACEOF
13983 void myfunc() {}
13984 _ACEOF
13985 rm -f conftest.$ac_objext conftest$ac_exeext
13986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13987 (eval $ac_link) 2>conftest.er1
13988 ac_status=$?
13989 grep -v '^ *+' conftest.er1 >conftest.err
13990 rm -f conftest.er1
13991 cat conftest.err >&5
13992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13993 (exit $ac_status); } &&
13994 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13996 (eval $ac_try) 2>&5
13997 ac_status=$?
13998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13999 (exit $ac_status); }; } &&
14000 { ac_try='test -s conftest$ac_exeext'
14001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14002 (eval $ac_try) 2>&5
14003 ac_status=$?
14004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14005 (exit $ac_status); }; }; then
14006 ac_cv_c_dll_macho="yes"
14007 else
14008 echo "$as_me: failed program was:" >&5
14009 sed 's/^/| /' conftest.$ac_ext >&5
14011 ac_cv_c_dll_macho="no"
14013 rm -f conftest.err conftest.$ac_objext \
14014 conftest$ac_exeext conftest.$ac_ext
14015 CFLAGS=$ac_wine_try_cflags_saved
14017 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
14018 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
14019 if test "$ac_cv_c_dll_macho" = "yes"
14020 then
14021 LIBEXT="dylib"
14022 LDDLLFLAGS="-bundle -flat_namespace -undefined suppress -read_only_relocs warning"
14023 LDSHARED="\$(CC) -dynamiclib"
14024 CFLAGS="$CFLAGS -ffixed-r13 -no-cpp-precomp"
14025 STRIP="$STRIP -u -r"
14026 LDEXECFLAGS="-seg1addr 0x120000"
14028 LDLIBWINEFLAGS="-seg1addr 0x140000"
14030 COREFOUNDATIONLIB="-framework CoreFoundation"
14032 IOKITLIB="-framework IOKit"
14034 IOKITLIB="$IOKITLIB $COREFOUNDATIONLIB"
14035 else
14036 echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
14037 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6
14038 if test "${ac_cv_c_dll_hpux+set}" = set; then
14039 echo $ECHO_N "(cached) $ECHO_C" >&6
14040 else
14041 ac_wine_try_cflags_saved=$CFLAGS
14042 CFLAGS="$CFLAGS -shared"
14043 cat >conftest.$ac_ext <<_ACEOF
14044 void myfunc() {}
14045 _ACEOF
14046 rm -f conftest.$ac_objext conftest$ac_exeext
14047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14048 (eval $ac_link) 2>conftest.er1
14049 ac_status=$?
14050 grep -v '^ *+' conftest.er1 >conftest.err
14051 rm -f conftest.er1
14052 cat conftest.err >&5
14053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14054 (exit $ac_status); } &&
14055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14057 (eval $ac_try) 2>&5
14058 ac_status=$?
14059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14060 (exit $ac_status); }; } &&
14061 { ac_try='test -s conftest$ac_exeext'
14062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14063 (eval $ac_try) 2>&5
14064 ac_status=$?
14065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066 (exit $ac_status); }; }; then
14067 ac_cv_c_dll_hpux="yes"
14068 else
14069 echo "$as_me: failed program was:" >&5
14070 sed 's/^/| /' conftest.$ac_ext >&5
14072 ac_cv_c_dll_hpux="no"
14074 rm -f conftest.err conftest.$ac_objext \
14075 conftest$ac_exeext conftest.$ac_ext
14076 CFLAGS=$ac_wine_try_cflags_saved
14078 echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
14079 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6
14080 if test "$ac_cv_c_dll_hpux" = "yes"
14081 then
14082 LIBEXT="sl"
14083 DLLEXT=".sl"
14084 LDDLLFLAGS="-shared -fPIC"
14085 LDSHARED="\$(CC) -shared"
14092 CROSSTEST=""
14094 if test "$cross_compiling" = "no"
14095 then
14096 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
14098 # Extract the first word of "$ac_prog", so it can be a program name with args.
14099 set dummy $ac_prog; ac_word=$2
14100 echo "$as_me:$LINENO: checking for $ac_word" >&5
14101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14102 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14103 echo $ECHO_N "(cached) $ECHO_C" >&6
14104 else
14105 if test -n "$CROSSCC"; then
14106 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
14107 else
14108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14109 for as_dir in $PATH
14111 IFS=$as_save_IFS
14112 test -z "$as_dir" && as_dir=.
14113 for ac_exec_ext in '' $ac_executable_extensions; do
14114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14115 ac_cv_prog_CROSSCC="$ac_prog"
14116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14117 break 2
14119 done
14120 done
14124 CROSSCC=$ac_cv_prog_CROSSCC
14125 if test -n "$CROSSCC"; then
14126 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14127 echo "${ECHO_T}$CROSSCC" >&6
14128 else
14129 echo "$as_me:$LINENO: result: no" >&5
14130 echo "${ECHO_T}no" >&6
14133 test -n "$CROSSCC" && break
14134 done
14135 test -n "$CROSSCC" || CROSSCC="false"
14137 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14139 # Extract the first word of "$ac_prog", so it can be a program name with args.
14140 set dummy $ac_prog; ac_word=$2
14141 echo "$as_me:$LINENO: checking for $ac_word" >&5
14142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14143 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14144 echo $ECHO_N "(cached) $ECHO_C" >&6
14145 else
14146 if test -n "$DLLTOOL"; then
14147 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14148 else
14149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14150 for as_dir in $PATH
14152 IFS=$as_save_IFS
14153 test -z "$as_dir" && as_dir=.
14154 for ac_exec_ext in '' $ac_executable_extensions; do
14155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14156 ac_cv_prog_DLLTOOL="$ac_prog"
14157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14158 break 2
14160 done
14161 done
14165 DLLTOOL=$ac_cv_prog_DLLTOOL
14166 if test -n "$DLLTOOL"; then
14167 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14168 echo "${ECHO_T}$DLLTOOL" >&6
14169 else
14170 echo "$as_me:$LINENO: result: no" >&5
14171 echo "${ECHO_T}no" >&6
14174 test -n "$DLLTOOL" && break
14175 done
14176 test -n "$DLLTOOL" || DLLTOOL="false"
14178 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
14180 # Extract the first word of "$ac_prog", so it can be a program name with args.
14181 set dummy $ac_prog; ac_word=$2
14182 echo "$as_me:$LINENO: checking for $ac_word" >&5
14183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14184 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14185 echo $ECHO_N "(cached) $ECHO_C" >&6
14186 else
14187 if test -n "$CROSSWINDRES"; then
14188 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14189 else
14190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14191 for as_dir in $PATH
14193 IFS=$as_save_IFS
14194 test -z "$as_dir" && as_dir=.
14195 for ac_exec_ext in '' $ac_executable_extensions; do
14196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14197 ac_cv_prog_CROSSWINDRES="$ac_prog"
14198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14199 break 2
14201 done
14202 done
14206 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14207 if test -n "$CROSSWINDRES"; then
14208 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14209 echo "${ECHO_T}$CROSSWINDRES" >&6
14210 else
14211 echo "$as_me:$LINENO: result: no" >&5
14212 echo "${ECHO_T}no" >&6
14215 test -n "$CROSSWINDRES" && break
14216 done
14217 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14219 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14222 esac
14224 if test "$LIBEXT" = "a"; then
14225 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14226 It is currently not possible to build Wine without shared library
14227 (.so) support to allow transparent switch between .so and .dll files.
14228 If you are using Linux, you will need a newer binutils.
14229 " >&5
14230 echo "$as_me: error: could not find a way to build shared libraries.
14231 It is currently not possible to build Wine without shared library
14232 (.so) support to allow transparent switch between .so and .dll files.
14233 If you are using Linux, you will need a newer binutils.
14234 " >&2;}
14235 { (exit 1); exit 1; }; }
14238 case $build_os in
14239 cygwin*|mingw32*)
14240 LDPATH="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14242 darwin*|macosx*)
14243 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14246 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14248 esac
14250 case $host_os in
14251 mingw32*)
14252 CRTLIBS="-lmsvcrt"
14254 SOCKETLIBS="-lws2_32"
14257 esac
14259 case $host_os in
14260 linux*)
14261 case $host_cpu in
14262 *i[3456789]86*) WINE_BINARIES="wine-glibc wine-kthread wine-pthread wine-preloader"
14264 *) WINE_BINARIES="wine-glibc wine-kthread wine-pthread"
14266 esac
14267 MAIN_BINARY="wine-glibc"
14270 darwin*)
14271 WINE_BINARIES="wine-pthread"
14273 MAIN_BINARY="wine-pthread"
14277 WINE_BINARIES="wine-kthread"
14279 MAIN_BINARY="wine-kthread"
14282 esac
14285 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14286 then
14287 # Extract the first word of "ldd", so it can be a program name with args.
14288 set dummy ldd; ac_word=$2
14289 echo "$as_me:$LINENO: checking for $ac_word" >&5
14290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14291 if test "${ac_cv_path_LDD+set}" = set; then
14292 echo $ECHO_N "(cached) $ECHO_C" >&6
14293 else
14294 case $LDD in
14295 [\\/]* | ?:[\\/]*)
14296 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14300 as_dummy="/sbin:/usr/sbin:$PATH"
14301 for as_dir in $as_dummy
14303 IFS=$as_save_IFS
14304 test -z "$as_dir" && as_dir=.
14305 for ac_exec_ext in '' $ac_executable_extensions; do
14306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14307 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14309 break 2
14311 done
14312 done
14314 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14316 esac
14318 LDD=$ac_cv_path_LDD
14320 if test -n "$LDD"; then
14321 echo "$as_me:$LINENO: result: $LDD" >&5
14322 echo "${ECHO_T}$LDD" >&6
14323 else
14324 echo "$as_me:$LINENO: result: no" >&5
14325 echo "${ECHO_T}no" >&6
14329 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14330 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14331 if test "${ac_cv_lib_soname_X11+set}" = set; then
14332 echo $ECHO_N "(cached) $ECHO_C" >&6
14333 else
14334 ac_get_soname_save_LIBS=$LIBS
14335 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14336 cat >conftest.$ac_ext <<_ACEOF
14337 /* confdefs.h. */
14338 _ACEOF
14339 cat confdefs.h >>conftest.$ac_ext
14340 cat >>conftest.$ac_ext <<_ACEOF
14341 /* end confdefs.h. */
14343 /* Override any gcc2 internal prototype to avoid an error. */
14344 #ifdef __cplusplus
14345 extern "C"
14346 #endif
14347 /* We use char because int might match the return type of a gcc2
14348 builtin and then its argument prototype would still apply. */
14349 char XCreateWindow ();
14351 main ()
14353 XCreateWindow ();
14355 return 0;
14357 _ACEOF
14358 rm -f conftest.$ac_objext conftest$ac_exeext
14359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14360 (eval $ac_link) 2>conftest.er1
14361 ac_status=$?
14362 grep -v '^ *+' conftest.er1 >conftest.err
14363 rm -f conftest.er1
14364 cat conftest.err >&5
14365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366 (exit $ac_status); } &&
14367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14369 (eval $ac_try) 2>&5
14370 ac_status=$?
14371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372 (exit $ac_status); }; } &&
14373 { ac_try='test -s conftest$ac_exeext'
14374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14375 (eval $ac_try) 2>&5
14376 ac_status=$?
14377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14378 (exit $ac_status); }; }; then
14379 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"`
14380 if test "x$ac_cv_lib_soname_X11" = "x"
14381 then
14382 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14384 else
14385 echo "$as_me: failed program was:" >&5
14386 sed 's/^/| /' conftest.$ac_ext >&5
14388 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14390 rm -f conftest.err conftest.$ac_objext \
14391 conftest$ac_exeext conftest.$ac_ext
14392 LIBS=$ac_get_soname_save_LIBS
14394 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14395 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14396 if test "x$ac_cv_lib_soname_X11" != xNONE
14397 then
14398 cat >>confdefs.h <<_ACEOF
14399 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14400 _ACEOF
14403 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14404 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14405 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14406 echo $ECHO_N "(cached) $ECHO_C" >&6
14407 else
14408 ac_get_soname_save_LIBS=$LIBS
14409 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14410 cat >conftest.$ac_ext <<_ACEOF
14411 /* confdefs.h. */
14412 _ACEOF
14413 cat confdefs.h >>conftest.$ac_ext
14414 cat >>conftest.$ac_ext <<_ACEOF
14415 /* end confdefs.h. */
14417 /* Override any gcc2 internal prototype to avoid an error. */
14418 #ifdef __cplusplus
14419 extern "C"
14420 #endif
14421 /* We use char because int might match the return type of a gcc2
14422 builtin and then its argument prototype would still apply. */
14423 char XextCreateExtension ();
14425 main ()
14427 XextCreateExtension ();
14429 return 0;
14431 _ACEOF
14432 rm -f conftest.$ac_objext conftest$ac_exeext
14433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14434 (eval $ac_link) 2>conftest.er1
14435 ac_status=$?
14436 grep -v '^ *+' conftest.er1 >conftest.err
14437 rm -f conftest.er1
14438 cat conftest.err >&5
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 (exit $ac_status); } &&
14441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14443 (eval $ac_try) 2>&5
14444 ac_status=$?
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); }; } &&
14447 { ac_try='test -s conftest$ac_exeext'
14448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14449 (eval $ac_try) 2>&5
14450 ac_status=$?
14451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14452 (exit $ac_status); }; }; then
14453 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"`
14454 if test "x$ac_cv_lib_soname_Xext" = "x"
14455 then
14456 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14458 else
14459 echo "$as_me: failed program was:" >&5
14460 sed 's/^/| /' conftest.$ac_ext >&5
14462 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14464 rm -f conftest.err conftest.$ac_objext \
14465 conftest$ac_exeext conftest.$ac_ext
14466 LIBS=$ac_get_soname_save_LIBS
14468 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14469 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14470 if test "x$ac_cv_lib_soname_Xext" != xNONE
14471 then
14472 cat >>confdefs.h <<_ACEOF
14473 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14474 _ACEOF
14477 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14478 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14479 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14480 echo $ECHO_N "(cached) $ECHO_C" >&6
14481 else
14482 ac_get_soname_save_LIBS=$LIBS
14483 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14484 cat >conftest.$ac_ext <<_ACEOF
14485 /* confdefs.h. */
14486 _ACEOF
14487 cat confdefs.h >>conftest.$ac_ext
14488 cat >>conftest.$ac_ext <<_ACEOF
14489 /* end confdefs.h. */
14491 /* Override any gcc2 internal prototype to avoid an error. */
14492 #ifdef __cplusplus
14493 extern "C"
14494 #endif
14495 /* We use char because int might match the return type of a gcc2
14496 builtin and then its argument prototype would still apply. */
14497 char XOpenDevice ();
14499 main ()
14501 XOpenDevice ();
14503 return 0;
14505 _ACEOF
14506 rm -f conftest.$ac_objext conftest$ac_exeext
14507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14508 (eval $ac_link) 2>conftest.er1
14509 ac_status=$?
14510 grep -v '^ *+' conftest.er1 >conftest.err
14511 rm -f conftest.er1
14512 cat conftest.err >&5
14513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14514 (exit $ac_status); } &&
14515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14517 (eval $ac_try) 2>&5
14518 ac_status=$?
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); }; } &&
14521 { ac_try='test -s conftest$ac_exeext'
14522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14523 (eval $ac_try) 2>&5
14524 ac_status=$?
14525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14526 (exit $ac_status); }; }; then
14527 ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"`
14528 if test "x$ac_cv_lib_soname_Xi" = "x"
14529 then
14530 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14532 else
14533 echo "$as_me: failed program was:" >&5
14534 sed 's/^/| /' conftest.$ac_ext >&5
14536 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14538 rm -f conftest.err conftest.$ac_objext \
14539 conftest$ac_exeext conftest.$ac_ext
14540 LIBS=$ac_get_soname_save_LIBS
14542 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14543 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14544 if test "x$ac_cv_lib_soname_Xi" != xNONE
14545 then
14546 cat >>confdefs.h <<_ACEOF
14547 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14548 _ACEOF
14551 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14552 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14553 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14554 echo $ECHO_N "(cached) $ECHO_C" >&6
14555 else
14556 ac_get_soname_save_LIBS=$LIBS
14557 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14558 cat >conftest.$ac_ext <<_ACEOF
14559 /* confdefs.h. */
14560 _ACEOF
14561 cat confdefs.h >>conftest.$ac_ext
14562 cat >>conftest.$ac_ext <<_ACEOF
14563 /* end confdefs.h. */
14565 /* Override any gcc2 internal prototype to avoid an error. */
14566 #ifdef __cplusplus
14567 extern "C"
14568 #endif
14569 /* We use char because int might match the return type of a gcc2
14570 builtin and then its argument prototype would still apply. */
14571 char XRenderQueryExtension ();
14573 main ()
14575 XRenderQueryExtension ();
14577 return 0;
14579 _ACEOF
14580 rm -f conftest.$ac_objext conftest$ac_exeext
14581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14582 (eval $ac_link) 2>conftest.er1
14583 ac_status=$?
14584 grep -v '^ *+' conftest.er1 >conftest.err
14585 rm -f conftest.er1
14586 cat conftest.err >&5
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 (exit $ac_status); } &&
14589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14591 (eval $ac_try) 2>&5
14592 ac_status=$?
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); }; } &&
14595 { ac_try='test -s conftest$ac_exeext'
14596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14597 (eval $ac_try) 2>&5
14598 ac_status=$?
14599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14600 (exit $ac_status); }; }; then
14601 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"`
14602 if test "x$ac_cv_lib_soname_Xrender" = "x"
14603 then
14604 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14606 else
14607 echo "$as_me: failed program was:" >&5
14608 sed 's/^/| /' conftest.$ac_ext >&5
14610 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14612 rm -f conftest.err conftest.$ac_objext \
14613 conftest$ac_exeext conftest.$ac_ext
14614 LIBS=$ac_get_soname_save_LIBS
14616 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14617 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14618 if test "x$ac_cv_lib_soname_Xrender" != xNONE
14619 then
14620 cat >>confdefs.h <<_ACEOF
14621 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14622 _ACEOF
14625 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14626 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
14627 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14628 echo $ECHO_N "(cached) $ECHO_C" >&6
14629 else
14630 ac_get_soname_save_LIBS=$LIBS
14631 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14632 cat >conftest.$ac_ext <<_ACEOF
14633 /* confdefs.h. */
14634 _ACEOF
14635 cat confdefs.h >>conftest.$ac_ext
14636 cat >>conftest.$ac_ext <<_ACEOF
14637 /* end confdefs.h. */
14639 /* Override any gcc2 internal prototype to avoid an error. */
14640 #ifdef __cplusplus
14641 extern "C"
14642 #endif
14643 /* We use char because int might match the return type of a gcc2
14644 builtin and then its argument prototype would still apply. */
14645 char XRRQueryExtension ();
14647 main ()
14649 XRRQueryExtension ();
14651 return 0;
14653 _ACEOF
14654 rm -f conftest.$ac_objext conftest$ac_exeext
14655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14656 (eval $ac_link) 2>conftest.er1
14657 ac_status=$?
14658 grep -v '^ *+' conftest.er1 >conftest.err
14659 rm -f conftest.er1
14660 cat conftest.err >&5
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); } &&
14663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14665 (eval $ac_try) 2>&5
14666 ac_status=$?
14667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14668 (exit $ac_status); }; } &&
14669 { ac_try='test -s conftest$ac_exeext'
14670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14671 (eval $ac_try) 2>&5
14672 ac_status=$?
14673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14674 (exit $ac_status); }; }; then
14675 ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"`
14676 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14677 then
14678 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14680 else
14681 echo "$as_me: failed program was:" >&5
14682 sed 's/^/| /' conftest.$ac_ext >&5
14684 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14686 rm -f conftest.err conftest.$ac_objext \
14687 conftest$ac_exeext conftest.$ac_ext
14688 LIBS=$ac_get_soname_save_LIBS
14690 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14691 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
14692 if test "x$ac_cv_lib_soname_Xrandr" != xNONE
14693 then
14694 cat >>confdefs.h <<_ACEOF
14695 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14696 _ACEOF
14699 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14700 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14701 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14702 echo $ECHO_N "(cached) $ECHO_C" >&6
14703 else
14704 ac_get_soname_save_LIBS=$LIBS
14705 LIBS="-lfreetype $X_LIBS $LIBS"
14706 cat >conftest.$ac_ext <<_ACEOF
14707 /* confdefs.h. */
14708 _ACEOF
14709 cat confdefs.h >>conftest.$ac_ext
14710 cat >>conftest.$ac_ext <<_ACEOF
14711 /* end confdefs.h. */
14713 /* Override any gcc2 internal prototype to avoid an error. */
14714 #ifdef __cplusplus
14715 extern "C"
14716 #endif
14717 /* We use char because int might match the return type of a gcc2
14718 builtin and then its argument prototype would still apply. */
14719 char FT_Init_FreeType ();
14721 main ()
14723 FT_Init_FreeType ();
14725 return 0;
14727 _ACEOF
14728 rm -f conftest.$ac_objext conftest$ac_exeext
14729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14730 (eval $ac_link) 2>conftest.er1
14731 ac_status=$?
14732 grep -v '^ *+' conftest.er1 >conftest.err
14733 rm -f conftest.er1
14734 cat conftest.err >&5
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); } &&
14737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14740 ac_status=$?
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; } &&
14743 { ac_try='test -s conftest$ac_exeext'
14744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14745 (eval $ac_try) 2>&5
14746 ac_status=$?
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); }; }; then
14749 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"`
14750 if test "x$ac_cv_lib_soname_freetype" = "x"
14751 then
14752 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14754 else
14755 echo "$as_me: failed program was:" >&5
14756 sed 's/^/| /' conftest.$ac_ext >&5
14758 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14760 rm -f conftest.err conftest.$ac_objext \
14761 conftest$ac_exeext conftest.$ac_ext
14762 LIBS=$ac_get_soname_save_LIBS
14764 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14765 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
14766 if test "x$ac_cv_lib_soname_freetype" != xNONE
14767 then
14768 cat >>confdefs.h <<_ACEOF
14769 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14770 _ACEOF
14773 echo "$as_me:$LINENO: checking for -lGL soname" >&5
14774 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
14775 if test "${ac_cv_lib_soname_GL+set}" = set; then
14776 echo $ECHO_N "(cached) $ECHO_C" >&6
14777 else
14778 ac_get_soname_save_LIBS=$LIBS
14779 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14780 cat >conftest.$ac_ext <<_ACEOF
14781 /* confdefs.h. */
14782 _ACEOF
14783 cat confdefs.h >>conftest.$ac_ext
14784 cat >>conftest.$ac_ext <<_ACEOF
14785 /* end confdefs.h. */
14787 /* Override any gcc2 internal prototype to avoid an error. */
14788 #ifdef __cplusplus
14789 extern "C"
14790 #endif
14791 /* We use char because int might match the return type of a gcc2
14792 builtin and then its argument prototype would still apply. */
14793 char glXQueryExtension ();
14795 main ()
14797 glXQueryExtension ();
14799 return 0;
14801 _ACEOF
14802 rm -f conftest.$ac_objext conftest$ac_exeext
14803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14804 (eval $ac_link) 2>conftest.er1
14805 ac_status=$?
14806 grep -v '^ *+' conftest.er1 >conftest.err
14807 rm -f conftest.er1
14808 cat conftest.err >&5
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); } &&
14811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14813 (eval $ac_try) 2>&5
14814 ac_status=$?
14815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816 (exit $ac_status); }; } &&
14817 { ac_try='test -s conftest$ac_exeext'
14818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14819 (eval $ac_try) 2>&5
14820 ac_status=$?
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); }; }; then
14823 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"`
14824 if test "x$ac_cv_lib_soname_GL" = "x"
14825 then
14826 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14828 else
14829 echo "$as_me: failed program was:" >&5
14830 sed 's/^/| /' conftest.$ac_ext >&5
14832 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14834 rm -f conftest.err conftest.$ac_objext \
14835 conftest$ac_exeext conftest.$ac_ext
14836 LIBS=$ac_get_soname_save_LIBS
14838 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14839 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
14840 if test "x$ac_cv_lib_soname_GL" != xNONE
14841 then
14842 cat >>confdefs.h <<_ACEOF
14843 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14844 _ACEOF
14847 echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14848 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6
14849 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14850 echo $ECHO_N "(cached) $ECHO_C" >&6
14851 else
14852 ac_get_soname_save_LIBS=$LIBS
14853 LIBS="-ltxc_dxtn $LIBS"
14854 cat >conftest.$ac_ext <<_ACEOF
14855 /* confdefs.h. */
14856 _ACEOF
14857 cat confdefs.h >>conftest.$ac_ext
14858 cat >>conftest.$ac_ext <<_ACEOF
14859 /* end confdefs.h. */
14861 /* Override any gcc2 internal prototype to avoid an error. */
14862 #ifdef __cplusplus
14863 extern "C"
14864 #endif
14865 /* We use char because int might match the return type of a gcc2
14866 builtin and then its argument prototype would still apply. */
14867 char fetch_2d_texel_rgba_dxt1 ();
14869 main ()
14871 fetch_2d_texel_rgba_dxt1 ();
14873 return 0;
14875 _ACEOF
14876 rm -f conftest.$ac_objext conftest$ac_exeext
14877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14878 (eval $ac_link) 2>conftest.er1
14879 ac_status=$?
14880 grep -v '^ *+' conftest.er1 >conftest.err
14881 rm -f conftest.er1
14882 cat conftest.err >&5
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); } &&
14885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14887 (eval $ac_try) 2>&5
14888 ac_status=$?
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); }; } &&
14891 { ac_try='test -s conftest$ac_exeext'
14892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14893 (eval $ac_try) 2>&5
14894 ac_status=$?
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); }; }; then
14897 ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"`
14898 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
14899 then
14900 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14902 else
14903 echo "$as_me: failed program was:" >&5
14904 sed 's/^/| /' conftest.$ac_ext >&5
14906 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14908 rm -f conftest.err conftest.$ac_objext \
14909 conftest$ac_exeext conftest.$ac_ext
14910 LIBS=$ac_get_soname_save_LIBS
14912 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
14913 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6
14914 if test "x$ac_cv_lib_soname_txc_dxtn" != xNONE
14915 then
14916 cat >>confdefs.h <<_ACEOF
14917 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
14918 _ACEOF
14921 echo "$as_me:$LINENO: checking for -lcups soname" >&5
14922 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
14923 if test "${ac_cv_lib_soname_cups+set}" = set; then
14924 echo $ECHO_N "(cached) $ECHO_C" >&6
14925 else
14926 ac_get_soname_save_LIBS=$LIBS
14927 LIBS="-lcups $LIBS"
14928 cat >conftest.$ac_ext <<_ACEOF
14929 /* confdefs.h. */
14930 _ACEOF
14931 cat confdefs.h >>conftest.$ac_ext
14932 cat >>conftest.$ac_ext <<_ACEOF
14933 /* end confdefs.h. */
14935 /* Override any gcc2 internal prototype to avoid an error. */
14936 #ifdef __cplusplus
14937 extern "C"
14938 #endif
14939 /* We use char because int might match the return type of a gcc2
14940 builtin and then its argument prototype would still apply. */
14941 char cupsGetDefault ();
14943 main ()
14945 cupsGetDefault ();
14947 return 0;
14949 _ACEOF
14950 rm -f conftest.$ac_objext conftest$ac_exeext
14951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14952 (eval $ac_link) 2>conftest.er1
14953 ac_status=$?
14954 grep -v '^ *+' conftest.er1 >conftest.err
14955 rm -f conftest.er1
14956 cat conftest.err >&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); } &&
14959 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14961 (eval $ac_try) 2>&5
14962 ac_status=$?
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; } &&
14965 { ac_try='test -s conftest$ac_exeext'
14966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14967 (eval $ac_try) 2>&5
14968 ac_status=$?
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; }; then
14971 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"`
14972 if test "x$ac_cv_lib_soname_cups" = "x"
14973 then
14974 ac_cv_lib_soname_cups="libcups.$LIBEXT"
14976 else
14977 echo "$as_me: failed program was:" >&5
14978 sed 's/^/| /' conftest.$ac_ext >&5
14980 ac_cv_lib_soname_cups="libcups.$LIBEXT"
14982 rm -f conftest.err conftest.$ac_objext \
14983 conftest$ac_exeext conftest.$ac_ext
14984 LIBS=$ac_get_soname_save_LIBS
14986 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14987 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
14988 if test "x$ac_cv_lib_soname_cups" != xNONE
14989 then
14990 cat >>confdefs.h <<_ACEOF
14991 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14992 _ACEOF
14995 echo "$as_me:$LINENO: checking for -ljack soname" >&5
14996 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
14997 if test "${ac_cv_lib_soname_jack+set}" = set; then
14998 echo $ECHO_N "(cached) $ECHO_C" >&6
14999 else
15000 ac_get_soname_save_LIBS=$LIBS
15001 LIBS="-ljack $LIBS"
15002 cat >conftest.$ac_ext <<_ACEOF
15003 /* confdefs.h. */
15004 _ACEOF
15005 cat confdefs.h >>conftest.$ac_ext
15006 cat >>conftest.$ac_ext <<_ACEOF
15007 /* end confdefs.h. */
15009 /* Override any gcc2 internal prototype to avoid an error. */
15010 #ifdef __cplusplus
15011 extern "C"
15012 #endif
15013 /* We use char because int might match the return type of a gcc2
15014 builtin and then its argument prototype would still apply. */
15015 char jack_client_new ();
15017 main ()
15019 jack_client_new ();
15021 return 0;
15023 _ACEOF
15024 rm -f conftest.$ac_objext conftest$ac_exeext
15025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15026 (eval $ac_link) 2>conftest.er1
15027 ac_status=$?
15028 grep -v '^ *+' conftest.er1 >conftest.err
15029 rm -f conftest.er1
15030 cat conftest.err >&5
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); } &&
15033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15035 (eval $ac_try) 2>&5
15036 ac_status=$?
15037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 (exit $ac_status); }; } &&
15039 { ac_try='test -s conftest$ac_exeext'
15040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15041 (eval $ac_try) 2>&5
15042 ac_status=$?
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); }; }; then
15045 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"`
15046 if test "x$ac_cv_lib_soname_jack" = "x"
15047 then
15048 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15050 else
15051 echo "$as_me: failed program was:" >&5
15052 sed 's/^/| /' conftest.$ac_ext >&5
15054 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15056 rm -f conftest.err conftest.$ac_objext \
15057 conftest$ac_exeext conftest.$ac_ext
15058 LIBS=$ac_get_soname_save_LIBS
15060 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15061 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15062 if test "x$ac_cv_lib_soname_jack" != xNONE
15063 then
15064 cat >>confdefs.h <<_ACEOF
15065 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15066 _ACEOF
15069 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15070 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15071 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15072 echo $ECHO_N "(cached) $ECHO_C" >&6
15073 else
15074 ac_get_soname_save_LIBS=$LIBS
15075 LIBS="-lfontconfig $LIBS"
15076 cat >conftest.$ac_ext <<_ACEOF
15077 /* confdefs.h. */
15078 _ACEOF
15079 cat confdefs.h >>conftest.$ac_ext
15080 cat >>conftest.$ac_ext <<_ACEOF
15081 /* end confdefs.h. */
15083 /* Override any gcc2 internal prototype to avoid an error. */
15084 #ifdef __cplusplus
15085 extern "C"
15086 #endif
15087 /* We use char because int might match the return type of a gcc2
15088 builtin and then its argument prototype would still apply. */
15089 char FcInit ();
15091 main ()
15093 FcInit ();
15095 return 0;
15097 _ACEOF
15098 rm -f conftest.$ac_objext conftest$ac_exeext
15099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15100 (eval $ac_link) 2>conftest.er1
15101 ac_status=$?
15102 grep -v '^ *+' conftest.er1 >conftest.err
15103 rm -f conftest.er1
15104 cat conftest.err >&5
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); } &&
15107 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15109 (eval $ac_try) 2>&5
15110 ac_status=$?
15111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15112 (exit $ac_status); }; } &&
15113 { ac_try='test -s conftest$ac_exeext'
15114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15115 (eval $ac_try) 2>&5
15116 ac_status=$?
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118 (exit $ac_status); }; }; then
15119 ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"`
15120 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15121 then
15122 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15124 else
15125 echo "$as_me: failed program was:" >&5
15126 sed 's/^/| /' conftest.$ac_ext >&5
15128 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15130 rm -f conftest.err conftest.$ac_objext \
15131 conftest$ac_exeext conftest.$ac_ext
15132 LIBS=$ac_get_soname_save_LIBS
15134 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15135 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15136 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
15137 then
15138 cat >>confdefs.h <<_ACEOF
15139 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15140 _ACEOF
15143 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15144 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15145 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15146 echo $ECHO_N "(cached) $ECHO_C" >&6
15147 else
15148 ac_get_soname_save_LIBS=$LIBS
15149 LIBS="-lssl $LIBS"
15150 cat >conftest.$ac_ext <<_ACEOF
15151 /* confdefs.h. */
15152 _ACEOF
15153 cat confdefs.h >>conftest.$ac_ext
15154 cat >>conftest.$ac_ext <<_ACEOF
15155 /* end confdefs.h. */
15157 /* Override any gcc2 internal prototype to avoid an error. */
15158 #ifdef __cplusplus
15159 extern "C"
15160 #endif
15161 /* We use char because int might match the return type of a gcc2
15162 builtin and then its argument prototype would still apply. */
15163 char SSL_library_init ();
15165 main ()
15167 SSL_library_init ();
15169 return 0;
15171 _ACEOF
15172 rm -f conftest.$ac_objext conftest$ac_exeext
15173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15174 (eval $ac_link) 2>conftest.er1
15175 ac_status=$?
15176 grep -v '^ *+' conftest.er1 >conftest.err
15177 rm -f conftest.er1
15178 cat conftest.err >&5
15179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180 (exit $ac_status); } &&
15181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15183 (eval $ac_try) 2>&5
15184 ac_status=$?
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); }; } &&
15187 { ac_try='test -s conftest$ac_exeext'
15188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15189 (eval $ac_try) 2>&5
15190 ac_status=$?
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); }; }; then
15193 ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"`
15194 if test "x$ac_cv_lib_soname_ssl" = "x"
15195 then
15196 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15198 else
15199 echo "$as_me: failed program was:" >&5
15200 sed 's/^/| /' conftest.$ac_ext >&5
15202 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15204 rm -f conftest.err conftest.$ac_objext \
15205 conftest$ac_exeext conftest.$ac_ext
15206 LIBS=$ac_get_soname_save_LIBS
15208 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15209 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15210 if test "x$ac_cv_lib_soname_ssl" != xNONE
15211 then
15212 cat >>confdefs.h <<_ACEOF
15213 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15214 _ACEOF
15217 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15218 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15219 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15220 echo $ECHO_N "(cached) $ECHO_C" >&6
15221 else
15222 ac_get_soname_save_LIBS=$LIBS
15223 LIBS="-lcrypto $LIBS"
15224 cat >conftest.$ac_ext <<_ACEOF
15225 /* confdefs.h. */
15226 _ACEOF
15227 cat confdefs.h >>conftest.$ac_ext
15228 cat >>conftest.$ac_ext <<_ACEOF
15229 /* end confdefs.h. */
15231 /* Override any gcc2 internal prototype to avoid an error. */
15232 #ifdef __cplusplus
15233 extern "C"
15234 #endif
15235 /* We use char because int might match the return type of a gcc2
15236 builtin and then its argument prototype would still apply. */
15237 char BIO_new_socket ();
15239 main ()
15241 BIO_new_socket ();
15243 return 0;
15245 _ACEOF
15246 rm -f conftest.$ac_objext conftest$ac_exeext
15247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15248 (eval $ac_link) 2>conftest.er1
15249 ac_status=$?
15250 grep -v '^ *+' conftest.er1 >conftest.err
15251 rm -f conftest.er1
15252 cat conftest.err >&5
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); } &&
15255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15257 (eval $ac_try) 2>&5
15258 ac_status=$?
15259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15260 (exit $ac_status); }; } &&
15261 { ac_try='test -s conftest$ac_exeext'
15262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15263 (eval $ac_try) 2>&5
15264 ac_status=$?
15265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15266 (exit $ac_status); }; }; then
15267 ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"`
15268 if test "x$ac_cv_lib_soname_crypto" = "x"
15269 then
15270 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15272 else
15273 echo "$as_me: failed program was:" >&5
15274 sed 's/^/| /' conftest.$ac_ext >&5
15276 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15278 rm -f conftest.err conftest.$ac_objext \
15279 conftest$ac_exeext conftest.$ac_ext
15280 LIBS=$ac_get_soname_save_LIBS
15282 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15283 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15284 if test "x$ac_cv_lib_soname_crypto" != xNONE
15285 then
15286 cat >>confdefs.h <<_ACEOF
15287 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15288 _ACEOF
15291 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15292 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15293 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15294 echo $ECHO_N "(cached) $ECHO_C" >&6
15295 else
15296 ac_get_soname_save_LIBS=$LIBS
15297 LIBS="-lncurses $LIBS"
15298 cat >conftest.$ac_ext <<_ACEOF
15299 /* confdefs.h. */
15300 _ACEOF
15301 cat confdefs.h >>conftest.$ac_ext
15302 cat >>conftest.$ac_ext <<_ACEOF
15303 /* end confdefs.h. */
15305 /* Override any gcc2 internal prototype to avoid an error. */
15306 #ifdef __cplusplus
15307 extern "C"
15308 #endif
15309 /* We use char because int might match the return type of a gcc2
15310 builtin and then its argument prototype would still apply. */
15311 char waddch ();
15313 main ()
15315 waddch ();
15317 return 0;
15319 _ACEOF
15320 rm -f conftest.$ac_objext conftest$ac_exeext
15321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15322 (eval $ac_link) 2>conftest.er1
15323 ac_status=$?
15324 grep -v '^ *+' conftest.er1 >conftest.err
15325 rm -f conftest.er1
15326 cat conftest.err >&5
15327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15328 (exit $ac_status); } &&
15329 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15331 (eval $ac_try) 2>&5
15332 ac_status=$?
15333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15334 (exit $ac_status); }; } &&
15335 { ac_try='test -s conftest$ac_exeext'
15336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15337 (eval $ac_try) 2>&5
15338 ac_status=$?
15339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15340 (exit $ac_status); }; }; then
15341 ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"`
15342 if test "x$ac_cv_lib_soname_ncurses" = "x"
15343 then
15344 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15346 else
15347 echo "$as_me: failed program was:" >&5
15348 sed 's/^/| /' conftest.$ac_ext >&5
15350 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15352 rm -f conftest.err conftest.$ac_objext \
15353 conftest$ac_exeext conftest.$ac_ext
15354 LIBS=$ac_get_soname_save_LIBS
15356 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15357 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15358 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15359 then
15360 cat >>confdefs.h <<_ACEOF
15361 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15362 _ACEOF
15365 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15366 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15367 if test "${ac_cv_lib_soname_curses+set}" = set; then
15368 echo $ECHO_N "(cached) $ECHO_C" >&6
15369 else
15370 ac_get_soname_save_LIBS=$LIBS
15371 LIBS="-lcurses $LIBS"
15372 cat >conftest.$ac_ext <<_ACEOF
15373 /* confdefs.h. */
15374 _ACEOF
15375 cat confdefs.h >>conftest.$ac_ext
15376 cat >>conftest.$ac_ext <<_ACEOF
15377 /* end confdefs.h. */
15379 /* Override any gcc2 internal prototype to avoid an error. */
15380 #ifdef __cplusplus
15381 extern "C"
15382 #endif
15383 /* We use char because int might match the return type of a gcc2
15384 builtin and then its argument prototype would still apply. */
15385 char waddch ();
15387 main ()
15389 waddch ();
15391 return 0;
15393 _ACEOF
15394 rm -f conftest.$ac_objext conftest$ac_exeext
15395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15396 (eval $ac_link) 2>conftest.er1
15397 ac_status=$?
15398 grep -v '^ *+' conftest.er1 >conftest.err
15399 rm -f conftest.er1
15400 cat conftest.err >&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); } &&
15403 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15405 (eval $ac_try) 2>&5
15406 ac_status=$?
15407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15408 (exit $ac_status); }; } &&
15409 { ac_try='test -s conftest$ac_exeext'
15410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15411 (eval $ac_try) 2>&5
15412 ac_status=$?
15413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15414 (exit $ac_status); }; }; then
15415 ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"`
15416 if test "x$ac_cv_lib_soname_curses" = "x"
15417 then
15418 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15420 else
15421 echo "$as_me: failed program was:" >&5
15422 sed 's/^/| /' conftest.$ac_ext >&5
15424 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15426 rm -f conftest.err conftest.$ac_objext \
15427 conftest$ac_exeext conftest.$ac_ext
15428 LIBS=$ac_get_soname_save_LIBS
15430 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15431 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15432 if test "x$ac_cv_lib_soname_curses" != xNONE
15433 then
15434 cat >>confdefs.h <<_ACEOF
15435 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15436 _ACEOF
15439 echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15440 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6
15441 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15442 echo $ECHO_N "(cached) $ECHO_C" >&6
15443 else
15444 ac_get_soname_save_LIBS=$LIBS
15445 LIBS="-ljpeg $LIBS"
15446 cat >conftest.$ac_ext <<_ACEOF
15447 /* confdefs.h. */
15448 _ACEOF
15449 cat confdefs.h >>conftest.$ac_ext
15450 cat >>conftest.$ac_ext <<_ACEOF
15451 /* end confdefs.h. */
15453 /* Override any gcc2 internal prototype to avoid an error. */
15454 #ifdef __cplusplus
15455 extern "C"
15456 #endif
15457 /* We use char because int might match the return type of a gcc2
15458 builtin and then its argument prototype would still apply. */
15459 char jpeg_start_decompress ();
15461 main ()
15463 jpeg_start_decompress ();
15465 return 0;
15467 _ACEOF
15468 rm -f conftest.$ac_objext conftest$ac_exeext
15469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15470 (eval $ac_link) 2>conftest.er1
15471 ac_status=$?
15472 grep -v '^ *+' conftest.er1 >conftest.err
15473 rm -f conftest.er1
15474 cat conftest.err >&5
15475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15476 (exit $ac_status); } &&
15477 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15479 (eval $ac_try) 2>&5
15480 ac_status=$?
15481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15482 (exit $ac_status); }; } &&
15483 { ac_try='test -s conftest$ac_exeext'
15484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15485 (eval $ac_try) 2>&5
15486 ac_status=$?
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); }; }; then
15489 ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"`
15490 if test "x$ac_cv_lib_soname_jpeg" = "x"
15491 then
15492 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15494 else
15495 echo "$as_me: failed program was:" >&5
15496 sed 's/^/| /' conftest.$ac_ext >&5
15498 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15500 rm -f conftest.err conftest.$ac_objext \
15501 conftest$ac_exeext conftest.$ac_ext
15502 LIBS=$ac_get_soname_save_LIBS
15504 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15505 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6
15506 if test "x$ac_cv_lib_soname_jpeg" != xNONE
15507 then
15508 cat >>confdefs.h <<_ACEOF
15509 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15510 _ACEOF
15513 echo "$as_me:$LINENO: checking for -lungif soname" >&5
15514 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6
15515 if test "${ac_cv_lib_soname_ungif+set}" = set; then
15516 echo $ECHO_N "(cached) $ECHO_C" >&6
15517 else
15518 ac_get_soname_save_LIBS=$LIBS
15519 LIBS="-lungif $LIBS"
15520 cat >conftest.$ac_ext <<_ACEOF
15521 /* confdefs.h. */
15522 _ACEOF
15523 cat confdefs.h >>conftest.$ac_ext
15524 cat >>conftest.$ac_ext <<_ACEOF
15525 /* end confdefs.h. */
15527 /* Override any gcc2 internal prototype to avoid an error. */
15528 #ifdef __cplusplus
15529 extern "C"
15530 #endif
15531 /* We use char because int might match the return type of a gcc2
15532 builtin and then its argument prototype would still apply. */
15533 char DGifOpen ();
15535 main ()
15537 DGifOpen ();
15539 return 0;
15541 _ACEOF
15542 rm -f conftest.$ac_objext conftest$ac_exeext
15543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15544 (eval $ac_link) 2>conftest.er1
15545 ac_status=$?
15546 grep -v '^ *+' conftest.er1 >conftest.err
15547 rm -f conftest.er1
15548 cat conftest.err >&5
15549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15550 (exit $ac_status); } &&
15551 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15553 (eval $ac_try) 2>&5
15554 ac_status=$?
15555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556 (exit $ac_status); }; } &&
15557 { ac_try='test -s conftest$ac_exeext'
15558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15559 (eval $ac_try) 2>&5
15560 ac_status=$?
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562 (exit $ac_status); }; }; then
15563 ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"`
15564 if test "x$ac_cv_lib_soname_ungif" = "x"
15565 then
15566 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
15568 else
15569 echo "$as_me: failed program was:" >&5
15570 sed 's/^/| /' conftest.$ac_ext >&5
15572 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
15574 rm -f conftest.err conftest.$ac_objext \
15575 conftest$ac_exeext conftest.$ac_ext
15576 LIBS=$ac_get_soname_save_LIBS
15578 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
15579 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6
15580 if test "x$ac_cv_lib_soname_ungif" != xNONE
15581 then
15582 cat >>confdefs.h <<_ACEOF
15583 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
15584 _ACEOF
15587 echo "$as_me:$LINENO: checking for -lgif soname" >&5
15588 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6
15589 if test "${ac_cv_lib_soname_gif+set}" = set; then
15590 echo $ECHO_N "(cached) $ECHO_C" >&6
15591 else
15592 ac_get_soname_save_LIBS=$LIBS
15593 LIBS="-lgif $LIBS"
15594 cat >conftest.$ac_ext <<_ACEOF
15595 /* confdefs.h. */
15596 _ACEOF
15597 cat confdefs.h >>conftest.$ac_ext
15598 cat >>conftest.$ac_ext <<_ACEOF
15599 /* end confdefs.h. */
15601 /* Override any gcc2 internal prototype to avoid an error. */
15602 #ifdef __cplusplus
15603 extern "C"
15604 #endif
15605 /* We use char because int might match the return type of a gcc2
15606 builtin and then its argument prototype would still apply. */
15607 char DGifOpen ();
15609 main ()
15611 DGifOpen ();
15613 return 0;
15615 _ACEOF
15616 rm -f conftest.$ac_objext conftest$ac_exeext
15617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15618 (eval $ac_link) 2>conftest.er1
15619 ac_status=$?
15620 grep -v '^ *+' conftest.er1 >conftest.err
15621 rm -f conftest.er1
15622 cat conftest.err >&5
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); } &&
15625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15627 (eval $ac_try) 2>&5
15628 ac_status=$?
15629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15630 (exit $ac_status); }; } &&
15631 { ac_try='test -s conftest$ac_exeext'
15632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15633 (eval $ac_try) 2>&5
15634 ac_status=$?
15635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15636 (exit $ac_status); }; }; then
15637 ac_cv_lib_soname_gif=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"`
15638 if test "x$ac_cv_lib_soname_gif" = "x"
15639 then
15640 ac_cv_lib_soname_gif="libgif.$LIBEXT"
15642 else
15643 echo "$as_me: failed program was:" >&5
15644 sed 's/^/| /' conftest.$ac_ext >&5
15646 ac_cv_lib_soname_gif="libgif.$LIBEXT"
15648 rm -f conftest.err conftest.$ac_objext \
15649 conftest$ac_exeext conftest.$ac_ext
15650 LIBS=$ac_get_soname_save_LIBS
15652 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
15653 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6
15654 if test "x$ac_cv_lib_soname_gif" != xNONE
15655 then
15656 cat >>confdefs.h <<_ACEOF
15657 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
15658 _ACEOF
15661 echo "$as_me:$LINENO: checking for -llcms soname" >&5
15662 echo $ECHO_N "checking for -llcms soname... $ECHO_C" >&6
15663 if test "${ac_cv_lib_soname_lcms+set}" = set; then
15664 echo $ECHO_N "(cached) $ECHO_C" >&6
15665 else
15666 ac_get_soname_save_LIBS=$LIBS
15667 LIBS="-llcms $LIBS"
15668 cat >conftest.$ac_ext <<_ACEOF
15669 /* confdefs.h. */
15670 _ACEOF
15671 cat confdefs.h >>conftest.$ac_ext
15672 cat >>conftest.$ac_ext <<_ACEOF
15673 /* end confdefs.h. */
15675 /* Override any gcc2 internal prototype to avoid an error. */
15676 #ifdef __cplusplus
15677 extern "C"
15678 #endif
15679 /* We use char because int might match the return type of a gcc2
15680 builtin and then its argument prototype would still apply. */
15681 char cmsOpenProfileFromFile ();
15683 main ()
15685 cmsOpenProfileFromFile ();
15687 return 0;
15689 _ACEOF
15690 rm -f conftest.$ac_objext conftest$ac_exeext
15691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15692 (eval $ac_link) 2>conftest.er1
15693 ac_status=$?
15694 grep -v '^ *+' conftest.er1 >conftest.err
15695 rm -f conftest.er1
15696 cat conftest.err >&5
15697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15698 (exit $ac_status); } &&
15699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15701 (eval $ac_try) 2>&5
15702 ac_status=$?
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); }; } &&
15705 { ac_try='test -s conftest$ac_exeext'
15706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15707 (eval $ac_try) 2>&5
15708 ac_status=$?
15709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15710 (exit $ac_status); }; }; then
15711 ac_cv_lib_soname_lcms=`$ac_cv_path_LDD conftest$ac_exeext | grep liblcms\\.$LIBEXT | sed "s/^.*\(liblcms\.$LIBEXT[^ ]*\).*$/\1/"`
15712 if test "x$ac_cv_lib_soname_lcms" = "x"
15713 then
15714 ac_cv_lib_soname_lcms="liblcms.$LIBEXT"
15716 else
15717 echo "$as_me: failed program was:" >&5
15718 sed 's/^/| /' conftest.$ac_ext >&5
15720 ac_cv_lib_soname_lcms="liblcms.$LIBEXT"
15722 rm -f conftest.err conftest.$ac_objext \
15723 conftest$ac_exeext conftest.$ac_ext
15724 LIBS=$ac_get_soname_save_LIBS
15726 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_lcms" >&5
15727 echo "${ECHO_T}$ac_cv_lib_soname_lcms" >&6
15728 if test "x$ac_cv_lib_soname_lcms" != xNONE
15729 then
15730 cat >>confdefs.h <<_ACEOF
15731 #define SONAME_LIBLCMS "$ac_cv_lib_soname_lcms"
15732 _ACEOF
15735 echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15736 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6
15737 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15738 echo $ECHO_N "(cached) $ECHO_C" >&6
15739 else
15740 ac_get_soname_save_LIBS=$LIBS
15741 LIBS="-lcapi20 $LIBS"
15742 cat >conftest.$ac_ext <<_ACEOF
15743 /* confdefs.h. */
15744 _ACEOF
15745 cat confdefs.h >>conftest.$ac_ext
15746 cat >>conftest.$ac_ext <<_ACEOF
15747 /* end confdefs.h. */
15749 /* Override any gcc2 internal prototype to avoid an error. */
15750 #ifdef __cplusplus
15751 extern "C"
15752 #endif
15753 /* We use char because int might match the return type of a gcc2
15754 builtin and then its argument prototype would still apply. */
15755 char capi20_isinstalled ();
15757 main ()
15759 capi20_isinstalled ();
15761 return 0;
15763 _ACEOF
15764 rm -f conftest.$ac_objext conftest$ac_exeext
15765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15766 (eval $ac_link) 2>conftest.er1
15767 ac_status=$?
15768 grep -v '^ *+' conftest.er1 >conftest.err
15769 rm -f conftest.er1
15770 cat conftest.err >&5
15771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15772 (exit $ac_status); } &&
15773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15775 (eval $ac_try) 2>&5
15776 ac_status=$?
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); }; } &&
15779 { ac_try='test -s conftest$ac_exeext'
15780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15781 (eval $ac_try) 2>&5
15782 ac_status=$?
15783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15784 (exit $ac_status); }; }; then
15785 ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.$LIBEXT | sed "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"`
15786 if test "x$ac_cv_lib_soname_capi20" = "x"
15787 then
15788 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15790 else
15791 echo "$as_me: failed program was:" >&5
15792 sed 's/^/| /' conftest.$ac_ext >&5
15794 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15796 rm -f conftest.err conftest.$ac_objext \
15797 conftest$ac_exeext conftest.$ac_ext
15798 LIBS=$ac_get_soname_save_LIBS
15800 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15801 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6
15802 if test "x$ac_cv_lib_soname_capi20" != xNONE
15803 then
15804 cat >>confdefs.h <<_ACEOF
15805 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15806 _ACEOF
15812 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15813 # for constant arguments. Useless!
15814 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15815 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15816 if test "${ac_cv_working_alloca_h+set}" = set; then
15817 echo $ECHO_N "(cached) $ECHO_C" >&6
15818 else
15819 cat >conftest.$ac_ext <<_ACEOF
15820 /* confdefs.h. */
15821 _ACEOF
15822 cat confdefs.h >>conftest.$ac_ext
15823 cat >>conftest.$ac_ext <<_ACEOF
15824 /* end confdefs.h. */
15825 #include <alloca.h>
15827 main ()
15829 char *p = (char *) alloca (2 * sizeof (int));
15831 return 0;
15833 _ACEOF
15834 rm -f conftest.$ac_objext conftest$ac_exeext
15835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15836 (eval $ac_link) 2>conftest.er1
15837 ac_status=$?
15838 grep -v '^ *+' conftest.er1 >conftest.err
15839 rm -f conftest.er1
15840 cat conftest.err >&5
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); } &&
15843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15845 (eval $ac_try) 2>&5
15846 ac_status=$?
15847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848 (exit $ac_status); }; } &&
15849 { ac_try='test -s conftest$ac_exeext'
15850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15851 (eval $ac_try) 2>&5
15852 ac_status=$?
15853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15854 (exit $ac_status); }; }; then
15855 ac_cv_working_alloca_h=yes
15856 else
15857 echo "$as_me: failed program was:" >&5
15858 sed 's/^/| /' conftest.$ac_ext >&5
15860 ac_cv_working_alloca_h=no
15862 rm -f conftest.err conftest.$ac_objext \
15863 conftest$ac_exeext conftest.$ac_ext
15865 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15866 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15867 if test $ac_cv_working_alloca_h = yes; then
15869 cat >>confdefs.h <<\_ACEOF
15870 #define HAVE_ALLOCA_H 1
15871 _ACEOF
15875 echo "$as_me:$LINENO: checking for alloca" >&5
15876 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15877 if test "${ac_cv_func_alloca_works+set}" = set; then
15878 echo $ECHO_N "(cached) $ECHO_C" >&6
15879 else
15880 cat >conftest.$ac_ext <<_ACEOF
15881 /* confdefs.h. */
15882 _ACEOF
15883 cat confdefs.h >>conftest.$ac_ext
15884 cat >>conftest.$ac_ext <<_ACEOF
15885 /* end confdefs.h. */
15886 #ifdef __GNUC__
15887 # define alloca __builtin_alloca
15888 #else
15889 # ifdef _MSC_VER
15890 # include <malloc.h>
15891 # define alloca _alloca
15892 # else
15893 # if HAVE_ALLOCA_H
15894 # include <alloca.h>
15895 # else
15896 # ifdef _AIX
15897 #pragma alloca
15898 # else
15899 # ifndef alloca /* predefined by HP cc +Olibcalls */
15900 char *alloca ();
15901 # endif
15902 # endif
15903 # endif
15904 # endif
15905 #endif
15908 main ()
15910 char *p = (char *) alloca (1);
15912 return 0;
15914 _ACEOF
15915 rm -f conftest.$ac_objext conftest$ac_exeext
15916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15917 (eval $ac_link) 2>conftest.er1
15918 ac_status=$?
15919 grep -v '^ *+' conftest.er1 >conftest.err
15920 rm -f conftest.er1
15921 cat conftest.err >&5
15922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15923 (exit $ac_status); } &&
15924 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15926 (eval $ac_try) 2>&5
15927 ac_status=$?
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); }; } &&
15930 { ac_try='test -s conftest$ac_exeext'
15931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15932 (eval $ac_try) 2>&5
15933 ac_status=$?
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); }; }; then
15936 ac_cv_func_alloca_works=yes
15937 else
15938 echo "$as_me: failed program was:" >&5
15939 sed 's/^/| /' conftest.$ac_ext >&5
15941 ac_cv_func_alloca_works=no
15943 rm -f conftest.err conftest.$ac_objext \
15944 conftest$ac_exeext conftest.$ac_ext
15946 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15947 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15949 if test $ac_cv_func_alloca_works = yes; then
15951 cat >>confdefs.h <<\_ACEOF
15952 #define HAVE_ALLOCA 1
15953 _ACEOF
15955 else
15956 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15957 # that cause trouble. Some versions do not even contain alloca or
15958 # contain a buggy version. If you still want to use their alloca,
15959 # use ar to extract alloca.o from them instead of compiling alloca.c.
15961 ALLOCA=alloca.$ac_objext
15963 cat >>confdefs.h <<\_ACEOF
15964 #define C_ALLOCA 1
15965 _ACEOF
15968 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15969 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15970 if test "${ac_cv_os_cray+set}" = set; then
15971 echo $ECHO_N "(cached) $ECHO_C" >&6
15972 else
15973 cat >conftest.$ac_ext <<_ACEOF
15974 /* confdefs.h. */
15975 _ACEOF
15976 cat confdefs.h >>conftest.$ac_ext
15977 cat >>conftest.$ac_ext <<_ACEOF
15978 /* end confdefs.h. */
15979 #if defined(CRAY) && ! defined(CRAY2)
15980 webecray
15981 #else
15982 wenotbecray
15983 #endif
15985 _ACEOF
15986 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15987 $EGREP "webecray" >/dev/null 2>&1; then
15988 ac_cv_os_cray=yes
15989 else
15990 ac_cv_os_cray=no
15992 rm -f conftest*
15995 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15996 echo "${ECHO_T}$ac_cv_os_cray" >&6
15997 if test $ac_cv_os_cray = yes; then
15998 for ac_func in _getb67 GETB67 getb67; do
15999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16000 echo "$as_me:$LINENO: checking for $ac_func" >&5
16001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16002 if eval "test \"\${$as_ac_var+set}\" = set"; then
16003 echo $ECHO_N "(cached) $ECHO_C" >&6
16004 else
16005 cat >conftest.$ac_ext <<_ACEOF
16006 /* confdefs.h. */
16007 _ACEOF
16008 cat confdefs.h >>conftest.$ac_ext
16009 cat >>conftest.$ac_ext <<_ACEOF
16010 /* end confdefs.h. */
16011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16013 #define $ac_func innocuous_$ac_func
16015 /* System header to define __stub macros and hopefully few prototypes,
16016 which can conflict with char $ac_func (); below.
16017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16018 <limits.h> exists even on freestanding compilers. */
16020 #ifdef __STDC__
16021 # include <limits.h>
16022 #else
16023 # include <assert.h>
16024 #endif
16026 #undef $ac_func
16028 /* Override any gcc2 internal prototype to avoid an error. */
16029 #ifdef __cplusplus
16030 extern "C"
16032 #endif
16033 /* We use char because int might match the return type of a gcc2
16034 builtin and then its argument prototype would still apply. */
16035 char $ac_func ();
16036 /* The GNU C library defines this for functions which it implements
16037 to always fail with ENOSYS. Some functions are actually named
16038 something starting with __ and the normal name is an alias. */
16039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16040 choke me
16041 #else
16042 char (*f) () = $ac_func;
16043 #endif
16044 #ifdef __cplusplus
16046 #endif
16049 main ()
16051 return f != $ac_func;
16053 return 0;
16055 _ACEOF
16056 rm -f conftest.$ac_objext conftest$ac_exeext
16057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16058 (eval $ac_link) 2>conftest.er1
16059 ac_status=$?
16060 grep -v '^ *+' conftest.er1 >conftest.err
16061 rm -f conftest.er1
16062 cat conftest.err >&5
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); } &&
16065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16067 (eval $ac_try) 2>&5
16068 ac_status=$?
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); }; } &&
16071 { ac_try='test -s conftest$ac_exeext'
16072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16073 (eval $ac_try) 2>&5
16074 ac_status=$?
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); }; }; then
16077 eval "$as_ac_var=yes"
16078 else
16079 echo "$as_me: failed program was:" >&5
16080 sed 's/^/| /' conftest.$ac_ext >&5
16082 eval "$as_ac_var=no"
16084 rm -f conftest.err conftest.$ac_objext \
16085 conftest$ac_exeext conftest.$ac_ext
16087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16089 if test `eval echo '${'$as_ac_var'}'` = yes; then
16091 cat >>confdefs.h <<_ACEOF
16092 #define CRAY_STACKSEG_END $ac_func
16093 _ACEOF
16095 break
16098 done
16101 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16102 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
16103 if test "${ac_cv_c_stack_direction+set}" = set; then
16104 echo $ECHO_N "(cached) $ECHO_C" >&6
16105 else
16106 if test "$cross_compiling" = yes; then
16107 ac_cv_c_stack_direction=0
16108 else
16109 cat >conftest.$ac_ext <<_ACEOF
16110 /* confdefs.h. */
16111 _ACEOF
16112 cat confdefs.h >>conftest.$ac_ext
16113 cat >>conftest.$ac_ext <<_ACEOF
16114 /* end confdefs.h. */
16116 find_stack_direction ()
16118 static char *addr = 0;
16119 auto char dummy;
16120 if (addr == 0)
16122 addr = &dummy;
16123 return find_stack_direction ();
16125 else
16126 return (&dummy > addr) ? 1 : -1;
16130 main ()
16132 exit (find_stack_direction () < 0);
16134 _ACEOF
16135 rm -f conftest$ac_exeext
16136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16137 (eval $ac_link) 2>&5
16138 ac_status=$?
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16142 (eval $ac_try) 2>&5
16143 ac_status=$?
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); }; }; then
16146 ac_cv_c_stack_direction=1
16147 else
16148 echo "$as_me: program exited with status $ac_status" >&5
16149 echo "$as_me: failed program was:" >&5
16150 sed 's/^/| /' conftest.$ac_ext >&5
16152 ( exit $ac_status )
16153 ac_cv_c_stack_direction=-1
16155 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16158 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16159 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16161 cat >>confdefs.h <<_ACEOF
16162 #define STACK_DIRECTION $ac_cv_c_stack_direction
16163 _ACEOF
16228 for ac_func in \
16229 _lwp_create \
16230 _lwp_self \
16231 _pclose \
16232 _popen \
16233 _snprintf \
16234 _spawnvp \
16235 _stricmp \
16236 _strnicmp \
16237 _vsnprintf \
16238 chsize \
16239 clone \
16240 epoll_create \
16241 ffs \
16242 finite \
16243 fork \
16244 fpclass \
16245 fstatfs \
16246 fstatvfs \
16247 ftruncate \
16248 futimes \
16249 futimesat \
16250 getnetbyname \
16251 getopt_long \
16252 getpagesize \
16253 getprotobyname \
16254 getprotobynumber \
16255 getpwuid \
16256 getservbyport \
16257 gettid \
16258 gettimeofday \
16259 getuid \
16260 inet_network \
16261 lstat \
16262 memmove \
16263 mmap \
16264 pclose \
16265 popen \
16266 pread \
16267 pwrite \
16268 readlink \
16269 rfork \
16270 sched_yield \
16271 select \
16272 sendmsg \
16273 settimeofday \
16274 sigaltstack \
16275 sigprocmask \
16276 snprintf \
16277 spawnvp \
16278 statfs \
16279 statvfs \
16280 strcasecmp \
16281 strerror \
16282 strncasecmp \
16283 tcgetattr \
16284 timegm \
16285 usleep \
16286 vsnprintf \
16287 wait4 \
16288 waitpid \
16291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16292 echo "$as_me:$LINENO: checking for $ac_func" >&5
16293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16294 if eval "test \"\${$as_ac_var+set}\" = set"; then
16295 echo $ECHO_N "(cached) $ECHO_C" >&6
16296 else
16297 cat >conftest.$ac_ext <<_ACEOF
16298 /* confdefs.h. */
16299 _ACEOF
16300 cat confdefs.h >>conftest.$ac_ext
16301 cat >>conftest.$ac_ext <<_ACEOF
16302 /* end confdefs.h. */
16303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16305 #define $ac_func innocuous_$ac_func
16307 /* System header to define __stub macros and hopefully few prototypes,
16308 which can conflict with char $ac_func (); below.
16309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16310 <limits.h> exists even on freestanding compilers. */
16312 #ifdef __STDC__
16313 # include <limits.h>
16314 #else
16315 # include <assert.h>
16316 #endif
16318 #undef $ac_func
16320 /* Override any gcc2 internal prototype to avoid an error. */
16321 #ifdef __cplusplus
16322 extern "C"
16324 #endif
16325 /* We use char because int might match the return type of a gcc2
16326 builtin and then its argument prototype would still apply. */
16327 char $ac_func ();
16328 /* The GNU C library defines this for functions which it implements
16329 to always fail with ENOSYS. Some functions are actually named
16330 something starting with __ and the normal name is an alias. */
16331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16332 choke me
16333 #else
16334 char (*f) () = $ac_func;
16335 #endif
16336 #ifdef __cplusplus
16338 #endif
16341 main ()
16343 return f != $ac_func;
16345 return 0;
16347 _ACEOF
16348 rm -f conftest.$ac_objext conftest$ac_exeext
16349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16350 (eval $ac_link) 2>conftest.er1
16351 ac_status=$?
16352 grep -v '^ *+' conftest.er1 >conftest.err
16353 rm -f conftest.er1
16354 cat conftest.err >&5
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); } &&
16357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16359 (eval $ac_try) 2>&5
16360 ac_status=$?
16361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16362 (exit $ac_status); }; } &&
16363 { ac_try='test -s conftest$ac_exeext'
16364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16365 (eval $ac_try) 2>&5
16366 ac_status=$?
16367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16368 (exit $ac_status); }; }; then
16369 eval "$as_ac_var=yes"
16370 else
16371 echo "$as_me: failed program was:" >&5
16372 sed 's/^/| /' conftest.$ac_ext >&5
16374 eval "$as_ac_var=no"
16376 rm -f conftest.err conftest.$ac_objext \
16377 conftest$ac_exeext conftest.$ac_ext
16379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16381 if test `eval echo '${'$as_ac_var'}'` = yes; then
16382 cat >>confdefs.h <<_ACEOF
16383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16384 _ACEOF
16387 done
16393 for ac_header in sys/mount.h sys/user.h
16395 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16396 echo "$as_me:$LINENO: checking for $ac_header" >&5
16397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16399 echo $ECHO_N "(cached) $ECHO_C" >&6
16400 else
16401 cat >conftest.$ac_ext <<_ACEOF
16402 /* confdefs.h. */
16403 _ACEOF
16404 cat confdefs.h >>conftest.$ac_ext
16405 cat >>conftest.$ac_ext <<_ACEOF
16406 /* end confdefs.h. */
16407 #include <sys/types.h>
16408 #if HAVE_SYS_PARAM_H
16409 # include <sys/param.h>
16410 #endif
16412 #include <$ac_header>
16413 _ACEOF
16414 rm -f conftest.$ac_objext
16415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16416 (eval $ac_compile) 2>conftest.er1
16417 ac_status=$?
16418 grep -v '^ *+' conftest.er1 >conftest.err
16419 rm -f conftest.er1
16420 cat conftest.err >&5
16421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16422 (exit $ac_status); } &&
16423 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16425 (eval $ac_try) 2>&5
16426 ac_status=$?
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); }; } &&
16429 { ac_try='test -s conftest.$ac_objext'
16430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16431 (eval $ac_try) 2>&5
16432 ac_status=$?
16433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16434 (exit $ac_status); }; }; then
16435 eval "$as_ac_Header=yes"
16436 else
16437 echo "$as_me: failed program was:" >&5
16438 sed 's/^/| /' conftest.$ac_ext >&5
16440 eval "$as_ac_Header=no"
16442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16445 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16446 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16447 cat >>confdefs.h <<_ACEOF
16448 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16449 _ACEOF
16453 done
16461 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h
16463 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16464 echo "$as_me:$LINENO: checking for $ac_header" >&5
16465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16467 echo $ECHO_N "(cached) $ECHO_C" >&6
16468 else
16469 cat >conftest.$ac_ext <<_ACEOF
16470 /* confdefs.h. */
16471 _ACEOF
16472 cat confdefs.h >>conftest.$ac_ext
16473 cat >>conftest.$ac_ext <<_ACEOF
16474 /* end confdefs.h. */
16475 #include <sys/types.h>
16476 #if HAVE_SYS_SOCKET_H
16477 # include <sys/socket.h>
16478 #endif
16480 #include <$ac_header>
16481 _ACEOF
16482 rm -f conftest.$ac_objext
16483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16484 (eval $ac_compile) 2>conftest.er1
16485 ac_status=$?
16486 grep -v '^ *+' conftest.er1 >conftest.err
16487 rm -f conftest.er1
16488 cat conftest.err >&5
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); } &&
16491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16493 (eval $ac_try) 2>&5
16494 ac_status=$?
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); }; } &&
16497 { ac_try='test -s conftest.$ac_objext'
16498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16499 (eval $ac_try) 2>&5
16500 ac_status=$?
16501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16502 (exit $ac_status); }; }; then
16503 eval "$as_ac_Header=yes"
16504 else
16505 echo "$as_me: failed program was:" >&5
16506 sed 's/^/| /' conftest.$ac_ext >&5
16508 eval "$as_ac_Header=no"
16510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16513 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16514 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16515 cat >>confdefs.h <<_ACEOF
16516 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16517 _ACEOF
16521 done
16525 for ac_header in resolv.h
16527 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16528 echo "$as_me:$LINENO: checking for $ac_header" >&5
16529 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16531 echo $ECHO_N "(cached) $ECHO_C" >&6
16532 else
16533 cat >conftest.$ac_ext <<_ACEOF
16534 /* confdefs.h. */
16535 _ACEOF
16536 cat confdefs.h >>conftest.$ac_ext
16537 cat >>conftest.$ac_ext <<_ACEOF
16538 /* end confdefs.h. */
16539 #include <sys/types.h>
16540 #if HAVE_SYS_SOCKET_H
16541 # include <sys/socket.h>
16542 #endif
16543 #if HAVE_NETINET_IN_H
16544 # include <netinet/in.h>
16545 #endif
16546 #if HAVE_ARPA_NAMESER_H
16547 # include <arpa/nameser.h>
16548 #endif
16550 #include <$ac_header>
16551 _ACEOF
16552 rm -f conftest.$ac_objext
16553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16554 (eval $ac_compile) 2>conftest.er1
16555 ac_status=$?
16556 grep -v '^ *+' conftest.er1 >conftest.err
16557 rm -f conftest.er1
16558 cat conftest.err >&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); } &&
16561 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16563 (eval $ac_try) 2>&5
16564 ac_status=$?
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); }; } &&
16567 { ac_try='test -s conftest.$ac_objext'
16568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16569 (eval $ac_try) 2>&5
16570 ac_status=$?
16571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572 (exit $ac_status); }; }; then
16573 eval "$as_ac_Header=yes"
16574 else
16575 echo "$as_me: failed program was:" >&5
16576 sed 's/^/| /' conftest.$ac_ext >&5
16578 eval "$as_ac_Header=no"
16580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16584 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16585 cat >>confdefs.h <<_ACEOF
16586 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16587 _ACEOF
16591 done
16595 for ac_header in ucontext.h
16597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16598 echo "$as_me:$LINENO: checking for $ac_header" >&5
16599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16601 echo $ECHO_N "(cached) $ECHO_C" >&6
16602 else
16603 cat >conftest.$ac_ext <<_ACEOF
16604 /* confdefs.h. */
16605 _ACEOF
16606 cat confdefs.h >>conftest.$ac_ext
16607 cat >>conftest.$ac_ext <<_ACEOF
16608 /* end confdefs.h. */
16609 #include <signal.h>
16611 #include <$ac_header>
16612 _ACEOF
16613 rm -f conftest.$ac_objext
16614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16615 (eval $ac_compile) 2>conftest.er1
16616 ac_status=$?
16617 grep -v '^ *+' conftest.er1 >conftest.err
16618 rm -f conftest.er1
16619 cat conftest.err >&5
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); } &&
16622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16624 (eval $ac_try) 2>&5
16625 ac_status=$?
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); }; } &&
16628 { ac_try='test -s conftest.$ac_objext'
16629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16630 (eval $ac_try) 2>&5
16631 ac_status=$?
16632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16633 (exit $ac_status); }; }; then
16634 eval "$as_ac_Header=yes"
16635 else
16636 echo "$as_me: failed program was:" >&5
16637 sed 's/^/| /' conftest.$ac_ext >&5
16639 eval "$as_ac_Header=no"
16641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16646 cat >>confdefs.h <<_ACEOF
16647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16648 _ACEOF
16652 done
16657 for ac_header in linux/videodev.h
16659 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16660 echo "$as_me:$LINENO: checking for $ac_header" >&5
16661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16663 echo $ECHO_N "(cached) $ECHO_C" >&6
16664 else
16665 cat >conftest.$ac_ext <<_ACEOF
16666 /* confdefs.h. */
16667 _ACEOF
16668 cat confdefs.h >>conftest.$ac_ext
16669 cat >>conftest.$ac_ext <<_ACEOF
16670 /* end confdefs.h. */
16671 #ifdef HAVE_SYS_TIME_H
16672 #include <sys/time.h>
16673 #endif
16674 #ifdef HAVE_ASM_TYPES_H
16675 #include <asm/types.h>
16676 #endif
16678 #include <$ac_header>
16679 _ACEOF
16680 rm -f conftest.$ac_objext
16681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16682 (eval $ac_compile) 2>conftest.er1
16683 ac_status=$?
16684 grep -v '^ *+' conftest.er1 >conftest.err
16685 rm -f conftest.er1
16686 cat conftest.err >&5
16687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16688 (exit $ac_status); } &&
16689 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16691 (eval $ac_try) 2>&5
16692 ac_status=$?
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); }; } &&
16695 { ac_try='test -s conftest.$ac_objext'
16696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16697 (eval $ac_try) 2>&5
16698 ac_status=$?
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); }; }; then
16701 eval "$as_ac_Header=yes"
16702 else
16703 echo "$as_me: failed program was:" >&5
16704 sed 's/^/| /' conftest.$ac_ext >&5
16706 eval "$as_ac_Header=no"
16708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16713 cat >>confdefs.h <<_ACEOF
16714 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16715 _ACEOF
16719 done
16723 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
16724 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
16725 if test "${ac_cv_c_ipx_gnu+set}" = set; then
16726 echo $ECHO_N "(cached) $ECHO_C" >&6
16727 else
16728 cat >conftest.$ac_ext <<_ACEOF
16729 /* confdefs.h. */
16730 _ACEOF
16731 cat confdefs.h >>conftest.$ac_ext
16732 cat >>conftest.$ac_ext <<_ACEOF
16733 /* end confdefs.h. */
16734 #include <sys/types.h>
16735 #ifdef HAVE_SYS_SOCKET_H
16736 # include <sys/socket.h>
16737 #endif
16738 #include <netipx/ipx.h>
16740 main ()
16742 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16744 return 0;
16746 _ACEOF
16747 rm -f conftest.$ac_objext
16748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16749 (eval $ac_compile) 2>conftest.er1
16750 ac_status=$?
16751 grep -v '^ *+' conftest.er1 >conftest.err
16752 rm -f conftest.er1
16753 cat conftest.err >&5
16754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16755 (exit $ac_status); } &&
16756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16758 (eval $ac_try) 2>&5
16759 ac_status=$?
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); }; } &&
16762 { ac_try='test -s conftest.$ac_objext'
16763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16764 (eval $ac_try) 2>&5
16765 ac_status=$?
16766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16767 (exit $ac_status); }; }; then
16768 ac_cv_c_ipx_gnu="yes"
16769 else
16770 echo "$as_me: failed program was:" >&5
16771 sed 's/^/| /' conftest.$ac_ext >&5
16773 ac_cv_c_ipx_gnu="no"
16775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16778 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
16779 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
16780 if test "$ac_cv_c_ipx_gnu" = "yes"
16781 then
16783 cat >>confdefs.h <<\_ACEOF
16784 #define HAVE_IPX_GNU 1
16785 _ACEOF
16789 if test "$ac_cv_c_ipx_gnu" = "no"
16790 then
16791 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
16792 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
16793 if test "${ac_cv_c_ipx_linux+set}" = set; then
16794 echo $ECHO_N "(cached) $ECHO_C" >&6
16795 else
16796 cat >conftest.$ac_ext <<_ACEOF
16797 /* confdefs.h. */
16798 _ACEOF
16799 cat confdefs.h >>conftest.$ac_ext
16800 cat >>conftest.$ac_ext <<_ACEOF
16801 /* end confdefs.h. */
16802 #include <sys/types.h>
16803 #ifdef HAVE_SYS_SOCKET_H
16804 # include <sys/socket.h>
16805 #endif
16806 #include <asm/types.h>
16807 #include <linux/ipx.h>
16809 main ()
16811 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16813 return 0;
16815 _ACEOF
16816 rm -f conftest.$ac_objext
16817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16818 (eval $ac_compile) 2>conftest.er1
16819 ac_status=$?
16820 grep -v '^ *+' conftest.er1 >conftest.err
16821 rm -f conftest.er1
16822 cat conftest.err >&5
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); } &&
16825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16827 (eval $ac_try) 2>&5
16828 ac_status=$?
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); }; } &&
16831 { ac_try='test -s conftest.$ac_objext'
16832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16833 (eval $ac_try) 2>&5
16834 ac_status=$?
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); }; }; then
16837 ac_cv_c_ipx_linux="yes"
16838 else
16839 echo "$as_me: failed program was:" >&5
16840 sed 's/^/| /' conftest.$ac_ext >&5
16842 ac_cv_c_ipx_linux="no"
16844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16847 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
16848 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
16849 if test "$ac_cv_c_ipx_linux" = "yes"
16850 then
16852 cat >>confdefs.h <<\_ACEOF
16853 #define HAVE_IPX_LINUX 1
16854 _ACEOF
16860 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16861 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16862 if test "${ac_cv_c_const+set}" = set; then
16863 echo $ECHO_N "(cached) $ECHO_C" >&6
16864 else
16865 cat >conftest.$ac_ext <<_ACEOF
16866 /* confdefs.h. */
16867 _ACEOF
16868 cat confdefs.h >>conftest.$ac_ext
16869 cat >>conftest.$ac_ext <<_ACEOF
16870 /* end confdefs.h. */
16873 main ()
16875 /* FIXME: Include the comments suggested by Paul. */
16876 #ifndef __cplusplus
16877 /* Ultrix mips cc rejects this. */
16878 typedef int charset[2];
16879 const charset x;
16880 /* SunOS 4.1.1 cc rejects this. */
16881 char const *const *ccp;
16882 char **p;
16883 /* NEC SVR4.0.2 mips cc rejects this. */
16884 struct point {int x, y;};
16885 static struct point const zero = {0,0};
16886 /* AIX XL C 1.02.0.0 rejects this.
16887 It does not let you subtract one const X* pointer from another in
16888 an arm of an if-expression whose if-part is not a constant
16889 expression */
16890 const char *g = "string";
16891 ccp = &g + (g ? g-g : 0);
16892 /* HPUX 7.0 cc rejects these. */
16893 ++ccp;
16894 p = (char**) ccp;
16895 ccp = (char const *const *) p;
16896 { /* SCO 3.2v4 cc rejects this. */
16897 char *t;
16898 char const *s = 0 ? (char *) 0 : (char const *) 0;
16900 *t++ = 0;
16902 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16903 int x[] = {25, 17};
16904 const int *foo = &x[0];
16905 ++foo;
16907 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16908 typedef const int *iptr;
16909 iptr p = 0;
16910 ++p;
16912 { /* AIX XL C 1.02.0.0 rejects this saying
16913 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16914 struct s { int j; const int *ap[3]; };
16915 struct s *b; b->j = 5;
16917 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16918 const int foo = 10;
16920 #endif
16923 return 0;
16925 _ACEOF
16926 rm -f conftest.$ac_objext
16927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16928 (eval $ac_compile) 2>conftest.er1
16929 ac_status=$?
16930 grep -v '^ *+' conftest.er1 >conftest.err
16931 rm -f conftest.er1
16932 cat conftest.err >&5
16933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934 (exit $ac_status); } &&
16935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16937 (eval $ac_try) 2>&5
16938 ac_status=$?
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); }; } &&
16941 { ac_try='test -s conftest.$ac_objext'
16942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16943 (eval $ac_try) 2>&5
16944 ac_status=$?
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); }; }; then
16947 ac_cv_c_const=yes
16948 else
16949 echo "$as_me: failed program was:" >&5
16950 sed 's/^/| /' conftest.$ac_ext >&5
16952 ac_cv_c_const=no
16954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16956 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16957 echo "${ECHO_T}$ac_cv_c_const" >&6
16958 if test $ac_cv_c_const = no; then
16960 cat >>confdefs.h <<\_ACEOF
16961 #define const
16962 _ACEOF
16966 echo "$as_me:$LINENO: checking for inline" >&5
16967 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16968 if test "${ac_cv_c_inline+set}" = set; then
16969 echo $ECHO_N "(cached) $ECHO_C" >&6
16970 else
16971 ac_cv_c_inline=no
16972 for ac_kw in inline __inline__ __inline; do
16973 cat >conftest.$ac_ext <<_ACEOF
16974 /* confdefs.h. */
16975 _ACEOF
16976 cat confdefs.h >>conftest.$ac_ext
16977 cat >>conftest.$ac_ext <<_ACEOF
16978 /* end confdefs.h. */
16979 #ifndef __cplusplus
16980 typedef int foo_t;
16981 static $ac_kw foo_t static_foo () {return 0; }
16982 $ac_kw foo_t foo () {return 0; }
16983 #endif
16985 _ACEOF
16986 rm -f conftest.$ac_objext
16987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16988 (eval $ac_compile) 2>conftest.er1
16989 ac_status=$?
16990 grep -v '^ *+' conftest.er1 >conftest.err
16991 rm -f conftest.er1
16992 cat conftest.err >&5
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); } &&
16995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16997 (eval $ac_try) 2>&5
16998 ac_status=$?
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); }; } &&
17001 { ac_try='test -s conftest.$ac_objext'
17002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003 (eval $ac_try) 2>&5
17004 ac_status=$?
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); }; }; then
17007 ac_cv_c_inline=$ac_kw; break
17008 else
17009 echo "$as_me: failed program was:" >&5
17010 sed 's/^/| /' conftest.$ac_ext >&5
17013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17014 done
17017 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17018 echo "${ECHO_T}$ac_cv_c_inline" >&6
17021 case $ac_cv_c_inline in
17022 inline | yes) ;;
17024 case $ac_cv_c_inline in
17025 no) ac_val=;;
17026 *) ac_val=$ac_cv_c_inline;;
17027 esac
17028 cat >>confdefs.h <<_ACEOF
17029 #ifndef __cplusplus
17030 #define inline $ac_val
17031 #endif
17032 _ACEOF
17034 esac
17036 echo "$as_me:$LINENO: checking for mode_t" >&5
17037 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
17038 if test "${ac_cv_type_mode_t+set}" = set; then
17039 echo $ECHO_N "(cached) $ECHO_C" >&6
17040 else
17041 cat >conftest.$ac_ext <<_ACEOF
17042 /* confdefs.h. */
17043 _ACEOF
17044 cat confdefs.h >>conftest.$ac_ext
17045 cat >>conftest.$ac_ext <<_ACEOF
17046 /* end confdefs.h. */
17047 $ac_includes_default
17049 main ()
17051 if ((mode_t *) 0)
17052 return 0;
17053 if (sizeof (mode_t))
17054 return 0;
17056 return 0;
17058 _ACEOF
17059 rm -f conftest.$ac_objext
17060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17061 (eval $ac_compile) 2>conftest.er1
17062 ac_status=$?
17063 grep -v '^ *+' conftest.er1 >conftest.err
17064 rm -f conftest.er1
17065 cat conftest.err >&5
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); } &&
17068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17070 (eval $ac_try) 2>&5
17071 ac_status=$?
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); }; } &&
17074 { ac_try='test -s conftest.$ac_objext'
17075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17076 (eval $ac_try) 2>&5
17077 ac_status=$?
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); }; }; then
17080 ac_cv_type_mode_t=yes
17081 else
17082 echo "$as_me: failed program was:" >&5
17083 sed 's/^/| /' conftest.$ac_ext >&5
17085 ac_cv_type_mode_t=no
17087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17089 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17090 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
17091 if test $ac_cv_type_mode_t = yes; then
17093 cat >>confdefs.h <<_ACEOF
17094 #define HAVE_MODE_T 1
17095 _ACEOF
17099 echo "$as_me:$LINENO: checking for off_t" >&5
17100 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
17101 if test "${ac_cv_type_off_t+set}" = set; then
17102 echo $ECHO_N "(cached) $ECHO_C" >&6
17103 else
17104 cat >conftest.$ac_ext <<_ACEOF
17105 /* confdefs.h. */
17106 _ACEOF
17107 cat confdefs.h >>conftest.$ac_ext
17108 cat >>conftest.$ac_ext <<_ACEOF
17109 /* end confdefs.h. */
17110 $ac_includes_default
17112 main ()
17114 if ((off_t *) 0)
17115 return 0;
17116 if (sizeof (off_t))
17117 return 0;
17119 return 0;
17121 _ACEOF
17122 rm -f conftest.$ac_objext
17123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17124 (eval $ac_compile) 2>conftest.er1
17125 ac_status=$?
17126 grep -v '^ *+' conftest.er1 >conftest.err
17127 rm -f conftest.er1
17128 cat conftest.err >&5
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); } &&
17131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17133 (eval $ac_try) 2>&5
17134 ac_status=$?
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); }; } &&
17137 { ac_try='test -s conftest.$ac_objext'
17138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17139 (eval $ac_try) 2>&5
17140 ac_status=$?
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 (exit $ac_status); }; }; then
17143 ac_cv_type_off_t=yes
17144 else
17145 echo "$as_me: failed program was:" >&5
17146 sed 's/^/| /' conftest.$ac_ext >&5
17148 ac_cv_type_off_t=no
17150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17152 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17153 echo "${ECHO_T}$ac_cv_type_off_t" >&6
17154 if test $ac_cv_type_off_t = yes; then
17156 cat >>confdefs.h <<_ACEOF
17157 #define HAVE_OFF_T 1
17158 _ACEOF
17162 echo "$as_me:$LINENO: checking for pid_t" >&5
17163 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17164 if test "${ac_cv_type_pid_t+set}" = set; then
17165 echo $ECHO_N "(cached) $ECHO_C" >&6
17166 else
17167 cat >conftest.$ac_ext <<_ACEOF
17168 /* confdefs.h. */
17169 _ACEOF
17170 cat confdefs.h >>conftest.$ac_ext
17171 cat >>conftest.$ac_ext <<_ACEOF
17172 /* end confdefs.h. */
17173 $ac_includes_default
17175 main ()
17177 if ((pid_t *) 0)
17178 return 0;
17179 if (sizeof (pid_t))
17180 return 0;
17182 return 0;
17184 _ACEOF
17185 rm -f conftest.$ac_objext
17186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17187 (eval $ac_compile) 2>conftest.er1
17188 ac_status=$?
17189 grep -v '^ *+' conftest.er1 >conftest.err
17190 rm -f conftest.er1
17191 cat conftest.err >&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } &&
17194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196 (eval $ac_try) 2>&5
17197 ac_status=$?
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; } &&
17200 { ac_try='test -s conftest.$ac_objext'
17201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17202 (eval $ac_try) 2>&5
17203 ac_status=$?
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); }; }; then
17206 ac_cv_type_pid_t=yes
17207 else
17208 echo "$as_me: failed program was:" >&5
17209 sed 's/^/| /' conftest.$ac_ext >&5
17211 ac_cv_type_pid_t=no
17213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17215 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17216 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
17217 if test $ac_cv_type_pid_t = yes; then
17219 cat >>confdefs.h <<_ACEOF
17220 #define HAVE_PID_T 1
17221 _ACEOF
17225 echo "$as_me:$LINENO: checking for size_t" >&5
17226 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17227 if test "${ac_cv_type_size_t+set}" = set; then
17228 echo $ECHO_N "(cached) $ECHO_C" >&6
17229 else
17230 cat >conftest.$ac_ext <<_ACEOF
17231 /* confdefs.h. */
17232 _ACEOF
17233 cat confdefs.h >>conftest.$ac_ext
17234 cat >>conftest.$ac_ext <<_ACEOF
17235 /* end confdefs.h. */
17236 $ac_includes_default
17238 main ()
17240 if ((size_t *) 0)
17241 return 0;
17242 if (sizeof (size_t))
17243 return 0;
17245 return 0;
17247 _ACEOF
17248 rm -f conftest.$ac_objext
17249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17250 (eval $ac_compile) 2>conftest.er1
17251 ac_status=$?
17252 grep -v '^ *+' conftest.er1 >conftest.err
17253 rm -f conftest.er1
17254 cat conftest.err >&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } &&
17257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17259 (eval $ac_try) 2>&5
17260 ac_status=$?
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); }; } &&
17263 { ac_try='test -s conftest.$ac_objext'
17264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17265 (eval $ac_try) 2>&5
17266 ac_status=$?
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); }; }; then
17269 ac_cv_type_size_t=yes
17270 else
17271 echo "$as_me: failed program was:" >&5
17272 sed 's/^/| /' conftest.$ac_ext >&5
17274 ac_cv_type_size_t=no
17276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17278 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17279 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17280 if test $ac_cv_type_size_t = yes; then
17282 cat >>confdefs.h <<_ACEOF
17283 #define HAVE_SIZE_T 1
17284 _ACEOF
17288 echo "$as_me:$LINENO: checking for ssize_t" >&5
17289 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17290 if test "${ac_cv_type_ssize_t+set}" = set; then
17291 echo $ECHO_N "(cached) $ECHO_C" >&6
17292 else
17293 cat >conftest.$ac_ext <<_ACEOF
17294 /* confdefs.h. */
17295 _ACEOF
17296 cat confdefs.h >>conftest.$ac_ext
17297 cat >>conftest.$ac_ext <<_ACEOF
17298 /* end confdefs.h. */
17299 $ac_includes_default
17301 main ()
17303 if ((ssize_t *) 0)
17304 return 0;
17305 if (sizeof (ssize_t))
17306 return 0;
17308 return 0;
17310 _ACEOF
17311 rm -f conftest.$ac_objext
17312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17313 (eval $ac_compile) 2>conftest.er1
17314 ac_status=$?
17315 grep -v '^ *+' conftest.er1 >conftest.err
17316 rm -f conftest.er1
17317 cat conftest.err >&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } &&
17320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17322 (eval $ac_try) 2>&5
17323 ac_status=$?
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); }; } &&
17326 { ac_try='test -s conftest.$ac_objext'
17327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17328 (eval $ac_try) 2>&5
17329 ac_status=$?
17330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17331 (exit $ac_status); }; }; then
17332 ac_cv_type_ssize_t=yes
17333 else
17334 echo "$as_me: failed program was:" >&5
17335 sed 's/^/| /' conftest.$ac_ext >&5
17337 ac_cv_type_ssize_t=no
17339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17341 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17342 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
17343 if test $ac_cv_type_ssize_t = yes; then
17345 cat >>confdefs.h <<_ACEOF
17346 #define HAVE_SSIZE_T 1
17347 _ACEOF
17351 echo "$as_me:$LINENO: checking for long long" >&5
17352 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17353 if test "${ac_cv_type_long_long+set}" = set; then
17354 echo $ECHO_N "(cached) $ECHO_C" >&6
17355 else
17356 cat >conftest.$ac_ext <<_ACEOF
17357 /* confdefs.h. */
17358 _ACEOF
17359 cat confdefs.h >>conftest.$ac_ext
17360 cat >>conftest.$ac_ext <<_ACEOF
17361 /* end confdefs.h. */
17362 $ac_includes_default
17364 main ()
17366 if ((long long *) 0)
17367 return 0;
17368 if (sizeof (long long))
17369 return 0;
17371 return 0;
17373 _ACEOF
17374 rm -f conftest.$ac_objext
17375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17376 (eval $ac_compile) 2>conftest.er1
17377 ac_status=$?
17378 grep -v '^ *+' conftest.er1 >conftest.err
17379 rm -f conftest.er1
17380 cat conftest.err >&5
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); } &&
17383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17385 (eval $ac_try) 2>&5
17386 ac_status=$?
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); }; } &&
17389 { ac_try='test -s conftest.$ac_objext'
17390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17391 (eval $ac_try) 2>&5
17392 ac_status=$?
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; }; then
17395 ac_cv_type_long_long=yes
17396 else
17397 echo "$as_me: failed program was:" >&5
17398 sed 's/^/| /' conftest.$ac_ext >&5
17400 ac_cv_type_long_long=no
17402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17404 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17405 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17406 if test $ac_cv_type_long_long = yes; then
17408 cat >>confdefs.h <<_ACEOF
17409 #define HAVE_LONG_LONG 1
17410 _ACEOF
17414 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17415 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
17416 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17417 echo $ECHO_N "(cached) $ECHO_C" >&6
17418 else
17419 cat >conftest.$ac_ext <<_ACEOF
17420 /* confdefs.h. */
17421 _ACEOF
17422 cat confdefs.h >>conftest.$ac_ext
17423 cat >>conftest.$ac_ext <<_ACEOF
17424 /* end confdefs.h. */
17425 $ac_includes_default
17427 main ()
17429 if ((fsblkcnt_t *) 0)
17430 return 0;
17431 if (sizeof (fsblkcnt_t))
17432 return 0;
17434 return 0;
17436 _ACEOF
17437 rm -f conftest.$ac_objext
17438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17439 (eval $ac_compile) 2>conftest.er1
17440 ac_status=$?
17441 grep -v '^ *+' conftest.er1 >conftest.err
17442 rm -f conftest.er1
17443 cat conftest.err >&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); } &&
17446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17448 (eval $ac_try) 2>&5
17449 ac_status=$?
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); }; } &&
17452 { ac_try='test -s conftest.$ac_objext'
17453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17454 (eval $ac_try) 2>&5
17455 ac_status=$?
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); }; }; then
17458 ac_cv_type_fsblkcnt_t=yes
17459 else
17460 echo "$as_me: failed program was:" >&5
17461 sed 's/^/| /' conftest.$ac_ext >&5
17463 ac_cv_type_fsblkcnt_t=no
17465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17467 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17468 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
17469 if test $ac_cv_type_fsblkcnt_t = yes; then
17471 cat >>confdefs.h <<_ACEOF
17472 #define HAVE_FSBLKCNT_T 1
17473 _ACEOF
17477 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17478 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
17479 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17480 echo $ECHO_N "(cached) $ECHO_C" >&6
17481 else
17482 cat >conftest.$ac_ext <<_ACEOF
17483 /* confdefs.h. */
17484 _ACEOF
17485 cat confdefs.h >>conftest.$ac_ext
17486 cat >>conftest.$ac_ext <<_ACEOF
17487 /* end confdefs.h. */
17488 $ac_includes_default
17490 main ()
17492 if ((fsfilcnt_t *) 0)
17493 return 0;
17494 if (sizeof (fsfilcnt_t))
17495 return 0;
17497 return 0;
17499 _ACEOF
17500 rm -f conftest.$ac_objext
17501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17502 (eval $ac_compile) 2>conftest.er1
17503 ac_status=$?
17504 grep -v '^ *+' conftest.er1 >conftest.err
17505 rm -f conftest.er1
17506 cat conftest.err >&5
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); } &&
17509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17511 (eval $ac_try) 2>&5
17512 ac_status=$?
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); }; } &&
17515 { ac_try='test -s conftest.$ac_objext'
17516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17517 (eval $ac_try) 2>&5
17518 ac_status=$?
17519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 (exit $ac_status); }; }; then
17521 ac_cv_type_fsfilcnt_t=yes
17522 else
17523 echo "$as_me: failed program was:" >&5
17524 sed 's/^/| /' conftest.$ac_ext >&5
17526 ac_cv_type_fsfilcnt_t=no
17528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17530 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17531 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
17532 if test $ac_cv_type_fsfilcnt_t = yes; then
17534 cat >>confdefs.h <<_ACEOF
17535 #define HAVE_FSFILCNT_T 1
17536 _ACEOF
17541 echo "$as_me:$LINENO: checking for sigset_t" >&5
17542 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6
17543 if test "${ac_cv_type_sigset_t+set}" = set; then
17544 echo $ECHO_N "(cached) $ECHO_C" >&6
17545 else
17546 cat >conftest.$ac_ext <<_ACEOF
17547 /* confdefs.h. */
17548 _ACEOF
17549 cat confdefs.h >>conftest.$ac_ext
17550 cat >>conftest.$ac_ext <<_ACEOF
17551 /* end confdefs.h. */
17552 #include <signal.h>
17555 main ()
17557 if ((sigset_t *) 0)
17558 return 0;
17559 if (sizeof (sigset_t))
17560 return 0;
17562 return 0;
17564 _ACEOF
17565 rm -f conftest.$ac_objext
17566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17567 (eval $ac_compile) 2>conftest.er1
17568 ac_status=$?
17569 grep -v '^ *+' conftest.er1 >conftest.err
17570 rm -f conftest.er1
17571 cat conftest.err >&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); } &&
17574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17576 (eval $ac_try) 2>&5
17577 ac_status=$?
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); }; } &&
17580 { ac_try='test -s conftest.$ac_objext'
17581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17582 (eval $ac_try) 2>&5
17583 ac_status=$?
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); }; }; then
17586 ac_cv_type_sigset_t=yes
17587 else
17588 echo "$as_me: failed program was:" >&5
17589 sed 's/^/| /' conftest.$ac_ext >&5
17591 ac_cv_type_sigset_t=no
17593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17595 echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17596 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6
17597 if test $ac_cv_type_sigset_t = yes; then
17599 cat >>confdefs.h <<_ACEOF
17600 #define HAVE_SIGSET_T 1
17601 _ACEOF
17607 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17608 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17609 if test "${wine_cv_linux_input_h+set}" = set; then
17610 echo $ECHO_N "(cached) $ECHO_C" >&6
17611 else
17612 cat >conftest.$ac_ext <<_ACEOF
17613 /* confdefs.h. */
17614 _ACEOF
17615 cat confdefs.h >>conftest.$ac_ext
17616 cat >>conftest.$ac_ext <<_ACEOF
17617 /* end confdefs.h. */
17619 #include <linux/input.h>
17622 main ()
17625 int foo = EVIOCGBIT(EV_ABS,42);
17626 int bar = BTN_PINKIE;
17627 int fortytwo = 42;
17630 return 0;
17632 _ACEOF
17633 rm -f conftest.$ac_objext
17634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17635 (eval $ac_compile) 2>conftest.er1
17636 ac_status=$?
17637 grep -v '^ *+' conftest.er1 >conftest.err
17638 rm -f conftest.er1
17639 cat conftest.err >&5
17640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17641 (exit $ac_status); } &&
17642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17644 (eval $ac_try) 2>&5
17645 ac_status=$?
17646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17647 (exit $ac_status); }; } &&
17648 { ac_try='test -s conftest.$ac_objext'
17649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17650 (eval $ac_try) 2>&5
17651 ac_status=$?
17652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); }; }; then
17654 wine_cv_linux_input_h=yes
17655 else
17656 echo "$as_me: failed program was:" >&5
17657 sed 's/^/| /' conftest.$ac_ext >&5
17659 wine_cv_linux_input_h=no
17661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17664 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
17665 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
17666 if test "$wine_cv_linux_input_h" = "yes"
17667 then
17669 cat >>confdefs.h <<\_ACEOF
17670 #define HAVE_CORRECT_LINUXINPUT_H 1
17671 _ACEOF
17675 echo "$as_me:$LINENO: checking for sigaddset" >&5
17676 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6
17677 if test "${wine_cv_have_sigaddset+set}" = set; then
17678 echo $ECHO_N "(cached) $ECHO_C" >&6
17679 else
17680 cat >conftest.$ac_ext <<_ACEOF
17681 /* confdefs.h. */
17682 _ACEOF
17683 cat confdefs.h >>conftest.$ac_ext
17684 cat >>conftest.$ac_ext <<_ACEOF
17685 /* end confdefs.h. */
17686 #include <signal.h>
17688 main ()
17690 sigset_t set; sigaddset(&set,SIGTERM);
17692 return 0;
17694 _ACEOF
17695 rm -f conftest.$ac_objext conftest$ac_exeext
17696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17697 (eval $ac_link) 2>conftest.er1
17698 ac_status=$?
17699 grep -v '^ *+' conftest.er1 >conftest.err
17700 rm -f conftest.er1
17701 cat conftest.err >&5
17702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17703 (exit $ac_status); } &&
17704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17706 (eval $ac_try) 2>&5
17707 ac_status=$?
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); }; } &&
17710 { ac_try='test -s conftest$ac_exeext'
17711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17712 (eval $ac_try) 2>&5
17713 ac_status=$?
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); }; }; then
17716 wine_cv_have_sigaddset=yes
17717 else
17718 echo "$as_me: failed program was:" >&5
17719 sed 's/^/| /' conftest.$ac_ext >&5
17721 wine_cv_have_sigaddset=no
17723 rm -f conftest.err conftest.$ac_objext \
17724 conftest$ac_exeext conftest.$ac_ext
17726 echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17727 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6
17728 if test "$wine_cv_have_sigaddset" = "yes"
17729 then
17731 cat >>confdefs.h <<\_ACEOF
17732 #define HAVE_SIGADDSET 1
17733 _ACEOF
17738 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17739 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
17740 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17741 echo $ECHO_N "(cached) $ECHO_C" >&6
17742 else
17743 cat >conftest.$ac_ext <<_ACEOF
17744 /* confdefs.h. */
17745 _ACEOF
17746 cat confdefs.h >>conftest.$ac_ext
17747 cat >>conftest.$ac_ext <<_ACEOF
17748 /* end confdefs.h. */
17750 #include <netdb.h>
17753 main ()
17756 char *name=NULL;
17757 struct hostent he;
17758 struct hostent *result;
17759 char *buf=NULL;
17760 int bufsize=0;
17761 int res,errnr;
17762 char *addr=NULL;
17763 int addrlen=0;
17764 int addrtype=0;
17765 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17766 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17769 return 0;
17771 _ACEOF
17772 rm -f conftest.$ac_objext conftest$ac_exeext
17773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17774 (eval $ac_link) 2>conftest.er1
17775 ac_status=$?
17776 grep -v '^ *+' conftest.er1 >conftest.err
17777 rm -f conftest.er1
17778 cat conftest.err >&5
17779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780 (exit $ac_status); } &&
17781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17783 (eval $ac_try) 2>&5
17784 ac_status=$?
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); }; } &&
17787 { ac_try='test -s conftest$ac_exeext'
17788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17789 (eval $ac_try) 2>&5
17790 ac_status=$?
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); }; }; then
17793 wine_cv_linux_gethostbyname_r_6=yes
17794 else
17795 echo "$as_me: failed program was:" >&5
17796 sed 's/^/| /' conftest.$ac_ext >&5
17798 wine_cv_linux_gethostbyname_r_6=no
17801 rm -f conftest.err conftest.$ac_objext \
17802 conftest$ac_exeext conftest.$ac_ext
17805 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17806 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
17807 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17808 then
17810 cat >>confdefs.h <<\_ACEOF
17811 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17812 _ACEOF
17816 if test "$ac_cv_header_linux_joystick_h" = "yes"
17817 then
17818 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17819 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
17820 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17821 echo $ECHO_N "(cached) $ECHO_C" >&6
17822 else
17823 cat >conftest.$ac_ext <<_ACEOF
17824 /* confdefs.h. */
17825 _ACEOF
17826 cat confdefs.h >>conftest.$ac_ext
17827 cat >>conftest.$ac_ext <<_ACEOF
17828 /* end confdefs.h. */
17830 #include <sys/ioctl.h>
17831 #include <linux/joystick.h>
17833 struct js_event blub;
17834 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17835 #error "no 2.2 header"
17836 #endif
17839 main ()
17841 /*empty*/
17843 return 0;
17845 _ACEOF
17846 rm -f conftest.$ac_objext
17847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17848 (eval $ac_compile) 2>conftest.er1
17849 ac_status=$?
17850 grep -v '^ *+' conftest.er1 >conftest.err
17851 rm -f conftest.er1
17852 cat conftest.err >&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); } &&
17855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17857 (eval $ac_try) 2>&5
17858 ac_status=$?
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); }; } &&
17861 { ac_try='test -s conftest.$ac_objext'
17862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17863 (eval $ac_try) 2>&5
17864 ac_status=$?
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); }; }; then
17867 wine_cv_linux_joystick_22_api=yes
17868 else
17869 echo "$as_me: failed program was:" >&5
17870 sed 's/^/| /' conftest.$ac_ext >&5
17872 wine_cv_linux_joystick_22_api=no
17874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17877 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17878 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
17879 if test "$wine_cv_linux_joystick_22_api" = "yes"
17880 then
17882 cat >>confdefs.h <<\_ACEOF
17883 #define HAVE_LINUX_22_JOYSTICK_API 1
17884 _ACEOF
17890 if test "$ac_cv_header_sys_vfs_h" = "yes"
17891 then
17892 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
17893 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
17894 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
17895 echo $ECHO_N "(cached) $ECHO_C" >&6
17896 else
17897 cat >conftest.$ac_ext <<_ACEOF
17898 /* confdefs.h. */
17899 _ACEOF
17900 cat confdefs.h >>conftest.$ac_ext
17901 cat >>conftest.$ac_ext <<_ACEOF
17902 /* end confdefs.h. */
17904 #include <sys/types.h>
17905 #ifdef HAVE_SYS_PARAM_H
17906 # include <sys/param.h>
17907 #endif
17908 #include <sys/vfs.h>
17911 main ()
17914 struct statfs stfs;
17916 memset(&stfs,0,sizeof(stfs));
17919 return 0;
17921 _ACEOF
17922 rm -f conftest.$ac_objext
17923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17924 (eval $ac_compile) 2>conftest.er1
17925 ac_status=$?
17926 grep -v '^ *+' conftest.er1 >conftest.err
17927 rm -f conftest.er1
17928 cat conftest.err >&5
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); } &&
17931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17933 (eval $ac_try) 2>&5
17934 ac_status=$?
17935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17936 (exit $ac_status); }; } &&
17937 { ac_try='test -s conftest.$ac_objext'
17938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17939 (eval $ac_try) 2>&5
17940 ac_status=$?
17941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942 (exit $ac_status); }; }; then
17943 wine_cv_sys_vfs_has_statfs=yes
17944 else
17945 echo "$as_me: failed program was:" >&5
17946 sed 's/^/| /' conftest.$ac_ext >&5
17948 wine_cv_sys_vfs_has_statfs=no
17951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17954 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
17955 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
17956 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
17957 then
17959 cat >>confdefs.h <<\_ACEOF
17960 #define STATFS_DEFINED_BY_SYS_VFS 1
17961 _ACEOF
17966 if test "$ac_cv_header_sys_statfs_h" = "yes"
17967 then
17968 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
17969 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
17970 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
17971 echo $ECHO_N "(cached) $ECHO_C" >&6
17972 else
17973 cat >conftest.$ac_ext <<_ACEOF
17974 /* confdefs.h. */
17975 _ACEOF
17976 cat confdefs.h >>conftest.$ac_ext
17977 cat >>conftest.$ac_ext <<_ACEOF
17978 /* end confdefs.h. */
17980 #include <sys/types.h>
17981 #ifdef HAVE_SYS_PARAM_H
17982 # include <sys/param.h>
17983 #endif
17984 #include <sys/statfs.h>
17987 main ()
17990 struct statfs stfs;
17993 return 0;
17995 _ACEOF
17996 rm -f conftest.$ac_objext
17997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17998 (eval $ac_compile) 2>conftest.er1
17999 ac_status=$?
18000 grep -v '^ *+' conftest.er1 >conftest.err
18001 rm -f conftest.er1
18002 cat conftest.err >&5
18003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004 (exit $ac_status); } &&
18005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18007 (eval $ac_try) 2>&5
18008 ac_status=$?
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); }; } &&
18011 { ac_try='test -s conftest.$ac_objext'
18012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18013 (eval $ac_try) 2>&5
18014 ac_status=$?
18015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016 (exit $ac_status); }; }; then
18017 wine_cv_sys_statfs_has_statfs=yes
18018 else
18019 echo "$as_me: failed program was:" >&5
18020 sed 's/^/| /' conftest.$ac_ext >&5
18022 wine_cv_sys_statfs_has_statfs=no
18025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18028 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
18029 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
18030 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
18031 then
18033 cat >>confdefs.h <<\_ACEOF
18034 #define STATFS_DEFINED_BY_SYS_STATFS 1
18035 _ACEOF
18040 if test "$ac_cv_header_sys_mount_h" = "yes"
18041 then
18042 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
18043 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
18044 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
18045 echo $ECHO_N "(cached) $ECHO_C" >&6
18046 else
18047 cat >conftest.$ac_ext <<_ACEOF
18048 /* confdefs.h. */
18049 _ACEOF
18050 cat confdefs.h >>conftest.$ac_ext
18051 cat >>conftest.$ac_ext <<_ACEOF
18052 /* end confdefs.h. */
18054 #include <sys/types.h>
18055 #ifdef HAVE_SYS_PARAM_H
18056 # include <sys/param.h>
18057 #endif
18058 #include <sys/mount.h>
18061 main ()
18064 struct statfs stfs;
18067 return 0;
18069 _ACEOF
18070 rm -f conftest.$ac_objext
18071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18072 (eval $ac_compile) 2>conftest.er1
18073 ac_status=$?
18074 grep -v '^ *+' conftest.er1 >conftest.err
18075 rm -f conftest.er1
18076 cat conftest.err >&5
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); } &&
18079 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18081 (eval $ac_try) 2>&5
18082 ac_status=$?
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); }; } &&
18085 { ac_try='test -s conftest.$ac_objext'
18086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18087 (eval $ac_try) 2>&5
18088 ac_status=$?
18089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18090 (exit $ac_status); }; }; then
18091 wine_cv_sys_mount_has_statfs=yes
18092 else
18093 echo "$as_me: failed program was:" >&5
18094 sed 's/^/| /' conftest.$ac_ext >&5
18096 wine_cv_sys_mount_has_statfs=no
18099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18102 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
18103 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
18104 if test "$wine_cv_sys_mount_has_statfs" = "yes"
18105 then
18107 cat >>confdefs.h <<\_ACEOF
18108 #define STATFS_DEFINED_BY_SYS_MOUNT 1
18109 _ACEOF
18115 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18116 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
18117 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18118 echo $ECHO_N "(cached) $ECHO_C" >&6
18119 else
18120 cat >conftest.$ac_ext <<_ACEOF
18121 /* confdefs.h. */
18122 _ACEOF
18123 cat confdefs.h >>conftest.$ac_ext
18124 cat >>conftest.$ac_ext <<_ACEOF
18125 /* end confdefs.h. */
18126 #include <sys/types.h>
18127 #ifdef HAVE_SYS_PARAM_H
18128 # include <sys/param.h>
18129 #endif
18130 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18131 # include <sys/mount.h>
18132 #else
18133 # ifdef STATFS_DEFINED_BY_SYS_VFS
18134 # include <sys/vfs.h>
18135 # else
18136 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18137 # include <sys/statfs.h>
18138 # endif
18139 # endif
18140 #endif
18143 main ()
18145 static struct statfs ac_aggr;
18146 if (ac_aggr.f_bfree)
18147 return 0;
18149 return 0;
18151 _ACEOF
18152 rm -f conftest.$ac_objext
18153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18154 (eval $ac_compile) 2>conftest.er1
18155 ac_status=$?
18156 grep -v '^ *+' conftest.er1 >conftest.err
18157 rm -f conftest.er1
18158 cat conftest.err >&5
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); } &&
18161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18163 (eval $ac_try) 2>&5
18164 ac_status=$?
18165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166 (exit $ac_status); }; } &&
18167 { ac_try='test -s conftest.$ac_objext'
18168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18169 (eval $ac_try) 2>&5
18170 ac_status=$?
18171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18172 (exit $ac_status); }; }; then
18173 ac_cv_member_struct_statfs_f_bfree=yes
18174 else
18175 echo "$as_me: failed program was:" >&5
18176 sed 's/^/| /' conftest.$ac_ext >&5
18178 cat >conftest.$ac_ext <<_ACEOF
18179 /* confdefs.h. */
18180 _ACEOF
18181 cat confdefs.h >>conftest.$ac_ext
18182 cat >>conftest.$ac_ext <<_ACEOF
18183 /* end confdefs.h. */
18184 #include <sys/types.h>
18185 #ifdef HAVE_SYS_PARAM_H
18186 # include <sys/param.h>
18187 #endif
18188 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18189 # include <sys/mount.h>
18190 #else
18191 # ifdef STATFS_DEFINED_BY_SYS_VFS
18192 # include <sys/vfs.h>
18193 # else
18194 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18195 # include <sys/statfs.h>
18196 # endif
18197 # endif
18198 #endif
18201 main ()
18203 static struct statfs ac_aggr;
18204 if (sizeof ac_aggr.f_bfree)
18205 return 0;
18207 return 0;
18209 _ACEOF
18210 rm -f conftest.$ac_objext
18211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18212 (eval $ac_compile) 2>conftest.er1
18213 ac_status=$?
18214 grep -v '^ *+' conftest.er1 >conftest.err
18215 rm -f conftest.er1
18216 cat conftest.err >&5
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); } &&
18219 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18221 (eval $ac_try) 2>&5
18222 ac_status=$?
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); }; } &&
18225 { ac_try='test -s conftest.$ac_objext'
18226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18227 (eval $ac_try) 2>&5
18228 ac_status=$?
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); }; }; then
18231 ac_cv_member_struct_statfs_f_bfree=yes
18232 else
18233 echo "$as_me: failed program was:" >&5
18234 sed 's/^/| /' conftest.$ac_ext >&5
18236 ac_cv_member_struct_statfs_f_bfree=no
18238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18242 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18243 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
18244 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18246 cat >>confdefs.h <<_ACEOF
18247 #define HAVE_STRUCT_STATFS_F_BFREE 1
18248 _ACEOF
18252 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18253 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
18254 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18255 echo $ECHO_N "(cached) $ECHO_C" >&6
18256 else
18257 cat >conftest.$ac_ext <<_ACEOF
18258 /* confdefs.h. */
18259 _ACEOF
18260 cat confdefs.h >>conftest.$ac_ext
18261 cat >>conftest.$ac_ext <<_ACEOF
18262 /* end confdefs.h. */
18263 #include <sys/types.h>
18264 #ifdef HAVE_SYS_PARAM_H
18265 # include <sys/param.h>
18266 #endif
18267 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18268 # include <sys/mount.h>
18269 #else
18270 # ifdef STATFS_DEFINED_BY_SYS_VFS
18271 # include <sys/vfs.h>
18272 # else
18273 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18274 # include <sys/statfs.h>
18275 # endif
18276 # endif
18277 #endif
18280 main ()
18282 static struct statfs ac_aggr;
18283 if (ac_aggr.f_bavail)
18284 return 0;
18286 return 0;
18288 _ACEOF
18289 rm -f conftest.$ac_objext
18290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18291 (eval $ac_compile) 2>conftest.er1
18292 ac_status=$?
18293 grep -v '^ *+' conftest.er1 >conftest.err
18294 rm -f conftest.er1
18295 cat conftest.err >&5
18296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18297 (exit $ac_status); } &&
18298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18300 (eval $ac_try) 2>&5
18301 ac_status=$?
18302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18303 (exit $ac_status); }; } &&
18304 { ac_try='test -s conftest.$ac_objext'
18305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18306 (eval $ac_try) 2>&5
18307 ac_status=$?
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); }; }; then
18310 ac_cv_member_struct_statfs_f_bavail=yes
18311 else
18312 echo "$as_me: failed program was:" >&5
18313 sed 's/^/| /' conftest.$ac_ext >&5
18315 cat >conftest.$ac_ext <<_ACEOF
18316 /* confdefs.h. */
18317 _ACEOF
18318 cat confdefs.h >>conftest.$ac_ext
18319 cat >>conftest.$ac_ext <<_ACEOF
18320 /* end confdefs.h. */
18321 #include <sys/types.h>
18322 #ifdef HAVE_SYS_PARAM_H
18323 # include <sys/param.h>
18324 #endif
18325 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18326 # include <sys/mount.h>
18327 #else
18328 # ifdef STATFS_DEFINED_BY_SYS_VFS
18329 # include <sys/vfs.h>
18330 # else
18331 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18332 # include <sys/statfs.h>
18333 # endif
18334 # endif
18335 #endif
18338 main ()
18340 static struct statfs ac_aggr;
18341 if (sizeof ac_aggr.f_bavail)
18342 return 0;
18344 return 0;
18346 _ACEOF
18347 rm -f conftest.$ac_objext
18348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18349 (eval $ac_compile) 2>conftest.er1
18350 ac_status=$?
18351 grep -v '^ *+' conftest.er1 >conftest.err
18352 rm -f conftest.er1
18353 cat conftest.err >&5
18354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18355 (exit $ac_status); } &&
18356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18358 (eval $ac_try) 2>&5
18359 ac_status=$?
18360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); }; } &&
18362 { ac_try='test -s conftest.$ac_objext'
18363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18364 (eval $ac_try) 2>&5
18365 ac_status=$?
18366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367 (exit $ac_status); }; }; then
18368 ac_cv_member_struct_statfs_f_bavail=yes
18369 else
18370 echo "$as_me: failed program was:" >&5
18371 sed 's/^/| /' conftest.$ac_ext >&5
18373 ac_cv_member_struct_statfs_f_bavail=no
18375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18379 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18380 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18381 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18383 cat >>confdefs.h <<_ACEOF
18384 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18385 _ACEOF
18389 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18390 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
18391 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18392 echo $ECHO_N "(cached) $ECHO_C" >&6
18393 else
18394 cat >conftest.$ac_ext <<_ACEOF
18395 /* confdefs.h. */
18396 _ACEOF
18397 cat confdefs.h >>conftest.$ac_ext
18398 cat >>conftest.$ac_ext <<_ACEOF
18399 /* end confdefs.h. */
18400 #include <sys/types.h>
18401 #ifdef HAVE_SYS_PARAM_H
18402 # include <sys/param.h>
18403 #endif
18404 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18405 # include <sys/mount.h>
18406 #else
18407 # ifdef STATFS_DEFINED_BY_SYS_VFS
18408 # include <sys/vfs.h>
18409 # else
18410 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18411 # include <sys/statfs.h>
18412 # endif
18413 # endif
18414 #endif
18417 main ()
18419 static struct statfs ac_aggr;
18420 if (ac_aggr.f_frsize)
18421 return 0;
18423 return 0;
18425 _ACEOF
18426 rm -f conftest.$ac_objext
18427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18428 (eval $ac_compile) 2>conftest.er1
18429 ac_status=$?
18430 grep -v '^ *+' conftest.er1 >conftest.err
18431 rm -f conftest.er1
18432 cat conftest.err >&5
18433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18434 (exit $ac_status); } &&
18435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18437 (eval $ac_try) 2>&5
18438 ac_status=$?
18439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18440 (exit $ac_status); }; } &&
18441 { ac_try='test -s conftest.$ac_objext'
18442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18443 (eval $ac_try) 2>&5
18444 ac_status=$?
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); }; }; then
18447 ac_cv_member_struct_statfs_f_frsize=yes
18448 else
18449 echo "$as_me: failed program was:" >&5
18450 sed 's/^/| /' conftest.$ac_ext >&5
18452 cat >conftest.$ac_ext <<_ACEOF
18453 /* confdefs.h. */
18454 _ACEOF
18455 cat confdefs.h >>conftest.$ac_ext
18456 cat >>conftest.$ac_ext <<_ACEOF
18457 /* end confdefs.h. */
18458 #include <sys/types.h>
18459 #ifdef HAVE_SYS_PARAM_H
18460 # include <sys/param.h>
18461 #endif
18462 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18463 # include <sys/mount.h>
18464 #else
18465 # ifdef STATFS_DEFINED_BY_SYS_VFS
18466 # include <sys/vfs.h>
18467 # else
18468 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18469 # include <sys/statfs.h>
18470 # endif
18471 # endif
18472 #endif
18475 main ()
18477 static struct statfs ac_aggr;
18478 if (sizeof ac_aggr.f_frsize)
18479 return 0;
18481 return 0;
18483 _ACEOF
18484 rm -f conftest.$ac_objext
18485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18486 (eval $ac_compile) 2>conftest.er1
18487 ac_status=$?
18488 grep -v '^ *+' conftest.er1 >conftest.err
18489 rm -f conftest.er1
18490 cat conftest.err >&5
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); } &&
18493 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18495 (eval $ac_try) 2>&5
18496 ac_status=$?
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); }; } &&
18499 { ac_try='test -s conftest.$ac_objext'
18500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18501 (eval $ac_try) 2>&5
18502 ac_status=$?
18503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504 (exit $ac_status); }; }; then
18505 ac_cv_member_struct_statfs_f_frsize=yes
18506 else
18507 echo "$as_me: failed program was:" >&5
18508 sed 's/^/| /' conftest.$ac_ext >&5
18510 ac_cv_member_struct_statfs_f_frsize=no
18512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18516 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18517 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
18518 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18520 cat >>confdefs.h <<_ACEOF
18521 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18522 _ACEOF
18526 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18527 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
18528 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18529 echo $ECHO_N "(cached) $ECHO_C" >&6
18530 else
18531 cat >conftest.$ac_ext <<_ACEOF
18532 /* confdefs.h. */
18533 _ACEOF
18534 cat confdefs.h >>conftest.$ac_ext
18535 cat >>conftest.$ac_ext <<_ACEOF
18536 /* end confdefs.h. */
18537 #include <sys/types.h>
18538 #ifdef HAVE_SYS_PARAM_H
18539 # include <sys/param.h>
18540 #endif
18541 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18542 # include <sys/mount.h>
18543 #else
18544 # ifdef STATFS_DEFINED_BY_SYS_VFS
18545 # include <sys/vfs.h>
18546 # else
18547 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18548 # include <sys/statfs.h>
18549 # endif
18550 # endif
18551 #endif
18554 main ()
18556 static struct statfs ac_aggr;
18557 if (ac_aggr.f_ffree)
18558 return 0;
18560 return 0;
18562 _ACEOF
18563 rm -f conftest.$ac_objext
18564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18565 (eval $ac_compile) 2>conftest.er1
18566 ac_status=$?
18567 grep -v '^ *+' conftest.er1 >conftest.err
18568 rm -f conftest.er1
18569 cat conftest.err >&5
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); } &&
18572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18574 (eval $ac_try) 2>&5
18575 ac_status=$?
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); }; } &&
18578 { ac_try='test -s conftest.$ac_objext'
18579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18580 (eval $ac_try) 2>&5
18581 ac_status=$?
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); }; }; then
18584 ac_cv_member_struct_statfs_f_ffree=yes
18585 else
18586 echo "$as_me: failed program was:" >&5
18587 sed 's/^/| /' conftest.$ac_ext >&5
18589 cat >conftest.$ac_ext <<_ACEOF
18590 /* confdefs.h. */
18591 _ACEOF
18592 cat confdefs.h >>conftest.$ac_ext
18593 cat >>conftest.$ac_ext <<_ACEOF
18594 /* end confdefs.h. */
18595 #include <sys/types.h>
18596 #ifdef HAVE_SYS_PARAM_H
18597 # include <sys/param.h>
18598 #endif
18599 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18600 # include <sys/mount.h>
18601 #else
18602 # ifdef STATFS_DEFINED_BY_SYS_VFS
18603 # include <sys/vfs.h>
18604 # else
18605 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18606 # include <sys/statfs.h>
18607 # endif
18608 # endif
18609 #endif
18612 main ()
18614 static struct statfs ac_aggr;
18615 if (sizeof ac_aggr.f_ffree)
18616 return 0;
18618 return 0;
18620 _ACEOF
18621 rm -f conftest.$ac_objext
18622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18623 (eval $ac_compile) 2>conftest.er1
18624 ac_status=$?
18625 grep -v '^ *+' conftest.er1 >conftest.err
18626 rm -f conftest.er1
18627 cat conftest.err >&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); } &&
18630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18632 (eval $ac_try) 2>&5
18633 ac_status=$?
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); }; } &&
18636 { ac_try='test -s conftest.$ac_objext'
18637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18638 (eval $ac_try) 2>&5
18639 ac_status=$?
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); }; }; then
18642 ac_cv_member_struct_statfs_f_ffree=yes
18643 else
18644 echo "$as_me: failed program was:" >&5
18645 sed 's/^/| /' conftest.$ac_ext >&5
18647 ac_cv_member_struct_statfs_f_ffree=no
18649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18653 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18654 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
18655 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18657 cat >>confdefs.h <<_ACEOF
18658 #define HAVE_STRUCT_STATFS_F_FFREE 1
18659 _ACEOF
18663 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18664 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
18665 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18666 echo $ECHO_N "(cached) $ECHO_C" >&6
18667 else
18668 cat >conftest.$ac_ext <<_ACEOF
18669 /* confdefs.h. */
18670 _ACEOF
18671 cat confdefs.h >>conftest.$ac_ext
18672 cat >>conftest.$ac_ext <<_ACEOF
18673 /* end confdefs.h. */
18674 #include <sys/types.h>
18675 #ifdef HAVE_SYS_PARAM_H
18676 # include <sys/param.h>
18677 #endif
18678 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18679 # include <sys/mount.h>
18680 #else
18681 # ifdef STATFS_DEFINED_BY_SYS_VFS
18682 # include <sys/vfs.h>
18683 # else
18684 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18685 # include <sys/statfs.h>
18686 # endif
18687 # endif
18688 #endif
18691 main ()
18693 static struct statfs ac_aggr;
18694 if (ac_aggr.f_favail)
18695 return 0;
18697 return 0;
18699 _ACEOF
18700 rm -f conftest.$ac_objext
18701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18702 (eval $ac_compile) 2>conftest.er1
18703 ac_status=$?
18704 grep -v '^ *+' conftest.er1 >conftest.err
18705 rm -f conftest.er1
18706 cat conftest.err >&5
18707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708 (exit $ac_status); } &&
18709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18711 (eval $ac_try) 2>&5
18712 ac_status=$?
18713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18714 (exit $ac_status); }; } &&
18715 { ac_try='test -s conftest.$ac_objext'
18716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18717 (eval $ac_try) 2>&5
18718 ac_status=$?
18719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18720 (exit $ac_status); }; }; then
18721 ac_cv_member_struct_statfs_f_favail=yes
18722 else
18723 echo "$as_me: failed program was:" >&5
18724 sed 's/^/| /' conftest.$ac_ext >&5
18726 cat >conftest.$ac_ext <<_ACEOF
18727 /* confdefs.h. */
18728 _ACEOF
18729 cat confdefs.h >>conftest.$ac_ext
18730 cat >>conftest.$ac_ext <<_ACEOF
18731 /* end confdefs.h. */
18732 #include <sys/types.h>
18733 #ifdef HAVE_SYS_PARAM_H
18734 # include <sys/param.h>
18735 #endif
18736 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18737 # include <sys/mount.h>
18738 #else
18739 # ifdef STATFS_DEFINED_BY_SYS_VFS
18740 # include <sys/vfs.h>
18741 # else
18742 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18743 # include <sys/statfs.h>
18744 # endif
18745 # endif
18746 #endif
18749 main ()
18751 static struct statfs ac_aggr;
18752 if (sizeof ac_aggr.f_favail)
18753 return 0;
18755 return 0;
18757 _ACEOF
18758 rm -f conftest.$ac_objext
18759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18760 (eval $ac_compile) 2>conftest.er1
18761 ac_status=$?
18762 grep -v '^ *+' conftest.er1 >conftest.err
18763 rm -f conftest.er1
18764 cat conftest.err >&5
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); } &&
18767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18769 (eval $ac_try) 2>&5
18770 ac_status=$?
18771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18772 (exit $ac_status); }; } &&
18773 { ac_try='test -s conftest.$ac_objext'
18774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18775 (eval $ac_try) 2>&5
18776 ac_status=$?
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); }; }; then
18779 ac_cv_member_struct_statfs_f_favail=yes
18780 else
18781 echo "$as_me: failed program was:" >&5
18782 sed 's/^/| /' conftest.$ac_ext >&5
18784 ac_cv_member_struct_statfs_f_favail=no
18786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18790 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18791 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
18792 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18794 cat >>confdefs.h <<_ACEOF
18795 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18796 _ACEOF
18800 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18801 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
18802 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18803 echo $ECHO_N "(cached) $ECHO_C" >&6
18804 else
18805 cat >conftest.$ac_ext <<_ACEOF
18806 /* confdefs.h. */
18807 _ACEOF
18808 cat confdefs.h >>conftest.$ac_ext
18809 cat >>conftest.$ac_ext <<_ACEOF
18810 /* end confdefs.h. */
18811 #include <sys/types.h>
18812 #ifdef HAVE_SYS_PARAM_H
18813 # include <sys/param.h>
18814 #endif
18815 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18816 # include <sys/mount.h>
18817 #else
18818 # ifdef STATFS_DEFINED_BY_SYS_VFS
18819 # include <sys/vfs.h>
18820 # else
18821 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18822 # include <sys/statfs.h>
18823 # endif
18824 # endif
18825 #endif
18828 main ()
18830 static struct statfs ac_aggr;
18831 if (ac_aggr.f_namelen)
18832 return 0;
18834 return 0;
18836 _ACEOF
18837 rm -f conftest.$ac_objext
18838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18839 (eval $ac_compile) 2>conftest.er1
18840 ac_status=$?
18841 grep -v '^ *+' conftest.er1 >conftest.err
18842 rm -f conftest.er1
18843 cat conftest.err >&5
18844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18845 (exit $ac_status); } &&
18846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18848 (eval $ac_try) 2>&5
18849 ac_status=$?
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); }; } &&
18852 { ac_try='test -s conftest.$ac_objext'
18853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18854 (eval $ac_try) 2>&5
18855 ac_status=$?
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); }; }; then
18858 ac_cv_member_struct_statfs_f_namelen=yes
18859 else
18860 echo "$as_me: failed program was:" >&5
18861 sed 's/^/| /' conftest.$ac_ext >&5
18863 cat >conftest.$ac_ext <<_ACEOF
18864 /* confdefs.h. */
18865 _ACEOF
18866 cat confdefs.h >>conftest.$ac_ext
18867 cat >>conftest.$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18869 #include <sys/types.h>
18870 #ifdef HAVE_SYS_PARAM_H
18871 # include <sys/param.h>
18872 #endif
18873 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18874 # include <sys/mount.h>
18875 #else
18876 # ifdef STATFS_DEFINED_BY_SYS_VFS
18877 # include <sys/vfs.h>
18878 # else
18879 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18880 # include <sys/statfs.h>
18881 # endif
18882 # endif
18883 #endif
18886 main ()
18888 static struct statfs ac_aggr;
18889 if (sizeof ac_aggr.f_namelen)
18890 return 0;
18892 return 0;
18894 _ACEOF
18895 rm -f conftest.$ac_objext
18896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18897 (eval $ac_compile) 2>conftest.er1
18898 ac_status=$?
18899 grep -v '^ *+' conftest.er1 >conftest.err
18900 rm -f conftest.er1
18901 cat conftest.err >&5
18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); } &&
18904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18906 (eval $ac_try) 2>&5
18907 ac_status=$?
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); }; } &&
18910 { ac_try='test -s conftest.$ac_objext'
18911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18912 (eval $ac_try) 2>&5
18913 ac_status=$?
18914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18915 (exit $ac_status); }; }; then
18916 ac_cv_member_struct_statfs_f_namelen=yes
18917 else
18918 echo "$as_me: failed program was:" >&5
18919 sed 's/^/| /' conftest.$ac_ext >&5
18921 ac_cv_member_struct_statfs_f_namelen=no
18923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18927 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18928 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
18929 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18931 cat >>confdefs.h <<_ACEOF
18932 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18933 _ACEOF
18939 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18940 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
18941 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18942 echo $ECHO_N "(cached) $ECHO_C" >&6
18943 else
18944 cat >conftest.$ac_ext <<_ACEOF
18945 /* confdefs.h. */
18946 _ACEOF
18947 cat confdefs.h >>conftest.$ac_ext
18948 cat >>conftest.$ac_ext <<_ACEOF
18949 /* end confdefs.h. */
18950 #ifdef HAVE_SYS_STATVFS_H
18951 #include <sys/statvfs.h>
18952 #endif
18955 main ()
18957 static struct statvfs ac_aggr;
18958 if (ac_aggr.f_blocks)
18959 return 0;
18961 return 0;
18963 _ACEOF
18964 rm -f conftest.$ac_objext
18965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18966 (eval $ac_compile) 2>conftest.er1
18967 ac_status=$?
18968 grep -v '^ *+' conftest.er1 >conftest.err
18969 rm -f conftest.er1
18970 cat conftest.err >&5
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); } &&
18973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18975 (eval $ac_try) 2>&5
18976 ac_status=$?
18977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978 (exit $ac_status); }; } &&
18979 { ac_try='test -s conftest.$ac_objext'
18980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18981 (eval $ac_try) 2>&5
18982 ac_status=$?
18983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18984 (exit $ac_status); }; }; then
18985 ac_cv_member_struct_statvfs_f_blocks=yes
18986 else
18987 echo "$as_me: failed program was:" >&5
18988 sed 's/^/| /' conftest.$ac_ext >&5
18990 cat >conftest.$ac_ext <<_ACEOF
18991 /* confdefs.h. */
18992 _ACEOF
18993 cat confdefs.h >>conftest.$ac_ext
18994 cat >>conftest.$ac_ext <<_ACEOF
18995 /* end confdefs.h. */
18996 #ifdef HAVE_SYS_STATVFS_H
18997 #include <sys/statvfs.h>
18998 #endif
19001 main ()
19003 static struct statvfs ac_aggr;
19004 if (sizeof ac_aggr.f_blocks)
19005 return 0;
19007 return 0;
19009 _ACEOF
19010 rm -f conftest.$ac_objext
19011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19012 (eval $ac_compile) 2>conftest.er1
19013 ac_status=$?
19014 grep -v '^ *+' conftest.er1 >conftest.err
19015 rm -f conftest.er1
19016 cat conftest.err >&5
19017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19018 (exit $ac_status); } &&
19019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19021 (eval $ac_try) 2>&5
19022 ac_status=$?
19023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19024 (exit $ac_status); }; } &&
19025 { ac_try='test -s conftest.$ac_objext'
19026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19027 (eval $ac_try) 2>&5
19028 ac_status=$?
19029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030 (exit $ac_status); }; }; then
19031 ac_cv_member_struct_statvfs_f_blocks=yes
19032 else
19033 echo "$as_me: failed program was:" >&5
19034 sed 's/^/| /' conftest.$ac_ext >&5
19036 ac_cv_member_struct_statvfs_f_blocks=no
19038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19042 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19043 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
19044 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19046 cat >>confdefs.h <<_ACEOF
19047 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19048 _ACEOF
19054 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19055 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
19056 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19057 echo $ECHO_N "(cached) $ECHO_C" >&6
19058 else
19059 cat >conftest.$ac_ext <<_ACEOF
19060 /* confdefs.h. */
19061 _ACEOF
19062 cat confdefs.h >>conftest.$ac_ext
19063 cat >>conftest.$ac_ext <<_ACEOF
19064 /* end confdefs.h. */
19065 #include <sys/types.h>
19066 #ifdef HAVE_SYS_SOCKET_H
19067 # include <sys/socket.h>
19068 #endif
19069 #ifdef HAVE_SYS_UN_H
19070 # include <sys/un.h>
19071 #endif
19074 main ()
19076 static struct msghdr ac_aggr;
19077 if (ac_aggr.msg_accrights)
19078 return 0;
19080 return 0;
19082 _ACEOF
19083 rm -f conftest.$ac_objext
19084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19085 (eval $ac_compile) 2>conftest.er1
19086 ac_status=$?
19087 grep -v '^ *+' conftest.er1 >conftest.err
19088 rm -f conftest.er1
19089 cat conftest.err >&5
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); } &&
19092 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19094 (eval $ac_try) 2>&5
19095 ac_status=$?
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); }; } &&
19098 { ac_try='test -s conftest.$ac_objext'
19099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19100 (eval $ac_try) 2>&5
19101 ac_status=$?
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); }; }; then
19104 ac_cv_member_struct_msghdr_msg_accrights=yes
19105 else
19106 echo "$as_me: failed program was:" >&5
19107 sed 's/^/| /' conftest.$ac_ext >&5
19109 cat >conftest.$ac_ext <<_ACEOF
19110 /* confdefs.h. */
19111 _ACEOF
19112 cat confdefs.h >>conftest.$ac_ext
19113 cat >>conftest.$ac_ext <<_ACEOF
19114 /* end confdefs.h. */
19115 #include <sys/types.h>
19116 #ifdef HAVE_SYS_SOCKET_H
19117 # include <sys/socket.h>
19118 #endif
19119 #ifdef HAVE_SYS_UN_H
19120 # include <sys/un.h>
19121 #endif
19124 main ()
19126 static struct msghdr ac_aggr;
19127 if (sizeof ac_aggr.msg_accrights)
19128 return 0;
19130 return 0;
19132 _ACEOF
19133 rm -f conftest.$ac_objext
19134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19135 (eval $ac_compile) 2>conftest.er1
19136 ac_status=$?
19137 grep -v '^ *+' conftest.er1 >conftest.err
19138 rm -f conftest.er1
19139 cat conftest.err >&5
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); } &&
19142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19144 (eval $ac_try) 2>&5
19145 ac_status=$?
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); }; } &&
19148 { ac_try='test -s conftest.$ac_objext'
19149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19150 (eval $ac_try) 2>&5
19151 ac_status=$?
19152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153 (exit $ac_status); }; }; then
19154 ac_cv_member_struct_msghdr_msg_accrights=yes
19155 else
19156 echo "$as_me: failed program was:" >&5
19157 sed 's/^/| /' conftest.$ac_ext >&5
19159 ac_cv_member_struct_msghdr_msg_accrights=no
19161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19165 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19166 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
19167 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19169 cat >>confdefs.h <<_ACEOF
19170 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19171 _ACEOF
19175 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19176 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
19177 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19178 echo $ECHO_N "(cached) $ECHO_C" >&6
19179 else
19180 cat >conftest.$ac_ext <<_ACEOF
19181 /* confdefs.h. */
19182 _ACEOF
19183 cat confdefs.h >>conftest.$ac_ext
19184 cat >>conftest.$ac_ext <<_ACEOF
19185 /* end confdefs.h. */
19186 #include <sys/types.h>
19187 #ifdef HAVE_SYS_SOCKET_H
19188 # include <sys/socket.h>
19189 #endif
19190 #ifdef HAVE_SYS_UN_H
19191 # include <sys/un.h>
19192 #endif
19195 main ()
19197 static struct sockaddr ac_aggr;
19198 if (ac_aggr.sa_len)
19199 return 0;
19201 return 0;
19203 _ACEOF
19204 rm -f conftest.$ac_objext
19205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19206 (eval $ac_compile) 2>conftest.er1
19207 ac_status=$?
19208 grep -v '^ *+' conftest.er1 >conftest.err
19209 rm -f conftest.er1
19210 cat conftest.err >&5
19211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19212 (exit $ac_status); } &&
19213 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19215 (eval $ac_try) 2>&5
19216 ac_status=$?
19217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19218 (exit $ac_status); }; } &&
19219 { ac_try='test -s conftest.$ac_objext'
19220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19221 (eval $ac_try) 2>&5
19222 ac_status=$?
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224 (exit $ac_status); }; }; then
19225 ac_cv_member_struct_sockaddr_sa_len=yes
19226 else
19227 echo "$as_me: failed program was:" >&5
19228 sed 's/^/| /' conftest.$ac_ext >&5
19230 cat >conftest.$ac_ext <<_ACEOF
19231 /* confdefs.h. */
19232 _ACEOF
19233 cat confdefs.h >>conftest.$ac_ext
19234 cat >>conftest.$ac_ext <<_ACEOF
19235 /* end confdefs.h. */
19236 #include <sys/types.h>
19237 #ifdef HAVE_SYS_SOCKET_H
19238 # include <sys/socket.h>
19239 #endif
19240 #ifdef HAVE_SYS_UN_H
19241 # include <sys/un.h>
19242 #endif
19245 main ()
19247 static struct sockaddr ac_aggr;
19248 if (sizeof ac_aggr.sa_len)
19249 return 0;
19251 return 0;
19253 _ACEOF
19254 rm -f conftest.$ac_objext
19255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19256 (eval $ac_compile) 2>conftest.er1
19257 ac_status=$?
19258 grep -v '^ *+' conftest.er1 >conftest.err
19259 rm -f conftest.er1
19260 cat conftest.err >&5
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); } &&
19263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19265 (eval $ac_try) 2>&5
19266 ac_status=$?
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); }; } &&
19269 { ac_try='test -s conftest.$ac_objext'
19270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19271 (eval $ac_try) 2>&5
19272 ac_status=$?
19273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19274 (exit $ac_status); }; }; then
19275 ac_cv_member_struct_sockaddr_sa_len=yes
19276 else
19277 echo "$as_me: failed program was:" >&5
19278 sed 's/^/| /' conftest.$ac_ext >&5
19280 ac_cv_member_struct_sockaddr_sa_len=no
19282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19286 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19287 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
19288 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19290 cat >>confdefs.h <<_ACEOF
19291 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19292 _ACEOF
19296 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19297 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
19298 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19299 echo $ECHO_N "(cached) $ECHO_C" >&6
19300 else
19301 cat >conftest.$ac_ext <<_ACEOF
19302 /* confdefs.h. */
19303 _ACEOF
19304 cat confdefs.h >>conftest.$ac_ext
19305 cat >>conftest.$ac_ext <<_ACEOF
19306 /* end confdefs.h. */
19307 #include <sys/types.h>
19308 #ifdef HAVE_SYS_SOCKET_H
19309 # include <sys/socket.h>
19310 #endif
19311 #ifdef HAVE_SYS_UN_H
19312 # include <sys/un.h>
19313 #endif
19316 main ()
19318 static struct sockaddr_un ac_aggr;
19319 if (ac_aggr.sun_len)
19320 return 0;
19322 return 0;
19324 _ACEOF
19325 rm -f conftest.$ac_objext
19326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19327 (eval $ac_compile) 2>conftest.er1
19328 ac_status=$?
19329 grep -v '^ *+' conftest.er1 >conftest.err
19330 rm -f conftest.er1
19331 cat conftest.err >&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); } &&
19334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19336 (eval $ac_try) 2>&5
19337 ac_status=$?
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); }; } &&
19340 { ac_try='test -s conftest.$ac_objext'
19341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19342 (eval $ac_try) 2>&5
19343 ac_status=$?
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346 ac_cv_member_struct_sockaddr_un_sun_len=yes
19347 else
19348 echo "$as_me: failed program was:" >&5
19349 sed 's/^/| /' conftest.$ac_ext >&5
19351 cat >conftest.$ac_ext <<_ACEOF
19352 /* confdefs.h. */
19353 _ACEOF
19354 cat confdefs.h >>conftest.$ac_ext
19355 cat >>conftest.$ac_ext <<_ACEOF
19356 /* end confdefs.h. */
19357 #include <sys/types.h>
19358 #ifdef HAVE_SYS_SOCKET_H
19359 # include <sys/socket.h>
19360 #endif
19361 #ifdef HAVE_SYS_UN_H
19362 # include <sys/un.h>
19363 #endif
19366 main ()
19368 static struct sockaddr_un ac_aggr;
19369 if (sizeof ac_aggr.sun_len)
19370 return 0;
19372 return 0;
19374 _ACEOF
19375 rm -f conftest.$ac_objext
19376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19377 (eval $ac_compile) 2>conftest.er1
19378 ac_status=$?
19379 grep -v '^ *+' conftest.er1 >conftest.err
19380 rm -f conftest.er1
19381 cat conftest.err >&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); } &&
19384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19386 (eval $ac_try) 2>&5
19387 ac_status=$?
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); }; } &&
19390 { ac_try='test -s conftest.$ac_objext'
19391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19392 (eval $ac_try) 2>&5
19393 ac_status=$?
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); }; }; then
19396 ac_cv_member_struct_sockaddr_un_sun_len=yes
19397 else
19398 echo "$as_me: failed program was:" >&5
19399 sed 's/^/| /' conftest.$ac_ext >&5
19401 ac_cv_member_struct_sockaddr_un_sun_len=no
19403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19407 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19408 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
19409 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19411 cat >>confdefs.h <<_ACEOF
19412 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19413 _ACEOF
19419 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19420 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
19421 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19422 echo $ECHO_N "(cached) $ECHO_C" >&6
19423 else
19424 cat >conftest.$ac_ext <<_ACEOF
19425 /* confdefs.h. */
19426 _ACEOF
19427 cat confdefs.h >>conftest.$ac_ext
19428 cat >>conftest.$ac_ext <<_ACEOF
19429 /* end confdefs.h. */
19430 #include <signal.h>
19433 main ()
19435 static siginfo_t ac_aggr;
19436 if (ac_aggr.si_fd)
19437 return 0;
19439 return 0;
19441 _ACEOF
19442 rm -f conftest.$ac_objext
19443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19444 (eval $ac_compile) 2>conftest.er1
19445 ac_status=$?
19446 grep -v '^ *+' conftest.er1 >conftest.err
19447 rm -f conftest.er1
19448 cat conftest.err >&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); } &&
19451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19453 (eval $ac_try) 2>&5
19454 ac_status=$?
19455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19456 (exit $ac_status); }; } &&
19457 { ac_try='test -s conftest.$ac_objext'
19458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19459 (eval $ac_try) 2>&5
19460 ac_status=$?
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); }; }; then
19463 ac_cv_member_siginfo_t_si_fd=yes
19464 else
19465 echo "$as_me: failed program was:" >&5
19466 sed 's/^/| /' conftest.$ac_ext >&5
19468 cat >conftest.$ac_ext <<_ACEOF
19469 /* confdefs.h. */
19470 _ACEOF
19471 cat confdefs.h >>conftest.$ac_ext
19472 cat >>conftest.$ac_ext <<_ACEOF
19473 /* end confdefs.h. */
19474 #include <signal.h>
19477 main ()
19479 static siginfo_t ac_aggr;
19480 if (sizeof ac_aggr.si_fd)
19481 return 0;
19483 return 0;
19485 _ACEOF
19486 rm -f conftest.$ac_objext
19487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19488 (eval $ac_compile) 2>conftest.er1
19489 ac_status=$?
19490 grep -v '^ *+' conftest.er1 >conftest.err
19491 rm -f conftest.er1
19492 cat conftest.err >&5
19493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19494 (exit $ac_status); } &&
19495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19497 (eval $ac_try) 2>&5
19498 ac_status=$?
19499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19500 (exit $ac_status); }; } &&
19501 { ac_try='test -s conftest.$ac_objext'
19502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19503 (eval $ac_try) 2>&5
19504 ac_status=$?
19505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19506 (exit $ac_status); }; }; then
19507 ac_cv_member_siginfo_t_si_fd=yes
19508 else
19509 echo "$as_me: failed program was:" >&5
19510 sed 's/^/| /' conftest.$ac_ext >&5
19512 ac_cv_member_siginfo_t_si_fd=no
19514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19518 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19519 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
19520 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19522 cat >>confdefs.h <<_ACEOF
19523 #define HAVE_SIGINFO_T_SI_FD 1
19524 _ACEOF
19530 echo "$as_me:$LINENO: checking for struct option.name" >&5
19531 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19532 if test "${ac_cv_member_struct_option_name+set}" = set; then
19533 echo $ECHO_N "(cached) $ECHO_C" >&6
19534 else
19535 cat >conftest.$ac_ext <<_ACEOF
19536 /* confdefs.h. */
19537 _ACEOF
19538 cat confdefs.h >>conftest.$ac_ext
19539 cat >>conftest.$ac_ext <<_ACEOF
19540 /* end confdefs.h. */
19541 #ifdef HAVE_GETOPT_H
19542 #include <getopt.h>
19543 #endif
19546 main ()
19548 static struct option ac_aggr;
19549 if (ac_aggr.name)
19550 return 0;
19552 return 0;
19554 _ACEOF
19555 rm -f conftest.$ac_objext
19556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19557 (eval $ac_compile) 2>conftest.er1
19558 ac_status=$?
19559 grep -v '^ *+' conftest.er1 >conftest.err
19560 rm -f conftest.er1
19561 cat conftest.err >&5
19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); } &&
19564 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19566 (eval $ac_try) 2>&5
19567 ac_status=$?
19568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 (exit $ac_status); }; } &&
19570 { ac_try='test -s conftest.$ac_objext'
19571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19572 (eval $ac_try) 2>&5
19573 ac_status=$?
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); }; }; then
19576 ac_cv_member_struct_option_name=yes
19577 else
19578 echo "$as_me: failed program was:" >&5
19579 sed 's/^/| /' conftest.$ac_ext >&5
19581 cat >conftest.$ac_ext <<_ACEOF
19582 /* confdefs.h. */
19583 _ACEOF
19584 cat confdefs.h >>conftest.$ac_ext
19585 cat >>conftest.$ac_ext <<_ACEOF
19586 /* end confdefs.h. */
19587 #ifdef HAVE_GETOPT_H
19588 #include <getopt.h>
19589 #endif
19592 main ()
19594 static struct option ac_aggr;
19595 if (sizeof ac_aggr.name)
19596 return 0;
19598 return 0;
19600 _ACEOF
19601 rm -f conftest.$ac_objext
19602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19603 (eval $ac_compile) 2>conftest.er1
19604 ac_status=$?
19605 grep -v '^ *+' conftest.er1 >conftest.err
19606 rm -f conftest.er1
19607 cat conftest.err >&5
19608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19609 (exit $ac_status); } &&
19610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19612 (eval $ac_try) 2>&5
19613 ac_status=$?
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); }; } &&
19616 { ac_try='test -s conftest.$ac_objext'
19617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19618 (eval $ac_try) 2>&5
19619 ac_status=$?
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); }; }; then
19622 ac_cv_member_struct_option_name=yes
19623 else
19624 echo "$as_me: failed program was:" >&5
19625 sed 's/^/| /' conftest.$ac_ext >&5
19627 ac_cv_member_struct_option_name=no
19629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19633 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19634 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19635 if test $ac_cv_member_struct_option_name = yes; then
19637 cat >>confdefs.h <<_ACEOF
19638 #define HAVE_STRUCT_OPTION_NAME 1
19639 _ACEOF
19645 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19646 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19647 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19648 echo $ECHO_N "(cached) $ECHO_C" >&6
19649 else
19650 cat >conftest.$ac_ext <<_ACEOF
19651 /* confdefs.h. */
19652 _ACEOF
19653 cat confdefs.h >>conftest.$ac_ext
19654 cat >>conftest.$ac_ext <<_ACEOF
19655 /* end confdefs.h. */
19656 $ac_includes_default
19658 main ()
19660 static struct stat ac_aggr;
19661 if (ac_aggr.st_blocks)
19662 return 0;
19664 return 0;
19666 _ACEOF
19667 rm -f conftest.$ac_objext
19668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19669 (eval $ac_compile) 2>conftest.er1
19670 ac_status=$?
19671 grep -v '^ *+' conftest.er1 >conftest.err
19672 rm -f conftest.er1
19673 cat conftest.err >&5
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); } &&
19676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19678 (eval $ac_try) 2>&5
19679 ac_status=$?
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); }; } &&
19682 { ac_try='test -s conftest.$ac_objext'
19683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19684 (eval $ac_try) 2>&5
19685 ac_status=$?
19686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19687 (exit $ac_status); }; }; then
19688 ac_cv_member_struct_stat_st_blocks=yes
19689 else
19690 echo "$as_me: failed program was:" >&5
19691 sed 's/^/| /' conftest.$ac_ext >&5
19693 cat >conftest.$ac_ext <<_ACEOF
19694 /* confdefs.h. */
19695 _ACEOF
19696 cat confdefs.h >>conftest.$ac_ext
19697 cat >>conftest.$ac_ext <<_ACEOF
19698 /* end confdefs.h. */
19699 $ac_includes_default
19701 main ()
19703 static struct stat ac_aggr;
19704 if (sizeof ac_aggr.st_blocks)
19705 return 0;
19707 return 0;
19709 _ACEOF
19710 rm -f conftest.$ac_objext
19711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19712 (eval $ac_compile) 2>conftest.er1
19713 ac_status=$?
19714 grep -v '^ *+' conftest.er1 >conftest.err
19715 rm -f conftest.er1
19716 cat conftest.err >&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); } &&
19719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19721 (eval $ac_try) 2>&5
19722 ac_status=$?
19723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19724 (exit $ac_status); }; } &&
19725 { ac_try='test -s conftest.$ac_objext'
19726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19727 (eval $ac_try) 2>&5
19728 ac_status=$?
19729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730 (exit $ac_status); }; }; then
19731 ac_cv_member_struct_stat_st_blocks=yes
19732 else
19733 echo "$as_me: failed program was:" >&5
19734 sed 's/^/| /' conftest.$ac_ext >&5
19736 ac_cv_member_struct_stat_st_blocks=no
19738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19742 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19743 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19744 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19746 cat >>confdefs.h <<_ACEOF
19747 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19748 _ACEOF
19755 case $host_cpu in
19756 *i[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19757 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
19758 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19759 echo $ECHO_N "(cached) $ECHO_C" >&6
19760 else
19761 cat >conftest.$ac_ext <<_ACEOF
19762 /* confdefs.h. */
19763 _ACEOF
19764 cat confdefs.h >>conftest.$ac_ext
19765 cat >>conftest.$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19767 #ifndef __i386__
19769 #endif
19770 _ACEOF
19771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19772 $EGREP "yes" >/dev/null 2>&1; then
19773 ac_cv_cpp_def___i386__=yes
19774 else
19775 ac_cv_cpp_def___i386__=no
19777 rm -f conftest*
19780 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19781 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
19782 if test $ac_cv_cpp_def___i386__ = yes; then
19783 CFLAGS="$CFLAGS -D__i386__"
19784 LINTFLAGS="$LINTFLAGS -D__i386__"
19787 *alpha*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19788 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
19789 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19790 echo $ECHO_N "(cached) $ECHO_C" >&6
19791 else
19792 cat >conftest.$ac_ext <<_ACEOF
19793 /* confdefs.h. */
19794 _ACEOF
19795 cat confdefs.h >>conftest.$ac_ext
19796 cat >>conftest.$ac_ext <<_ACEOF
19797 /* end confdefs.h. */
19798 #ifndef __ALPHA__
19800 #endif
19801 _ACEOF
19802 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19803 $EGREP "yes" >/dev/null 2>&1; then
19804 ac_cv_cpp_def___ALPHA__=yes
19805 else
19806 ac_cv_cpp_def___ALPHA__=no
19808 rm -f conftest*
19811 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
19812 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
19813 if test $ac_cv_cpp_def___ALPHA__ = yes; then
19814 CFLAGS="$CFLAGS -D__ALPHA__"
19815 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
19818 *sparc*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
19819 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
19820 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
19821 echo $ECHO_N "(cached) $ECHO_C" >&6
19822 else
19823 cat >conftest.$ac_ext <<_ACEOF
19824 /* confdefs.h. */
19825 _ACEOF
19826 cat confdefs.h >>conftest.$ac_ext
19827 cat >>conftest.$ac_ext <<_ACEOF
19828 /* end confdefs.h. */
19829 #ifndef __sparc__
19831 #endif
19832 _ACEOF
19833 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19834 $EGREP "yes" >/dev/null 2>&1; then
19835 ac_cv_cpp_def___sparc__=yes
19836 else
19837 ac_cv_cpp_def___sparc__=no
19839 rm -f conftest*
19842 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
19843 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
19844 if test $ac_cv_cpp_def___sparc__ = yes; then
19845 CFLAGS="$CFLAGS -D__sparc__"
19846 LINTFLAGS="$LINTFLAGS -D__sparc__"
19849 *powerpc*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
19850 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
19851 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
19852 echo $ECHO_N "(cached) $ECHO_C" >&6
19853 else
19854 cat >conftest.$ac_ext <<_ACEOF
19855 /* confdefs.h. */
19856 _ACEOF
19857 cat confdefs.h >>conftest.$ac_ext
19858 cat >>conftest.$ac_ext <<_ACEOF
19859 /* end confdefs.h. */
19860 #ifndef __powerpc__
19862 #endif
19863 _ACEOF
19864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19865 $EGREP "yes" >/dev/null 2>&1; then
19866 ac_cv_cpp_def___powerpc__=yes
19867 else
19868 ac_cv_cpp_def___powerpc__=no
19870 rm -f conftest*
19873 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
19874 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
19875 if test $ac_cv_cpp_def___powerpc__ = yes; then
19876 CFLAGS="$CFLAGS -D__powerpc__"
19877 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19880 esac
19882 case $host_vendor in
19883 *sun*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
19884 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
19885 if test "${ac_cv_cpp_def___sun__+set}" = set; then
19886 echo $ECHO_N "(cached) $ECHO_C" >&6
19887 else
19888 cat >conftest.$ac_ext <<_ACEOF
19889 /* confdefs.h. */
19890 _ACEOF
19891 cat confdefs.h >>conftest.$ac_ext
19892 cat >>conftest.$ac_ext <<_ACEOF
19893 /* end confdefs.h. */
19894 #ifndef __sun__
19896 #endif
19897 _ACEOF
19898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19899 $EGREP "yes" >/dev/null 2>&1; then
19900 ac_cv_cpp_def___sun__=yes
19901 else
19902 ac_cv_cpp_def___sun__=no
19904 rm -f conftest*
19907 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
19908 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
19909 if test $ac_cv_cpp_def___sun__ = yes; then
19910 CFLAGS="$CFLAGS -D__sun__"
19911 LINTFLAGS="$LINTFLAGS -D__sun__"
19914 esac
19920 ac_config_commands="$ac_config_commands dlls/ddraw/d3ddevice"
19922 ac_config_commands="$ac_config_commands dlls/ddraw/dclipper"
19924 ac_config_commands="$ac_config_commands dlls/ddraw/ddraw"
19926 ac_config_commands="$ac_config_commands dlls/ddraw/direct3d"
19928 ac_config_commands="$ac_config_commands dlls/ddraw/dpalette"
19930 ac_config_commands="$ac_config_commands dlls/ddraw/dsurface"
19932 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
19934 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
19936 ac_config_commands="$ac_config_commands dlls/kernel/messages"
19938 ac_config_commands="$ac_config_commands dlls/user/dde"
19940 ac_config_commands="$ac_config_commands dlls/user/resources"
19942 ac_config_commands="$ac_config_commands dlls/wineps/data"
19944 ac_config_commands="$ac_config_commands include/wine"
19946 ac_config_commands="$ac_config_commands programs/regedit/tests"
19948 ac_config_commands="$ac_config_commands windows"
19951 MAKE_RULES=Make.rules
19954 MAKE_DLL_RULES=dlls/Makedll.rules
19957 MAKE_TEST_RULES=dlls/Maketest.rules
19960 MAKE_LIB_RULES=libs/Makelib.rules
19963 MAKE_PROG_RULES=programs/Makeprog.rules
19966 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/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/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/odbccp32/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"
19969 cat >confcache <<\_ACEOF
19970 # This file is a shell script that caches the results of configure
19971 # tests run on this system so they can be shared between configure
19972 # scripts and configure runs, see configure's option --config-cache.
19973 # It is not useful on other systems. If it contains results you don't
19974 # want to keep, you may remove or edit it.
19976 # config.status only pays attention to the cache file if you give it
19977 # the --recheck option to rerun configure.
19979 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19980 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19981 # following values.
19983 _ACEOF
19985 # The following way of writing the cache mishandles newlines in values,
19986 # but we know of no workaround that is simple, portable, and efficient.
19987 # So, don't put newlines in cache variables' values.
19988 # Ultrix sh set writes to stderr and can't be redirected directly,
19989 # and sets the high bit in the cache file unless we assign to the vars.
19991 (set) 2>&1 |
19992 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19993 *ac_space=\ *)
19994 # `set' does not quote correctly, so add quotes (double-quote
19995 # substitution turns \\\\ into \\, and sed turns \\ into \).
19996 sed -n \
19997 "s/'/'\\\\''/g;
19998 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20001 # `set' quotes correctly as required by POSIX, so do not add quotes.
20002 sed -n \
20003 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20005 esac;
20007 sed '
20008 t clear
20009 : clear
20010 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20011 t end
20012 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20013 : end' >>confcache
20014 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20015 if test -w $cache_file; then
20016 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20017 cat confcache >$cache_file
20018 else
20019 echo "not updating unwritable cache $cache_file"
20022 rm -f confcache
20024 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20025 # Let make expand exec_prefix.
20026 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20028 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20029 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20030 # trailing colons and then remove the whole line if VPATH becomes empty
20031 # (actually we leave an empty line to preserve line numbers).
20032 if test "x$srcdir" = x.; then
20033 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20034 s/:*\$(srcdir):*/:/;
20035 s/:*\${srcdir}:*/:/;
20036 s/:*@srcdir@:*/:/;
20037 s/^\([^=]*=[ ]*\):*/\1/;
20038 s/:*$//;
20039 s/^[^=]*=[ ]*$//;
20043 DEFS=-DHAVE_CONFIG_H
20045 ac_libobjs=
20046 ac_ltlibobjs=
20047 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20048 # 1. Remove the extension, and $U if already installed.
20049 ac_i=`echo "$ac_i" |
20050 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20051 # 2. Add them.
20052 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20053 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
20054 done
20055 LIBOBJS=$ac_libobjs
20057 LTLIBOBJS=$ac_ltlibobjs
20061 : ${CONFIG_STATUS=./config.status}
20062 ac_clean_files_save=$ac_clean_files
20063 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20064 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20065 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20066 cat >$CONFIG_STATUS <<_ACEOF
20067 #! $SHELL
20068 # Generated by $as_me.
20069 # Run this file to recreate the current configuration.
20070 # Compiler output produced by configure, useful for debugging
20071 # configure, is in config.log if it exists.
20073 debug=false
20074 ac_cs_recheck=false
20075 ac_cs_silent=false
20076 SHELL=\${CONFIG_SHELL-$SHELL}
20077 _ACEOF
20079 cat >>$CONFIG_STATUS <<\_ACEOF
20080 ## --------------------- ##
20081 ## M4sh Initialization. ##
20082 ## --------------------- ##
20084 # Be Bourne compatible
20085 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20086 emulate sh
20087 NULLCMD=:
20088 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20089 # is contrary to our usage. Disable this feature.
20090 alias -g '${1+"$@"}'='"$@"'
20091 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20092 set -o posix
20094 DUALCASE=1; export DUALCASE # for MKS sh
20096 # Support unset when possible.
20097 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20098 as_unset=unset
20099 else
20100 as_unset=false
20104 # Work around bugs in pre-3.0 UWIN ksh.
20105 $as_unset ENV MAIL MAILPATH
20106 PS1='$ '
20107 PS2='> '
20108 PS4='+ '
20110 # NLS nuisances.
20111 for as_var in \
20112 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20113 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20114 LC_TELEPHONE LC_TIME
20116 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20117 eval $as_var=C; export $as_var
20118 else
20119 $as_unset $as_var
20121 done
20123 # Required to use basename.
20124 if expr a : '\(a\)' >/dev/null 2>&1; then
20125 as_expr=expr
20126 else
20127 as_expr=false
20130 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20131 as_basename=basename
20132 else
20133 as_basename=false
20137 # Name of the executable.
20138 as_me=`$as_basename "$0" ||
20139 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20140 X"$0" : 'X\(//\)$' \| \
20141 X"$0" : 'X\(/\)$' \| \
20142 . : '\(.\)' 2>/dev/null ||
20143 echo X/"$0" |
20144 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20145 /^X\/\(\/\/\)$/{ s//\1/; q; }
20146 /^X\/\(\/\).*/{ s//\1/; q; }
20147 s/.*/./; q'`
20150 # PATH needs CR, and LINENO needs CR and PATH.
20151 # Avoid depending upon Character Ranges.
20152 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20153 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20154 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20155 as_cr_digits='0123456789'
20156 as_cr_alnum=$as_cr_Letters$as_cr_digits
20158 # The user is always right.
20159 if test "${PATH_SEPARATOR+set}" != set; then
20160 echo "#! /bin/sh" >conf$$.sh
20161 echo "exit 0" >>conf$$.sh
20162 chmod +x conf$$.sh
20163 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20164 PATH_SEPARATOR=';'
20165 else
20166 PATH_SEPARATOR=:
20168 rm -f conf$$.sh
20172 as_lineno_1=$LINENO
20173 as_lineno_2=$LINENO
20174 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20175 test "x$as_lineno_1" != "x$as_lineno_2" &&
20176 test "x$as_lineno_3" = "x$as_lineno_2" || {
20177 # Find who we are. Look in the path if we contain no path at all
20178 # relative or not.
20179 case $0 in
20180 *[\\/]* ) as_myself=$0 ;;
20181 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20182 for as_dir in $PATH
20184 IFS=$as_save_IFS
20185 test -z "$as_dir" && as_dir=.
20186 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20187 done
20190 esac
20191 # We did not find ourselves, most probably we were run as `sh COMMAND'
20192 # in which case we are not to be found in the path.
20193 if test "x$as_myself" = x; then
20194 as_myself=$0
20196 if test ! -f "$as_myself"; then
20197 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20198 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20199 { (exit 1); exit 1; }; }
20201 case $CONFIG_SHELL in
20203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20204 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20206 IFS=$as_save_IFS
20207 test -z "$as_dir" && as_dir=.
20208 for as_base in sh bash ksh sh5; do
20209 case $as_dir in
20211 if ("$as_dir/$as_base" -c '
20212 as_lineno_1=$LINENO
20213 as_lineno_2=$LINENO
20214 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20215 test "x$as_lineno_1" != "x$as_lineno_2" &&
20216 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20217 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20218 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20219 CONFIG_SHELL=$as_dir/$as_base
20220 export CONFIG_SHELL
20221 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20222 fi;;
20223 esac
20224 done
20225 done
20227 esac
20229 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20230 # uniformly replaced by the line number. The first 'sed' inserts a
20231 # line-number line before each line; the second 'sed' does the real
20232 # work. The second script uses 'N' to pair each line-number line
20233 # with the numbered line, and appends trailing '-' during
20234 # substitution so that $LINENO is not a special case at line end.
20235 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20236 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20237 sed '=' <$as_myself |
20238 sed '
20240 s,$,-,
20241 : loop
20242 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20243 t loop
20244 s,-$,,
20245 s,^['$as_cr_digits']*\n,,
20246 ' >$as_me.lineno &&
20247 chmod +x $as_me.lineno ||
20248 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20249 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20250 { (exit 1); exit 1; }; }
20252 # Don't try to exec as it changes $[0], causing all sort of problems
20253 # (the dirname of $[0] is not the place where we might find the
20254 # original and so on. Autoconf is especially sensible to this).
20255 . ./$as_me.lineno
20256 # Exit status is that of the last command.
20257 exit
20261 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20262 *c*,-n*) ECHO_N= ECHO_C='
20263 ' ECHO_T=' ' ;;
20264 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20265 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
20266 esac
20268 if expr a : '\(a\)' >/dev/null 2>&1; then
20269 as_expr=expr
20270 else
20271 as_expr=false
20274 rm -f conf$$ conf$$.exe conf$$.file
20275 echo >conf$$.file
20276 if ln -s conf$$.file conf$$ 2>/dev/null; then
20277 # We could just check for DJGPP; but this test a) works b) is more generic
20278 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20279 if test -f conf$$.exe; then
20280 # Don't use ln at all; we don't have any links
20281 as_ln_s='cp -p'
20282 else
20283 as_ln_s='ln -s'
20285 elif ln conf$$.file conf$$ 2>/dev/null; then
20286 as_ln_s=ln
20287 else
20288 as_ln_s='cp -p'
20290 rm -f conf$$ conf$$.exe conf$$.file
20292 if mkdir -p . 2>/dev/null; then
20293 as_mkdir_p=:
20294 else
20295 test -d ./-p && rmdir ./-p
20296 as_mkdir_p=false
20299 as_executable_p="test -f"
20301 # Sed expression to map a string onto a valid CPP name.
20302 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20304 # Sed expression to map a string onto a valid variable name.
20305 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20308 # IFS
20309 # We need space, tab and new line, in precisely that order.
20310 as_nl='
20312 IFS=" $as_nl"
20314 # CDPATH.
20315 $as_unset CDPATH
20317 exec 6>&1
20319 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20320 # report actual input values of CONFIG_FILES etc. instead of their
20321 # values after options handling. Logging --version etc. is OK.
20322 exec 5>>config.log
20324 echo
20325 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20326 ## Running $as_me. ##
20327 _ASBOX
20328 } >&5
20329 cat >&5 <<_CSEOF
20331 This file was extended by Wine $as_me 20050419, which was
20332 generated by GNU Autoconf 2.59. Invocation command line was
20334 CONFIG_FILES = $CONFIG_FILES
20335 CONFIG_HEADERS = $CONFIG_HEADERS
20336 CONFIG_LINKS = $CONFIG_LINKS
20337 CONFIG_COMMANDS = $CONFIG_COMMANDS
20338 $ $0 $@
20340 _CSEOF
20341 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20342 echo >&5
20343 _ACEOF
20345 # Files that config.status was made for.
20346 if test -n "$ac_config_files"; then
20347 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20350 if test -n "$ac_config_headers"; then
20351 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20354 if test -n "$ac_config_links"; then
20355 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20358 if test -n "$ac_config_commands"; then
20359 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20362 cat >>$CONFIG_STATUS <<\_ACEOF
20364 ac_cs_usage="\
20365 \`$as_me' instantiates files from templates according to the
20366 current configuration.
20368 Usage: $0 [OPTIONS] [FILE]...
20370 -h, --help print this help, then exit
20371 -V, --version print version number, then exit
20372 -q, --quiet do not print progress messages
20373 -d, --debug don't remove temporary files
20374 --recheck update $as_me by reconfiguring in the same conditions
20375 --file=FILE[:TEMPLATE]
20376 instantiate the configuration file FILE
20377 --header=FILE[:TEMPLATE]
20378 instantiate the configuration header FILE
20380 Configuration files:
20381 $config_files
20383 Configuration headers:
20384 $config_headers
20386 Configuration commands:
20387 $config_commands
20389 Report bugs to <bug-autoconf@gnu.org>."
20390 _ACEOF
20392 cat >>$CONFIG_STATUS <<_ACEOF
20393 ac_cs_version="\\
20394 Wine config.status 20050419
20395 configured by $0, generated by GNU Autoconf 2.59,
20396 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20398 Copyright (C) 2003 Free Software Foundation, Inc.
20399 This config.status script is free software; the Free Software Foundation
20400 gives unlimited permission to copy, distribute and modify it."
20401 srcdir=$srcdir
20402 INSTALL="$INSTALL"
20403 _ACEOF
20405 cat >>$CONFIG_STATUS <<\_ACEOF
20406 # If no file are specified by the user, then we need to provide default
20407 # value. By we need to know if files were specified by the user.
20408 ac_need_defaults=:
20409 while test $# != 0
20411 case $1 in
20412 --*=*)
20413 ac_option=`expr "x$1" : 'x\([^=]*\)='`
20414 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20415 ac_shift=:
20418 ac_option=$1
20419 ac_optarg=$2
20420 ac_shift=shift
20422 *) # This is not an option, so the user has probably given explicit
20423 # arguments.
20424 ac_option=$1
20425 ac_need_defaults=false;;
20426 esac
20428 case $ac_option in
20429 # Handling of the options.
20430 _ACEOF
20431 cat >>$CONFIG_STATUS <<\_ACEOF
20432 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20433 ac_cs_recheck=: ;;
20434 --version | --vers* | -V )
20435 echo "$ac_cs_version"; exit 0 ;;
20436 --he | --h)
20437 # Conflict between --help and --header
20438 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20439 Try \`$0 --help' for more information." >&5
20440 echo "$as_me: error: ambiguous option: $1
20441 Try \`$0 --help' for more information." >&2;}
20442 { (exit 1); exit 1; }; };;
20443 --help | --hel | -h )
20444 echo "$ac_cs_usage"; exit 0 ;;
20445 --debug | --d* | -d )
20446 debug=: ;;
20447 --file | --fil | --fi | --f )
20448 $ac_shift
20449 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20450 ac_need_defaults=false;;
20451 --header | --heade | --head | --hea )
20452 $ac_shift
20453 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20454 ac_need_defaults=false;;
20455 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20456 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20457 ac_cs_silent=: ;;
20459 # This is an error.
20460 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20461 Try \`$0 --help' for more information." >&5
20462 echo "$as_me: error: unrecognized option: $1
20463 Try \`$0 --help' for more information." >&2;}
20464 { (exit 1); exit 1; }; } ;;
20466 *) ac_config_targets="$ac_config_targets $1" ;;
20468 esac
20469 shift
20470 done
20472 ac_configure_extra_args=
20474 if $ac_cs_silent; then
20475 exec 6>/dev/null
20476 ac_configure_extra_args="$ac_configure_extra_args --silent"
20479 _ACEOF
20480 cat >>$CONFIG_STATUS <<_ACEOF
20481 if \$ac_cs_recheck; then
20482 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20483 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20486 _ACEOF
20492 cat >>$CONFIG_STATUS <<\_ACEOF
20493 for ac_config_target in $ac_config_targets
20495 case "$ac_config_target" in
20496 # Handling of arguments.
20497 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
20498 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
20499 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
20500 "libs/Makelib.rules" ) CONFIG_FILES="$CONFIG_FILES libs/Makelib.rules" ;;
20501 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
20502 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20503 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
20504 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20505 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20506 "dlls/advpack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
20507 "dlls/advpack/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
20508 "dlls/amstream/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
20509 "dlls/atl/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
20510 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20511 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20512 "dlls/cabinet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20513 "dlls/capi2032/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20514 "dlls/cards/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
20515 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20516 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
20517 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20518 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20519 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
20520 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20521 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20522 "dlls/cryptdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
20523 "dlls/ctl3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
20524 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20525 "dlls/d3d9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20526 "dlls/d3dim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20527 "dlls/d3drm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20528 "dlls/d3dx8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20529 "dlls/d3dxof/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20530 "dlls/dbghelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20531 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20532 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20533 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20534 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
20535 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
20536 "dlls/dinput/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
20537 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20538 "dlls/dmband/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
20539 "dlls/dmcompos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20540 "dlls/dmime/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
20541 "dlls/dmloader/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20542 "dlls/dmscript/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20543 "dlls/dmstyle/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20544 "dlls/dmsynth/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20545 "dlls/dmusic/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20546 "dlls/dmusic32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20547 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
20548 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20549 "dlls/dpnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20550 "dlls/dpnhpast/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20551 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
20552 "dlls/dsound/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20553 "dlls/dswave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
20554 "dlls/dxdiagn/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20555 "dlls/dxerr8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20556 "dlls/dxerr9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20557 "dlls/dxguid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20558 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
20559 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20560 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
20561 "dlls/glut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
20562 "dlls/hhctrl.ocx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20563 "dlls/iccvid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20564 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
20565 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20566 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20567 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
20568 "dlls/iphlpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20569 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20570 "dlls/itss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
20571 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
20572 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20573 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
20574 "dlls/lzexpand/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/tests/Makefile" ;;
20575 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20576 "dlls/mapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20577 "dlls/mlang/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
20578 "dlls/mlang/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20579 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20580 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20581 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
20582 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
20583 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
20584 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
20585 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
20586 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
20587 "dlls/msacm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/tests/Makefile" ;;
20588 "dlls/mscms/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
20589 "dlls/mscms/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
20590 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20591 "dlls/mshtml/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20592 "dlls/msi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
20593 "dlls/msi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
20594 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20595 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
20596 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20597 "dlls/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20598 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20599 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20600 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20601 "dlls/msvcrt40/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20602 "dlls/msvcrtd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20603 "dlls/msvcrtd/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20604 "dlls/msvidc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20605 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
20606 "dlls/mswsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20607 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20608 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20609 "dlls/newdev/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
20610 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20611 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20612 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20613 "dlls/odbccp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
20614 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
20615 "dlls/ole32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
20616 "dlls/oleacc/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20617 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20618 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20619 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
20620 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20621 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20622 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
20623 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20624 "dlls/powrprof/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
20625 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
20626 "dlls/psapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
20627 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
20628 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
20629 "dlls/quartz/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
20630 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20631 "dlls/riched20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
20632 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
20633 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20634 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20635 "dlls/rsabase/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20636 "dlls/rsabase/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
20637 "dlls/rsaenh/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
20638 "dlls/rsaenh/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
20639 "dlls/secur32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
20640 "dlls/sensapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
20641 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
20642 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20643 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20644 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
20645 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20646 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20647 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20648 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20649 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20650 "dlls/stdole32.tlb/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
20651 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
20652 "dlls/strmiids/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
20653 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20654 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
20655 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
20656 "dlls/unicows/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
20657 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
20658 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20659 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20660 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
20661 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20662 "dlls/uuid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
20663 "dlls/uxtheme/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20664 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20665 "dlls/vdmdbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
20666 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
20667 "dlls/version/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
20668 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20669 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20670 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20671 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20672 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20673 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
20674 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
20675 "dlls/wined3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20676 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
20677 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
20678 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
20679 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20680 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
20681 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20682 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
20683 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
20684 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
20685 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
20686 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
20687 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
20688 "dlls/winmm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20689 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
20690 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20691 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20692 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20693 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20694 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20695 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20696 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
20697 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
20698 "dlls/winsock/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
20699 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
20700 "dlls/winspool/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20701 "dlls/wintab32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20702 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20703 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
20704 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
20705 "dlls/wtsapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
20706 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
20707 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
20708 "fonts/Makefile" ) CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
20709 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20710 "libs/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
20711 "libs/port/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
20712 "libs/unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/unicode/Makefile" ;;
20713 "libs/wine/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
20714 "libs/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
20715 "loader/Makefile" ) CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
20716 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
20717 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
20718 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
20719 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
20720 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
20721 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
20722 "programs/msiexec/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
20723 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
20724 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
20725 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
20726 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
20727 "programs/rpcss/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
20728 "programs/rundll32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
20729 "programs/start/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
20730 "programs/taskmgr/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
20731 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
20732 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
20733 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
20734 "programs/wineboot/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
20735 "programs/winebrowser/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
20736 "programs/winecfg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
20737 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
20738 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
20739 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
20740 "programs/winemenubuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
20741 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
20742 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
20743 "programs/winetest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
20744 "programs/winevdm/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
20745 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
20746 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
20747 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
20748 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
20749 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
20750 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
20751 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
20752 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
20753 "tools/winegcc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
20754 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
20755 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
20756 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
20757 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
20758 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
20759 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
20760 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
20761 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
20762 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
20763 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
20764 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
20765 "dlls/user/dde" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/dde" ;;
20766 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
20767 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
20768 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
20769 "programs/regedit/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regedit/tests" ;;
20770 "windows" ) CONFIG_COMMANDS="$CONFIG_COMMANDS windows" ;;
20771 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20772 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20773 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20774 { (exit 1); exit 1; }; };;
20775 esac
20776 done
20778 # If the user did not use the arguments to specify the items to instantiate,
20779 # then the envvar interface is used. Set only those that are not.
20780 # We use the long form for the default assignment because of an extremely
20781 # bizarre bug on SunOS 4.1.3.
20782 if $ac_need_defaults; then
20783 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20784 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20785 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20788 # Have a temporary directory for convenience. Make it in the build tree
20789 # simply because there is no reason to put it here, and in addition,
20790 # creating and moving files from /tmp can sometimes cause problems.
20791 # Create a temporary directory, and hook for its removal unless debugging.
20792 $debug ||
20794 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20795 trap '{ (exit 1); exit 1; }' 1 2 13 15
20798 # Create a (secure) tmp directory for tmp files.
20801 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20802 test -n "$tmp" && test -d "$tmp"
20803 } ||
20805 tmp=./confstat$$-$RANDOM
20806 (umask 077 && mkdir $tmp)
20807 } ||
20809 echo "$me: cannot create a temporary directory in ." >&2
20810 { (exit 1); exit 1; }
20813 _ACEOF
20815 cat >>$CONFIG_STATUS <<_ACEOF
20818 # CONFIG_FILES section.
20821 # No need to generate the scripts if there are no CONFIG_FILES.
20822 # This happens for instance when ./config.status config.h
20823 if test -n "\$CONFIG_FILES"; then
20824 # Protect against being on the right side of a sed subst in config.status.
20825 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20826 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20827 s,@SHELL@,$SHELL,;t t
20828 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20829 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20830 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20831 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20832 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20833 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20834 s,@exec_prefix@,$exec_prefix,;t t
20835 s,@prefix@,$prefix,;t t
20836 s,@program_transform_name@,$program_transform_name,;t t
20837 s,@bindir@,$bindir,;t t
20838 s,@sbindir@,$sbindir,;t t
20839 s,@libexecdir@,$libexecdir,;t t
20840 s,@datadir@,$datadir,;t t
20841 s,@sysconfdir@,$sysconfdir,;t t
20842 s,@sharedstatedir@,$sharedstatedir,;t t
20843 s,@localstatedir@,$localstatedir,;t t
20844 s,@libdir@,$libdir,;t t
20845 s,@includedir@,$includedir,;t t
20846 s,@oldincludedir@,$oldincludedir,;t t
20847 s,@infodir@,$infodir,;t t
20848 s,@mandir@,$mandir,;t t
20849 s,@build_alias@,$build_alias,;t t
20850 s,@host_alias@,$host_alias,;t t
20851 s,@target_alias@,$target_alias,;t t
20852 s,@DEFS@,$DEFS,;t t
20853 s,@ECHO_C@,$ECHO_C,;t t
20854 s,@ECHO_N@,$ECHO_N,;t t
20855 s,@ECHO_T@,$ECHO_T,;t t
20856 s,@LIBS@,$LIBS,;t t
20857 s,@WIN16_FILES@,$WIN16_FILES,;t t
20858 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
20859 s,@DLLDEFS@,$DLLDEFS,;t t
20860 s,@build@,$build,;t t
20861 s,@build_cpu@,$build_cpu,;t t
20862 s,@build_vendor@,$build_vendor,;t t
20863 s,@build_os@,$build_os,;t t
20864 s,@host@,$host,;t t
20865 s,@host_cpu@,$host_cpu,;t t
20866 s,@host_vendor@,$host_vendor,;t t
20867 s,@host_os@,$host_os,;t t
20868 s,@SET_MAKE@,$SET_MAKE,;t t
20869 s,@CC@,$CC,;t t
20870 s,@CFLAGS@,$CFLAGS,;t t
20871 s,@LDFLAGS@,$LDFLAGS,;t t
20872 s,@CPPFLAGS@,$CPPFLAGS,;t t
20873 s,@ac_ct_CC@,$ac_ct_CC,;t t
20874 s,@EXEEXT@,$EXEEXT,;t t
20875 s,@OBJEXT@,$OBJEXT,;t t
20876 s,@CXX@,$CXX,;t t
20877 s,@CXXFLAGS@,$CXXFLAGS,;t t
20878 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20879 s,@CPPBIN@,$CPPBIN,;t t
20880 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
20881 s,@TOOLSDIR@,$TOOLSDIR,;t t
20882 s,@CPP@,$CPP,;t t
20883 s,@X_CFLAGS@,$X_CFLAGS,;t t
20884 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
20885 s,@X_LIBS@,$X_LIBS,;t t
20886 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
20887 s,@LEX@,$LEX,;t t
20888 s,@LEXLIB@,$LEXLIB,;t t
20889 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20890 s,@XLEX@,$XLEX,;t t
20891 s,@BISON@,$BISON,;t t
20892 s,@AS@,$AS,;t t
20893 s,@ac_ct_AS@,$ac_ct_AS,;t t
20894 s,@LD@,$LD,;t t
20895 s,@ac_ct_LD@,$ac_ct_LD,;t t
20896 s,@AR@,$AR,;t t
20897 s,@ac_ct_AR@,$ac_ct_AR,;t t
20898 s,@RANLIB@,$RANLIB,;t t
20899 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20900 s,@STRIP@,$STRIP,;t t
20901 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20902 s,@WINDRES@,$WINDRES,;t t
20903 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
20904 s,@LN_S@,$LN_S,;t t
20905 s,@LN@,$LN,;t t
20906 s,@EGREP@,$EGREP,;t t
20907 s,@LDCONFIG@,$LDCONFIG,;t t
20908 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20909 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20910 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20911 s,@LINT@,$LINT,;t t
20912 s,@LINTFLAGS@,$LINTFLAGS,;t t
20913 s,@FONTFORGE@,$FONTFORGE,;t t
20914 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
20915 s,@XLIB@,$XLIB,;t t
20916 s,@XFILES@,$XFILES,;t t
20917 s,@OPENGLFILES@,$OPENGLFILES,;t t
20918 s,@GLU32FILES@,$GLU32FILES,;t t
20919 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
20920 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
20921 s,@GLUT32FILES@,$GLUT32FILES,;t t
20922 s,@NASLIBS@,$NASLIBS,;t t
20923 s,@CURSESLIBS@,$CURSESLIBS,;t t
20924 s,@sane_devel@,$sane_devel,;t t
20925 s,@SANELIBS@,$SANELIBS,;t t
20926 s,@SANEINCL@,$SANEINCL,;t t
20927 s,@ICULIBS@,$ICULIBS,;t t
20928 s,@ft_devel@,$ft_devel,;t t
20929 s,@ft_devel2@,$ft_devel2,;t t
20930 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
20931 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
20932 s,@FONTSSUBDIRS@,$FONTSSUBDIRS,;t t
20933 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
20934 s,@ARTSLIBS@,$ARTSLIBS,;t t
20935 s,@ARTSINCL@,$ARTSINCL,;t t
20936 s,@ALSALIBS@,$ALSALIBS,;t t
20937 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
20938 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
20939 s,@DLLEXT@,$DLLEXT,;t t
20940 s,@DLLFLAGS@,$DLLFLAGS,;t t
20941 s,@DLLIBS@,$DLLIBS,;t t
20942 s,@LDSHARED@,$LDSHARED,;t t
20943 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
20944 s,@LIBEXT@,$LIBEXT,;t t
20945 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
20946 s,@DLLTOOL@,$DLLTOOL,;t t
20947 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
20948 s,@DLLWRAP@,$DLLWRAP,;t t
20949 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
20950 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
20951 s,@LDLIBWINEFLAGS@,$LDLIBWINEFLAGS,;t t
20952 s,@COREFOUNDATIONLIB@,$COREFOUNDATIONLIB,;t t
20953 s,@IOKITLIB@,$IOKITLIB,;t t
20954 s,@CROSSTEST@,$CROSSTEST,;t t
20955 s,@CROSSCC@,$CROSSCC,;t t
20956 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
20957 s,@LDPATH@,$LDPATH,;t t
20958 s,@CRTLIBS@,$CRTLIBS,;t t
20959 s,@SOCKETLIBS@,$SOCKETLIBS,;t t
20960 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
20961 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
20962 s,@LDD@,$LDD,;t t
20963 s,@ALLOCA@,$ALLOCA,;t t
20964 s,@LIBOBJS@,$LIBOBJS,;t t
20965 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20966 /@MAKE_RULES@/r $MAKE_RULES
20967 s,@MAKE_RULES@,,;t t
20968 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
20969 s,@MAKE_DLL_RULES@,,;t t
20970 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
20971 s,@MAKE_TEST_RULES@,,;t t
20972 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
20973 s,@MAKE_LIB_RULES@,,;t t
20974 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
20975 s,@MAKE_PROG_RULES@,,;t t
20976 CEOF
20978 _ACEOF
20980 cat >>$CONFIG_STATUS <<\_ACEOF
20981 # Split the substitutions into bite-sized pieces for seds with
20982 # small command number limits, like on Digital OSF/1 and HP-UX.
20983 ac_max_sed_lines=48
20984 ac_sed_frag=1 # Number of current file.
20985 ac_beg=1 # First line for current file.
20986 ac_end=$ac_max_sed_lines # Line after last line for current file.
20987 ac_more_lines=:
20988 ac_sed_cmds=
20989 while $ac_more_lines; do
20990 if test $ac_beg -gt 1; then
20991 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20992 else
20993 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20995 if test ! -s $tmp/subs.frag; then
20996 ac_more_lines=false
20997 else
20998 # The purpose of the label and of the branching condition is to
20999 # speed up the sed processing (if there are no `@' at all, there
21000 # is no need to browse any of the substitutions).
21001 # These are the two extra sed commands mentioned above.
21002 (echo ':t
21003 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21004 if test -z "$ac_sed_cmds"; then
21005 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21006 else
21007 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21009 ac_sed_frag=`expr $ac_sed_frag + 1`
21010 ac_beg=$ac_end
21011 ac_end=`expr $ac_end + $ac_max_sed_lines`
21013 done
21014 if test -z "$ac_sed_cmds"; then
21015 ac_sed_cmds=cat
21017 fi # test -n "$CONFIG_FILES"
21019 _ACEOF
21020 cat >>$CONFIG_STATUS <<\_ACEOF
21021 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21022 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21023 case $ac_file in
21024 - | *:- | *:-:* ) # input from stdin
21025 cat >$tmp/stdin
21026 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21027 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21028 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21029 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21030 * ) ac_file_in=$ac_file.in ;;
21031 esac
21033 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21034 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21035 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21036 X"$ac_file" : 'X\(//\)[^/]' \| \
21037 X"$ac_file" : 'X\(//\)$' \| \
21038 X"$ac_file" : 'X\(/\)' \| \
21039 . : '\(.\)' 2>/dev/null ||
21040 echo X"$ac_file" |
21041 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21042 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21043 /^X\(\/\/\)$/{ s//\1/; q; }
21044 /^X\(\/\).*/{ s//\1/; q; }
21045 s/.*/./; q'`
21046 { if $as_mkdir_p; then
21047 mkdir -p "$ac_dir"
21048 else
21049 as_dir="$ac_dir"
21050 as_dirs=
21051 while test ! -d "$as_dir"; do
21052 as_dirs="$as_dir $as_dirs"
21053 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21054 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21055 X"$as_dir" : 'X\(//\)[^/]' \| \
21056 X"$as_dir" : 'X\(//\)$' \| \
21057 X"$as_dir" : 'X\(/\)' \| \
21058 . : '\(.\)' 2>/dev/null ||
21059 echo X"$as_dir" |
21060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21061 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21062 /^X\(\/\/\)$/{ s//\1/; q; }
21063 /^X\(\/\).*/{ s//\1/; q; }
21064 s/.*/./; q'`
21065 done
21066 test ! -n "$as_dirs" || mkdir $as_dirs
21067 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21068 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21069 { (exit 1); exit 1; }; }; }
21071 ac_builddir=.
21073 if test "$ac_dir" != .; then
21074 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21075 # A "../" for each directory in $ac_dir_suffix.
21076 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21077 else
21078 ac_dir_suffix= ac_top_builddir=
21081 case $srcdir in
21082 .) # No --srcdir option. We are building in place.
21083 ac_srcdir=.
21084 if test -z "$ac_top_builddir"; then
21085 ac_top_srcdir=.
21086 else
21087 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21088 fi ;;
21089 [\\/]* | ?:[\\/]* ) # Absolute path.
21090 ac_srcdir=$srcdir$ac_dir_suffix;
21091 ac_top_srcdir=$srcdir ;;
21092 *) # Relative path.
21093 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21094 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21095 esac
21097 # Do not use `cd foo && pwd` to compute absolute paths, because
21098 # the directories may not exist.
21099 case `pwd` in
21100 .) ac_abs_builddir="$ac_dir";;
21102 case "$ac_dir" in
21103 .) ac_abs_builddir=`pwd`;;
21104 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21105 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21106 esac;;
21107 esac
21108 case $ac_abs_builddir in
21109 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21111 case ${ac_top_builddir}. in
21112 .) ac_abs_top_builddir=$ac_abs_builddir;;
21113 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21114 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21115 esac;;
21116 esac
21117 case $ac_abs_builddir in
21118 .) ac_abs_srcdir=$ac_srcdir;;
21120 case $ac_srcdir in
21121 .) ac_abs_srcdir=$ac_abs_builddir;;
21122 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21123 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21124 esac;;
21125 esac
21126 case $ac_abs_builddir in
21127 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21129 case $ac_top_srcdir in
21130 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21131 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21132 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21133 esac;;
21134 esac
21137 case $INSTALL in
21138 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21139 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21140 esac
21142 # Let's still pretend it is `configure' which instantiates (i.e., don't
21143 # use $as_me), people would be surprised to read:
21144 # /* config.h. Generated by config.status. */
21145 if test x"$ac_file" = x-; then
21146 configure_input=
21147 else
21148 configure_input="$ac_file. "
21150 configure_input=$configure_input"Generated from `echo $ac_file_in |
21151 sed 's,.*/,,'` by configure."
21153 # First look for the input files in the build tree, otherwise in the
21154 # src tree.
21155 ac_file_inputs=`IFS=:
21156 for f in $ac_file_in; do
21157 case $f in
21158 -) echo $tmp/stdin ;;
21159 [\\/$]*)
21160 # Absolute (can't be DOS-style, as IFS=:)
21161 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21162 echo "$as_me: error: cannot find input file: $f" >&2;}
21163 { (exit 1); exit 1; }; }
21164 echo "$f";;
21165 *) # Relative
21166 if test -f "$f"; then
21167 # Build tree
21168 echo "$f"
21169 elif test -f "$srcdir/$f"; then
21170 # Source tree
21171 echo "$srcdir/$f"
21172 else
21173 # /dev/null tree
21174 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21175 echo "$as_me: error: cannot find input file: $f" >&2;}
21176 { (exit 1); exit 1; }; }
21177 fi;;
21178 esac
21179 done` || { (exit 1); exit 1; }
21181 if test x"$ac_file" != x-; then
21182 { echo "$as_me:$LINENO: creating $ac_file" >&5
21183 echo "$as_me: creating $ac_file" >&6;}
21184 rm -f "$ac_file"
21186 _ACEOF
21187 cat >>$CONFIG_STATUS <<_ACEOF
21188 sed "$ac_vpsub
21189 $extrasub
21190 _ACEOF
21191 cat >>$CONFIG_STATUS <<\_ACEOF
21193 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21194 s,@configure_input@,$configure_input,;t t
21195 s,@srcdir@,$ac_srcdir,;t t
21196 s,@abs_srcdir@,$ac_abs_srcdir,;t t
21197 s,@top_srcdir@,$ac_top_srcdir,;t t
21198 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21199 s,@builddir@,$ac_builddir,;t t
21200 s,@abs_builddir@,$ac_abs_builddir,;t t
21201 s,@top_builddir@,$ac_top_builddir,;t t
21202 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21203 s,@INSTALL@,$ac_INSTALL,;t t
21204 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21205 rm -f $tmp/stdin
21206 if test x"$ac_file" != x-; then
21207 mv $tmp/out $ac_file
21208 else
21209 cat $tmp/out
21210 rm -f $tmp/out
21213 done
21214 _ACEOF
21215 cat >>$CONFIG_STATUS <<\_ACEOF
21218 # CONFIG_HEADER section.
21221 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21222 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21224 # ac_d sets the value in "#define NAME VALUE" lines.
21225 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21226 ac_dB='[ ].*$,\1#\2'
21227 ac_dC=' '
21228 ac_dD=',;t'
21229 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21230 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21231 ac_uB='$,\1#\2define\3'
21232 ac_uC=' '
21233 ac_uD=',;t'
21235 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21236 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21237 case $ac_file in
21238 - | *:- | *:-:* ) # input from stdin
21239 cat >$tmp/stdin
21240 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21241 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21242 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21243 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21244 * ) ac_file_in=$ac_file.in ;;
21245 esac
21247 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21248 echo "$as_me: creating $ac_file" >&6;}
21250 # First look for the input files in the build tree, otherwise in the
21251 # src tree.
21252 ac_file_inputs=`IFS=:
21253 for f in $ac_file_in; do
21254 case $f in
21255 -) echo $tmp/stdin ;;
21256 [\\/$]*)
21257 # Absolute (can't be DOS-style, as IFS=:)
21258 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21259 echo "$as_me: error: cannot find input file: $f" >&2;}
21260 { (exit 1); exit 1; }; }
21261 # Do quote $f, to prevent DOS paths from being IFS'd.
21262 echo "$f";;
21263 *) # Relative
21264 if test -f "$f"; then
21265 # Build tree
21266 echo "$f"
21267 elif test -f "$srcdir/$f"; then
21268 # Source tree
21269 echo "$srcdir/$f"
21270 else
21271 # /dev/null tree
21272 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21273 echo "$as_me: error: cannot find input file: $f" >&2;}
21274 { (exit 1); exit 1; }; }
21275 fi;;
21276 esac
21277 done` || { (exit 1); exit 1; }
21278 # Remove the trailing spaces.
21279 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21281 _ACEOF
21283 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21284 # `conftest.undefs', that substitutes the proper values into
21285 # config.h.in to produce config.h. The first handles `#define'
21286 # templates, and the second `#undef' templates.
21287 # And first: Protect against being on the right side of a sed subst in
21288 # config.status. Protect against being in an unquoted here document
21289 # in config.status.
21290 rm -f conftest.defines conftest.undefs
21291 # Using a here document instead of a string reduces the quoting nightmare.
21292 # Putting comments in sed scripts is not portable.
21294 # `end' is used to avoid that the second main sed command (meant for
21295 # 0-ary CPP macros) applies to n-ary macro definitions.
21296 # See the Autoconf documentation for `clear'.
21297 cat >confdef2sed.sed <<\_ACEOF
21298 s/[\\&,]/\\&/g
21299 s,[\\$`],\\&,g
21300 t clear
21301 : clear
21302 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21303 t end
21304 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21305 : end
21306 _ACEOF
21307 # If some macros were called several times there might be several times
21308 # the same #defines, which is useless. Nevertheless, we may not want to
21309 # sort them, since we want the *last* AC-DEFINE to be honored.
21310 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21311 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21312 rm -f confdef2sed.sed
21314 # This sed command replaces #undef with comments. This is necessary, for
21315 # example, in the case of _POSIX_SOURCE, which is predefined and required
21316 # on some systems where configure will not decide to define it.
21317 cat >>conftest.undefs <<\_ACEOF
21318 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21319 _ACEOF
21321 # Break up conftest.defines because some shells have a limit on the size
21322 # of here documents, and old seds have small limits too (100 cmds).
21323 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21324 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21325 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21326 echo ' :' >>$CONFIG_STATUS
21327 rm -f conftest.tail
21328 while grep . conftest.defines >/dev/null
21330 # Write a limited-size here document to $tmp/defines.sed.
21331 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21332 # Speed up: don't consider the non `#define' lines.
21333 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21334 # Work around the forget-to-reset-the-flag bug.
21335 echo 't clr' >>$CONFIG_STATUS
21336 echo ': clr' >>$CONFIG_STATUS
21337 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21338 echo 'CEOF
21339 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21340 rm -f $tmp/in
21341 mv $tmp/out $tmp/in
21342 ' >>$CONFIG_STATUS
21343 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21344 rm -f conftest.defines
21345 mv conftest.tail conftest.defines
21346 done
21347 rm -f conftest.defines
21348 echo ' fi # grep' >>$CONFIG_STATUS
21349 echo >>$CONFIG_STATUS
21351 # Break up conftest.undefs because some shells have a limit on the size
21352 # of here documents, and old seds have small limits too (100 cmds).
21353 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21354 rm -f conftest.tail
21355 while grep . conftest.undefs >/dev/null
21357 # Write a limited-size here document to $tmp/undefs.sed.
21358 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21359 # Speed up: don't consider the non `#undef'
21360 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21361 # Work around the forget-to-reset-the-flag bug.
21362 echo 't clr' >>$CONFIG_STATUS
21363 echo ': clr' >>$CONFIG_STATUS
21364 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21365 echo 'CEOF
21366 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21367 rm -f $tmp/in
21368 mv $tmp/out $tmp/in
21369 ' >>$CONFIG_STATUS
21370 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21371 rm -f conftest.undefs
21372 mv conftest.tail conftest.undefs
21373 done
21374 rm -f conftest.undefs
21376 cat >>$CONFIG_STATUS <<\_ACEOF
21377 # Let's still pretend it is `configure' which instantiates (i.e., don't
21378 # use $as_me), people would be surprised to read:
21379 # /* config.h. Generated by config.status. */
21380 if test x"$ac_file" = x-; then
21381 echo "/* Generated by configure. */" >$tmp/config.h
21382 else
21383 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21385 cat $tmp/in >>$tmp/config.h
21386 rm -f $tmp/in
21387 if test x"$ac_file" != x-; then
21388 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21389 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21390 echo "$as_me: $ac_file is unchanged" >&6;}
21391 else
21392 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21393 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21394 X"$ac_file" : 'X\(//\)[^/]' \| \
21395 X"$ac_file" : 'X\(//\)$' \| \
21396 X"$ac_file" : 'X\(/\)' \| \
21397 . : '\(.\)' 2>/dev/null ||
21398 echo X"$ac_file" |
21399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21400 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21401 /^X\(\/\/\)$/{ s//\1/; q; }
21402 /^X\(\/\).*/{ s//\1/; q; }
21403 s/.*/./; q'`
21404 { if $as_mkdir_p; then
21405 mkdir -p "$ac_dir"
21406 else
21407 as_dir="$ac_dir"
21408 as_dirs=
21409 while test ! -d "$as_dir"; do
21410 as_dirs="$as_dir $as_dirs"
21411 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21412 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21413 X"$as_dir" : 'X\(//\)[^/]' \| \
21414 X"$as_dir" : 'X\(//\)$' \| \
21415 X"$as_dir" : 'X\(/\)' \| \
21416 . : '\(.\)' 2>/dev/null ||
21417 echo X"$as_dir" |
21418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21419 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21420 /^X\(\/\/\)$/{ s//\1/; q; }
21421 /^X\(\/\).*/{ s//\1/; q; }
21422 s/.*/./; q'`
21423 done
21424 test ! -n "$as_dirs" || mkdir $as_dirs
21425 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21426 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21427 { (exit 1); exit 1; }; }; }
21429 rm -f $ac_file
21430 mv $tmp/config.h $ac_file
21432 else
21433 cat $tmp/config.h
21434 rm -f $tmp/config.h
21436 done
21437 _ACEOF
21438 cat >>$CONFIG_STATUS <<\_ACEOF
21441 # CONFIG_COMMANDS section.
21443 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21444 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21445 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21446 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21447 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21448 X"$ac_dest" : 'X\(//\)[^/]' \| \
21449 X"$ac_dest" : 'X\(//\)$' \| \
21450 X"$ac_dest" : 'X\(/\)' \| \
21451 . : '\(.\)' 2>/dev/null ||
21452 echo X"$ac_dest" |
21453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21454 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21455 /^X\(\/\/\)$/{ s//\1/; q; }
21456 /^X\(\/\).*/{ s//\1/; q; }
21457 s/.*/./; q'`
21458 { if $as_mkdir_p; then
21459 mkdir -p "$ac_dir"
21460 else
21461 as_dir="$ac_dir"
21462 as_dirs=
21463 while test ! -d "$as_dir"; do
21464 as_dirs="$as_dir $as_dirs"
21465 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21466 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21467 X"$as_dir" : 'X\(//\)[^/]' \| \
21468 X"$as_dir" : 'X\(//\)$' \| \
21469 X"$as_dir" : 'X\(/\)' \| \
21470 . : '\(.\)' 2>/dev/null ||
21471 echo X"$as_dir" |
21472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21473 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21474 /^X\(\/\/\)$/{ s//\1/; q; }
21475 /^X\(\/\).*/{ s//\1/; q; }
21476 s/.*/./; q'`
21477 done
21478 test ! -n "$as_dirs" || mkdir $as_dirs
21479 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21480 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21481 { (exit 1); exit 1; }; }; }
21483 ac_builddir=.
21485 if test "$ac_dir" != .; then
21486 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21487 # A "../" for each directory in $ac_dir_suffix.
21488 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21489 else
21490 ac_dir_suffix= ac_top_builddir=
21493 case $srcdir in
21494 .) # No --srcdir option. We are building in place.
21495 ac_srcdir=.
21496 if test -z "$ac_top_builddir"; then
21497 ac_top_srcdir=.
21498 else
21499 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21500 fi ;;
21501 [\\/]* | ?:[\\/]* ) # Absolute path.
21502 ac_srcdir=$srcdir$ac_dir_suffix;
21503 ac_top_srcdir=$srcdir ;;
21504 *) # Relative path.
21505 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21506 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21507 esac
21509 # Do not use `cd foo && pwd` to compute absolute paths, because
21510 # the directories may not exist.
21511 case `pwd` in
21512 .) ac_abs_builddir="$ac_dir";;
21514 case "$ac_dir" in
21515 .) ac_abs_builddir=`pwd`;;
21516 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21517 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21518 esac;;
21519 esac
21520 case $ac_abs_builddir in
21521 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21523 case ${ac_top_builddir}. in
21524 .) ac_abs_top_builddir=$ac_abs_builddir;;
21525 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21526 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21527 esac;;
21528 esac
21529 case $ac_abs_builddir in
21530 .) ac_abs_srcdir=$ac_srcdir;;
21532 case $ac_srcdir in
21533 .) ac_abs_srcdir=$ac_abs_builddir;;
21534 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21535 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21536 esac;;
21537 esac
21538 case $ac_abs_builddir in
21539 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21541 case $ac_top_srcdir in
21542 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21543 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21544 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21545 esac;;
21546 esac
21549 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21550 echo "$as_me: executing $ac_dest commands" >&6;}
21551 case $ac_dest in
21552 dlls/ddraw/d3ddevice ) test -d "dlls/ddraw/d3ddevice" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
21553 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir "dlls/ddraw/d3ddevice") ;;
21554 dlls/ddraw/dclipper ) test -d "dlls/ddraw/dclipper" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
21555 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir "dlls/ddraw/dclipper") ;;
21556 dlls/ddraw/ddraw ) test -d "dlls/ddraw/ddraw" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
21557 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir "dlls/ddraw/ddraw") ;;
21558 dlls/ddraw/direct3d ) test -d "dlls/ddraw/direct3d" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
21559 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir "dlls/ddraw/direct3d") ;;
21560 dlls/ddraw/dpalette ) test -d "dlls/ddraw/dpalette" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
21561 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir "dlls/ddraw/dpalette") ;;
21562 dlls/ddraw/dsurface ) test -d "dlls/ddraw/dsurface" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
21563 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir "dlls/ddraw/dsurface") ;;
21564 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21565 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
21566 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21567 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
21568 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21569 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
21570 dlls/user/dde ) test -d "dlls/user/dde" || ({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
21571 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir "dlls/user/dde") ;;
21572 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21573 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
21574 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21575 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
21576 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
21577 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
21578 programs/regedit/tests ) test -d "programs/regedit/tests" || ({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
21579 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir "programs/regedit/tests") ;;
21580 windows ) test -d "windows" || ({ echo "$as_me:$LINENO: creating windows" >&5
21581 echo "$as_me: creating windows" >&6;} && mkdir "windows") ;;
21582 esac
21583 done
21584 _ACEOF
21586 cat >>$CONFIG_STATUS <<\_ACEOF
21588 { (exit 0); exit 0; }
21589 _ACEOF
21590 chmod +x $CONFIG_STATUS
21591 ac_clean_files=$ac_clean_files_save
21594 # configure is writing to config.log, and then calls config.status.
21595 # config.status does its own redirection, appending to config.log.
21596 # Unfortunately, on DOS this fails, as config.log is still kept open
21597 # by configure, so config.status won't be able to write to it; its
21598 # output is simply discarded. So we exec the FD to /dev/null,
21599 # effectively closing config.log, so it can be properly (re)opened and
21600 # appended to by config.status. When coming back to configure, we
21601 # need to make the FD available again.
21602 if test "$no_create" != yes; then
21603 ac_cs_success=:
21604 ac_config_status_args=
21605 test "$silent" = yes &&
21606 ac_config_status_args="$ac_config_status_args --quiet"
21607 exec 5>/dev/null
21608 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21609 exec 5>>config.log
21610 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21611 # would make configure fail if this is the last instruction.
21612 $ac_cs_success || { (exit 1); exit 1; }
21616 if test "$have_x" = "no"
21617 then
21618 echo
21619 echo "*** Warning: X development files not found. Wine will be built without"
21620 echo "*** X support, which currently does not work, and would probably not be"
21621 echo "*** what you want anyway. You will need to install devel packages of"
21622 echo "*** Xlib/Xfree86 at the very least."
21625 if test "$wine_cv_opengl_version_OK" = "no"
21626 then
21627 echo
21628 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21629 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21632 if test "$wine_cv_msg_freetype" = "yes"
21633 then
21634 echo
21635 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21636 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21637 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21638 echo "*** enable Wine to use TrueType fonts."
21641 if test -z "$ALSALIBS" -a -z "$ARTSC_LIBS" -a -z "$AUDIOIOLIBS" -a \
21642 -z "$ac_cv_lib_soname_jack" -a -z "$NASLIBS" -a \
21643 "$ac_cv_c_opensoundsystem" = "no"
21644 then
21645 echo "*** No sound system was found. Windows applications will be silent."
21646 echo "*** The currently supported sound systems are:"
21647 echo "*** ALSA, ARTS, AudioIO, Jack, NAS and OSS"
21650 echo
21651 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
21652 echo