Removed the broken mmap64 configure check, and moved the
[wine/multimedia.git] / configure
blob9ee72f9eef633b4cabd3d38f063a25721b0b8bcf
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20050725.
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='20050725'
273 PACKAGE_STRING='Wine 20050725'
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 DLLDEFS build build_cpu build_vendor build_os host host_cpu host_vendor host_os WIN16_FILES WIN16_INSTALL SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPPBIN ac_ct_CPPBIN TOOLSDIR CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LEX LEXLIB LEX_OUTPUT_ROOT XLEX BISON AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES LN_S LN EGREP LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS FONTFORGE LIBPTHREAD XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS XML2LIBS XML2INCL CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS LCMSLIBS LDAPLIBS ft_devel ft_devel2 FREETYPELIBS FREETYPEINCL FONTSSUBDIRS ARTSCCONFIG ARTSLIBS ARTSINCL ESDCONFIG ESDLIBS ESDINCL 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 20050725 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 20050725:";;
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 20050725
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 20050725, 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 DLLDEFS=""
1409 if test "x$enable_debug" = "xno"
1410 then
1411 DLLDEFS="$DLLDEFS -DWINE_NO_DEBUG_MSGS"
1413 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1414 then
1415 DLLDEFS="$DLLDEFS -DWINE_NO_TRACE_MSGS"
1418 # Make sure we can run config.sub.
1419 $ac_config_sub sun4 >/dev/null 2>&1 ||
1420 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1421 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1422 { (exit 1); exit 1; }; }
1424 echo "$as_me:$LINENO: checking build system type" >&5
1425 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1426 if test "${ac_cv_build+set}" = set; then
1427 echo $ECHO_N "(cached) $ECHO_C" >&6
1428 else
1429 ac_cv_build_alias=$build_alias
1430 test -z "$ac_cv_build_alias" &&
1431 ac_cv_build_alias=`$ac_config_guess`
1432 test -z "$ac_cv_build_alias" &&
1433 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1434 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1435 { (exit 1); exit 1; }; }
1436 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1437 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1438 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1439 { (exit 1); exit 1; }; }
1442 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1443 echo "${ECHO_T}$ac_cv_build" >&6
1444 build=$ac_cv_build
1445 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1446 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1447 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1450 echo "$as_me:$LINENO: checking host system type" >&5
1451 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1452 if test "${ac_cv_host+set}" = set; then
1453 echo $ECHO_N "(cached) $ECHO_C" >&6
1454 else
1455 ac_cv_host_alias=$host_alias
1456 test -z "$ac_cv_host_alias" &&
1457 ac_cv_host_alias=$ac_cv_build_alias
1458 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1459 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1460 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1461 { (exit 1); exit 1; }; }
1464 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1465 echo "${ECHO_T}$ac_cv_host" >&6
1466 host=$ac_cv_host
1467 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1468 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1469 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1472 case $host in
1473 x86_64*linux*)
1474 if test "x$enable_win64" != "xyes"
1475 then
1476 test -n "$CC" || CC="gcc -m32"
1477 test -n "$LD" || LD="ld -m elf_i386"
1478 test -n "$AS" || AS="as --32"
1479 host_cpu="i386"
1482 esac
1484 case $host_cpu in
1485 *i[3456789]86*)
1486 if test "x$enable_win16" != "xno"
1487 then
1488 enable_win16="yes"
1491 esac
1493 WIN16_FILES="\$(WIN16_FILES)"
1495 WIN16_INSTALL="\$(WIN16_INSTALL)"
1497 if test "x$enable_win16" != "xyes"
1498 then
1499 WIN16_FILES=""
1500 WIN16_INSTALL=""
1504 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1505 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1506 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1507 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1508 echo $ECHO_N "(cached) $ECHO_C" >&6
1509 else
1510 cat >conftest.make <<\_ACEOF
1511 all:
1512 @echo 'ac_maketemp="$(MAKE)"'
1513 _ACEOF
1514 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1515 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1516 if test -n "$ac_maketemp"; then
1517 eval ac_cv_prog_make_${ac_make}_set=yes
1518 else
1519 eval ac_cv_prog_make_${ac_make}_set=no
1521 rm -f conftest.make
1523 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1524 echo "$as_me:$LINENO: result: yes" >&5
1525 echo "${ECHO_T}yes" >&6
1526 SET_MAKE=
1527 else
1528 echo "$as_me:$LINENO: result: no" >&5
1529 echo "${ECHO_T}no" >&6
1530 SET_MAKE="MAKE=${MAKE-make}"
1533 ac_ext=c
1534 ac_cpp='$CPP $CPPFLAGS'
1535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1538 if test -n "$ac_tool_prefix"; then
1539 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1540 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1541 echo "$as_me:$LINENO: checking for $ac_word" >&5
1542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1543 if test "${ac_cv_prog_CC+set}" = set; then
1544 echo $ECHO_N "(cached) $ECHO_C" >&6
1545 else
1546 if test -n "$CC"; then
1547 ac_cv_prog_CC="$CC" # Let the user override the test.
1548 else
1549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1550 for as_dir in $PATH
1552 IFS=$as_save_IFS
1553 test -z "$as_dir" && as_dir=.
1554 for ac_exec_ext in '' $ac_executable_extensions; do
1555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1556 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1558 break 2
1560 done
1561 done
1565 CC=$ac_cv_prog_CC
1566 if test -n "$CC"; then
1567 echo "$as_me:$LINENO: result: $CC" >&5
1568 echo "${ECHO_T}$CC" >&6
1569 else
1570 echo "$as_me:$LINENO: result: no" >&5
1571 echo "${ECHO_T}no" >&6
1575 if test -z "$ac_cv_prog_CC"; then
1576 ac_ct_CC=$CC
1577 # Extract the first word of "gcc", so it can be a program name with args.
1578 set dummy gcc; ac_word=$2
1579 echo "$as_me:$LINENO: checking for $ac_word" >&5
1580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1581 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1582 echo $ECHO_N "(cached) $ECHO_C" >&6
1583 else
1584 if test -n "$ac_ct_CC"; then
1585 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1586 else
1587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1588 for as_dir in $PATH
1590 IFS=$as_save_IFS
1591 test -z "$as_dir" && as_dir=.
1592 for ac_exec_ext in '' $ac_executable_extensions; do
1593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1594 ac_cv_prog_ac_ct_CC="gcc"
1595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1596 break 2
1598 done
1599 done
1603 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1604 if test -n "$ac_ct_CC"; then
1605 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1606 echo "${ECHO_T}$ac_ct_CC" >&6
1607 else
1608 echo "$as_me:$LINENO: result: no" >&5
1609 echo "${ECHO_T}no" >&6
1612 CC=$ac_ct_CC
1613 else
1614 CC="$ac_cv_prog_CC"
1617 if test -z "$CC"; then
1618 if test -n "$ac_tool_prefix"; then
1619 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1620 set dummy ${ac_tool_prefix}cc; ac_word=$2
1621 echo "$as_me:$LINENO: checking for $ac_word" >&5
1622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1623 if test "${ac_cv_prog_CC+set}" = set; then
1624 echo $ECHO_N "(cached) $ECHO_C" >&6
1625 else
1626 if test -n "$CC"; then
1627 ac_cv_prog_CC="$CC" # Let the user override the test.
1628 else
1629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1630 for as_dir in $PATH
1632 IFS=$as_save_IFS
1633 test -z "$as_dir" && as_dir=.
1634 for ac_exec_ext in '' $ac_executable_extensions; do
1635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1636 ac_cv_prog_CC="${ac_tool_prefix}cc"
1637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1638 break 2
1640 done
1641 done
1645 CC=$ac_cv_prog_CC
1646 if test -n "$CC"; then
1647 echo "$as_me:$LINENO: result: $CC" >&5
1648 echo "${ECHO_T}$CC" >&6
1649 else
1650 echo "$as_me:$LINENO: result: no" >&5
1651 echo "${ECHO_T}no" >&6
1655 if test -z "$ac_cv_prog_CC"; then
1656 ac_ct_CC=$CC
1657 # Extract the first word of "cc", so it can be a program name with args.
1658 set dummy cc; ac_word=$2
1659 echo "$as_me:$LINENO: checking for $ac_word" >&5
1660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1661 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1662 echo $ECHO_N "(cached) $ECHO_C" >&6
1663 else
1664 if test -n "$ac_ct_CC"; then
1665 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1666 else
1667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1668 for as_dir in $PATH
1670 IFS=$as_save_IFS
1671 test -z "$as_dir" && as_dir=.
1672 for ac_exec_ext in '' $ac_executable_extensions; do
1673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1674 ac_cv_prog_ac_ct_CC="cc"
1675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1676 break 2
1678 done
1679 done
1683 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1684 if test -n "$ac_ct_CC"; then
1685 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1686 echo "${ECHO_T}$ac_ct_CC" >&6
1687 else
1688 echo "$as_me:$LINENO: result: no" >&5
1689 echo "${ECHO_T}no" >&6
1692 CC=$ac_ct_CC
1693 else
1694 CC="$ac_cv_prog_CC"
1698 if test -z "$CC"; then
1699 # Extract the first word of "cc", so it can be a program name with args.
1700 set dummy cc; ac_word=$2
1701 echo "$as_me:$LINENO: checking for $ac_word" >&5
1702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1703 if test "${ac_cv_prog_CC+set}" = set; then
1704 echo $ECHO_N "(cached) $ECHO_C" >&6
1705 else
1706 if test -n "$CC"; then
1707 ac_cv_prog_CC="$CC" # Let the user override the test.
1708 else
1709 ac_prog_rejected=no
1710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1711 for as_dir in $PATH
1713 IFS=$as_save_IFS
1714 test -z "$as_dir" && as_dir=.
1715 for ac_exec_ext in '' $ac_executable_extensions; do
1716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1717 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1718 ac_prog_rejected=yes
1719 continue
1721 ac_cv_prog_CC="cc"
1722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1723 break 2
1725 done
1726 done
1728 if test $ac_prog_rejected = yes; then
1729 # We found a bogon in the path, so make sure we never use it.
1730 set dummy $ac_cv_prog_CC
1731 shift
1732 if test $# != 0; then
1733 # We chose a different compiler from the bogus one.
1734 # However, it has the same basename, so the bogon will be chosen
1735 # first if we set CC to just the basename; use the full file name.
1736 shift
1737 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1742 CC=$ac_cv_prog_CC
1743 if test -n "$CC"; then
1744 echo "$as_me:$LINENO: result: $CC" >&5
1745 echo "${ECHO_T}$CC" >&6
1746 else
1747 echo "$as_me:$LINENO: result: no" >&5
1748 echo "${ECHO_T}no" >&6
1752 if test -z "$CC"; then
1753 if test -n "$ac_tool_prefix"; then
1754 for ac_prog in cl
1756 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1757 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1758 echo "$as_me:$LINENO: checking for $ac_word" >&5
1759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1760 if test "${ac_cv_prog_CC+set}" = set; then
1761 echo $ECHO_N "(cached) $ECHO_C" >&6
1762 else
1763 if test -n "$CC"; then
1764 ac_cv_prog_CC="$CC" # Let the user override the test.
1765 else
1766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1767 for as_dir in $PATH
1769 IFS=$as_save_IFS
1770 test -z "$as_dir" && as_dir=.
1771 for ac_exec_ext in '' $ac_executable_extensions; do
1772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1773 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1775 break 2
1777 done
1778 done
1782 CC=$ac_cv_prog_CC
1783 if test -n "$CC"; then
1784 echo "$as_me:$LINENO: result: $CC" >&5
1785 echo "${ECHO_T}$CC" >&6
1786 else
1787 echo "$as_me:$LINENO: result: no" >&5
1788 echo "${ECHO_T}no" >&6
1791 test -n "$CC" && break
1792 done
1794 if test -z "$CC"; then
1795 ac_ct_CC=$CC
1796 for ac_prog in cl
1798 # Extract the first word of "$ac_prog", so it can be a program name with args.
1799 set dummy $ac_prog; ac_word=$2
1800 echo "$as_me:$LINENO: checking for $ac_word" >&5
1801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1802 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1803 echo $ECHO_N "(cached) $ECHO_C" >&6
1804 else
1805 if test -n "$ac_ct_CC"; then
1806 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1807 else
1808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1809 for as_dir in $PATH
1811 IFS=$as_save_IFS
1812 test -z "$as_dir" && as_dir=.
1813 for ac_exec_ext in '' $ac_executable_extensions; do
1814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1815 ac_cv_prog_ac_ct_CC="$ac_prog"
1816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1817 break 2
1819 done
1820 done
1824 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1825 if test -n "$ac_ct_CC"; then
1826 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1827 echo "${ECHO_T}$ac_ct_CC" >&6
1828 else
1829 echo "$as_me:$LINENO: result: no" >&5
1830 echo "${ECHO_T}no" >&6
1833 test -n "$ac_ct_CC" && break
1834 done
1836 CC=$ac_ct_CC
1842 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1843 See \`config.log' for more details." >&5
1844 echo "$as_me: error: no acceptable C compiler found in \$PATH
1845 See \`config.log' for more details." >&2;}
1846 { (exit 1); exit 1; }; }
1848 # Provide some information about the compiler.
1849 echo "$as_me:$LINENO:" \
1850 "checking for C compiler version" >&5
1851 ac_compiler=`set X $ac_compile; echo $2`
1852 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1853 (eval $ac_compiler --version </dev/null >&5) 2>&5
1854 ac_status=$?
1855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1856 (exit $ac_status); }
1857 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1858 (eval $ac_compiler -v </dev/null >&5) 2>&5
1859 ac_status=$?
1860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1861 (exit $ac_status); }
1862 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1863 (eval $ac_compiler -V </dev/null >&5) 2>&5
1864 ac_status=$?
1865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1866 (exit $ac_status); }
1868 cat >conftest.$ac_ext <<_ACEOF
1869 /* confdefs.h. */
1870 _ACEOF
1871 cat confdefs.h >>conftest.$ac_ext
1872 cat >>conftest.$ac_ext <<_ACEOF
1873 /* end confdefs.h. */
1876 main ()
1880 return 0;
1882 _ACEOF
1883 ac_clean_files_save=$ac_clean_files
1884 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1885 # Try to create an executable without -o first, disregard a.out.
1886 # It will help us diagnose broken compilers, and finding out an intuition
1887 # of exeext.
1888 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1889 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1890 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1891 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1892 (eval $ac_link_default) 2>&5
1893 ac_status=$?
1894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1895 (exit $ac_status); }; then
1896 # Find the output, starting from the most likely. This scheme is
1897 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1898 # resort.
1900 # Be careful to initialize this variable, since it used to be cached.
1901 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1902 ac_cv_exeext=
1903 # b.out is created by i960 compilers.
1904 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1906 test -f "$ac_file" || continue
1907 case $ac_file in
1908 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1910 conftest.$ac_ext )
1911 # This is the source file.
1913 [ab].out )
1914 # We found the default executable, but exeext='' is most
1915 # certainly right.
1916 break;;
1917 *.* )
1918 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1919 # FIXME: I believe we export ac_cv_exeext for Libtool,
1920 # but it would be cool to find out if it's true. Does anybody
1921 # maintain Libtool? --akim.
1922 export ac_cv_exeext
1923 break;;
1925 break;;
1926 esac
1927 done
1928 else
1929 echo "$as_me: failed program was:" >&5
1930 sed 's/^/| /' conftest.$ac_ext >&5
1932 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1933 See \`config.log' for more details." >&5
1934 echo "$as_me: error: C compiler cannot create executables
1935 See \`config.log' for more details." >&2;}
1936 { (exit 77); exit 77; }; }
1939 ac_exeext=$ac_cv_exeext
1940 echo "$as_me:$LINENO: result: $ac_file" >&5
1941 echo "${ECHO_T}$ac_file" >&6
1943 # Check the compiler produces executables we can run. If not, either
1944 # the compiler is broken, or we cross compile.
1945 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1946 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1947 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1948 # If not cross compiling, check that we can run a simple program.
1949 if test "$cross_compiling" != yes; then
1950 if { ac_try='./$ac_file'
1951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1952 (eval $ac_try) 2>&5
1953 ac_status=$?
1954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1955 (exit $ac_status); }; }; then
1956 cross_compiling=no
1957 else
1958 if test "$cross_compiling" = maybe; then
1959 cross_compiling=yes
1960 else
1961 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1962 If you meant to cross compile, use \`--host'.
1963 See \`config.log' for more details." >&5
1964 echo "$as_me: error: cannot run C compiled programs.
1965 If you meant to cross compile, use \`--host'.
1966 See \`config.log' for more details." >&2;}
1967 { (exit 1); exit 1; }; }
1971 echo "$as_me:$LINENO: result: yes" >&5
1972 echo "${ECHO_T}yes" >&6
1974 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1975 ac_clean_files=$ac_clean_files_save
1976 # Check the compiler produces executables we can run. If not, either
1977 # the compiler is broken, or we cross compile.
1978 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1979 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1980 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1981 echo "${ECHO_T}$cross_compiling" >&6
1983 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1984 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1986 (eval $ac_link) 2>&5
1987 ac_status=$?
1988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1989 (exit $ac_status); }; then
1990 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1991 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1992 # work properly (i.e., refer to `conftest.exe'), while it won't with
1993 # `rm'.
1994 for ac_file in conftest.exe conftest conftest.*; do
1995 test -f "$ac_file" || continue
1996 case $ac_file in
1997 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1998 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1999 export ac_cv_exeext
2000 break;;
2001 * ) break;;
2002 esac
2003 done
2004 else
2005 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2006 See \`config.log' for more details." >&5
2007 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2008 See \`config.log' for more details." >&2;}
2009 { (exit 1); exit 1; }; }
2012 rm -f conftest$ac_cv_exeext
2013 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2014 echo "${ECHO_T}$ac_cv_exeext" >&6
2016 rm -f conftest.$ac_ext
2017 EXEEXT=$ac_cv_exeext
2018 ac_exeext=$EXEEXT
2019 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2020 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2021 if test "${ac_cv_objext+set}" = set; then
2022 echo $ECHO_N "(cached) $ECHO_C" >&6
2023 else
2024 cat >conftest.$ac_ext <<_ACEOF
2025 /* confdefs.h. */
2026 _ACEOF
2027 cat confdefs.h >>conftest.$ac_ext
2028 cat >>conftest.$ac_ext <<_ACEOF
2029 /* end confdefs.h. */
2032 main ()
2036 return 0;
2038 _ACEOF
2039 rm -f conftest.o conftest.obj
2040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2041 (eval $ac_compile) 2>&5
2042 ac_status=$?
2043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2044 (exit $ac_status); }; then
2045 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2046 case $ac_file in
2047 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2048 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2049 break;;
2050 esac
2051 done
2052 else
2053 echo "$as_me: failed program was:" >&5
2054 sed 's/^/| /' conftest.$ac_ext >&5
2056 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2057 See \`config.log' for more details." >&5
2058 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2059 See \`config.log' for more details." >&2;}
2060 { (exit 1); exit 1; }; }
2063 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2065 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2066 echo "${ECHO_T}$ac_cv_objext" >&6
2067 OBJEXT=$ac_cv_objext
2068 ac_objext=$OBJEXT
2069 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2070 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2071 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2072 echo $ECHO_N "(cached) $ECHO_C" >&6
2073 else
2074 cat >conftest.$ac_ext <<_ACEOF
2075 /* confdefs.h. */
2076 _ACEOF
2077 cat confdefs.h >>conftest.$ac_ext
2078 cat >>conftest.$ac_ext <<_ACEOF
2079 /* end confdefs.h. */
2082 main ()
2084 #ifndef __GNUC__
2085 choke me
2086 #endif
2089 return 0;
2091 _ACEOF
2092 rm -f conftest.$ac_objext
2093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2094 (eval $ac_compile) 2>conftest.er1
2095 ac_status=$?
2096 grep -v '^ *+' conftest.er1 >conftest.err
2097 rm -f conftest.er1
2098 cat conftest.err >&5
2099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2100 (exit $ac_status); } &&
2101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2103 (eval $ac_try) 2>&5
2104 ac_status=$?
2105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2106 (exit $ac_status); }; } &&
2107 { ac_try='test -s conftest.$ac_objext'
2108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2109 (eval $ac_try) 2>&5
2110 ac_status=$?
2111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2112 (exit $ac_status); }; }; then
2113 ac_compiler_gnu=yes
2114 else
2115 echo "$as_me: failed program was:" >&5
2116 sed 's/^/| /' conftest.$ac_ext >&5
2118 ac_compiler_gnu=no
2120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2121 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2124 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2125 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2126 GCC=`test $ac_compiler_gnu = yes && echo yes`
2127 ac_test_CFLAGS=${CFLAGS+set}
2128 ac_save_CFLAGS=$CFLAGS
2129 CFLAGS="-g"
2130 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2131 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2132 if test "${ac_cv_prog_cc_g+set}" = set; then
2133 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 else
2135 cat >conftest.$ac_ext <<_ACEOF
2136 /* confdefs.h. */
2137 _ACEOF
2138 cat confdefs.h >>conftest.$ac_ext
2139 cat >>conftest.$ac_ext <<_ACEOF
2140 /* end confdefs.h. */
2143 main ()
2147 return 0;
2149 _ACEOF
2150 rm -f conftest.$ac_objext
2151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2152 (eval $ac_compile) 2>conftest.er1
2153 ac_status=$?
2154 grep -v '^ *+' conftest.er1 >conftest.err
2155 rm -f conftest.er1
2156 cat conftest.err >&5
2157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158 (exit $ac_status); } &&
2159 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2161 (eval $ac_try) 2>&5
2162 ac_status=$?
2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164 (exit $ac_status); }; } &&
2165 { ac_try='test -s conftest.$ac_objext'
2166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2167 (eval $ac_try) 2>&5
2168 ac_status=$?
2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2170 (exit $ac_status); }; }; then
2171 ac_cv_prog_cc_g=yes
2172 else
2173 echo "$as_me: failed program was:" >&5
2174 sed 's/^/| /' conftest.$ac_ext >&5
2176 ac_cv_prog_cc_g=no
2178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2180 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2181 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2182 if test "$ac_test_CFLAGS" = set; then
2183 CFLAGS=$ac_save_CFLAGS
2184 elif test $ac_cv_prog_cc_g = yes; then
2185 if test "$GCC" = yes; then
2186 CFLAGS="-g -O2"
2187 else
2188 CFLAGS="-g"
2190 else
2191 if test "$GCC" = yes; then
2192 CFLAGS="-O2"
2193 else
2194 CFLAGS=
2197 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2198 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2199 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2200 echo $ECHO_N "(cached) $ECHO_C" >&6
2201 else
2202 ac_cv_prog_cc_stdc=no
2203 ac_save_CC=$CC
2204 cat >conftest.$ac_ext <<_ACEOF
2205 /* confdefs.h. */
2206 _ACEOF
2207 cat confdefs.h >>conftest.$ac_ext
2208 cat >>conftest.$ac_ext <<_ACEOF
2209 /* end confdefs.h. */
2210 #include <stdarg.h>
2211 #include <stdio.h>
2212 #include <sys/types.h>
2213 #include <sys/stat.h>
2214 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2215 struct buf { int x; };
2216 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2217 static char *e (p, i)
2218 char **p;
2219 int i;
2221 return p[i];
2223 static char *f (char * (*g) (char **, int), char **p, ...)
2225 char *s;
2226 va_list v;
2227 va_start (v,p);
2228 s = g (p, va_arg (v,int));
2229 va_end (v);
2230 return s;
2233 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2234 function prototypes and stuff, but not '\xHH' hex character constants.
2235 These don't provoke an error unfortunately, instead are silently treated
2236 as 'x'. The following induces an error, until -std1 is added to get
2237 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2238 array size at least. It's necessary to write '\x00'==0 to get something
2239 that's true only with -std1. */
2240 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2242 int test (int i, double x);
2243 struct s1 {int (*f) (int a);};
2244 struct s2 {int (*f) (double a);};
2245 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2246 int argc;
2247 char **argv;
2249 main ()
2251 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2253 return 0;
2255 _ACEOF
2256 # Don't try gcc -ansi; that turns off useful extensions and
2257 # breaks some systems' header files.
2258 # AIX -qlanglvl=ansi
2259 # Ultrix and OSF/1 -std1
2260 # HP-UX 10.20 and later -Ae
2261 # HP-UX older versions -Aa -D_HPUX_SOURCE
2262 # SVR4 -Xc -D__EXTENSIONS__
2263 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2265 CC="$ac_save_CC $ac_arg"
2266 rm -f conftest.$ac_objext
2267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2268 (eval $ac_compile) 2>conftest.er1
2269 ac_status=$?
2270 grep -v '^ *+' conftest.er1 >conftest.err
2271 rm -f conftest.er1
2272 cat conftest.err >&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); } &&
2275 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2277 (eval $ac_try) 2>&5
2278 ac_status=$?
2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280 (exit $ac_status); }; } &&
2281 { ac_try='test -s conftest.$ac_objext'
2282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2283 (eval $ac_try) 2>&5
2284 ac_status=$?
2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2286 (exit $ac_status); }; }; then
2287 ac_cv_prog_cc_stdc=$ac_arg
2288 break
2289 else
2290 echo "$as_me: failed program was:" >&5
2291 sed 's/^/| /' conftest.$ac_ext >&5
2294 rm -f conftest.err conftest.$ac_objext
2295 done
2296 rm -f conftest.$ac_ext conftest.$ac_objext
2297 CC=$ac_save_CC
2301 case "x$ac_cv_prog_cc_stdc" in
2302 x|xno)
2303 echo "$as_me:$LINENO: result: none needed" >&5
2304 echo "${ECHO_T}none needed" >&6 ;;
2306 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2307 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2308 CC="$CC $ac_cv_prog_cc_stdc" ;;
2309 esac
2311 # Some people use a C++ compiler to compile C. Since we use `exit',
2312 # in C++ we need to declare it. In case someone uses the same compiler
2313 # for both compiling C and C++ we need to have the C++ compiler decide
2314 # the declaration of exit, since it's the most demanding environment.
2315 cat >conftest.$ac_ext <<_ACEOF
2316 #ifndef __cplusplus
2317 choke me
2318 #endif
2319 _ACEOF
2320 rm -f conftest.$ac_objext
2321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2322 (eval $ac_compile) 2>conftest.er1
2323 ac_status=$?
2324 grep -v '^ *+' conftest.er1 >conftest.err
2325 rm -f conftest.er1
2326 cat conftest.err >&5
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); } &&
2329 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2331 (eval $ac_try) 2>&5
2332 ac_status=$?
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); }; } &&
2335 { ac_try='test -s conftest.$ac_objext'
2336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2337 (eval $ac_try) 2>&5
2338 ac_status=$?
2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340 (exit $ac_status); }; }; then
2341 for ac_declaration in \
2342 '' \
2343 'extern "C" void std::exit (int) throw (); using std::exit;' \
2344 'extern "C" void std::exit (int); using std::exit;' \
2345 'extern "C" void exit (int) throw ();' \
2346 'extern "C" void exit (int);' \
2347 'void exit (int);'
2349 cat >conftest.$ac_ext <<_ACEOF
2350 /* confdefs.h. */
2351 _ACEOF
2352 cat confdefs.h >>conftest.$ac_ext
2353 cat >>conftest.$ac_ext <<_ACEOF
2354 /* end confdefs.h. */
2355 $ac_declaration
2356 #include <stdlib.h>
2358 main ()
2360 exit (42);
2362 return 0;
2364 _ACEOF
2365 rm -f conftest.$ac_objext
2366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2367 (eval $ac_compile) 2>conftest.er1
2368 ac_status=$?
2369 grep -v '^ *+' conftest.er1 >conftest.err
2370 rm -f conftest.er1
2371 cat conftest.err >&5
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); } &&
2374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2376 (eval $ac_try) 2>&5
2377 ac_status=$?
2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379 (exit $ac_status); }; } &&
2380 { ac_try='test -s conftest.$ac_objext'
2381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2382 (eval $ac_try) 2>&5
2383 ac_status=$?
2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); }; }; then
2387 else
2388 echo "$as_me: failed program was:" >&5
2389 sed 's/^/| /' conftest.$ac_ext >&5
2391 continue
2393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2394 cat >conftest.$ac_ext <<_ACEOF
2395 /* confdefs.h. */
2396 _ACEOF
2397 cat confdefs.h >>conftest.$ac_ext
2398 cat >>conftest.$ac_ext <<_ACEOF
2399 /* end confdefs.h. */
2400 $ac_declaration
2402 main ()
2404 exit (42);
2406 return 0;
2408 _ACEOF
2409 rm -f conftest.$ac_objext
2410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2411 (eval $ac_compile) 2>conftest.er1
2412 ac_status=$?
2413 grep -v '^ *+' conftest.er1 >conftest.err
2414 rm -f conftest.er1
2415 cat conftest.err >&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); } &&
2418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2420 (eval $ac_try) 2>&5
2421 ac_status=$?
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); }; } &&
2424 { ac_try='test -s conftest.$ac_objext'
2425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2426 (eval $ac_try) 2>&5
2427 ac_status=$?
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); }; }; then
2430 break
2431 else
2432 echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.$ac_ext >&5
2436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2437 done
2438 rm -f conftest*
2439 if test -n "$ac_declaration"; then
2440 echo '#ifdef __cplusplus' >>confdefs.h
2441 echo $ac_declaration >>confdefs.h
2442 echo '#endif' >>confdefs.h
2445 else
2446 echo "$as_me: failed program was:" >&5
2447 sed 's/^/| /' conftest.$ac_ext >&5
2450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2451 ac_ext=c
2452 ac_cpp='$CPP $CPPFLAGS'
2453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2457 ac_ext=cc
2458 ac_cpp='$CXXCPP $CPPFLAGS'
2459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2462 if test -n "$ac_tool_prefix"; then
2463 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2465 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2466 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2467 echo "$as_me:$LINENO: checking for $ac_word" >&5
2468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2469 if test "${ac_cv_prog_CXX+set}" = set; then
2470 echo $ECHO_N "(cached) $ECHO_C" >&6
2471 else
2472 if test -n "$CXX"; then
2473 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2474 else
2475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2476 for as_dir in $PATH
2478 IFS=$as_save_IFS
2479 test -z "$as_dir" && as_dir=.
2480 for ac_exec_ext in '' $ac_executable_extensions; do
2481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2482 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2484 break 2
2486 done
2487 done
2491 CXX=$ac_cv_prog_CXX
2492 if test -n "$CXX"; then
2493 echo "$as_me:$LINENO: result: $CXX" >&5
2494 echo "${ECHO_T}$CXX" >&6
2495 else
2496 echo "$as_me:$LINENO: result: no" >&5
2497 echo "${ECHO_T}no" >&6
2500 test -n "$CXX" && break
2501 done
2503 if test -z "$CXX"; then
2504 ac_ct_CXX=$CXX
2505 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2507 # Extract the first word of "$ac_prog", so it can be a program name with args.
2508 set dummy $ac_prog; ac_word=$2
2509 echo "$as_me:$LINENO: checking for $ac_word" >&5
2510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2511 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2512 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 else
2514 if test -n "$ac_ct_CXX"; then
2515 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2516 else
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 for as_dir in $PATH
2520 IFS=$as_save_IFS
2521 test -z "$as_dir" && as_dir=.
2522 for ac_exec_ext in '' $ac_executable_extensions; do
2523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2524 ac_cv_prog_ac_ct_CXX="$ac_prog"
2525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2526 break 2
2528 done
2529 done
2533 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2534 if test -n "$ac_ct_CXX"; then
2535 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2536 echo "${ECHO_T}$ac_ct_CXX" >&6
2537 else
2538 echo "$as_me:$LINENO: result: no" >&5
2539 echo "${ECHO_T}no" >&6
2542 test -n "$ac_ct_CXX" && break
2543 done
2544 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2546 CXX=$ac_ct_CXX
2550 # Provide some information about the compiler.
2551 echo "$as_me:$LINENO:" \
2552 "checking for C++ compiler version" >&5
2553 ac_compiler=`set X $ac_compile; echo $2`
2554 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2555 (eval $ac_compiler --version </dev/null >&5) 2>&5
2556 ac_status=$?
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); }
2559 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2560 (eval $ac_compiler -v </dev/null >&5) 2>&5
2561 ac_status=$?
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); }
2564 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2565 (eval $ac_compiler -V </dev/null >&5) 2>&5
2566 ac_status=$?
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); }
2570 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2571 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2572 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
2574 else
2575 cat >conftest.$ac_ext <<_ACEOF
2576 /* confdefs.h. */
2577 _ACEOF
2578 cat confdefs.h >>conftest.$ac_ext
2579 cat >>conftest.$ac_ext <<_ACEOF
2580 /* end confdefs.h. */
2583 main ()
2585 #ifndef __GNUC__
2586 choke me
2587 #endif
2590 return 0;
2592 _ACEOF
2593 rm -f conftest.$ac_objext
2594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2595 (eval $ac_compile) 2>conftest.er1
2596 ac_status=$?
2597 grep -v '^ *+' conftest.er1 >conftest.err
2598 rm -f conftest.er1
2599 cat conftest.err >&5
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); } &&
2602 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2604 (eval $ac_try) 2>&5
2605 ac_status=$?
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }; } &&
2608 { ac_try='test -s conftest.$ac_objext'
2609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2610 (eval $ac_try) 2>&5
2611 ac_status=$?
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); }; }; then
2614 ac_compiler_gnu=yes
2615 else
2616 echo "$as_me: failed program was:" >&5
2617 sed 's/^/| /' conftest.$ac_ext >&5
2619 ac_compiler_gnu=no
2621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2622 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2625 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2626 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2627 GXX=`test $ac_compiler_gnu = yes && echo yes`
2628 ac_test_CXXFLAGS=${CXXFLAGS+set}
2629 ac_save_CXXFLAGS=$CXXFLAGS
2630 CXXFLAGS="-g"
2631 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2632 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2633 if test "${ac_cv_prog_cxx_g+set}" = set; then
2634 echo $ECHO_N "(cached) $ECHO_C" >&6
2635 else
2636 cat >conftest.$ac_ext <<_ACEOF
2637 /* confdefs.h. */
2638 _ACEOF
2639 cat confdefs.h >>conftest.$ac_ext
2640 cat >>conftest.$ac_ext <<_ACEOF
2641 /* end confdefs.h. */
2644 main ()
2648 return 0;
2650 _ACEOF
2651 rm -f conftest.$ac_objext
2652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2653 (eval $ac_compile) 2>conftest.er1
2654 ac_status=$?
2655 grep -v '^ *+' conftest.er1 >conftest.err
2656 rm -f conftest.er1
2657 cat conftest.err >&5
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); } &&
2660 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2662 (eval $ac_try) 2>&5
2663 ac_status=$?
2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 (exit $ac_status); }; } &&
2666 { ac_try='test -s conftest.$ac_objext'
2667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2668 (eval $ac_try) 2>&5
2669 ac_status=$?
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); }; }; then
2672 ac_cv_prog_cxx_g=yes
2673 else
2674 echo "$as_me: failed program was:" >&5
2675 sed 's/^/| /' conftest.$ac_ext >&5
2677 ac_cv_prog_cxx_g=no
2679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2681 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2682 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2683 if test "$ac_test_CXXFLAGS" = set; then
2684 CXXFLAGS=$ac_save_CXXFLAGS
2685 elif test $ac_cv_prog_cxx_g = yes; then
2686 if test "$GXX" = yes; then
2687 CXXFLAGS="-g -O2"
2688 else
2689 CXXFLAGS="-g"
2691 else
2692 if test "$GXX" = yes; then
2693 CXXFLAGS="-O2"
2694 else
2695 CXXFLAGS=
2698 for ac_declaration in \
2699 '' \
2700 'extern "C" void std::exit (int) throw (); using std::exit;' \
2701 'extern "C" void std::exit (int); using std::exit;' \
2702 'extern "C" void exit (int) throw ();' \
2703 'extern "C" void exit (int);' \
2704 'void exit (int);'
2706 cat >conftest.$ac_ext <<_ACEOF
2707 /* confdefs.h. */
2708 _ACEOF
2709 cat confdefs.h >>conftest.$ac_ext
2710 cat >>conftest.$ac_ext <<_ACEOF
2711 /* end confdefs.h. */
2712 $ac_declaration
2713 #include <stdlib.h>
2715 main ()
2717 exit (42);
2719 return 0;
2721 _ACEOF
2722 rm -f conftest.$ac_objext
2723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2724 (eval $ac_compile) 2>conftest.er1
2725 ac_status=$?
2726 grep -v '^ *+' conftest.er1 >conftest.err
2727 rm -f conftest.er1
2728 cat conftest.err >&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); } &&
2731 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2733 (eval $ac_try) 2>&5
2734 ac_status=$?
2735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736 (exit $ac_status); }; } &&
2737 { ac_try='test -s conftest.$ac_objext'
2738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2739 (eval $ac_try) 2>&5
2740 ac_status=$?
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); }; }; then
2744 else
2745 echo "$as_me: failed program was:" >&5
2746 sed 's/^/| /' conftest.$ac_ext >&5
2748 continue
2750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2751 cat >conftest.$ac_ext <<_ACEOF
2752 /* confdefs.h. */
2753 _ACEOF
2754 cat confdefs.h >>conftest.$ac_ext
2755 cat >>conftest.$ac_ext <<_ACEOF
2756 /* end confdefs.h. */
2757 $ac_declaration
2759 main ()
2761 exit (42);
2763 return 0;
2765 _ACEOF
2766 rm -f conftest.$ac_objext
2767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2768 (eval $ac_compile) 2>conftest.er1
2769 ac_status=$?
2770 grep -v '^ *+' conftest.er1 >conftest.err
2771 rm -f conftest.er1
2772 cat conftest.err >&5
2773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); } &&
2775 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2777 (eval $ac_try) 2>&5
2778 ac_status=$?
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); }; } &&
2781 { ac_try='test -s conftest.$ac_objext'
2782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2783 (eval $ac_try) 2>&5
2784 ac_status=$?
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; }; then
2787 break
2788 else
2789 echo "$as_me: failed program was:" >&5
2790 sed 's/^/| /' conftest.$ac_ext >&5
2793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2794 done
2795 rm -f conftest*
2796 if test -n "$ac_declaration"; then
2797 echo '#ifdef __cplusplus' >>confdefs.h
2798 echo $ac_declaration >>confdefs.h
2799 echo '#endif' >>confdefs.h
2802 ac_ext=c
2803 ac_cpp='$CPP $CPPFLAGS'
2804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2808 if test -n "$ac_tool_prefix"; then
2809 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
2810 set dummy ${ac_tool_prefix}cpp; ac_word=$2
2811 echo "$as_me:$LINENO: checking for $ac_word" >&5
2812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2813 if test "${ac_cv_prog_CPPBIN+set}" = set; then
2814 echo $ECHO_N "(cached) $ECHO_C" >&6
2815 else
2816 if test -n "$CPPBIN"; then
2817 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
2818 else
2819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2820 for as_dir in $PATH
2822 IFS=$as_save_IFS
2823 test -z "$as_dir" && as_dir=.
2824 for ac_exec_ext in '' $ac_executable_extensions; do
2825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2826 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
2827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2828 break 2
2830 done
2831 done
2835 CPPBIN=$ac_cv_prog_CPPBIN
2836 if test -n "$CPPBIN"; then
2837 echo "$as_me:$LINENO: result: $CPPBIN" >&5
2838 echo "${ECHO_T}$CPPBIN" >&6
2839 else
2840 echo "$as_me:$LINENO: result: no" >&5
2841 echo "${ECHO_T}no" >&6
2845 if test -z "$ac_cv_prog_CPPBIN"; then
2846 ac_ct_CPPBIN=$CPPBIN
2847 # Extract the first word of "cpp", so it can be a program name with args.
2848 set dummy cpp; ac_word=$2
2849 echo "$as_me:$LINENO: checking for $ac_word" >&5
2850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2851 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
2852 echo $ECHO_N "(cached) $ECHO_C" >&6
2853 else
2854 if test -n "$ac_ct_CPPBIN"; then
2855 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
2856 else
2857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2858 for as_dir in $PATH
2860 IFS=$as_save_IFS
2861 test -z "$as_dir" && as_dir=.
2862 for ac_exec_ext in '' $ac_executable_extensions; do
2863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2864 ac_cv_prog_ac_ct_CPPBIN="cpp"
2865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2866 break 2
2868 done
2869 done
2871 test -z "$ac_cv_prog_ac_ct_CPPBIN" && ac_cv_prog_ac_ct_CPPBIN="cpp"
2874 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
2875 if test -n "$ac_ct_CPPBIN"; then
2876 echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
2877 echo "${ECHO_T}$ac_ct_CPPBIN" >&6
2878 else
2879 echo "$as_me:$LINENO: result: no" >&5
2880 echo "${ECHO_T}no" >&6
2883 CPPBIN=$ac_ct_CPPBIN
2884 else
2885 CPPBIN="$ac_cv_prog_CPPBIN"
2889 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2890 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2891 if test "${wine_cv_toolsdir+set}" = set; then
2892 echo $ECHO_N "(cached) $ECHO_C" >&6
2893 else
2894 if test -z "$with_wine_tools"; then
2895 if test "$cross_compiling" = "yes"; then
2896 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2897 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2898 { (exit 1); exit 1; }; }
2899 else
2900 wine_cv_toolsdir="\$(TOPOBJDIR)"
2902 elif test -d "$with_wine_tools/tools/winebuild"; then
2903 case $with_wine_tools in
2904 /*) wine_cv_toolsdir="$with_wine_tools" ;;
2905 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
2906 esac
2907 else
2908 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2909 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2910 { (exit 1); exit 1; }; }
2913 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2914 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2915 TOOLSDIR=$wine_cv_toolsdir
2919 ac_ext=c
2920 ac_cpp='$CPP $CPPFLAGS'
2921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2924 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2925 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2926 # On Suns, sometimes $CPP names a directory.
2927 if test -n "$CPP" && test -d "$CPP"; then
2928 CPP=
2930 if test -z "$CPP"; then
2931 if test "${ac_cv_prog_CPP+set}" = set; then
2932 echo $ECHO_N "(cached) $ECHO_C" >&6
2933 else
2934 # Double quotes because CPP needs to be expanded
2935 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2937 ac_preproc_ok=false
2938 for ac_c_preproc_warn_flag in '' yes
2940 # Use a header file that comes with gcc, so configuring glibc
2941 # with a fresh cross-compiler works.
2942 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2943 # <limits.h> exists even on freestanding compilers.
2944 # On the NeXT, cc -E runs the code through the compiler's parser,
2945 # not just through cpp. "Syntax error" is here to catch this case.
2946 cat >conftest.$ac_ext <<_ACEOF
2947 /* confdefs.h. */
2948 _ACEOF
2949 cat confdefs.h >>conftest.$ac_ext
2950 cat >>conftest.$ac_ext <<_ACEOF
2951 /* end confdefs.h. */
2952 #ifdef __STDC__
2953 # include <limits.h>
2954 #else
2955 # include <assert.h>
2956 #endif
2957 Syntax error
2958 _ACEOF
2959 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2960 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2961 ac_status=$?
2962 grep -v '^ *+' conftest.er1 >conftest.err
2963 rm -f conftest.er1
2964 cat conftest.err >&5
2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); } >/dev/null; then
2967 if test -s conftest.err; then
2968 ac_cpp_err=$ac_c_preproc_warn_flag
2969 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2970 else
2971 ac_cpp_err=
2973 else
2974 ac_cpp_err=yes
2976 if test -z "$ac_cpp_err"; then
2978 else
2979 echo "$as_me: failed program was:" >&5
2980 sed 's/^/| /' conftest.$ac_ext >&5
2982 # Broken: fails on valid input.
2983 continue
2985 rm -f conftest.err conftest.$ac_ext
2987 # OK, works on sane cases. Now check whether non-existent headers
2988 # can be detected and how.
2989 cat >conftest.$ac_ext <<_ACEOF
2990 /* confdefs.h. */
2991 _ACEOF
2992 cat confdefs.h >>conftest.$ac_ext
2993 cat >>conftest.$ac_ext <<_ACEOF
2994 /* end confdefs.h. */
2995 #include <ac_nonexistent.h>
2996 _ACEOF
2997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2998 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2999 ac_status=$?
3000 grep -v '^ *+' conftest.er1 >conftest.err
3001 rm -f conftest.er1
3002 cat conftest.err >&5
3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004 (exit $ac_status); } >/dev/null; then
3005 if test -s conftest.err; then
3006 ac_cpp_err=$ac_c_preproc_warn_flag
3007 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3008 else
3009 ac_cpp_err=
3011 else
3012 ac_cpp_err=yes
3014 if test -z "$ac_cpp_err"; then
3015 # Broken: success on invalid input.
3016 continue
3017 else
3018 echo "$as_me: failed program was:" >&5
3019 sed 's/^/| /' conftest.$ac_ext >&5
3021 # Passes both tests.
3022 ac_preproc_ok=:
3023 break
3025 rm -f conftest.err conftest.$ac_ext
3027 done
3028 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3029 rm -f conftest.err conftest.$ac_ext
3030 if $ac_preproc_ok; then
3031 break
3034 done
3035 ac_cv_prog_CPP=$CPP
3038 CPP=$ac_cv_prog_CPP
3039 else
3040 ac_cv_prog_CPP=$CPP
3042 echo "$as_me:$LINENO: result: $CPP" >&5
3043 echo "${ECHO_T}$CPP" >&6
3044 ac_preproc_ok=false
3045 for ac_c_preproc_warn_flag in '' yes
3047 # Use a header file that comes with gcc, so configuring glibc
3048 # with a fresh cross-compiler works.
3049 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3050 # <limits.h> exists even on freestanding compilers.
3051 # On the NeXT, cc -E runs the code through the compiler's parser,
3052 # not just through cpp. "Syntax error" is here to catch this case.
3053 cat >conftest.$ac_ext <<_ACEOF
3054 /* confdefs.h. */
3055 _ACEOF
3056 cat confdefs.h >>conftest.$ac_ext
3057 cat >>conftest.$ac_ext <<_ACEOF
3058 /* end confdefs.h. */
3059 #ifdef __STDC__
3060 # include <limits.h>
3061 #else
3062 # include <assert.h>
3063 #endif
3064 Syntax error
3065 _ACEOF
3066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3067 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3068 ac_status=$?
3069 grep -v '^ *+' conftest.er1 >conftest.err
3070 rm -f conftest.er1
3071 cat conftest.err >&5
3072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 (exit $ac_status); } >/dev/null; then
3074 if test -s conftest.err; then
3075 ac_cpp_err=$ac_c_preproc_warn_flag
3076 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3077 else
3078 ac_cpp_err=
3080 else
3081 ac_cpp_err=yes
3083 if test -z "$ac_cpp_err"; then
3085 else
3086 echo "$as_me: failed program was:" >&5
3087 sed 's/^/| /' conftest.$ac_ext >&5
3089 # Broken: fails on valid input.
3090 continue
3092 rm -f conftest.err conftest.$ac_ext
3094 # OK, works on sane cases. Now check whether non-existent headers
3095 # can be detected and how.
3096 cat >conftest.$ac_ext <<_ACEOF
3097 /* confdefs.h. */
3098 _ACEOF
3099 cat confdefs.h >>conftest.$ac_ext
3100 cat >>conftest.$ac_ext <<_ACEOF
3101 /* end confdefs.h. */
3102 #include <ac_nonexistent.h>
3103 _ACEOF
3104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3105 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3106 ac_status=$?
3107 grep -v '^ *+' conftest.er1 >conftest.err
3108 rm -f conftest.er1
3109 cat conftest.err >&5
3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); } >/dev/null; then
3112 if test -s conftest.err; then
3113 ac_cpp_err=$ac_c_preproc_warn_flag
3114 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3115 else
3116 ac_cpp_err=
3118 else
3119 ac_cpp_err=yes
3121 if test -z "$ac_cpp_err"; then
3122 # Broken: success on invalid input.
3123 continue
3124 else
3125 echo "$as_me: failed program was:" >&5
3126 sed 's/^/| /' conftest.$ac_ext >&5
3128 # Passes both tests.
3129 ac_preproc_ok=:
3130 break
3132 rm -f conftest.err conftest.$ac_ext
3134 done
3135 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3136 rm -f conftest.err conftest.$ac_ext
3137 if $ac_preproc_ok; then
3139 else
3140 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3141 See \`config.log' for more details." >&5
3142 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3143 See \`config.log' for more details." >&2;}
3144 { (exit 1); exit 1; }; }
3147 ac_ext=c
3148 ac_cpp='$CPP $CPPFLAGS'
3149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3155 if test "x$ac_path_x_has_been_run" != xyes; then
3156 echo "$as_me:$LINENO: checking for X" >&5
3157 echo $ECHO_N "checking for X... $ECHO_C" >&6
3159 ac_path_x_has_been_run=yes
3161 # Check whether --with-x or --without-x was given.
3162 if test "${with_x+set}" = set; then
3163 withval="$with_x"
3166 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3167 if test "x$with_x" = xno; then
3168 # The user explicitly disabled X.
3169 have_x=disabled
3170 else
3171 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
3172 # Both variables are already set.
3173 have_x=yes
3174 else
3175 if test "${ac_cv_have_x+set}" = set; then
3176 echo $ECHO_N "(cached) $ECHO_C" >&6
3177 else
3178 # One or both of the vars are not set, and there is no cached value.
3179 ac_x_includes=no ac_x_libraries=no
3180 rm -fr conftest.dir
3181 if mkdir conftest.dir; then
3182 cd conftest.dir
3183 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3184 cat >Imakefile <<'_ACEOF'
3185 acfindx:
3186 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3187 _ACEOF
3188 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
3189 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3190 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3191 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3192 for ac_extension in a so sl; do
3193 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
3194 test -f $ac_im_libdir/libX11.$ac_extension; then
3195 ac_im_usrlibdir=$ac_im_libdir; break
3197 done
3198 # Screen out bogus values from the imake configuration. They are
3199 # bogus both because they are the default anyway, and because
3200 # using them would break gcc on systems where it needs fixed includes.
3201 case $ac_im_incroot in
3202 /usr/include) ;;
3203 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3204 esac
3205 case $ac_im_usrlibdir in
3206 /usr/lib | /lib) ;;
3207 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3208 esac
3210 cd ..
3211 rm -fr conftest.dir
3214 # Standard set of common directories for X headers.
3215 # Check X11 before X11Rn because it is often a symlink to the current release.
3216 ac_x_header_dirs='
3217 /usr/X11/include
3218 /usr/X11R6/include
3219 /usr/X11R5/include
3220 /usr/X11R4/include
3222 /usr/include/X11
3223 /usr/include/X11R6
3224 /usr/include/X11R5
3225 /usr/include/X11R4
3227 /usr/local/X11/include
3228 /usr/local/X11R6/include
3229 /usr/local/X11R5/include
3230 /usr/local/X11R4/include
3232 /usr/local/include/X11
3233 /usr/local/include/X11R6
3234 /usr/local/include/X11R5
3235 /usr/local/include/X11R4
3237 /usr/X386/include
3238 /usr/x386/include
3239 /usr/XFree86/include/X11
3241 /usr/include
3242 /usr/local/include
3243 /usr/unsupported/include
3244 /usr/athena/include
3245 /usr/local/x11r5/include
3246 /usr/lpp/Xamples/include
3248 /usr/openwin/include
3249 /usr/openwin/share/include'
3251 if test "$ac_x_includes" = no; then
3252 # Guess where to find include files, by looking for a specified header file.
3253 # First, try using that file with no special directory specified.
3254 cat >conftest.$ac_ext <<_ACEOF
3255 /* confdefs.h. */
3256 _ACEOF
3257 cat confdefs.h >>conftest.$ac_ext
3258 cat >>conftest.$ac_ext <<_ACEOF
3259 /* end confdefs.h. */
3260 #include <X11/Intrinsic.h>
3261 _ACEOF
3262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3263 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3264 ac_status=$?
3265 grep -v '^ *+' conftest.er1 >conftest.err
3266 rm -f conftest.er1
3267 cat conftest.err >&5
3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); } >/dev/null; then
3270 if test -s conftest.err; then
3271 ac_cpp_err=$ac_c_preproc_warn_flag
3272 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3273 else
3274 ac_cpp_err=
3276 else
3277 ac_cpp_err=yes
3279 if test -z "$ac_cpp_err"; then
3280 # We can compile using X headers with no special include directory.
3281 ac_x_includes=
3282 else
3283 echo "$as_me: failed program was:" >&5
3284 sed 's/^/| /' conftest.$ac_ext >&5
3286 for ac_dir in $ac_x_header_dirs; do
3287 if test -r "$ac_dir/X11/Intrinsic.h"; then
3288 ac_x_includes=$ac_dir
3289 break
3291 done
3293 rm -f conftest.err conftest.$ac_ext
3294 fi # $ac_x_includes = no
3296 if test "$ac_x_libraries" = no; then
3297 # Check for the libraries.
3298 # See if we find them without any special options.
3299 # Don't add to $LIBS permanently.
3300 ac_save_LIBS=$LIBS
3301 LIBS="-lXt $LIBS"
3302 cat >conftest.$ac_ext <<_ACEOF
3303 /* confdefs.h. */
3304 _ACEOF
3305 cat confdefs.h >>conftest.$ac_ext
3306 cat >>conftest.$ac_ext <<_ACEOF
3307 /* end confdefs.h. */
3308 #include <X11/Intrinsic.h>
3310 main ()
3312 XtMalloc (0)
3314 return 0;
3316 _ACEOF
3317 rm -f conftest.$ac_objext conftest$ac_exeext
3318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3319 (eval $ac_link) 2>conftest.er1
3320 ac_status=$?
3321 grep -v '^ *+' conftest.er1 >conftest.err
3322 rm -f conftest.er1
3323 cat conftest.err >&5
3324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325 (exit $ac_status); } &&
3326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3328 (eval $ac_try) 2>&5
3329 ac_status=$?
3330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331 (exit $ac_status); }; } &&
3332 { ac_try='test -s conftest$ac_exeext'
3333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3334 (eval $ac_try) 2>&5
3335 ac_status=$?
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); }; }; then
3338 LIBS=$ac_save_LIBS
3339 # We can link X programs with no special library path.
3340 ac_x_libraries=
3341 else
3342 echo "$as_me: failed program was:" >&5
3343 sed 's/^/| /' conftest.$ac_ext >&5
3345 LIBS=$ac_save_LIBS
3346 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3348 # Don't even attempt the hair of trying to link an X program!
3349 for ac_extension in a so sl; do
3350 if test -r $ac_dir/libXt.$ac_extension; then
3351 ac_x_libraries=$ac_dir
3352 break 2
3354 done
3355 done
3357 rm -f conftest.err conftest.$ac_objext \
3358 conftest$ac_exeext conftest.$ac_ext
3359 fi # $ac_x_libraries = no
3361 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
3362 # Didn't find X anywhere. Cache the known absence of X.
3363 ac_cv_have_x="have_x=no"
3364 else
3365 # Record where we found X for the cache.
3366 ac_cv_have_x="have_x=yes \
3367 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3372 eval "$ac_cv_have_x"
3373 fi # $with_x != no
3375 if test "$have_x" != yes; then
3376 echo "$as_me:$LINENO: result: $have_x" >&5
3377 echo "${ECHO_T}$have_x" >&6
3378 no_x=yes
3379 else
3380 # If each of the values was on the command line, it overrides each guess.
3381 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3382 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3383 # Update the cache value to reflect the command line values.
3384 ac_cv_have_x="have_x=yes \
3385 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3386 # It might be that x_includes is empty (headers are found in the
3387 # standard search path. Then output the corresponding message
3388 ac_out_x_includes=$x_includes
3389 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
3390 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
3391 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
3395 if test "$no_x" = yes; then
3396 # Not all programs may use this symbol, but it does not hurt to define it.
3398 cat >>confdefs.h <<\_ACEOF
3399 #define X_DISPLAY_MISSING 1
3400 _ACEOF
3402 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3403 else
3404 if test -n "$x_includes"; then
3405 X_CFLAGS="$X_CFLAGS -I$x_includes"
3408 # It would also be nice to do this for all -L options, not just this one.
3409 if test -n "$x_libraries"; then
3410 X_LIBS="$X_LIBS -L$x_libraries"
3411 # For Solaris; some versions of Sun CC require a space after -R and
3412 # others require no space. Words are not sufficient . . . .
3413 case `(uname -sr) 2>/dev/null` in
3414 "SunOS 5"*)
3415 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3416 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3417 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3418 cat >conftest.$ac_ext <<_ACEOF
3419 /* confdefs.h. */
3420 _ACEOF
3421 cat confdefs.h >>conftest.$ac_ext
3422 cat >>conftest.$ac_ext <<_ACEOF
3423 /* end confdefs.h. */
3426 main ()
3430 return 0;
3432 _ACEOF
3433 rm -f conftest.$ac_objext conftest$ac_exeext
3434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3435 (eval $ac_link) 2>conftest.er1
3436 ac_status=$?
3437 grep -v '^ *+' conftest.er1 >conftest.err
3438 rm -f conftest.er1
3439 cat conftest.err >&5
3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441 (exit $ac_status); } &&
3442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3444 (eval $ac_try) 2>&5
3445 ac_status=$?
3446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447 (exit $ac_status); }; } &&
3448 { ac_try='test -s conftest$ac_exeext'
3449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3450 (eval $ac_try) 2>&5
3451 ac_status=$?
3452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453 (exit $ac_status); }; }; then
3454 ac_R_nospace=yes
3455 else
3456 echo "$as_me: failed program was:" >&5
3457 sed 's/^/| /' conftest.$ac_ext >&5
3459 ac_R_nospace=no
3461 rm -f conftest.err conftest.$ac_objext \
3462 conftest$ac_exeext conftest.$ac_ext
3463 if test $ac_R_nospace = yes; then
3464 echo "$as_me:$LINENO: result: no" >&5
3465 echo "${ECHO_T}no" >&6
3466 X_LIBS="$X_LIBS -R$x_libraries"
3467 else
3468 LIBS="$ac_xsave_LIBS -R $x_libraries"
3469 cat >conftest.$ac_ext <<_ACEOF
3470 /* confdefs.h. */
3471 _ACEOF
3472 cat confdefs.h >>conftest.$ac_ext
3473 cat >>conftest.$ac_ext <<_ACEOF
3474 /* end confdefs.h. */
3477 main ()
3481 return 0;
3483 _ACEOF
3484 rm -f conftest.$ac_objext conftest$ac_exeext
3485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3486 (eval $ac_link) 2>conftest.er1
3487 ac_status=$?
3488 grep -v '^ *+' conftest.er1 >conftest.err
3489 rm -f conftest.er1
3490 cat conftest.err >&5
3491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492 (exit $ac_status); } &&
3493 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3495 (eval $ac_try) 2>&5
3496 ac_status=$?
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); }; } &&
3499 { ac_try='test -s conftest$ac_exeext'
3500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3501 (eval $ac_try) 2>&5
3502 ac_status=$?
3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); }; }; then
3505 ac_R_space=yes
3506 else
3507 echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.$ac_ext >&5
3510 ac_R_space=no
3512 rm -f conftest.err conftest.$ac_objext \
3513 conftest$ac_exeext conftest.$ac_ext
3514 if test $ac_R_space = yes; then
3515 echo "$as_me:$LINENO: result: yes" >&5
3516 echo "${ECHO_T}yes" >&6
3517 X_LIBS="$X_LIBS -R $x_libraries"
3518 else
3519 echo "$as_me:$LINENO: result: neither works" >&5
3520 echo "${ECHO_T}neither works" >&6
3523 LIBS=$ac_xsave_LIBS
3524 esac
3527 # Check for system-dependent libraries X programs must link with.
3528 # Do this before checking for the system-independent R6 libraries
3529 # (-lICE), since we may need -lsocket or whatever for X linking.
3531 if test "$ISC" = yes; then
3532 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
3533 else
3534 # Martyn Johnson says this is needed for Ultrix, if the X
3535 # libraries were built with DECnet support. And Karl Berry says
3536 # the Alpha needs dnet_stub (dnet does not exist).
3537 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
3538 cat >conftest.$ac_ext <<_ACEOF
3539 /* confdefs.h. */
3540 _ACEOF
3541 cat confdefs.h >>conftest.$ac_ext
3542 cat >>conftest.$ac_ext <<_ACEOF
3543 /* end confdefs.h. */
3545 /* Override any gcc2 internal prototype to avoid an error. */
3546 #ifdef __cplusplus
3547 extern "C"
3548 #endif
3549 /* We use char because int might match the return type of a gcc2
3550 builtin and then its argument prototype would still apply. */
3551 char XOpenDisplay ();
3553 main ()
3555 XOpenDisplay ();
3557 return 0;
3559 _ACEOF
3560 rm -f conftest.$ac_objext conftest$ac_exeext
3561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3562 (eval $ac_link) 2>conftest.er1
3563 ac_status=$?
3564 grep -v '^ *+' conftest.er1 >conftest.err
3565 rm -f conftest.er1
3566 cat conftest.err >&5
3567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568 (exit $ac_status); } &&
3569 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3571 (eval $ac_try) 2>&5
3572 ac_status=$?
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 (exit $ac_status); }; } &&
3575 { ac_try='test -s conftest$ac_exeext'
3576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3577 (eval $ac_try) 2>&5
3578 ac_status=$?
3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580 (exit $ac_status); }; }; then
3582 else
3583 echo "$as_me: failed program was:" >&5
3584 sed 's/^/| /' conftest.$ac_ext >&5
3586 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3587 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3588 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3589 echo $ECHO_N "(cached) $ECHO_C" >&6
3590 else
3591 ac_check_lib_save_LIBS=$LIBS
3592 LIBS="-ldnet $LIBS"
3593 cat >conftest.$ac_ext <<_ACEOF
3594 /* confdefs.h. */
3595 _ACEOF
3596 cat confdefs.h >>conftest.$ac_ext
3597 cat >>conftest.$ac_ext <<_ACEOF
3598 /* end confdefs.h. */
3600 /* Override any gcc2 internal prototype to avoid an error. */
3601 #ifdef __cplusplus
3602 extern "C"
3603 #endif
3604 /* We use char because int might match the return type of a gcc2
3605 builtin and then its argument prototype would still apply. */
3606 char dnet_ntoa ();
3608 main ()
3610 dnet_ntoa ();
3612 return 0;
3614 _ACEOF
3615 rm -f conftest.$ac_objext conftest$ac_exeext
3616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3617 (eval $ac_link) 2>conftest.er1
3618 ac_status=$?
3619 grep -v '^ *+' conftest.er1 >conftest.err
3620 rm -f conftest.er1
3621 cat conftest.err >&5
3622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3623 (exit $ac_status); } &&
3624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3626 (eval $ac_try) 2>&5
3627 ac_status=$?
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); }; } &&
3630 { ac_try='test -s conftest$ac_exeext'
3631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3632 (eval $ac_try) 2>&5
3633 ac_status=$?
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 (exit $ac_status); }; }; then
3636 ac_cv_lib_dnet_dnet_ntoa=yes
3637 else
3638 echo "$as_me: failed program was:" >&5
3639 sed 's/^/| /' conftest.$ac_ext >&5
3641 ac_cv_lib_dnet_dnet_ntoa=no
3643 rm -f conftest.err conftest.$ac_objext \
3644 conftest$ac_exeext conftest.$ac_ext
3645 LIBS=$ac_check_lib_save_LIBS
3647 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3648 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3649 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3650 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
3653 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
3654 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3655 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3656 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3657 echo $ECHO_N "(cached) $ECHO_C" >&6
3658 else
3659 ac_check_lib_save_LIBS=$LIBS
3660 LIBS="-ldnet_stub $LIBS"
3661 cat >conftest.$ac_ext <<_ACEOF
3662 /* confdefs.h. */
3663 _ACEOF
3664 cat confdefs.h >>conftest.$ac_ext
3665 cat >>conftest.$ac_ext <<_ACEOF
3666 /* end confdefs.h. */
3668 /* Override any gcc2 internal prototype to avoid an error. */
3669 #ifdef __cplusplus
3670 extern "C"
3671 #endif
3672 /* We use char because int might match the return type of a gcc2
3673 builtin and then its argument prototype would still apply. */
3674 char dnet_ntoa ();
3676 main ()
3678 dnet_ntoa ();
3680 return 0;
3682 _ACEOF
3683 rm -f conftest.$ac_objext conftest$ac_exeext
3684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3685 (eval $ac_link) 2>conftest.er1
3686 ac_status=$?
3687 grep -v '^ *+' conftest.er1 >conftest.err
3688 rm -f conftest.er1
3689 cat conftest.err >&5
3690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3691 (exit $ac_status); } &&
3692 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3694 (eval $ac_try) 2>&5
3695 ac_status=$?
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); }; } &&
3698 { ac_try='test -s conftest$ac_exeext'
3699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3700 (eval $ac_try) 2>&5
3701 ac_status=$?
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); }; }; then
3704 ac_cv_lib_dnet_stub_dnet_ntoa=yes
3705 else
3706 echo "$as_me: failed program was:" >&5
3707 sed 's/^/| /' conftest.$ac_ext >&5
3709 ac_cv_lib_dnet_stub_dnet_ntoa=no
3711 rm -f conftest.err conftest.$ac_objext \
3712 conftest$ac_exeext conftest.$ac_ext
3713 LIBS=$ac_check_lib_save_LIBS
3715 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3716 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3717 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3718 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
3723 rm -f conftest.err conftest.$ac_objext \
3724 conftest$ac_exeext conftest.$ac_ext
3725 LIBS="$ac_xsave_LIBS"
3727 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3728 # to get the SysV transport functions.
3729 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3730 # needs -lnsl.
3731 # The nsl library prevents programs from opening the X display
3732 # on Irix 5.2, according to T.E. Dickey.
3733 # The functions gethostbyname, getservbyname, and inet_addr are
3734 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3735 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3736 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3737 if test "${ac_cv_func_gethostbyname+set}" = set; then
3738 echo $ECHO_N "(cached) $ECHO_C" >&6
3739 else
3740 cat >conftest.$ac_ext <<_ACEOF
3741 /* confdefs.h. */
3742 _ACEOF
3743 cat confdefs.h >>conftest.$ac_ext
3744 cat >>conftest.$ac_ext <<_ACEOF
3745 /* end confdefs.h. */
3746 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3748 #define gethostbyname innocuous_gethostbyname
3750 /* System header to define __stub macros and hopefully few prototypes,
3751 which can conflict with char gethostbyname (); below.
3752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3753 <limits.h> exists even on freestanding compilers. */
3755 #ifdef __STDC__
3756 # include <limits.h>
3757 #else
3758 # include <assert.h>
3759 #endif
3761 #undef gethostbyname
3763 /* Override any gcc2 internal prototype to avoid an error. */
3764 #ifdef __cplusplus
3765 extern "C"
3767 #endif
3768 /* We use char because int might match the return type of a gcc2
3769 builtin and then its argument prototype would still apply. */
3770 char gethostbyname ();
3771 /* The GNU C library defines this for functions which it implements
3772 to always fail with ENOSYS. Some functions are actually named
3773 something starting with __ and the normal name is an alias. */
3774 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3775 choke me
3776 #else
3777 char (*f) () = gethostbyname;
3778 #endif
3779 #ifdef __cplusplus
3781 #endif
3784 main ()
3786 return f != gethostbyname;
3788 return 0;
3790 _ACEOF
3791 rm -f conftest.$ac_objext conftest$ac_exeext
3792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3793 (eval $ac_link) 2>conftest.er1
3794 ac_status=$?
3795 grep -v '^ *+' conftest.er1 >conftest.err
3796 rm -f conftest.er1
3797 cat conftest.err >&5
3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); } &&
3800 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3802 (eval $ac_try) 2>&5
3803 ac_status=$?
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); }; } &&
3806 { ac_try='test -s conftest$ac_exeext'
3807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3808 (eval $ac_try) 2>&5
3809 ac_status=$?
3810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 (exit $ac_status); }; }; then
3812 ac_cv_func_gethostbyname=yes
3813 else
3814 echo "$as_me: failed program was:" >&5
3815 sed 's/^/| /' conftest.$ac_ext >&5
3817 ac_cv_func_gethostbyname=no
3819 rm -f conftest.err conftest.$ac_objext \
3820 conftest$ac_exeext conftest.$ac_ext
3822 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3823 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3825 if test $ac_cv_func_gethostbyname = no; then
3826 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3827 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3828 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3829 echo $ECHO_N "(cached) $ECHO_C" >&6
3830 else
3831 ac_check_lib_save_LIBS=$LIBS
3832 LIBS="-lnsl $LIBS"
3833 cat >conftest.$ac_ext <<_ACEOF
3834 /* confdefs.h. */
3835 _ACEOF
3836 cat confdefs.h >>conftest.$ac_ext
3837 cat >>conftest.$ac_ext <<_ACEOF
3838 /* end confdefs.h. */
3840 /* Override any gcc2 internal prototype to avoid an error. */
3841 #ifdef __cplusplus
3842 extern "C"
3843 #endif
3844 /* We use char because int might match the return type of a gcc2
3845 builtin and then its argument prototype would still apply. */
3846 char gethostbyname ();
3848 main ()
3850 gethostbyname ();
3852 return 0;
3854 _ACEOF
3855 rm -f conftest.$ac_objext conftest$ac_exeext
3856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3857 (eval $ac_link) 2>conftest.er1
3858 ac_status=$?
3859 grep -v '^ *+' conftest.er1 >conftest.err
3860 rm -f conftest.er1
3861 cat conftest.err >&5
3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863 (exit $ac_status); } &&
3864 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3866 (eval $ac_try) 2>&5
3867 ac_status=$?
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); }; } &&
3870 { ac_try='test -s conftest$ac_exeext'
3871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3872 (eval $ac_try) 2>&5
3873 ac_status=$?
3874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875 (exit $ac_status); }; }; then
3876 ac_cv_lib_nsl_gethostbyname=yes
3877 else
3878 echo "$as_me: failed program was:" >&5
3879 sed 's/^/| /' conftest.$ac_ext >&5
3881 ac_cv_lib_nsl_gethostbyname=no
3883 rm -f conftest.err conftest.$ac_objext \
3884 conftest$ac_exeext conftest.$ac_ext
3885 LIBS=$ac_check_lib_save_LIBS
3887 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3888 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3889 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3890 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
3893 if test $ac_cv_lib_nsl_gethostbyname = no; then
3894 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3895 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3896 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3897 echo $ECHO_N "(cached) $ECHO_C" >&6
3898 else
3899 ac_check_lib_save_LIBS=$LIBS
3900 LIBS="-lbsd $LIBS"
3901 cat >conftest.$ac_ext <<_ACEOF
3902 /* confdefs.h. */
3903 _ACEOF
3904 cat confdefs.h >>conftest.$ac_ext
3905 cat >>conftest.$ac_ext <<_ACEOF
3906 /* end confdefs.h. */
3908 /* Override any gcc2 internal prototype to avoid an error. */
3909 #ifdef __cplusplus
3910 extern "C"
3911 #endif
3912 /* We use char because int might match the return type of a gcc2
3913 builtin and then its argument prototype would still apply. */
3914 char gethostbyname ();
3916 main ()
3918 gethostbyname ();
3920 return 0;
3922 _ACEOF
3923 rm -f conftest.$ac_objext conftest$ac_exeext
3924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3925 (eval $ac_link) 2>conftest.er1
3926 ac_status=$?
3927 grep -v '^ *+' conftest.er1 >conftest.err
3928 rm -f conftest.er1
3929 cat conftest.err >&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); } &&
3932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3934 (eval $ac_try) 2>&5
3935 ac_status=$?
3936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937 (exit $ac_status); }; } &&
3938 { ac_try='test -s conftest$ac_exeext'
3939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3940 (eval $ac_try) 2>&5
3941 ac_status=$?
3942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3943 (exit $ac_status); }; }; then
3944 ac_cv_lib_bsd_gethostbyname=yes
3945 else
3946 echo "$as_me: failed program was:" >&5
3947 sed 's/^/| /' conftest.$ac_ext >&5
3949 ac_cv_lib_bsd_gethostbyname=no
3951 rm -f conftest.err conftest.$ac_objext \
3952 conftest$ac_exeext conftest.$ac_ext
3953 LIBS=$ac_check_lib_save_LIBS
3955 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3956 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3957 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3958 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
3964 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3965 # socket/setsockopt and other routines are undefined under SCO ODT
3966 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3967 # on later versions), says Simon Leinen: it contains gethostby*
3968 # variants that don't use the name server (or something). -lsocket
3969 # must be given before -lnsl if both are needed. We assume that
3970 # if connect needs -lnsl, so does gethostbyname.
3971 echo "$as_me:$LINENO: checking for connect" >&5
3972 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3973 if test "${ac_cv_func_connect+set}" = set; then
3974 echo $ECHO_N "(cached) $ECHO_C" >&6
3975 else
3976 cat >conftest.$ac_ext <<_ACEOF
3977 /* confdefs.h. */
3978 _ACEOF
3979 cat confdefs.h >>conftest.$ac_ext
3980 cat >>conftest.$ac_ext <<_ACEOF
3981 /* end confdefs.h. */
3982 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3984 #define connect innocuous_connect
3986 /* System header to define __stub macros and hopefully few prototypes,
3987 which can conflict with char connect (); below.
3988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3989 <limits.h> exists even on freestanding compilers. */
3991 #ifdef __STDC__
3992 # include <limits.h>
3993 #else
3994 # include <assert.h>
3995 #endif
3997 #undef connect
3999 /* Override any gcc2 internal prototype to avoid an error. */
4000 #ifdef __cplusplus
4001 extern "C"
4003 #endif
4004 /* We use char because int might match the return type of a gcc2
4005 builtin and then its argument prototype would still apply. */
4006 char connect ();
4007 /* The GNU C library defines this for functions which it implements
4008 to always fail with ENOSYS. Some functions are actually named
4009 something starting with __ and the normal name is an alias. */
4010 #if defined (__stub_connect) || defined (__stub___connect)
4011 choke me
4012 #else
4013 char (*f) () = connect;
4014 #endif
4015 #ifdef __cplusplus
4017 #endif
4020 main ()
4022 return f != connect;
4024 return 0;
4026 _ACEOF
4027 rm -f conftest.$ac_objext conftest$ac_exeext
4028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4029 (eval $ac_link) 2>conftest.er1
4030 ac_status=$?
4031 grep -v '^ *+' conftest.er1 >conftest.err
4032 rm -f conftest.er1
4033 cat conftest.err >&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); } &&
4036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4038 (eval $ac_try) 2>&5
4039 ac_status=$?
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); }; } &&
4042 { ac_try='test -s conftest$ac_exeext'
4043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4044 (eval $ac_try) 2>&5
4045 ac_status=$?
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); }; }; then
4048 ac_cv_func_connect=yes
4049 else
4050 echo "$as_me: failed program was:" >&5
4051 sed 's/^/| /' conftest.$ac_ext >&5
4053 ac_cv_func_connect=no
4055 rm -f conftest.err conftest.$ac_objext \
4056 conftest$ac_exeext conftest.$ac_ext
4058 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4059 echo "${ECHO_T}$ac_cv_func_connect" >&6
4061 if test $ac_cv_func_connect = no; then
4062 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4063 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4064 if test "${ac_cv_lib_socket_connect+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4066 else
4067 ac_check_lib_save_LIBS=$LIBS
4068 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4069 cat >conftest.$ac_ext <<_ACEOF
4070 /* confdefs.h. */
4071 _ACEOF
4072 cat confdefs.h >>conftest.$ac_ext
4073 cat >>conftest.$ac_ext <<_ACEOF
4074 /* end confdefs.h. */
4076 /* Override any gcc2 internal prototype to avoid an error. */
4077 #ifdef __cplusplus
4078 extern "C"
4079 #endif
4080 /* We use char because int might match the return type of a gcc2
4081 builtin and then its argument prototype would still apply. */
4082 char connect ();
4084 main ()
4086 connect ();
4088 return 0;
4090 _ACEOF
4091 rm -f conftest.$ac_objext conftest$ac_exeext
4092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4093 (eval $ac_link) 2>conftest.er1
4094 ac_status=$?
4095 grep -v '^ *+' conftest.er1 >conftest.err
4096 rm -f conftest.er1
4097 cat conftest.err >&5
4098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099 (exit $ac_status); } &&
4100 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4102 (eval $ac_try) 2>&5
4103 ac_status=$?
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); }; } &&
4106 { ac_try='test -s conftest$ac_exeext'
4107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4108 (eval $ac_try) 2>&5
4109 ac_status=$?
4110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4111 (exit $ac_status); }; }; then
4112 ac_cv_lib_socket_connect=yes
4113 else
4114 echo "$as_me: failed program was:" >&5
4115 sed 's/^/| /' conftest.$ac_ext >&5
4117 ac_cv_lib_socket_connect=no
4119 rm -f conftest.err conftest.$ac_objext \
4120 conftest$ac_exeext conftest.$ac_ext
4121 LIBS=$ac_check_lib_save_LIBS
4123 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4124 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4125 if test $ac_cv_lib_socket_connect = yes; then
4126 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4131 # Guillermo Gomez says -lposix is necessary on A/UX.
4132 echo "$as_me:$LINENO: checking for remove" >&5
4133 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4134 if test "${ac_cv_func_remove+set}" = set; then
4135 echo $ECHO_N "(cached) $ECHO_C" >&6
4136 else
4137 cat >conftest.$ac_ext <<_ACEOF
4138 /* confdefs.h. */
4139 _ACEOF
4140 cat confdefs.h >>conftest.$ac_ext
4141 cat >>conftest.$ac_ext <<_ACEOF
4142 /* end confdefs.h. */
4143 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4145 #define remove innocuous_remove
4147 /* System header to define __stub macros and hopefully few prototypes,
4148 which can conflict with char remove (); below.
4149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4150 <limits.h> exists even on freestanding compilers. */
4152 #ifdef __STDC__
4153 # include <limits.h>
4154 #else
4155 # include <assert.h>
4156 #endif
4158 #undef remove
4160 /* Override any gcc2 internal prototype to avoid an error. */
4161 #ifdef __cplusplus
4162 extern "C"
4164 #endif
4165 /* We use char because int might match the return type of a gcc2
4166 builtin and then its argument prototype would still apply. */
4167 char remove ();
4168 /* The GNU C library defines this for functions which it implements
4169 to always fail with ENOSYS. Some functions are actually named
4170 something starting with __ and the normal name is an alias. */
4171 #if defined (__stub_remove) || defined (__stub___remove)
4172 choke me
4173 #else
4174 char (*f) () = remove;
4175 #endif
4176 #ifdef __cplusplus
4178 #endif
4181 main ()
4183 return f != remove;
4185 return 0;
4187 _ACEOF
4188 rm -f conftest.$ac_objext conftest$ac_exeext
4189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4190 (eval $ac_link) 2>conftest.er1
4191 ac_status=$?
4192 grep -v '^ *+' conftest.er1 >conftest.err
4193 rm -f conftest.er1
4194 cat conftest.err >&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); } &&
4197 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4199 (eval $ac_try) 2>&5
4200 ac_status=$?
4201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); }; } &&
4203 { ac_try='test -s conftest$ac_exeext'
4204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4205 (eval $ac_try) 2>&5
4206 ac_status=$?
4207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4208 (exit $ac_status); }; }; then
4209 ac_cv_func_remove=yes
4210 else
4211 echo "$as_me: failed program was:" >&5
4212 sed 's/^/| /' conftest.$ac_ext >&5
4214 ac_cv_func_remove=no
4216 rm -f conftest.err conftest.$ac_objext \
4217 conftest$ac_exeext conftest.$ac_ext
4219 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4220 echo "${ECHO_T}$ac_cv_func_remove" >&6
4222 if test $ac_cv_func_remove = no; then
4223 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4224 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4225 if test "${ac_cv_lib_posix_remove+set}" = set; then
4226 echo $ECHO_N "(cached) $ECHO_C" >&6
4227 else
4228 ac_check_lib_save_LIBS=$LIBS
4229 LIBS="-lposix $LIBS"
4230 cat >conftest.$ac_ext <<_ACEOF
4231 /* confdefs.h. */
4232 _ACEOF
4233 cat confdefs.h >>conftest.$ac_ext
4234 cat >>conftest.$ac_ext <<_ACEOF
4235 /* end confdefs.h. */
4237 /* Override any gcc2 internal prototype to avoid an error. */
4238 #ifdef __cplusplus
4239 extern "C"
4240 #endif
4241 /* We use char because int might match the return type of a gcc2
4242 builtin and then its argument prototype would still apply. */
4243 char remove ();
4245 main ()
4247 remove ();
4249 return 0;
4251 _ACEOF
4252 rm -f conftest.$ac_objext conftest$ac_exeext
4253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4254 (eval $ac_link) 2>conftest.er1
4255 ac_status=$?
4256 grep -v '^ *+' conftest.er1 >conftest.err
4257 rm -f conftest.er1
4258 cat conftest.err >&5
4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 (exit $ac_status); } &&
4261 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4263 (eval $ac_try) 2>&5
4264 ac_status=$?
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); }; } &&
4267 { ac_try='test -s conftest$ac_exeext'
4268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4269 (eval $ac_try) 2>&5
4270 ac_status=$?
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); }; }; then
4273 ac_cv_lib_posix_remove=yes
4274 else
4275 echo "$as_me: failed program was:" >&5
4276 sed 's/^/| /' conftest.$ac_ext >&5
4278 ac_cv_lib_posix_remove=no
4280 rm -f conftest.err conftest.$ac_objext \
4281 conftest$ac_exeext conftest.$ac_ext
4282 LIBS=$ac_check_lib_save_LIBS
4284 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4285 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4286 if test $ac_cv_lib_posix_remove = yes; then
4287 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4292 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4293 echo "$as_me:$LINENO: checking for shmat" >&5
4294 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4295 if test "${ac_cv_func_shmat+set}" = set; then
4296 echo $ECHO_N "(cached) $ECHO_C" >&6
4297 else
4298 cat >conftest.$ac_ext <<_ACEOF
4299 /* confdefs.h. */
4300 _ACEOF
4301 cat confdefs.h >>conftest.$ac_ext
4302 cat >>conftest.$ac_ext <<_ACEOF
4303 /* end confdefs.h. */
4304 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4306 #define shmat innocuous_shmat
4308 /* System header to define __stub macros and hopefully few prototypes,
4309 which can conflict with char shmat (); below.
4310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4311 <limits.h> exists even on freestanding compilers. */
4313 #ifdef __STDC__
4314 # include <limits.h>
4315 #else
4316 # include <assert.h>
4317 #endif
4319 #undef shmat
4321 /* Override any gcc2 internal prototype to avoid an error. */
4322 #ifdef __cplusplus
4323 extern "C"
4325 #endif
4326 /* We use char because int might match the return type of a gcc2
4327 builtin and then its argument prototype would still apply. */
4328 char shmat ();
4329 /* The GNU C library defines this for functions which it implements
4330 to always fail with ENOSYS. Some functions are actually named
4331 something starting with __ and the normal name is an alias. */
4332 #if defined (__stub_shmat) || defined (__stub___shmat)
4333 choke me
4334 #else
4335 char (*f) () = shmat;
4336 #endif
4337 #ifdef __cplusplus
4339 #endif
4342 main ()
4344 return f != shmat;
4346 return 0;
4348 _ACEOF
4349 rm -f conftest.$ac_objext conftest$ac_exeext
4350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4351 (eval $ac_link) 2>conftest.er1
4352 ac_status=$?
4353 grep -v '^ *+' conftest.er1 >conftest.err
4354 rm -f conftest.er1
4355 cat conftest.err >&5
4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357 (exit $ac_status); } &&
4358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4360 (eval $ac_try) 2>&5
4361 ac_status=$?
4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363 (exit $ac_status); }; } &&
4364 { ac_try='test -s conftest$ac_exeext'
4365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4366 (eval $ac_try) 2>&5
4367 ac_status=$?
4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369 (exit $ac_status); }; }; then
4370 ac_cv_func_shmat=yes
4371 else
4372 echo "$as_me: failed program was:" >&5
4373 sed 's/^/| /' conftest.$ac_ext >&5
4375 ac_cv_func_shmat=no
4377 rm -f conftest.err conftest.$ac_objext \
4378 conftest$ac_exeext conftest.$ac_ext
4380 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4381 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4383 if test $ac_cv_func_shmat = no; then
4384 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4385 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4386 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4387 echo $ECHO_N "(cached) $ECHO_C" >&6
4388 else
4389 ac_check_lib_save_LIBS=$LIBS
4390 LIBS="-lipc $LIBS"
4391 cat >conftest.$ac_ext <<_ACEOF
4392 /* confdefs.h. */
4393 _ACEOF
4394 cat confdefs.h >>conftest.$ac_ext
4395 cat >>conftest.$ac_ext <<_ACEOF
4396 /* end confdefs.h. */
4398 /* Override any gcc2 internal prototype to avoid an error. */
4399 #ifdef __cplusplus
4400 extern "C"
4401 #endif
4402 /* We use char because int might match the return type of a gcc2
4403 builtin and then its argument prototype would still apply. */
4404 char shmat ();
4406 main ()
4408 shmat ();
4410 return 0;
4412 _ACEOF
4413 rm -f conftest.$ac_objext conftest$ac_exeext
4414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4415 (eval $ac_link) 2>conftest.er1
4416 ac_status=$?
4417 grep -v '^ *+' conftest.er1 >conftest.err
4418 rm -f conftest.er1
4419 cat conftest.err >&5
4420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4421 (exit $ac_status); } &&
4422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4424 (eval $ac_try) 2>&5
4425 ac_status=$?
4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427 (exit $ac_status); }; } &&
4428 { ac_try='test -s conftest$ac_exeext'
4429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4430 (eval $ac_try) 2>&5
4431 ac_status=$?
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); }; }; then
4434 ac_cv_lib_ipc_shmat=yes
4435 else
4436 echo "$as_me: failed program was:" >&5
4437 sed 's/^/| /' conftest.$ac_ext >&5
4439 ac_cv_lib_ipc_shmat=no
4441 rm -f conftest.err conftest.$ac_objext \
4442 conftest$ac_exeext conftest.$ac_ext
4443 LIBS=$ac_check_lib_save_LIBS
4445 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4446 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4447 if test $ac_cv_lib_ipc_shmat = yes; then
4448 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4454 # Check for libraries that X11R6 Xt/Xaw programs need.
4455 ac_save_LDFLAGS=$LDFLAGS
4456 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4457 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4458 # check for ICE first), but we must link in the order -lSM -lICE or
4459 # we get undefined symbols. So assume we have SM if we have ICE.
4460 # These have to be linked with before -lX11, unlike the other
4461 # libraries we check for below, so use a different variable.
4462 # John Interrante, Karl Berry
4463 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4464 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4465 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4467 else
4468 ac_check_lib_save_LIBS=$LIBS
4469 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4470 cat >conftest.$ac_ext <<_ACEOF
4471 /* confdefs.h. */
4472 _ACEOF
4473 cat confdefs.h >>conftest.$ac_ext
4474 cat >>conftest.$ac_ext <<_ACEOF
4475 /* end confdefs.h. */
4477 /* Override any gcc2 internal prototype to avoid an error. */
4478 #ifdef __cplusplus
4479 extern "C"
4480 #endif
4481 /* We use char because int might match the return type of a gcc2
4482 builtin and then its argument prototype would still apply. */
4483 char IceConnectionNumber ();
4485 main ()
4487 IceConnectionNumber ();
4489 return 0;
4491 _ACEOF
4492 rm -f conftest.$ac_objext conftest$ac_exeext
4493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4494 (eval $ac_link) 2>conftest.er1
4495 ac_status=$?
4496 grep -v '^ *+' conftest.er1 >conftest.err
4497 rm -f conftest.er1
4498 cat conftest.err >&5
4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500 (exit $ac_status); } &&
4501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4503 (eval $ac_try) 2>&5
4504 ac_status=$?
4505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4506 (exit $ac_status); }; } &&
4507 { ac_try='test -s conftest$ac_exeext'
4508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4509 (eval $ac_try) 2>&5
4510 ac_status=$?
4511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4512 (exit $ac_status); }; }; then
4513 ac_cv_lib_ICE_IceConnectionNumber=yes
4514 else
4515 echo "$as_me: failed program was:" >&5
4516 sed 's/^/| /' conftest.$ac_ext >&5
4518 ac_cv_lib_ICE_IceConnectionNumber=no
4520 rm -f conftest.err conftest.$ac_objext \
4521 conftest$ac_exeext conftest.$ac_ext
4522 LIBS=$ac_check_lib_save_LIBS
4524 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4525 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4526 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4527 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4530 LDFLAGS=$ac_save_LDFLAGS
4534 for ac_prog in flex lex
4536 # Extract the first word of "$ac_prog", so it can be a program name with args.
4537 set dummy $ac_prog; ac_word=$2
4538 echo "$as_me:$LINENO: checking for $ac_word" >&5
4539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4540 if test "${ac_cv_prog_LEX+set}" = set; then
4541 echo $ECHO_N "(cached) $ECHO_C" >&6
4542 else
4543 if test -n "$LEX"; then
4544 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4545 else
4546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4547 for as_dir in $PATH
4549 IFS=$as_save_IFS
4550 test -z "$as_dir" && as_dir=.
4551 for ac_exec_ext in '' $ac_executable_extensions; do
4552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4553 ac_cv_prog_LEX="$ac_prog"
4554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4555 break 2
4557 done
4558 done
4562 LEX=$ac_cv_prog_LEX
4563 if test -n "$LEX"; then
4564 echo "$as_me:$LINENO: result: $LEX" >&5
4565 echo "${ECHO_T}$LEX" >&6
4566 else
4567 echo "$as_me:$LINENO: result: no" >&5
4568 echo "${ECHO_T}no" >&6
4571 test -n "$LEX" && break
4572 done
4573 test -n "$LEX" || LEX=":"
4575 if test -z "$LEXLIB"
4576 then
4577 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4578 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4579 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4580 echo $ECHO_N "(cached) $ECHO_C" >&6
4581 else
4582 ac_check_lib_save_LIBS=$LIBS
4583 LIBS="-lfl $LIBS"
4584 cat >conftest.$ac_ext <<_ACEOF
4585 /* confdefs.h. */
4586 _ACEOF
4587 cat confdefs.h >>conftest.$ac_ext
4588 cat >>conftest.$ac_ext <<_ACEOF
4589 /* end confdefs.h. */
4591 /* Override any gcc2 internal prototype to avoid an error. */
4592 #ifdef __cplusplus
4593 extern "C"
4594 #endif
4595 /* We use char because int might match the return type of a gcc2
4596 builtin and then its argument prototype would still apply. */
4597 char yywrap ();
4599 main ()
4601 yywrap ();
4603 return 0;
4605 _ACEOF
4606 rm -f conftest.$ac_objext conftest$ac_exeext
4607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4608 (eval $ac_link) 2>conftest.er1
4609 ac_status=$?
4610 grep -v '^ *+' conftest.er1 >conftest.err
4611 rm -f conftest.er1
4612 cat conftest.err >&5
4613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614 (exit $ac_status); } &&
4615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4617 (eval $ac_try) 2>&5
4618 ac_status=$?
4619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620 (exit $ac_status); }; } &&
4621 { ac_try='test -s conftest$ac_exeext'
4622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4623 (eval $ac_try) 2>&5
4624 ac_status=$?
4625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4626 (exit $ac_status); }; }; then
4627 ac_cv_lib_fl_yywrap=yes
4628 else
4629 echo "$as_me: failed program was:" >&5
4630 sed 's/^/| /' conftest.$ac_ext >&5
4632 ac_cv_lib_fl_yywrap=no
4634 rm -f conftest.err conftest.$ac_objext \
4635 conftest$ac_exeext conftest.$ac_ext
4636 LIBS=$ac_check_lib_save_LIBS
4638 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4639 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4640 if test $ac_cv_lib_fl_yywrap = yes; then
4641 LEXLIB="-lfl"
4642 else
4643 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4644 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4645 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4646 echo $ECHO_N "(cached) $ECHO_C" >&6
4647 else
4648 ac_check_lib_save_LIBS=$LIBS
4649 LIBS="-ll $LIBS"
4650 cat >conftest.$ac_ext <<_ACEOF
4651 /* confdefs.h. */
4652 _ACEOF
4653 cat confdefs.h >>conftest.$ac_ext
4654 cat >>conftest.$ac_ext <<_ACEOF
4655 /* end confdefs.h. */
4657 /* Override any gcc2 internal prototype to avoid an error. */
4658 #ifdef __cplusplus
4659 extern "C"
4660 #endif
4661 /* We use char because int might match the return type of a gcc2
4662 builtin and then its argument prototype would still apply. */
4663 char yywrap ();
4665 main ()
4667 yywrap ();
4669 return 0;
4671 _ACEOF
4672 rm -f conftest.$ac_objext conftest$ac_exeext
4673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4674 (eval $ac_link) 2>conftest.er1
4675 ac_status=$?
4676 grep -v '^ *+' conftest.er1 >conftest.err
4677 rm -f conftest.er1
4678 cat conftest.err >&5
4679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680 (exit $ac_status); } &&
4681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4683 (eval $ac_try) 2>&5
4684 ac_status=$?
4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4686 (exit $ac_status); }; } &&
4687 { ac_try='test -s conftest$ac_exeext'
4688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4689 (eval $ac_try) 2>&5
4690 ac_status=$?
4691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692 (exit $ac_status); }; }; then
4693 ac_cv_lib_l_yywrap=yes
4694 else
4695 echo "$as_me: failed program was:" >&5
4696 sed 's/^/| /' conftest.$ac_ext >&5
4698 ac_cv_lib_l_yywrap=no
4700 rm -f conftest.err conftest.$ac_objext \
4701 conftest$ac_exeext conftest.$ac_ext
4702 LIBS=$ac_check_lib_save_LIBS
4704 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4705 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4706 if test $ac_cv_lib_l_yywrap = yes; then
4707 LEXLIB="-ll"
4714 if test "x$LEX" != "x:"; then
4715 echo "$as_me:$LINENO: checking lex output file root" >&5
4716 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4717 if test "${ac_cv_prog_lex_root+set}" = set; then
4718 echo $ECHO_N "(cached) $ECHO_C" >&6
4719 else
4720 # The minimal lex program is just a single line: %%. But some broken lexes
4721 # (Solaris, I think it was) want two %% lines, so accommodate them.
4722 cat >conftest.l <<_ACEOF
4725 _ACEOF
4726 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4727 (eval $LEX conftest.l) 2>&5
4728 ac_status=$?
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); }
4731 if test -f lex.yy.c; then
4732 ac_cv_prog_lex_root=lex.yy
4733 elif test -f lexyy.c; then
4734 ac_cv_prog_lex_root=lexyy
4735 else
4736 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4737 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4738 { (exit 1); exit 1; }; }
4741 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4742 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4743 rm -f conftest.l
4744 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4746 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4747 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4748 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4749 echo $ECHO_N "(cached) $ECHO_C" >&6
4750 else
4751 # POSIX says lex can declare yytext either as a pointer or an array; the
4752 # default is implementation-dependent. Figure out which it is, since
4753 # not all implementations provide the %pointer and %array declarations.
4754 ac_cv_prog_lex_yytext_pointer=no
4755 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4756 ac_save_LIBS=$LIBS
4757 LIBS="$LIBS $LEXLIB"
4758 cat >conftest.$ac_ext <<_ACEOF
4759 `cat $LEX_OUTPUT_ROOT.c`
4760 _ACEOF
4761 rm -f conftest.$ac_objext conftest$ac_exeext
4762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4763 (eval $ac_link) 2>conftest.er1
4764 ac_status=$?
4765 grep -v '^ *+' conftest.er1 >conftest.err
4766 rm -f conftest.er1
4767 cat conftest.err >&5
4768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4769 (exit $ac_status); } &&
4770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4772 (eval $ac_try) 2>&5
4773 ac_status=$?
4774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4775 (exit $ac_status); }; } &&
4776 { ac_try='test -s conftest$ac_exeext'
4777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4778 (eval $ac_try) 2>&5
4779 ac_status=$?
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); }; }; then
4782 ac_cv_prog_lex_yytext_pointer=yes
4783 else
4784 echo "$as_me: failed program was:" >&5
4785 sed 's/^/| /' conftest.$ac_ext >&5
4788 rm -f conftest.err conftest.$ac_objext \
4789 conftest$ac_exeext conftest.$ac_ext
4790 LIBS=$ac_save_LIBS
4791 rm -f "${LEX_OUTPUT_ROOT}.c"
4794 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4795 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4796 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4798 cat >>confdefs.h <<\_ACEOF
4799 #define YYTEXT_POINTER 1
4800 _ACEOF
4806 for ac_prog in $LEX flex lex
4808 # Extract the first word of "$ac_prog", so it can be a program name with args.
4809 set dummy $ac_prog; ac_word=$2
4810 echo "$as_me:$LINENO: checking for $ac_word" >&5
4811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4812 if test "${ac_cv_prog_XLEX+set}" = set; then
4813 echo $ECHO_N "(cached) $ECHO_C" >&6
4814 else
4815 if test -n "$XLEX"; then
4816 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
4817 else
4818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4819 for as_dir in $PATH
4821 IFS=$as_save_IFS
4822 test -z "$as_dir" && as_dir=.
4823 for ac_exec_ext in '' $ac_executable_extensions; do
4824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4825 ac_cv_prog_XLEX="$ac_prog"
4826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4827 break 2
4829 done
4830 done
4834 XLEX=$ac_cv_prog_XLEX
4835 if test -n "$XLEX"; then
4836 echo "$as_me:$LINENO: result: $XLEX" >&5
4837 echo "${ECHO_T}$XLEX" >&6
4838 else
4839 echo "$as_me:$LINENO: result: no" >&5
4840 echo "${ECHO_T}no" >&6
4843 test -n "$XLEX" && break
4844 done
4845 test -n "$XLEX" || XLEX="none"
4847 if test "$XLEX" = "none"
4848 then
4849 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4850 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4851 { (exit 1); exit 1; }; }
4854 for ac_prog in bison
4856 # Extract the first word of "$ac_prog", so it can be a program name with args.
4857 set dummy $ac_prog; ac_word=$2
4858 echo "$as_me:$LINENO: checking for $ac_word" >&5
4859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4860 if test "${ac_cv_prog_BISON+set}" = set; then
4861 echo $ECHO_N "(cached) $ECHO_C" >&6
4862 else
4863 if test -n "$BISON"; then
4864 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4865 else
4866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4867 for as_dir in $PATH
4869 IFS=$as_save_IFS
4870 test -z "$as_dir" && as_dir=.
4871 for ac_exec_ext in '' $ac_executable_extensions; do
4872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4873 ac_cv_prog_BISON="$ac_prog"
4874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4875 break 2
4877 done
4878 done
4882 BISON=$ac_cv_prog_BISON
4883 if test -n "$BISON"; then
4884 echo "$as_me:$LINENO: result: $BISON" >&5
4885 echo "${ECHO_T}$BISON" >&6
4886 else
4887 echo "$as_me:$LINENO: result: no" >&5
4888 echo "${ECHO_T}no" >&6
4891 test -n "$BISON" && break
4892 done
4893 test -n "$BISON" || BISON="none"
4895 if test "$BISON" = "none"
4896 then
4897 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
4898 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
4899 { (exit 1); exit 1; }; }
4902 if test -n "$ac_tool_prefix"; then
4903 for ac_prog in gas as
4905 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4906 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4907 echo "$as_me:$LINENO: checking for $ac_word" >&5
4908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4909 if test "${ac_cv_prog_AS+set}" = set; then
4910 echo $ECHO_N "(cached) $ECHO_C" >&6
4911 else
4912 if test -n "$AS"; then
4913 ac_cv_prog_AS="$AS" # Let the user override the test.
4914 else
4915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4916 for as_dir in $PATH
4918 IFS=$as_save_IFS
4919 test -z "$as_dir" && as_dir=.
4920 for ac_exec_ext in '' $ac_executable_extensions; do
4921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4922 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
4923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4924 break 2
4926 done
4927 done
4931 AS=$ac_cv_prog_AS
4932 if test -n "$AS"; then
4933 echo "$as_me:$LINENO: result: $AS" >&5
4934 echo "${ECHO_T}$AS" >&6
4935 else
4936 echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6
4940 test -n "$AS" && break
4941 done
4943 if test -z "$AS"; then
4944 ac_ct_AS=$AS
4945 for ac_prog in gas as
4947 # Extract the first word of "$ac_prog", so it can be a program name with args.
4948 set dummy $ac_prog; ac_word=$2
4949 echo "$as_me:$LINENO: checking for $ac_word" >&5
4950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4951 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4952 echo $ECHO_N "(cached) $ECHO_C" >&6
4953 else
4954 if test -n "$ac_ct_AS"; then
4955 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4956 else
4957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4958 for as_dir in $PATH
4960 IFS=$as_save_IFS
4961 test -z "$as_dir" && as_dir=.
4962 for ac_exec_ext in '' $ac_executable_extensions; do
4963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4964 ac_cv_prog_ac_ct_AS="$ac_prog"
4965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4966 break 2
4968 done
4969 done
4973 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4974 if test -n "$ac_ct_AS"; then
4975 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4976 echo "${ECHO_T}$ac_ct_AS" >&6
4977 else
4978 echo "$as_me:$LINENO: result: no" >&5
4979 echo "${ECHO_T}no" >&6
4982 test -n "$ac_ct_AS" && break
4983 done
4984 test -n "$ac_ct_AS" || ac_ct_AS="as"
4986 AS=$ac_ct_AS
4989 if test -n "$ac_tool_prefix"; then
4990 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4991 set dummy ${ac_tool_prefix}ld; ac_word=$2
4992 echo "$as_me:$LINENO: checking for $ac_word" >&5
4993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4994 if test "${ac_cv_prog_LD+set}" = set; then
4995 echo $ECHO_N "(cached) $ECHO_C" >&6
4996 else
4997 if test -n "$LD"; then
4998 ac_cv_prog_LD="$LD" # Let the user override the test.
4999 else
5000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5001 for as_dir in $PATH
5003 IFS=$as_save_IFS
5004 test -z "$as_dir" && as_dir=.
5005 for ac_exec_ext in '' $ac_executable_extensions; do
5006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5007 ac_cv_prog_LD="${ac_tool_prefix}ld"
5008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5009 break 2
5011 done
5012 done
5016 LD=$ac_cv_prog_LD
5017 if test -n "$LD"; then
5018 echo "$as_me:$LINENO: result: $LD" >&5
5019 echo "${ECHO_T}$LD" >&6
5020 else
5021 echo "$as_me:$LINENO: result: no" >&5
5022 echo "${ECHO_T}no" >&6
5026 if test -z "$ac_cv_prog_LD"; then
5027 ac_ct_LD=$LD
5028 # Extract the first word of "ld", so it can be a program name with args.
5029 set dummy ld; ac_word=$2
5030 echo "$as_me:$LINENO: checking for $ac_word" >&5
5031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5032 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5033 echo $ECHO_N "(cached) $ECHO_C" >&6
5034 else
5035 if test -n "$ac_ct_LD"; then
5036 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5037 else
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 for as_dir in $PATH
5041 IFS=$as_save_IFS
5042 test -z "$as_dir" && as_dir=.
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5045 ac_cv_prog_ac_ct_LD="ld"
5046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 break 2
5049 done
5050 done
5052 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
5055 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5056 if test -n "$ac_ct_LD"; then
5057 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5058 echo "${ECHO_T}$ac_ct_LD" >&6
5059 else
5060 echo "$as_me:$LINENO: result: no" >&5
5061 echo "${ECHO_T}no" >&6
5064 LD=$ac_ct_LD
5065 else
5066 LD="$ac_cv_prog_LD"
5069 if test -n "$ac_tool_prefix"; then
5070 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5071 set dummy ${ac_tool_prefix}ar; ac_word=$2
5072 echo "$as_me:$LINENO: checking for $ac_word" >&5
5073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5074 if test "${ac_cv_prog_AR+set}" = set; then
5075 echo $ECHO_N "(cached) $ECHO_C" >&6
5076 else
5077 if test -n "$AR"; then
5078 ac_cv_prog_AR="$AR" # Let the user override the test.
5079 else
5080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5081 for as_dir in $PATH
5083 IFS=$as_save_IFS
5084 test -z "$as_dir" && as_dir=.
5085 for ac_exec_ext in '' $ac_executable_extensions; do
5086 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5087 ac_cv_prog_AR="${ac_tool_prefix}ar"
5088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5089 break 2
5091 done
5092 done
5096 AR=$ac_cv_prog_AR
5097 if test -n "$AR"; then
5098 echo "$as_me:$LINENO: result: $AR" >&5
5099 echo "${ECHO_T}$AR" >&6
5100 else
5101 echo "$as_me:$LINENO: result: no" >&5
5102 echo "${ECHO_T}no" >&6
5106 if test -z "$ac_cv_prog_AR"; then
5107 ac_ct_AR=$AR
5108 # Extract the first word of "ar", so it can be a program name with args.
5109 set dummy ar; ac_word=$2
5110 echo "$as_me:$LINENO: checking for $ac_word" >&5
5111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5112 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5113 echo $ECHO_N "(cached) $ECHO_C" >&6
5114 else
5115 if test -n "$ac_ct_AR"; then
5116 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5117 else
5118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 for as_dir in $PATH
5121 IFS=$as_save_IFS
5122 test -z "$as_dir" && as_dir=.
5123 for ac_exec_ext in '' $ac_executable_extensions; do
5124 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5125 ac_cv_prog_ac_ct_AR="ar"
5126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5127 break 2
5129 done
5130 done
5132 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
5135 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5136 if test -n "$ac_ct_AR"; then
5137 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5138 echo "${ECHO_T}$ac_ct_AR" >&6
5139 else
5140 echo "$as_me:$LINENO: result: no" >&5
5141 echo "${ECHO_T}no" >&6
5144 AR=$ac_ct_AR
5145 else
5146 AR="$ac_cv_prog_AR"
5149 if test -n "$ac_tool_prefix"; then
5150 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5151 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5152 echo "$as_me:$LINENO: checking for $ac_word" >&5
5153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5154 if test "${ac_cv_prog_RANLIB+set}" = set; then
5155 echo $ECHO_N "(cached) $ECHO_C" >&6
5156 else
5157 if test -n "$RANLIB"; then
5158 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5159 else
5160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5161 for as_dir in $PATH
5163 IFS=$as_save_IFS
5164 test -z "$as_dir" && as_dir=.
5165 for ac_exec_ext in '' $ac_executable_extensions; do
5166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5167 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5169 break 2
5171 done
5172 done
5176 RANLIB=$ac_cv_prog_RANLIB
5177 if test -n "$RANLIB"; then
5178 echo "$as_me:$LINENO: result: $RANLIB" >&5
5179 echo "${ECHO_T}$RANLIB" >&6
5180 else
5181 echo "$as_me:$LINENO: result: no" >&5
5182 echo "${ECHO_T}no" >&6
5186 if test -z "$ac_cv_prog_RANLIB"; then
5187 ac_ct_RANLIB=$RANLIB
5188 # Extract the first word of "ranlib", so it can be a program name with args.
5189 set dummy ranlib; ac_word=$2
5190 echo "$as_me:$LINENO: checking for $ac_word" >&5
5191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5192 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5193 echo $ECHO_N "(cached) $ECHO_C" >&6
5194 else
5195 if test -n "$ac_ct_RANLIB"; then
5196 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5197 else
5198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5199 for as_dir in $PATH
5201 IFS=$as_save_IFS
5202 test -z "$as_dir" && as_dir=.
5203 for ac_exec_ext in '' $ac_executable_extensions; do
5204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5205 ac_cv_prog_ac_ct_RANLIB="ranlib"
5206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5207 break 2
5209 done
5210 done
5212 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5215 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5216 if test -n "$ac_ct_RANLIB"; then
5217 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5218 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5219 else
5220 echo "$as_me:$LINENO: result: no" >&5
5221 echo "${ECHO_T}no" >&6
5224 RANLIB=$ac_ct_RANLIB
5225 else
5226 RANLIB="$ac_cv_prog_RANLIB"
5229 if test -n "$ac_tool_prefix"; then
5230 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5231 set dummy ${ac_tool_prefix}strip; ac_word=$2
5232 echo "$as_me:$LINENO: checking for $ac_word" >&5
5233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5234 if test "${ac_cv_prog_STRIP+set}" = set; then
5235 echo $ECHO_N "(cached) $ECHO_C" >&6
5236 else
5237 if test -n "$STRIP"; then
5238 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5239 else
5240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5241 for as_dir in $PATH
5243 IFS=$as_save_IFS
5244 test -z "$as_dir" && as_dir=.
5245 for ac_exec_ext in '' $ac_executable_extensions; do
5246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5247 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 break 2
5251 done
5252 done
5256 STRIP=$ac_cv_prog_STRIP
5257 if test -n "$STRIP"; then
5258 echo "$as_me:$LINENO: result: $STRIP" >&5
5259 echo "${ECHO_T}$STRIP" >&6
5260 else
5261 echo "$as_me:$LINENO: result: no" >&5
5262 echo "${ECHO_T}no" >&6
5266 if test -z "$ac_cv_prog_STRIP"; then
5267 ac_ct_STRIP=$STRIP
5268 # Extract the first word of "strip", so it can be a program name with args.
5269 set dummy strip; ac_word=$2
5270 echo "$as_me:$LINENO: checking for $ac_word" >&5
5271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5272 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5273 echo $ECHO_N "(cached) $ECHO_C" >&6
5274 else
5275 if test -n "$ac_ct_STRIP"; then
5276 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5277 else
5278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5279 for as_dir in $PATH
5281 IFS=$as_save_IFS
5282 test -z "$as_dir" && as_dir=.
5283 for ac_exec_ext in '' $ac_executable_extensions; do
5284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5285 ac_cv_prog_ac_ct_STRIP="strip"
5286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5287 break 2
5289 done
5290 done
5292 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="strip"
5295 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5296 if test -n "$ac_ct_STRIP"; then
5297 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5298 echo "${ECHO_T}$ac_ct_STRIP" >&6
5299 else
5300 echo "$as_me:$LINENO: result: no" >&5
5301 echo "${ECHO_T}no" >&6
5304 STRIP=$ac_ct_STRIP
5305 else
5306 STRIP="$ac_cv_prog_STRIP"
5309 if test -n "$ac_tool_prefix"; then
5310 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5311 set dummy ${ac_tool_prefix}windres; ac_word=$2
5312 echo "$as_me:$LINENO: checking for $ac_word" >&5
5313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5314 if test "${ac_cv_prog_WINDRES+set}" = set; then
5315 echo $ECHO_N "(cached) $ECHO_C" >&6
5316 else
5317 if test -n "$WINDRES"; then
5318 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5319 else
5320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5321 for as_dir in $PATH
5323 IFS=$as_save_IFS
5324 test -z "$as_dir" && as_dir=.
5325 for ac_exec_ext in '' $ac_executable_extensions; do
5326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5327 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5329 break 2
5331 done
5332 done
5336 WINDRES=$ac_cv_prog_WINDRES
5337 if test -n "$WINDRES"; then
5338 echo "$as_me:$LINENO: result: $WINDRES" >&5
5339 echo "${ECHO_T}$WINDRES" >&6
5340 else
5341 echo "$as_me:$LINENO: result: no" >&5
5342 echo "${ECHO_T}no" >&6
5346 if test -z "$ac_cv_prog_WINDRES"; then
5347 ac_ct_WINDRES=$WINDRES
5348 # Extract the first word of "windres", so it can be a program name with args.
5349 set dummy windres; ac_word=$2
5350 echo "$as_me:$LINENO: checking for $ac_word" >&5
5351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5352 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5353 echo $ECHO_N "(cached) $ECHO_C" >&6
5354 else
5355 if test -n "$ac_ct_WINDRES"; then
5356 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5357 else
5358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5359 for as_dir in $PATH
5361 IFS=$as_save_IFS
5362 test -z "$as_dir" && as_dir=.
5363 for ac_exec_ext in '' $ac_executable_extensions; do
5364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5365 ac_cv_prog_ac_ct_WINDRES="windres"
5366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5367 break 2
5369 done
5370 done
5372 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES="false"
5375 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5376 if test -n "$ac_ct_WINDRES"; then
5377 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5378 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5379 else
5380 echo "$as_me:$LINENO: result: no" >&5
5381 echo "${ECHO_T}no" >&6
5384 WINDRES=$ac_ct_WINDRES
5385 else
5386 WINDRES="$ac_cv_prog_WINDRES"
5389 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5390 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5391 LN_S=$as_ln_s
5392 if test "$LN_S" = "ln -s"; then
5393 echo "$as_me:$LINENO: result: yes" >&5
5394 echo "${ECHO_T}yes" >&6
5395 else
5396 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5397 echo "${ECHO_T}no, using $LN_S" >&6
5400 echo "$as_me:$LINENO: checking whether ln works" >&5
5401 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
5402 rm -f conf$$ conf$$.file
5403 echo >conf$$.file
5404 if ln conf$$.file conf$$ 2>/dev/null; then
5405 LN=ln
5407 echo "$as_me:$LINENO: result: yes" >&5
5408 echo "${ECHO_T}yes" >&6
5409 else
5410 LN="cp -p"
5412 echo "$as_me:$LINENO: result: no, using $LN" >&5
5413 echo "${ECHO_T}no, using $LN" >&6
5415 rm -f conf$$ conf$$.file
5416 echo "$as_me:$LINENO: checking for egrep" >&5
5417 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5418 if test "${ac_cv_prog_egrep+set}" = set; then
5419 echo $ECHO_N "(cached) $ECHO_C" >&6
5420 else
5421 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5422 then ac_cv_prog_egrep='grep -E'
5423 else ac_cv_prog_egrep='egrep'
5426 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5427 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5428 EGREP=$ac_cv_prog_egrep
5431 # Extract the first word of "ldconfig", so it can be a program name with args.
5432 set dummy ldconfig; ac_word=$2
5433 echo "$as_me:$LINENO: checking for $ac_word" >&5
5434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5435 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5436 echo $ECHO_N "(cached) $ECHO_C" >&6
5437 else
5438 case $LDCONFIG in
5439 [\\/]* | ?:[\\/]*)
5440 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5444 for as_dir in /sbin /usr/sbin $PATH
5446 IFS=$as_save_IFS
5447 test -z "$as_dir" && as_dir=.
5448 for ac_exec_ext in '' $ac_executable_extensions; do
5449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5450 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 break 2
5454 done
5455 done
5457 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5459 esac
5461 LDCONFIG=$ac_cv_path_LDCONFIG
5463 if test -n "$LDCONFIG"; then
5464 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5465 echo "${ECHO_T}$LDCONFIG" >&6
5466 else
5467 echo "$as_me:$LINENO: result: no" >&5
5468 echo "${ECHO_T}no" >&6
5471 # Find a good install program. We prefer a C program (faster),
5472 # so one script is as good as another. But avoid the broken or
5473 # incompatible versions:
5474 # SysV /etc/install, /usr/sbin/install
5475 # SunOS /usr/etc/install
5476 # IRIX /sbin/install
5477 # AIX /bin/install
5478 # AmigaOS /C/install, which installs bootblocks on floppy discs
5479 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5480 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5481 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5482 # OS/2's system install, which has a completely different semantic
5483 # ./install, which can be erroneously created by make from ./install.sh.
5484 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5485 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5486 if test -z "$INSTALL"; then
5487 if test "${ac_cv_path_install+set}" = set; then
5488 echo $ECHO_N "(cached) $ECHO_C" >&6
5489 else
5490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5491 for as_dir in $PATH
5493 IFS=$as_save_IFS
5494 test -z "$as_dir" && as_dir=.
5495 # Account for people who put trailing slashes in PATH elements.
5496 case $as_dir/ in
5497 ./ | .// | /cC/* | \
5498 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5499 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5500 /usr/ucb/* ) ;;
5502 # OSF1 and SCO ODT 3.0 have their own names for install.
5503 # Don't use installbsd from OSF since it installs stuff as root
5504 # by default.
5505 for ac_prog in ginstall scoinst install; do
5506 for ac_exec_ext in '' $ac_executable_extensions; do
5507 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5508 if test $ac_prog = install &&
5509 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5510 # AIX install. It has an incompatible calling convention.
5512 elif test $ac_prog = install &&
5513 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5514 # program-specific install script used by HP pwplus--don't use.
5516 else
5517 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5518 break 3
5521 done
5522 done
5524 esac
5525 done
5529 if test "${ac_cv_path_install+set}" = set; then
5530 INSTALL=$ac_cv_path_install
5531 else
5532 # As a last resort, use the slow shell script. We don't cache a
5533 # path for INSTALL within a source directory, because that will
5534 # break other packages using the cache if that directory is
5535 # removed, or if the path is relative.
5536 INSTALL=$ac_install_sh
5539 echo "$as_me:$LINENO: result: $INSTALL" >&5
5540 echo "${ECHO_T}$INSTALL" >&6
5542 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5543 # It thinks the first close brace ends the variable substitution.
5544 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5546 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5548 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5550 case "$INSTALL" in
5551 [\\/$]* | ?:[\\/]* ) ;;
5552 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5553 esac
5555 for ac_prog in lclint lint
5557 # Extract the first word of "$ac_prog", so it can be a program name with args.
5558 set dummy $ac_prog; ac_word=$2
5559 echo "$as_me:$LINENO: checking for $ac_word" >&5
5560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5561 if test "${ac_cv_prog_LINT+set}" = set; then
5562 echo $ECHO_N "(cached) $ECHO_C" >&6
5563 else
5564 if test -n "$LINT"; then
5565 ac_cv_prog_LINT="$LINT" # Let the user override the test.
5566 else
5567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5568 for as_dir in $PATH
5570 IFS=$as_save_IFS
5571 test -z "$as_dir" && as_dir=.
5572 for ac_exec_ext in '' $ac_executable_extensions; do
5573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5574 ac_cv_prog_LINT="$ac_prog"
5575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5576 break 2
5578 done
5579 done
5583 LINT=$ac_cv_prog_LINT
5584 if test -n "$LINT"; then
5585 echo "$as_me:$LINENO: result: $LINT" >&5
5586 echo "${ECHO_T}$LINT" >&6
5587 else
5588 echo "$as_me:$LINENO: result: no" >&5
5589 echo "${ECHO_T}no" >&6
5592 test -n "$LINT" && break
5593 done
5595 if test "$LINT" = "lint"
5596 then
5597 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5602 for ac_prog in fontforge
5604 # Extract the first word of "$ac_prog", so it can be a program name with args.
5605 set dummy $ac_prog; ac_word=$2
5606 echo "$as_me:$LINENO: checking for $ac_word" >&5
5607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5608 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
5609 echo $ECHO_N "(cached) $ECHO_C" >&6
5610 else
5611 if test -n "$FONTFORGE"; then
5612 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5613 else
5614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 for as_dir in $PATH
5617 IFS=$as_save_IFS
5618 test -z "$as_dir" && as_dir=.
5619 for ac_exec_ext in '' $ac_executable_extensions; do
5620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5621 ac_cv_prog_FONTFORGE="$ac_prog"
5622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5623 break 2
5625 done
5626 done
5630 FONTFORGE=$ac_cv_prog_FONTFORGE
5631 if test -n "$FONTFORGE"; then
5632 echo "$as_me:$LINENO: result: $FONTFORGE" >&5
5633 echo "${ECHO_T}$FONTFORGE" >&6
5634 else
5635 echo "$as_me:$LINENO: result: no" >&5
5636 echo "${ECHO_T}no" >&6
5639 test -n "$FONTFORGE" && break
5640 done
5641 test -n "$FONTFORGE" || FONTFORGE="false"
5646 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5647 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5648 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5649 echo $ECHO_N "(cached) $ECHO_C" >&6
5650 else
5651 ac_check_lib_save_LIBS=$LIBS
5652 LIBS="-li386 $LIBS"
5653 cat >conftest.$ac_ext <<_ACEOF
5654 /* confdefs.h. */
5655 _ACEOF
5656 cat confdefs.h >>conftest.$ac_ext
5657 cat >>conftest.$ac_ext <<_ACEOF
5658 /* end confdefs.h. */
5660 /* Override any gcc2 internal prototype to avoid an error. */
5661 #ifdef __cplusplus
5662 extern "C"
5663 #endif
5664 /* We use char because int might match the return type of a gcc2
5665 builtin and then its argument prototype would still apply. */
5666 char i386_set_ldt ();
5668 main ()
5670 i386_set_ldt ();
5672 return 0;
5674 _ACEOF
5675 rm -f conftest.$ac_objext conftest$ac_exeext
5676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5677 (eval $ac_link) 2>conftest.er1
5678 ac_status=$?
5679 grep -v '^ *+' conftest.er1 >conftest.err
5680 rm -f conftest.er1
5681 cat conftest.err >&5
5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 (exit $ac_status); } &&
5684 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5686 (eval $ac_try) 2>&5
5687 ac_status=$?
5688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5689 (exit $ac_status); }; } &&
5690 { ac_try='test -s conftest$ac_exeext'
5691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5692 (eval $ac_try) 2>&5
5693 ac_status=$?
5694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5695 (exit $ac_status); }; }; then
5696 ac_cv_lib_i386_i386_set_ldt=yes
5697 else
5698 echo "$as_me: failed program was:" >&5
5699 sed 's/^/| /' conftest.$ac_ext >&5
5701 ac_cv_lib_i386_i386_set_ldt=no
5703 rm -f conftest.err conftest.$ac_objext \
5704 conftest$ac_exeext conftest.$ac_ext
5705 LIBS=$ac_check_lib_save_LIBS
5707 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5708 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5709 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5710 cat >>confdefs.h <<_ACEOF
5711 #define HAVE_LIBI386 1
5712 _ACEOF
5714 LIBS="-li386 $LIBS"
5719 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5720 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5721 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5722 echo $ECHO_N "(cached) $ECHO_C" >&6
5723 else
5724 ac_check_lib_save_LIBS=$LIBS
5725 LIBS="-lossaudio $LIBS"
5726 cat >conftest.$ac_ext <<_ACEOF
5727 /* confdefs.h. */
5728 _ACEOF
5729 cat confdefs.h >>conftest.$ac_ext
5730 cat >>conftest.$ac_ext <<_ACEOF
5731 /* end confdefs.h. */
5733 /* Override any gcc2 internal prototype to avoid an error. */
5734 #ifdef __cplusplus
5735 extern "C"
5736 #endif
5737 /* We use char because int might match the return type of a gcc2
5738 builtin and then its argument prototype would still apply. */
5739 char _oss_ioctl ();
5741 main ()
5743 _oss_ioctl ();
5745 return 0;
5747 _ACEOF
5748 rm -f conftest.$ac_objext conftest$ac_exeext
5749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5750 (eval $ac_link) 2>conftest.er1
5751 ac_status=$?
5752 grep -v '^ *+' conftest.er1 >conftest.err
5753 rm -f conftest.er1
5754 cat conftest.err >&5
5755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756 (exit $ac_status); } &&
5757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5759 (eval $ac_try) 2>&5
5760 ac_status=$?
5761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5762 (exit $ac_status); }; } &&
5763 { ac_try='test -s conftest$ac_exeext'
5764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5765 (eval $ac_try) 2>&5
5766 ac_status=$?
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); }; }; then
5769 ac_cv_lib_ossaudio__oss_ioctl=yes
5770 else
5771 echo "$as_me: failed program was:" >&5
5772 sed 's/^/| /' conftest.$ac_ext >&5
5774 ac_cv_lib_ossaudio__oss_ioctl=no
5776 rm -f conftest.err conftest.$ac_objext \
5777 conftest$ac_exeext conftest.$ac_ext
5778 LIBS=$ac_check_lib_save_LIBS
5780 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5781 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5782 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5783 cat >>confdefs.h <<_ACEOF
5784 #define HAVE_LIBOSSAUDIO 1
5785 _ACEOF
5787 LIBS="-lossaudio $LIBS"
5792 for ac_func in iswalnum
5794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5795 echo "$as_me:$LINENO: checking for $ac_func" >&5
5796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5797 if eval "test \"\${$as_ac_var+set}\" = set"; then
5798 echo $ECHO_N "(cached) $ECHO_C" >&6
5799 else
5800 cat >conftest.$ac_ext <<_ACEOF
5801 /* confdefs.h. */
5802 _ACEOF
5803 cat confdefs.h >>conftest.$ac_ext
5804 cat >>conftest.$ac_ext <<_ACEOF
5805 /* end confdefs.h. */
5806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5808 #define $ac_func innocuous_$ac_func
5810 /* System header to define __stub macros and hopefully few prototypes,
5811 which can conflict with char $ac_func (); below.
5812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5813 <limits.h> exists even on freestanding compilers. */
5815 #ifdef __STDC__
5816 # include <limits.h>
5817 #else
5818 # include <assert.h>
5819 #endif
5821 #undef $ac_func
5823 /* Override any gcc2 internal prototype to avoid an error. */
5824 #ifdef __cplusplus
5825 extern "C"
5827 #endif
5828 /* We use char because int might match the return type of a gcc2
5829 builtin and then its argument prototype would still apply. */
5830 char $ac_func ();
5831 /* The GNU C library defines this for functions which it implements
5832 to always fail with ENOSYS. Some functions are actually named
5833 something starting with __ and the normal name is an alias. */
5834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5835 choke me
5836 #else
5837 char (*f) () = $ac_func;
5838 #endif
5839 #ifdef __cplusplus
5841 #endif
5844 main ()
5846 return f != $ac_func;
5848 return 0;
5850 _ACEOF
5851 rm -f conftest.$ac_objext conftest$ac_exeext
5852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5853 (eval $ac_link) 2>conftest.er1
5854 ac_status=$?
5855 grep -v '^ *+' conftest.er1 >conftest.err
5856 rm -f conftest.er1
5857 cat conftest.err >&5
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); } &&
5860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5862 (eval $ac_try) 2>&5
5863 ac_status=$?
5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865 (exit $ac_status); }; } &&
5866 { ac_try='test -s conftest$ac_exeext'
5867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5868 (eval $ac_try) 2>&5
5869 ac_status=$?
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; }; then
5872 eval "$as_ac_var=yes"
5873 else
5874 echo "$as_me: failed program was:" >&5
5875 sed 's/^/| /' conftest.$ac_ext >&5
5877 eval "$as_ac_var=no"
5879 rm -f conftest.err conftest.$ac_objext \
5880 conftest$ac_exeext conftest.$ac_ext
5882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5884 if test `eval echo '${'$as_ac_var'}'` = yes; then
5885 cat >>confdefs.h <<_ACEOF
5886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5887 _ACEOF
5889 else
5891 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
5892 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
5893 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
5894 echo $ECHO_N "(cached) $ECHO_C" >&6
5895 else
5896 ac_check_lib_save_LIBS=$LIBS
5897 LIBS="-lw $LIBS"
5898 cat >conftest.$ac_ext <<_ACEOF
5899 /* confdefs.h. */
5900 _ACEOF
5901 cat confdefs.h >>conftest.$ac_ext
5902 cat >>conftest.$ac_ext <<_ACEOF
5903 /* end confdefs.h. */
5905 /* Override any gcc2 internal prototype to avoid an error. */
5906 #ifdef __cplusplus
5907 extern "C"
5908 #endif
5909 /* We use char because int might match the return type of a gcc2
5910 builtin and then its argument prototype would still apply. */
5911 char iswalnum ();
5913 main ()
5915 iswalnum ();
5917 return 0;
5919 _ACEOF
5920 rm -f conftest.$ac_objext conftest$ac_exeext
5921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5922 (eval $ac_link) 2>conftest.er1
5923 ac_status=$?
5924 grep -v '^ *+' conftest.er1 >conftest.err
5925 rm -f conftest.er1
5926 cat conftest.err >&5
5927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5928 (exit $ac_status); } &&
5929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5931 (eval $ac_try) 2>&5
5932 ac_status=$?
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); }; } &&
5935 { ac_try='test -s conftest$ac_exeext'
5936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5937 (eval $ac_try) 2>&5
5938 ac_status=$?
5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940 (exit $ac_status); }; }; then
5941 ac_cv_lib_w_iswalnum=yes
5942 else
5943 echo "$as_me: failed program was:" >&5
5944 sed 's/^/| /' conftest.$ac_ext >&5
5946 ac_cv_lib_w_iswalnum=no
5948 rm -f conftest.err conftest.$ac_objext \
5949 conftest$ac_exeext conftest.$ac_ext
5950 LIBS=$ac_check_lib_save_LIBS
5952 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
5953 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
5954 if test $ac_cv_lib_w_iswalnum = yes; then
5955 cat >>confdefs.h <<_ACEOF
5956 #define HAVE_LIBW 1
5957 _ACEOF
5959 LIBS="-lw $LIBS"
5964 done
5967 for ac_func in gethostbyname
5969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5970 echo "$as_me:$LINENO: checking for $ac_func" >&5
5971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5972 if eval "test \"\${$as_ac_var+set}\" = set"; then
5973 echo $ECHO_N "(cached) $ECHO_C" >&6
5974 else
5975 cat >conftest.$ac_ext <<_ACEOF
5976 /* confdefs.h. */
5977 _ACEOF
5978 cat confdefs.h >>conftest.$ac_ext
5979 cat >>conftest.$ac_ext <<_ACEOF
5980 /* end confdefs.h. */
5981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5983 #define $ac_func innocuous_$ac_func
5985 /* System header to define __stub macros and hopefully few prototypes,
5986 which can conflict with char $ac_func (); below.
5987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5988 <limits.h> exists even on freestanding compilers. */
5990 #ifdef __STDC__
5991 # include <limits.h>
5992 #else
5993 # include <assert.h>
5994 #endif
5996 #undef $ac_func
5998 /* Override any gcc2 internal prototype to avoid an error. */
5999 #ifdef __cplusplus
6000 extern "C"
6002 #endif
6003 /* We use char because int might match the return type of a gcc2
6004 builtin and then its argument prototype would still apply. */
6005 char $ac_func ();
6006 /* The GNU C library defines this for functions which it implements
6007 to always fail with ENOSYS. Some functions are actually named
6008 something starting with __ and the normal name is an alias. */
6009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6010 choke me
6011 #else
6012 char (*f) () = $ac_func;
6013 #endif
6014 #ifdef __cplusplus
6016 #endif
6019 main ()
6021 return f != $ac_func;
6023 return 0;
6025 _ACEOF
6026 rm -f conftest.$ac_objext conftest$ac_exeext
6027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6028 (eval $ac_link) 2>conftest.er1
6029 ac_status=$?
6030 grep -v '^ *+' conftest.er1 >conftest.err
6031 rm -f conftest.er1
6032 cat conftest.err >&5
6033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6034 (exit $ac_status); } &&
6035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6037 (eval $ac_try) 2>&5
6038 ac_status=$?
6039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); }; } &&
6041 { ac_try='test -s conftest$ac_exeext'
6042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6043 (eval $ac_try) 2>&5
6044 ac_status=$?
6045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6046 (exit $ac_status); }; }; then
6047 eval "$as_ac_var=yes"
6048 else
6049 echo "$as_me: failed program was:" >&5
6050 sed 's/^/| /' conftest.$ac_ext >&5
6052 eval "$as_ac_var=no"
6054 rm -f conftest.err conftest.$ac_objext \
6055 conftest$ac_exeext conftest.$ac_ext
6057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6059 if test `eval echo '${'$as_ac_var'}'` = yes; then
6060 cat >>confdefs.h <<_ACEOF
6061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6062 _ACEOF
6064 else
6066 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6067 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6068 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6069 echo $ECHO_N "(cached) $ECHO_C" >&6
6070 else
6071 ac_check_lib_save_LIBS=$LIBS
6072 LIBS="-lnsl $LIBS"
6073 cat >conftest.$ac_ext <<_ACEOF
6074 /* confdefs.h. */
6075 _ACEOF
6076 cat confdefs.h >>conftest.$ac_ext
6077 cat >>conftest.$ac_ext <<_ACEOF
6078 /* end confdefs.h. */
6080 /* Override any gcc2 internal prototype to avoid an error. */
6081 #ifdef __cplusplus
6082 extern "C"
6083 #endif
6084 /* We use char because int might match the return type of a gcc2
6085 builtin and then its argument prototype would still apply. */
6086 char gethostbyname ();
6088 main ()
6090 gethostbyname ();
6092 return 0;
6094 _ACEOF
6095 rm -f conftest.$ac_objext conftest$ac_exeext
6096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6097 (eval $ac_link) 2>conftest.er1
6098 ac_status=$?
6099 grep -v '^ *+' conftest.er1 >conftest.err
6100 rm -f conftest.er1
6101 cat conftest.err >&5
6102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 (exit $ac_status); } &&
6104 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6106 (eval $ac_try) 2>&5
6107 ac_status=$?
6108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109 (exit $ac_status); }; } &&
6110 { ac_try='test -s conftest$ac_exeext'
6111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6112 (eval $ac_try) 2>&5
6113 ac_status=$?
6114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115 (exit $ac_status); }; }; then
6116 ac_cv_lib_nsl_gethostbyname=yes
6117 else
6118 echo "$as_me: failed program was:" >&5
6119 sed 's/^/| /' conftest.$ac_ext >&5
6121 ac_cv_lib_nsl_gethostbyname=no
6123 rm -f conftest.err conftest.$ac_objext \
6124 conftest$ac_exeext conftest.$ac_ext
6125 LIBS=$ac_check_lib_save_LIBS
6127 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6128 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6129 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6130 cat >>confdefs.h <<_ACEOF
6131 #define HAVE_LIBNSL 1
6132 _ACEOF
6134 LIBS="-lnsl $LIBS"
6139 done
6142 for ac_func in connect
6144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6145 echo "$as_me:$LINENO: checking for $ac_func" >&5
6146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6147 if eval "test \"\${$as_ac_var+set}\" = set"; then
6148 echo $ECHO_N "(cached) $ECHO_C" >&6
6149 else
6150 cat >conftest.$ac_ext <<_ACEOF
6151 /* confdefs.h. */
6152 _ACEOF
6153 cat confdefs.h >>conftest.$ac_ext
6154 cat >>conftest.$ac_ext <<_ACEOF
6155 /* end confdefs.h. */
6156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6158 #define $ac_func innocuous_$ac_func
6160 /* System header to define __stub macros and hopefully few prototypes,
6161 which can conflict with char $ac_func (); below.
6162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6163 <limits.h> exists even on freestanding compilers. */
6165 #ifdef __STDC__
6166 # include <limits.h>
6167 #else
6168 # include <assert.h>
6169 #endif
6171 #undef $ac_func
6173 /* Override any gcc2 internal prototype to avoid an error. */
6174 #ifdef __cplusplus
6175 extern "C"
6177 #endif
6178 /* We use char because int might match the return type of a gcc2
6179 builtin and then its argument prototype would still apply. */
6180 char $ac_func ();
6181 /* The GNU C library defines this for functions which it implements
6182 to always fail with ENOSYS. Some functions are actually named
6183 something starting with __ and the normal name is an alias. */
6184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6185 choke me
6186 #else
6187 char (*f) () = $ac_func;
6188 #endif
6189 #ifdef __cplusplus
6191 #endif
6194 main ()
6196 return f != $ac_func;
6198 return 0;
6200 _ACEOF
6201 rm -f conftest.$ac_objext conftest$ac_exeext
6202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6203 (eval $ac_link) 2>conftest.er1
6204 ac_status=$?
6205 grep -v '^ *+' conftest.er1 >conftest.err
6206 rm -f conftest.er1
6207 cat conftest.err >&5
6208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209 (exit $ac_status); } &&
6210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6212 (eval $ac_try) 2>&5
6213 ac_status=$?
6214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6215 (exit $ac_status); }; } &&
6216 { ac_try='test -s conftest$ac_exeext'
6217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6218 (eval $ac_try) 2>&5
6219 ac_status=$?
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); }; }; then
6222 eval "$as_ac_var=yes"
6223 else
6224 echo "$as_me: failed program was:" >&5
6225 sed 's/^/| /' conftest.$ac_ext >&5
6227 eval "$as_ac_var=no"
6229 rm -f conftest.err conftest.$ac_objext \
6230 conftest$ac_exeext conftest.$ac_ext
6232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6234 if test `eval echo '${'$as_ac_var'}'` = yes; then
6235 cat >>confdefs.h <<_ACEOF
6236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6237 _ACEOF
6239 else
6241 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6242 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6243 if test "${ac_cv_lib_socket_connect+set}" = set; then
6244 echo $ECHO_N "(cached) $ECHO_C" >&6
6245 else
6246 ac_check_lib_save_LIBS=$LIBS
6247 LIBS="-lsocket $LIBS"
6248 cat >conftest.$ac_ext <<_ACEOF
6249 /* confdefs.h. */
6250 _ACEOF
6251 cat confdefs.h >>conftest.$ac_ext
6252 cat >>conftest.$ac_ext <<_ACEOF
6253 /* end confdefs.h. */
6255 /* Override any gcc2 internal prototype to avoid an error. */
6256 #ifdef __cplusplus
6257 extern "C"
6258 #endif
6259 /* We use char because int might match the return type of a gcc2
6260 builtin and then its argument prototype would still apply. */
6261 char connect ();
6263 main ()
6265 connect ();
6267 return 0;
6269 _ACEOF
6270 rm -f conftest.$ac_objext conftest$ac_exeext
6271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6272 (eval $ac_link) 2>conftest.er1
6273 ac_status=$?
6274 grep -v '^ *+' conftest.er1 >conftest.err
6275 rm -f conftest.er1
6276 cat conftest.err >&5
6277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6278 (exit $ac_status); } &&
6279 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6281 (eval $ac_try) 2>&5
6282 ac_status=$?
6283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284 (exit $ac_status); }; } &&
6285 { ac_try='test -s conftest$ac_exeext'
6286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6287 (eval $ac_try) 2>&5
6288 ac_status=$?
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); }; }; then
6291 ac_cv_lib_socket_connect=yes
6292 else
6293 echo "$as_me: failed program was:" >&5
6294 sed 's/^/| /' conftest.$ac_ext >&5
6296 ac_cv_lib_socket_connect=no
6298 rm -f conftest.err conftest.$ac_objext \
6299 conftest$ac_exeext conftest.$ac_ext
6300 LIBS=$ac_check_lib_save_LIBS
6302 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6303 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6304 if test $ac_cv_lib_socket_connect = yes; then
6305 cat >>confdefs.h <<_ACEOF
6306 #define HAVE_LIBSOCKET 1
6307 _ACEOF
6309 LIBS="-lsocket $LIBS"
6314 done
6317 for ac_func in inet_aton
6319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6320 echo "$as_me:$LINENO: checking for $ac_func" >&5
6321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6322 if eval "test \"\${$as_ac_var+set}\" = set"; then
6323 echo $ECHO_N "(cached) $ECHO_C" >&6
6324 else
6325 cat >conftest.$ac_ext <<_ACEOF
6326 /* confdefs.h. */
6327 _ACEOF
6328 cat confdefs.h >>conftest.$ac_ext
6329 cat >>conftest.$ac_ext <<_ACEOF
6330 /* end confdefs.h. */
6331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6333 #define $ac_func innocuous_$ac_func
6335 /* System header to define __stub macros and hopefully few prototypes,
6336 which can conflict with char $ac_func (); below.
6337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6338 <limits.h> exists even on freestanding compilers. */
6340 #ifdef __STDC__
6341 # include <limits.h>
6342 #else
6343 # include <assert.h>
6344 #endif
6346 #undef $ac_func
6348 /* Override any gcc2 internal prototype to avoid an error. */
6349 #ifdef __cplusplus
6350 extern "C"
6352 #endif
6353 /* We use char because int might match the return type of a gcc2
6354 builtin and then its argument prototype would still apply. */
6355 char $ac_func ();
6356 /* The GNU C library defines this for functions which it implements
6357 to always fail with ENOSYS. Some functions are actually named
6358 something starting with __ and the normal name is an alias. */
6359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6360 choke me
6361 #else
6362 char (*f) () = $ac_func;
6363 #endif
6364 #ifdef __cplusplus
6366 #endif
6369 main ()
6371 return f != $ac_func;
6373 return 0;
6375 _ACEOF
6376 rm -f conftest.$ac_objext conftest$ac_exeext
6377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6378 (eval $ac_link) 2>conftest.er1
6379 ac_status=$?
6380 grep -v '^ *+' conftest.er1 >conftest.err
6381 rm -f conftest.er1
6382 cat conftest.err >&5
6383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6384 (exit $ac_status); } &&
6385 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6387 (eval $ac_try) 2>&5
6388 ac_status=$?
6389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6390 (exit $ac_status); }; } &&
6391 { ac_try='test -s conftest$ac_exeext'
6392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6393 (eval $ac_try) 2>&5
6394 ac_status=$?
6395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396 (exit $ac_status); }; }; then
6397 eval "$as_ac_var=yes"
6398 else
6399 echo "$as_me: failed program was:" >&5
6400 sed 's/^/| /' conftest.$ac_ext >&5
6402 eval "$as_ac_var=no"
6404 rm -f conftest.err conftest.$ac_objext \
6405 conftest$ac_exeext conftest.$ac_ext
6407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6409 if test `eval echo '${'$as_ac_var'}'` = yes; then
6410 cat >>confdefs.h <<_ACEOF
6411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6412 _ACEOF
6414 else
6416 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6417 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6418 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6419 echo $ECHO_N "(cached) $ECHO_C" >&6
6420 else
6421 ac_check_lib_save_LIBS=$LIBS
6422 LIBS="-lresolv $LIBS"
6423 cat >conftest.$ac_ext <<_ACEOF
6424 /* confdefs.h. */
6425 _ACEOF
6426 cat confdefs.h >>conftest.$ac_ext
6427 cat >>conftest.$ac_ext <<_ACEOF
6428 /* end confdefs.h. */
6430 /* Override any gcc2 internal prototype to avoid an error. */
6431 #ifdef __cplusplus
6432 extern "C"
6433 #endif
6434 /* We use char because int might match the return type of a gcc2
6435 builtin and then its argument prototype would still apply. */
6436 char inet_aton ();
6438 main ()
6440 inet_aton ();
6442 return 0;
6444 _ACEOF
6445 rm -f conftest.$ac_objext conftest$ac_exeext
6446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6447 (eval $ac_link) 2>conftest.er1
6448 ac_status=$?
6449 grep -v '^ *+' conftest.er1 >conftest.err
6450 rm -f conftest.er1
6451 cat conftest.err >&5
6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); } &&
6454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6456 (eval $ac_try) 2>&5
6457 ac_status=$?
6458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6459 (exit $ac_status); }; } &&
6460 { ac_try='test -s conftest$ac_exeext'
6461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6462 (eval $ac_try) 2>&5
6463 ac_status=$?
6464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465 (exit $ac_status); }; }; then
6466 ac_cv_lib_resolv_inet_aton=yes
6467 else
6468 echo "$as_me: failed program was:" >&5
6469 sed 's/^/| /' conftest.$ac_ext >&5
6471 ac_cv_lib_resolv_inet_aton=no
6473 rm -f conftest.err conftest.$ac_objext \
6474 conftest$ac_exeext conftest.$ac_ext
6475 LIBS=$ac_check_lib_save_LIBS
6477 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6478 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6479 if test $ac_cv_lib_resolv_inet_aton = yes; then
6480 cat >>confdefs.h <<_ACEOF
6481 #define HAVE_LIBRESOLV 1
6482 _ACEOF
6484 LIBS="-lresolv $LIBS"
6489 done
6492 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6493 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6494 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6495 echo $ECHO_N "(cached) $ECHO_C" >&6
6496 else
6497 ac_check_lib_save_LIBS=$LIBS
6498 LIBS="-lxpg4 $LIBS"
6499 cat >conftest.$ac_ext <<_ACEOF
6500 /* confdefs.h. */
6501 _ACEOF
6502 cat confdefs.h >>conftest.$ac_ext
6503 cat >>conftest.$ac_ext <<_ACEOF
6504 /* end confdefs.h. */
6506 /* Override any gcc2 internal prototype to avoid an error. */
6507 #ifdef __cplusplus
6508 extern "C"
6509 #endif
6510 /* We use char because int might match the return type of a gcc2
6511 builtin and then its argument prototype would still apply. */
6512 char _xpg4_setrunelocale ();
6514 main ()
6516 _xpg4_setrunelocale ();
6518 return 0;
6520 _ACEOF
6521 rm -f conftest.$ac_objext conftest$ac_exeext
6522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6523 (eval $ac_link) 2>conftest.er1
6524 ac_status=$?
6525 grep -v '^ *+' conftest.er1 >conftest.err
6526 rm -f conftest.er1
6527 cat conftest.err >&5
6528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 (exit $ac_status); } &&
6530 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6532 (eval $ac_try) 2>&5
6533 ac_status=$?
6534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6535 (exit $ac_status); }; } &&
6536 { ac_try='test -s conftest$ac_exeext'
6537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6538 (eval $ac_try) 2>&5
6539 ac_status=$?
6540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541 (exit $ac_status); }; }; then
6542 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6543 else
6544 echo "$as_me: failed program was:" >&5
6545 sed 's/^/| /' conftest.$ac_ext >&5
6547 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6549 rm -f conftest.err conftest.$ac_objext \
6550 conftest$ac_exeext conftest.$ac_ext
6551 LIBS=$ac_check_lib_save_LIBS
6553 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6554 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6555 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6556 cat >>confdefs.h <<_ACEOF
6557 #define HAVE_LIBXPG4 1
6558 _ACEOF
6560 LIBS="-lxpg4 $LIBS"
6565 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6566 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6567 if test "${ac_cv_lib_poll_poll+set}" = set; then
6568 echo $ECHO_N "(cached) $ECHO_C" >&6
6569 else
6570 ac_check_lib_save_LIBS=$LIBS
6571 LIBS="-lpoll $LIBS"
6572 cat >conftest.$ac_ext <<_ACEOF
6573 /* confdefs.h. */
6574 _ACEOF
6575 cat confdefs.h >>conftest.$ac_ext
6576 cat >>conftest.$ac_ext <<_ACEOF
6577 /* end confdefs.h. */
6579 /* Override any gcc2 internal prototype to avoid an error. */
6580 #ifdef __cplusplus
6581 extern "C"
6582 #endif
6583 /* We use char because int might match the return type of a gcc2
6584 builtin and then its argument prototype would still apply. */
6585 char poll ();
6587 main ()
6589 poll ();
6591 return 0;
6593 _ACEOF
6594 rm -f conftest.$ac_objext conftest$ac_exeext
6595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6596 (eval $ac_link) 2>conftest.er1
6597 ac_status=$?
6598 grep -v '^ *+' conftest.er1 >conftest.err
6599 rm -f conftest.er1
6600 cat conftest.err >&5
6601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6602 (exit $ac_status); } &&
6603 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6605 (eval $ac_try) 2>&5
6606 ac_status=$?
6607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608 (exit $ac_status); }; } &&
6609 { ac_try='test -s conftest$ac_exeext'
6610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6611 (eval $ac_try) 2>&5
6612 ac_status=$?
6613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6614 (exit $ac_status); }; }; then
6615 ac_cv_lib_poll_poll=yes
6616 else
6617 echo "$as_me: failed program was:" >&5
6618 sed 's/^/| /' conftest.$ac_ext >&5
6620 ac_cv_lib_poll_poll=no
6622 rm -f conftest.err conftest.$ac_objext \
6623 conftest$ac_exeext conftest.$ac_ext
6624 LIBS=$ac_check_lib_save_LIBS
6626 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6627 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6628 if test $ac_cv_lib_poll_poll = yes; then
6629 cat >>confdefs.h <<_ACEOF
6630 #define HAVE_LIBPOLL 1
6631 _ACEOF
6633 LIBS="-lpoll $LIBS"
6638 echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
6639 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6
6640 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
6641 echo $ECHO_N "(cached) $ECHO_C" >&6
6642 else
6643 ac_check_lib_save_LIBS=$LIBS
6644 LIBS="-lresolv $LIBS"
6645 cat >conftest.$ac_ext <<_ACEOF
6646 /* confdefs.h. */
6647 _ACEOF
6648 cat confdefs.h >>conftest.$ac_ext
6649 cat >>conftest.$ac_ext <<_ACEOF
6650 /* end confdefs.h. */
6652 /* Override any gcc2 internal prototype to avoid an error. */
6653 #ifdef __cplusplus
6654 extern "C"
6655 #endif
6656 /* We use char because int might match the return type of a gcc2
6657 builtin and then its argument prototype would still apply. */
6658 char res_9_init ();
6660 main ()
6662 res_9_init ();
6664 return 0;
6666 _ACEOF
6667 rm -f conftest.$ac_objext conftest$ac_exeext
6668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6669 (eval $ac_link) 2>conftest.er1
6670 ac_status=$?
6671 grep -v '^ *+' conftest.er1 >conftest.err
6672 rm -f conftest.er1
6673 cat conftest.err >&5
6674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675 (exit $ac_status); } &&
6676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6678 (eval $ac_try) 2>&5
6679 ac_status=$?
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); }; } &&
6682 { ac_try='test -s conftest$ac_exeext'
6683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6684 (eval $ac_try) 2>&5
6685 ac_status=$?
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); }; }; then
6688 ac_cv_lib_resolv_res_9_init=yes
6689 else
6690 echo "$as_me: failed program was:" >&5
6691 sed 's/^/| /' conftest.$ac_ext >&5
6693 ac_cv_lib_resolv_res_9_init=no
6695 rm -f conftest.err conftest.$ac_objext \
6696 conftest$ac_exeext conftest.$ac_ext
6697 LIBS=$ac_check_lib_save_LIBS
6699 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
6700 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6
6701 if test $ac_cv_lib_resolv_res_9_init = yes; then
6702 cat >>confdefs.h <<_ACEOF
6703 #define HAVE_LIBRESOLV 1
6704 _ACEOF
6706 LIBS="-lresolv $LIBS"
6710 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6711 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6712 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6713 echo $ECHO_N "(cached) $ECHO_C" >&6
6714 else
6715 ac_check_lib_save_LIBS=$LIBS
6716 LIBS="-lpthread $LIBS"
6717 cat >conftest.$ac_ext <<_ACEOF
6718 /* confdefs.h. */
6719 _ACEOF
6720 cat confdefs.h >>conftest.$ac_ext
6721 cat >>conftest.$ac_ext <<_ACEOF
6722 /* end confdefs.h. */
6724 /* Override any gcc2 internal prototype to avoid an error. */
6725 #ifdef __cplusplus
6726 extern "C"
6727 #endif
6728 /* We use char because int might match the return type of a gcc2
6729 builtin and then its argument prototype would still apply. */
6730 char pthread_create ();
6732 main ()
6734 pthread_create ();
6736 return 0;
6738 _ACEOF
6739 rm -f conftest.$ac_objext conftest$ac_exeext
6740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6741 (eval $ac_link) 2>conftest.er1
6742 ac_status=$?
6743 grep -v '^ *+' conftest.er1 >conftest.err
6744 rm -f conftest.er1
6745 cat conftest.err >&5
6746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6747 (exit $ac_status); } &&
6748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6750 (eval $ac_try) 2>&5
6751 ac_status=$?
6752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6753 (exit $ac_status); }; } &&
6754 { ac_try='test -s conftest$ac_exeext'
6755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6756 (eval $ac_try) 2>&5
6757 ac_status=$?
6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759 (exit $ac_status); }; }; then
6760 ac_cv_lib_pthread_pthread_create=yes
6761 else
6762 echo "$as_me: failed program was:" >&5
6763 sed 's/^/| /' conftest.$ac_ext >&5
6765 ac_cv_lib_pthread_pthread_create=no
6767 rm -f conftest.err conftest.$ac_objext \
6768 conftest$ac_exeext conftest.$ac_ext
6769 LIBS=$ac_check_lib_save_LIBS
6771 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6772 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6773 if test $ac_cv_lib_pthread_pthread_create = yes; then
6774 LIBPTHREAD="-lpthread"
6781 XFILES=""
6783 OPENGLFILES=""
6785 GLU32FILES=""
6787 OPENGL_LIBS=""
6790 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6791 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6792 if test "${ac_cv_header_stdc+set}" = set; then
6793 echo $ECHO_N "(cached) $ECHO_C" >&6
6794 else
6795 cat >conftest.$ac_ext <<_ACEOF
6796 /* confdefs.h. */
6797 _ACEOF
6798 cat confdefs.h >>conftest.$ac_ext
6799 cat >>conftest.$ac_ext <<_ACEOF
6800 /* end confdefs.h. */
6801 #include <stdlib.h>
6802 #include <stdarg.h>
6803 #include <string.h>
6804 #include <float.h>
6807 main ()
6811 return 0;
6813 _ACEOF
6814 rm -f conftest.$ac_objext
6815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6816 (eval $ac_compile) 2>conftest.er1
6817 ac_status=$?
6818 grep -v '^ *+' conftest.er1 >conftest.err
6819 rm -f conftest.er1
6820 cat conftest.err >&5
6821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6822 (exit $ac_status); } &&
6823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6825 (eval $ac_try) 2>&5
6826 ac_status=$?
6827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6828 (exit $ac_status); }; } &&
6829 { ac_try='test -s conftest.$ac_objext'
6830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6831 (eval $ac_try) 2>&5
6832 ac_status=$?
6833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6834 (exit $ac_status); }; }; then
6835 ac_cv_header_stdc=yes
6836 else
6837 echo "$as_me: failed program was:" >&5
6838 sed 's/^/| /' conftest.$ac_ext >&5
6840 ac_cv_header_stdc=no
6842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6844 if test $ac_cv_header_stdc = yes; then
6845 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6846 cat >conftest.$ac_ext <<_ACEOF
6847 /* confdefs.h. */
6848 _ACEOF
6849 cat confdefs.h >>conftest.$ac_ext
6850 cat >>conftest.$ac_ext <<_ACEOF
6851 /* end confdefs.h. */
6852 #include <string.h>
6854 _ACEOF
6855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6856 $EGREP "memchr" >/dev/null 2>&1; then
6858 else
6859 ac_cv_header_stdc=no
6861 rm -f conftest*
6865 if test $ac_cv_header_stdc = yes; then
6866 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6867 cat >conftest.$ac_ext <<_ACEOF
6868 /* confdefs.h. */
6869 _ACEOF
6870 cat confdefs.h >>conftest.$ac_ext
6871 cat >>conftest.$ac_ext <<_ACEOF
6872 /* end confdefs.h. */
6873 #include <stdlib.h>
6875 _ACEOF
6876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6877 $EGREP "free" >/dev/null 2>&1; then
6879 else
6880 ac_cv_header_stdc=no
6882 rm -f conftest*
6886 if test $ac_cv_header_stdc = yes; then
6887 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6888 if test "$cross_compiling" = yes; then
6890 else
6891 cat >conftest.$ac_ext <<_ACEOF
6892 /* confdefs.h. */
6893 _ACEOF
6894 cat confdefs.h >>conftest.$ac_ext
6895 cat >>conftest.$ac_ext <<_ACEOF
6896 /* end confdefs.h. */
6897 #include <ctype.h>
6898 #if ((' ' & 0x0FF) == 0x020)
6899 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6900 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6901 #else
6902 # define ISLOWER(c) \
6903 (('a' <= (c) && (c) <= 'i') \
6904 || ('j' <= (c) && (c) <= 'r') \
6905 || ('s' <= (c) && (c) <= 'z'))
6906 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6907 #endif
6909 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6911 main ()
6913 int i;
6914 for (i = 0; i < 256; i++)
6915 if (XOR (islower (i), ISLOWER (i))
6916 || toupper (i) != TOUPPER (i))
6917 exit(2);
6918 exit (0);
6920 _ACEOF
6921 rm -f conftest$ac_exeext
6922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6923 (eval $ac_link) 2>&5
6924 ac_status=$?
6925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6926 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6928 (eval $ac_try) 2>&5
6929 ac_status=$?
6930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6931 (exit $ac_status); }; }; then
6933 else
6934 echo "$as_me: program exited with status $ac_status" >&5
6935 echo "$as_me: failed program was:" >&5
6936 sed 's/^/| /' conftest.$ac_ext >&5
6938 ( exit $ac_status )
6939 ac_cv_header_stdc=no
6941 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6945 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6946 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6947 if test $ac_cv_header_stdc = yes; then
6949 cat >>confdefs.h <<\_ACEOF
6950 #define STDC_HEADERS 1
6951 _ACEOF
6955 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6965 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6966 inttypes.h stdint.h unistd.h
6968 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6969 echo "$as_me:$LINENO: checking for $ac_header" >&5
6970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6972 echo $ECHO_N "(cached) $ECHO_C" >&6
6973 else
6974 cat >conftest.$ac_ext <<_ACEOF
6975 /* confdefs.h. */
6976 _ACEOF
6977 cat confdefs.h >>conftest.$ac_ext
6978 cat >>conftest.$ac_ext <<_ACEOF
6979 /* end confdefs.h. */
6980 $ac_includes_default
6982 #include <$ac_header>
6983 _ACEOF
6984 rm -f conftest.$ac_objext
6985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6986 (eval $ac_compile) 2>conftest.er1
6987 ac_status=$?
6988 grep -v '^ *+' conftest.er1 >conftest.err
6989 rm -f conftest.er1
6990 cat conftest.err >&5
6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6992 (exit $ac_status); } &&
6993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6995 (eval $ac_try) 2>&5
6996 ac_status=$?
6997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998 (exit $ac_status); }; } &&
6999 { ac_try='test -s conftest.$ac_objext'
7000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7001 (eval $ac_try) 2>&5
7002 ac_status=$?
7003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7004 (exit $ac_status); }; }; then
7005 eval "$as_ac_Header=yes"
7006 else
7007 echo "$as_me: failed program was:" >&5
7008 sed 's/^/| /' conftest.$ac_ext >&5
7010 eval "$as_ac_Header=no"
7012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7016 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7017 cat >>confdefs.h <<_ACEOF
7018 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7019 _ACEOF
7023 done
7126 for ac_header in \
7127 IOKit/IOKitLib.h \
7128 alsa/asoundlib.h \
7129 arpa/inet.h \
7130 arpa/nameser.h \
7131 asm/types.h \
7132 capi20.h \
7133 cups/cups.h \
7134 curses.h \
7135 direct.h \
7136 dlfcn.h \
7137 elf.h \
7138 float.h \
7139 fontconfig/fontconfig.h \
7140 getopt.h \
7141 gif_lib.h \
7142 ieeefp.h \
7143 io.h \
7144 jack/jack.h \
7145 jpeglib.h \
7146 lber.h \
7147 lcms.h \
7148 lcms/lcms.h \
7149 ldap.h \
7150 libaudioio.h \
7151 link.h \
7152 linux/capi.h \
7153 linux/cdrom.h \
7154 linux/compiler.h \
7155 linux/hdreg.h \
7156 linux/input.h \
7157 linux/ioctl.h \
7158 linux/joystick.h \
7159 linux/major.h \
7160 linux/param.h \
7161 linux/serial.h \
7162 linux/ucdrom.h \
7163 mach/machine.h \
7164 machine/cpu.h \
7165 machine/limits.h \
7166 machine/soundcard.h \
7167 mntent.h \
7168 ncurses.h \
7169 netdb.h \
7170 netinet/in.h \
7171 netinet/in_systm.h \
7172 netinet/tcp.h \
7173 netinet/tcp_fsm.h \
7174 openssl/ssl.h \
7175 poll.h \
7176 process.h \
7177 pthread.h \
7178 pwd.h \
7179 regex.h \
7180 sched.h \
7181 scsi/scsi.h \
7182 scsi/scsi_ioctl.h \
7183 scsi/sg.h \
7184 soundcard.h \
7185 stdint.h \
7186 strings.h \
7187 sys/asoundlib.h \
7188 sys/cdio.h \
7189 sys/elf32.h \
7190 sys/epoll.h \
7191 sys/errno.h \
7192 sys/exec_elf.h \
7193 sys/filio.h \
7194 sys/ioctl.h \
7195 sys/ipc.h \
7196 sys/link.h \
7197 sys/lwp.h \
7198 sys/mman.h \
7199 sys/modem.h \
7200 sys/msg.h \
7201 sys/param.h \
7202 sys/poll.h \
7203 sys/ptrace.h \
7204 sys/reg.h \
7205 sys/scsiio.h \
7206 sys/shm.h \
7207 sys/signal.h \
7208 sys/socket.h \
7209 sys/sockio.h \
7210 sys/soundcard.h \
7211 sys/statvfs.h \
7212 sys/strtio.h \
7213 sys/syscall.h \
7214 sys/sysctl.h \
7215 sys/time.h \
7216 sys/times.h \
7217 sys/uio.h \
7218 sys/un.h \
7219 sys/vm86.h \
7220 sys/wait.h \
7221 syscall.h \
7222 termios.h \
7223 unicode/ubidi.h \
7224 unistd.h \
7225 utime.h \
7226 valgrind/memcheck.h
7229 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7231 echo "$as_me:$LINENO: checking for $ac_header" >&5
7232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7234 echo $ECHO_N "(cached) $ECHO_C" >&6
7236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7237 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7238 else
7239 # Is the header compilable?
7240 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7241 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7242 cat >conftest.$ac_ext <<_ACEOF
7243 /* confdefs.h. */
7244 _ACEOF
7245 cat confdefs.h >>conftest.$ac_ext
7246 cat >>conftest.$ac_ext <<_ACEOF
7247 /* end confdefs.h. */
7248 $ac_includes_default
7249 #include <$ac_header>
7250 _ACEOF
7251 rm -f conftest.$ac_objext
7252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7253 (eval $ac_compile) 2>conftest.er1
7254 ac_status=$?
7255 grep -v '^ *+' conftest.er1 >conftest.err
7256 rm -f conftest.er1
7257 cat conftest.err >&5
7258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7259 (exit $ac_status); } &&
7260 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7262 (eval $ac_try) 2>&5
7263 ac_status=$?
7264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7265 (exit $ac_status); }; } &&
7266 { ac_try='test -s conftest.$ac_objext'
7267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7268 (eval $ac_try) 2>&5
7269 ac_status=$?
7270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7271 (exit $ac_status); }; }; then
7272 ac_header_compiler=yes
7273 else
7274 echo "$as_me: failed program was:" >&5
7275 sed 's/^/| /' conftest.$ac_ext >&5
7277 ac_header_compiler=no
7279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7280 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7281 echo "${ECHO_T}$ac_header_compiler" >&6
7283 # Is the header present?
7284 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7285 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7286 cat >conftest.$ac_ext <<_ACEOF
7287 /* confdefs.h. */
7288 _ACEOF
7289 cat confdefs.h >>conftest.$ac_ext
7290 cat >>conftest.$ac_ext <<_ACEOF
7291 /* end confdefs.h. */
7292 #include <$ac_header>
7293 _ACEOF
7294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7295 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7296 ac_status=$?
7297 grep -v '^ *+' conftest.er1 >conftest.err
7298 rm -f conftest.er1
7299 cat conftest.err >&5
7300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7301 (exit $ac_status); } >/dev/null; then
7302 if test -s conftest.err; then
7303 ac_cpp_err=$ac_c_preproc_warn_flag
7304 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7305 else
7306 ac_cpp_err=
7308 else
7309 ac_cpp_err=yes
7311 if test -z "$ac_cpp_err"; then
7312 ac_header_preproc=yes
7313 else
7314 echo "$as_me: failed program was:" >&5
7315 sed 's/^/| /' conftest.$ac_ext >&5
7317 ac_header_preproc=no
7319 rm -f conftest.err conftest.$ac_ext
7320 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7321 echo "${ECHO_T}$ac_header_preproc" >&6
7323 # So? What about this header?
7324 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7325 yes:no: )
7326 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7327 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7328 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7329 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7330 ac_header_preproc=yes
7332 no:yes:* )
7333 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7334 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7335 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7336 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7337 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7338 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7339 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7340 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7341 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7342 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7343 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7344 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7346 cat <<\_ASBOX
7347 ## ------------------------------------ ##
7348 ## Report this to wine-devel@winehq.org ##
7349 ## ------------------------------------ ##
7350 _ASBOX
7352 sed "s/^/$as_me: WARNING: /" >&2
7354 esac
7355 echo "$as_me:$LINENO: checking for $ac_header" >&5
7356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7358 echo $ECHO_N "(cached) $ECHO_C" >&6
7359 else
7360 eval "$as_ac_Header=\$ac_header_preproc"
7362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7367 cat >>confdefs.h <<_ACEOF
7368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7369 _ACEOF
7373 done
7375 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7376 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
7377 if test "${ac_cv_header_stat_broken+set}" = set; then
7378 echo $ECHO_N "(cached) $ECHO_C" >&6
7379 else
7380 cat >conftest.$ac_ext <<_ACEOF
7381 /* confdefs.h. */
7382 _ACEOF
7383 cat confdefs.h >>conftest.$ac_ext
7384 cat >>conftest.$ac_ext <<_ACEOF
7385 /* end confdefs.h. */
7386 #include <sys/types.h>
7387 #include <sys/stat.h>
7389 #if defined(S_ISBLK) && defined(S_IFDIR)
7390 # if S_ISBLK (S_IFDIR)
7391 You lose.
7392 # endif
7393 #endif
7395 #if defined(S_ISBLK) && defined(S_IFCHR)
7396 # if S_ISBLK (S_IFCHR)
7397 You lose.
7398 # endif
7399 #endif
7401 #if defined(S_ISLNK) && defined(S_IFREG)
7402 # if S_ISLNK (S_IFREG)
7403 You lose.
7404 # endif
7405 #endif
7407 #if defined(S_ISSOCK) && defined(S_IFREG)
7408 # if S_ISSOCK (S_IFREG)
7409 You lose.
7410 # endif
7411 #endif
7413 _ACEOF
7414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7415 $EGREP "You lose" >/dev/null 2>&1; then
7416 ac_cv_header_stat_broken=yes
7417 else
7418 ac_cv_header_stat_broken=no
7420 rm -f conftest*
7423 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7424 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
7425 if test $ac_cv_header_stat_broken = yes; then
7427 cat >>confdefs.h <<\_ACEOF
7428 #define STAT_MACROS_BROKEN 1
7429 _ACEOF
7435 if test "$have_x" = "yes"
7436 then
7437 XLIB="-lXext -lX11"
7438 ac_save_CPPFLAGS="$CPPFLAGS"
7439 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7451 for ac_header in X11/Xlib.h \
7452 X11/XKBlib.h \
7453 X11/Xutil.h \
7454 X11/extensions/shape.h \
7455 X11/extensions/XInput.h \
7456 X11/extensions/XShm.h \
7457 X11/extensions/Xrandr.h \
7458 X11/extensions/Xrender.h \
7459 X11/extensions/xf86dga.h \
7460 X11/extensions/xf86vmode.h
7462 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7463 echo "$as_me:$LINENO: checking for $ac_header" >&5
7464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7466 echo $ECHO_N "(cached) $ECHO_C" >&6
7467 else
7468 cat >conftest.$ac_ext <<_ACEOF
7469 /* confdefs.h. */
7470 _ACEOF
7471 cat confdefs.h >>conftest.$ac_ext
7472 cat >>conftest.$ac_ext <<_ACEOF
7473 /* end confdefs.h. */
7474 #ifdef HAVE_X11_XLIB_H
7475 # include <X11/Xlib.h>
7476 #endif
7477 #ifdef HAVE_X11_XUTIL_H
7478 # include <X11/Xutil.h>
7479 #endif
7481 #include <$ac_header>
7482 _ACEOF
7483 rm -f conftest.$ac_objext
7484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7485 (eval $ac_compile) 2>conftest.er1
7486 ac_status=$?
7487 grep -v '^ *+' conftest.er1 >conftest.err
7488 rm -f conftest.er1
7489 cat conftest.err >&5
7490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7491 (exit $ac_status); } &&
7492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7494 (eval $ac_try) 2>&5
7495 ac_status=$?
7496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7497 (exit $ac_status); }; } &&
7498 { ac_try='test -s conftest.$ac_objext'
7499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7500 (eval $ac_try) 2>&5
7501 ac_status=$?
7502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7503 (exit $ac_status); }; }; then
7504 eval "$as_ac_Header=yes"
7505 else
7506 echo "$as_me: failed program was:" >&5
7507 sed 's/^/| /' conftest.$ac_ext >&5
7509 eval "$as_ac_Header=no"
7511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7516 cat >>confdefs.h <<_ACEOF
7517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7518 _ACEOF
7522 done
7525 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7526 then
7527 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7528 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7529 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7530 echo $ECHO_N "(cached) $ECHO_C" >&6
7531 else
7532 ac_check_lib_save_LIBS=$LIBS
7533 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7534 cat >conftest.$ac_ext <<_ACEOF
7535 /* confdefs.h. */
7536 _ACEOF
7537 cat confdefs.h >>conftest.$ac_ext
7538 cat >>conftest.$ac_ext <<_ACEOF
7539 /* end confdefs.h. */
7541 /* Override any gcc2 internal prototype to avoid an error. */
7542 #ifdef __cplusplus
7543 extern "C"
7544 #endif
7545 /* We use char because int might match the return type of a gcc2
7546 builtin and then its argument prototype would still apply. */
7547 char XkbQueryExtension ();
7549 main ()
7551 XkbQueryExtension ();
7553 return 0;
7555 _ACEOF
7556 rm -f conftest.$ac_objext conftest$ac_exeext
7557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7558 (eval $ac_link) 2>conftest.er1
7559 ac_status=$?
7560 grep -v '^ *+' conftest.er1 >conftest.err
7561 rm -f conftest.er1
7562 cat conftest.err >&5
7563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7564 (exit $ac_status); } &&
7565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7567 (eval $ac_try) 2>&5
7568 ac_status=$?
7569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7570 (exit $ac_status); }; } &&
7571 { ac_try='test -s conftest$ac_exeext'
7572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7573 (eval $ac_try) 2>&5
7574 ac_status=$?
7575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7576 (exit $ac_status); }; }; then
7577 ac_cv_lib_X11_XkbQueryExtension=yes
7578 else
7579 echo "$as_me: failed program was:" >&5
7580 sed 's/^/| /' conftest.$ac_ext >&5
7582 ac_cv_lib_X11_XkbQueryExtension=no
7584 rm -f conftest.err conftest.$ac_objext \
7585 conftest$ac_exeext conftest.$ac_ext
7586 LIBS=$ac_check_lib_save_LIBS
7588 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7589 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7590 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7592 cat >>confdefs.h <<\_ACEOF
7593 #define HAVE_XKB 1
7594 _ACEOF
7600 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7601 then
7602 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7603 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7604 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7605 echo $ECHO_N "(cached) $ECHO_C" >&6
7606 else
7607 ac_check_lib_save_LIBS=$LIBS
7608 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7609 cat >conftest.$ac_ext <<_ACEOF
7610 /* confdefs.h. */
7611 _ACEOF
7612 cat confdefs.h >>conftest.$ac_ext
7613 cat >>conftest.$ac_ext <<_ACEOF
7614 /* end confdefs.h. */
7616 /* Override any gcc2 internal prototype to avoid an error. */
7617 #ifdef __cplusplus
7618 extern "C"
7619 #endif
7620 /* We use char because int might match the return type of a gcc2
7621 builtin and then its argument prototype would still apply. */
7622 char XShmQueryExtension ();
7624 main ()
7626 XShmQueryExtension ();
7628 return 0;
7630 _ACEOF
7631 rm -f conftest.$ac_objext conftest$ac_exeext
7632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7633 (eval $ac_link) 2>conftest.er1
7634 ac_status=$?
7635 grep -v '^ *+' conftest.er1 >conftest.err
7636 rm -f conftest.er1
7637 cat conftest.err >&5
7638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7639 (exit $ac_status); } &&
7640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7642 (eval $ac_try) 2>&5
7643 ac_status=$?
7644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7645 (exit $ac_status); }; } &&
7646 { ac_try='test -s conftest$ac_exeext'
7647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7648 (eval $ac_try) 2>&5
7649 ac_status=$?
7650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7651 (exit $ac_status); }; }; then
7652 ac_cv_lib_Xext_XShmQueryExtension=yes
7653 else
7654 echo "$as_me: failed program was:" >&5
7655 sed 's/^/| /' conftest.$ac_ext >&5
7657 ac_cv_lib_Xext_XShmQueryExtension=no
7659 rm -f conftest.err conftest.$ac_objext \
7660 conftest$ac_exeext conftest.$ac_ext
7661 LIBS=$ac_check_lib_save_LIBS
7663 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7664 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7665 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7667 cat >>confdefs.h <<\_ACEOF
7668 #define HAVE_LIBXXSHM 1
7669 _ACEOF
7675 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7676 then
7677 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7678 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7679 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7680 echo $ECHO_N "(cached) $ECHO_C" >&6
7681 else
7682 ac_check_lib_save_LIBS=$LIBS
7683 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7684 cat >conftest.$ac_ext <<_ACEOF
7685 /* confdefs.h. */
7686 _ACEOF
7687 cat confdefs.h >>conftest.$ac_ext
7688 cat >>conftest.$ac_ext <<_ACEOF
7689 /* end confdefs.h. */
7691 /* Override any gcc2 internal prototype to avoid an error. */
7692 #ifdef __cplusplus
7693 extern "C"
7694 #endif
7695 /* We use char because int might match the return type of a gcc2
7696 builtin and then its argument prototype would still apply. */
7697 char XShapeQueryExtension ();
7699 main ()
7701 XShapeQueryExtension ();
7703 return 0;
7705 _ACEOF
7706 rm -f conftest.$ac_objext conftest$ac_exeext
7707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7708 (eval $ac_link) 2>conftest.er1
7709 ac_status=$?
7710 grep -v '^ *+' conftest.er1 >conftest.err
7711 rm -f conftest.er1
7712 cat conftest.err >&5
7713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7714 (exit $ac_status); } &&
7715 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7717 (eval $ac_try) 2>&5
7718 ac_status=$?
7719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7720 (exit $ac_status); }; } &&
7721 { ac_try='test -s conftest$ac_exeext'
7722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7723 (eval $ac_try) 2>&5
7724 ac_status=$?
7725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7726 (exit $ac_status); }; }; then
7727 ac_cv_lib_Xext_XShapeQueryExtension=yes
7728 else
7729 echo "$as_me: failed program was:" >&5
7730 sed 's/^/| /' conftest.$ac_ext >&5
7732 ac_cv_lib_Xext_XShapeQueryExtension=no
7734 rm -f conftest.err conftest.$ac_objext \
7735 conftest$ac_exeext conftest.$ac_ext
7736 LIBS=$ac_check_lib_save_LIBS
7738 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7739 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
7740 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7742 cat >>confdefs.h <<\_ACEOF
7743 #define HAVE_LIBXSHAPE 1
7744 _ACEOF
7750 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
7751 then
7752 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
7753 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7754 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
7755 echo $ECHO_N "(cached) $ECHO_C" >&6
7756 else
7757 ac_check_lib_save_LIBS=$LIBS
7758 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7759 cat >conftest.$ac_ext <<_ACEOF
7760 /* confdefs.h. */
7761 _ACEOF
7762 cat confdefs.h >>conftest.$ac_ext
7763 cat >>conftest.$ac_ext <<_ACEOF
7764 /* end confdefs.h. */
7766 /* Override any gcc2 internal prototype to avoid an error. */
7767 #ifdef __cplusplus
7768 extern "C"
7769 #endif
7770 /* We use char because int might match the return type of a gcc2
7771 builtin and then its argument prototype would still apply. */
7772 char XDGAQueryExtension ();
7774 main ()
7776 XDGAQueryExtension ();
7778 return 0;
7780 _ACEOF
7781 rm -f conftest.$ac_objext conftest$ac_exeext
7782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7783 (eval $ac_link) 2>conftest.er1
7784 ac_status=$?
7785 grep -v '^ *+' conftest.er1 >conftest.err
7786 rm -f conftest.er1
7787 cat conftest.err >&5
7788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7789 (exit $ac_status); } &&
7790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7792 (eval $ac_try) 2>&5
7793 ac_status=$?
7794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7795 (exit $ac_status); }; } &&
7796 { ac_try='test -s conftest$ac_exeext'
7797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7798 (eval $ac_try) 2>&5
7799 ac_status=$?
7800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7801 (exit $ac_status); }; }; then
7802 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
7803 else
7804 echo "$as_me: failed program was:" >&5
7805 sed 's/^/| /' conftest.$ac_ext >&5
7807 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
7809 rm -f conftest.err conftest.$ac_objext \
7810 conftest$ac_exeext conftest.$ac_ext
7811 LIBS=$ac_check_lib_save_LIBS
7813 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
7814 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
7815 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
7817 cat >>confdefs.h <<\_ACEOF
7818 #define HAVE_LIBXXF86DGA2 1
7819 _ACEOF
7821 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7827 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7828 then
7829 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7830 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7831 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7832 echo $ECHO_N "(cached) $ECHO_C" >&6
7833 else
7834 ac_check_lib_save_LIBS=$LIBS
7835 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7836 cat >conftest.$ac_ext <<_ACEOF
7837 /* confdefs.h. */
7838 _ACEOF
7839 cat confdefs.h >>conftest.$ac_ext
7840 cat >>conftest.$ac_ext <<_ACEOF
7841 /* end confdefs.h. */
7843 /* Override any gcc2 internal prototype to avoid an error. */
7844 #ifdef __cplusplus
7845 extern "C"
7846 #endif
7847 /* We use char because int might match the return type of a gcc2
7848 builtin and then its argument prototype would still apply. */
7849 char XF86VidModeQueryExtension ();
7851 main ()
7853 XF86VidModeQueryExtension ();
7855 return 0;
7857 _ACEOF
7858 rm -f conftest.$ac_objext conftest$ac_exeext
7859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7860 (eval $ac_link) 2>conftest.er1
7861 ac_status=$?
7862 grep -v '^ *+' conftest.er1 >conftest.err
7863 rm -f conftest.er1
7864 cat conftest.err >&5
7865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7866 (exit $ac_status); } &&
7867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7869 (eval $ac_try) 2>&5
7870 ac_status=$?
7871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7872 (exit $ac_status); }; } &&
7873 { ac_try='test -s conftest$ac_exeext'
7874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7875 (eval $ac_try) 2>&5
7876 ac_status=$?
7877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7878 (exit $ac_status); }; }; then
7879 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
7880 else
7881 echo "$as_me: failed program was:" >&5
7882 sed 's/^/| /' conftest.$ac_ext >&5
7884 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
7886 rm -f conftest.err conftest.$ac_objext \
7887 conftest$ac_exeext conftest.$ac_ext
7888 LIBS=$ac_check_lib_save_LIBS
7890 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7891 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7892 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
7894 cat >>confdefs.h <<\_ACEOF
7895 #define HAVE_LIBXXF86VM 1
7896 _ACEOF
7898 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
7904 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
7905 then
7906 cat >conftest.$ac_ext <<_ACEOF
7907 /* confdefs.h. */
7908 _ACEOF
7909 cat confdefs.h >>conftest.$ac_ext
7910 cat >>conftest.$ac_ext <<_ACEOF
7911 /* end confdefs.h. */
7912 #include <X11/Xlib.h>
7913 #include <X11/extensions/Xrandr.h>
7915 main ()
7917 static typeof(XRRSetScreenConfigAndRate) * func;
7919 return 0;
7921 _ACEOF
7922 rm -f conftest.$ac_objext
7923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7924 (eval $ac_compile) 2>conftest.er1
7925 ac_status=$?
7926 grep -v '^ *+' conftest.er1 >conftest.err
7927 rm -f conftest.er1
7928 cat conftest.err >&5
7929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7930 (exit $ac_status); } &&
7931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7933 (eval $ac_try) 2>&5
7934 ac_status=$?
7935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7936 (exit $ac_status); }; } &&
7937 { ac_try='test -s conftest.$ac_objext'
7938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7939 (eval $ac_try) 2>&5
7940 ac_status=$?
7941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7942 (exit $ac_status); }; }; then
7944 cat >>confdefs.h <<\_ACEOF
7945 #define HAVE_LIBXRANDR 1
7946 _ACEOF
7948 else
7949 echo "$as_me: failed program was:" >&5
7950 sed 's/^/| /' conftest.$ac_ext >&5
7953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7956 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
7957 then
7958 echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
7959 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6
7960 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
7961 echo $ECHO_N "(cached) $ECHO_C" >&6
7962 else
7963 ac_check_lib_save_LIBS=$LIBS
7964 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7965 cat >conftest.$ac_ext <<_ACEOF
7966 /* confdefs.h. */
7967 _ACEOF
7968 cat confdefs.h >>conftest.$ac_ext
7969 cat >>conftest.$ac_ext <<_ACEOF
7970 /* end confdefs.h. */
7972 /* Override any gcc2 internal prototype to avoid an error. */
7973 #ifdef __cplusplus
7974 extern "C"
7975 #endif
7976 /* We use char because int might match the return type of a gcc2
7977 builtin and then its argument prototype would still apply. */
7978 char XRenderSetPictureTransform ();
7980 main ()
7982 XRenderSetPictureTransform ();
7984 return 0;
7986 _ACEOF
7987 rm -f conftest.$ac_objext conftest$ac_exeext
7988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7989 (eval $ac_link) 2>conftest.er1
7990 ac_status=$?
7991 grep -v '^ *+' conftest.er1 >conftest.err
7992 rm -f conftest.er1
7993 cat conftest.err >&5
7994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7995 (exit $ac_status); } &&
7996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7998 (eval $ac_try) 2>&5
7999 ac_status=$?
8000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8001 (exit $ac_status); }; } &&
8002 { ac_try='test -s conftest$ac_exeext'
8003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8004 (eval $ac_try) 2>&5
8005 ac_status=$?
8006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8007 (exit $ac_status); }; }; then
8008 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8009 else
8010 echo "$as_me: failed program was:" >&5
8011 sed 's/^/| /' conftest.$ac_ext >&5
8013 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8015 rm -f conftest.err conftest.$ac_objext \
8016 conftest$ac_exeext conftest.$ac_ext
8017 LIBS=$ac_check_lib_save_LIBS
8019 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8020 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6
8021 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8023 cat >>confdefs.h <<\_ACEOF
8024 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8025 _ACEOF
8031 if test "x$with_opengl" != "xno"
8032 then
8036 for ac_header in GL/gl.h GL/glx.h GL/glext.h
8038 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8039 echo "$as_me:$LINENO: checking for $ac_header" >&5
8040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8042 echo $ECHO_N "(cached) $ECHO_C" >&6
8043 else
8044 cat >conftest.$ac_ext <<_ACEOF
8045 /* confdefs.h. */
8046 _ACEOF
8047 cat confdefs.h >>conftest.$ac_ext
8048 cat >>conftest.$ac_ext <<_ACEOF
8049 /* end confdefs.h. */
8050 #ifdef HAVE_GL_GLX_H
8051 # include <GL/glx.h>
8052 #endif
8054 #include <$ac_header>
8055 _ACEOF
8056 rm -f conftest.$ac_objext
8057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8058 (eval $ac_compile) 2>conftest.er1
8059 ac_status=$?
8060 grep -v '^ *+' conftest.er1 >conftest.err
8061 rm -f conftest.er1
8062 cat conftest.err >&5
8063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064 (exit $ac_status); } &&
8065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8067 (eval $ac_try) 2>&5
8068 ac_status=$?
8069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8070 (exit $ac_status); }; } &&
8071 { ac_try='test -s conftest.$ac_objext'
8072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8073 (eval $ac_try) 2>&5
8074 ac_status=$?
8075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8076 (exit $ac_status); }; }; then
8077 eval "$as_ac_Header=yes"
8078 else
8079 echo "$as_me: failed program was:" >&5
8080 sed 's/^/| /' conftest.$ac_ext >&5
8082 eval "$as_ac_Header=no"
8084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8088 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8089 cat >>confdefs.h <<_ACEOF
8090 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8091 _ACEOF
8095 done
8097 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8098 then
8099 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8100 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8101 if test "${wine_cv_opengl_version_OK+set}" = set; then
8102 echo $ECHO_N "(cached) $ECHO_C" >&6
8103 else
8104 cat >conftest.$ac_ext <<_ACEOF
8105 /* confdefs.h. */
8106 _ACEOF
8107 cat confdefs.h >>conftest.$ac_ext
8108 cat >>conftest.$ac_ext <<_ACEOF
8109 /* end confdefs.h. */
8110 #include <GL/gl.h>
8112 main ()
8114 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8116 return 0;
8118 _ACEOF
8119 rm -f conftest.$ac_objext
8120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8121 (eval $ac_compile) 2>conftest.er1
8122 ac_status=$?
8123 grep -v '^ *+' conftest.er1 >conftest.err
8124 rm -f conftest.er1
8125 cat conftest.err >&5
8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); } &&
8128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8130 (eval $ac_try) 2>&5
8131 ac_status=$?
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); }; } &&
8134 { ac_try='test -s conftest.$ac_objext'
8135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8136 (eval $ac_try) 2>&5
8137 ac_status=$?
8138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8139 (exit $ac_status); }; }; then
8140 wine_cv_opengl_version_OK="yes"
8141 else
8142 echo "$as_me: failed program was:" >&5
8143 sed 's/^/| /' conftest.$ac_ext >&5
8145 wine_cv_opengl_version_OK="no"
8148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8151 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8152 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8154 if test "$wine_cv_opengl_version_OK" = "yes"
8155 then
8156 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8157 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8158 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8159 echo $ECHO_N "(cached) $ECHO_C" >&6
8160 else
8161 ac_check_lib_save_LIBS=$LIBS
8162 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8163 cat >conftest.$ac_ext <<_ACEOF
8164 /* confdefs.h. */
8165 _ACEOF
8166 cat confdefs.h >>conftest.$ac_ext
8167 cat >>conftest.$ac_ext <<_ACEOF
8168 /* end confdefs.h. */
8170 /* Override any gcc2 internal prototype to avoid an error. */
8171 #ifdef __cplusplus
8172 extern "C"
8173 #endif
8174 /* We use char because int might match the return type of a gcc2
8175 builtin and then its argument prototype would still apply. */
8176 char glXCreateContext ();
8178 main ()
8180 glXCreateContext ();
8182 return 0;
8184 _ACEOF
8185 rm -f conftest.$ac_objext conftest$ac_exeext
8186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8187 (eval $ac_link) 2>conftest.er1
8188 ac_status=$?
8189 grep -v '^ *+' conftest.er1 >conftest.err
8190 rm -f conftest.er1
8191 cat conftest.err >&5
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 (exit $ac_status); } &&
8194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
8200 { ac_try='test -s conftest$ac_exeext'
8201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8202 (eval $ac_try) 2>&5
8203 ac_status=$?
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); }; }; then
8206 ac_cv_lib_GL_glXCreateContext=yes
8207 else
8208 echo "$as_me: failed program was:" >&5
8209 sed 's/^/| /' conftest.$ac_ext >&5
8211 ac_cv_lib_GL_glXCreateContext=no
8213 rm -f conftest.err conftest.$ac_objext \
8214 conftest$ac_exeext conftest.$ac_ext
8215 LIBS=$ac_check_lib_save_LIBS
8217 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8218 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8219 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8220 OPENGL_LIBS="-lGL"
8225 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8226 then
8227 OPENGLFILES='$(OPENGLFILES)'
8229 cat >>confdefs.h <<\_ACEOF
8230 #define HAVE_OPENGL 1
8231 _ACEOF
8233 else
8234 if test -f /usr/X11R6/lib/libGL.a
8235 then
8236 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8237 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8238 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8239 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8240 { (exit 1); exit 1; }; }
8244 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8245 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8246 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8247 echo $ECHO_N "(cached) $ECHO_C" >&6
8248 else
8249 ac_check_lib_save_LIBS=$LIBS
8250 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8251 $LIBS"
8252 cat >conftest.$ac_ext <<_ACEOF
8253 /* confdefs.h. */
8254 _ACEOF
8255 cat confdefs.h >>conftest.$ac_ext
8256 cat >>conftest.$ac_ext <<_ACEOF
8257 /* end confdefs.h. */
8259 /* Override any gcc2 internal prototype to avoid an error. */
8260 #ifdef __cplusplus
8261 extern "C"
8262 #endif
8263 /* We use char because int might match the return type of a gcc2
8264 builtin and then its argument prototype would still apply. */
8265 char gluLookAt ();
8267 main ()
8269 gluLookAt ();
8271 return 0;
8273 _ACEOF
8274 rm -f conftest.$ac_objext conftest$ac_exeext
8275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8276 (eval $ac_link) 2>conftest.er1
8277 ac_status=$?
8278 grep -v '^ *+' conftest.er1 >conftest.err
8279 rm -f conftest.er1
8280 cat conftest.err >&5
8281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8282 (exit $ac_status); } &&
8283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8285 (eval $ac_try) 2>&5
8286 ac_status=$?
8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); }; } &&
8289 { ac_try='test -s conftest$ac_exeext'
8290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8291 (eval $ac_try) 2>&5
8292 ac_status=$?
8293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8294 (exit $ac_status); }; }; then
8295 ac_cv_lib_GLU_gluLookAt=yes
8296 else
8297 echo "$as_me: failed program was:" >&5
8298 sed 's/^/| /' conftest.$ac_ext >&5
8300 ac_cv_lib_GLU_gluLookAt=no
8302 rm -f conftest.err conftest.$ac_objext \
8303 conftest$ac_exeext conftest.$ac_ext
8304 LIBS=$ac_check_lib_save_LIBS
8306 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8307 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8308 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8309 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8310 GLU32FILES='$(GLU32FILES)'
8316 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8317 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8318 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8319 echo $ECHO_N "(cached) $ECHO_C" >&6
8320 else
8321 ac_check_lib_save_LIBS=$LIBS
8322 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8323 cat >conftest.$ac_ext <<_ACEOF
8324 /* confdefs.h. */
8325 _ACEOF
8326 cat confdefs.h >>conftest.$ac_ext
8327 cat >>conftest.$ac_ext <<_ACEOF
8328 /* end confdefs.h. */
8330 /* Override any gcc2 internal prototype to avoid an error. */
8331 #ifdef __cplusplus
8332 extern "C"
8333 #endif
8334 /* We use char because int might match the return type of a gcc2
8335 builtin and then its argument prototype would still apply. */
8336 char glutMainLoop ();
8338 main ()
8340 glutMainLoop ();
8342 return 0;
8344 _ACEOF
8345 rm -f conftest.$ac_objext conftest$ac_exeext
8346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8347 (eval $ac_link) 2>conftest.er1
8348 ac_status=$?
8349 grep -v '^ *+' conftest.er1 >conftest.err
8350 rm -f conftest.er1
8351 cat conftest.err >&5
8352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8353 (exit $ac_status); } &&
8354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8356 (eval $ac_try) 2>&5
8357 ac_status=$?
8358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8359 (exit $ac_status); }; } &&
8360 { ac_try='test -s conftest$ac_exeext'
8361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8362 (eval $ac_try) 2>&5
8363 ac_status=$?
8364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8365 (exit $ac_status); }; }; then
8366 ac_cv_lib_glut_glutMainLoop=yes
8367 else
8368 echo "$as_me: failed program was:" >&5
8369 sed 's/^/| /' conftest.$ac_ext >&5
8371 ac_cv_lib_glut_glutMainLoop=no
8373 rm -f conftest.err conftest.$ac_objext \
8374 conftest$ac_exeext conftest.$ac_ext
8375 LIBS=$ac_check_lib_save_LIBS
8377 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
8378 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
8379 if test $ac_cv_lib_glut_glutMainLoop = yes; then
8380 GLUT_LIBS="-lglut -lXmu -lXi"
8382 GLUT32FILES='$(GLUT32FILES)'
8389 NASLIBS=""
8392 for ac_header in audio/audiolib.h
8394 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8395 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8396 echo "$as_me:$LINENO: checking for $ac_header" >&5
8397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8399 echo $ECHO_N "(cached) $ECHO_C" >&6
8401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8402 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8403 else
8404 # Is the header compilable?
8405 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8406 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8407 cat >conftest.$ac_ext <<_ACEOF
8408 /* confdefs.h. */
8409 _ACEOF
8410 cat confdefs.h >>conftest.$ac_ext
8411 cat >>conftest.$ac_ext <<_ACEOF
8412 /* end confdefs.h. */
8413 $ac_includes_default
8414 #include <$ac_header>
8415 _ACEOF
8416 rm -f conftest.$ac_objext
8417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8418 (eval $ac_compile) 2>conftest.er1
8419 ac_status=$?
8420 grep -v '^ *+' conftest.er1 >conftest.err
8421 rm -f conftest.er1
8422 cat conftest.err >&5
8423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8424 (exit $ac_status); } &&
8425 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8427 (eval $ac_try) 2>&5
8428 ac_status=$?
8429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8430 (exit $ac_status); }; } &&
8431 { ac_try='test -s conftest.$ac_objext'
8432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8433 (eval $ac_try) 2>&5
8434 ac_status=$?
8435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8436 (exit $ac_status); }; }; then
8437 ac_header_compiler=yes
8438 else
8439 echo "$as_me: failed program was:" >&5
8440 sed 's/^/| /' conftest.$ac_ext >&5
8442 ac_header_compiler=no
8444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8446 echo "${ECHO_T}$ac_header_compiler" >&6
8448 # Is the header present?
8449 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8450 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8451 cat >conftest.$ac_ext <<_ACEOF
8452 /* confdefs.h. */
8453 _ACEOF
8454 cat confdefs.h >>conftest.$ac_ext
8455 cat >>conftest.$ac_ext <<_ACEOF
8456 /* end confdefs.h. */
8457 #include <$ac_header>
8458 _ACEOF
8459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8460 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8461 ac_status=$?
8462 grep -v '^ *+' conftest.er1 >conftest.err
8463 rm -f conftest.er1
8464 cat conftest.err >&5
8465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8466 (exit $ac_status); } >/dev/null; then
8467 if test -s conftest.err; then
8468 ac_cpp_err=$ac_c_preproc_warn_flag
8469 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8470 else
8471 ac_cpp_err=
8473 else
8474 ac_cpp_err=yes
8476 if test -z "$ac_cpp_err"; then
8477 ac_header_preproc=yes
8478 else
8479 echo "$as_me: failed program was:" >&5
8480 sed 's/^/| /' conftest.$ac_ext >&5
8482 ac_header_preproc=no
8484 rm -f conftest.err conftest.$ac_ext
8485 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8486 echo "${ECHO_T}$ac_header_preproc" >&6
8488 # So? What about this header?
8489 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8490 yes:no: )
8491 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8492 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8494 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8495 ac_header_preproc=yes
8497 no:yes:* )
8498 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8499 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8500 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8501 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8502 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8503 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8504 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8505 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8507 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8508 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8509 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8511 cat <<\_ASBOX
8512 ## ------------------------------------ ##
8513 ## Report this to wine-devel@winehq.org ##
8514 ## ------------------------------------ ##
8515 _ASBOX
8517 sed "s/^/$as_me: WARNING: /" >&2
8519 esac
8520 echo "$as_me:$LINENO: checking for $ac_header" >&5
8521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8523 echo $ECHO_N "(cached) $ECHO_C" >&6
8524 else
8525 eval "$as_ac_Header=\$ac_header_preproc"
8527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8532 cat >>confdefs.h <<_ACEOF
8533 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8534 _ACEOF
8536 for ac_header in audio/soundlib.h
8538 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8539 echo "$as_me:$LINENO: checking for $ac_header" >&5
8540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8542 echo $ECHO_N "(cached) $ECHO_C" >&6
8543 else
8544 cat >conftest.$ac_ext <<_ACEOF
8545 /* confdefs.h. */
8546 _ACEOF
8547 cat confdefs.h >>conftest.$ac_ext
8548 cat >>conftest.$ac_ext <<_ACEOF
8549 /* end confdefs.h. */
8550 #include <audio/audiolib.h>
8552 #include <$ac_header>
8553 _ACEOF
8554 rm -f conftest.$ac_objext
8555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8556 (eval $ac_compile) 2>conftest.er1
8557 ac_status=$?
8558 grep -v '^ *+' conftest.er1 >conftest.err
8559 rm -f conftest.er1
8560 cat conftest.err >&5
8561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562 (exit $ac_status); } &&
8563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8565 (eval $ac_try) 2>&5
8566 ac_status=$?
8567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8568 (exit $ac_status); }; } &&
8569 { ac_try='test -s conftest.$ac_objext'
8570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8571 (eval $ac_try) 2>&5
8572 ac_status=$?
8573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8574 (exit $ac_status); }; }; then
8575 eval "$as_ac_Header=yes"
8576 else
8577 echo "$as_me: failed program was:" >&5
8578 sed 's/^/| /' conftest.$ac_ext >&5
8580 eval "$as_ac_Header=no"
8582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8586 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8587 cat >>confdefs.h <<_ACEOF
8588 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8589 _ACEOF
8593 done
8595 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8596 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8597 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8598 echo $ECHO_N "(cached) $ECHO_C" >&6
8599 else
8600 ac_check_lib_save_LIBS=$LIBS
8601 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8602 cat >conftest.$ac_ext <<_ACEOF
8603 /* confdefs.h. */
8604 _ACEOF
8605 cat confdefs.h >>conftest.$ac_ext
8606 cat >>conftest.$ac_ext <<_ACEOF
8607 /* end confdefs.h. */
8609 /* Override any gcc2 internal prototype to avoid an error. */
8610 #ifdef __cplusplus
8611 extern "C"
8612 #endif
8613 /* We use char because int might match the return type of a gcc2
8614 builtin and then its argument prototype would still apply. */
8615 char AuCreateFlow ();
8617 main ()
8619 AuCreateFlow ();
8621 return 0;
8623 _ACEOF
8624 rm -f conftest.$ac_objext conftest$ac_exeext
8625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8626 (eval $ac_link) 2>conftest.er1
8627 ac_status=$?
8628 grep -v '^ *+' conftest.er1 >conftest.err
8629 rm -f conftest.er1
8630 cat conftest.err >&5
8631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8632 (exit $ac_status); } &&
8633 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8635 (eval $ac_try) 2>&5
8636 ac_status=$?
8637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638 (exit $ac_status); }; } &&
8639 { ac_try='test -s conftest$ac_exeext'
8640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8641 (eval $ac_try) 2>&5
8642 ac_status=$?
8643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8644 (exit $ac_status); }; }; then
8645 ac_cv_lib_audio_AuCreateFlow=yes
8646 else
8647 echo "$as_me: failed program was:" >&5
8648 sed 's/^/| /' conftest.$ac_ext >&5
8650 ac_cv_lib_audio_AuCreateFlow=no
8652 rm -f conftest.err conftest.$ac_objext \
8653 conftest$ac_exeext conftest.$ac_ext
8654 LIBS=$ac_check_lib_save_LIBS
8656 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8657 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8658 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8660 cat >>confdefs.h <<\_ACEOF
8661 #define HAVE_NAS 1
8662 _ACEOF
8664 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8669 done
8672 CPPFLAGS="$ac_save_CPPFLAGS"
8673 XFILES='$(XFILES)'
8674 else
8675 XLIB=""
8676 X_CFLAGS=""
8677 X_LIBS=""
8681 XML2LIBS=""
8683 XML2INCL=""
8685 ac_save_CPPFLAGS="$CPPFLAGS"
8686 CPPFLAGS="$CPPFLAGS -I/usr/include/libxml2"
8688 for ac_header in libxml/parser.h
8690 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8692 echo "$as_me:$LINENO: checking for $ac_header" >&5
8693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8695 echo $ECHO_N "(cached) $ECHO_C" >&6
8697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8699 else
8700 # Is the header compilable?
8701 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8702 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8703 cat >conftest.$ac_ext <<_ACEOF
8704 /* confdefs.h. */
8705 _ACEOF
8706 cat confdefs.h >>conftest.$ac_ext
8707 cat >>conftest.$ac_ext <<_ACEOF
8708 /* end confdefs.h. */
8709 $ac_includes_default
8710 #include <$ac_header>
8711 _ACEOF
8712 rm -f conftest.$ac_objext
8713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8714 (eval $ac_compile) 2>conftest.er1
8715 ac_status=$?
8716 grep -v '^ *+' conftest.er1 >conftest.err
8717 rm -f conftest.er1
8718 cat conftest.err >&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); } &&
8721 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8723 (eval $ac_try) 2>&5
8724 ac_status=$?
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); }; } &&
8727 { ac_try='test -s conftest.$ac_objext'
8728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8729 (eval $ac_try) 2>&5
8730 ac_status=$?
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); }; }; then
8733 ac_header_compiler=yes
8734 else
8735 echo "$as_me: failed program was:" >&5
8736 sed 's/^/| /' conftest.$ac_ext >&5
8738 ac_header_compiler=no
8740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8741 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8742 echo "${ECHO_T}$ac_header_compiler" >&6
8744 # Is the header present?
8745 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8746 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8747 cat >conftest.$ac_ext <<_ACEOF
8748 /* confdefs.h. */
8749 _ACEOF
8750 cat confdefs.h >>conftest.$ac_ext
8751 cat >>conftest.$ac_ext <<_ACEOF
8752 /* end confdefs.h. */
8753 #include <$ac_header>
8754 _ACEOF
8755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8756 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8757 ac_status=$?
8758 grep -v '^ *+' conftest.er1 >conftest.err
8759 rm -f conftest.er1
8760 cat conftest.err >&5
8761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8762 (exit $ac_status); } >/dev/null; then
8763 if test -s conftest.err; then
8764 ac_cpp_err=$ac_c_preproc_warn_flag
8765 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8766 else
8767 ac_cpp_err=
8769 else
8770 ac_cpp_err=yes
8772 if test -z "$ac_cpp_err"; then
8773 ac_header_preproc=yes
8774 else
8775 echo "$as_me: failed program was:" >&5
8776 sed 's/^/| /' conftest.$ac_ext >&5
8778 ac_header_preproc=no
8780 rm -f conftest.err conftest.$ac_ext
8781 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8782 echo "${ECHO_T}$ac_header_preproc" >&6
8784 # So? What about this header?
8785 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8786 yes:no: )
8787 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8788 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8789 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8790 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8791 ac_header_preproc=yes
8793 no:yes:* )
8794 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8795 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8796 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8797 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8798 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8799 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8800 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8801 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8802 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8803 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8804 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8805 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8807 cat <<\_ASBOX
8808 ## ------------------------------------ ##
8809 ## Report this to wine-devel@winehq.org ##
8810 ## ------------------------------------ ##
8811 _ASBOX
8813 sed "s/^/$as_me: WARNING: /" >&2
8815 esac
8816 echo "$as_me:$LINENO: checking for $ac_header" >&5
8817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8819 echo $ECHO_N "(cached) $ECHO_C" >&6
8820 else
8821 eval "$as_ac_Header=\$ac_header_preproc"
8823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8828 cat >>confdefs.h <<_ACEOF
8829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8830 _ACEOF
8831 echo "$as_me:$LINENO: checking for xmlReadIO in -lxml2" >&5
8832 echo $ECHO_N "checking for xmlReadIO in -lxml2... $ECHO_C" >&6
8833 if test "${ac_cv_lib_xml2_xmlReadIO+set}" = set; then
8834 echo $ECHO_N "(cached) $ECHO_C" >&6
8835 else
8836 ac_check_lib_save_LIBS=$LIBS
8837 LIBS="-lxml2 $LIBS"
8838 cat >conftest.$ac_ext <<_ACEOF
8839 /* confdefs.h. */
8840 _ACEOF
8841 cat confdefs.h >>conftest.$ac_ext
8842 cat >>conftest.$ac_ext <<_ACEOF
8843 /* end confdefs.h. */
8845 /* Override any gcc2 internal prototype to avoid an error. */
8846 #ifdef __cplusplus
8847 extern "C"
8848 #endif
8849 /* We use char because int might match the return type of a gcc2
8850 builtin and then its argument prototype would still apply. */
8851 char xmlReadIO ();
8853 main ()
8855 xmlReadIO ();
8857 return 0;
8859 _ACEOF
8860 rm -f conftest.$ac_objext conftest$ac_exeext
8861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8862 (eval $ac_link) 2>conftest.er1
8863 ac_status=$?
8864 grep -v '^ *+' conftest.er1 >conftest.err
8865 rm -f conftest.er1
8866 cat conftest.err >&5
8867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868 (exit $ac_status); } &&
8869 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8871 (eval $ac_try) 2>&5
8872 ac_status=$?
8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874 (exit $ac_status); }; } &&
8875 { ac_try='test -s conftest$ac_exeext'
8876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8877 (eval $ac_try) 2>&5
8878 ac_status=$?
8879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880 (exit $ac_status); }; }; then
8881 ac_cv_lib_xml2_xmlReadIO=yes
8882 else
8883 echo "$as_me: failed program was:" >&5
8884 sed 's/^/| /' conftest.$ac_ext >&5
8886 ac_cv_lib_xml2_xmlReadIO=no
8888 rm -f conftest.err conftest.$ac_objext \
8889 conftest$ac_exeext conftest.$ac_ext
8890 LIBS=$ac_check_lib_save_LIBS
8892 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadIO" >&5
8893 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadIO" >&6
8894 if test $ac_cv_lib_xml2_xmlReadIO = yes; then
8896 cat >>confdefs.h <<\_ACEOF
8897 #define HAVE_LIBXML2 1
8898 _ACEOF
8900 XML2LIBS="-lxml2"
8901 XML2INCL="-I/usr/include/libxml2"
8906 done
8908 CPPFLAGS="$ac_save_CPPFLAGS"
8910 CURSESLIBS=""
8911 if test "x$with_curses" != "xno"
8912 then
8913 if test "$ac_cv_header_ncurses_h" = "yes"
8914 then
8915 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
8916 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
8917 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
8918 echo $ECHO_N "(cached) $ECHO_C" >&6
8919 else
8920 ac_check_lib_save_LIBS=$LIBS
8921 LIBS="-lncurses $LIBS"
8922 cat >conftest.$ac_ext <<_ACEOF
8923 /* confdefs.h. */
8924 _ACEOF
8925 cat confdefs.h >>conftest.$ac_ext
8926 cat >>conftest.$ac_ext <<_ACEOF
8927 /* end confdefs.h. */
8929 /* Override any gcc2 internal prototype to avoid an error. */
8930 #ifdef __cplusplus
8931 extern "C"
8932 #endif
8933 /* We use char because int might match the return type of a gcc2
8934 builtin and then its argument prototype would still apply. */
8935 char waddch ();
8937 main ()
8939 waddch ();
8941 return 0;
8943 _ACEOF
8944 rm -f conftest.$ac_objext conftest$ac_exeext
8945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8946 (eval $ac_link) 2>conftest.er1
8947 ac_status=$?
8948 grep -v '^ *+' conftest.er1 >conftest.err
8949 rm -f conftest.er1
8950 cat conftest.err >&5
8951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8952 (exit $ac_status); } &&
8953 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8955 (eval $ac_try) 2>&5
8956 ac_status=$?
8957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8958 (exit $ac_status); }; } &&
8959 { ac_try='test -s conftest$ac_exeext'
8960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8961 (eval $ac_try) 2>&5
8962 ac_status=$?
8963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8964 (exit $ac_status); }; }; then
8965 ac_cv_lib_ncurses_waddch=yes
8966 else
8967 echo "$as_me: failed program was:" >&5
8968 sed 's/^/| /' conftest.$ac_ext >&5
8970 ac_cv_lib_ncurses_waddch=no
8972 rm -f conftest.err conftest.$ac_objext \
8973 conftest$ac_exeext conftest.$ac_ext
8974 LIBS=$ac_check_lib_save_LIBS
8976 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
8977 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
8978 if test $ac_cv_lib_ncurses_waddch = yes; then
8980 cat >>confdefs.h <<\_ACEOF
8981 #define HAVE_LIBNCURSES 1
8982 _ACEOF
8984 CURSESLIBS="-lncurses"
8987 elif test "$ac_cv_header_curses_h" = "yes"
8988 then
8989 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
8990 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
8991 if test "${ac_cv_lib_curses_waddch+set}" = set; then
8992 echo $ECHO_N "(cached) $ECHO_C" >&6
8993 else
8994 ac_check_lib_save_LIBS=$LIBS
8995 LIBS="-lcurses $LIBS"
8996 cat >conftest.$ac_ext <<_ACEOF
8997 /* confdefs.h. */
8998 _ACEOF
8999 cat confdefs.h >>conftest.$ac_ext
9000 cat >>conftest.$ac_ext <<_ACEOF
9001 /* end confdefs.h. */
9003 /* Override any gcc2 internal prototype to avoid an error. */
9004 #ifdef __cplusplus
9005 extern "C"
9006 #endif
9007 /* We use char because int might match the return type of a gcc2
9008 builtin and then its argument prototype would still apply. */
9009 char waddch ();
9011 main ()
9013 waddch ();
9015 return 0;
9017 _ACEOF
9018 rm -f conftest.$ac_objext conftest$ac_exeext
9019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9020 (eval $ac_link) 2>conftest.er1
9021 ac_status=$?
9022 grep -v '^ *+' conftest.er1 >conftest.err
9023 rm -f conftest.er1
9024 cat conftest.err >&5
9025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9026 (exit $ac_status); } &&
9027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9029 (eval $ac_try) 2>&5
9030 ac_status=$?
9031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9032 (exit $ac_status); }; } &&
9033 { ac_try='test -s conftest$ac_exeext'
9034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9035 (eval $ac_try) 2>&5
9036 ac_status=$?
9037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9038 (exit $ac_status); }; }; then
9039 ac_cv_lib_curses_waddch=yes
9040 else
9041 echo "$as_me: failed program was:" >&5
9042 sed 's/^/| /' conftest.$ac_ext >&5
9044 ac_cv_lib_curses_waddch=no
9046 rm -f conftest.err conftest.$ac_objext \
9047 conftest$ac_exeext conftest.$ac_ext
9048 LIBS=$ac_check_lib_save_LIBS
9050 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9051 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9052 if test $ac_cv_lib_curses_waddch = yes; then
9054 cat >>confdefs.h <<\_ACEOF
9055 #define HAVE_LIBCURSES 1
9056 _ACEOF
9058 CURSESLIBS="-lcurses"
9065 # Extract the first word of "sane-config", so it can be a program name with args.
9066 set dummy sane-config; ac_word=$2
9067 echo "$as_me:$LINENO: checking for $ac_word" >&5
9068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9069 if test "${ac_cv_prog_sane_devel+set}" = set; then
9070 echo $ECHO_N "(cached) $ECHO_C" >&6
9071 else
9072 if test -n "$sane_devel"; then
9073 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9074 else
9075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9076 for as_dir in $PATH
9078 IFS=$as_save_IFS
9079 test -z "$as_dir" && as_dir=.
9080 for ac_exec_ext in '' $ac_executable_extensions; do
9081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9082 ac_cv_prog_sane_devel="sane-config"
9083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9084 break 2
9086 done
9087 done
9089 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9092 sane_devel=$ac_cv_prog_sane_devel
9093 if test -n "$sane_devel"; then
9094 echo "$as_me:$LINENO: result: $sane_devel" >&5
9095 echo "${ECHO_T}$sane_devel" >&6
9096 else
9097 echo "$as_me:$LINENO: result: no" >&5
9098 echo "${ECHO_T}no" >&6
9101 if test "$sane_devel" = "no"
9102 then
9103 SANELIBS=""
9104 SANEINCL=""
9105 else
9106 SANELIBS="`$sane_devel --libs`"
9107 SANEINCL="`$sane_devel --cflags`"
9108 ac_save_CPPFLAGS="$CPPFLAGS"
9109 ac_save_LIBS="$LIBS"
9110 CPPFLAGS="$CPPFLAGS $SANEINCL"
9111 LIBS="$LIBS $SANELIBS"
9112 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9113 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9114 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9115 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9116 echo $ECHO_N "(cached) $ECHO_C" >&6
9118 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9119 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9120 else
9121 # Is the header compilable?
9122 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9123 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9124 cat >conftest.$ac_ext <<_ACEOF
9125 /* confdefs.h. */
9126 _ACEOF
9127 cat confdefs.h >>conftest.$ac_ext
9128 cat >>conftest.$ac_ext <<_ACEOF
9129 /* end confdefs.h. */
9130 $ac_includes_default
9131 #include <sane/sane.h>
9132 _ACEOF
9133 rm -f conftest.$ac_objext
9134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9135 (eval $ac_compile) 2>conftest.er1
9136 ac_status=$?
9137 grep -v '^ *+' conftest.er1 >conftest.err
9138 rm -f conftest.er1
9139 cat conftest.err >&5
9140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141 (exit $ac_status); } &&
9142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9144 (eval $ac_try) 2>&5
9145 ac_status=$?
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); }; } &&
9148 { ac_try='test -s conftest.$ac_objext'
9149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9150 (eval $ac_try) 2>&5
9151 ac_status=$?
9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153 (exit $ac_status); }; }; then
9154 ac_header_compiler=yes
9155 else
9156 echo "$as_me: failed program was:" >&5
9157 sed 's/^/| /' conftest.$ac_ext >&5
9159 ac_header_compiler=no
9161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9162 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9163 echo "${ECHO_T}$ac_header_compiler" >&6
9165 # Is the header present?
9166 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9167 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9168 cat >conftest.$ac_ext <<_ACEOF
9169 /* confdefs.h. */
9170 _ACEOF
9171 cat confdefs.h >>conftest.$ac_ext
9172 cat >>conftest.$ac_ext <<_ACEOF
9173 /* end confdefs.h. */
9174 #include <sane/sane.h>
9175 _ACEOF
9176 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9177 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9178 ac_status=$?
9179 grep -v '^ *+' conftest.er1 >conftest.err
9180 rm -f conftest.er1
9181 cat conftest.err >&5
9182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9183 (exit $ac_status); } >/dev/null; then
9184 if test -s conftest.err; then
9185 ac_cpp_err=$ac_c_preproc_warn_flag
9186 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9187 else
9188 ac_cpp_err=
9190 else
9191 ac_cpp_err=yes
9193 if test -z "$ac_cpp_err"; then
9194 ac_header_preproc=yes
9195 else
9196 echo "$as_me: failed program was:" >&5
9197 sed 's/^/| /' conftest.$ac_ext >&5
9199 ac_header_preproc=no
9201 rm -f conftest.err conftest.$ac_ext
9202 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9203 echo "${ECHO_T}$ac_header_preproc" >&6
9205 # So? What about this header?
9206 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9207 yes:no: )
9208 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9209 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9210 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9211 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9212 ac_header_preproc=yes
9214 no:yes:* )
9215 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9216 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9217 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9218 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9219 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9220 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9221 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9222 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9223 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9224 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9225 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9226 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9228 cat <<\_ASBOX
9229 ## ------------------------------------ ##
9230 ## Report this to wine-devel@winehq.org ##
9231 ## ------------------------------------ ##
9232 _ASBOX
9234 sed "s/^/$as_me: WARNING: /" >&2
9236 esac
9237 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9238 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9239 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9240 echo $ECHO_N "(cached) $ECHO_C" >&6
9241 else
9242 ac_cv_header_sane_sane_h=$ac_header_preproc
9244 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9245 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9248 if test $ac_cv_header_sane_sane_h = yes; then
9249 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9250 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9251 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9252 echo $ECHO_N "(cached) $ECHO_C" >&6
9253 else
9254 ac_check_lib_save_LIBS=$LIBS
9255 LIBS="-lsane $LIBS"
9256 cat >conftest.$ac_ext <<_ACEOF
9257 /* confdefs.h. */
9258 _ACEOF
9259 cat confdefs.h >>conftest.$ac_ext
9260 cat >>conftest.$ac_ext <<_ACEOF
9261 /* end confdefs.h. */
9263 /* Override any gcc2 internal prototype to avoid an error. */
9264 #ifdef __cplusplus
9265 extern "C"
9266 #endif
9267 /* We use char because int might match the return type of a gcc2
9268 builtin and then its argument prototype would still apply. */
9269 char sane_open ();
9271 main ()
9273 sane_open ();
9275 return 0;
9277 _ACEOF
9278 rm -f conftest.$ac_objext conftest$ac_exeext
9279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9280 (eval $ac_link) 2>conftest.er1
9281 ac_status=$?
9282 grep -v '^ *+' conftest.er1 >conftest.err
9283 rm -f conftest.er1
9284 cat conftest.err >&5
9285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286 (exit $ac_status); } &&
9287 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9289 (eval $ac_try) 2>&5
9290 ac_status=$?
9291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9292 (exit $ac_status); }; } &&
9293 { ac_try='test -s conftest$ac_exeext'
9294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9295 (eval $ac_try) 2>&5
9296 ac_status=$?
9297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9298 (exit $ac_status); }; }; then
9299 ac_cv_lib_sane_sane_open=yes
9300 else
9301 echo "$as_me: failed program was:" >&5
9302 sed 's/^/| /' conftest.$ac_ext >&5
9304 ac_cv_lib_sane_sane_open=no
9306 rm -f conftest.err conftest.$ac_objext \
9307 conftest$ac_exeext conftest.$ac_ext
9308 LIBS=$ac_check_lib_save_LIBS
9310 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9311 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9312 if test $ac_cv_lib_sane_sane_open = yes; then
9314 cat >>confdefs.h <<\_ACEOF
9315 #define HAVE_SANE 1
9316 _ACEOF
9318 else
9319 SANELIBS=""
9320 SANEINCL=""
9323 else
9324 SANELIBS=""
9325 SANEINCL=""
9329 LIBS="$ac_save_LIBS"
9330 CPPFLAGS="$ac_save_CPPFLAGS"
9335 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
9336 then
9337 saved_libs="$LIBS"
9338 ICU_LIB_DIR="${ICU_LIB_DIR-/usr/lib}"
9339 ICUUC_LIB="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
9340 ICUDATA_LIB="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
9341 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
9342 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
9343 LIBS="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9344 cat >conftest.$ac_ext <<_ACEOF
9345 /* confdefs.h. */
9346 _ACEOF
9347 cat confdefs.h >>conftest.$ac_ext
9348 cat >>conftest.$ac_ext <<_ACEOF
9349 /* end confdefs.h. */
9350 #include <unicode/ubidi.h>
9352 main ()
9354 ubidi_open()
9356 return 0;
9358 _ACEOF
9359 rm -f conftest.$ac_objext conftest$ac_exeext
9360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9361 (eval $ac_link) 2>conftest.er1
9362 ac_status=$?
9363 grep -v '^ *+' conftest.er1 >conftest.err
9364 rm -f conftest.er1
9365 cat conftest.err >&5
9366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9367 (exit $ac_status); } &&
9368 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9370 (eval $ac_try) 2>&5
9371 ac_status=$?
9372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373 (exit $ac_status); }; } &&
9374 { ac_try='test -s conftest$ac_exeext'
9375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9376 (eval $ac_try) 2>&5
9377 ac_status=$?
9378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9379 (exit $ac_status); }; }; then
9381 cat >>confdefs.h <<\_ACEOF
9382 #define HAVE_ICU 1
9383 _ACEOF
9385 ICULIBS="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9387 echo "$as_me:$LINENO: result: yes" >&5
9388 echo "${ECHO_T}yes" >&6
9389 else
9390 echo "$as_me: failed program was:" >&5
9391 sed 's/^/| /' conftest.$ac_ext >&5
9393 echo "$as_me:$LINENO: result: no" >&5
9394 echo "${ECHO_T}no" >&6
9396 rm -f conftest.err conftest.$ac_objext \
9397 conftest$ac_exeext conftest.$ac_ext
9398 LIBS="$saved_libs"
9401 LCMSLIBS=""
9403 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
9404 then
9405 echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
9406 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6
9407 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
9408 echo $ECHO_N "(cached) $ECHO_C" >&6
9409 else
9410 ac_check_lib_save_LIBS=$LIBS
9411 LIBS="-llcms $LIBS"
9412 cat >conftest.$ac_ext <<_ACEOF
9413 /* confdefs.h. */
9414 _ACEOF
9415 cat confdefs.h >>conftest.$ac_ext
9416 cat >>conftest.$ac_ext <<_ACEOF
9417 /* end confdefs.h. */
9419 /* Override any gcc2 internal prototype to avoid an error. */
9420 #ifdef __cplusplus
9421 extern "C"
9422 #endif
9423 /* We use char because int might match the return type of a gcc2
9424 builtin and then its argument prototype would still apply. */
9425 char cmsOpenProfileFromFile ();
9427 main ()
9429 cmsOpenProfileFromFile ();
9431 return 0;
9433 _ACEOF
9434 rm -f conftest.$ac_objext conftest$ac_exeext
9435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9436 (eval $ac_link) 2>conftest.er1
9437 ac_status=$?
9438 grep -v '^ *+' conftest.er1 >conftest.err
9439 rm -f conftest.er1
9440 cat conftest.err >&5
9441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9442 (exit $ac_status); } &&
9443 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9445 (eval $ac_try) 2>&5
9446 ac_status=$?
9447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9448 (exit $ac_status); }; } &&
9449 { ac_try='test -s conftest$ac_exeext'
9450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9451 (eval $ac_try) 2>&5
9452 ac_status=$?
9453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9454 (exit $ac_status); }; }; then
9455 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
9456 else
9457 echo "$as_me: failed program was:" >&5
9458 sed 's/^/| /' conftest.$ac_ext >&5
9460 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
9462 rm -f conftest.err conftest.$ac_objext \
9463 conftest$ac_exeext conftest.$ac_ext
9464 LIBS=$ac_check_lib_save_LIBS
9466 echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
9467 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6
9468 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
9470 cat >>confdefs.h <<\_ACEOF
9471 #define HAVE_LCMS 1
9472 _ACEOF
9474 LCMSLIBS="-llcms"
9479 LDAPLIBS=""
9481 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
9482 then
9483 echo "$as_me:$LINENO: checking for ldap_init in -lldap" >&5
9484 echo $ECHO_N "checking for ldap_init in -lldap... $ECHO_C" >&6
9485 if test "${ac_cv_lib_ldap_ldap_init+set}" = set; then
9486 echo $ECHO_N "(cached) $ECHO_C" >&6
9487 else
9488 ac_check_lib_save_LIBS=$LIBS
9489 LIBS="-lldap $LIBS"
9490 cat >conftest.$ac_ext <<_ACEOF
9491 /* confdefs.h. */
9492 _ACEOF
9493 cat confdefs.h >>conftest.$ac_ext
9494 cat >>conftest.$ac_ext <<_ACEOF
9495 /* end confdefs.h. */
9497 /* Override any gcc2 internal prototype to avoid an error. */
9498 #ifdef __cplusplus
9499 extern "C"
9500 #endif
9501 /* We use char because int might match the return type of a gcc2
9502 builtin and then its argument prototype would still apply. */
9503 char ldap_init ();
9505 main ()
9507 ldap_init ();
9509 return 0;
9511 _ACEOF
9512 rm -f conftest.$ac_objext conftest$ac_exeext
9513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9514 (eval $ac_link) 2>conftest.er1
9515 ac_status=$?
9516 grep -v '^ *+' conftest.er1 >conftest.err
9517 rm -f conftest.er1
9518 cat conftest.err >&5
9519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9520 (exit $ac_status); } &&
9521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9523 (eval $ac_try) 2>&5
9524 ac_status=$?
9525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9526 (exit $ac_status); }; } &&
9527 { ac_try='test -s conftest$ac_exeext'
9528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9529 (eval $ac_try) 2>&5
9530 ac_status=$?
9531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532 (exit $ac_status); }; }; then
9533 ac_cv_lib_ldap_ldap_init=yes
9534 else
9535 echo "$as_me: failed program was:" >&5
9536 sed 's/^/| /' conftest.$ac_ext >&5
9538 ac_cv_lib_ldap_ldap_init=no
9540 rm -f conftest.err conftest.$ac_objext \
9541 conftest$ac_exeext conftest.$ac_ext
9542 LIBS=$ac_check_lib_save_LIBS
9544 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_init" >&5
9545 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_init" >&6
9546 if test $ac_cv_lib_ldap_ldap_init = yes; then
9547 echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
9548 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6
9549 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
9550 echo $ECHO_N "(cached) $ECHO_C" >&6
9551 else
9552 ac_check_lib_save_LIBS=$LIBS
9553 LIBS="-llber $LIBS"
9554 cat >conftest.$ac_ext <<_ACEOF
9555 /* confdefs.h. */
9556 _ACEOF
9557 cat confdefs.h >>conftest.$ac_ext
9558 cat >>conftest.$ac_ext <<_ACEOF
9559 /* end confdefs.h. */
9561 /* Override any gcc2 internal prototype to avoid an error. */
9562 #ifdef __cplusplus
9563 extern "C"
9564 #endif
9565 /* We use char because int might match the return type of a gcc2
9566 builtin and then its argument prototype would still apply. */
9567 char ber_init ();
9569 main ()
9571 ber_init ();
9573 return 0;
9575 _ACEOF
9576 rm -f conftest.$ac_objext conftest$ac_exeext
9577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9578 (eval $ac_link) 2>conftest.er1
9579 ac_status=$?
9580 grep -v '^ *+' conftest.er1 >conftest.err
9581 rm -f conftest.er1
9582 cat conftest.err >&5
9583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9584 (exit $ac_status); } &&
9585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9587 (eval $ac_try) 2>&5
9588 ac_status=$?
9589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9590 (exit $ac_status); }; } &&
9591 { ac_try='test -s conftest$ac_exeext'
9592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9593 (eval $ac_try) 2>&5
9594 ac_status=$?
9595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9596 (exit $ac_status); }; }; then
9597 ac_cv_lib_lber_ber_init=yes
9598 else
9599 echo "$as_me: failed program was:" >&5
9600 sed 's/^/| /' conftest.$ac_ext >&5
9602 ac_cv_lib_lber_ber_init=no
9604 rm -f conftest.err conftest.$ac_objext \
9605 conftest$ac_exeext conftest.$ac_ext
9606 LIBS=$ac_check_lib_save_LIBS
9608 echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
9609 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6
9610 if test $ac_cv_lib_lber_ber_init = yes; then
9612 cat >>confdefs.h <<\_ACEOF
9613 #define HAVE_LDAP 1
9614 _ACEOF
9616 LDAPLIBS="-lldap -llber"
9623 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
9624 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
9625 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
9626 echo $ECHO_N "(cached) $ECHO_C" >&6
9627 else
9628 ac_check_lib_save_LIBS=$LIBS
9629 LIBS="-lfreetype $X_LIBS $LIBS"
9630 cat >conftest.$ac_ext <<_ACEOF
9631 /* confdefs.h. */
9632 _ACEOF
9633 cat confdefs.h >>conftest.$ac_ext
9634 cat >>conftest.$ac_ext <<_ACEOF
9635 /* end confdefs.h. */
9637 /* Override any gcc2 internal prototype to avoid an error. */
9638 #ifdef __cplusplus
9639 extern "C"
9640 #endif
9641 /* We use char because int might match the return type of a gcc2
9642 builtin and then its argument prototype would still apply. */
9643 char FT_Init_FreeType ();
9645 main ()
9647 FT_Init_FreeType ();
9649 return 0;
9651 _ACEOF
9652 rm -f conftest.$ac_objext conftest$ac_exeext
9653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9654 (eval $ac_link) 2>conftest.er1
9655 ac_status=$?
9656 grep -v '^ *+' conftest.er1 >conftest.err
9657 rm -f conftest.er1
9658 cat conftest.err >&5
9659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9660 (exit $ac_status); } &&
9661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9663 (eval $ac_try) 2>&5
9664 ac_status=$?
9665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9666 (exit $ac_status); }; } &&
9667 { ac_try='test -s conftest$ac_exeext'
9668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9669 (eval $ac_try) 2>&5
9670 ac_status=$?
9671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9672 (exit $ac_status); }; }; then
9673 ac_cv_lib_freetype_FT_Init_FreeType=yes
9674 else
9675 echo "$as_me: failed program was:" >&5
9676 sed 's/^/| /' conftest.$ac_ext >&5
9678 ac_cv_lib_freetype_FT_Init_FreeType=no
9680 rm -f conftest.err conftest.$ac_objext \
9681 conftest$ac_exeext conftest.$ac_ext
9682 LIBS=$ac_check_lib_save_LIBS
9684 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
9685 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
9686 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
9687 ft_lib=yes
9688 else
9689 ft_lib=no
9692 if test "$ft_lib" = "no"
9693 then
9694 FREETYPELIBS=""
9695 FREETYPEINCL=""
9696 wine_cv_msg_freetype=no
9697 else
9698 # Extract the first word of "freetype-config", so it can be a program name with args.
9699 set dummy freetype-config; ac_word=$2
9700 echo "$as_me:$LINENO: checking for $ac_word" >&5
9701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9702 if test "${ac_cv_prog_ft_devel+set}" = set; then
9703 echo $ECHO_N "(cached) $ECHO_C" >&6
9704 else
9705 if test -n "$ft_devel"; then
9706 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
9707 else
9708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9709 for as_dir in $PATH
9711 IFS=$as_save_IFS
9712 test -z "$as_dir" && as_dir=.
9713 for ac_exec_ext in '' $ac_executable_extensions; do
9714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9715 ac_cv_prog_ft_devel="freetype-config"
9716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9717 break 2
9719 done
9720 done
9722 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
9725 ft_devel=$ac_cv_prog_ft_devel
9726 if test -n "$ft_devel"; then
9727 echo "$as_me:$LINENO: result: $ft_devel" >&5
9728 echo "${ECHO_T}$ft_devel" >&6
9729 else
9730 echo "$as_me:$LINENO: result: no" >&5
9731 echo "${ECHO_T}no" >&6
9734 if test "$ft_devel" = "no"
9735 then
9736 # Extract the first word of "freetype2-config", so it can be a program name with args.
9737 set dummy freetype2-config; ac_word=$2
9738 echo "$as_me:$LINENO: checking for $ac_word" >&5
9739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9740 if test "${ac_cv_prog_ft_devel2+set}" = set; then
9741 echo $ECHO_N "(cached) $ECHO_C" >&6
9742 else
9743 if test -n "$ft_devel2"; then
9744 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
9745 else
9746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9747 for as_dir in $PATH
9749 IFS=$as_save_IFS
9750 test -z "$as_dir" && as_dir=.
9751 for ac_exec_ext in '' $ac_executable_extensions; do
9752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9753 ac_cv_prog_ft_devel2="freetype2-config"
9754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9755 break 2
9757 done
9758 done
9760 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
9763 ft_devel2=$ac_cv_prog_ft_devel2
9764 if test -n "$ft_devel2"; then
9765 echo "$as_me:$LINENO: result: $ft_devel2" >&5
9766 echo "${ECHO_T}$ft_devel2" >&6
9767 else
9768 echo "$as_me:$LINENO: result: no" >&5
9769 echo "${ECHO_T}no" >&6
9772 if test "$ft_devel2" = "freetype2-config"
9773 then
9774 ft_devel=$ft_devel2
9777 if test "$ft_devel" = "no"
9778 then
9779 FREETYPELIBS=""
9780 FREETYPEINCL=""
9781 wine_cv_msg_freetype=yes
9782 else
9783 FREETYPELIBS=`$ft_devel --libs`
9784 FREETYPEINCL=`$ft_devel --cflags`
9785 ac_save_CPPFLAGS="$CPPFLAGS"
9786 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
9797 for ac_header in ft2build.h \
9798 freetype/freetype.h \
9799 freetype/ftglyph.h \
9800 freetype/tttables.h \
9801 freetype/ftnames.h \
9802 freetype/ftsnames.h \
9803 freetype/ttnameid.h \
9804 freetype/ftoutln.h \
9805 freetype/ftwinfnt.h \
9806 freetype/internal/sfnt.h
9808 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9809 echo "$as_me:$LINENO: checking for $ac_header" >&5
9810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9812 echo $ECHO_N "(cached) $ECHO_C" >&6
9813 else
9814 cat >conftest.$ac_ext <<_ACEOF
9815 /* confdefs.h. */
9816 _ACEOF
9817 cat confdefs.h >>conftest.$ac_ext
9818 cat >>conftest.$ac_ext <<_ACEOF
9819 /* end confdefs.h. */
9820 #if HAVE_FT2BUILD_H
9821 #include <ft2build.h>
9822 #endif
9824 #include <$ac_header>
9825 _ACEOF
9826 rm -f conftest.$ac_objext
9827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9828 (eval $ac_compile) 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_objext'
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
9847 eval "$as_ac_Header=yes"
9848 else
9849 echo "$as_me: failed program was:" >&5
9850 sed 's/^/| /' conftest.$ac_ext >&5
9852 eval "$as_ac_Header=no"
9854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9857 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9858 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9859 cat >>confdefs.h <<_ACEOF
9860 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9861 _ACEOF
9865 done
9867 cat >conftest.$ac_ext <<_ACEOF
9868 /* confdefs.h. */
9869 _ACEOF
9870 cat confdefs.h >>conftest.$ac_ext
9871 cat >>conftest.$ac_ext <<_ACEOF
9872 /* end confdefs.h. */
9873 #include <ft2build.h>
9874 #include <freetype/fttrigon.h>
9875 _ACEOF
9876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9877 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9878 ac_status=$?
9879 grep -v '^ *+' conftest.er1 >conftest.err
9880 rm -f conftest.er1
9881 cat conftest.err >&5
9882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9883 (exit $ac_status); } >/dev/null; then
9884 if test -s conftest.err; then
9885 ac_cpp_err=$ac_c_preproc_warn_flag
9886 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9887 else
9888 ac_cpp_err=
9890 else
9891 ac_cpp_err=yes
9893 if test -z "$ac_cpp_err"; then
9895 cat >>confdefs.h <<\_ACEOF
9896 #define HAVE_FREETYPE_FTTRIGON_H 1
9897 _ACEOF
9899 wine_cv_fttrigon=yes
9900 else
9901 echo "$as_me: failed program was:" >&5
9902 sed 's/^/| /' conftest.$ac_ext >&5
9904 wine_cv_fttrigon=no
9906 rm -f conftest.err conftest.$ac_ext
9907 CPPFLAGS="$ac_save_CPPFLAGS"
9908 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
9909 then
9911 cat >>confdefs.h <<\_ACEOF
9912 #define HAVE_FREETYPE 1
9913 _ACEOF
9915 wine_cv_msg_freetype=no
9916 else
9917 FREETYPELIBS=""
9918 FREETYPEINCL=""
9919 wine_cv_msg_freetype=yes
9926 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
9927 then
9928 FONTSSUBDIRS="fonts"
9932 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
9933 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
9934 if test "${ac_cv_c_ppdev+set}" = set; then
9935 echo $ECHO_N "(cached) $ECHO_C" >&6
9936 else
9937 cat >conftest.$ac_ext <<_ACEOF
9938 /* confdefs.h. */
9939 _ACEOF
9940 cat confdefs.h >>conftest.$ac_ext
9941 cat >>conftest.$ac_ext <<_ACEOF
9942 /* end confdefs.h. */
9943 #include <linux/ppdev.h>
9945 main ()
9947 ioctl (1,PPCLAIM,0)
9949 return 0;
9951 _ACEOF
9952 rm -f conftest.$ac_objext
9953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9954 (eval $ac_compile) 2>conftest.er1
9955 ac_status=$?
9956 grep -v '^ *+' conftest.er1 >conftest.err
9957 rm -f conftest.er1
9958 cat conftest.err >&5
9959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960 (exit $ac_status); } &&
9961 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9963 (eval $ac_try) 2>&5
9964 ac_status=$?
9965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9966 (exit $ac_status); }; } &&
9967 { ac_try='test -s conftest.$ac_objext'
9968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9969 (eval $ac_try) 2>&5
9970 ac_status=$?
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); }; }; then
9973 ac_cv_c_ppdev="yes"
9974 else
9975 echo "$as_me: failed program was:" >&5
9976 sed 's/^/| /' conftest.$ac_ext >&5
9978 ac_cv_c_ppdev="no"
9980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9983 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
9984 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
9985 if test "$ac_cv_c_ppdev" = "yes"
9986 then
9988 cat >>confdefs.h <<\_ACEOF
9989 #define HAVE_PPDEV 1
9990 _ACEOF
9994 echo "$as_me:$LINENO: checking for va_copy" >&5
9995 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
9996 if test "${ac_cv_c_va_copy+set}" = set; then
9997 echo $ECHO_N "(cached) $ECHO_C" >&6
9998 else
9999 cat >conftest.$ac_ext <<_ACEOF
10000 /* confdefs.h. */
10001 _ACEOF
10002 cat confdefs.h >>conftest.$ac_ext
10003 cat >>conftest.$ac_ext <<_ACEOF
10004 /* end confdefs.h. */
10005 #include <stdarg.h>
10007 main ()
10009 va_list ap1, ap2;
10010 va_copy(ap1,ap2);
10013 return 0;
10015 _ACEOF
10016 rm -f conftest.$ac_objext conftest$ac_exeext
10017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10018 (eval $ac_link) 2>conftest.er1
10019 ac_status=$?
10020 grep -v '^ *+' conftest.er1 >conftest.err
10021 rm -f conftest.er1
10022 cat conftest.err >&5
10023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024 (exit $ac_status); } &&
10025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10027 (eval $ac_try) 2>&5
10028 ac_status=$?
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); }; } &&
10031 { ac_try='test -s conftest$ac_exeext'
10032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10033 (eval $ac_try) 2>&5
10034 ac_status=$?
10035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10036 (exit $ac_status); }; }; then
10037 ac_cv_c_va_copy="yes"
10038 else
10039 echo "$as_me: failed program was:" >&5
10040 sed 's/^/| /' conftest.$ac_ext >&5
10042 ac_cv_c_va_copy="no"
10044 rm -f conftest.err conftest.$ac_objext \
10045 conftest$ac_exeext conftest.$ac_ext
10048 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10049 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10050 if test "$ac_cv_c_va_copy" = "yes"
10051 then
10053 cat >>confdefs.h <<\_ACEOF
10054 #define HAVE_VA_COPY 1
10055 _ACEOF
10058 echo "$as_me:$LINENO: checking for __va_copy" >&5
10059 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10060 if test "${ac_cv_c___va_copy+set}" = set; then
10061 echo $ECHO_N "(cached) $ECHO_C" >&6
10062 else
10063 cat >conftest.$ac_ext <<_ACEOF
10064 /* confdefs.h. */
10065 _ACEOF
10066 cat confdefs.h >>conftest.$ac_ext
10067 cat >>conftest.$ac_ext <<_ACEOF
10068 /* end confdefs.h. */
10069 #include <stdarg.h>
10071 main ()
10073 va_list ap1, ap2;
10074 __va_copy(ap1,ap2);
10077 return 0;
10079 _ACEOF
10080 rm -f conftest.$ac_objext conftest$ac_exeext
10081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10082 (eval $ac_link) 2>conftest.er1
10083 ac_status=$?
10084 grep -v '^ *+' conftest.er1 >conftest.err
10085 rm -f conftest.er1
10086 cat conftest.err >&5
10087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088 (exit $ac_status); } &&
10089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10091 (eval $ac_try) 2>&5
10092 ac_status=$?
10093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094 (exit $ac_status); }; } &&
10095 { ac_try='test -s conftest$ac_exeext'
10096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10097 (eval $ac_try) 2>&5
10098 ac_status=$?
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); }; }; then
10101 ac_cv_c___va_copy="yes"
10102 else
10103 echo "$as_me: failed program was:" >&5
10104 sed 's/^/| /' conftest.$ac_ext >&5
10106 ac_cv_c___va_copy="no"
10108 rm -f conftest.err conftest.$ac_objext \
10109 conftest$ac_exeext conftest.$ac_ext
10112 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10113 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10114 if test "$ac_cv_c___va_copy" = "yes"
10115 then
10117 cat >>confdefs.h <<\_ACEOF
10118 #define HAVE___VA_COPY 1
10119 _ACEOF
10123 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10124 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10125 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10126 echo $ECHO_N "(cached) $ECHO_C" >&6
10127 else
10128 cat >conftest.$ac_ext <<_ACEOF
10129 /* confdefs.h. */
10130 _ACEOF
10131 cat confdefs.h >>conftest.$ac_ext
10132 cat >>conftest.$ac_ext <<_ACEOF
10133 /* end confdefs.h. */
10134 #include <setjmp.h>
10136 main ()
10138 sigjmp_buf buf;
10139 sigsetjmp( buf, 1 );
10140 siglongjmp( buf, 1 );
10142 return 0;
10144 _ACEOF
10145 rm -f conftest.$ac_objext conftest$ac_exeext
10146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10147 (eval $ac_link) 2>conftest.er1
10148 ac_status=$?
10149 grep -v '^ *+' conftest.er1 >conftest.err
10150 rm -f conftest.er1
10151 cat conftest.err >&5
10152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10153 (exit $ac_status); } &&
10154 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10156 (eval $ac_try) 2>&5
10157 ac_status=$?
10158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10159 (exit $ac_status); }; } &&
10160 { ac_try='test -s conftest$ac_exeext'
10161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10162 (eval $ac_try) 2>&5
10163 ac_status=$?
10164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10165 (exit $ac_status); }; }; then
10166 ac_cv_c_sigsetjmp="yes"
10167 else
10168 echo "$as_me: failed program was:" >&5
10169 sed 's/^/| /' conftest.$ac_ext >&5
10171 ac_cv_c_sigsetjmp="no"
10173 rm -f conftest.err conftest.$ac_objext \
10174 conftest$ac_exeext conftest.$ac_ext
10177 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10178 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10179 if test "$ac_cv_c_sigsetjmp" = "yes"
10180 then
10182 cat >>confdefs.h <<\_ACEOF
10183 #define HAVE_SIGSETJMP 1
10184 _ACEOF
10188 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10189 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10190 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10191 echo $ECHO_N "(cached) $ECHO_C" >&6
10192 else
10193 cat >conftest.$ac_ext <<_ACEOF
10194 /* confdefs.h. */
10195 _ACEOF
10196 cat confdefs.h >>conftest.$ac_ext
10197 cat >>conftest.$ac_ext <<_ACEOF
10198 /* end confdefs.h. */
10199 #define _GNU_SOURCE
10200 #include <pthread.h>
10203 main ()
10205 if ((pthread_rwlock_t *) 0)
10206 return 0;
10207 if (sizeof (pthread_rwlock_t))
10208 return 0;
10210 return 0;
10212 _ACEOF
10213 rm -f conftest.$ac_objext
10214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10215 (eval $ac_compile) 2>conftest.er1
10216 ac_status=$?
10217 grep -v '^ *+' conftest.er1 >conftest.err
10218 rm -f conftest.er1
10219 cat conftest.err >&5
10220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10221 (exit $ac_status); } &&
10222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10224 (eval $ac_try) 2>&5
10225 ac_status=$?
10226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10227 (exit $ac_status); }; } &&
10228 { ac_try='test -s conftest.$ac_objext'
10229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10230 (eval $ac_try) 2>&5
10231 ac_status=$?
10232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10233 (exit $ac_status); }; }; then
10234 ac_cv_type_pthread_rwlock_t=yes
10235 else
10236 echo "$as_me: failed program was:" >&5
10237 sed 's/^/| /' conftest.$ac_ext >&5
10239 ac_cv_type_pthread_rwlock_t=no
10241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10243 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10244 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10245 if test $ac_cv_type_pthread_rwlock_t = yes; then
10247 cat >>confdefs.h <<_ACEOF
10248 #define HAVE_PTHREAD_RWLOCK_T 1
10249 _ACEOF
10253 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
10254 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
10255 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
10256 echo $ECHO_N "(cached) $ECHO_C" >&6
10257 else
10258 cat >conftest.$ac_ext <<_ACEOF
10259 /* confdefs.h. */
10260 _ACEOF
10261 cat confdefs.h >>conftest.$ac_ext
10262 cat >>conftest.$ac_ext <<_ACEOF
10263 /* end confdefs.h. */
10264 #define _GNU_SOURCE
10265 #include <pthread.h>
10268 main ()
10270 if ((pthread_rwlockattr_t *) 0)
10271 return 0;
10272 if (sizeof (pthread_rwlockattr_t))
10273 return 0;
10275 return 0;
10277 _ACEOF
10278 rm -f conftest.$ac_objext
10279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10280 (eval $ac_compile) 2>conftest.er1
10281 ac_status=$?
10282 grep -v '^ *+' conftest.er1 >conftest.err
10283 rm -f conftest.er1
10284 cat conftest.err >&5
10285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10286 (exit $ac_status); } &&
10287 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10289 (eval $ac_try) 2>&5
10290 ac_status=$?
10291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10292 (exit $ac_status); }; } &&
10293 { ac_try='test -s conftest.$ac_objext'
10294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10295 (eval $ac_try) 2>&5
10296 ac_status=$?
10297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10298 (exit $ac_status); }; }; then
10299 ac_cv_type_pthread_rwlockattr_t=yes
10300 else
10301 echo "$as_me: failed program was:" >&5
10302 sed 's/^/| /' conftest.$ac_ext >&5
10304 ac_cv_type_pthread_rwlockattr_t=no
10306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10308 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
10309 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
10310 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
10312 cat >>confdefs.h <<_ACEOF
10313 #define HAVE_PTHREAD_RWLOCKATTR_T 1
10314 _ACEOF
10320 ac_save_LIBS="$LIBS"
10321 LIBS="$LIBS $LIBPTHREAD"
10325 for ac_func in \
10326 pthread_getattr_np \
10327 pthread_get_stackaddr_np \
10328 pthread_get_stacksize_np \
10331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10332 echo "$as_me:$LINENO: checking for $ac_func" >&5
10333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10334 if eval "test \"\${$as_ac_var+set}\" = set"; then
10335 echo $ECHO_N "(cached) $ECHO_C" >&6
10336 else
10337 cat >conftest.$ac_ext <<_ACEOF
10338 /* confdefs.h. */
10339 _ACEOF
10340 cat confdefs.h >>conftest.$ac_ext
10341 cat >>conftest.$ac_ext <<_ACEOF
10342 /* end confdefs.h. */
10343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10345 #define $ac_func innocuous_$ac_func
10347 /* System header to define __stub macros and hopefully few prototypes,
10348 which can conflict with char $ac_func (); below.
10349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10350 <limits.h> exists even on freestanding compilers. */
10352 #ifdef __STDC__
10353 # include <limits.h>
10354 #else
10355 # include <assert.h>
10356 #endif
10358 #undef $ac_func
10360 /* Override any gcc2 internal prototype to avoid an error. */
10361 #ifdef __cplusplus
10362 extern "C"
10364 #endif
10365 /* We use char because int might match the return type of a gcc2
10366 builtin and then its argument prototype would still apply. */
10367 char $ac_func ();
10368 /* The GNU C library defines this for functions which it implements
10369 to always fail with ENOSYS. Some functions are actually named
10370 something starting with __ and the normal name is an alias. */
10371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10372 choke me
10373 #else
10374 char (*f) () = $ac_func;
10375 #endif
10376 #ifdef __cplusplus
10378 #endif
10381 main ()
10383 return f != $ac_func;
10385 return 0;
10387 _ACEOF
10388 rm -f conftest.$ac_objext conftest$ac_exeext
10389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10390 (eval $ac_link) 2>conftest.er1
10391 ac_status=$?
10392 grep -v '^ *+' conftest.er1 >conftest.err
10393 rm -f conftest.er1
10394 cat conftest.err >&5
10395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10396 (exit $ac_status); } &&
10397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10399 (eval $ac_try) 2>&5
10400 ac_status=$?
10401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10402 (exit $ac_status); }; } &&
10403 { ac_try='test -s conftest$ac_exeext'
10404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10405 (eval $ac_try) 2>&5
10406 ac_status=$?
10407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10408 (exit $ac_status); }; }; then
10409 eval "$as_ac_var=yes"
10410 else
10411 echo "$as_me: failed program was:" >&5
10412 sed 's/^/| /' conftest.$ac_ext >&5
10414 eval "$as_ac_var=no"
10416 rm -f conftest.err conftest.$ac_objext \
10417 conftest$ac_exeext conftest.$ac_ext
10419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10421 if test `eval echo '${'$as_ac_var'}'` = yes; then
10422 cat >>confdefs.h <<_ACEOF
10423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10424 _ACEOF
10427 done
10429 LIBS="$ac_save_LIBS"
10431 echo "$as_me:$LINENO: checking for Open Sound System" >&5
10432 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
10433 if test "${ac_cv_c_opensoundsystem+set}" = set; then
10434 echo $ECHO_N "(cached) $ECHO_C" >&6
10435 else
10436 cat >conftest.$ac_ext <<_ACEOF
10437 /* confdefs.h. */
10438 _ACEOF
10439 cat confdefs.h >>conftest.$ac_ext
10440 cat >>conftest.$ac_ext <<_ACEOF
10441 /* end confdefs.h. */
10443 #if defined(HAVE_SYS_SOUNDCARD_H)
10444 #include <sys/soundcard.h>
10445 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10446 #include <machine/soundcard.h>
10447 #elif defined(HAVE_SOUNDCARD_H)
10448 #include <soundcard.h>
10449 #endif
10452 main ()
10456 /* check for one of the Open Sound System specific SNDCTL_ defines */
10457 #if !defined(SNDCTL_DSP_STEREO)
10458 #error No open sound system
10459 #endif
10462 return 0;
10464 _ACEOF
10465 rm -f conftest.$ac_objext
10466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10467 (eval $ac_compile) 2>conftest.er1
10468 ac_status=$?
10469 grep -v '^ *+' conftest.er1 >conftest.err
10470 rm -f conftest.er1
10471 cat conftest.err >&5
10472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473 (exit $ac_status); } &&
10474 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10476 (eval $ac_try) 2>&5
10477 ac_status=$?
10478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10479 (exit $ac_status); }; } &&
10480 { ac_try='test -s conftest.$ac_objext'
10481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10482 (eval $ac_try) 2>&5
10483 ac_status=$?
10484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485 (exit $ac_status); }; }; then
10486 ac_cv_c_opensoundsystem="yes"
10487 else
10488 echo "$as_me: failed program was:" >&5
10489 sed 's/^/| /' conftest.$ac_ext >&5
10491 ac_cv_c_opensoundsystem="no"
10493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10495 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
10496 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
10498 if test "$ac_cv_c_opensoundsystem" = "yes"
10499 then
10501 cat >>confdefs.h <<\_ACEOF
10502 #define HAVE_OSS 1
10503 _ACEOF
10507 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
10508 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
10509 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
10510 echo $ECHO_N "(cached) $ECHO_C" >&6
10511 else
10512 cat >conftest.$ac_ext <<_ACEOF
10513 /* confdefs.h. */
10514 _ACEOF
10515 cat confdefs.h >>conftest.$ac_ext
10516 cat >>conftest.$ac_ext <<_ACEOF
10517 /* end confdefs.h. */
10519 #if defined(HAVE_SYS_SOUNDCARD_H)
10520 #include <sys/soundcard.h>
10521 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10522 #include <machine/soundcard.h>
10523 #elif defined(HAVE_SOUNDCARD_H)
10524 #include <soundcard.h>
10525 #endif
10528 main ()
10532 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
10533 #if !defined(SNDCTL_SEQ_SYNC)
10534 #error No open sound system MIDI interface
10535 #endif
10538 return 0;
10540 _ACEOF
10541 rm -f conftest.$ac_objext
10542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10543 (eval $ac_compile) 2>conftest.er1
10544 ac_status=$?
10545 grep -v '^ *+' conftest.er1 >conftest.err
10546 rm -f conftest.er1
10547 cat conftest.err >&5
10548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10549 (exit $ac_status); } &&
10550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10552 (eval $ac_try) 2>&5
10553 ac_status=$?
10554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10555 (exit $ac_status); }; } &&
10556 { ac_try='test -s conftest.$ac_objext'
10557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10558 (eval $ac_try) 2>&5
10559 ac_status=$?
10560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10561 (exit $ac_status); }; }; then
10562 ac_cv_c_opensoundsystem_midi="yes"
10563 else
10564 echo "$as_me: failed program was:" >&5
10565 sed 's/^/| /' conftest.$ac_ext >&5
10567 ac_cv_c_opensoundsystem_midi="no"
10569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10571 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
10572 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
10574 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
10575 then
10577 cat >>confdefs.h <<\_ACEOF
10578 #define HAVE_OSS_MIDI 1
10579 _ACEOF
10583 # Extract the first word of "artsc-config", so it can be a program name with args.
10584 set dummy artsc-config; ac_word=$2
10585 echo "$as_me:$LINENO: checking for $ac_word" >&5
10586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10587 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
10588 echo $ECHO_N "(cached) $ECHO_C" >&6
10589 else
10590 case $ARTSCCONFIG in
10591 [\\/]* | ?:[\\/]*)
10592 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
10595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10596 for as_dir in $PATH
10598 IFS=$as_save_IFS
10599 test -z "$as_dir" && as_dir=.
10600 for ac_exec_ext in '' $ac_executable_extensions; do
10601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10602 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
10603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10604 break 2
10606 done
10607 done
10610 esac
10612 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
10614 if test -n "$ARTSCCONFIG"; then
10615 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
10616 echo "${ECHO_T}$ARTSCCONFIG" >&6
10617 else
10618 echo "$as_me:$LINENO: result: no" >&5
10619 echo "${ECHO_T}no" >&6
10622 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
10623 then
10624 ARTSC_CFLAGS=""
10625 for i in `$ARTSCCONFIG --cflags`
10627 case "$i" in
10628 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
10629 esac
10630 done
10631 ARTSC_LIBS=`$ARTSCCONFIG --libs`
10632 save_CFLAGS="$CFLAGS"
10633 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
10634 echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
10635 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6
10636 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
10637 echo $ECHO_N "(cached) $ECHO_C" >&6
10638 else
10639 ac_check_lib_save_LIBS=$LIBS
10640 LIBS="-lartsc $ARTSC_LIBS $LIBS"
10641 cat >conftest.$ac_ext <<_ACEOF
10642 /* confdefs.h. */
10643 _ACEOF
10644 cat confdefs.h >>conftest.$ac_ext
10645 cat >>conftest.$ac_ext <<_ACEOF
10646 /* end confdefs.h. */
10648 /* Override any gcc2 internal prototype to avoid an error. */
10649 #ifdef __cplusplus
10650 extern "C"
10651 #endif
10652 /* We use char because int might match the return type of a gcc2
10653 builtin and then its argument prototype would still apply. */
10654 char arts_init ();
10656 main ()
10658 arts_init ();
10660 return 0;
10662 _ACEOF
10663 rm -f conftest.$ac_objext conftest$ac_exeext
10664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10665 (eval $ac_link) 2>conftest.er1
10666 ac_status=$?
10667 grep -v '^ *+' conftest.er1 >conftest.err
10668 rm -f conftest.er1
10669 cat conftest.err >&5
10670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10671 (exit $ac_status); } &&
10672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10674 (eval $ac_try) 2>&5
10675 ac_status=$?
10676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10677 (exit $ac_status); }; } &&
10678 { ac_try='test -s conftest$ac_exeext'
10679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10680 (eval $ac_try) 2>&5
10681 ac_status=$?
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); }; }; then
10684 ac_cv_lib_artsc_arts_init=yes
10685 else
10686 echo "$as_me: failed program was:" >&5
10687 sed 's/^/| /' conftest.$ac_ext >&5
10689 ac_cv_lib_artsc_arts_init=no
10691 rm -f conftest.err conftest.$ac_objext \
10692 conftest$ac_exeext conftest.$ac_ext
10693 LIBS=$ac_check_lib_save_LIBS
10695 echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
10696 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6
10697 if test $ac_cv_lib_artsc_arts_init = yes; then
10698 cat >conftest.$ac_ext <<_ACEOF
10699 /* confdefs.h. */
10700 _ACEOF
10701 cat confdefs.h >>conftest.$ac_ext
10702 cat >>conftest.$ac_ext <<_ACEOF
10703 /* end confdefs.h. */
10704 #include <artsc.h>
10706 main ()
10708 arts_stream_t stream;
10710 return 0;
10712 _ACEOF
10713 rm -f conftest.$ac_objext
10714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10715 (eval $ac_compile) 2>conftest.er1
10716 ac_status=$?
10717 grep -v '^ *+' conftest.er1 >conftest.err
10718 rm -f conftest.er1
10719 cat conftest.err >&5
10720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721 (exit $ac_status); } &&
10722 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10724 (eval $ac_try) 2>&5
10725 ac_status=$?
10726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10727 (exit $ac_status); }; } &&
10728 { ac_try='test -s conftest.$ac_objext'
10729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10730 (eval $ac_try) 2>&5
10731 ac_status=$?
10732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10733 (exit $ac_status); }; }; then
10734 ARTSLIBS=$ARTSC_LIBS
10736 ARTSINCL=$ARTSC_CFLAGS
10739 cat >>confdefs.h <<\_ACEOF
10740 #define HAVE_ARTS 1
10741 _ACEOF
10743 else
10744 echo "$as_me: failed program was:" >&5
10745 sed 's/^/| /' conftest.$ac_ext >&5
10748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10751 CFLAGS="$save_CFLAGS"
10754 # Extract the first word of "esd-config", so it can be a program name with args.
10755 set dummy esd-config; ac_word=$2
10756 echo "$as_me:$LINENO: checking for $ac_word" >&5
10757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10758 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
10759 echo $ECHO_N "(cached) $ECHO_C" >&6
10760 else
10761 case $ESDCONFIG in
10762 [\\/]* | ?:[\\/]*)
10763 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
10766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10767 for as_dir in $PATH
10769 IFS=$as_save_IFS
10770 test -z "$as_dir" && as_dir=.
10771 for ac_exec_ext in '' $ac_executable_extensions; do
10772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10773 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
10774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10775 break 2
10777 done
10778 done
10781 esac
10783 ESDCONFIG=$ac_cv_path_ESDCONFIG
10785 if test -n "$ESDCONFIG"; then
10786 echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
10787 echo "${ECHO_T}$ESDCONFIG" >&6
10788 else
10789 echo "$as_me:$LINENO: result: no" >&5
10790 echo "${ECHO_T}no" >&6
10793 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
10794 then
10795 ESD_CFLAGS=""
10796 for i in `$ESDCONFIG --cflags`
10798 case "$i" in
10799 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
10800 esac
10801 done
10802 ESD_LIBS=`$ESDCONFIG --libs`
10803 save_CFLAGS="$CFLAGS"
10804 CFLAGS="$CFLAGS $ESD_CFLAGS"
10805 echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
10806 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6
10807 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
10808 echo $ECHO_N "(cached) $ECHO_C" >&6
10809 else
10810 ac_check_lib_save_LIBS=$LIBS
10811 LIBS="-lesd $LIBS"
10812 cat >conftest.$ac_ext <<_ACEOF
10813 /* confdefs.h. */
10814 _ACEOF
10815 cat confdefs.h >>conftest.$ac_ext
10816 cat >>conftest.$ac_ext <<_ACEOF
10817 /* end confdefs.h. */
10819 /* Override any gcc2 internal prototype to avoid an error. */
10820 #ifdef __cplusplus
10821 extern "C"
10822 #endif
10823 /* We use char because int might match the return type of a gcc2
10824 builtin and then its argument prototype would still apply. */
10825 char esd_open_sound ();
10827 main ()
10829 esd_open_sound ();
10831 return 0;
10833 _ACEOF
10834 rm -f conftest.$ac_objext conftest$ac_exeext
10835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10836 (eval $ac_link) 2>conftest.er1
10837 ac_status=$?
10838 grep -v '^ *+' conftest.er1 >conftest.err
10839 rm -f conftest.er1
10840 cat conftest.err >&5
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); } &&
10843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10845 (eval $ac_try) 2>&5
10846 ac_status=$?
10847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10848 (exit $ac_status); }; } &&
10849 { ac_try='test -s conftest$ac_exeext'
10850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10851 (eval $ac_try) 2>&5
10852 ac_status=$?
10853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10854 (exit $ac_status); }; }; then
10855 ac_cv_lib_esd_esd_open_sound=yes
10856 else
10857 echo "$as_me: failed program was:" >&5
10858 sed 's/^/| /' conftest.$ac_ext >&5
10860 ac_cv_lib_esd_esd_open_sound=no
10862 rm -f conftest.err conftest.$ac_objext \
10863 conftest$ac_exeext conftest.$ac_ext
10864 LIBS=$ac_check_lib_save_LIBS
10866 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
10867 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6
10868 if test $ac_cv_lib_esd_esd_open_sound = yes; then
10869 ESDLIBS=$ESD_LIBS
10871 ESDINCL=$ESD_CFLAGS
10874 cat >>confdefs.h <<\_ACEOF
10875 #define HAVE_ESD 1
10876 _ACEOF
10880 CFLAGS="$save_CFLAGS"
10883 ALSALIBS=""
10885 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10886 then
10887 echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
10888 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6
10889 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
10890 echo $ECHO_N "(cached) $ECHO_C" >&6
10891 else
10892 ac_check_lib_save_LIBS=$LIBS
10893 LIBS="-lasound $LIBS"
10894 cat >conftest.$ac_ext <<_ACEOF
10895 /* confdefs.h. */
10896 _ACEOF
10897 cat confdefs.h >>conftest.$ac_ext
10898 cat >>conftest.$ac_ext <<_ACEOF
10899 /* end confdefs.h. */
10901 /* Override any gcc2 internal prototype to avoid an error. */
10902 #ifdef __cplusplus
10903 extern "C"
10904 #endif
10905 /* We use char because int might match the return type of a gcc2
10906 builtin and then its argument prototype would still apply. */
10907 char snd_pcm_hw_params_get_access ();
10909 main ()
10911 snd_pcm_hw_params_get_access ();
10913 return 0;
10915 _ACEOF
10916 rm -f conftest.$ac_objext conftest$ac_exeext
10917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10918 (eval $ac_link) 2>conftest.er1
10919 ac_status=$?
10920 grep -v '^ *+' conftest.er1 >conftest.err
10921 rm -f conftest.er1
10922 cat conftest.err >&5
10923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10924 (exit $ac_status); } &&
10925 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10927 (eval $ac_try) 2>&5
10928 ac_status=$?
10929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10930 (exit $ac_status); }; } &&
10931 { ac_try='test -s conftest$ac_exeext'
10932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10933 (eval $ac_try) 2>&5
10934 ac_status=$?
10935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10936 (exit $ac_status); }; }; then
10937 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
10938 else
10939 echo "$as_me: failed program was:" >&5
10940 sed 's/^/| /' conftest.$ac_ext >&5
10942 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
10944 rm -f conftest.err conftest.$ac_objext \
10945 conftest$ac_exeext conftest.$ac_ext
10946 LIBS=$ac_check_lib_save_LIBS
10948 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
10949 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6
10950 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
10951 cat >conftest.$ac_ext <<_ACEOF
10952 /* confdefs.h. */
10953 _ACEOF
10954 cat confdefs.h >>conftest.$ac_ext
10955 cat >>conftest.$ac_ext <<_ACEOF
10956 /* end confdefs.h. */
10957 #ifdef HAVE_ALSA_ASOUNDLIB_H
10958 #include <alsa/asoundlib.h>
10959 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10960 #include <sys/asoundlib.h>
10961 #endif
10963 main ()
10965 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
10967 return 0;
10969 _ACEOF
10970 rm -f conftest.$ac_objext
10971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10972 (eval $ac_compile) 2>conftest.er1
10973 ac_status=$?
10974 grep -v '^ *+' conftest.er1 >conftest.err
10975 rm -f conftest.er1
10976 cat conftest.err >&5
10977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978 (exit $ac_status); } &&
10979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10981 (eval $ac_try) 2>&5
10982 ac_status=$?
10983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10984 (exit $ac_status); }; } &&
10985 { ac_try='test -s conftest.$ac_objext'
10986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10987 (eval $ac_try) 2>&5
10988 ac_status=$?
10989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10990 (exit $ac_status); }; }; then
10992 cat >>confdefs.h <<\_ACEOF
10993 #define HAVE_ALSA 1
10994 _ACEOF
10996 ALSALIBS="-lasound"
10997 else
10998 echo "$as_me: failed program was:" >&5
10999 sed 's/^/| /' conftest.$ac_ext >&5
11002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11008 AUDIOIOLIBS=""
11010 if test "$ac_cv_header_libaudioio_h" = "yes"
11011 then
11012 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
11013 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
11014 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
11015 echo $ECHO_N "(cached) $ECHO_C" >&6
11016 else
11017 ac_check_lib_save_LIBS=$LIBS
11018 LIBS="-laudioio $LIBS"
11019 cat >conftest.$ac_ext <<_ACEOF
11020 /* confdefs.h. */
11021 _ACEOF
11022 cat confdefs.h >>conftest.$ac_ext
11023 cat >>conftest.$ac_ext <<_ACEOF
11024 /* end confdefs.h. */
11026 /* Override any gcc2 internal prototype to avoid an error. */
11027 #ifdef __cplusplus
11028 extern "C"
11029 #endif
11030 /* We use char because int might match the return type of a gcc2
11031 builtin and then its argument prototype would still apply. */
11032 char AudioIOGetVersion ();
11034 main ()
11036 AudioIOGetVersion ();
11038 return 0;
11040 _ACEOF
11041 rm -f conftest.$ac_objext conftest$ac_exeext
11042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11043 (eval $ac_link) 2>conftest.er1
11044 ac_status=$?
11045 grep -v '^ *+' conftest.er1 >conftest.err
11046 rm -f conftest.er1
11047 cat conftest.err >&5
11048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11049 (exit $ac_status); } &&
11050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11052 (eval $ac_try) 2>&5
11053 ac_status=$?
11054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055 (exit $ac_status); }; } &&
11056 { ac_try='test -s conftest$ac_exeext'
11057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11058 (eval $ac_try) 2>&5
11059 ac_status=$?
11060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 (exit $ac_status); }; }; then
11062 ac_cv_lib_audioio_AudioIOGetVersion=yes
11063 else
11064 echo "$as_me: failed program was:" >&5
11065 sed 's/^/| /' conftest.$ac_ext >&5
11067 ac_cv_lib_audioio_AudioIOGetVersion=no
11069 rm -f conftest.err conftest.$ac_objext \
11070 conftest$ac_exeext conftest.$ac_ext
11071 LIBS=$ac_check_lib_save_LIBS
11073 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
11074 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
11075 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
11076 AUDIOIOLIBS="-laudioio"
11078 cat >>confdefs.h <<\_ACEOF
11079 #define HAVE_LIBAUDIOIO 1
11080 _ACEOF
11087 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11088 then
11089 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
11090 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
11091 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
11092 echo $ECHO_N "(cached) $ECHO_C" >&6
11093 else
11094 ac_check_lib_save_LIBS=$LIBS
11095 LIBS="-lcapi20 $LIBS"
11096 cat >conftest.$ac_ext <<_ACEOF
11097 /* confdefs.h. */
11098 _ACEOF
11099 cat confdefs.h >>conftest.$ac_ext
11100 cat >>conftest.$ac_ext <<_ACEOF
11101 /* end confdefs.h. */
11103 /* Override any gcc2 internal prototype to avoid an error. */
11104 #ifdef __cplusplus
11105 extern "C"
11106 #endif
11107 /* We use char because int might match the return type of a gcc2
11108 builtin and then its argument prototype would still apply. */
11109 char capi20_register ();
11111 main ()
11113 capi20_register ();
11115 return 0;
11117 _ACEOF
11118 rm -f conftest.$ac_objext conftest$ac_exeext
11119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11120 (eval $ac_link) 2>conftest.er1
11121 ac_status=$?
11122 grep -v '^ *+' conftest.er1 >conftest.err
11123 rm -f conftest.er1
11124 cat conftest.err >&5
11125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11126 (exit $ac_status); } &&
11127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11129 (eval $ac_try) 2>&5
11130 ac_status=$?
11131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11132 (exit $ac_status); }; } &&
11133 { ac_try='test -s conftest$ac_exeext'
11134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11135 (eval $ac_try) 2>&5
11136 ac_status=$?
11137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11138 (exit $ac_status); }; }; then
11139 ac_cv_lib_capi20_capi20_register=yes
11140 else
11141 echo "$as_me: failed program was:" >&5
11142 sed 's/^/| /' conftest.$ac_ext >&5
11144 ac_cv_lib_capi20_capi20_register=no
11146 rm -f conftest.err conftest.$ac_objext \
11147 conftest$ac_exeext conftest.$ac_ext
11148 LIBS=$ac_check_lib_save_LIBS
11150 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
11151 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
11152 if test $ac_cv_lib_capi20_capi20_register = yes; then
11154 cat >>confdefs.h <<\_ACEOF
11155 #define HAVE_CAPI4LINUX 1
11156 _ACEOF
11163 EXTRACFLAGS=""
11165 if test "x${GCC}" = "xyes"
11166 then
11167 EXTRACFLAGS="-Wall -pipe"
11169 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
11170 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
11171 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
11172 echo $ECHO_N "(cached) $ECHO_C" >&6
11173 else
11174 if test "$cross_compiling" = yes; then
11175 ac_cv_c_gcc_strength_bug="yes"
11176 else
11177 cat >conftest.$ac_ext <<_ACEOF
11178 /* confdefs.h. */
11179 _ACEOF
11180 cat confdefs.h >>conftest.$ac_ext
11181 cat >>conftest.$ac_ext <<_ACEOF
11182 /* end confdefs.h. */
11184 int L[4] = {0,1,2,3};
11185 int main(void) {
11186 static int Array[3];
11187 unsigned int B = 3;
11188 int i;
11189 for(i=0; i<B; i++) Array[i] = i - 3;
11190 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
11191 L[i] = 4;
11193 exit( Array[1] != -2 || L[2] != 3);
11195 _ACEOF
11196 rm -f conftest$ac_exeext
11197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11198 (eval $ac_link) 2>&5
11199 ac_status=$?
11200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11201 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11203 (eval $ac_try) 2>&5
11204 ac_status=$?
11205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11206 (exit $ac_status); }; }; then
11207 ac_cv_c_gcc_strength_bug="no"
11208 else
11209 echo "$as_me: program exited with status $ac_status" >&5
11210 echo "$as_me: failed program was:" >&5
11211 sed 's/^/| /' conftest.$ac_ext >&5
11213 ( exit $ac_status )
11214 ac_cv_c_gcc_strength_bug="yes"
11216 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11219 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
11220 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
11221 if test "$ac_cv_c_gcc_strength_bug" = "yes"
11222 then
11223 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
11226 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
11227 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
11228 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
11229 echo $ECHO_N "(cached) $ECHO_C" >&6
11230 else
11231 ac_wine_try_cflags_saved=$CFLAGS
11232 CFLAGS="$CFLAGS -fshort-wchar"
11233 cat >conftest.$ac_ext <<_ACEOF
11234 /* confdefs.h. */
11235 _ACEOF
11236 cat confdefs.h >>conftest.$ac_ext
11237 cat >>conftest.$ac_ext <<_ACEOF
11238 /* end confdefs.h. */
11241 main ()
11245 return 0;
11247 _ACEOF
11248 rm -f conftest.$ac_objext conftest$ac_exeext
11249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11250 (eval $ac_link) 2>conftest.er1
11251 ac_status=$?
11252 grep -v '^ *+' conftest.er1 >conftest.err
11253 rm -f conftest.er1
11254 cat conftest.err >&5
11255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11256 (exit $ac_status); } &&
11257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11259 (eval $ac_try) 2>&5
11260 ac_status=$?
11261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11262 (exit $ac_status); }; } &&
11263 { ac_try='test -s conftest$ac_exeext'
11264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11265 (eval $ac_try) 2>&5
11266 ac_status=$?
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); }; }; then
11269 ac_cv_c_gcc_fshort_wchar="yes"
11270 else
11271 echo "$as_me: failed program was:" >&5
11272 sed 's/^/| /' conftest.$ac_ext >&5
11274 ac_cv_c_gcc_fshort_wchar="no"
11276 rm -f conftest.err conftest.$ac_objext \
11277 conftest$ac_exeext conftest.$ac_ext
11278 CFLAGS=$ac_wine_try_cflags_saved
11280 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
11281 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
11282 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
11283 then
11285 cat >>confdefs.h <<\_ACEOF
11286 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
11287 _ACEOF
11291 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
11292 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
11293 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
11294 echo $ECHO_N "(cached) $ECHO_C" >&6
11295 else
11296 ac_wine_try_cflags_saved=$CFLAGS
11297 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
11298 cat >conftest.$ac_ext <<_ACEOF
11299 /* confdefs.h. */
11300 _ACEOF
11301 cat confdefs.h >>conftest.$ac_ext
11302 cat >>conftest.$ac_ext <<_ACEOF
11303 /* end confdefs.h. */
11306 main ()
11310 return 0;
11312 _ACEOF
11313 rm -f conftest.$ac_objext conftest$ac_exeext
11314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11315 (eval $ac_link) 2>conftest.er1
11316 ac_status=$?
11317 grep -v '^ *+' conftest.er1 >conftest.err
11318 rm -f conftest.er1
11319 cat conftest.err >&5
11320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11321 (exit $ac_status); } &&
11322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11324 (eval $ac_try) 2>&5
11325 ac_status=$?
11326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11327 (exit $ac_status); }; } &&
11328 { ac_try='test -s conftest$ac_exeext'
11329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11330 (eval $ac_try) 2>&5
11331 ac_status=$?
11332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11333 (exit $ac_status); }; }; then
11334 ac_cv_c_gcc_stack_boundary="yes"
11335 else
11336 echo "$as_me: failed program was:" >&5
11337 sed 's/^/| /' conftest.$ac_ext >&5
11339 ac_cv_c_gcc_stack_boundary="no"
11341 rm -f conftest.err conftest.$ac_objext \
11342 conftest$ac_exeext conftest.$ac_ext
11343 CFLAGS=$ac_wine_try_cflags_saved
11345 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
11346 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
11347 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
11348 then
11349 EXTRACFLAGS="$EXTRACFLAGS -mpreferred-stack-boundary=2"
11352 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
11353 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
11354 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
11355 echo $ECHO_N "(cached) $ECHO_C" >&6
11356 else
11357 ac_wine_try_cflags_saved=$CFLAGS
11358 CFLAGS="$CFLAGS -fno-strict-aliasing"
11359 cat >conftest.$ac_ext <<_ACEOF
11360 /* confdefs.h. */
11361 _ACEOF
11362 cat confdefs.h >>conftest.$ac_ext
11363 cat >>conftest.$ac_ext <<_ACEOF
11364 /* end confdefs.h. */
11367 main ()
11371 return 0;
11373 _ACEOF
11374 rm -f conftest.$ac_objext conftest$ac_exeext
11375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11376 (eval $ac_link) 2>conftest.er1
11377 ac_status=$?
11378 grep -v '^ *+' conftest.er1 >conftest.err
11379 rm -f conftest.er1
11380 cat conftest.err >&5
11381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11382 (exit $ac_status); } &&
11383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11385 (eval $ac_try) 2>&5
11386 ac_status=$?
11387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11388 (exit $ac_status); }; } &&
11389 { ac_try='test -s conftest$ac_exeext'
11390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11391 (eval $ac_try) 2>&5
11392 ac_status=$?
11393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11394 (exit $ac_status); }; }; then
11395 ac_cv_c_gcc_no_strict_aliasing="yes"
11396 else
11397 echo "$as_me: failed program was:" >&5
11398 sed 's/^/| /' conftest.$ac_ext >&5
11400 ac_cv_c_gcc_no_strict_aliasing="no"
11402 rm -f conftest.err conftest.$ac_objext \
11403 conftest$ac_exeext conftest.$ac_ext
11404 CFLAGS=$ac_wine_try_cflags_saved
11406 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
11407 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
11408 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
11409 then
11410 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
11413 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
11414 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
11415 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
11416 echo $ECHO_N "(cached) $ECHO_C" >&6
11417 else
11418 ac_wine_try_cflags_saved=$CFLAGS
11419 CFLAGS="$CFLAGS -gstabs+"
11420 cat >conftest.$ac_ext <<_ACEOF
11421 /* confdefs.h. */
11422 _ACEOF
11423 cat confdefs.h >>conftest.$ac_ext
11424 cat >>conftest.$ac_ext <<_ACEOF
11425 /* end confdefs.h. */
11428 main ()
11432 return 0;
11434 _ACEOF
11435 rm -f conftest.$ac_objext conftest$ac_exeext
11436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11437 (eval $ac_link) 2>conftest.er1
11438 ac_status=$?
11439 grep -v '^ *+' conftest.er1 >conftest.err
11440 rm -f conftest.er1
11441 cat conftest.err >&5
11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 (exit $ac_status); } &&
11444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11446 (eval $ac_try) 2>&5
11447 ac_status=$?
11448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449 (exit $ac_status); }; } &&
11450 { ac_try='test -s conftest$ac_exeext'
11451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11452 (eval $ac_try) 2>&5
11453 ac_status=$?
11454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11455 (exit $ac_status); }; }; then
11456 ac_cv_c_gcc_gstabs="yes"
11457 else
11458 echo "$as_me: failed program was:" >&5
11459 sed 's/^/| /' conftest.$ac_ext >&5
11461 ac_cv_c_gcc_gstabs="no"
11463 rm -f conftest.err conftest.$ac_objext \
11464 conftest$ac_exeext conftest.$ac_ext
11465 CFLAGS=$ac_wine_try_cflags_saved
11467 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
11468 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
11469 if test "$ac_cv_c_gcc_gstabs" = "yes"
11470 then
11471 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
11474 saved_CFLAGS="$CFLAGS"
11475 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
11476 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
11477 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
11478 if test "${ac_cv_c_string_h_warnings+set}" = set; then
11479 echo $ECHO_N "(cached) $ECHO_C" >&6
11480 else
11481 cat >conftest.$ac_ext <<_ACEOF
11482 /* confdefs.h. */
11483 _ACEOF
11484 cat confdefs.h >>conftest.$ac_ext
11485 cat >>conftest.$ac_ext <<_ACEOF
11486 /* end confdefs.h. */
11487 #include <string.h>
11489 main ()
11493 return 0;
11495 _ACEOF
11496 rm -f conftest.$ac_objext
11497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11498 (eval $ac_compile) 2>conftest.er1
11499 ac_status=$?
11500 grep -v '^ *+' conftest.er1 >conftest.err
11501 rm -f conftest.er1
11502 cat conftest.err >&5
11503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11504 (exit $ac_status); } &&
11505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11507 (eval $ac_try) 2>&5
11508 ac_status=$?
11509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11510 (exit $ac_status); }; } &&
11511 { ac_try='test -s conftest.$ac_objext'
11512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11513 (eval $ac_try) 2>&5
11514 ac_status=$?
11515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11516 (exit $ac_status); }; }; then
11517 ac_cv_c_string_h_warnings=no
11518 else
11519 echo "$as_me: failed program was:" >&5
11520 sed 's/^/| /' conftest.$ac_ext >&5
11522 ac_cv_c_string_h_warnings=yes
11524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11526 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
11527 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
11528 CFLAGS="$saved_CFLAGS"
11529 if test "$ac_cv_c_string_h_warnings" = "no"
11530 then
11531 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
11536 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
11537 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
11538 if test "${ac_cv_asm_func_def+set}" = set; then
11539 echo $ECHO_N "(cached) $ECHO_C" >&6
11540 else
11541 cat >conftest.$ac_ext <<_ACEOF
11542 /* confdefs.h. */
11543 _ACEOF
11544 cat confdefs.h >>conftest.$ac_ext
11545 cat >>conftest.$ac_ext <<_ACEOF
11546 /* end confdefs.h. */
11547 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"); }
11550 main ()
11554 return 0;
11556 _ACEOF
11557 rm -f conftest.$ac_objext conftest$ac_exeext
11558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11559 (eval $ac_link) 2>conftest.er1
11560 ac_status=$?
11561 grep -v '^ *+' conftest.er1 >conftest.err
11562 rm -f conftest.er1
11563 cat conftest.err >&5
11564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11565 (exit $ac_status); } &&
11566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11568 (eval $ac_try) 2>&5
11569 ac_status=$?
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); }; } &&
11572 { ac_try='test -s conftest$ac_exeext'
11573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11574 (eval $ac_try) 2>&5
11575 ac_status=$?
11576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11577 (exit $ac_status); }; }; then
11578 ac_cv_asm_func_def=".def"
11579 else
11580 echo "$as_me: failed program was:" >&5
11581 sed 's/^/| /' conftest.$ac_ext >&5
11583 cat >conftest.$ac_ext <<_ACEOF
11584 /* confdefs.h. */
11585 _ACEOF
11586 cat confdefs.h >>conftest.$ac_ext
11587 cat >>conftest.$ac_ext <<_ACEOF
11588 /* end confdefs.h. */
11589 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
11592 main ()
11596 return 0;
11598 _ACEOF
11599 rm -f conftest.$ac_objext conftest$ac_exeext
11600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11601 (eval $ac_link) 2>conftest.er1
11602 ac_status=$?
11603 grep -v '^ *+' conftest.er1 >conftest.err
11604 rm -f conftest.er1
11605 cat conftest.err >&5
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); } &&
11608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11610 (eval $ac_try) 2>&5
11611 ac_status=$?
11612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11613 (exit $ac_status); }; } &&
11614 { ac_try='test -s conftest$ac_exeext'
11615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11616 (eval $ac_try) 2>&5
11617 ac_status=$?
11618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11619 (exit $ac_status); }; }; then
11620 ac_cv_asm_func_def=".type @function"
11621 else
11622 echo "$as_me: failed program was:" >&5
11623 sed 's/^/| /' conftest.$ac_ext >&5
11625 cat >conftest.$ac_ext <<_ACEOF
11626 /* confdefs.h. */
11627 _ACEOF
11628 cat confdefs.h >>conftest.$ac_ext
11629 cat >>conftest.$ac_ext <<_ACEOF
11630 /* end confdefs.h. */
11631 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
11634 main ()
11638 return 0;
11640 _ACEOF
11641 rm -f conftest.$ac_objext conftest$ac_exeext
11642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11643 (eval $ac_link) 2>conftest.er1
11644 ac_status=$?
11645 grep -v '^ *+' conftest.er1 >conftest.err
11646 rm -f conftest.er1
11647 cat conftest.err >&5
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); } &&
11650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11652 (eval $ac_try) 2>&5
11653 ac_status=$?
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); }; } &&
11656 { ac_try='test -s conftest$ac_exeext'
11657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11658 (eval $ac_try) 2>&5
11659 ac_status=$?
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); }; }; then
11662 ac_cv_asm_func_def=".type 2"
11663 else
11664 echo "$as_me: failed program was:" >&5
11665 sed 's/^/| /' conftest.$ac_ext >&5
11667 ac_cv_asm_func_def="unknown"
11669 rm -f conftest.err conftest.$ac_objext \
11670 conftest$ac_exeext conftest.$ac_ext
11672 rm -f conftest.err conftest.$ac_objext \
11673 conftest$ac_exeext conftest.$ac_ext
11675 rm -f conftest.err conftest.$ac_objext \
11676 conftest$ac_exeext conftest.$ac_ext
11678 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
11679 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
11683 case "$ac_cv_asm_func_def" in
11684 ".def")
11685 cat >>confdefs.h <<\_ACEOF
11686 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
11687 _ACEOF
11689 ".type @function")
11690 cat >>confdefs.h <<\_ACEOF
11691 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
11692 _ACEOF
11694 ".type 2")
11695 cat >>confdefs.h <<\_ACEOF
11696 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
11697 _ACEOF
11700 cat >>confdefs.h <<\_ACEOF
11701 #define __ASM_FUNC(name) ""
11702 _ACEOF
11704 esac
11707 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
11708 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
11709 if test "${ac_cv_c_extern_prefix+set}" = set; then
11710 echo $ECHO_N "(cached) $ECHO_C" >&6
11711 else
11712 cat >conftest.$ac_ext <<_ACEOF
11713 /* confdefs.h. */
11714 _ACEOF
11715 cat confdefs.h >>conftest.$ac_ext
11716 cat >>conftest.$ac_ext <<_ACEOF
11717 /* end confdefs.h. */
11718 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
11719 extern int ac_test;
11721 main ()
11723 if (ac_test) return 1
11725 return 0;
11727 _ACEOF
11728 rm -f conftest.$ac_objext conftest$ac_exeext
11729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11730 (eval $ac_link) 2>conftest.er1
11731 ac_status=$?
11732 grep -v '^ *+' conftest.er1 >conftest.err
11733 rm -f conftest.er1
11734 cat conftest.err >&5
11735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11736 (exit $ac_status); } &&
11737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11739 (eval $ac_try) 2>&5
11740 ac_status=$?
11741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11742 (exit $ac_status); }; } &&
11743 { ac_try='test -s conftest$ac_exeext'
11744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11745 (eval $ac_try) 2>&5
11746 ac_status=$?
11747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 (exit $ac_status); }; }; then
11749 ac_cv_c_extern_prefix="yes"
11750 else
11751 echo "$as_me: failed program was:" >&5
11752 sed 's/^/| /' conftest.$ac_ext >&5
11754 ac_cv_c_extern_prefix="no"
11756 rm -f conftest.err conftest.$ac_objext \
11757 conftest$ac_exeext conftest.$ac_ext
11759 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
11760 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
11764 if test "$ac_cv_c_extern_prefix" = "yes"
11765 then
11766 cat >>confdefs.h <<\_ACEOF
11767 #define __ASM_NAME(name) "_" name
11768 _ACEOF
11770 else
11771 cat >>confdefs.h <<\_ACEOF
11772 #define __ASM_NAME(name) name
11773 _ACEOF
11778 DLLEXT=""
11780 DLLFLAGS="-D_REENTRANT"
11782 DLLIBS=""
11784 LDSHARED=""
11786 LDDLLFLAGS=""
11788 LIBEXT="so"
11790 IMPLIBEXT="def"
11793 case $host_os in
11794 cygwin*|mingw32*)
11795 if test -n "$ac_tool_prefix"; then
11796 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
11797 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
11798 echo "$as_me:$LINENO: checking for $ac_word" >&5
11799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11800 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
11801 echo $ECHO_N "(cached) $ECHO_C" >&6
11802 else
11803 if test -n "$DLLTOOL"; then
11804 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11805 else
11806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11807 for as_dir in $PATH
11809 IFS=$as_save_IFS
11810 test -z "$as_dir" && as_dir=.
11811 for ac_exec_ext in '' $ac_executable_extensions; do
11812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11813 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
11814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11815 break 2
11817 done
11818 done
11822 DLLTOOL=$ac_cv_prog_DLLTOOL
11823 if test -n "$DLLTOOL"; then
11824 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
11825 echo "${ECHO_T}$DLLTOOL" >&6
11826 else
11827 echo "$as_me:$LINENO: result: no" >&5
11828 echo "${ECHO_T}no" >&6
11832 if test -z "$ac_cv_prog_DLLTOOL"; then
11833 ac_ct_DLLTOOL=$DLLTOOL
11834 # Extract the first word of "dlltool", so it can be a program name with args.
11835 set dummy dlltool; ac_word=$2
11836 echo "$as_me:$LINENO: checking for $ac_word" >&5
11837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11838 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
11839 echo $ECHO_N "(cached) $ECHO_C" >&6
11840 else
11841 if test -n "$ac_ct_DLLTOOL"; then
11842 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
11843 else
11844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11845 for as_dir in $PATH
11847 IFS=$as_save_IFS
11848 test -z "$as_dir" && as_dir=.
11849 for ac_exec_ext in '' $ac_executable_extensions; do
11850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11851 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
11852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11853 break 2
11855 done
11856 done
11858 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
11861 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
11862 if test -n "$ac_ct_DLLTOOL"; then
11863 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
11864 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
11865 else
11866 echo "$as_me:$LINENO: result: no" >&5
11867 echo "${ECHO_T}no" >&6
11870 DLLTOOL=$ac_ct_DLLTOOL
11871 else
11872 DLLTOOL="$ac_cv_prog_DLLTOOL"
11875 if test -n "$ac_tool_prefix"; then
11876 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
11877 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
11878 echo "$as_me:$LINENO: checking for $ac_word" >&5
11879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11880 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
11881 echo $ECHO_N "(cached) $ECHO_C" >&6
11882 else
11883 if test -n "$DLLWRAP"; then
11884 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
11885 else
11886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11887 for as_dir in $PATH
11889 IFS=$as_save_IFS
11890 test -z "$as_dir" && as_dir=.
11891 for ac_exec_ext in '' $ac_executable_extensions; do
11892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11893 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
11894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11895 break 2
11897 done
11898 done
11902 DLLWRAP=$ac_cv_prog_DLLWRAP
11903 if test -n "$DLLWRAP"; then
11904 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
11905 echo "${ECHO_T}$DLLWRAP" >&6
11906 else
11907 echo "$as_me:$LINENO: result: no" >&5
11908 echo "${ECHO_T}no" >&6
11912 if test -z "$ac_cv_prog_DLLWRAP"; then
11913 ac_ct_DLLWRAP=$DLLWRAP
11914 # Extract the first word of "dllwrap", so it can be a program name with args.
11915 set dummy dllwrap; ac_word=$2
11916 echo "$as_me:$LINENO: checking for $ac_word" >&5
11917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11918 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
11919 echo $ECHO_N "(cached) $ECHO_C" >&6
11920 else
11921 if test -n "$ac_ct_DLLWRAP"; then
11922 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
11923 else
11924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11925 for as_dir in $PATH
11927 IFS=$as_save_IFS
11928 test -z "$as_dir" && as_dir=.
11929 for ac_exec_ext in '' $ac_executable_extensions; do
11930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11931 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
11932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11933 break 2
11935 done
11936 done
11938 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
11941 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
11942 if test -n "$ac_ct_DLLWRAP"; then
11943 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
11944 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
11945 else
11946 echo "$as_me:$LINENO: result: no" >&5
11947 echo "${ECHO_T}no" >&6
11950 DLLWRAP=$ac_ct_DLLWRAP
11951 else
11952 DLLWRAP="$ac_cv_prog_DLLWRAP"
11955 if test "$DLLWRAP" = "false"; then
11956 LIBEXT="a"
11957 else
11958 LIBEXT="dll"
11960 IMPLIBEXT="a"
11961 WIN16_FILES=""
11962 WIN16_INSTALL=""
11965 if test "$ac_cv_header_dlfcn_h" = "yes"
11966 then
11968 for ac_func in dlopen
11970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11971 echo "$as_me:$LINENO: checking for $ac_func" >&5
11972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11973 if eval "test \"\${$as_ac_var+set}\" = set"; then
11974 echo $ECHO_N "(cached) $ECHO_C" >&6
11975 else
11976 cat >conftest.$ac_ext <<_ACEOF
11977 /* confdefs.h. */
11978 _ACEOF
11979 cat confdefs.h >>conftest.$ac_ext
11980 cat >>conftest.$ac_ext <<_ACEOF
11981 /* end confdefs.h. */
11982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11984 #define $ac_func innocuous_$ac_func
11986 /* System header to define __stub macros and hopefully few prototypes,
11987 which can conflict with char $ac_func (); below.
11988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11989 <limits.h> exists even on freestanding compilers. */
11991 #ifdef __STDC__
11992 # include <limits.h>
11993 #else
11994 # include <assert.h>
11995 #endif
11997 #undef $ac_func
11999 /* Override any gcc2 internal prototype to avoid an error. */
12000 #ifdef __cplusplus
12001 extern "C"
12003 #endif
12004 /* We use char because int might match the return type of a gcc2
12005 builtin and then its argument prototype would still apply. */
12006 char $ac_func ();
12007 /* The GNU C library defines this for functions which it implements
12008 to always fail with ENOSYS. Some functions are actually named
12009 something starting with __ and the normal name is an alias. */
12010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12011 choke me
12012 #else
12013 char (*f) () = $ac_func;
12014 #endif
12015 #ifdef __cplusplus
12017 #endif
12020 main ()
12022 return f != $ac_func;
12024 return 0;
12026 _ACEOF
12027 rm -f conftest.$ac_objext conftest$ac_exeext
12028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12029 (eval $ac_link) 2>conftest.er1
12030 ac_status=$?
12031 grep -v '^ *+' conftest.er1 >conftest.err
12032 rm -f conftest.er1
12033 cat conftest.err >&5
12034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035 (exit $ac_status); } &&
12036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12038 (eval $ac_try) 2>&5
12039 ac_status=$?
12040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041 (exit $ac_status); }; } &&
12042 { ac_try='test -s conftest$ac_exeext'
12043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12044 (eval $ac_try) 2>&5
12045 ac_status=$?
12046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047 (exit $ac_status); }; }; then
12048 eval "$as_ac_var=yes"
12049 else
12050 echo "$as_me: failed program was:" >&5
12051 sed 's/^/| /' conftest.$ac_ext >&5
12053 eval "$as_ac_var=no"
12055 rm -f conftest.err conftest.$ac_objext \
12056 conftest$ac_exeext conftest.$ac_ext
12058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12060 if test `eval echo '${'$as_ac_var'}'` = yes; then
12061 cat >>confdefs.h <<_ACEOF
12062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12063 _ACEOF
12065 else
12066 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12067 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12068 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12069 echo $ECHO_N "(cached) $ECHO_C" >&6
12070 else
12071 ac_check_lib_save_LIBS=$LIBS
12072 LIBS="-ldl $LIBS"
12073 cat >conftest.$ac_ext <<_ACEOF
12074 /* confdefs.h. */
12075 _ACEOF
12076 cat confdefs.h >>conftest.$ac_ext
12077 cat >>conftest.$ac_ext <<_ACEOF
12078 /* end confdefs.h. */
12080 /* Override any gcc2 internal prototype to avoid an error. */
12081 #ifdef __cplusplus
12082 extern "C"
12083 #endif
12084 /* We use char because int might match the return type of a gcc2
12085 builtin and then its argument prototype would still apply. */
12086 char dlopen ();
12088 main ()
12090 dlopen ();
12092 return 0;
12094 _ACEOF
12095 rm -f conftest.$ac_objext conftest$ac_exeext
12096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12097 (eval $ac_link) 2>conftest.er1
12098 ac_status=$?
12099 grep -v '^ *+' conftest.er1 >conftest.err
12100 rm -f conftest.er1
12101 cat conftest.err >&5
12102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12103 (exit $ac_status); } &&
12104 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12106 (eval $ac_try) 2>&5
12107 ac_status=$?
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); }; } &&
12110 { ac_try='test -s conftest$ac_exeext'
12111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12112 (eval $ac_try) 2>&5
12113 ac_status=$?
12114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12115 (exit $ac_status); }; }; then
12116 ac_cv_lib_dl_dlopen=yes
12117 else
12118 echo "$as_me: failed program was:" >&5
12119 sed 's/^/| /' conftest.$ac_ext >&5
12121 ac_cv_lib_dl_dlopen=no
12123 rm -f conftest.err conftest.$ac_objext \
12124 conftest$ac_exeext conftest.$ac_ext
12125 LIBS=$ac_check_lib_save_LIBS
12127 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12128 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12129 if test $ac_cv_lib_dl_dlopen = yes; then
12131 cat >>confdefs.h <<\_ACEOF
12132 #define HAVE_DLOPEN 1
12133 _ACEOF
12135 DLLIBS="-ldl"
12136 else
12137 LIBEXT="a"
12141 done
12143 else
12144 LIBEXT="a"
12147 if test "$LIBEXT" = "so"
12148 then
12149 DLLFLAGS="$DLLFLAGS -fPIC"
12150 DLLEXT=".so"
12151 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
12152 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
12153 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
12154 echo $ECHO_N "(cached) $ECHO_C" >&6
12155 else
12156 ac_wine_try_cflags_saved=$CFLAGS
12157 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
12158 cat >conftest.$ac_ext <<_ACEOF
12159 void myfunc() {}
12160 _ACEOF
12161 rm -f conftest.$ac_objext conftest$ac_exeext
12162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12163 (eval $ac_link) 2>conftest.er1
12164 ac_status=$?
12165 grep -v '^ *+' conftest.er1 >conftest.err
12166 rm -f conftest.er1
12167 cat conftest.err >&5
12168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169 (exit $ac_status); } &&
12170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12172 (eval $ac_try) 2>&5
12173 ac_status=$?
12174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175 (exit $ac_status); }; } &&
12176 { ac_try='test -s conftest$ac_exeext'
12177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12178 (eval $ac_try) 2>&5
12179 ac_status=$?
12180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 (exit $ac_status); }; }; then
12182 ac_cv_c_dll_gnuelf="yes"
12183 else
12184 echo "$as_me: failed program was:" >&5
12185 sed 's/^/| /' conftest.$ac_ext >&5
12187 ac_cv_c_dll_gnuelf="no"
12189 rm -f conftest.err conftest.$ac_objext \
12190 conftest$ac_exeext conftest.$ac_ext
12191 CFLAGS=$ac_wine_try_cflags_saved
12193 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
12194 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
12195 if test "$ac_cv_c_dll_gnuelf" = "yes"
12196 then
12197 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
12198 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
12199 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
12200 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
12201 if test "${ac_cv_c_dll_zdefs+set}" = set; then
12202 echo $ECHO_N "(cached) $ECHO_C" >&6
12203 else
12204 ac_wine_try_cflags_saved=$CFLAGS
12205 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
12206 cat >conftest.$ac_ext <<_ACEOF
12207 /* confdefs.h. */
12208 _ACEOF
12209 cat confdefs.h >>conftest.$ac_ext
12210 cat >>conftest.$ac_ext <<_ACEOF
12211 /* end confdefs.h. */
12214 main ()
12218 return 0;
12220 _ACEOF
12221 rm -f conftest.$ac_objext conftest$ac_exeext
12222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12223 (eval $ac_link) 2>conftest.er1
12224 ac_status=$?
12225 grep -v '^ *+' conftest.er1 >conftest.err
12226 rm -f conftest.er1
12227 cat conftest.err >&5
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); } &&
12230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12232 (eval $ac_try) 2>&5
12233 ac_status=$?
12234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235 (exit $ac_status); }; } &&
12236 { ac_try='test -s conftest$ac_exeext'
12237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12238 (eval $ac_try) 2>&5
12239 ac_status=$?
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); }; }; then
12242 ac_cv_c_dll_zdefs="yes"
12243 else
12244 echo "$as_me: failed program was:" >&5
12245 sed 's/^/| /' conftest.$ac_ext >&5
12247 ac_cv_c_dll_zdefs="no"
12249 rm -f conftest.err conftest.$ac_objext \
12250 conftest$ac_exeext conftest.$ac_ext
12251 CFLAGS=$ac_wine_try_cflags_saved
12253 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
12254 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
12255 if test "$ac_cv_c_dll_zdefs" = "yes"
12256 then
12257 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
12260 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
12261 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
12262 if test "${ac_cv_c_dll_init_fini+set}" = set; then
12263 echo $ECHO_N "(cached) $ECHO_C" >&6
12264 else
12265 ac_wine_try_cflags_saved=$CFLAGS
12266 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
12267 cat >conftest.$ac_ext <<_ACEOF
12268 /* confdefs.h. */
12269 _ACEOF
12270 cat confdefs.h >>conftest.$ac_ext
12271 cat >>conftest.$ac_ext <<_ACEOF
12272 /* end confdefs.h. */
12275 main ()
12279 return 0;
12281 _ACEOF
12282 rm -f conftest.$ac_objext conftest$ac_exeext
12283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12284 (eval $ac_link) 2>conftest.er1
12285 ac_status=$?
12286 grep -v '^ *+' conftest.er1 >conftest.err
12287 rm -f conftest.er1
12288 cat conftest.err >&5
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); } &&
12291 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12293 (eval $ac_try) 2>&5
12294 ac_status=$?
12295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12296 (exit $ac_status); }; } &&
12297 { ac_try='test -s conftest$ac_exeext'
12298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12299 (eval $ac_try) 2>&5
12300 ac_status=$?
12301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12302 (exit $ac_status); }; }; then
12303 ac_cv_c_dll_init_fini="yes"
12304 else
12305 echo "$as_me: failed program was:" >&5
12306 sed 's/^/| /' conftest.$ac_ext >&5
12308 ac_cv_c_dll_init_fini="no"
12310 rm -f conftest.err conftest.$ac_objext \
12311 conftest$ac_exeext conftest.$ac_ext
12312 CFLAGS=$ac_wine_try_cflags_saved
12314 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
12315 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
12316 if test "$ac_cv_c_dll_init_fini" = "yes"
12317 then
12318 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
12321 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
12322 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
12323 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
12324 echo $ECHO_N "(cached) $ECHO_C" >&6
12325 else
12326 echo '{ global: *; };' >conftest.map
12327 ac_wine_try_cflags_saved=$CFLAGS
12328 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
12329 cat >conftest.$ac_ext <<_ACEOF
12330 /* confdefs.h. */
12331 _ACEOF
12332 cat confdefs.h >>conftest.$ac_ext
12333 cat >>conftest.$ac_ext <<_ACEOF
12334 /* end confdefs.h. */
12337 main ()
12341 return 0;
12343 _ACEOF
12344 rm -f conftest.$ac_objext conftest$ac_exeext
12345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12346 (eval $ac_link) 2>conftest.er1
12347 ac_status=$?
12348 grep -v '^ *+' conftest.er1 >conftest.err
12349 rm -f conftest.er1
12350 cat conftest.err >&5
12351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12352 (exit $ac_status); } &&
12353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12355 (eval $ac_try) 2>&5
12356 ac_status=$?
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); }; } &&
12359 { ac_try='test -s conftest$ac_exeext'
12360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12361 (eval $ac_try) 2>&5
12362 ac_status=$?
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); }; }; then
12365 ac_cv_c_ld_version_scripts="yes"
12366 else
12367 echo "$as_me: failed program was:" >&5
12368 sed 's/^/| /' conftest.$ac_ext >&5
12370 ac_cv_c_ld_version_scripts="no"
12372 rm -f conftest.err conftest.$ac_objext \
12373 conftest$ac_exeext conftest.$ac_ext
12374 CFLAGS=$ac_wine_try_cflags_saved
12375 rm -f conftest.map
12377 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
12378 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
12379 if test "$ac_cv_c_ld_version_scripts" = "yes"
12380 then
12381 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
12384 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
12385 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
12386 if test "${ac_cv_c_export_dynamic+set}" = set; then
12387 echo $ECHO_N "(cached) $ECHO_C" >&6
12388 else
12389 ac_wine_try_cflags_saved=$CFLAGS
12390 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
12391 cat >conftest.$ac_ext <<_ACEOF
12392 /* confdefs.h. */
12393 _ACEOF
12394 cat confdefs.h >>conftest.$ac_ext
12395 cat >>conftest.$ac_ext <<_ACEOF
12396 /* end confdefs.h. */
12399 main ()
12403 return 0;
12405 _ACEOF
12406 rm -f conftest.$ac_objext conftest$ac_exeext
12407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12408 (eval $ac_link) 2>conftest.er1
12409 ac_status=$?
12410 grep -v '^ *+' conftest.er1 >conftest.err
12411 rm -f conftest.er1
12412 cat conftest.err >&5
12413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12414 (exit $ac_status); } &&
12415 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12417 (eval $ac_try) 2>&5
12418 ac_status=$?
12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12420 (exit $ac_status); }; } &&
12421 { ac_try='test -s conftest$ac_exeext'
12422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12423 (eval $ac_try) 2>&5
12424 ac_status=$?
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 (exit $ac_status); }; }; then
12427 ac_cv_c_export_dynamic="yes"
12428 else
12429 echo "$as_me: failed program was:" >&5
12430 sed 's/^/| /' conftest.$ac_ext >&5
12432 ac_cv_c_export_dynamic="no"
12434 rm -f conftest.err conftest.$ac_objext \
12435 conftest$ac_exeext conftest.$ac_ext
12436 CFLAGS=$ac_wine_try_cflags_saved
12438 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
12439 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
12440 if test "$ac_cv_c_export_dynamic" = "yes"
12441 then
12442 LDEXECFLAGS="-Wl,--export-dynamic"
12446 case $host_cpu in
12447 *i[3456789]86*)
12448 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
12449 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6
12450 if test "${ac_cv_ld_reloc_exec+set}" = set; then
12451 echo $ECHO_N "(cached) $ECHO_C" >&6
12452 else
12453 ac_wine_try_cflags_saved=$CFLAGS
12454 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
12455 cat >conftest.$ac_ext <<_ACEOF
12456 /* confdefs.h. */
12457 _ACEOF
12458 cat confdefs.h >>conftest.$ac_ext
12459 cat >>conftest.$ac_ext <<_ACEOF
12460 /* end confdefs.h. */
12463 main ()
12467 return 0;
12469 _ACEOF
12470 rm -f conftest.$ac_objext conftest$ac_exeext
12471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12472 (eval $ac_link) 2>conftest.er1
12473 ac_status=$?
12474 grep -v '^ *+' conftest.er1 >conftest.err
12475 rm -f conftest.er1
12476 cat conftest.err >&5
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); } &&
12479 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12481 (eval $ac_try) 2>&5
12482 ac_status=$?
12483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484 (exit $ac_status); }; } &&
12485 { ac_try='test -s conftest$ac_exeext'
12486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12487 (eval $ac_try) 2>&5
12488 ac_status=$?
12489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490 (exit $ac_status); }; }; then
12491 ac_cv_ld_reloc_exec="yes"
12492 else
12493 echo "$as_me: failed program was:" >&5
12494 sed 's/^/| /' conftest.$ac_ext >&5
12496 ac_cv_ld_reloc_exec="no"
12498 rm -f conftest.err conftest.$ac_objext \
12499 conftest$ac_exeext conftest.$ac_ext
12500 CFLAGS=$ac_wine_try_cflags_saved
12502 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
12503 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
12504 if test "$ac_cv_ld_reloc_exec" = "yes"
12505 then
12506 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
12509 esac
12511 else
12512 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
12513 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
12514 if test "${ac_cv_c_dll_unixware+set}" = set; then
12515 echo $ECHO_N "(cached) $ECHO_C" >&6
12516 else
12517 ac_wine_try_cflags_saved=$CFLAGS
12518 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
12519 cat >conftest.$ac_ext <<_ACEOF
12520 void myfunc() {}
12521 _ACEOF
12522 rm -f conftest.$ac_objext conftest$ac_exeext
12523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12524 (eval $ac_link) 2>conftest.er1
12525 ac_status=$?
12526 grep -v '^ *+' conftest.er1 >conftest.err
12527 rm -f conftest.er1
12528 cat conftest.err >&5
12529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12530 (exit $ac_status); } &&
12531 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12533 (eval $ac_try) 2>&5
12534 ac_status=$?
12535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536 (exit $ac_status); }; } &&
12537 { ac_try='test -s conftest$ac_exeext'
12538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12539 (eval $ac_try) 2>&5
12540 ac_status=$?
12541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12542 (exit $ac_status); }; }; then
12543 ac_cv_c_dll_unixware="yes"
12544 else
12545 echo "$as_me: failed program was:" >&5
12546 sed 's/^/| /' conftest.$ac_ext >&5
12548 ac_cv_c_dll_unixware="no"
12550 rm -f conftest.err conftest.$ac_objext \
12551 conftest$ac_exeext conftest.$ac_ext
12552 CFLAGS=$ac_wine_try_cflags_saved
12554 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
12555 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
12556 if test "$ac_cv_c_dll_unixware" = "yes"
12557 then
12558 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
12559 LDDLLFLAGS="-Wl,-G,-B,symbolic"
12561 else
12562 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
12563 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
12564 if test "${ac_cv_c_dll_macho+set}" = set; then
12565 echo $ECHO_N "(cached) $ECHO_C" >&6
12566 else
12567 ac_wine_try_cflags_saved=$CFLAGS
12568 CFLAGS="$CFLAGS -bundle"
12569 cat >conftest.$ac_ext <<_ACEOF
12570 void myfunc() {}
12571 _ACEOF
12572 rm -f conftest.$ac_objext conftest$ac_exeext
12573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12574 (eval $ac_link) 2>conftest.er1
12575 ac_status=$?
12576 grep -v '^ *+' conftest.er1 >conftest.err
12577 rm -f conftest.er1
12578 cat conftest.err >&5
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); } &&
12581 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12583 (eval $ac_try) 2>&5
12584 ac_status=$?
12585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586 (exit $ac_status); }; } &&
12587 { ac_try='test -s conftest$ac_exeext'
12588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12589 (eval $ac_try) 2>&5
12590 ac_status=$?
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); }; }; then
12593 ac_cv_c_dll_macho="yes"
12594 else
12595 echo "$as_me: failed program was:" >&5
12596 sed 's/^/| /' conftest.$ac_ext >&5
12598 ac_cv_c_dll_macho="no"
12600 rm -f conftest.err conftest.$ac_objext \
12601 conftest$ac_exeext conftest.$ac_ext
12602 CFLAGS=$ac_wine_try_cflags_saved
12604 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
12605 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
12606 if test "$ac_cv_c_dll_macho" = "yes"
12607 then
12608 LIBEXT="dylib"
12609 LDDLLFLAGS="-bundle -flat_namespace -undefined suppress -read_only_relocs warning"
12610 LDSHARED="\$(CC) -dynamiclib"
12611 CFLAGS="$CFLAGS -ffixed-r13 -no-cpp-precomp"
12612 STRIP="$STRIP -u -r"
12613 LDEXECFLAGS="-seg1addr 0x120000"
12615 LDLIBWINEFLAGS="-seg1addr 0x140000"
12617 COREFOUNDATIONLIB="-framework CoreFoundation"
12619 IOKITLIB="-framework IOKit"
12621 IOKITLIB="$IOKITLIB $COREFOUNDATIONLIB"
12622 else
12623 echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
12624 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6
12625 if test "${ac_cv_c_dll_hpux+set}" = set; then
12626 echo $ECHO_N "(cached) $ECHO_C" >&6
12627 else
12628 ac_wine_try_cflags_saved=$CFLAGS
12629 CFLAGS="$CFLAGS -shared"
12630 cat >conftest.$ac_ext <<_ACEOF
12631 void myfunc() {}
12632 _ACEOF
12633 rm -f conftest.$ac_objext conftest$ac_exeext
12634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12635 (eval $ac_link) 2>conftest.er1
12636 ac_status=$?
12637 grep -v '^ *+' conftest.er1 >conftest.err
12638 rm -f conftest.er1
12639 cat conftest.err >&5
12640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12641 (exit $ac_status); } &&
12642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12644 (eval $ac_try) 2>&5
12645 ac_status=$?
12646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647 (exit $ac_status); }; } &&
12648 { ac_try='test -s conftest$ac_exeext'
12649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12650 (eval $ac_try) 2>&5
12651 ac_status=$?
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); }; }; then
12654 ac_cv_c_dll_hpux="yes"
12655 else
12656 echo "$as_me: failed program was:" >&5
12657 sed 's/^/| /' conftest.$ac_ext >&5
12659 ac_cv_c_dll_hpux="no"
12661 rm -f conftest.err conftest.$ac_objext \
12662 conftest$ac_exeext conftest.$ac_ext
12663 CFLAGS=$ac_wine_try_cflags_saved
12665 echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
12666 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6
12667 if test "$ac_cv_c_dll_hpux" = "yes"
12668 then
12669 LIBEXT="sl"
12670 DLLEXT=".sl"
12671 LDDLLFLAGS="-shared -fPIC"
12672 LDSHARED="\$(CC) -shared"
12679 CROSSTEST=""
12681 if test "$cross_compiling" = "no"
12682 then
12683 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
12685 # Extract the first word of "$ac_prog", so it can be a program name with args.
12686 set dummy $ac_prog; ac_word=$2
12687 echo "$as_me:$LINENO: checking for $ac_word" >&5
12688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12689 if test "${ac_cv_prog_CROSSCC+set}" = set; then
12690 echo $ECHO_N "(cached) $ECHO_C" >&6
12691 else
12692 if test -n "$CROSSCC"; then
12693 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
12694 else
12695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12696 for as_dir in $PATH
12698 IFS=$as_save_IFS
12699 test -z "$as_dir" && as_dir=.
12700 for ac_exec_ext in '' $ac_executable_extensions; do
12701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12702 ac_cv_prog_CROSSCC="$ac_prog"
12703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12704 break 2
12706 done
12707 done
12711 CROSSCC=$ac_cv_prog_CROSSCC
12712 if test -n "$CROSSCC"; then
12713 echo "$as_me:$LINENO: result: $CROSSCC" >&5
12714 echo "${ECHO_T}$CROSSCC" >&6
12715 else
12716 echo "$as_me:$LINENO: result: no" >&5
12717 echo "${ECHO_T}no" >&6
12720 test -n "$CROSSCC" && break
12721 done
12722 test -n "$CROSSCC" || CROSSCC="false"
12724 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
12726 # Extract the first word of "$ac_prog", so it can be a program name with args.
12727 set dummy $ac_prog; ac_word=$2
12728 echo "$as_me:$LINENO: checking for $ac_word" >&5
12729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12730 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12731 echo $ECHO_N "(cached) $ECHO_C" >&6
12732 else
12733 if test -n "$DLLTOOL"; then
12734 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
12735 else
12736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12737 for as_dir in $PATH
12739 IFS=$as_save_IFS
12740 test -z "$as_dir" && as_dir=.
12741 for ac_exec_ext in '' $ac_executable_extensions; do
12742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12743 ac_cv_prog_DLLTOOL="$ac_prog"
12744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12745 break 2
12747 done
12748 done
12752 DLLTOOL=$ac_cv_prog_DLLTOOL
12753 if test -n "$DLLTOOL"; then
12754 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12755 echo "${ECHO_T}$DLLTOOL" >&6
12756 else
12757 echo "$as_me:$LINENO: result: no" >&5
12758 echo "${ECHO_T}no" >&6
12761 test -n "$DLLTOOL" && break
12762 done
12763 test -n "$DLLTOOL" || DLLTOOL="false"
12765 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
12767 # Extract the first word of "$ac_prog", so it can be a program name with args.
12768 set dummy $ac_prog; ac_word=$2
12769 echo "$as_me:$LINENO: checking for $ac_word" >&5
12770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12771 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
12772 echo $ECHO_N "(cached) $ECHO_C" >&6
12773 else
12774 if test -n "$CROSSWINDRES"; then
12775 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
12776 else
12777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12778 for as_dir in $PATH
12780 IFS=$as_save_IFS
12781 test -z "$as_dir" && as_dir=.
12782 for ac_exec_ext in '' $ac_executable_extensions; do
12783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12784 ac_cv_prog_CROSSWINDRES="$ac_prog"
12785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12786 break 2
12788 done
12789 done
12793 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
12794 if test -n "$CROSSWINDRES"; then
12795 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
12796 echo "${ECHO_T}$CROSSWINDRES" >&6
12797 else
12798 echo "$as_me:$LINENO: result: no" >&5
12799 echo "${ECHO_T}no" >&6
12802 test -n "$CROSSWINDRES" && break
12803 done
12804 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
12806 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
12809 esac
12811 if test "$LIBEXT" = "a"; then
12812 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
12813 It is currently not possible to build Wine without shared library
12814 (.so) support to allow transparent switch between .so and .dll files.
12815 If you are using Linux, you will need a newer binutils.
12816 " >&5
12817 echo "$as_me: error: could not find a way to build shared libraries.
12818 It is currently not possible to build Wine without shared library
12819 (.so) support to allow transparent switch between .so and .dll files.
12820 If you are using Linux, you will need a newer binutils.
12821 " >&2;}
12822 { (exit 1); exit 1; }; }
12825 case $build_os in
12826 cygwin*|mingw32*)
12827 LDPATH="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
12829 darwin*|macosx*)
12830 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
12833 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
12835 esac
12837 case $host_os in
12838 mingw32*)
12839 CRTLIBS="-lmsvcrt"
12841 SOCKETLIBS="-lws2_32"
12844 esac
12846 case $host_os in
12847 linux*)
12848 case $host_cpu in
12849 *i[3456789]86*) WINE_BINARIES="wine-glibc wine-kthread wine-pthread wine-preloader"
12851 *) WINE_BINARIES="wine-glibc wine-kthread wine-pthread"
12853 esac
12854 MAIN_BINARY="wine-glibc"
12857 darwin*)
12858 WINE_BINARIES="wine-pthread"
12860 MAIN_BINARY="wine-pthread"
12864 WINE_BINARIES="wine-kthread"
12866 MAIN_BINARY="wine-kthread"
12869 esac
12872 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
12873 then
12874 # Extract the first word of "ldd", so it can be a program name with args.
12875 set dummy ldd; ac_word=$2
12876 echo "$as_me:$LINENO: checking for $ac_word" >&5
12877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12878 if test "${ac_cv_path_LDD+set}" = set; then
12879 echo $ECHO_N "(cached) $ECHO_C" >&6
12880 else
12881 case $LDD in
12882 [\\/]* | ?:[\\/]*)
12883 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
12886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12887 as_dummy="/sbin:/usr/sbin:$PATH"
12888 for as_dir in $as_dummy
12890 IFS=$as_save_IFS
12891 test -z "$as_dir" && as_dir=.
12892 for ac_exec_ext in '' $ac_executable_extensions; do
12893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12894 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
12895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12896 break 2
12898 done
12899 done
12901 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
12903 esac
12905 LDD=$ac_cv_path_LDD
12907 if test -n "$LDD"; then
12908 echo "$as_me:$LINENO: result: $LDD" >&5
12909 echo "${ECHO_T}$LDD" >&6
12910 else
12911 echo "$as_me:$LINENO: result: no" >&5
12912 echo "${ECHO_T}no" >&6
12916 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
12917 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
12918 if test "${ac_cv_lib_soname_X11+set}" = set; then
12919 echo $ECHO_N "(cached) $ECHO_C" >&6
12920 else
12921 ac_get_soname_save_LIBS=$LIBS
12922 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
12923 cat >conftest.$ac_ext <<_ACEOF
12924 /* confdefs.h. */
12925 _ACEOF
12926 cat confdefs.h >>conftest.$ac_ext
12927 cat >>conftest.$ac_ext <<_ACEOF
12928 /* end confdefs.h. */
12930 /* Override any gcc2 internal prototype to avoid an error. */
12931 #ifdef __cplusplus
12932 extern "C"
12933 #endif
12934 /* We use char because int might match the return type of a gcc2
12935 builtin and then its argument prototype would still apply. */
12936 char XCreateWindow ();
12938 main ()
12940 XCreateWindow ();
12942 return 0;
12944 _ACEOF
12945 rm -f conftest.$ac_objext conftest$ac_exeext
12946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12947 (eval $ac_link) 2>conftest.er1
12948 ac_status=$?
12949 grep -v '^ *+' conftest.er1 >conftest.err
12950 rm -f conftest.er1
12951 cat conftest.err >&5
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 (exit $ac_status); } &&
12954 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12956 (eval $ac_try) 2>&5
12957 ac_status=$?
12958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 (exit $ac_status); }; } &&
12960 { ac_try='test -s conftest$ac_exeext'
12961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12962 (eval $ac_try) 2>&5
12963 ac_status=$?
12964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12965 (exit $ac_status); }; }; then
12966 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"`
12967 if test "x$ac_cv_lib_soname_X11" = "x"
12968 then
12969 ac_cv_lib_soname_X11="libX11.$LIBEXT"
12971 else
12972 echo "$as_me: failed program was:" >&5
12973 sed 's/^/| /' conftest.$ac_ext >&5
12975 ac_cv_lib_soname_X11="libX11.$LIBEXT"
12977 rm -f conftest.err conftest.$ac_objext \
12978 conftest$ac_exeext conftest.$ac_ext
12979 LIBS=$ac_get_soname_save_LIBS
12981 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
12982 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
12983 if test "x$ac_cv_lib_soname_X11" != xNONE
12984 then
12985 cat >>confdefs.h <<_ACEOF
12986 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
12987 _ACEOF
12990 echo "$as_me:$LINENO: checking for -lXext soname" >&5
12991 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
12992 if test "${ac_cv_lib_soname_Xext+set}" = set; then
12993 echo $ECHO_N "(cached) $ECHO_C" >&6
12994 else
12995 ac_get_soname_save_LIBS=$LIBS
12996 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
12997 cat >conftest.$ac_ext <<_ACEOF
12998 /* confdefs.h. */
12999 _ACEOF
13000 cat confdefs.h >>conftest.$ac_ext
13001 cat >>conftest.$ac_ext <<_ACEOF
13002 /* end confdefs.h. */
13004 /* Override any gcc2 internal prototype to avoid an error. */
13005 #ifdef __cplusplus
13006 extern "C"
13007 #endif
13008 /* We use char because int might match the return type of a gcc2
13009 builtin and then its argument prototype would still apply. */
13010 char XextCreateExtension ();
13012 main ()
13014 XextCreateExtension ();
13016 return 0;
13018 _ACEOF
13019 rm -f conftest.$ac_objext conftest$ac_exeext
13020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13021 (eval $ac_link) 2>conftest.er1
13022 ac_status=$?
13023 grep -v '^ *+' conftest.er1 >conftest.err
13024 rm -f conftest.er1
13025 cat conftest.err >&5
13026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13027 (exit $ac_status); } &&
13028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13030 (eval $ac_try) 2>&5
13031 ac_status=$?
13032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13033 (exit $ac_status); }; } &&
13034 { ac_try='test -s conftest$ac_exeext'
13035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13036 (eval $ac_try) 2>&5
13037 ac_status=$?
13038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13039 (exit $ac_status); }; }; then
13040 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"`
13041 if test "x$ac_cv_lib_soname_Xext" = "x"
13042 then
13043 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
13045 else
13046 echo "$as_me: failed program was:" >&5
13047 sed 's/^/| /' conftest.$ac_ext >&5
13049 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
13051 rm -f conftest.err conftest.$ac_objext \
13052 conftest$ac_exeext conftest.$ac_ext
13053 LIBS=$ac_get_soname_save_LIBS
13055 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
13056 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
13057 if test "x$ac_cv_lib_soname_Xext" != xNONE
13058 then
13059 cat >>confdefs.h <<_ACEOF
13060 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
13061 _ACEOF
13064 echo "$as_me:$LINENO: checking for -lXi soname" >&5
13065 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
13066 if test "${ac_cv_lib_soname_Xi+set}" = set; then
13067 echo $ECHO_N "(cached) $ECHO_C" >&6
13068 else
13069 ac_get_soname_save_LIBS=$LIBS
13070 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
13071 cat >conftest.$ac_ext <<_ACEOF
13072 /* confdefs.h. */
13073 _ACEOF
13074 cat confdefs.h >>conftest.$ac_ext
13075 cat >>conftest.$ac_ext <<_ACEOF
13076 /* end confdefs.h. */
13078 /* Override any gcc2 internal prototype to avoid an error. */
13079 #ifdef __cplusplus
13080 extern "C"
13081 #endif
13082 /* We use char because int might match the return type of a gcc2
13083 builtin and then its argument prototype would still apply. */
13084 char XOpenDevice ();
13086 main ()
13088 XOpenDevice ();
13090 return 0;
13092 _ACEOF
13093 rm -f conftest.$ac_objext conftest$ac_exeext
13094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13095 (eval $ac_link) 2>conftest.er1
13096 ac_status=$?
13097 grep -v '^ *+' conftest.er1 >conftest.err
13098 rm -f conftest.er1
13099 cat conftest.err >&5
13100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13101 (exit $ac_status); } &&
13102 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13104 (eval $ac_try) 2>&5
13105 ac_status=$?
13106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13107 (exit $ac_status); }; } &&
13108 { ac_try='test -s conftest$ac_exeext'
13109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13110 (eval $ac_try) 2>&5
13111 ac_status=$?
13112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13113 (exit $ac_status); }; }; then
13114 ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"`
13115 if test "x$ac_cv_lib_soname_Xi" = "x"
13116 then
13117 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
13119 else
13120 echo "$as_me: failed program was:" >&5
13121 sed 's/^/| /' conftest.$ac_ext >&5
13123 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
13125 rm -f conftest.err conftest.$ac_objext \
13126 conftest$ac_exeext conftest.$ac_ext
13127 LIBS=$ac_get_soname_save_LIBS
13129 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
13130 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
13131 if test "x$ac_cv_lib_soname_Xi" != xNONE
13132 then
13133 cat >>confdefs.h <<_ACEOF
13134 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
13135 _ACEOF
13138 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
13139 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
13140 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
13141 echo $ECHO_N "(cached) $ECHO_C" >&6
13142 else
13143 ac_get_soname_save_LIBS=$LIBS
13144 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
13145 cat >conftest.$ac_ext <<_ACEOF
13146 /* confdefs.h. */
13147 _ACEOF
13148 cat confdefs.h >>conftest.$ac_ext
13149 cat >>conftest.$ac_ext <<_ACEOF
13150 /* end confdefs.h. */
13152 /* Override any gcc2 internal prototype to avoid an error. */
13153 #ifdef __cplusplus
13154 extern "C"
13155 #endif
13156 /* We use char because int might match the return type of a gcc2
13157 builtin and then its argument prototype would still apply. */
13158 char XRenderQueryExtension ();
13160 main ()
13162 XRenderQueryExtension ();
13164 return 0;
13166 _ACEOF
13167 rm -f conftest.$ac_objext conftest$ac_exeext
13168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13169 (eval $ac_link) 2>conftest.er1
13170 ac_status=$?
13171 grep -v '^ *+' conftest.er1 >conftest.err
13172 rm -f conftest.er1
13173 cat conftest.err >&5
13174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13175 (exit $ac_status); } &&
13176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13178 (eval $ac_try) 2>&5
13179 ac_status=$?
13180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13181 (exit $ac_status); }; } &&
13182 { ac_try='test -s conftest$ac_exeext'
13183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13184 (eval $ac_try) 2>&5
13185 ac_status=$?
13186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13187 (exit $ac_status); }; }; then
13188 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"`
13189 if test "x$ac_cv_lib_soname_Xrender" = "x"
13190 then
13191 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
13193 else
13194 echo "$as_me: failed program was:" >&5
13195 sed 's/^/| /' conftest.$ac_ext >&5
13197 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
13199 rm -f conftest.err conftest.$ac_objext \
13200 conftest$ac_exeext conftest.$ac_ext
13201 LIBS=$ac_get_soname_save_LIBS
13203 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
13204 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
13205 if test "x$ac_cv_lib_soname_Xrender" != xNONE
13206 then
13207 cat >>confdefs.h <<_ACEOF
13208 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
13209 _ACEOF
13212 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
13213 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
13214 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
13215 echo $ECHO_N "(cached) $ECHO_C" >&6
13216 else
13217 ac_get_soname_save_LIBS=$LIBS
13218 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
13219 cat >conftest.$ac_ext <<_ACEOF
13220 /* confdefs.h. */
13221 _ACEOF
13222 cat confdefs.h >>conftest.$ac_ext
13223 cat >>conftest.$ac_ext <<_ACEOF
13224 /* end confdefs.h. */
13226 /* Override any gcc2 internal prototype to avoid an error. */
13227 #ifdef __cplusplus
13228 extern "C"
13229 #endif
13230 /* We use char because int might match the return type of a gcc2
13231 builtin and then its argument prototype would still apply. */
13232 char XRRQueryExtension ();
13234 main ()
13236 XRRQueryExtension ();
13238 return 0;
13240 _ACEOF
13241 rm -f conftest.$ac_objext conftest$ac_exeext
13242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13243 (eval $ac_link) 2>conftest.er1
13244 ac_status=$?
13245 grep -v '^ *+' conftest.er1 >conftest.err
13246 rm -f conftest.er1
13247 cat conftest.err >&5
13248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13249 (exit $ac_status); } &&
13250 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13252 (eval $ac_try) 2>&5
13253 ac_status=$?
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); }; } &&
13256 { ac_try='test -s conftest$ac_exeext'
13257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13258 (eval $ac_try) 2>&5
13259 ac_status=$?
13260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); }; }; then
13262 ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"`
13263 if test "x$ac_cv_lib_soname_Xrandr" = "x"
13264 then
13265 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
13267 else
13268 echo "$as_me: failed program was:" >&5
13269 sed 's/^/| /' conftest.$ac_ext >&5
13271 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
13273 rm -f conftest.err conftest.$ac_objext \
13274 conftest$ac_exeext conftest.$ac_ext
13275 LIBS=$ac_get_soname_save_LIBS
13277 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
13278 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
13279 if test "x$ac_cv_lib_soname_Xrandr" != xNONE
13280 then
13281 cat >>confdefs.h <<_ACEOF
13282 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
13283 _ACEOF
13286 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
13287 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
13288 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13289 echo $ECHO_N "(cached) $ECHO_C" >&6
13290 else
13291 ac_get_soname_save_LIBS=$LIBS
13292 LIBS="-lfreetype $X_LIBS $LIBS"
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. */
13300 /* Override any gcc2 internal prototype to avoid an error. */
13301 #ifdef __cplusplus
13302 extern "C"
13303 #endif
13304 /* We use char because int might match the return type of a gcc2
13305 builtin and then its argument prototype would still apply. */
13306 char FT_Init_FreeType ();
13308 main ()
13310 FT_Init_FreeType ();
13312 return 0;
13314 _ACEOF
13315 rm -f conftest.$ac_objext conftest$ac_exeext
13316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13317 (eval $ac_link) 2>conftest.er1
13318 ac_status=$?
13319 grep -v '^ *+' conftest.er1 >conftest.err
13320 rm -f conftest.er1
13321 cat conftest.err >&5
13322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13323 (exit $ac_status); } &&
13324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13326 (eval $ac_try) 2>&5
13327 ac_status=$?
13328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13329 (exit $ac_status); }; } &&
13330 { ac_try='test -s conftest$ac_exeext'
13331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13332 (eval $ac_try) 2>&5
13333 ac_status=$?
13334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13335 (exit $ac_status); }; }; then
13336 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"`
13337 if test "x$ac_cv_lib_soname_freetype" = "x"
13338 then
13339 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
13341 else
13342 echo "$as_me: failed program was:" >&5
13343 sed 's/^/| /' conftest.$ac_ext >&5
13345 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
13347 rm -f conftest.err conftest.$ac_objext \
13348 conftest$ac_exeext conftest.$ac_ext
13349 LIBS=$ac_get_soname_save_LIBS
13351 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13352 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
13353 if test "x$ac_cv_lib_soname_freetype" != xNONE
13354 then
13355 cat >>confdefs.h <<_ACEOF
13356 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13357 _ACEOF
13360 echo "$as_me:$LINENO: checking for -lGL soname" >&5
13361 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
13362 if test "${ac_cv_lib_soname_GL+set}" = set; then
13363 echo $ECHO_N "(cached) $ECHO_C" >&6
13364 else
13365 ac_get_soname_save_LIBS=$LIBS
13366 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
13367 cat >conftest.$ac_ext <<_ACEOF
13368 /* confdefs.h. */
13369 _ACEOF
13370 cat confdefs.h >>conftest.$ac_ext
13371 cat >>conftest.$ac_ext <<_ACEOF
13372 /* end confdefs.h. */
13374 /* Override any gcc2 internal prototype to avoid an error. */
13375 #ifdef __cplusplus
13376 extern "C"
13377 #endif
13378 /* We use char because int might match the return type of a gcc2
13379 builtin and then its argument prototype would still apply. */
13380 char glXQueryExtension ();
13382 main ()
13384 glXQueryExtension ();
13386 return 0;
13388 _ACEOF
13389 rm -f conftest.$ac_objext conftest$ac_exeext
13390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13391 (eval $ac_link) 2>conftest.er1
13392 ac_status=$?
13393 grep -v '^ *+' conftest.er1 >conftest.err
13394 rm -f conftest.er1
13395 cat conftest.err >&5
13396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13397 (exit $ac_status); } &&
13398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13400 (eval $ac_try) 2>&5
13401 ac_status=$?
13402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13403 (exit $ac_status); }; } &&
13404 { ac_try='test -s conftest$ac_exeext'
13405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13406 (eval $ac_try) 2>&5
13407 ac_status=$?
13408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13409 (exit $ac_status); }; }; then
13410 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"`
13411 if test "x$ac_cv_lib_soname_GL" = "x"
13412 then
13413 ac_cv_lib_soname_GL="libGL.$LIBEXT"
13415 else
13416 echo "$as_me: failed program was:" >&5
13417 sed 's/^/| /' conftest.$ac_ext >&5
13419 ac_cv_lib_soname_GL="libGL.$LIBEXT"
13421 rm -f conftest.err conftest.$ac_objext \
13422 conftest$ac_exeext conftest.$ac_ext
13423 LIBS=$ac_get_soname_save_LIBS
13425 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
13426 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
13427 if test "x$ac_cv_lib_soname_GL" != xNONE
13428 then
13429 cat >>confdefs.h <<_ACEOF
13430 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
13431 _ACEOF
13434 echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
13435 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6
13436 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
13437 echo $ECHO_N "(cached) $ECHO_C" >&6
13438 else
13439 ac_get_soname_save_LIBS=$LIBS
13440 LIBS="-ltxc_dxtn $LIBS"
13441 cat >conftest.$ac_ext <<_ACEOF
13442 /* confdefs.h. */
13443 _ACEOF
13444 cat confdefs.h >>conftest.$ac_ext
13445 cat >>conftest.$ac_ext <<_ACEOF
13446 /* end confdefs.h. */
13448 /* Override any gcc2 internal prototype to avoid an error. */
13449 #ifdef __cplusplus
13450 extern "C"
13451 #endif
13452 /* We use char because int might match the return type of a gcc2
13453 builtin and then its argument prototype would still apply. */
13454 char fetch_2d_texel_rgba_dxt1 ();
13456 main ()
13458 fetch_2d_texel_rgba_dxt1 ();
13460 return 0;
13462 _ACEOF
13463 rm -f conftest.$ac_objext conftest$ac_exeext
13464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13465 (eval $ac_link) 2>conftest.er1
13466 ac_status=$?
13467 grep -v '^ *+' conftest.er1 >conftest.err
13468 rm -f conftest.er1
13469 cat conftest.err >&5
13470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13471 (exit $ac_status); } &&
13472 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13474 (eval $ac_try) 2>&5
13475 ac_status=$?
13476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13477 (exit $ac_status); }; } &&
13478 { ac_try='test -s conftest$ac_exeext'
13479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13480 (eval $ac_try) 2>&5
13481 ac_status=$?
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); }; }; then
13484 ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"`
13485 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
13486 then
13487 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
13489 else
13490 echo "$as_me: failed program was:" >&5
13491 sed 's/^/| /' conftest.$ac_ext >&5
13493 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
13495 rm -f conftest.err conftest.$ac_objext \
13496 conftest$ac_exeext conftest.$ac_ext
13497 LIBS=$ac_get_soname_save_LIBS
13499 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
13500 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6
13501 if test "x$ac_cv_lib_soname_txc_dxtn" != xNONE
13502 then
13503 cat >>confdefs.h <<_ACEOF
13504 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
13505 _ACEOF
13508 echo "$as_me:$LINENO: checking for -lcups soname" >&5
13509 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
13510 if test "${ac_cv_lib_soname_cups+set}" = set; then
13511 echo $ECHO_N "(cached) $ECHO_C" >&6
13512 else
13513 ac_get_soname_save_LIBS=$LIBS
13514 LIBS="-lcups $LIBS"
13515 cat >conftest.$ac_ext <<_ACEOF
13516 /* confdefs.h. */
13517 _ACEOF
13518 cat confdefs.h >>conftest.$ac_ext
13519 cat >>conftest.$ac_ext <<_ACEOF
13520 /* end confdefs.h. */
13522 /* Override any gcc2 internal prototype to avoid an error. */
13523 #ifdef __cplusplus
13524 extern "C"
13525 #endif
13526 /* We use char because int might match the return type of a gcc2
13527 builtin and then its argument prototype would still apply. */
13528 char cupsGetDefault ();
13530 main ()
13532 cupsGetDefault ();
13534 return 0;
13536 _ACEOF
13537 rm -f conftest.$ac_objext conftest$ac_exeext
13538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13539 (eval $ac_link) 2>conftest.er1
13540 ac_status=$?
13541 grep -v '^ *+' conftest.er1 >conftest.err
13542 rm -f conftest.er1
13543 cat conftest.err >&5
13544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13545 (exit $ac_status); } &&
13546 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13548 (eval $ac_try) 2>&5
13549 ac_status=$?
13550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551 (exit $ac_status); }; } &&
13552 { ac_try='test -s conftest$ac_exeext'
13553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13554 (eval $ac_try) 2>&5
13555 ac_status=$?
13556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13557 (exit $ac_status); }; }; then
13558 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"`
13559 if test "x$ac_cv_lib_soname_cups" = "x"
13560 then
13561 ac_cv_lib_soname_cups="libcups.$LIBEXT"
13563 else
13564 echo "$as_me: failed program was:" >&5
13565 sed 's/^/| /' conftest.$ac_ext >&5
13567 ac_cv_lib_soname_cups="libcups.$LIBEXT"
13569 rm -f conftest.err conftest.$ac_objext \
13570 conftest$ac_exeext conftest.$ac_ext
13571 LIBS=$ac_get_soname_save_LIBS
13573 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
13574 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
13575 if test "x$ac_cv_lib_soname_cups" != xNONE
13576 then
13577 cat >>confdefs.h <<_ACEOF
13578 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13579 _ACEOF
13582 echo "$as_me:$LINENO: checking for -ljack soname" >&5
13583 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
13584 if test "${ac_cv_lib_soname_jack+set}" = set; then
13585 echo $ECHO_N "(cached) $ECHO_C" >&6
13586 else
13587 ac_get_soname_save_LIBS=$LIBS
13588 LIBS="-ljack $LIBS"
13589 cat >conftest.$ac_ext <<_ACEOF
13590 /* confdefs.h. */
13591 _ACEOF
13592 cat confdefs.h >>conftest.$ac_ext
13593 cat >>conftest.$ac_ext <<_ACEOF
13594 /* end confdefs.h. */
13596 /* Override any gcc2 internal prototype to avoid an error. */
13597 #ifdef __cplusplus
13598 extern "C"
13599 #endif
13600 /* We use char because int might match the return type of a gcc2
13601 builtin and then its argument prototype would still apply. */
13602 char jack_client_new ();
13604 main ()
13606 jack_client_new ();
13608 return 0;
13610 _ACEOF
13611 rm -f conftest.$ac_objext conftest$ac_exeext
13612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13613 (eval $ac_link) 2>conftest.er1
13614 ac_status=$?
13615 grep -v '^ *+' conftest.er1 >conftest.err
13616 rm -f conftest.er1
13617 cat conftest.err >&5
13618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13619 (exit $ac_status); } &&
13620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13622 (eval $ac_try) 2>&5
13623 ac_status=$?
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); }; } &&
13626 { ac_try='test -s conftest$ac_exeext'
13627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13628 (eval $ac_try) 2>&5
13629 ac_status=$?
13630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13631 (exit $ac_status); }; }; then
13632 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"`
13633 if test "x$ac_cv_lib_soname_jack" = "x"
13634 then
13635 ac_cv_lib_soname_jack="libjack.$LIBEXT"
13637 else
13638 echo "$as_me: failed program was:" >&5
13639 sed 's/^/| /' conftest.$ac_ext >&5
13641 ac_cv_lib_soname_jack="libjack.$LIBEXT"
13643 rm -f conftest.err conftest.$ac_objext \
13644 conftest$ac_exeext conftest.$ac_ext
13645 LIBS=$ac_get_soname_save_LIBS
13647 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
13648 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
13649 if test "x$ac_cv_lib_soname_jack" != xNONE
13650 then
13651 cat >>confdefs.h <<_ACEOF
13652 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
13653 _ACEOF
13656 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
13657 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
13658 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
13659 echo $ECHO_N "(cached) $ECHO_C" >&6
13660 else
13661 ac_get_soname_save_LIBS=$LIBS
13662 LIBS="-lfontconfig $LIBS"
13663 cat >conftest.$ac_ext <<_ACEOF
13664 /* confdefs.h. */
13665 _ACEOF
13666 cat confdefs.h >>conftest.$ac_ext
13667 cat >>conftest.$ac_ext <<_ACEOF
13668 /* end confdefs.h. */
13670 /* Override any gcc2 internal prototype to avoid an error. */
13671 #ifdef __cplusplus
13672 extern "C"
13673 #endif
13674 /* We use char because int might match the return type of a gcc2
13675 builtin and then its argument prototype would still apply. */
13676 char FcInit ();
13678 main ()
13680 FcInit ();
13682 return 0;
13684 _ACEOF
13685 rm -f conftest.$ac_objext conftest$ac_exeext
13686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13687 (eval $ac_link) 2>conftest.er1
13688 ac_status=$?
13689 grep -v '^ *+' conftest.er1 >conftest.err
13690 rm -f conftest.er1
13691 cat conftest.err >&5
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); } &&
13694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13696 (eval $ac_try) 2>&5
13697 ac_status=$?
13698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); }; } &&
13700 { ac_try='test -s conftest$ac_exeext'
13701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13702 (eval $ac_try) 2>&5
13703 ac_status=$?
13704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13705 (exit $ac_status); }; }; then
13706 ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"`
13707 if test "x$ac_cv_lib_soname_fontconfig" = "x"
13708 then
13709 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
13711 else
13712 echo "$as_me: failed program was:" >&5
13713 sed 's/^/| /' conftest.$ac_ext >&5
13715 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
13717 rm -f conftest.err conftest.$ac_objext \
13718 conftest$ac_exeext conftest.$ac_ext
13719 LIBS=$ac_get_soname_save_LIBS
13721 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
13722 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
13723 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
13724 then
13725 cat >>confdefs.h <<_ACEOF
13726 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13727 _ACEOF
13730 echo "$as_me:$LINENO: checking for -lssl soname" >&5
13731 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
13732 if test "${ac_cv_lib_soname_ssl+set}" = set; then
13733 echo $ECHO_N "(cached) $ECHO_C" >&6
13734 else
13735 ac_get_soname_save_LIBS=$LIBS
13736 LIBS="-lssl $LIBS"
13737 cat >conftest.$ac_ext <<_ACEOF
13738 /* confdefs.h. */
13739 _ACEOF
13740 cat confdefs.h >>conftest.$ac_ext
13741 cat >>conftest.$ac_ext <<_ACEOF
13742 /* end confdefs.h. */
13744 /* Override any gcc2 internal prototype to avoid an error. */
13745 #ifdef __cplusplus
13746 extern "C"
13747 #endif
13748 /* We use char because int might match the return type of a gcc2
13749 builtin and then its argument prototype would still apply. */
13750 char SSL_library_init ();
13752 main ()
13754 SSL_library_init ();
13756 return 0;
13758 _ACEOF
13759 rm -f conftest.$ac_objext conftest$ac_exeext
13760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13761 (eval $ac_link) 2>conftest.er1
13762 ac_status=$?
13763 grep -v '^ *+' conftest.er1 >conftest.err
13764 rm -f conftest.er1
13765 cat conftest.err >&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); } &&
13768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13770 (eval $ac_try) 2>&5
13771 ac_status=$?
13772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13773 (exit $ac_status); }; } &&
13774 { ac_try='test -s conftest$ac_exeext'
13775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13776 (eval $ac_try) 2>&5
13777 ac_status=$?
13778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13779 (exit $ac_status); }; }; then
13780 ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"`
13781 if test "x$ac_cv_lib_soname_ssl" = "x"
13782 then
13783 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
13785 else
13786 echo "$as_me: failed program was:" >&5
13787 sed 's/^/| /' conftest.$ac_ext >&5
13789 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
13791 rm -f conftest.err conftest.$ac_objext \
13792 conftest$ac_exeext conftest.$ac_ext
13793 LIBS=$ac_get_soname_save_LIBS
13795 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
13796 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
13797 if test "x$ac_cv_lib_soname_ssl" != xNONE
13798 then
13799 cat >>confdefs.h <<_ACEOF
13800 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
13801 _ACEOF
13804 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
13805 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
13806 if test "${ac_cv_lib_soname_crypto+set}" = set; then
13807 echo $ECHO_N "(cached) $ECHO_C" >&6
13808 else
13809 ac_get_soname_save_LIBS=$LIBS
13810 LIBS="-lcrypto $LIBS"
13811 cat >conftest.$ac_ext <<_ACEOF
13812 /* confdefs.h. */
13813 _ACEOF
13814 cat confdefs.h >>conftest.$ac_ext
13815 cat >>conftest.$ac_ext <<_ACEOF
13816 /* end confdefs.h. */
13818 /* Override any gcc2 internal prototype to avoid an error. */
13819 #ifdef __cplusplus
13820 extern "C"
13821 #endif
13822 /* We use char because int might match the return type of a gcc2
13823 builtin and then its argument prototype would still apply. */
13824 char BIO_new_socket ();
13826 main ()
13828 BIO_new_socket ();
13830 return 0;
13832 _ACEOF
13833 rm -f conftest.$ac_objext conftest$ac_exeext
13834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13835 (eval $ac_link) 2>conftest.er1
13836 ac_status=$?
13837 grep -v '^ *+' conftest.er1 >conftest.err
13838 rm -f conftest.er1
13839 cat conftest.err >&5
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); } &&
13842 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13844 (eval $ac_try) 2>&5
13845 ac_status=$?
13846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13847 (exit $ac_status); }; } &&
13848 { ac_try='test -s conftest$ac_exeext'
13849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13850 (eval $ac_try) 2>&5
13851 ac_status=$?
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 (exit $ac_status); }; }; then
13854 ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"`
13855 if test "x$ac_cv_lib_soname_crypto" = "x"
13856 then
13857 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
13859 else
13860 echo "$as_me: failed program was:" >&5
13861 sed 's/^/| /' conftest.$ac_ext >&5
13863 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
13865 rm -f conftest.err conftest.$ac_objext \
13866 conftest$ac_exeext conftest.$ac_ext
13867 LIBS=$ac_get_soname_save_LIBS
13869 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
13870 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
13871 if test "x$ac_cv_lib_soname_crypto" != xNONE
13872 then
13873 cat >>confdefs.h <<_ACEOF
13874 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
13875 _ACEOF
13878 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
13879 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
13880 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
13881 echo $ECHO_N "(cached) $ECHO_C" >&6
13882 else
13883 ac_get_soname_save_LIBS=$LIBS
13884 LIBS="-lncurses $LIBS"
13885 cat >conftest.$ac_ext <<_ACEOF
13886 /* confdefs.h. */
13887 _ACEOF
13888 cat confdefs.h >>conftest.$ac_ext
13889 cat >>conftest.$ac_ext <<_ACEOF
13890 /* end confdefs.h. */
13892 /* Override any gcc2 internal prototype to avoid an error. */
13893 #ifdef __cplusplus
13894 extern "C"
13895 #endif
13896 /* We use char because int might match the return type of a gcc2
13897 builtin and then its argument prototype would still apply. */
13898 char waddch ();
13900 main ()
13902 waddch ();
13904 return 0;
13906 _ACEOF
13907 rm -f conftest.$ac_objext conftest$ac_exeext
13908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13909 (eval $ac_link) 2>conftest.er1
13910 ac_status=$?
13911 grep -v '^ *+' conftest.er1 >conftest.err
13912 rm -f conftest.er1
13913 cat conftest.err >&5
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); } &&
13916 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13918 (eval $ac_try) 2>&5
13919 ac_status=$?
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); }; } &&
13922 { ac_try='test -s conftest$ac_exeext'
13923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13924 (eval $ac_try) 2>&5
13925 ac_status=$?
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); }; }; then
13928 ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"`
13929 if test "x$ac_cv_lib_soname_ncurses" = "x"
13930 then
13931 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
13933 else
13934 echo "$as_me: failed program was:" >&5
13935 sed 's/^/| /' conftest.$ac_ext >&5
13937 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
13939 rm -f conftest.err conftest.$ac_objext \
13940 conftest$ac_exeext conftest.$ac_ext
13941 LIBS=$ac_get_soname_save_LIBS
13943 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
13944 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
13945 if test "x$ac_cv_lib_soname_ncurses" != xNONE
13946 then
13947 cat >>confdefs.h <<_ACEOF
13948 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13949 _ACEOF
13952 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
13953 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
13954 if test "${ac_cv_lib_soname_curses+set}" = set; then
13955 echo $ECHO_N "(cached) $ECHO_C" >&6
13956 else
13957 ac_get_soname_save_LIBS=$LIBS
13958 LIBS="-lcurses $LIBS"
13959 cat >conftest.$ac_ext <<_ACEOF
13960 /* confdefs.h. */
13961 _ACEOF
13962 cat confdefs.h >>conftest.$ac_ext
13963 cat >>conftest.$ac_ext <<_ACEOF
13964 /* end confdefs.h. */
13966 /* Override any gcc2 internal prototype to avoid an error. */
13967 #ifdef __cplusplus
13968 extern "C"
13969 #endif
13970 /* We use char because int might match the return type of a gcc2
13971 builtin and then its argument prototype would still apply. */
13972 char waddch ();
13974 main ()
13976 waddch ();
13978 return 0;
13980 _ACEOF
13981 rm -f conftest.$ac_objext conftest$ac_exeext
13982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13983 (eval $ac_link) 2>conftest.er1
13984 ac_status=$?
13985 grep -v '^ *+' conftest.er1 >conftest.err
13986 rm -f conftest.er1
13987 cat conftest.err >&5
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); } &&
13990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13992 (eval $ac_try) 2>&5
13993 ac_status=$?
13994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13995 (exit $ac_status); }; } &&
13996 { ac_try='test -s conftest$ac_exeext'
13997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13998 (eval $ac_try) 2>&5
13999 ac_status=$?
14000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14001 (exit $ac_status); }; }; then
14002 ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"`
14003 if test "x$ac_cv_lib_soname_curses" = "x"
14004 then
14005 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
14007 else
14008 echo "$as_me: failed program was:" >&5
14009 sed 's/^/| /' conftest.$ac_ext >&5
14011 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
14013 rm -f conftest.err conftest.$ac_objext \
14014 conftest$ac_exeext conftest.$ac_ext
14015 LIBS=$ac_get_soname_save_LIBS
14017 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
14018 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
14019 if test "x$ac_cv_lib_soname_curses" != xNONE
14020 then
14021 cat >>confdefs.h <<_ACEOF
14022 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
14023 _ACEOF
14026 echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
14027 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6
14028 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14029 echo $ECHO_N "(cached) $ECHO_C" >&6
14030 else
14031 ac_get_soname_save_LIBS=$LIBS
14032 LIBS="-ljpeg $LIBS"
14033 cat >conftest.$ac_ext <<_ACEOF
14034 /* confdefs.h. */
14035 _ACEOF
14036 cat confdefs.h >>conftest.$ac_ext
14037 cat >>conftest.$ac_ext <<_ACEOF
14038 /* end confdefs.h. */
14040 /* Override any gcc2 internal prototype to avoid an error. */
14041 #ifdef __cplusplus
14042 extern "C"
14043 #endif
14044 /* We use char because int might match the return type of a gcc2
14045 builtin and then its argument prototype would still apply. */
14046 char jpeg_start_decompress ();
14048 main ()
14050 jpeg_start_decompress ();
14052 return 0;
14054 _ACEOF
14055 rm -f conftest.$ac_objext conftest$ac_exeext
14056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14057 (eval $ac_link) 2>conftest.er1
14058 ac_status=$?
14059 grep -v '^ *+' conftest.er1 >conftest.err
14060 rm -f conftest.er1
14061 cat conftest.err >&5
14062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14063 (exit $ac_status); } &&
14064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14066 (eval $ac_try) 2>&5
14067 ac_status=$?
14068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14069 (exit $ac_status); }; } &&
14070 { ac_try='test -s conftest$ac_exeext'
14071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14072 (eval $ac_try) 2>&5
14073 ac_status=$?
14074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14075 (exit $ac_status); }; }; then
14076 ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"`
14077 if test "x$ac_cv_lib_soname_jpeg" = "x"
14078 then
14079 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
14081 else
14082 echo "$as_me: failed program was:" >&5
14083 sed 's/^/| /' conftest.$ac_ext >&5
14085 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
14087 rm -f conftest.err conftest.$ac_objext \
14088 conftest$ac_exeext conftest.$ac_ext
14089 LIBS=$ac_get_soname_save_LIBS
14091 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14092 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6
14093 if test "x$ac_cv_lib_soname_jpeg" != xNONE
14094 then
14095 cat >>confdefs.h <<_ACEOF
14096 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14097 _ACEOF
14100 echo "$as_me:$LINENO: checking for -lungif soname" >&5
14101 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6
14102 if test "${ac_cv_lib_soname_ungif+set}" = set; then
14103 echo $ECHO_N "(cached) $ECHO_C" >&6
14104 else
14105 ac_get_soname_save_LIBS=$LIBS
14106 LIBS="-lungif $LIBS"
14107 cat >conftest.$ac_ext <<_ACEOF
14108 /* confdefs.h. */
14109 _ACEOF
14110 cat confdefs.h >>conftest.$ac_ext
14111 cat >>conftest.$ac_ext <<_ACEOF
14112 /* end confdefs.h. */
14114 /* Override any gcc2 internal prototype to avoid an error. */
14115 #ifdef __cplusplus
14116 extern "C"
14117 #endif
14118 /* We use char because int might match the return type of a gcc2
14119 builtin and then its argument prototype would still apply. */
14120 char DGifOpen ();
14122 main ()
14124 DGifOpen ();
14126 return 0;
14128 _ACEOF
14129 rm -f conftest.$ac_objext conftest$ac_exeext
14130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14131 (eval $ac_link) 2>conftest.er1
14132 ac_status=$?
14133 grep -v '^ *+' conftest.er1 >conftest.err
14134 rm -f conftest.er1
14135 cat conftest.err >&5
14136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14137 (exit $ac_status); } &&
14138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14140 (eval $ac_try) 2>&5
14141 ac_status=$?
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); }; } &&
14144 { ac_try='test -s conftest$ac_exeext'
14145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14146 (eval $ac_try) 2>&5
14147 ac_status=$?
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); }; }; then
14150 ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"`
14151 if test "x$ac_cv_lib_soname_ungif" = "x"
14152 then
14153 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
14155 else
14156 echo "$as_me: failed program was:" >&5
14157 sed 's/^/| /' conftest.$ac_ext >&5
14159 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
14161 rm -f conftest.err conftest.$ac_objext \
14162 conftest$ac_exeext conftest.$ac_ext
14163 LIBS=$ac_get_soname_save_LIBS
14165 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
14166 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6
14167 if test "x$ac_cv_lib_soname_ungif" != xNONE
14168 then
14169 cat >>confdefs.h <<_ACEOF
14170 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
14171 _ACEOF
14174 echo "$as_me:$LINENO: checking for -lgif soname" >&5
14175 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6
14176 if test "${ac_cv_lib_soname_gif+set}" = set; then
14177 echo $ECHO_N "(cached) $ECHO_C" >&6
14178 else
14179 ac_get_soname_save_LIBS=$LIBS
14180 LIBS="-lgif $LIBS"
14181 cat >conftest.$ac_ext <<_ACEOF
14182 /* confdefs.h. */
14183 _ACEOF
14184 cat confdefs.h >>conftest.$ac_ext
14185 cat >>conftest.$ac_ext <<_ACEOF
14186 /* end confdefs.h. */
14188 /* Override any gcc2 internal prototype to avoid an error. */
14189 #ifdef __cplusplus
14190 extern "C"
14191 #endif
14192 /* We use char because int might match the return type of a gcc2
14193 builtin and then its argument prototype would still apply. */
14194 char DGifOpen ();
14196 main ()
14198 DGifOpen ();
14200 return 0;
14202 _ACEOF
14203 rm -f conftest.$ac_objext conftest$ac_exeext
14204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14205 (eval $ac_link) 2>conftest.er1
14206 ac_status=$?
14207 grep -v '^ *+' conftest.er1 >conftest.err
14208 rm -f conftest.er1
14209 cat conftest.err >&5
14210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211 (exit $ac_status); } &&
14212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14214 (eval $ac_try) 2>&5
14215 ac_status=$?
14216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217 (exit $ac_status); }; } &&
14218 { ac_try='test -s conftest$ac_exeext'
14219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14220 (eval $ac_try) 2>&5
14221 ac_status=$?
14222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223 (exit $ac_status); }; }; then
14224 ac_cv_lib_soname_gif=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"`
14225 if test "x$ac_cv_lib_soname_gif" = "x"
14226 then
14227 ac_cv_lib_soname_gif="libgif.$LIBEXT"
14229 else
14230 echo "$as_me: failed program was:" >&5
14231 sed 's/^/| /' conftest.$ac_ext >&5
14233 ac_cv_lib_soname_gif="libgif.$LIBEXT"
14235 rm -f conftest.err conftest.$ac_objext \
14236 conftest$ac_exeext conftest.$ac_ext
14237 LIBS=$ac_get_soname_save_LIBS
14239 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
14240 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6
14241 if test "x$ac_cv_lib_soname_gif" != xNONE
14242 then
14243 cat >>confdefs.h <<_ACEOF
14244 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
14245 _ACEOF
14248 echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
14249 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6
14250 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14251 echo $ECHO_N "(cached) $ECHO_C" >&6
14252 else
14253 ac_get_soname_save_LIBS=$LIBS
14254 LIBS="-lcapi20 $LIBS"
14255 cat >conftest.$ac_ext <<_ACEOF
14256 /* confdefs.h. */
14257 _ACEOF
14258 cat confdefs.h >>conftest.$ac_ext
14259 cat >>conftest.$ac_ext <<_ACEOF
14260 /* end confdefs.h. */
14262 /* Override any gcc2 internal prototype to avoid an error. */
14263 #ifdef __cplusplus
14264 extern "C"
14265 #endif
14266 /* We use char because int might match the return type of a gcc2
14267 builtin and then its argument prototype would still apply. */
14268 char capi20_isinstalled ();
14270 main ()
14272 capi20_isinstalled ();
14274 return 0;
14276 _ACEOF
14277 rm -f conftest.$ac_objext conftest$ac_exeext
14278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14279 (eval $ac_link) 2>conftest.er1
14280 ac_status=$?
14281 grep -v '^ *+' conftest.er1 >conftest.err
14282 rm -f conftest.er1
14283 cat conftest.err >&5
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); } &&
14286 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14288 (eval $ac_try) 2>&5
14289 ac_status=$?
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); }; } &&
14292 { ac_try='test -s conftest$ac_exeext'
14293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14294 (eval $ac_try) 2>&5
14295 ac_status=$?
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 (exit $ac_status); }; }; then
14298 ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.$LIBEXT | sed "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"`
14299 if test "x$ac_cv_lib_soname_capi20" = "x"
14300 then
14301 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
14303 else
14304 echo "$as_me: failed program was:" >&5
14305 sed 's/^/| /' conftest.$ac_ext >&5
14307 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
14309 rm -f conftest.err conftest.$ac_objext \
14310 conftest$ac_exeext conftest.$ac_ext
14311 LIBS=$ac_get_soname_save_LIBS
14313 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14314 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6
14315 if test "x$ac_cv_lib_soname_capi20" != xNONE
14316 then
14317 cat >>confdefs.h <<_ACEOF
14318 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14319 _ACEOF
14325 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14326 # for constant arguments. Useless!
14327 echo "$as_me:$LINENO: checking for working alloca.h" >&5
14328 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
14329 if test "${ac_cv_working_alloca_h+set}" = set; then
14330 echo $ECHO_N "(cached) $ECHO_C" >&6
14331 else
14332 cat >conftest.$ac_ext <<_ACEOF
14333 /* confdefs.h. */
14334 _ACEOF
14335 cat confdefs.h >>conftest.$ac_ext
14336 cat >>conftest.$ac_ext <<_ACEOF
14337 /* end confdefs.h. */
14338 #include <alloca.h>
14340 main ()
14342 char *p = (char *) alloca (2 * sizeof (int));
14344 return 0;
14346 _ACEOF
14347 rm -f conftest.$ac_objext conftest$ac_exeext
14348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14349 (eval $ac_link) 2>conftest.er1
14350 ac_status=$?
14351 grep -v '^ *+' conftest.er1 >conftest.err
14352 rm -f conftest.er1
14353 cat conftest.err >&5
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); } &&
14356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14358 (eval $ac_try) 2>&5
14359 ac_status=$?
14360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14361 (exit $ac_status); }; } &&
14362 { ac_try='test -s conftest$ac_exeext'
14363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14364 (eval $ac_try) 2>&5
14365 ac_status=$?
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); }; }; then
14368 ac_cv_working_alloca_h=yes
14369 else
14370 echo "$as_me: failed program was:" >&5
14371 sed 's/^/| /' conftest.$ac_ext >&5
14373 ac_cv_working_alloca_h=no
14375 rm -f conftest.err conftest.$ac_objext \
14376 conftest$ac_exeext conftest.$ac_ext
14378 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
14379 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
14380 if test $ac_cv_working_alloca_h = yes; then
14382 cat >>confdefs.h <<\_ACEOF
14383 #define HAVE_ALLOCA_H 1
14384 _ACEOF
14388 echo "$as_me:$LINENO: checking for alloca" >&5
14389 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
14390 if test "${ac_cv_func_alloca_works+set}" = set; then
14391 echo $ECHO_N "(cached) $ECHO_C" >&6
14392 else
14393 cat >conftest.$ac_ext <<_ACEOF
14394 /* confdefs.h. */
14395 _ACEOF
14396 cat confdefs.h >>conftest.$ac_ext
14397 cat >>conftest.$ac_ext <<_ACEOF
14398 /* end confdefs.h. */
14399 #ifdef __GNUC__
14400 # define alloca __builtin_alloca
14401 #else
14402 # ifdef _MSC_VER
14403 # include <malloc.h>
14404 # define alloca _alloca
14405 # else
14406 # if HAVE_ALLOCA_H
14407 # include <alloca.h>
14408 # else
14409 # ifdef _AIX
14410 #pragma alloca
14411 # else
14412 # ifndef alloca /* predefined by HP cc +Olibcalls */
14413 char *alloca ();
14414 # endif
14415 # endif
14416 # endif
14417 # endif
14418 #endif
14421 main ()
14423 char *p = (char *) alloca (1);
14425 return 0;
14427 _ACEOF
14428 rm -f conftest.$ac_objext conftest$ac_exeext
14429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14430 (eval $ac_link) 2>conftest.er1
14431 ac_status=$?
14432 grep -v '^ *+' conftest.er1 >conftest.err
14433 rm -f conftest.er1
14434 cat conftest.err >&5
14435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14436 (exit $ac_status); } &&
14437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14439 (eval $ac_try) 2>&5
14440 ac_status=$?
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); }; } &&
14443 { ac_try='test -s conftest$ac_exeext'
14444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14445 (eval $ac_try) 2>&5
14446 ac_status=$?
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); }; }; then
14449 ac_cv_func_alloca_works=yes
14450 else
14451 echo "$as_me: failed program was:" >&5
14452 sed 's/^/| /' conftest.$ac_ext >&5
14454 ac_cv_func_alloca_works=no
14456 rm -f conftest.err conftest.$ac_objext \
14457 conftest$ac_exeext conftest.$ac_ext
14459 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
14460 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
14462 if test $ac_cv_func_alloca_works = yes; then
14464 cat >>confdefs.h <<\_ACEOF
14465 #define HAVE_ALLOCA 1
14466 _ACEOF
14468 else
14469 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
14470 # that cause trouble. Some versions do not even contain alloca or
14471 # contain a buggy version. If you still want to use their alloca,
14472 # use ar to extract alloca.o from them instead of compiling alloca.c.
14474 ALLOCA=alloca.$ac_objext
14476 cat >>confdefs.h <<\_ACEOF
14477 #define C_ALLOCA 1
14478 _ACEOF
14481 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
14482 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
14483 if test "${ac_cv_os_cray+set}" = set; then
14484 echo $ECHO_N "(cached) $ECHO_C" >&6
14485 else
14486 cat >conftest.$ac_ext <<_ACEOF
14487 /* confdefs.h. */
14488 _ACEOF
14489 cat confdefs.h >>conftest.$ac_ext
14490 cat >>conftest.$ac_ext <<_ACEOF
14491 /* end confdefs.h. */
14492 #if defined(CRAY) && ! defined(CRAY2)
14493 webecray
14494 #else
14495 wenotbecray
14496 #endif
14498 _ACEOF
14499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14500 $EGREP "webecray" >/dev/null 2>&1; then
14501 ac_cv_os_cray=yes
14502 else
14503 ac_cv_os_cray=no
14505 rm -f conftest*
14508 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
14509 echo "${ECHO_T}$ac_cv_os_cray" >&6
14510 if test $ac_cv_os_cray = yes; then
14511 for ac_func in _getb67 GETB67 getb67; do
14512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14513 echo "$as_me:$LINENO: checking for $ac_func" >&5
14514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14515 if eval "test \"\${$as_ac_var+set}\" = set"; then
14516 echo $ECHO_N "(cached) $ECHO_C" >&6
14517 else
14518 cat >conftest.$ac_ext <<_ACEOF
14519 /* confdefs.h. */
14520 _ACEOF
14521 cat confdefs.h >>conftest.$ac_ext
14522 cat >>conftest.$ac_ext <<_ACEOF
14523 /* end confdefs.h. */
14524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14526 #define $ac_func innocuous_$ac_func
14528 /* System header to define __stub macros and hopefully few prototypes,
14529 which can conflict with char $ac_func (); below.
14530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14531 <limits.h> exists even on freestanding compilers. */
14533 #ifdef __STDC__
14534 # include <limits.h>
14535 #else
14536 # include <assert.h>
14537 #endif
14539 #undef $ac_func
14541 /* Override any gcc2 internal prototype to avoid an error. */
14542 #ifdef __cplusplus
14543 extern "C"
14545 #endif
14546 /* We use char because int might match the return type of a gcc2
14547 builtin and then its argument prototype would still apply. */
14548 char $ac_func ();
14549 /* The GNU C library defines this for functions which it implements
14550 to always fail with ENOSYS. Some functions are actually named
14551 something starting with __ and the normal name is an alias. */
14552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14553 choke me
14554 #else
14555 char (*f) () = $ac_func;
14556 #endif
14557 #ifdef __cplusplus
14559 #endif
14562 main ()
14564 return f != $ac_func;
14566 return 0;
14568 _ACEOF
14569 rm -f conftest.$ac_objext conftest$ac_exeext
14570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14571 (eval $ac_link) 2>conftest.er1
14572 ac_status=$?
14573 grep -v '^ *+' conftest.er1 >conftest.err
14574 rm -f conftest.er1
14575 cat conftest.err >&5
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); } &&
14578 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14580 (eval $ac_try) 2>&5
14581 ac_status=$?
14582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583 (exit $ac_status); }; } &&
14584 { ac_try='test -s conftest$ac_exeext'
14585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14586 (eval $ac_try) 2>&5
14587 ac_status=$?
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); }; }; then
14590 eval "$as_ac_var=yes"
14591 else
14592 echo "$as_me: failed program was:" >&5
14593 sed 's/^/| /' conftest.$ac_ext >&5
14595 eval "$as_ac_var=no"
14597 rm -f conftest.err conftest.$ac_objext \
14598 conftest$ac_exeext conftest.$ac_ext
14600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14602 if test `eval echo '${'$as_ac_var'}'` = yes; then
14604 cat >>confdefs.h <<_ACEOF
14605 #define CRAY_STACKSEG_END $ac_func
14606 _ACEOF
14608 break
14611 done
14614 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
14615 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
14616 if test "${ac_cv_c_stack_direction+set}" = set; then
14617 echo $ECHO_N "(cached) $ECHO_C" >&6
14618 else
14619 if test "$cross_compiling" = yes; then
14620 ac_cv_c_stack_direction=0
14621 else
14622 cat >conftest.$ac_ext <<_ACEOF
14623 /* confdefs.h. */
14624 _ACEOF
14625 cat confdefs.h >>conftest.$ac_ext
14626 cat >>conftest.$ac_ext <<_ACEOF
14627 /* end confdefs.h. */
14629 find_stack_direction ()
14631 static char *addr = 0;
14632 auto char dummy;
14633 if (addr == 0)
14635 addr = &dummy;
14636 return find_stack_direction ();
14638 else
14639 return (&dummy > addr) ? 1 : -1;
14643 main ()
14645 exit (find_stack_direction () < 0);
14647 _ACEOF
14648 rm -f conftest$ac_exeext
14649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14650 (eval $ac_link) 2>&5
14651 ac_status=$?
14652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14653 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14655 (eval $ac_try) 2>&5
14656 ac_status=$?
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); }; }; then
14659 ac_cv_c_stack_direction=1
14660 else
14661 echo "$as_me: program exited with status $ac_status" >&5
14662 echo "$as_me: failed program was:" >&5
14663 sed 's/^/| /' conftest.$ac_ext >&5
14665 ( exit $ac_status )
14666 ac_cv_c_stack_direction=-1
14668 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14671 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
14672 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
14674 cat >>confdefs.h <<_ACEOF
14675 #define STACK_DIRECTION $ac_cv_c_stack_direction
14676 _ACEOF
14741 for ac_func in \
14742 _lwp_create \
14743 _lwp_self \
14744 _pclose \
14745 _popen \
14746 _snprintf \
14747 _spawnvp \
14748 _stricmp \
14749 _strnicmp \
14750 _vsnprintf \
14751 chsize \
14752 clone \
14753 epoll_create \
14754 ffs \
14755 finite \
14756 fork \
14757 fpclass \
14758 fstatfs \
14759 fstatvfs \
14760 ftruncate \
14761 futimes \
14762 futimesat \
14763 getnetbyname \
14764 getopt_long \
14765 getpagesize \
14766 getprotobyname \
14767 getprotobynumber \
14768 getpwuid \
14769 getservbyport \
14770 gettid \
14771 gettimeofday \
14772 getuid \
14773 inet_network \
14774 lstat \
14775 memmove \
14776 mmap \
14777 pclose \
14778 popen \
14779 pread \
14780 pwrite \
14781 readlink \
14782 rfork \
14783 sched_yield \
14784 select \
14785 sendmsg \
14786 settimeofday \
14787 sigaltstack \
14788 sigprocmask \
14789 snprintf \
14790 spawnvp \
14791 statfs \
14792 statvfs \
14793 strcasecmp \
14794 strerror \
14795 strncasecmp \
14796 tcgetattr \
14797 timegm \
14798 usleep \
14799 vsnprintf \
14800 wait4 \
14801 waitpid \
14804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14805 echo "$as_me:$LINENO: checking for $ac_func" >&5
14806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14807 if eval "test \"\${$as_ac_var+set}\" = set"; then
14808 echo $ECHO_N "(cached) $ECHO_C" >&6
14809 else
14810 cat >conftest.$ac_ext <<_ACEOF
14811 /* confdefs.h. */
14812 _ACEOF
14813 cat confdefs.h >>conftest.$ac_ext
14814 cat >>conftest.$ac_ext <<_ACEOF
14815 /* end confdefs.h. */
14816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14818 #define $ac_func innocuous_$ac_func
14820 /* System header to define __stub macros and hopefully few prototypes,
14821 which can conflict with char $ac_func (); below.
14822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14823 <limits.h> exists even on freestanding compilers. */
14825 #ifdef __STDC__
14826 # include <limits.h>
14827 #else
14828 # include <assert.h>
14829 #endif
14831 #undef $ac_func
14833 /* Override any gcc2 internal prototype to avoid an error. */
14834 #ifdef __cplusplus
14835 extern "C"
14837 #endif
14838 /* We use char because int might match the return type of a gcc2
14839 builtin and then its argument prototype would still apply. */
14840 char $ac_func ();
14841 /* The GNU C library defines this for functions which it implements
14842 to always fail with ENOSYS. Some functions are actually named
14843 something starting with __ and the normal name is an alias. */
14844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14845 choke me
14846 #else
14847 char (*f) () = $ac_func;
14848 #endif
14849 #ifdef __cplusplus
14851 #endif
14854 main ()
14856 return f != $ac_func;
14858 return 0;
14860 _ACEOF
14861 rm -f conftest.$ac_objext conftest$ac_exeext
14862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14863 (eval $ac_link) 2>conftest.er1
14864 ac_status=$?
14865 grep -v '^ *+' conftest.er1 >conftest.err
14866 rm -f conftest.er1
14867 cat conftest.err >&5
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); } &&
14870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14872 (eval $ac_try) 2>&5
14873 ac_status=$?
14874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14875 (exit $ac_status); }; } &&
14876 { ac_try='test -s conftest$ac_exeext'
14877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14878 (eval $ac_try) 2>&5
14879 ac_status=$?
14880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881 (exit $ac_status); }; }; then
14882 eval "$as_ac_var=yes"
14883 else
14884 echo "$as_me: failed program was:" >&5
14885 sed 's/^/| /' conftest.$ac_ext >&5
14887 eval "$as_ac_var=no"
14889 rm -f conftest.err conftest.$ac_objext \
14890 conftest$ac_exeext conftest.$ac_ext
14892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14894 if test `eval echo '${'$as_ac_var'}'` = yes; then
14895 cat >>confdefs.h <<_ACEOF
14896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14897 _ACEOF
14900 done
14908 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
14910 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14911 echo "$as_me:$LINENO: checking for $ac_header" >&5
14912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14914 echo $ECHO_N "(cached) $ECHO_C" >&6
14915 else
14916 cat >conftest.$ac_ext <<_ACEOF
14917 /* confdefs.h. */
14918 _ACEOF
14919 cat confdefs.h >>conftest.$ac_ext
14920 cat >>conftest.$ac_ext <<_ACEOF
14921 /* end confdefs.h. */
14922 #include <sys/types.h>
14923 #if HAVE_SYS_PARAM_H
14924 # include <sys/param.h>
14925 #endif
14927 #include <$ac_header>
14928 _ACEOF
14929 rm -f conftest.$ac_objext
14930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14931 (eval $ac_compile) 2>conftest.er1
14932 ac_status=$?
14933 grep -v '^ *+' conftest.er1 >conftest.err
14934 rm -f conftest.er1
14935 cat conftest.err >&5
14936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14937 (exit $ac_status); } &&
14938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14940 (eval $ac_try) 2>&5
14941 ac_status=$?
14942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14943 (exit $ac_status); }; } &&
14944 { ac_try='test -s conftest.$ac_objext'
14945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14946 (eval $ac_try) 2>&5
14947 ac_status=$?
14948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14949 (exit $ac_status); }; }; then
14950 eval "$as_ac_Header=yes"
14951 else
14952 echo "$as_me: failed program was:" >&5
14953 sed 's/^/| /' conftest.$ac_ext >&5
14955 eval "$as_ac_Header=no"
14957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14960 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14961 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14962 cat >>confdefs.h <<_ACEOF
14963 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14964 _ACEOF
14968 done
14977 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
14979 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14980 echo "$as_me:$LINENO: checking for $ac_header" >&5
14981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14983 echo $ECHO_N "(cached) $ECHO_C" >&6
14984 else
14985 cat >conftest.$ac_ext <<_ACEOF
14986 /* confdefs.h. */
14987 _ACEOF
14988 cat confdefs.h >>conftest.$ac_ext
14989 cat >>conftest.$ac_ext <<_ACEOF
14990 /* end confdefs.h. */
14991 #include <sys/types.h>
14992 #if HAVE_SYS_SOCKET_H
14993 # include <sys/socket.h>
14994 #endif
14996 #include <$ac_header>
14997 _ACEOF
14998 rm -f conftest.$ac_objext
14999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15000 (eval $ac_compile) 2>conftest.er1
15001 ac_status=$?
15002 grep -v '^ *+' conftest.er1 >conftest.err
15003 rm -f conftest.er1
15004 cat conftest.err >&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); } &&
15007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15009 (eval $ac_try) 2>&5
15010 ac_status=$?
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); }; } &&
15013 { ac_try='test -s conftest.$ac_objext'
15014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15015 (eval $ac_try) 2>&5
15016 ac_status=$?
15017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15018 (exit $ac_status); }; }; then
15019 eval "$as_ac_Header=yes"
15020 else
15021 echo "$as_me: failed program was:" >&5
15022 sed 's/^/| /' conftest.$ac_ext >&5
15024 eval "$as_ac_Header=no"
15026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15030 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15031 cat >>confdefs.h <<_ACEOF
15032 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15033 _ACEOF
15037 done
15041 for ac_header in resolv.h
15043 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15044 echo "$as_me:$LINENO: checking for $ac_header" >&5
15045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15047 echo $ECHO_N "(cached) $ECHO_C" >&6
15048 else
15049 cat >conftest.$ac_ext <<_ACEOF
15050 /* confdefs.h. */
15051 _ACEOF
15052 cat confdefs.h >>conftest.$ac_ext
15053 cat >>conftest.$ac_ext <<_ACEOF
15054 /* end confdefs.h. */
15055 #include <sys/types.h>
15056 #if HAVE_SYS_SOCKET_H
15057 # include <sys/socket.h>
15058 #endif
15059 #if HAVE_NETINET_IN_H
15060 # include <netinet/in.h>
15061 #endif
15062 #if HAVE_ARPA_NAMESER_H
15063 # include <arpa/nameser.h>
15064 #endif
15066 #include <$ac_header>
15067 _ACEOF
15068 rm -f conftest.$ac_objext
15069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15070 (eval $ac_compile) 2>conftest.er1
15071 ac_status=$?
15072 grep -v '^ *+' conftest.er1 >conftest.err
15073 rm -f conftest.er1
15074 cat conftest.err >&5
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); } &&
15077 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15079 (eval $ac_try) 2>&5
15080 ac_status=$?
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); }; } &&
15083 { ac_try='test -s conftest.$ac_objext'
15084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15085 (eval $ac_try) 2>&5
15086 ac_status=$?
15087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15088 (exit $ac_status); }; }; then
15089 eval "$as_ac_Header=yes"
15090 else
15091 echo "$as_me: failed program was:" >&5
15092 sed 's/^/| /' conftest.$ac_ext >&5
15094 eval "$as_ac_Header=no"
15096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15100 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15101 cat >>confdefs.h <<_ACEOF
15102 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15103 _ACEOF
15107 done
15111 for ac_header in ucontext.h
15113 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15114 echo "$as_me:$LINENO: checking for $ac_header" >&5
15115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15117 echo $ECHO_N "(cached) $ECHO_C" >&6
15118 else
15119 cat >conftest.$ac_ext <<_ACEOF
15120 /* confdefs.h. */
15121 _ACEOF
15122 cat confdefs.h >>conftest.$ac_ext
15123 cat >>conftest.$ac_ext <<_ACEOF
15124 /* end confdefs.h. */
15125 #include <signal.h>
15127 #include <$ac_header>
15128 _ACEOF
15129 rm -f conftest.$ac_objext
15130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15131 (eval $ac_compile) 2>conftest.er1
15132 ac_status=$?
15133 grep -v '^ *+' conftest.er1 >conftest.err
15134 rm -f conftest.er1
15135 cat conftest.err >&5
15136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15137 (exit $ac_status); } &&
15138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15140 (eval $ac_try) 2>&5
15141 ac_status=$?
15142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15143 (exit $ac_status); }; } &&
15144 { ac_try='test -s conftest.$ac_objext'
15145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15146 (eval $ac_try) 2>&5
15147 ac_status=$?
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); }; }; then
15150 eval "$as_ac_Header=yes"
15151 else
15152 echo "$as_me: failed program was:" >&5
15153 sed 's/^/| /' conftest.$ac_ext >&5
15155 eval "$as_ac_Header=no"
15157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15162 cat >>confdefs.h <<_ACEOF
15163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15164 _ACEOF
15168 done
15173 for ac_header in linux/ipx.h linux/videodev.h
15175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15176 echo "$as_me:$LINENO: checking for $ac_header" >&5
15177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15179 echo $ECHO_N "(cached) $ECHO_C" >&6
15180 else
15181 cat >conftest.$ac_ext <<_ACEOF
15182 /* confdefs.h. */
15183 _ACEOF
15184 cat confdefs.h >>conftest.$ac_ext
15185 cat >>conftest.$ac_ext <<_ACEOF
15186 /* end confdefs.h. */
15187 #ifdef HAVE_SYS_TIME_H
15188 #include <sys/time.h>
15189 #endif
15190 #include <sys/types.h>
15191 #ifdef HAVE_ASM_TYPES_H
15192 #include <asm/types.h>
15193 #endif
15195 #include <$ac_header>
15196 _ACEOF
15197 rm -f conftest.$ac_objext
15198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15199 (eval $ac_compile) 2>conftest.er1
15200 ac_status=$?
15201 grep -v '^ *+' conftest.er1 >conftest.err
15202 rm -f conftest.er1
15203 cat conftest.err >&5
15204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15205 (exit $ac_status); } &&
15206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15208 (eval $ac_try) 2>&5
15209 ac_status=$?
15210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15211 (exit $ac_status); }; } &&
15212 { ac_try='test -s conftest.$ac_objext'
15213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15214 (eval $ac_try) 2>&5
15215 ac_status=$?
15216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15217 (exit $ac_status); }; }; then
15218 eval "$as_ac_Header=yes"
15219 else
15220 echo "$as_me: failed program was:" >&5
15221 sed 's/^/| /' conftest.$ac_ext >&5
15223 eval "$as_ac_Header=no"
15225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15228 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15230 cat >>confdefs.h <<_ACEOF
15231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15232 _ACEOF
15236 done
15240 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15241 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15242 if test "${ac_cv_c_const+set}" = set; then
15243 echo $ECHO_N "(cached) $ECHO_C" >&6
15244 else
15245 cat >conftest.$ac_ext <<_ACEOF
15246 /* confdefs.h. */
15247 _ACEOF
15248 cat confdefs.h >>conftest.$ac_ext
15249 cat >>conftest.$ac_ext <<_ACEOF
15250 /* end confdefs.h. */
15253 main ()
15255 /* FIXME: Include the comments suggested by Paul. */
15256 #ifndef __cplusplus
15257 /* Ultrix mips cc rejects this. */
15258 typedef int charset[2];
15259 const charset x;
15260 /* SunOS 4.1.1 cc rejects this. */
15261 char const *const *ccp;
15262 char **p;
15263 /* NEC SVR4.0.2 mips cc rejects this. */
15264 struct point {int x, y;};
15265 static struct point const zero = {0,0};
15266 /* AIX XL C 1.02.0.0 rejects this.
15267 It does not let you subtract one const X* pointer from another in
15268 an arm of an if-expression whose if-part is not a constant
15269 expression */
15270 const char *g = "string";
15271 ccp = &g + (g ? g-g : 0);
15272 /* HPUX 7.0 cc rejects these. */
15273 ++ccp;
15274 p = (char**) ccp;
15275 ccp = (char const *const *) p;
15276 { /* SCO 3.2v4 cc rejects this. */
15277 char *t;
15278 char const *s = 0 ? (char *) 0 : (char const *) 0;
15280 *t++ = 0;
15282 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15283 int x[] = {25, 17};
15284 const int *foo = &x[0];
15285 ++foo;
15287 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15288 typedef const int *iptr;
15289 iptr p = 0;
15290 ++p;
15292 { /* AIX XL C 1.02.0.0 rejects this saying
15293 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15294 struct s { int j; const int *ap[3]; };
15295 struct s *b; b->j = 5;
15297 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15298 const int foo = 10;
15300 #endif
15303 return 0;
15305 _ACEOF
15306 rm -f conftest.$ac_objext
15307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15308 (eval $ac_compile) 2>conftest.er1
15309 ac_status=$?
15310 grep -v '^ *+' conftest.er1 >conftest.err
15311 rm -f conftest.er1
15312 cat conftest.err >&5
15313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15314 (exit $ac_status); } &&
15315 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15317 (eval $ac_try) 2>&5
15318 ac_status=$?
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); }; } &&
15321 { ac_try='test -s conftest.$ac_objext'
15322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15323 (eval $ac_try) 2>&5
15324 ac_status=$?
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); }; }; then
15327 ac_cv_c_const=yes
15328 else
15329 echo "$as_me: failed program was:" >&5
15330 sed 's/^/| /' conftest.$ac_ext >&5
15332 ac_cv_c_const=no
15334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15336 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15337 echo "${ECHO_T}$ac_cv_c_const" >&6
15338 if test $ac_cv_c_const = no; then
15340 cat >>confdefs.h <<\_ACEOF
15341 #define const
15342 _ACEOF
15346 echo "$as_me:$LINENO: checking for inline" >&5
15347 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15348 if test "${ac_cv_c_inline+set}" = set; then
15349 echo $ECHO_N "(cached) $ECHO_C" >&6
15350 else
15351 ac_cv_c_inline=no
15352 for ac_kw in inline __inline__ __inline; do
15353 cat >conftest.$ac_ext <<_ACEOF
15354 /* confdefs.h. */
15355 _ACEOF
15356 cat confdefs.h >>conftest.$ac_ext
15357 cat >>conftest.$ac_ext <<_ACEOF
15358 /* end confdefs.h. */
15359 #ifndef __cplusplus
15360 typedef int foo_t;
15361 static $ac_kw foo_t static_foo () {return 0; }
15362 $ac_kw foo_t foo () {return 0; }
15363 #endif
15365 _ACEOF
15366 rm -f conftest.$ac_objext
15367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15368 (eval $ac_compile) 2>conftest.er1
15369 ac_status=$?
15370 grep -v '^ *+' conftest.er1 >conftest.err
15371 rm -f conftest.er1
15372 cat conftest.err >&5
15373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15374 (exit $ac_status); } &&
15375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15377 (eval $ac_try) 2>&5
15378 ac_status=$?
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); }; } &&
15381 { ac_try='test -s conftest.$ac_objext'
15382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15383 (eval $ac_try) 2>&5
15384 ac_status=$?
15385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15386 (exit $ac_status); }; }; then
15387 ac_cv_c_inline=$ac_kw; break
15388 else
15389 echo "$as_me: failed program was:" >&5
15390 sed 's/^/| /' conftest.$ac_ext >&5
15393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15394 done
15397 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15398 echo "${ECHO_T}$ac_cv_c_inline" >&6
15401 case $ac_cv_c_inline in
15402 inline | yes) ;;
15404 case $ac_cv_c_inline in
15405 no) ac_val=;;
15406 *) ac_val=$ac_cv_c_inline;;
15407 esac
15408 cat >>confdefs.h <<_ACEOF
15409 #ifndef __cplusplus
15410 #define inline $ac_val
15411 #endif
15412 _ACEOF
15414 esac
15416 echo "$as_me:$LINENO: checking for mode_t" >&5
15417 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
15418 if test "${ac_cv_type_mode_t+set}" = set; then
15419 echo $ECHO_N "(cached) $ECHO_C" >&6
15420 else
15421 cat >conftest.$ac_ext <<_ACEOF
15422 /* confdefs.h. */
15423 _ACEOF
15424 cat confdefs.h >>conftest.$ac_ext
15425 cat >>conftest.$ac_ext <<_ACEOF
15426 /* end confdefs.h. */
15427 $ac_includes_default
15429 main ()
15431 if ((mode_t *) 0)
15432 return 0;
15433 if (sizeof (mode_t))
15434 return 0;
15436 return 0;
15438 _ACEOF
15439 rm -f conftest.$ac_objext
15440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15441 (eval $ac_compile) 2>conftest.er1
15442 ac_status=$?
15443 grep -v '^ *+' conftest.er1 >conftest.err
15444 rm -f conftest.er1
15445 cat conftest.err >&5
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); } &&
15448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15450 (eval $ac_try) 2>&5
15451 ac_status=$?
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); }; } &&
15454 { ac_try='test -s conftest.$ac_objext'
15455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15456 (eval $ac_try) 2>&5
15457 ac_status=$?
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); }; }; then
15460 ac_cv_type_mode_t=yes
15461 else
15462 echo "$as_me: failed program was:" >&5
15463 sed 's/^/| /' conftest.$ac_ext >&5
15465 ac_cv_type_mode_t=no
15467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15469 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
15470 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
15471 if test $ac_cv_type_mode_t = yes; then
15473 cat >>confdefs.h <<_ACEOF
15474 #define HAVE_MODE_T 1
15475 _ACEOF
15479 echo "$as_me:$LINENO: checking for off_t" >&5
15480 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
15481 if test "${ac_cv_type_off_t+set}" = set; then
15482 echo $ECHO_N "(cached) $ECHO_C" >&6
15483 else
15484 cat >conftest.$ac_ext <<_ACEOF
15485 /* confdefs.h. */
15486 _ACEOF
15487 cat confdefs.h >>conftest.$ac_ext
15488 cat >>conftest.$ac_ext <<_ACEOF
15489 /* end confdefs.h. */
15490 $ac_includes_default
15492 main ()
15494 if ((off_t *) 0)
15495 return 0;
15496 if (sizeof (off_t))
15497 return 0;
15499 return 0;
15501 _ACEOF
15502 rm -f conftest.$ac_objext
15503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15504 (eval $ac_compile) 2>conftest.er1
15505 ac_status=$?
15506 grep -v '^ *+' conftest.er1 >conftest.err
15507 rm -f conftest.er1
15508 cat conftest.err >&5
15509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15510 (exit $ac_status); } &&
15511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15513 (eval $ac_try) 2>&5
15514 ac_status=$?
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); }; } &&
15517 { ac_try='test -s conftest.$ac_objext'
15518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15519 (eval $ac_try) 2>&5
15520 ac_status=$?
15521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522 (exit $ac_status); }; }; then
15523 ac_cv_type_off_t=yes
15524 else
15525 echo "$as_me: failed program was:" >&5
15526 sed 's/^/| /' conftest.$ac_ext >&5
15528 ac_cv_type_off_t=no
15530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15532 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
15533 echo "${ECHO_T}$ac_cv_type_off_t" >&6
15534 if test $ac_cv_type_off_t = yes; then
15536 cat >>confdefs.h <<_ACEOF
15537 #define HAVE_OFF_T 1
15538 _ACEOF
15542 echo "$as_me:$LINENO: checking for pid_t" >&5
15543 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
15544 if test "${ac_cv_type_pid_t+set}" = set; then
15545 echo $ECHO_N "(cached) $ECHO_C" >&6
15546 else
15547 cat >conftest.$ac_ext <<_ACEOF
15548 /* confdefs.h. */
15549 _ACEOF
15550 cat confdefs.h >>conftest.$ac_ext
15551 cat >>conftest.$ac_ext <<_ACEOF
15552 /* end confdefs.h. */
15553 $ac_includes_default
15555 main ()
15557 if ((pid_t *) 0)
15558 return 0;
15559 if (sizeof (pid_t))
15560 return 0;
15562 return 0;
15564 _ACEOF
15565 rm -f conftest.$ac_objext
15566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15567 (eval $ac_compile) 2>conftest.er1
15568 ac_status=$?
15569 grep -v '^ *+' conftest.er1 >conftest.err
15570 rm -f conftest.er1
15571 cat conftest.err >&5
15572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15573 (exit $ac_status); } &&
15574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15576 (eval $ac_try) 2>&5
15577 ac_status=$?
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); }; } &&
15580 { ac_try='test -s conftest.$ac_objext'
15581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15582 (eval $ac_try) 2>&5
15583 ac_status=$?
15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); }; }; then
15586 ac_cv_type_pid_t=yes
15587 else
15588 echo "$as_me: failed program was:" >&5
15589 sed 's/^/| /' conftest.$ac_ext >&5
15591 ac_cv_type_pid_t=no
15593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15595 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
15596 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
15597 if test $ac_cv_type_pid_t = yes; then
15599 cat >>confdefs.h <<_ACEOF
15600 #define HAVE_PID_T 1
15601 _ACEOF
15605 echo "$as_me:$LINENO: checking for size_t" >&5
15606 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
15607 if test "${ac_cv_type_size_t+set}" = set; then
15608 echo $ECHO_N "(cached) $ECHO_C" >&6
15609 else
15610 cat >conftest.$ac_ext <<_ACEOF
15611 /* confdefs.h. */
15612 _ACEOF
15613 cat confdefs.h >>conftest.$ac_ext
15614 cat >>conftest.$ac_ext <<_ACEOF
15615 /* end confdefs.h. */
15616 $ac_includes_default
15618 main ()
15620 if ((size_t *) 0)
15621 return 0;
15622 if (sizeof (size_t))
15623 return 0;
15625 return 0;
15627 _ACEOF
15628 rm -f conftest.$ac_objext
15629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15630 (eval $ac_compile) 2>conftest.er1
15631 ac_status=$?
15632 grep -v '^ *+' conftest.er1 >conftest.err
15633 rm -f conftest.er1
15634 cat conftest.err >&5
15635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15636 (exit $ac_status); } &&
15637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15639 (eval $ac_try) 2>&5
15640 ac_status=$?
15641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15642 (exit $ac_status); }; } &&
15643 { ac_try='test -s conftest.$ac_objext'
15644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15645 (eval $ac_try) 2>&5
15646 ac_status=$?
15647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15648 (exit $ac_status); }; }; then
15649 ac_cv_type_size_t=yes
15650 else
15651 echo "$as_me: failed program was:" >&5
15652 sed 's/^/| /' conftest.$ac_ext >&5
15654 ac_cv_type_size_t=no
15656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15658 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
15659 echo "${ECHO_T}$ac_cv_type_size_t" >&6
15660 if test $ac_cv_type_size_t = yes; then
15662 cat >>confdefs.h <<_ACEOF
15663 #define HAVE_SIZE_T 1
15664 _ACEOF
15668 echo "$as_me:$LINENO: checking for ssize_t" >&5
15669 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
15670 if test "${ac_cv_type_ssize_t+set}" = set; then
15671 echo $ECHO_N "(cached) $ECHO_C" >&6
15672 else
15673 cat >conftest.$ac_ext <<_ACEOF
15674 /* confdefs.h. */
15675 _ACEOF
15676 cat confdefs.h >>conftest.$ac_ext
15677 cat >>conftest.$ac_ext <<_ACEOF
15678 /* end confdefs.h. */
15679 $ac_includes_default
15681 main ()
15683 if ((ssize_t *) 0)
15684 return 0;
15685 if (sizeof (ssize_t))
15686 return 0;
15688 return 0;
15690 _ACEOF
15691 rm -f conftest.$ac_objext
15692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15693 (eval $ac_compile) 2>conftest.er1
15694 ac_status=$?
15695 grep -v '^ *+' conftest.er1 >conftest.err
15696 rm -f conftest.er1
15697 cat conftest.err >&5
15698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699 (exit $ac_status); } &&
15700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15702 (eval $ac_try) 2>&5
15703 ac_status=$?
15704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705 (exit $ac_status); }; } &&
15706 { ac_try='test -s conftest.$ac_objext'
15707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15708 (eval $ac_try) 2>&5
15709 ac_status=$?
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); }; }; then
15712 ac_cv_type_ssize_t=yes
15713 else
15714 echo "$as_me: failed program was:" >&5
15715 sed 's/^/| /' conftest.$ac_ext >&5
15717 ac_cv_type_ssize_t=no
15719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15721 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
15722 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
15723 if test $ac_cv_type_ssize_t = yes; then
15725 cat >>confdefs.h <<_ACEOF
15726 #define HAVE_SSIZE_T 1
15727 _ACEOF
15731 echo "$as_me:$LINENO: checking for long long" >&5
15732 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15733 if test "${ac_cv_type_long_long+set}" = set; then
15734 echo $ECHO_N "(cached) $ECHO_C" >&6
15735 else
15736 cat >conftest.$ac_ext <<_ACEOF
15737 /* confdefs.h. */
15738 _ACEOF
15739 cat confdefs.h >>conftest.$ac_ext
15740 cat >>conftest.$ac_ext <<_ACEOF
15741 /* end confdefs.h. */
15742 $ac_includes_default
15744 main ()
15746 if ((long long *) 0)
15747 return 0;
15748 if (sizeof (long long))
15749 return 0;
15751 return 0;
15753 _ACEOF
15754 rm -f conftest.$ac_objext
15755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15756 (eval $ac_compile) 2>conftest.er1
15757 ac_status=$?
15758 grep -v '^ *+' conftest.er1 >conftest.err
15759 rm -f conftest.er1
15760 cat conftest.err >&5
15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 (exit $ac_status); } &&
15763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15765 (eval $ac_try) 2>&5
15766 ac_status=$?
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); }; } &&
15769 { ac_try='test -s conftest.$ac_objext'
15770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15771 (eval $ac_try) 2>&5
15772 ac_status=$?
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); }; }; then
15775 ac_cv_type_long_long=yes
15776 else
15777 echo "$as_me: failed program was:" >&5
15778 sed 's/^/| /' conftest.$ac_ext >&5
15780 ac_cv_type_long_long=no
15782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15784 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15785 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15786 if test $ac_cv_type_long_long = yes; then
15788 cat >>confdefs.h <<_ACEOF
15789 #define HAVE_LONG_LONG 1
15790 _ACEOF
15794 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
15795 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
15796 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
15797 echo $ECHO_N "(cached) $ECHO_C" >&6
15798 else
15799 cat >conftest.$ac_ext <<_ACEOF
15800 /* confdefs.h. */
15801 _ACEOF
15802 cat confdefs.h >>conftest.$ac_ext
15803 cat >>conftest.$ac_ext <<_ACEOF
15804 /* end confdefs.h. */
15805 $ac_includes_default
15807 main ()
15809 if ((fsblkcnt_t *) 0)
15810 return 0;
15811 if (sizeof (fsblkcnt_t))
15812 return 0;
15814 return 0;
15816 _ACEOF
15817 rm -f conftest.$ac_objext
15818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15819 (eval $ac_compile) 2>conftest.er1
15820 ac_status=$?
15821 grep -v '^ *+' conftest.er1 >conftest.err
15822 rm -f conftest.er1
15823 cat conftest.err >&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } &&
15826 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15828 (eval $ac_try) 2>&5
15829 ac_status=$?
15830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15831 (exit $ac_status); }; } &&
15832 { ac_try='test -s conftest.$ac_objext'
15833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15834 (eval $ac_try) 2>&5
15835 ac_status=$?
15836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15837 (exit $ac_status); }; }; then
15838 ac_cv_type_fsblkcnt_t=yes
15839 else
15840 echo "$as_me: failed program was:" >&5
15841 sed 's/^/| /' conftest.$ac_ext >&5
15843 ac_cv_type_fsblkcnt_t=no
15845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15847 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
15848 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
15849 if test $ac_cv_type_fsblkcnt_t = yes; then
15851 cat >>confdefs.h <<_ACEOF
15852 #define HAVE_FSBLKCNT_T 1
15853 _ACEOF
15857 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
15858 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
15859 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
15860 echo $ECHO_N "(cached) $ECHO_C" >&6
15861 else
15862 cat >conftest.$ac_ext <<_ACEOF
15863 /* confdefs.h. */
15864 _ACEOF
15865 cat confdefs.h >>conftest.$ac_ext
15866 cat >>conftest.$ac_ext <<_ACEOF
15867 /* end confdefs.h. */
15868 $ac_includes_default
15870 main ()
15872 if ((fsfilcnt_t *) 0)
15873 return 0;
15874 if (sizeof (fsfilcnt_t))
15875 return 0;
15877 return 0;
15879 _ACEOF
15880 rm -f conftest.$ac_objext
15881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15882 (eval $ac_compile) 2>conftest.er1
15883 ac_status=$?
15884 grep -v '^ *+' conftest.er1 >conftest.err
15885 rm -f conftest.er1
15886 cat conftest.err >&5
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); } &&
15889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15891 (eval $ac_try) 2>&5
15892 ac_status=$?
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); }; } &&
15895 { ac_try='test -s conftest.$ac_objext'
15896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15897 (eval $ac_try) 2>&5
15898 ac_status=$?
15899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900 (exit $ac_status); }; }; then
15901 ac_cv_type_fsfilcnt_t=yes
15902 else
15903 echo "$as_me: failed program was:" >&5
15904 sed 's/^/| /' conftest.$ac_ext >&5
15906 ac_cv_type_fsfilcnt_t=no
15908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15910 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
15911 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
15912 if test $ac_cv_type_fsfilcnt_t = yes; then
15914 cat >>confdefs.h <<_ACEOF
15915 #define HAVE_FSFILCNT_T 1
15916 _ACEOF
15921 echo "$as_me:$LINENO: checking for sigset_t" >&5
15922 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6
15923 if test "${ac_cv_type_sigset_t+set}" = set; then
15924 echo $ECHO_N "(cached) $ECHO_C" >&6
15925 else
15926 cat >conftest.$ac_ext <<_ACEOF
15927 /* confdefs.h. */
15928 _ACEOF
15929 cat confdefs.h >>conftest.$ac_ext
15930 cat >>conftest.$ac_ext <<_ACEOF
15931 /* end confdefs.h. */
15932 #include <signal.h>
15935 main ()
15937 if ((sigset_t *) 0)
15938 return 0;
15939 if (sizeof (sigset_t))
15940 return 0;
15942 return 0;
15944 _ACEOF
15945 rm -f conftest.$ac_objext
15946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15947 (eval $ac_compile) 2>conftest.er1
15948 ac_status=$?
15949 grep -v '^ *+' conftest.er1 >conftest.err
15950 rm -f conftest.er1
15951 cat conftest.err >&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); } &&
15954 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15956 (eval $ac_try) 2>&5
15957 ac_status=$?
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); }; } &&
15960 { ac_try='test -s conftest.$ac_objext'
15961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15962 (eval $ac_try) 2>&5
15963 ac_status=$?
15964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15965 (exit $ac_status); }; }; then
15966 ac_cv_type_sigset_t=yes
15967 else
15968 echo "$as_me: failed program was:" >&5
15969 sed 's/^/| /' conftest.$ac_ext >&5
15971 ac_cv_type_sigset_t=no
15973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15975 echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
15976 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6
15977 if test $ac_cv_type_sigset_t = yes; then
15979 cat >>confdefs.h <<_ACEOF
15980 #define HAVE_SIGSET_T 1
15981 _ACEOF
15986 echo "$as_me:$LINENO: checking for request_sense" >&5
15987 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6
15988 if test "${ac_cv_type_request_sense+set}" = set; then
15989 echo $ECHO_N "(cached) $ECHO_C" >&6
15990 else
15991 cat >conftest.$ac_ext <<_ACEOF
15992 /* confdefs.h. */
15993 _ACEOF
15994 cat confdefs.h >>conftest.$ac_ext
15995 cat >>conftest.$ac_ext <<_ACEOF
15996 /* end confdefs.h. */
15997 #include <linux/cdrom.h>
16000 main ()
16002 if ((request_sense *) 0)
16003 return 0;
16004 if (sizeof (request_sense))
16005 return 0;
16007 return 0;
16009 _ACEOF
16010 rm -f conftest.$ac_objext
16011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16012 (eval $ac_compile) 2>conftest.er1
16013 ac_status=$?
16014 grep -v '^ *+' conftest.er1 >conftest.err
16015 rm -f conftest.er1
16016 cat conftest.err >&5
16017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16018 (exit $ac_status); } &&
16019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16021 (eval $ac_try) 2>&5
16022 ac_status=$?
16023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16024 (exit $ac_status); }; } &&
16025 { ac_try='test -s conftest.$ac_objext'
16026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16027 (eval $ac_try) 2>&5
16028 ac_status=$?
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); }; }; then
16031 ac_cv_type_request_sense=yes
16032 else
16033 echo "$as_me: failed program was:" >&5
16034 sed 's/^/| /' conftest.$ac_ext >&5
16036 ac_cv_type_request_sense=no
16038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16040 echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
16041 echo "${ECHO_T}$ac_cv_type_request_sense" >&6
16042 if test $ac_cv_type_request_sense = yes; then
16044 cat >>confdefs.h <<_ACEOF
16045 #define HAVE_REQUEST_SENSE 1
16046 _ACEOF
16052 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
16053 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
16054 if test "${wine_cv_linux_input_h+set}" = set; then
16055 echo $ECHO_N "(cached) $ECHO_C" >&6
16056 else
16057 cat >conftest.$ac_ext <<_ACEOF
16058 /* confdefs.h. */
16059 _ACEOF
16060 cat confdefs.h >>conftest.$ac_ext
16061 cat >>conftest.$ac_ext <<_ACEOF
16062 /* end confdefs.h. */
16064 #include <linux/input.h>
16067 main ()
16070 int foo = EVIOCGBIT(EV_ABS,42);
16071 int bar = BTN_PINKIE;
16072 int fortytwo = 42;
16075 return 0;
16077 _ACEOF
16078 rm -f conftest.$ac_objext
16079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16080 (eval $ac_compile) 2>conftest.er1
16081 ac_status=$?
16082 grep -v '^ *+' conftest.er1 >conftest.err
16083 rm -f conftest.er1
16084 cat conftest.err >&5
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); } &&
16087 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16089 (eval $ac_try) 2>&5
16090 ac_status=$?
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); }; } &&
16093 { ac_try='test -s conftest.$ac_objext'
16094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16095 (eval $ac_try) 2>&5
16096 ac_status=$?
16097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16098 (exit $ac_status); }; }; then
16099 wine_cv_linux_input_h=yes
16100 else
16101 echo "$as_me: failed program was:" >&5
16102 sed 's/^/| /' conftest.$ac_ext >&5
16104 wine_cv_linux_input_h=no
16106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16109 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
16110 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
16111 if test "$wine_cv_linux_input_h" = "yes"
16112 then
16114 cat >>confdefs.h <<\_ACEOF
16115 #define HAVE_CORRECT_LINUXINPUT_H 1
16116 _ACEOF
16120 echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
16121 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6
16122 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
16123 echo $ECHO_N "(cached) $ECHO_C" >&6
16124 else
16125 cat >conftest.$ac_ext <<_ACEOF
16126 /* confdefs.h. */
16127 _ACEOF
16128 cat confdefs.h >>conftest.$ac_ext
16129 cat >>conftest.$ac_ext <<_ACEOF
16130 /* end confdefs.h. */
16131 #ifdef HAVE_LINUX_INPUT_H
16132 #include <linux/input.h>
16133 #endif
16136 main ()
16138 static struct ff_effect ac_aggr;
16139 if (ac_aggr.direction)
16140 return 0;
16142 return 0;
16144 _ACEOF
16145 rm -f conftest.$ac_objext
16146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16147 (eval $ac_compile) 2>conftest.er1
16148 ac_status=$?
16149 grep -v '^ *+' conftest.er1 >conftest.err
16150 rm -f conftest.er1
16151 cat conftest.err >&5
16152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153 (exit $ac_status); } &&
16154 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16156 (eval $ac_try) 2>&5
16157 ac_status=$?
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); }; } &&
16160 { ac_try='test -s conftest.$ac_objext'
16161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16162 (eval $ac_try) 2>&5
16163 ac_status=$?
16164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165 (exit $ac_status); }; }; then
16166 ac_cv_member_struct_ff_effect_direction=yes
16167 else
16168 echo "$as_me: failed program was:" >&5
16169 sed 's/^/| /' conftest.$ac_ext >&5
16171 cat >conftest.$ac_ext <<_ACEOF
16172 /* confdefs.h. */
16173 _ACEOF
16174 cat confdefs.h >>conftest.$ac_ext
16175 cat >>conftest.$ac_ext <<_ACEOF
16176 /* end confdefs.h. */
16177 #ifdef HAVE_LINUX_INPUT_H
16178 #include <linux/input.h>
16179 #endif
16182 main ()
16184 static struct ff_effect ac_aggr;
16185 if (sizeof ac_aggr.direction)
16186 return 0;
16188 return 0;
16190 _ACEOF
16191 rm -f conftest.$ac_objext
16192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16193 (eval $ac_compile) 2>conftest.er1
16194 ac_status=$?
16195 grep -v '^ *+' conftest.er1 >conftest.err
16196 rm -f conftest.er1
16197 cat conftest.err >&5
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); } &&
16200 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16202 (eval $ac_try) 2>&5
16203 ac_status=$?
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); }; } &&
16206 { ac_try='test -s conftest.$ac_objext'
16207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16208 (eval $ac_try) 2>&5
16209 ac_status=$?
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); }; }; then
16212 ac_cv_member_struct_ff_effect_direction=yes
16213 else
16214 echo "$as_me: failed program was:" >&5
16215 sed 's/^/| /' conftest.$ac_ext >&5
16217 ac_cv_member_struct_ff_effect_direction=no
16219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16223 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
16224 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6
16225 if test $ac_cv_member_struct_ff_effect_direction = yes; then
16227 cat >>confdefs.h <<_ACEOF
16228 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16229 _ACEOF
16235 echo "$as_me:$LINENO: checking for sigaddset" >&5
16236 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6
16237 if test "${wine_cv_have_sigaddset+set}" = set; then
16238 echo $ECHO_N "(cached) $ECHO_C" >&6
16239 else
16240 cat >conftest.$ac_ext <<_ACEOF
16241 /* confdefs.h. */
16242 _ACEOF
16243 cat confdefs.h >>conftest.$ac_ext
16244 cat >>conftest.$ac_ext <<_ACEOF
16245 /* end confdefs.h. */
16246 #include <signal.h>
16248 main ()
16250 sigset_t set; sigaddset(&set,SIGTERM);
16252 return 0;
16254 _ACEOF
16255 rm -f conftest.$ac_objext conftest$ac_exeext
16256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16257 (eval $ac_link) 2>conftest.er1
16258 ac_status=$?
16259 grep -v '^ *+' conftest.er1 >conftest.err
16260 rm -f conftest.er1
16261 cat conftest.err >&5
16262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263 (exit $ac_status); } &&
16264 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16266 (eval $ac_try) 2>&5
16267 ac_status=$?
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); }; } &&
16270 { ac_try='test -s conftest$ac_exeext'
16271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16272 (eval $ac_try) 2>&5
16273 ac_status=$?
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); }; }; then
16276 wine_cv_have_sigaddset=yes
16277 else
16278 echo "$as_me: failed program was:" >&5
16279 sed 's/^/| /' conftest.$ac_ext >&5
16281 wine_cv_have_sigaddset=no
16283 rm -f conftest.err conftest.$ac_objext \
16284 conftest$ac_exeext conftest.$ac_ext
16286 echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
16287 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6
16288 if test "$wine_cv_have_sigaddset" = "yes"
16289 then
16291 cat >>confdefs.h <<\_ACEOF
16292 #define HAVE_SIGADDSET 1
16293 _ACEOF
16298 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16299 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
16300 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16302 else
16303 cat >conftest.$ac_ext <<_ACEOF
16304 /* confdefs.h. */
16305 _ACEOF
16306 cat confdefs.h >>conftest.$ac_ext
16307 cat >>conftest.$ac_ext <<_ACEOF
16308 /* end confdefs.h. */
16310 #include <netdb.h>
16313 main ()
16316 char *name=NULL;
16317 struct hostent he;
16318 struct hostent *result;
16319 char *buf=NULL;
16320 int bufsize=0;
16321 int res,errnr;
16322 char *addr=NULL;
16323 int addrlen=0;
16324 int addrtype=0;
16325 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16326 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16329 return 0;
16331 _ACEOF
16332 rm -f conftest.$ac_objext conftest$ac_exeext
16333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16334 (eval $ac_link) 2>conftest.er1
16335 ac_status=$?
16336 grep -v '^ *+' conftest.er1 >conftest.err
16337 rm -f conftest.er1
16338 cat conftest.err >&5
16339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16340 (exit $ac_status); } &&
16341 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16343 (eval $ac_try) 2>&5
16344 ac_status=$?
16345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16346 (exit $ac_status); }; } &&
16347 { ac_try='test -s conftest$ac_exeext'
16348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16349 (eval $ac_try) 2>&5
16350 ac_status=$?
16351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16352 (exit $ac_status); }; }; then
16353 wine_cv_linux_gethostbyname_r_6=yes
16354 else
16355 echo "$as_me: failed program was:" >&5
16356 sed 's/^/| /' conftest.$ac_ext >&5
16358 wine_cv_linux_gethostbyname_r_6=no
16361 rm -f conftest.err conftest.$ac_objext \
16362 conftest$ac_exeext conftest.$ac_ext
16365 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
16366 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
16367 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16368 then
16370 cat >>confdefs.h <<\_ACEOF
16371 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
16372 _ACEOF
16376 if test "$ac_cv_header_linux_joystick_h" = "yes"
16377 then
16378 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16379 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
16380 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
16381 echo $ECHO_N "(cached) $ECHO_C" >&6
16382 else
16383 cat >conftest.$ac_ext <<_ACEOF
16384 /* confdefs.h. */
16385 _ACEOF
16386 cat confdefs.h >>conftest.$ac_ext
16387 cat >>conftest.$ac_ext <<_ACEOF
16388 /* end confdefs.h. */
16390 #include <sys/ioctl.h>
16391 #include <linux/joystick.h>
16393 struct js_event blub;
16394 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16395 #error "no 2.2 header"
16396 #endif
16399 main ()
16401 /*empty*/
16403 return 0;
16405 _ACEOF
16406 rm -f conftest.$ac_objext
16407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16408 (eval $ac_compile) 2>conftest.er1
16409 ac_status=$?
16410 grep -v '^ *+' conftest.er1 >conftest.err
16411 rm -f conftest.er1
16412 cat conftest.err >&5
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); } &&
16415 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16417 (eval $ac_try) 2>&5
16418 ac_status=$?
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); }; } &&
16421 { ac_try='test -s conftest.$ac_objext'
16422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16423 (eval $ac_try) 2>&5
16424 ac_status=$?
16425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16426 (exit $ac_status); }; }; then
16427 wine_cv_linux_joystick_22_api=yes
16428 else
16429 echo "$as_me: failed program was:" >&5
16430 sed 's/^/| /' conftest.$ac_ext >&5
16432 wine_cv_linux_joystick_22_api=no
16434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16437 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
16438 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
16439 if test "$wine_cv_linux_joystick_22_api" = "yes"
16440 then
16442 cat >>confdefs.h <<\_ACEOF
16443 #define HAVE_LINUX_22_JOYSTICK_API 1
16444 _ACEOF
16450 if test "$ac_cv_header_sys_vfs_h" = "yes"
16451 then
16452 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
16453 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
16454 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
16455 echo $ECHO_N "(cached) $ECHO_C" >&6
16456 else
16457 cat >conftest.$ac_ext <<_ACEOF
16458 /* confdefs.h. */
16459 _ACEOF
16460 cat confdefs.h >>conftest.$ac_ext
16461 cat >>conftest.$ac_ext <<_ACEOF
16462 /* end confdefs.h. */
16464 #include <sys/types.h>
16465 #ifdef HAVE_SYS_PARAM_H
16466 # include <sys/param.h>
16467 #endif
16468 #include <sys/vfs.h>
16471 main ()
16474 struct statfs stfs;
16476 memset(&stfs,0,sizeof(stfs));
16479 return 0;
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 wine_cv_sys_vfs_has_statfs=yes
16504 else
16505 echo "$as_me: failed program was:" >&5
16506 sed 's/^/| /' conftest.$ac_ext >&5
16508 wine_cv_sys_vfs_has_statfs=no
16511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16514 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
16515 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
16516 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
16517 then
16519 cat >>confdefs.h <<\_ACEOF
16520 #define STATFS_DEFINED_BY_SYS_VFS 1
16521 _ACEOF
16526 if test "$ac_cv_header_sys_statfs_h" = "yes"
16527 then
16528 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
16529 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
16530 if test "${wine_cv_sys_statfs_has_statfs+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. */
16540 #include <sys/types.h>
16541 #ifdef HAVE_SYS_PARAM_H
16542 # include <sys/param.h>
16543 #endif
16544 #include <sys/statfs.h>
16547 main ()
16550 struct statfs stfs;
16553 return 0;
16555 _ACEOF
16556 rm -f conftest.$ac_objext
16557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16558 (eval $ac_compile) 2>conftest.er1
16559 ac_status=$?
16560 grep -v '^ *+' conftest.er1 >conftest.err
16561 rm -f conftest.er1
16562 cat conftest.err >&5
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); } &&
16565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16567 (eval $ac_try) 2>&5
16568 ac_status=$?
16569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570 (exit $ac_status); }; } &&
16571 { ac_try='test -s conftest.$ac_objext'
16572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16573 (eval $ac_try) 2>&5
16574 ac_status=$?
16575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16576 (exit $ac_status); }; }; then
16577 wine_cv_sys_statfs_has_statfs=yes
16578 else
16579 echo "$as_me: failed program was:" >&5
16580 sed 's/^/| /' conftest.$ac_ext >&5
16582 wine_cv_sys_statfs_has_statfs=no
16585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16588 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
16589 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
16590 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
16591 then
16593 cat >>confdefs.h <<\_ACEOF
16594 #define STATFS_DEFINED_BY_SYS_STATFS 1
16595 _ACEOF
16600 if test "$ac_cv_header_sys_mount_h" = "yes"
16601 then
16602 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
16603 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
16604 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
16605 echo $ECHO_N "(cached) $ECHO_C" >&6
16606 else
16607 cat >conftest.$ac_ext <<_ACEOF
16608 /* confdefs.h. */
16609 _ACEOF
16610 cat confdefs.h >>conftest.$ac_ext
16611 cat >>conftest.$ac_ext <<_ACEOF
16612 /* end confdefs.h. */
16614 #include <sys/types.h>
16615 #ifdef HAVE_SYS_PARAM_H
16616 # include <sys/param.h>
16617 #endif
16618 #include <sys/mount.h>
16621 main ()
16624 struct statfs stfs;
16627 return 0;
16629 _ACEOF
16630 rm -f conftest.$ac_objext
16631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16632 (eval $ac_compile) 2>conftest.er1
16633 ac_status=$?
16634 grep -v '^ *+' conftest.er1 >conftest.err
16635 rm -f conftest.er1
16636 cat conftest.err >&5
16637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16638 (exit $ac_status); } &&
16639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16641 (eval $ac_try) 2>&5
16642 ac_status=$?
16643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16644 (exit $ac_status); }; } &&
16645 { ac_try='test -s conftest.$ac_objext'
16646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16647 (eval $ac_try) 2>&5
16648 ac_status=$?
16649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16650 (exit $ac_status); }; }; then
16651 wine_cv_sys_mount_has_statfs=yes
16652 else
16653 echo "$as_me: failed program was:" >&5
16654 sed 's/^/| /' conftest.$ac_ext >&5
16656 wine_cv_sys_mount_has_statfs=no
16659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16662 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
16663 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
16664 if test "$wine_cv_sys_mount_has_statfs" = "yes"
16665 then
16667 cat >>confdefs.h <<\_ACEOF
16668 #define STATFS_DEFINED_BY_SYS_MOUNT 1
16669 _ACEOF
16675 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
16676 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
16677 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
16678 echo $ECHO_N "(cached) $ECHO_C" >&6
16679 else
16680 cat >conftest.$ac_ext <<_ACEOF
16681 /* confdefs.h. */
16682 _ACEOF
16683 cat confdefs.h >>conftest.$ac_ext
16684 cat >>conftest.$ac_ext <<_ACEOF
16685 /* end confdefs.h. */
16686 #include <sys/types.h>
16687 #ifdef HAVE_SYS_PARAM_H
16688 # include <sys/param.h>
16689 #endif
16690 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16691 # include <sys/mount.h>
16692 #else
16693 # ifdef STATFS_DEFINED_BY_SYS_VFS
16694 # include <sys/vfs.h>
16695 # else
16696 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16697 # include <sys/statfs.h>
16698 # endif
16699 # endif
16700 #endif
16703 main ()
16705 static struct statfs ac_aggr;
16706 if (ac_aggr.f_bfree)
16707 return 0;
16709 return 0;
16711 _ACEOF
16712 rm -f conftest.$ac_objext
16713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16714 (eval $ac_compile) 2>conftest.er1
16715 ac_status=$?
16716 grep -v '^ *+' conftest.er1 >conftest.err
16717 rm -f conftest.er1
16718 cat conftest.err >&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); } &&
16721 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16723 (eval $ac_try) 2>&5
16724 ac_status=$?
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); }; } &&
16727 { ac_try='test -s conftest.$ac_objext'
16728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16729 (eval $ac_try) 2>&5
16730 ac_status=$?
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); }; }; then
16733 ac_cv_member_struct_statfs_f_bfree=yes
16734 else
16735 echo "$as_me: failed program was:" >&5
16736 sed 's/^/| /' conftest.$ac_ext >&5
16738 cat >conftest.$ac_ext <<_ACEOF
16739 /* confdefs.h. */
16740 _ACEOF
16741 cat confdefs.h >>conftest.$ac_ext
16742 cat >>conftest.$ac_ext <<_ACEOF
16743 /* end confdefs.h. */
16744 #include <sys/types.h>
16745 #ifdef HAVE_SYS_PARAM_H
16746 # include <sys/param.h>
16747 #endif
16748 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16749 # include <sys/mount.h>
16750 #else
16751 # ifdef STATFS_DEFINED_BY_SYS_VFS
16752 # include <sys/vfs.h>
16753 # else
16754 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16755 # include <sys/statfs.h>
16756 # endif
16757 # endif
16758 #endif
16761 main ()
16763 static struct statfs ac_aggr;
16764 if (sizeof ac_aggr.f_bfree)
16765 return 0;
16767 return 0;
16769 _ACEOF
16770 rm -f conftest.$ac_objext
16771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16772 (eval $ac_compile) 2>conftest.er1
16773 ac_status=$?
16774 grep -v '^ *+' conftest.er1 >conftest.err
16775 rm -f conftest.er1
16776 cat conftest.err >&5
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); } &&
16779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16781 (eval $ac_try) 2>&5
16782 ac_status=$?
16783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16784 (exit $ac_status); }; } &&
16785 { ac_try='test -s conftest.$ac_objext'
16786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16787 (eval $ac_try) 2>&5
16788 ac_status=$?
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); }; }; then
16791 ac_cv_member_struct_statfs_f_bfree=yes
16792 else
16793 echo "$as_me: failed program was:" >&5
16794 sed 's/^/| /' conftest.$ac_ext >&5
16796 ac_cv_member_struct_statfs_f_bfree=no
16798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16802 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
16803 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
16804 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
16806 cat >>confdefs.h <<_ACEOF
16807 #define HAVE_STRUCT_STATFS_F_BFREE 1
16808 _ACEOF
16812 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
16813 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
16814 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
16815 echo $ECHO_N "(cached) $ECHO_C" >&6
16816 else
16817 cat >conftest.$ac_ext <<_ACEOF
16818 /* confdefs.h. */
16819 _ACEOF
16820 cat confdefs.h >>conftest.$ac_ext
16821 cat >>conftest.$ac_ext <<_ACEOF
16822 /* end confdefs.h. */
16823 #include <sys/types.h>
16824 #ifdef HAVE_SYS_PARAM_H
16825 # include <sys/param.h>
16826 #endif
16827 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16828 # include <sys/mount.h>
16829 #else
16830 # ifdef STATFS_DEFINED_BY_SYS_VFS
16831 # include <sys/vfs.h>
16832 # else
16833 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16834 # include <sys/statfs.h>
16835 # endif
16836 # endif
16837 #endif
16840 main ()
16842 static struct statfs ac_aggr;
16843 if (ac_aggr.f_bavail)
16844 return 0;
16846 return 0;
16848 _ACEOF
16849 rm -f conftest.$ac_objext
16850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16851 (eval $ac_compile) 2>conftest.er1
16852 ac_status=$?
16853 grep -v '^ *+' conftest.er1 >conftest.err
16854 rm -f conftest.er1
16855 cat conftest.err >&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); } &&
16858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16860 (eval $ac_try) 2>&5
16861 ac_status=$?
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; } &&
16864 { ac_try='test -s conftest.$ac_objext'
16865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16866 (eval $ac_try) 2>&5
16867 ac_status=$?
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); }; }; then
16870 ac_cv_member_struct_statfs_f_bavail=yes
16871 else
16872 echo "$as_me: failed program was:" >&5
16873 sed 's/^/| /' conftest.$ac_ext >&5
16875 cat >conftest.$ac_ext <<_ACEOF
16876 /* confdefs.h. */
16877 _ACEOF
16878 cat confdefs.h >>conftest.$ac_ext
16879 cat >>conftest.$ac_ext <<_ACEOF
16880 /* end confdefs.h. */
16881 #include <sys/types.h>
16882 #ifdef HAVE_SYS_PARAM_H
16883 # include <sys/param.h>
16884 #endif
16885 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16886 # include <sys/mount.h>
16887 #else
16888 # ifdef STATFS_DEFINED_BY_SYS_VFS
16889 # include <sys/vfs.h>
16890 # else
16891 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16892 # include <sys/statfs.h>
16893 # endif
16894 # endif
16895 #endif
16898 main ()
16900 static struct statfs ac_aggr;
16901 if (sizeof ac_aggr.f_bavail)
16902 return 0;
16904 return 0;
16906 _ACEOF
16907 rm -f conftest.$ac_objext
16908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16909 (eval $ac_compile) 2>conftest.er1
16910 ac_status=$?
16911 grep -v '^ *+' conftest.er1 >conftest.err
16912 rm -f conftest.er1
16913 cat conftest.err >&5
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); } &&
16916 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16918 (eval $ac_try) 2>&5
16919 ac_status=$?
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }; } &&
16922 { ac_try='test -s conftest.$ac_objext'
16923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16924 (eval $ac_try) 2>&5
16925 ac_status=$?
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); }; }; then
16928 ac_cv_member_struct_statfs_f_bavail=yes
16929 else
16930 echo "$as_me: failed program was:" >&5
16931 sed 's/^/| /' conftest.$ac_ext >&5
16933 ac_cv_member_struct_statfs_f_bavail=no
16935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16939 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
16940 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
16941 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
16943 cat >>confdefs.h <<_ACEOF
16944 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16945 _ACEOF
16949 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
16950 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
16951 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
16952 echo $ECHO_N "(cached) $ECHO_C" >&6
16953 else
16954 cat >conftest.$ac_ext <<_ACEOF
16955 /* confdefs.h. */
16956 _ACEOF
16957 cat confdefs.h >>conftest.$ac_ext
16958 cat >>conftest.$ac_ext <<_ACEOF
16959 /* end confdefs.h. */
16960 #include <sys/types.h>
16961 #ifdef HAVE_SYS_PARAM_H
16962 # include <sys/param.h>
16963 #endif
16964 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16965 # include <sys/mount.h>
16966 #else
16967 # ifdef STATFS_DEFINED_BY_SYS_VFS
16968 # include <sys/vfs.h>
16969 # else
16970 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16971 # include <sys/statfs.h>
16972 # endif
16973 # endif
16974 #endif
16977 main ()
16979 static struct statfs ac_aggr;
16980 if (ac_aggr.f_frsize)
16981 return 0;
16983 return 0;
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_member_struct_statfs_f_frsize=yes
17008 else
17009 echo "$as_me: failed program was:" >&5
17010 sed 's/^/| /' conftest.$ac_ext >&5
17012 cat >conftest.$ac_ext <<_ACEOF
17013 /* confdefs.h. */
17014 _ACEOF
17015 cat confdefs.h >>conftest.$ac_ext
17016 cat >>conftest.$ac_ext <<_ACEOF
17017 /* end confdefs.h. */
17018 #include <sys/types.h>
17019 #ifdef HAVE_SYS_PARAM_H
17020 # include <sys/param.h>
17021 #endif
17022 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
17023 # include <sys/mount.h>
17024 #else
17025 # ifdef STATFS_DEFINED_BY_SYS_VFS
17026 # include <sys/vfs.h>
17027 # else
17028 # ifdef STATFS_DEFINED_BY_SYS_STATFS
17029 # include <sys/statfs.h>
17030 # endif
17031 # endif
17032 #endif
17035 main ()
17037 static struct statfs ac_aggr;
17038 if (sizeof ac_aggr.f_frsize)
17039 return 0;
17041 return 0;
17043 _ACEOF
17044 rm -f conftest.$ac_objext
17045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17046 (eval $ac_compile) 2>conftest.er1
17047 ac_status=$?
17048 grep -v '^ *+' conftest.er1 >conftest.err
17049 rm -f conftest.er1
17050 cat conftest.err >&5
17051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); } &&
17053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17055 (eval $ac_try) 2>&5
17056 ac_status=$?
17057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17058 (exit $ac_status); }; } &&
17059 { ac_try='test -s conftest.$ac_objext'
17060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17061 (eval $ac_try) 2>&5
17062 ac_status=$?
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); }; }; then
17065 ac_cv_member_struct_statfs_f_frsize=yes
17066 else
17067 echo "$as_me: failed program was:" >&5
17068 sed 's/^/| /' conftest.$ac_ext >&5
17070 ac_cv_member_struct_statfs_f_frsize=no
17072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17076 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17077 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
17078 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17080 cat >>confdefs.h <<_ACEOF
17081 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17082 _ACEOF
17086 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17087 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
17088 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17089 echo $ECHO_N "(cached) $ECHO_C" >&6
17090 else
17091 cat >conftest.$ac_ext <<_ACEOF
17092 /* confdefs.h. */
17093 _ACEOF
17094 cat confdefs.h >>conftest.$ac_ext
17095 cat >>conftest.$ac_ext <<_ACEOF
17096 /* end confdefs.h. */
17097 #include <sys/types.h>
17098 #ifdef HAVE_SYS_PARAM_H
17099 # include <sys/param.h>
17100 #endif
17101 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
17102 # include <sys/mount.h>
17103 #else
17104 # ifdef STATFS_DEFINED_BY_SYS_VFS
17105 # include <sys/vfs.h>
17106 # else
17107 # ifdef STATFS_DEFINED_BY_SYS_STATFS
17108 # include <sys/statfs.h>
17109 # endif
17110 # endif
17111 #endif
17114 main ()
17116 static struct statfs ac_aggr;
17117 if (ac_aggr.f_ffree)
17118 return 0;
17120 return 0;
17122 _ACEOF
17123 rm -f conftest.$ac_objext
17124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17125 (eval $ac_compile) 2>conftest.er1
17126 ac_status=$?
17127 grep -v '^ *+' conftest.er1 >conftest.err
17128 rm -f conftest.er1
17129 cat conftest.err >&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); } &&
17132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17134 (eval $ac_try) 2>&5
17135 ac_status=$?
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); }; } &&
17138 { ac_try='test -s conftest.$ac_objext'
17139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17140 (eval $ac_try) 2>&5
17141 ac_status=$?
17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143 (exit $ac_status); }; }; then
17144 ac_cv_member_struct_statfs_f_ffree=yes
17145 else
17146 echo "$as_me: failed program was:" >&5
17147 sed 's/^/| /' conftest.$ac_ext >&5
17149 cat >conftest.$ac_ext <<_ACEOF
17150 /* confdefs.h. */
17151 _ACEOF
17152 cat confdefs.h >>conftest.$ac_ext
17153 cat >>conftest.$ac_ext <<_ACEOF
17154 /* end confdefs.h. */
17155 #include <sys/types.h>
17156 #ifdef HAVE_SYS_PARAM_H
17157 # include <sys/param.h>
17158 #endif
17159 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
17160 # include <sys/mount.h>
17161 #else
17162 # ifdef STATFS_DEFINED_BY_SYS_VFS
17163 # include <sys/vfs.h>
17164 # else
17165 # ifdef STATFS_DEFINED_BY_SYS_STATFS
17166 # include <sys/statfs.h>
17167 # endif
17168 # endif
17169 #endif
17172 main ()
17174 static struct statfs ac_aggr;
17175 if (sizeof ac_aggr.f_ffree)
17176 return 0;
17178 return 0;
17180 _ACEOF
17181 rm -f conftest.$ac_objext
17182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17183 (eval $ac_compile) 2>conftest.er1
17184 ac_status=$?
17185 grep -v '^ *+' conftest.er1 >conftest.err
17186 rm -f conftest.er1
17187 cat conftest.err >&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } &&
17190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17192 (eval $ac_try) 2>&5
17193 ac_status=$?
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); }; } &&
17196 { ac_try='test -s conftest.$ac_objext'
17197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17198 (eval $ac_try) 2>&5
17199 ac_status=$?
17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201 (exit $ac_status); }; }; then
17202 ac_cv_member_struct_statfs_f_ffree=yes
17203 else
17204 echo "$as_me: failed program was:" >&5
17205 sed 's/^/| /' conftest.$ac_ext >&5
17207 ac_cv_member_struct_statfs_f_ffree=no
17209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17213 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
17214 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
17215 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
17217 cat >>confdefs.h <<_ACEOF
17218 #define HAVE_STRUCT_STATFS_F_FFREE 1
17219 _ACEOF
17223 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
17224 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
17225 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
17226 echo $ECHO_N "(cached) $ECHO_C" >&6
17227 else
17228 cat >conftest.$ac_ext <<_ACEOF
17229 /* confdefs.h. */
17230 _ACEOF
17231 cat confdefs.h >>conftest.$ac_ext
17232 cat >>conftest.$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17234 #include <sys/types.h>
17235 #ifdef HAVE_SYS_PARAM_H
17236 # include <sys/param.h>
17237 #endif
17238 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
17239 # include <sys/mount.h>
17240 #else
17241 # ifdef STATFS_DEFINED_BY_SYS_VFS
17242 # include <sys/vfs.h>
17243 # else
17244 # ifdef STATFS_DEFINED_BY_SYS_STATFS
17245 # include <sys/statfs.h>
17246 # endif
17247 # endif
17248 #endif
17251 main ()
17253 static struct statfs ac_aggr;
17254 if (ac_aggr.f_favail)
17255 return 0;
17257 return 0;
17259 _ACEOF
17260 rm -f conftest.$ac_objext
17261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17262 (eval $ac_compile) 2>conftest.er1
17263 ac_status=$?
17264 grep -v '^ *+' conftest.er1 >conftest.err
17265 rm -f conftest.er1
17266 cat conftest.err >&5
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); } &&
17269 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17271 (eval $ac_try) 2>&5
17272 ac_status=$?
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); }; } &&
17275 { ac_try='test -s conftest.$ac_objext'
17276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17277 (eval $ac_try) 2>&5
17278 ac_status=$?
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); }; }; then
17281 ac_cv_member_struct_statfs_f_favail=yes
17282 else
17283 echo "$as_me: failed program was:" >&5
17284 sed 's/^/| /' conftest.$ac_ext >&5
17286 cat >conftest.$ac_ext <<_ACEOF
17287 /* confdefs.h. */
17288 _ACEOF
17289 cat confdefs.h >>conftest.$ac_ext
17290 cat >>conftest.$ac_ext <<_ACEOF
17291 /* end confdefs.h. */
17292 #include <sys/types.h>
17293 #ifdef HAVE_SYS_PARAM_H
17294 # include <sys/param.h>
17295 #endif
17296 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
17297 # include <sys/mount.h>
17298 #else
17299 # ifdef STATFS_DEFINED_BY_SYS_VFS
17300 # include <sys/vfs.h>
17301 # else
17302 # ifdef STATFS_DEFINED_BY_SYS_STATFS
17303 # include <sys/statfs.h>
17304 # endif
17305 # endif
17306 #endif
17309 main ()
17311 static struct statfs ac_aggr;
17312 if (sizeof ac_aggr.f_favail)
17313 return 0;
17315 return 0;
17317 _ACEOF
17318 rm -f conftest.$ac_objext
17319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17320 (eval $ac_compile) 2>conftest.er1
17321 ac_status=$?
17322 grep -v '^ *+' conftest.er1 >conftest.err
17323 rm -f conftest.er1
17324 cat conftest.err >&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); } &&
17327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17329 (eval $ac_try) 2>&5
17330 ac_status=$?
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); }; } &&
17333 { ac_try='test -s conftest.$ac_objext'
17334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17335 (eval $ac_try) 2>&5
17336 ac_status=$?
17337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338 (exit $ac_status); }; }; then
17339 ac_cv_member_struct_statfs_f_favail=yes
17340 else
17341 echo "$as_me: failed program was:" >&5
17342 sed 's/^/| /' conftest.$ac_ext >&5
17344 ac_cv_member_struct_statfs_f_favail=no
17346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17350 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
17351 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
17352 if test $ac_cv_member_struct_statfs_f_favail = yes; then
17354 cat >>confdefs.h <<_ACEOF
17355 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17356 _ACEOF
17360 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
17361 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
17362 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
17363 echo $ECHO_N "(cached) $ECHO_C" >&6
17364 else
17365 cat >conftest.$ac_ext <<_ACEOF
17366 /* confdefs.h. */
17367 _ACEOF
17368 cat confdefs.h >>conftest.$ac_ext
17369 cat >>conftest.$ac_ext <<_ACEOF
17370 /* end confdefs.h. */
17371 #include <sys/types.h>
17372 #ifdef HAVE_SYS_PARAM_H
17373 # include <sys/param.h>
17374 #endif
17375 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
17376 # include <sys/mount.h>
17377 #else
17378 # ifdef STATFS_DEFINED_BY_SYS_VFS
17379 # include <sys/vfs.h>
17380 # else
17381 # ifdef STATFS_DEFINED_BY_SYS_STATFS
17382 # include <sys/statfs.h>
17383 # endif
17384 # endif
17385 #endif
17388 main ()
17390 static struct statfs ac_aggr;
17391 if (ac_aggr.f_namelen)
17392 return 0;
17394 return 0;
17396 _ACEOF
17397 rm -f conftest.$ac_objext
17398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17399 (eval $ac_compile) 2>conftest.er1
17400 ac_status=$?
17401 grep -v '^ *+' conftest.er1 >conftest.err
17402 rm -f conftest.er1
17403 cat conftest.err >&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); } &&
17406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17408 (eval $ac_try) 2>&5
17409 ac_status=$?
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); }; } &&
17412 { ac_try='test -s conftest.$ac_objext'
17413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17414 (eval $ac_try) 2>&5
17415 ac_status=$?
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); }; }; then
17418 ac_cv_member_struct_statfs_f_namelen=yes
17419 else
17420 echo "$as_me: failed program was:" >&5
17421 sed 's/^/| /' conftest.$ac_ext >&5
17423 cat >conftest.$ac_ext <<_ACEOF
17424 /* confdefs.h. */
17425 _ACEOF
17426 cat confdefs.h >>conftest.$ac_ext
17427 cat >>conftest.$ac_ext <<_ACEOF
17428 /* end confdefs.h. */
17429 #include <sys/types.h>
17430 #ifdef HAVE_SYS_PARAM_H
17431 # include <sys/param.h>
17432 #endif
17433 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
17434 # include <sys/mount.h>
17435 #else
17436 # ifdef STATFS_DEFINED_BY_SYS_VFS
17437 # include <sys/vfs.h>
17438 # else
17439 # ifdef STATFS_DEFINED_BY_SYS_STATFS
17440 # include <sys/statfs.h>
17441 # endif
17442 # endif
17443 #endif
17446 main ()
17448 static struct statfs ac_aggr;
17449 if (sizeof ac_aggr.f_namelen)
17450 return 0;
17452 return 0;
17454 _ACEOF
17455 rm -f conftest.$ac_objext
17456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17457 (eval $ac_compile) 2>conftest.er1
17458 ac_status=$?
17459 grep -v '^ *+' conftest.er1 >conftest.err
17460 rm -f conftest.er1
17461 cat conftest.err >&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); } &&
17464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17466 (eval $ac_try) 2>&5
17467 ac_status=$?
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); }; } &&
17470 { ac_try='test -s conftest.$ac_objext'
17471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17472 (eval $ac_try) 2>&5
17473 ac_status=$?
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); }; }; then
17476 ac_cv_member_struct_statfs_f_namelen=yes
17477 else
17478 echo "$as_me: failed program was:" >&5
17479 sed 's/^/| /' conftest.$ac_ext >&5
17481 ac_cv_member_struct_statfs_f_namelen=no
17483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17487 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
17488 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
17489 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
17491 cat >>confdefs.h <<_ACEOF
17492 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17493 _ACEOF
17499 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
17500 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
17501 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
17502 echo $ECHO_N "(cached) $ECHO_C" >&6
17503 else
17504 cat >conftest.$ac_ext <<_ACEOF
17505 /* confdefs.h. */
17506 _ACEOF
17507 cat confdefs.h >>conftest.$ac_ext
17508 cat >>conftest.$ac_ext <<_ACEOF
17509 /* end confdefs.h. */
17510 #ifdef HAVE_SYS_STATVFS_H
17511 #include <sys/statvfs.h>
17512 #endif
17515 main ()
17517 static struct statvfs ac_aggr;
17518 if (ac_aggr.f_blocks)
17519 return 0;
17521 return 0;
17523 _ACEOF
17524 rm -f conftest.$ac_objext
17525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17526 (eval $ac_compile) 2>conftest.er1
17527 ac_status=$?
17528 grep -v '^ *+' conftest.er1 >conftest.err
17529 rm -f conftest.er1
17530 cat conftest.err >&5
17531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17532 (exit $ac_status); } &&
17533 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17535 (eval $ac_try) 2>&5
17536 ac_status=$?
17537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538 (exit $ac_status); }; } &&
17539 { ac_try='test -s conftest.$ac_objext'
17540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17541 (eval $ac_try) 2>&5
17542 ac_status=$?
17543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544 (exit $ac_status); }; }; then
17545 ac_cv_member_struct_statvfs_f_blocks=yes
17546 else
17547 echo "$as_me: failed program was:" >&5
17548 sed 's/^/| /' conftest.$ac_ext >&5
17550 cat >conftest.$ac_ext <<_ACEOF
17551 /* confdefs.h. */
17552 _ACEOF
17553 cat confdefs.h >>conftest.$ac_ext
17554 cat >>conftest.$ac_ext <<_ACEOF
17555 /* end confdefs.h. */
17556 #ifdef HAVE_SYS_STATVFS_H
17557 #include <sys/statvfs.h>
17558 #endif
17561 main ()
17563 static struct statvfs ac_aggr;
17564 if (sizeof ac_aggr.f_blocks)
17565 return 0;
17567 return 0;
17569 _ACEOF
17570 rm -f conftest.$ac_objext
17571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17572 (eval $ac_compile) 2>conftest.er1
17573 ac_status=$?
17574 grep -v '^ *+' conftest.er1 >conftest.err
17575 rm -f conftest.er1
17576 cat conftest.err >&5
17577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578 (exit $ac_status); } &&
17579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17581 (eval $ac_try) 2>&5
17582 ac_status=$?
17583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17584 (exit $ac_status); }; } &&
17585 { ac_try='test -s conftest.$ac_objext'
17586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17587 (eval $ac_try) 2>&5
17588 ac_status=$?
17589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17590 (exit $ac_status); }; }; then
17591 ac_cv_member_struct_statvfs_f_blocks=yes
17592 else
17593 echo "$as_me: failed program was:" >&5
17594 sed 's/^/| /' conftest.$ac_ext >&5
17596 ac_cv_member_struct_statvfs_f_blocks=no
17598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17602 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
17603 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
17604 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
17606 cat >>confdefs.h <<_ACEOF
17607 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17608 _ACEOF
17614 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
17615 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
17616 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
17617 echo $ECHO_N "(cached) $ECHO_C" >&6
17618 else
17619 cat >conftest.$ac_ext <<_ACEOF
17620 /* confdefs.h. */
17621 _ACEOF
17622 cat confdefs.h >>conftest.$ac_ext
17623 cat >>conftest.$ac_ext <<_ACEOF
17624 /* end confdefs.h. */
17625 #include <sys/types.h>
17626 #ifdef HAVE_SYS_SOCKET_H
17627 # include <sys/socket.h>
17628 #endif
17629 #ifdef HAVE_SYS_UN_H
17630 # include <sys/un.h>
17631 #endif
17634 main ()
17636 static struct msghdr ac_aggr;
17637 if (ac_aggr.msg_accrights)
17638 return 0;
17640 return 0;
17642 _ACEOF
17643 rm -f conftest.$ac_objext
17644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17645 (eval $ac_compile) 2>conftest.er1
17646 ac_status=$?
17647 grep -v '^ *+' conftest.er1 >conftest.err
17648 rm -f conftest.er1
17649 cat conftest.err >&5
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); } &&
17652 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17655 ac_status=$?
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; } &&
17658 { ac_try='test -s conftest.$ac_objext'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17661 ac_status=$?
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; }; then
17664 ac_cv_member_struct_msghdr_msg_accrights=yes
17665 else
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.$ac_ext >&5
17669 cat >conftest.$ac_ext <<_ACEOF
17670 /* confdefs.h. */
17671 _ACEOF
17672 cat confdefs.h >>conftest.$ac_ext
17673 cat >>conftest.$ac_ext <<_ACEOF
17674 /* end confdefs.h. */
17675 #include <sys/types.h>
17676 #ifdef HAVE_SYS_SOCKET_H
17677 # include <sys/socket.h>
17678 #endif
17679 #ifdef HAVE_SYS_UN_H
17680 # include <sys/un.h>
17681 #endif
17684 main ()
17686 static struct msghdr ac_aggr;
17687 if (sizeof ac_aggr.msg_accrights)
17688 return 0;
17690 return 0;
17692 _ACEOF
17693 rm -f conftest.$ac_objext
17694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17695 (eval $ac_compile) 2>conftest.er1
17696 ac_status=$?
17697 grep -v '^ *+' conftest.er1 >conftest.err
17698 rm -f conftest.er1
17699 cat conftest.err >&5
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); } &&
17702 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17704 (eval $ac_try) 2>&5
17705 ac_status=$?
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); }; } &&
17708 { ac_try='test -s conftest.$ac_objext'
17709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17710 (eval $ac_try) 2>&5
17711 ac_status=$?
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); }; }; then
17714 ac_cv_member_struct_msghdr_msg_accrights=yes
17715 else
17716 echo "$as_me: failed program was:" >&5
17717 sed 's/^/| /' conftest.$ac_ext >&5
17719 ac_cv_member_struct_msghdr_msg_accrights=no
17721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17725 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
17726 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
17727 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
17729 cat >>confdefs.h <<_ACEOF
17730 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17731 _ACEOF
17735 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
17736 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
17737 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
17738 echo $ECHO_N "(cached) $ECHO_C" >&6
17739 else
17740 cat >conftest.$ac_ext <<_ACEOF
17741 /* confdefs.h. */
17742 _ACEOF
17743 cat confdefs.h >>conftest.$ac_ext
17744 cat >>conftest.$ac_ext <<_ACEOF
17745 /* end confdefs.h. */
17746 #include <sys/types.h>
17747 #ifdef HAVE_SYS_SOCKET_H
17748 # include <sys/socket.h>
17749 #endif
17750 #ifdef HAVE_SYS_UN_H
17751 # include <sys/un.h>
17752 #endif
17755 main ()
17757 static struct sockaddr ac_aggr;
17758 if (ac_aggr.sa_len)
17759 return 0;
17761 return 0;
17763 _ACEOF
17764 rm -f conftest.$ac_objext
17765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17766 (eval $ac_compile) 2>conftest.er1
17767 ac_status=$?
17768 grep -v '^ *+' conftest.er1 >conftest.err
17769 rm -f conftest.er1
17770 cat conftest.err >&5
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); } &&
17773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17775 (eval $ac_try) 2>&5
17776 ac_status=$?
17777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17778 (exit $ac_status); }; } &&
17779 { ac_try='test -s conftest.$ac_objext'
17780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17781 (eval $ac_try) 2>&5
17782 ac_status=$?
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); }; }; then
17785 ac_cv_member_struct_sockaddr_sa_len=yes
17786 else
17787 echo "$as_me: failed program was:" >&5
17788 sed 's/^/| /' conftest.$ac_ext >&5
17790 cat >conftest.$ac_ext <<_ACEOF
17791 /* confdefs.h. */
17792 _ACEOF
17793 cat confdefs.h >>conftest.$ac_ext
17794 cat >>conftest.$ac_ext <<_ACEOF
17795 /* end confdefs.h. */
17796 #include <sys/types.h>
17797 #ifdef HAVE_SYS_SOCKET_H
17798 # include <sys/socket.h>
17799 #endif
17800 #ifdef HAVE_SYS_UN_H
17801 # include <sys/un.h>
17802 #endif
17805 main ()
17807 static struct sockaddr ac_aggr;
17808 if (sizeof ac_aggr.sa_len)
17809 return 0;
17811 return 0;
17813 _ACEOF
17814 rm -f conftest.$ac_objext
17815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17816 (eval $ac_compile) 2>conftest.er1
17817 ac_status=$?
17818 grep -v '^ *+' conftest.er1 >conftest.err
17819 rm -f conftest.er1
17820 cat conftest.err >&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); } &&
17823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17825 (eval $ac_try) 2>&5
17826 ac_status=$?
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); }; } &&
17829 { ac_try='test -s conftest.$ac_objext'
17830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17831 (eval $ac_try) 2>&5
17832 ac_status=$?
17833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834 (exit $ac_status); }; }; then
17835 ac_cv_member_struct_sockaddr_sa_len=yes
17836 else
17837 echo "$as_me: failed program was:" >&5
17838 sed 's/^/| /' conftest.$ac_ext >&5
17840 ac_cv_member_struct_sockaddr_sa_len=no
17842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17846 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
17847 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
17848 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
17850 cat >>confdefs.h <<_ACEOF
17851 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17852 _ACEOF
17856 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
17857 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
17858 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
17859 echo $ECHO_N "(cached) $ECHO_C" >&6
17860 else
17861 cat >conftest.$ac_ext <<_ACEOF
17862 /* confdefs.h. */
17863 _ACEOF
17864 cat confdefs.h >>conftest.$ac_ext
17865 cat >>conftest.$ac_ext <<_ACEOF
17866 /* end confdefs.h. */
17867 #include <sys/types.h>
17868 #ifdef HAVE_SYS_SOCKET_H
17869 # include <sys/socket.h>
17870 #endif
17871 #ifdef HAVE_SYS_UN_H
17872 # include <sys/un.h>
17873 #endif
17876 main ()
17878 static struct sockaddr_un ac_aggr;
17879 if (ac_aggr.sun_len)
17880 return 0;
17882 return 0;
17884 _ACEOF
17885 rm -f conftest.$ac_objext
17886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17887 (eval $ac_compile) 2>conftest.er1
17888 ac_status=$?
17889 grep -v '^ *+' conftest.er1 >conftest.err
17890 rm -f conftest.er1
17891 cat conftest.err >&5
17892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893 (exit $ac_status); } &&
17894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17896 (eval $ac_try) 2>&5
17897 ac_status=$?
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); }; } &&
17900 { ac_try='test -s conftest.$ac_objext'
17901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17902 (eval $ac_try) 2>&5
17903 ac_status=$?
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); }; }; then
17906 ac_cv_member_struct_sockaddr_un_sun_len=yes
17907 else
17908 echo "$as_me: failed program was:" >&5
17909 sed 's/^/| /' conftest.$ac_ext >&5
17911 cat >conftest.$ac_ext <<_ACEOF
17912 /* confdefs.h. */
17913 _ACEOF
17914 cat confdefs.h >>conftest.$ac_ext
17915 cat >>conftest.$ac_ext <<_ACEOF
17916 /* end confdefs.h. */
17917 #include <sys/types.h>
17918 #ifdef HAVE_SYS_SOCKET_H
17919 # include <sys/socket.h>
17920 #endif
17921 #ifdef HAVE_SYS_UN_H
17922 # include <sys/un.h>
17923 #endif
17926 main ()
17928 static struct sockaddr_un ac_aggr;
17929 if (sizeof ac_aggr.sun_len)
17930 return 0;
17932 return 0;
17934 _ACEOF
17935 rm -f conftest.$ac_objext
17936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17937 (eval $ac_compile) 2>conftest.er1
17938 ac_status=$?
17939 grep -v '^ *+' conftest.er1 >conftest.err
17940 rm -f conftest.er1
17941 cat conftest.err >&5
17942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943 (exit $ac_status); } &&
17944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17946 (eval $ac_try) 2>&5
17947 ac_status=$?
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); }; } &&
17950 { ac_try='test -s conftest.$ac_objext'
17951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17952 (eval $ac_try) 2>&5
17953 ac_status=$?
17954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17955 (exit $ac_status); }; }; then
17956 ac_cv_member_struct_sockaddr_un_sun_len=yes
17957 else
17958 echo "$as_me: failed program was:" >&5
17959 sed 's/^/| /' conftest.$ac_ext >&5
17961 ac_cv_member_struct_sockaddr_un_sun_len=no
17963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17967 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
17968 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
17969 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
17971 cat >>confdefs.h <<_ACEOF
17972 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17973 _ACEOF
17979 echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
17980 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6
17981 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
17982 echo $ECHO_N "(cached) $ECHO_C" >&6
17983 else
17984 cat >conftest.$ac_ext <<_ACEOF
17985 /* confdefs.h. */
17986 _ACEOF
17987 cat confdefs.h >>conftest.$ac_ext
17988 cat >>conftest.$ac_ext <<_ACEOF
17989 /* end confdefs.h. */
17990 #include <sys/types.h>
17991 #ifdef HAVE_SCSI_SG_H
17992 #include <scsi/sg.h>
17993 #endif
17996 main ()
17998 static scsireq_t ac_aggr;
17999 if (ac_aggr.cmd)
18000 return 0;
18002 return 0;
18004 _ACEOF
18005 rm -f conftest.$ac_objext
18006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18007 (eval $ac_compile) 2>conftest.er1
18008 ac_status=$?
18009 grep -v '^ *+' conftest.er1 >conftest.err
18010 rm -f conftest.er1
18011 cat conftest.err >&5
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); } &&
18014 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18016 (eval $ac_try) 2>&5
18017 ac_status=$?
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); }; } &&
18020 { ac_try='test -s conftest.$ac_objext'
18021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18022 (eval $ac_try) 2>&5
18023 ac_status=$?
18024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18025 (exit $ac_status); }; }; then
18026 ac_cv_member_scsireq_t_cmd=yes
18027 else
18028 echo "$as_me: failed program was:" >&5
18029 sed 's/^/| /' conftest.$ac_ext >&5
18031 cat >conftest.$ac_ext <<_ACEOF
18032 /* confdefs.h. */
18033 _ACEOF
18034 cat confdefs.h >>conftest.$ac_ext
18035 cat >>conftest.$ac_ext <<_ACEOF
18036 /* end confdefs.h. */
18037 #include <sys/types.h>
18038 #ifdef HAVE_SCSI_SG_H
18039 #include <scsi/sg.h>
18040 #endif
18043 main ()
18045 static scsireq_t ac_aggr;
18046 if (sizeof ac_aggr.cmd)
18047 return 0;
18049 return 0;
18051 _ACEOF
18052 rm -f conftest.$ac_objext
18053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18054 (eval $ac_compile) 2>conftest.er1
18055 ac_status=$?
18056 grep -v '^ *+' conftest.er1 >conftest.err
18057 rm -f conftest.er1
18058 cat conftest.err >&5
18059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18060 (exit $ac_status); } &&
18061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18063 (eval $ac_try) 2>&5
18064 ac_status=$?
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); }; } &&
18067 { ac_try='test -s conftest.$ac_objext'
18068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18069 (eval $ac_try) 2>&5
18070 ac_status=$?
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); }; }; then
18073 ac_cv_member_scsireq_t_cmd=yes
18074 else
18075 echo "$as_me: failed program was:" >&5
18076 sed 's/^/| /' conftest.$ac_ext >&5
18078 ac_cv_member_scsireq_t_cmd=no
18080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18084 echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18085 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6
18086 if test $ac_cv_member_scsireq_t_cmd = yes; then
18088 cat >>confdefs.h <<_ACEOF
18089 #define HAVE_SCSIREQ_T_CMD 1
18090 _ACEOF
18094 echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18095 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6
18096 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18097 echo $ECHO_N "(cached) $ECHO_C" >&6
18098 else
18099 cat >conftest.$ac_ext <<_ACEOF
18100 /* confdefs.h. */
18101 _ACEOF
18102 cat confdefs.h >>conftest.$ac_ext
18103 cat >>conftest.$ac_ext <<_ACEOF
18104 /* end confdefs.h. */
18105 #include <sys/types.h>
18106 #ifdef HAVE_SCSI_SG_H
18107 #include <scsi/sg.h>
18108 #endif
18111 main ()
18113 static sg_io_hdr_t ac_aggr;
18114 if (ac_aggr.interface_id)
18115 return 0;
18117 return 0;
18119 _ACEOF
18120 rm -f conftest.$ac_objext
18121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18122 (eval $ac_compile) 2>conftest.er1
18123 ac_status=$?
18124 grep -v '^ *+' conftest.er1 >conftest.err
18125 rm -f conftest.er1
18126 cat conftest.err >&5
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); } &&
18129 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18131 (eval $ac_try) 2>&5
18132 ac_status=$?
18133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18134 (exit $ac_status); }; } &&
18135 { ac_try='test -s conftest.$ac_objext'
18136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18137 (eval $ac_try) 2>&5
18138 ac_status=$?
18139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18140 (exit $ac_status); }; }; then
18141 ac_cv_member_sg_io_hdr_t_interface_id=yes
18142 else
18143 echo "$as_me: failed program was:" >&5
18144 sed 's/^/| /' conftest.$ac_ext >&5
18146 cat >conftest.$ac_ext <<_ACEOF
18147 /* confdefs.h. */
18148 _ACEOF
18149 cat confdefs.h >>conftest.$ac_ext
18150 cat >>conftest.$ac_ext <<_ACEOF
18151 /* end confdefs.h. */
18152 #include <sys/types.h>
18153 #ifdef HAVE_SCSI_SG_H
18154 #include <scsi/sg.h>
18155 #endif
18158 main ()
18160 static sg_io_hdr_t ac_aggr;
18161 if (sizeof ac_aggr.interface_id)
18162 return 0;
18164 return 0;
18166 _ACEOF
18167 rm -f conftest.$ac_objext
18168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18169 (eval $ac_compile) 2>conftest.er1
18170 ac_status=$?
18171 grep -v '^ *+' conftest.er1 >conftest.err
18172 rm -f conftest.er1
18173 cat conftest.err >&5
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); } &&
18176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18178 (eval $ac_try) 2>&5
18179 ac_status=$?
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); }; } &&
18182 { ac_try='test -s conftest.$ac_objext'
18183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18184 (eval $ac_try) 2>&5
18185 ac_status=$?
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); }; }; then
18188 ac_cv_member_sg_io_hdr_t_interface_id=yes
18189 else
18190 echo "$as_me: failed program was:" >&5
18191 sed 's/^/| /' conftest.$ac_ext >&5
18193 ac_cv_member_sg_io_hdr_t_interface_id=no
18195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18199 echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18200 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6
18201 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
18203 cat >>confdefs.h <<_ACEOF
18204 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18205 _ACEOF
18211 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18212 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
18213 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18214 echo $ECHO_N "(cached) $ECHO_C" >&6
18215 else
18216 cat >conftest.$ac_ext <<_ACEOF
18217 /* confdefs.h. */
18218 _ACEOF
18219 cat confdefs.h >>conftest.$ac_ext
18220 cat >>conftest.$ac_ext <<_ACEOF
18221 /* end confdefs.h. */
18222 #include <signal.h>
18225 main ()
18227 static siginfo_t ac_aggr;
18228 if (ac_aggr.si_fd)
18229 return 0;
18231 return 0;
18233 _ACEOF
18234 rm -f conftest.$ac_objext
18235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18236 (eval $ac_compile) 2>conftest.er1
18237 ac_status=$?
18238 grep -v '^ *+' conftest.er1 >conftest.err
18239 rm -f conftest.er1
18240 cat conftest.err >&5
18241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18242 (exit $ac_status); } &&
18243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18245 (eval $ac_try) 2>&5
18246 ac_status=$?
18247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18248 (exit $ac_status); }; } &&
18249 { ac_try='test -s conftest.$ac_objext'
18250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18251 (eval $ac_try) 2>&5
18252 ac_status=$?
18253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18254 (exit $ac_status); }; }; then
18255 ac_cv_member_siginfo_t_si_fd=yes
18256 else
18257 echo "$as_me: failed program was:" >&5
18258 sed 's/^/| /' conftest.$ac_ext >&5
18260 cat >conftest.$ac_ext <<_ACEOF
18261 /* confdefs.h. */
18262 _ACEOF
18263 cat confdefs.h >>conftest.$ac_ext
18264 cat >>conftest.$ac_ext <<_ACEOF
18265 /* end confdefs.h. */
18266 #include <signal.h>
18269 main ()
18271 static siginfo_t ac_aggr;
18272 if (sizeof ac_aggr.si_fd)
18273 return 0;
18275 return 0;
18277 _ACEOF
18278 rm -f conftest.$ac_objext
18279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18280 (eval $ac_compile) 2>conftest.er1
18281 ac_status=$?
18282 grep -v '^ *+' conftest.er1 >conftest.err
18283 rm -f conftest.er1
18284 cat conftest.err >&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); } &&
18287 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18290 ac_status=$?
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; } &&
18293 { ac_try='test -s conftest.$ac_objext'
18294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18295 (eval $ac_try) 2>&5
18296 ac_status=$?
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); }; }; then
18299 ac_cv_member_siginfo_t_si_fd=yes
18300 else
18301 echo "$as_me: failed program was:" >&5
18302 sed 's/^/| /' conftest.$ac_ext >&5
18304 ac_cv_member_siginfo_t_si_fd=no
18306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18310 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
18311 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
18312 if test $ac_cv_member_siginfo_t_si_fd = yes; then
18314 cat >>confdefs.h <<_ACEOF
18315 #define HAVE_SIGINFO_T_SI_FD 1
18316 _ACEOF
18322 echo "$as_me:$LINENO: checking for struct option.name" >&5
18323 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
18324 if test "${ac_cv_member_struct_option_name+set}" = set; then
18325 echo $ECHO_N "(cached) $ECHO_C" >&6
18326 else
18327 cat >conftest.$ac_ext <<_ACEOF
18328 /* confdefs.h. */
18329 _ACEOF
18330 cat confdefs.h >>conftest.$ac_ext
18331 cat >>conftest.$ac_ext <<_ACEOF
18332 /* end confdefs.h. */
18333 #ifdef HAVE_GETOPT_H
18334 #include <getopt.h>
18335 #endif
18338 main ()
18340 static struct option ac_aggr;
18341 if (ac_aggr.name)
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_option_name=yes
18369 else
18370 echo "$as_me: failed program was:" >&5
18371 sed 's/^/| /' conftest.$ac_ext >&5
18373 cat >conftest.$ac_ext <<_ACEOF
18374 /* confdefs.h. */
18375 _ACEOF
18376 cat confdefs.h >>conftest.$ac_ext
18377 cat >>conftest.$ac_ext <<_ACEOF
18378 /* end confdefs.h. */
18379 #ifdef HAVE_GETOPT_H
18380 #include <getopt.h>
18381 #endif
18384 main ()
18386 static struct option ac_aggr;
18387 if (sizeof ac_aggr.name)
18388 return 0;
18390 return 0;
18392 _ACEOF
18393 rm -f conftest.$ac_objext
18394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18395 (eval $ac_compile) 2>conftest.er1
18396 ac_status=$?
18397 grep -v '^ *+' conftest.er1 >conftest.err
18398 rm -f conftest.er1
18399 cat conftest.err >&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); } &&
18402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18404 (eval $ac_try) 2>&5
18405 ac_status=$?
18406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18407 (exit $ac_status); }; } &&
18408 { ac_try='test -s conftest.$ac_objext'
18409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18410 (eval $ac_try) 2>&5
18411 ac_status=$?
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); }; }; then
18414 ac_cv_member_struct_option_name=yes
18415 else
18416 echo "$as_me: failed program was:" >&5
18417 sed 's/^/| /' conftest.$ac_ext >&5
18419 ac_cv_member_struct_option_name=no
18421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18425 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
18426 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
18427 if test $ac_cv_member_struct_option_name = yes; then
18429 cat >>confdefs.h <<_ACEOF
18430 #define HAVE_STRUCT_OPTION_NAME 1
18431 _ACEOF
18437 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
18438 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
18439 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
18440 echo $ECHO_N "(cached) $ECHO_C" >&6
18441 else
18442 cat >conftest.$ac_ext <<_ACEOF
18443 /* confdefs.h. */
18444 _ACEOF
18445 cat confdefs.h >>conftest.$ac_ext
18446 cat >>conftest.$ac_ext <<_ACEOF
18447 /* end confdefs.h. */
18448 $ac_includes_default
18450 main ()
18452 static struct stat ac_aggr;
18453 if (ac_aggr.st_blocks)
18454 return 0;
18456 return 0;
18458 _ACEOF
18459 rm -f conftest.$ac_objext
18460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18461 (eval $ac_compile) 2>conftest.er1
18462 ac_status=$?
18463 grep -v '^ *+' conftest.er1 >conftest.err
18464 rm -f conftest.er1
18465 cat conftest.err >&5
18466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18467 (exit $ac_status); } &&
18468 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18470 (eval $ac_try) 2>&5
18471 ac_status=$?
18472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18473 (exit $ac_status); }; } &&
18474 { ac_try='test -s conftest.$ac_objext'
18475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18476 (eval $ac_try) 2>&5
18477 ac_status=$?
18478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18479 (exit $ac_status); }; }; then
18480 ac_cv_member_struct_stat_st_blocks=yes
18481 else
18482 echo "$as_me: failed program was:" >&5
18483 sed 's/^/| /' conftest.$ac_ext >&5
18485 cat >conftest.$ac_ext <<_ACEOF
18486 /* confdefs.h. */
18487 _ACEOF
18488 cat confdefs.h >>conftest.$ac_ext
18489 cat >>conftest.$ac_ext <<_ACEOF
18490 /* end confdefs.h. */
18491 $ac_includes_default
18493 main ()
18495 static struct stat ac_aggr;
18496 if (sizeof ac_aggr.st_blocks)
18497 return 0;
18499 return 0;
18501 _ACEOF
18502 rm -f conftest.$ac_objext
18503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18504 (eval $ac_compile) 2>conftest.er1
18505 ac_status=$?
18506 grep -v '^ *+' conftest.er1 >conftest.err
18507 rm -f conftest.er1
18508 cat conftest.err >&5
18509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18510 (exit $ac_status); } &&
18511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18513 (eval $ac_try) 2>&5
18514 ac_status=$?
18515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18516 (exit $ac_status); }; } &&
18517 { ac_try='test -s conftest.$ac_objext'
18518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18519 (eval $ac_try) 2>&5
18520 ac_status=$?
18521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18522 (exit $ac_status); }; }; then
18523 ac_cv_member_struct_stat_st_blocks=yes
18524 else
18525 echo "$as_me: failed program was:" >&5
18526 sed 's/^/| /' conftest.$ac_ext >&5
18528 ac_cv_member_struct_stat_st_blocks=no
18530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18534 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
18535 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
18536 if test $ac_cv_member_struct_stat_st_blocks = yes; then
18538 cat >>confdefs.h <<_ACEOF
18539 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18540 _ACEOF
18546 echo "$as_me:$LINENO: checking for timezone variable" >&5
18547 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6
18548 if test "${ac_cv_have_timezone+set}" = set; then
18549 echo $ECHO_N "(cached) $ECHO_C" >&6
18550 else
18551 cat >conftest.$ac_ext <<_ACEOF
18552 /* confdefs.h. */
18553 _ACEOF
18554 cat confdefs.h >>conftest.$ac_ext
18555 cat >>conftest.$ac_ext <<_ACEOF
18556 /* end confdefs.h. */
18557 #include <time.h>
18559 main ()
18561 timezone;
18563 return 0;
18565 _ACEOF
18566 rm -f conftest.$ac_objext conftest$ac_exeext
18567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18568 (eval $ac_link) 2>conftest.er1
18569 ac_status=$?
18570 grep -v '^ *+' conftest.er1 >conftest.err
18571 rm -f conftest.er1
18572 cat conftest.err >&5
18573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18574 (exit $ac_status); } &&
18575 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18577 (eval $ac_try) 2>&5
18578 ac_status=$?
18579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18580 (exit $ac_status); }; } &&
18581 { ac_try='test -s conftest$ac_exeext'
18582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18583 (eval $ac_try) 2>&5
18584 ac_status=$?
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); }; }; then
18587 ac_cv_have_timezone="yes"
18588 else
18589 echo "$as_me: failed program was:" >&5
18590 sed 's/^/| /' conftest.$ac_ext >&5
18592 ac_cv_have_timezone="no"
18594 rm -f conftest.err conftest.$ac_objext \
18595 conftest$ac_exeext conftest.$ac_ext
18597 echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
18598 echo "${ECHO_T}$ac_cv_have_timezone" >&6
18599 if test "$ac_cv_have_timezone" = "yes"
18600 then
18602 cat >>confdefs.h <<\_ACEOF
18603 #define HAVE_TIMEZONE 1
18604 _ACEOF
18607 echo "$as_me:$LINENO: checking for daylight variable" >&5
18608 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6
18609 if test "${ac_cv_have_daylight+set}" = set; then
18610 echo $ECHO_N "(cached) $ECHO_C" >&6
18611 else
18612 cat >conftest.$ac_ext <<_ACEOF
18613 /* confdefs.h. */
18614 _ACEOF
18615 cat confdefs.h >>conftest.$ac_ext
18616 cat >>conftest.$ac_ext <<_ACEOF
18617 /* end confdefs.h. */
18618 #include <time.h>
18620 main ()
18622 daylight;
18624 return 0;
18626 _ACEOF
18627 rm -f conftest.$ac_objext conftest$ac_exeext
18628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18629 (eval $ac_link) 2>conftest.er1
18630 ac_status=$?
18631 grep -v '^ *+' conftest.er1 >conftest.err
18632 rm -f conftest.er1
18633 cat conftest.err >&5
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); } &&
18636 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
18642 { ac_try='test -s conftest$ac_exeext'
18643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18644 (eval $ac_try) 2>&5
18645 ac_status=$?
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); }; }; then
18648 ac_cv_have_daylight="yes"
18649 else
18650 echo "$as_me: failed program was:" >&5
18651 sed 's/^/| /' conftest.$ac_ext >&5
18653 ac_cv_have_daylight="no"
18655 rm -f conftest.err conftest.$ac_objext \
18656 conftest$ac_exeext conftest.$ac_ext
18658 echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
18659 echo "${ECHO_T}$ac_cv_have_daylight" >&6
18660 if test "$ac_cv_have_daylight" = "yes"
18661 then
18663 cat >>confdefs.h <<\_ACEOF
18664 #define HAVE_DAYLIGHT 1
18665 _ACEOF
18670 case $host_cpu in
18671 *i[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
18672 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
18673 if test "${ac_cv_cpp_def___i386__+set}" = set; then
18674 echo $ECHO_N "(cached) $ECHO_C" >&6
18675 else
18676 cat >conftest.$ac_ext <<_ACEOF
18677 /* confdefs.h. */
18678 _ACEOF
18679 cat confdefs.h >>conftest.$ac_ext
18680 cat >>conftest.$ac_ext <<_ACEOF
18681 /* end confdefs.h. */
18682 #ifndef __i386__
18684 #endif
18685 _ACEOF
18686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18687 $EGREP "yes" >/dev/null 2>&1; then
18688 ac_cv_cpp_def___i386__=yes
18689 else
18690 ac_cv_cpp_def___i386__=no
18692 rm -f conftest*
18695 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
18696 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
18697 if test $ac_cv_cpp_def___i386__ = yes; then
18698 CFLAGS="$CFLAGS -D__i386__"
18699 LINTFLAGS="$LINTFLAGS -D__i386__"
18702 *alpha*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
18703 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
18704 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
18705 echo $ECHO_N "(cached) $ECHO_C" >&6
18706 else
18707 cat >conftest.$ac_ext <<_ACEOF
18708 /* confdefs.h. */
18709 _ACEOF
18710 cat confdefs.h >>conftest.$ac_ext
18711 cat >>conftest.$ac_ext <<_ACEOF
18712 /* end confdefs.h. */
18713 #ifndef __ALPHA__
18715 #endif
18716 _ACEOF
18717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18718 $EGREP "yes" >/dev/null 2>&1; then
18719 ac_cv_cpp_def___ALPHA__=yes
18720 else
18721 ac_cv_cpp_def___ALPHA__=no
18723 rm -f conftest*
18726 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
18727 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
18728 if test $ac_cv_cpp_def___ALPHA__ = yes; then
18729 CFLAGS="$CFLAGS -D__ALPHA__"
18730 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
18733 *sparc*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
18734 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
18735 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
18736 echo $ECHO_N "(cached) $ECHO_C" >&6
18737 else
18738 cat >conftest.$ac_ext <<_ACEOF
18739 /* confdefs.h. */
18740 _ACEOF
18741 cat confdefs.h >>conftest.$ac_ext
18742 cat >>conftest.$ac_ext <<_ACEOF
18743 /* end confdefs.h. */
18744 #ifndef __sparc__
18746 #endif
18747 _ACEOF
18748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18749 $EGREP "yes" >/dev/null 2>&1; then
18750 ac_cv_cpp_def___sparc__=yes
18751 else
18752 ac_cv_cpp_def___sparc__=no
18754 rm -f conftest*
18757 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
18758 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
18759 if test $ac_cv_cpp_def___sparc__ = yes; then
18760 CFLAGS="$CFLAGS -D__sparc__"
18761 LINTFLAGS="$LINTFLAGS -D__sparc__"
18764 *powerpc*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
18765 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
18766 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
18767 echo $ECHO_N "(cached) $ECHO_C" >&6
18768 else
18769 cat >conftest.$ac_ext <<_ACEOF
18770 /* confdefs.h. */
18771 _ACEOF
18772 cat confdefs.h >>conftest.$ac_ext
18773 cat >>conftest.$ac_ext <<_ACEOF
18774 /* end confdefs.h. */
18775 #ifndef __powerpc__
18777 #endif
18778 _ACEOF
18779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18780 $EGREP "yes" >/dev/null 2>&1; then
18781 ac_cv_cpp_def___powerpc__=yes
18782 else
18783 ac_cv_cpp_def___powerpc__=no
18785 rm -f conftest*
18788 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
18789 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
18790 if test $ac_cv_cpp_def___powerpc__ = yes; then
18791 CFLAGS="$CFLAGS -D__powerpc__"
18792 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18795 esac
18797 case $host_vendor in
18798 *sun*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
18799 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
18800 if test "${ac_cv_cpp_def___sun__+set}" = set; then
18801 echo $ECHO_N "(cached) $ECHO_C" >&6
18802 else
18803 cat >conftest.$ac_ext <<_ACEOF
18804 /* confdefs.h. */
18805 _ACEOF
18806 cat confdefs.h >>conftest.$ac_ext
18807 cat >>conftest.$ac_ext <<_ACEOF
18808 /* end confdefs.h. */
18809 #ifndef __sun__
18811 #endif
18812 _ACEOF
18813 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18814 $EGREP "yes" >/dev/null 2>&1; then
18815 ac_cv_cpp_def___sun__=yes
18816 else
18817 ac_cv_cpp_def___sun__=no
18819 rm -f conftest*
18822 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
18823 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
18824 if test $ac_cv_cpp_def___sun__ = yes; then
18825 CFLAGS="$CFLAGS -D__sun__"
18826 LINTFLAGS="$LINTFLAGS -D__sun__"
18829 esac
18835 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
18837 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
18839 ac_config_commands="$ac_config_commands dlls/kernel/messages"
18841 ac_config_commands="$ac_config_commands dlls/user/resources"
18843 ac_config_commands="$ac_config_commands dlls/wineps/data"
18845 ac_config_commands="$ac_config_commands include/wine"
18848 MAKE_RULES=Make.rules
18851 MAKE_DLL_RULES=dlls/Makedll.rules
18854 MAKE_TEST_RULES=dlls/Maketest.rules
18857 MAKE_LIB_RULES=libs/Makelib.rules
18860 MAKE_PROG_RULES=programs/Makeprog.rules
18863 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/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/crypt32/tests/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/midimap/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/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvidc32/Makefile dlls/msvideo/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/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/secur32/tests/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/stdole2.tlb/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/usp10/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/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wldap32/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/hh/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"
18866 cat >confcache <<\_ACEOF
18867 # This file is a shell script that caches the results of configure
18868 # tests run on this system so they can be shared between configure
18869 # scripts and configure runs, see configure's option --config-cache.
18870 # It is not useful on other systems. If it contains results you don't
18871 # want to keep, you may remove or edit it.
18873 # config.status only pays attention to the cache file if you give it
18874 # the --recheck option to rerun configure.
18876 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18877 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18878 # following values.
18880 _ACEOF
18882 # The following way of writing the cache mishandles newlines in values,
18883 # but we know of no workaround that is simple, portable, and efficient.
18884 # So, don't put newlines in cache variables' values.
18885 # Ultrix sh set writes to stderr and can't be redirected directly,
18886 # and sets the high bit in the cache file unless we assign to the vars.
18888 (set) 2>&1 |
18889 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18890 *ac_space=\ *)
18891 # `set' does not quote correctly, so add quotes (double-quote
18892 # substitution turns \\\\ into \\, and sed turns \\ into \).
18893 sed -n \
18894 "s/'/'\\\\''/g;
18895 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18898 # `set' quotes correctly as required by POSIX, so do not add quotes.
18899 sed -n \
18900 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18902 esac;
18904 sed '
18905 t clear
18906 : clear
18907 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18908 t end
18909 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18910 : end' >>confcache
18911 if diff $cache_file confcache >/dev/null 2>&1; then :; else
18912 if test -w $cache_file; then
18913 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18914 cat confcache >$cache_file
18915 else
18916 echo "not updating unwritable cache $cache_file"
18919 rm -f confcache
18921 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18922 # Let make expand exec_prefix.
18923 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18925 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18926 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18927 # trailing colons and then remove the whole line if VPATH becomes empty
18928 # (actually we leave an empty line to preserve line numbers).
18929 if test "x$srcdir" = x.; then
18930 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18931 s/:*\$(srcdir):*/:/;
18932 s/:*\${srcdir}:*/:/;
18933 s/:*@srcdir@:*/:/;
18934 s/^\([^=]*=[ ]*\):*/\1/;
18935 s/:*$//;
18936 s/^[^=]*=[ ]*$//;
18940 DEFS=-DHAVE_CONFIG_H
18942 ac_libobjs=
18943 ac_ltlibobjs=
18944 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18945 # 1. Remove the extension, and $U if already installed.
18946 ac_i=`echo "$ac_i" |
18947 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
18948 # 2. Add them.
18949 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
18950 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
18951 done
18952 LIBOBJS=$ac_libobjs
18954 LTLIBOBJS=$ac_ltlibobjs
18958 : ${CONFIG_STATUS=./config.status}
18959 ac_clean_files_save=$ac_clean_files
18960 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18961 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
18962 echo "$as_me: creating $CONFIG_STATUS" >&6;}
18963 cat >$CONFIG_STATUS <<_ACEOF
18964 #! $SHELL
18965 # Generated by $as_me.
18966 # Run this file to recreate the current configuration.
18967 # Compiler output produced by configure, useful for debugging
18968 # configure, is in config.log if it exists.
18970 debug=false
18971 ac_cs_recheck=false
18972 ac_cs_silent=false
18973 SHELL=\${CONFIG_SHELL-$SHELL}
18974 _ACEOF
18976 cat >>$CONFIG_STATUS <<\_ACEOF
18977 ## --------------------- ##
18978 ## M4sh Initialization. ##
18979 ## --------------------- ##
18981 # Be Bourne compatible
18982 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18983 emulate sh
18984 NULLCMD=:
18985 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18986 # is contrary to our usage. Disable this feature.
18987 alias -g '${1+"$@"}'='"$@"'
18988 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
18989 set -o posix
18991 DUALCASE=1; export DUALCASE # for MKS sh
18993 # Support unset when possible.
18994 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
18995 as_unset=unset
18996 else
18997 as_unset=false
19001 # Work around bugs in pre-3.0 UWIN ksh.
19002 $as_unset ENV MAIL MAILPATH
19003 PS1='$ '
19004 PS2='> '
19005 PS4='+ '
19007 # NLS nuisances.
19008 for as_var in \
19009 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19010 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19011 LC_TELEPHONE LC_TIME
19013 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19014 eval $as_var=C; export $as_var
19015 else
19016 $as_unset $as_var
19018 done
19020 # Required to use basename.
19021 if expr a : '\(a\)' >/dev/null 2>&1; then
19022 as_expr=expr
19023 else
19024 as_expr=false
19027 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
19028 as_basename=basename
19029 else
19030 as_basename=false
19034 # Name of the executable.
19035 as_me=`$as_basename "$0" ||
19036 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19037 X"$0" : 'X\(//\)$' \| \
19038 X"$0" : 'X\(/\)$' \| \
19039 . : '\(.\)' 2>/dev/null ||
19040 echo X/"$0" |
19041 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19042 /^X\/\(\/\/\)$/{ s//\1/; q; }
19043 /^X\/\(\/\).*/{ s//\1/; q; }
19044 s/.*/./; q'`
19047 # PATH needs CR, and LINENO needs CR and PATH.
19048 # Avoid depending upon Character Ranges.
19049 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19050 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19051 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19052 as_cr_digits='0123456789'
19053 as_cr_alnum=$as_cr_Letters$as_cr_digits
19055 # The user is always right.
19056 if test "${PATH_SEPARATOR+set}" != set; then
19057 echo "#! /bin/sh" >conf$$.sh
19058 echo "exit 0" >>conf$$.sh
19059 chmod +x conf$$.sh
19060 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
19061 PATH_SEPARATOR=';'
19062 else
19063 PATH_SEPARATOR=:
19065 rm -f conf$$.sh
19069 as_lineno_1=$LINENO
19070 as_lineno_2=$LINENO
19071 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19072 test "x$as_lineno_1" != "x$as_lineno_2" &&
19073 test "x$as_lineno_3" = "x$as_lineno_2" || {
19074 # Find who we are. Look in the path if we contain no path at all
19075 # relative or not.
19076 case $0 in
19077 *[\\/]* ) as_myself=$0 ;;
19078 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19079 for as_dir in $PATH
19081 IFS=$as_save_IFS
19082 test -z "$as_dir" && as_dir=.
19083 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19084 done
19087 esac
19088 # We did not find ourselves, most probably we were run as `sh COMMAND'
19089 # in which case we are not to be found in the path.
19090 if test "x$as_myself" = x; then
19091 as_myself=$0
19093 if test ! -f "$as_myself"; then
19094 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19095 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19096 { (exit 1); exit 1; }; }
19098 case $CONFIG_SHELL in
19100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19101 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
19103 IFS=$as_save_IFS
19104 test -z "$as_dir" && as_dir=.
19105 for as_base in sh bash ksh sh5; do
19106 case $as_dir in
19108 if ("$as_dir/$as_base" -c '
19109 as_lineno_1=$LINENO
19110 as_lineno_2=$LINENO
19111 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19112 test "x$as_lineno_1" != "x$as_lineno_2" &&
19113 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
19114 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
19115 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
19116 CONFIG_SHELL=$as_dir/$as_base
19117 export CONFIG_SHELL
19118 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19119 fi;;
19120 esac
19121 done
19122 done
19124 esac
19126 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19127 # uniformly replaced by the line number. The first 'sed' inserts a
19128 # line-number line before each line; the second 'sed' does the real
19129 # work. The second script uses 'N' to pair each line-number line
19130 # with the numbered line, and appends trailing '-' during
19131 # substitution so that $LINENO is not a special case at line end.
19132 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19133 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
19134 sed '=' <$as_myself |
19135 sed '
19137 s,$,-,
19138 : loop
19139 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
19140 t loop
19141 s,-$,,
19142 s,^['$as_cr_digits']*\n,,
19143 ' >$as_me.lineno &&
19144 chmod +x $as_me.lineno ||
19145 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19146 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
19147 { (exit 1); exit 1; }; }
19149 # Don't try to exec as it changes $[0], causing all sort of problems
19150 # (the dirname of $[0] is not the place where we might find the
19151 # original and so on. Autoconf is especially sensible to this).
19152 . ./$as_me.lineno
19153 # Exit status is that of the last command.
19154 exit
19158 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19159 *c*,-n*) ECHO_N= ECHO_C='
19160 ' ECHO_T=' ' ;;
19161 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
19162 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
19163 esac
19165 if expr a : '\(a\)' >/dev/null 2>&1; then
19166 as_expr=expr
19167 else
19168 as_expr=false
19171 rm -f conf$$ conf$$.exe conf$$.file
19172 echo >conf$$.file
19173 if ln -s conf$$.file conf$$ 2>/dev/null; then
19174 # We could just check for DJGPP; but this test a) works b) is more generic
19175 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19176 if test -f conf$$.exe; then
19177 # Don't use ln at all; we don't have any links
19178 as_ln_s='cp -p'
19179 else
19180 as_ln_s='ln -s'
19182 elif ln conf$$.file conf$$ 2>/dev/null; then
19183 as_ln_s=ln
19184 else
19185 as_ln_s='cp -p'
19187 rm -f conf$$ conf$$.exe conf$$.file
19189 if mkdir -p . 2>/dev/null; then
19190 as_mkdir_p=:
19191 else
19192 test -d ./-p && rmdir ./-p
19193 as_mkdir_p=false
19196 as_executable_p="test -f"
19198 # Sed expression to map a string onto a valid CPP name.
19199 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19201 # Sed expression to map a string onto a valid variable name.
19202 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19205 # IFS
19206 # We need space, tab and new line, in precisely that order.
19207 as_nl='
19209 IFS=" $as_nl"
19211 # CDPATH.
19212 $as_unset CDPATH
19214 exec 6>&1
19216 # Open the log real soon, to keep \$[0] and so on meaningful, and to
19217 # report actual input values of CONFIG_FILES etc. instead of their
19218 # values after options handling. Logging --version etc. is OK.
19219 exec 5>>config.log
19221 echo
19222 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19223 ## Running $as_me. ##
19224 _ASBOX
19225 } >&5
19226 cat >&5 <<_CSEOF
19228 This file was extended by Wine $as_me 20050725, which was
19229 generated by GNU Autoconf 2.59. Invocation command line was
19231 CONFIG_FILES = $CONFIG_FILES
19232 CONFIG_HEADERS = $CONFIG_HEADERS
19233 CONFIG_LINKS = $CONFIG_LINKS
19234 CONFIG_COMMANDS = $CONFIG_COMMANDS
19235 $ $0 $@
19237 _CSEOF
19238 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
19239 echo >&5
19240 _ACEOF
19242 # Files that config.status was made for.
19243 if test -n "$ac_config_files"; then
19244 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
19247 if test -n "$ac_config_headers"; then
19248 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
19251 if test -n "$ac_config_links"; then
19252 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
19255 if test -n "$ac_config_commands"; then
19256 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
19259 cat >>$CONFIG_STATUS <<\_ACEOF
19261 ac_cs_usage="\
19262 \`$as_me' instantiates files from templates according to the
19263 current configuration.
19265 Usage: $0 [OPTIONS] [FILE]...
19267 -h, --help print this help, then exit
19268 -V, --version print version number, then exit
19269 -q, --quiet do not print progress messages
19270 -d, --debug don't remove temporary files
19271 --recheck update $as_me by reconfiguring in the same conditions
19272 --file=FILE[:TEMPLATE]
19273 instantiate the configuration file FILE
19274 --header=FILE[:TEMPLATE]
19275 instantiate the configuration header FILE
19277 Configuration files:
19278 $config_files
19280 Configuration headers:
19281 $config_headers
19283 Configuration commands:
19284 $config_commands
19286 Report bugs to <bug-autoconf@gnu.org>."
19287 _ACEOF
19289 cat >>$CONFIG_STATUS <<_ACEOF
19290 ac_cs_version="\\
19291 Wine config.status 20050725
19292 configured by $0, generated by GNU Autoconf 2.59,
19293 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19295 Copyright (C) 2003 Free Software Foundation, Inc.
19296 This config.status script is free software; the Free Software Foundation
19297 gives unlimited permission to copy, distribute and modify it."
19298 srcdir=$srcdir
19299 INSTALL="$INSTALL"
19300 _ACEOF
19302 cat >>$CONFIG_STATUS <<\_ACEOF
19303 # If no file are specified by the user, then we need to provide default
19304 # value. By we need to know if files were specified by the user.
19305 ac_need_defaults=:
19306 while test $# != 0
19308 case $1 in
19309 --*=*)
19310 ac_option=`expr "x$1" : 'x\([^=]*\)='`
19311 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
19312 ac_shift=:
19315 ac_option=$1
19316 ac_optarg=$2
19317 ac_shift=shift
19319 *) # This is not an option, so the user has probably given explicit
19320 # arguments.
19321 ac_option=$1
19322 ac_need_defaults=false;;
19323 esac
19325 case $ac_option in
19326 # Handling of the options.
19327 _ACEOF
19328 cat >>$CONFIG_STATUS <<\_ACEOF
19329 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19330 ac_cs_recheck=: ;;
19331 --version | --vers* | -V )
19332 echo "$ac_cs_version"; exit 0 ;;
19333 --he | --h)
19334 # Conflict between --help and --header
19335 { { echo "$as_me:$LINENO: error: ambiguous option: $1
19336 Try \`$0 --help' for more information." >&5
19337 echo "$as_me: error: ambiguous option: $1
19338 Try \`$0 --help' for more information." >&2;}
19339 { (exit 1); exit 1; }; };;
19340 --help | --hel | -h )
19341 echo "$ac_cs_usage"; exit 0 ;;
19342 --debug | --d* | -d )
19343 debug=: ;;
19344 --file | --fil | --fi | --f )
19345 $ac_shift
19346 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
19347 ac_need_defaults=false;;
19348 --header | --heade | --head | --hea )
19349 $ac_shift
19350 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
19351 ac_need_defaults=false;;
19352 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19353 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19354 ac_cs_silent=: ;;
19356 # This is an error.
19357 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
19358 Try \`$0 --help' for more information." >&5
19359 echo "$as_me: error: unrecognized option: $1
19360 Try \`$0 --help' for more information." >&2;}
19361 { (exit 1); exit 1; }; } ;;
19363 *) ac_config_targets="$ac_config_targets $1" ;;
19365 esac
19366 shift
19367 done
19369 ac_configure_extra_args=
19371 if $ac_cs_silent; then
19372 exec 6>/dev/null
19373 ac_configure_extra_args="$ac_configure_extra_args --silent"
19376 _ACEOF
19377 cat >>$CONFIG_STATUS <<_ACEOF
19378 if \$ac_cs_recheck; then
19379 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19380 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19383 _ACEOF
19389 cat >>$CONFIG_STATUS <<\_ACEOF
19390 for ac_config_target in $ac_config_targets
19392 case "$ac_config_target" in
19393 # Handling of arguments.
19394 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
19395 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
19396 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
19397 "libs/Makelib.rules" ) CONFIG_FILES="$CONFIG_FILES libs/Makelib.rules" ;;
19398 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
19399 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19400 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
19401 "dlls/activeds/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
19402 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
19403 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
19404 "dlls/advpack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
19405 "dlls/advpack/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
19406 "dlls/amstream/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
19407 "dlls/atl/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
19408 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
19409 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
19410 "dlls/cabinet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
19411 "dlls/capi2032/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
19412 "dlls/cards/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
19413 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
19414 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
19415 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
19416 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
19417 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
19418 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
19419 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
19420 "dlls/crypt32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
19421 "dlls/cryptdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
19422 "dlls/ctl3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
19423 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
19424 "dlls/d3d9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
19425 "dlls/d3dim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
19426 "dlls/d3drm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
19427 "dlls/d3dx8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
19428 "dlls/d3dxof/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
19429 "dlls/dbghelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
19430 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
19431 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
19432 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
19433 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
19434 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
19435 "dlls/dinput/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
19436 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
19437 "dlls/dmband/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
19438 "dlls/dmcompos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
19439 "dlls/dmime/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
19440 "dlls/dmloader/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
19441 "dlls/dmscript/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
19442 "dlls/dmstyle/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
19443 "dlls/dmsynth/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
19444 "dlls/dmusic/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
19445 "dlls/dmusic32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
19446 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
19447 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
19448 "dlls/dpnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
19449 "dlls/dpnhpast/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
19450 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
19451 "dlls/dsound/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
19452 "dlls/dswave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
19453 "dlls/dxdiagn/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
19454 "dlls/dxerr8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
19455 "dlls/dxerr9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
19456 "dlls/dxguid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
19457 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
19458 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
19459 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
19460 "dlls/glut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
19461 "dlls/hhctrl.ocx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
19462 "dlls/iccvid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
19463 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
19464 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
19465 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
19466 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
19467 "dlls/iphlpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
19468 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
19469 "dlls/itss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
19470 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
19471 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
19472 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
19473 "dlls/lzexpand/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/tests/Makefile" ;;
19474 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
19475 "dlls/mapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
19476 "dlls/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
19477 "dlls/mlang/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
19478 "dlls/mlang/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
19479 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
19480 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
19481 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
19482 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
19483 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
19484 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
19485 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
19486 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
19487 "dlls/msacm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/tests/Makefile" ;;
19488 "dlls/mscms/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
19489 "dlls/mscms/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
19490 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
19491 "dlls/mshtml/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
19492 "dlls/mshtml/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
19493 "dlls/msi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
19494 "dlls/msi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
19495 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
19496 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
19497 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
19498 "dlls/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
19499 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
19500 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
19501 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
19502 "dlls/msvcrt40/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
19503 "dlls/msvcrtd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
19504 "dlls/msvcrtd/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
19505 "dlls/msvidc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
19506 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
19507 "dlls/mswsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
19508 "dlls/msxml3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
19509 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
19510 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
19511 "dlls/newdev/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
19512 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
19513 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
19514 "dlls/objsel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
19515 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
19516 "dlls/odbccp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
19517 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
19518 "dlls/ole32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
19519 "dlls/oleacc/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
19520 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
19521 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
19522 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
19523 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
19524 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
19525 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
19526 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
19527 "dlls/powrprof/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
19528 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
19529 "dlls/psapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
19530 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
19531 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
19532 "dlls/quartz/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
19533 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
19534 "dlls/riched20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
19535 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
19536 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
19537 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
19538 "dlls/rsabase/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
19539 "dlls/rsabase/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
19540 "dlls/rsaenh/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
19541 "dlls/rsaenh/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
19542 "dlls/secur32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
19543 "dlls/secur32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
19544 "dlls/sensapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
19545 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
19546 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
19547 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
19548 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
19549 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
19550 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
19551 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
19552 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
19553 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
19554 "dlls/stdole2.tlb/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
19555 "dlls/stdole32.tlb/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
19556 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
19557 "dlls/strmiids/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
19558 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
19559 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
19560 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
19561 "dlls/unicows/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
19562 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
19563 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
19564 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
19565 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
19566 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
19567 "dlls/usp10/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
19568 "dlls/uuid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
19569 "dlls/uxtheme/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
19570 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
19571 "dlls/vdmdbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
19572 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
19573 "dlls/version/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
19574 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
19575 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
19576 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
19577 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
19578 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
19579 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
19580 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
19581 "dlls/wined3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
19582 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
19583 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
19584 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
19585 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
19586 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
19587 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
19588 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
19589 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
19590 "dlls/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
19591 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
19592 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
19593 "dlls/winmm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
19594 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
19595 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
19596 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
19597 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
19598 "dlls/winmm/wineesd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
19599 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
19600 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
19601 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
19602 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
19603 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
19604 "dlls/winsock/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
19605 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
19606 "dlls/winspool/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
19607 "dlls/wintab32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
19608 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
19609 "dlls/wldap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
19610 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
19611 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
19612 "dlls/wtsapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
19613 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
19614 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
19615 "fonts/Makefile" ) CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
19616 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
19617 "libs/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
19618 "libs/port/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
19619 "libs/unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/unicode/Makefile" ;;
19620 "libs/wine/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
19621 "libs/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
19622 "loader/Makefile" ) CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
19623 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
19624 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
19625 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
19626 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
19627 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
19628 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
19629 "programs/hh/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
19630 "programs/msiexec/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
19631 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
19632 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
19633 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
19634 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
19635 "programs/rpcss/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
19636 "programs/rundll32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
19637 "programs/start/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
19638 "programs/taskmgr/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
19639 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
19640 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
19641 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
19642 "programs/wineboot/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
19643 "programs/winebrowser/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
19644 "programs/winecfg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
19645 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
19646 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
19647 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
19648 "programs/winemenubuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
19649 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
19650 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
19651 "programs/winetest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
19652 "programs/winevdm/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
19653 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
19654 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
19655 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
19656 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
19657 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
19658 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
19659 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
19660 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
19661 "tools/winegcc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
19662 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
19663 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
19664 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
19665 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
19666 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
19667 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
19668 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
19669 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
19670 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19671 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19672 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19673 { (exit 1); exit 1; }; };;
19674 esac
19675 done
19677 # If the user did not use the arguments to specify the items to instantiate,
19678 # then the envvar interface is used. Set only those that are not.
19679 # We use the long form for the default assignment because of an extremely
19680 # bizarre bug on SunOS 4.1.3.
19681 if $ac_need_defaults; then
19682 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19683 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19684 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19687 # Have a temporary directory for convenience. Make it in the build tree
19688 # simply because there is no reason to put it here, and in addition,
19689 # creating and moving files from /tmp can sometimes cause problems.
19690 # Create a temporary directory, and hook for its removal unless debugging.
19691 $debug ||
19693 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
19694 trap '{ (exit 1); exit 1; }' 1 2 13 15
19697 # Create a (secure) tmp directory for tmp files.
19700 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
19701 test -n "$tmp" && test -d "$tmp"
19702 } ||
19704 tmp=./confstat$$-$RANDOM
19705 (umask 077 && mkdir $tmp)
19706 } ||
19708 echo "$me: cannot create a temporary directory in ." >&2
19709 { (exit 1); exit 1; }
19712 _ACEOF
19714 cat >>$CONFIG_STATUS <<_ACEOF
19717 # CONFIG_FILES section.
19720 # No need to generate the scripts if there are no CONFIG_FILES.
19721 # This happens for instance when ./config.status config.h
19722 if test -n "\$CONFIG_FILES"; then
19723 # Protect against being on the right side of a sed subst in config.status.
19724 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
19725 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
19726 s,@SHELL@,$SHELL,;t t
19727 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
19728 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
19729 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
19730 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
19731 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
19732 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
19733 s,@exec_prefix@,$exec_prefix,;t t
19734 s,@prefix@,$prefix,;t t
19735 s,@program_transform_name@,$program_transform_name,;t t
19736 s,@bindir@,$bindir,;t t
19737 s,@sbindir@,$sbindir,;t t
19738 s,@libexecdir@,$libexecdir,;t t
19739 s,@datadir@,$datadir,;t t
19740 s,@sysconfdir@,$sysconfdir,;t t
19741 s,@sharedstatedir@,$sharedstatedir,;t t
19742 s,@localstatedir@,$localstatedir,;t t
19743 s,@libdir@,$libdir,;t t
19744 s,@includedir@,$includedir,;t t
19745 s,@oldincludedir@,$oldincludedir,;t t
19746 s,@infodir@,$infodir,;t t
19747 s,@mandir@,$mandir,;t t
19748 s,@build_alias@,$build_alias,;t t
19749 s,@host_alias@,$host_alias,;t t
19750 s,@target_alias@,$target_alias,;t t
19751 s,@DEFS@,$DEFS,;t t
19752 s,@ECHO_C@,$ECHO_C,;t t
19753 s,@ECHO_N@,$ECHO_N,;t t
19754 s,@ECHO_T@,$ECHO_T,;t t
19755 s,@LIBS@,$LIBS,;t t
19756 s,@DLLDEFS@,$DLLDEFS,;t t
19757 s,@build@,$build,;t t
19758 s,@build_cpu@,$build_cpu,;t t
19759 s,@build_vendor@,$build_vendor,;t t
19760 s,@build_os@,$build_os,;t t
19761 s,@host@,$host,;t t
19762 s,@host_cpu@,$host_cpu,;t t
19763 s,@host_vendor@,$host_vendor,;t t
19764 s,@host_os@,$host_os,;t t
19765 s,@WIN16_FILES@,$WIN16_FILES,;t t
19766 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
19767 s,@SET_MAKE@,$SET_MAKE,;t t
19768 s,@CC@,$CC,;t t
19769 s,@CFLAGS@,$CFLAGS,;t t
19770 s,@LDFLAGS@,$LDFLAGS,;t t
19771 s,@CPPFLAGS@,$CPPFLAGS,;t t
19772 s,@ac_ct_CC@,$ac_ct_CC,;t t
19773 s,@EXEEXT@,$EXEEXT,;t t
19774 s,@OBJEXT@,$OBJEXT,;t t
19775 s,@CXX@,$CXX,;t t
19776 s,@CXXFLAGS@,$CXXFLAGS,;t t
19777 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
19778 s,@CPPBIN@,$CPPBIN,;t t
19779 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
19780 s,@TOOLSDIR@,$TOOLSDIR,;t t
19781 s,@CPP@,$CPP,;t t
19782 s,@X_CFLAGS@,$X_CFLAGS,;t t
19783 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
19784 s,@X_LIBS@,$X_LIBS,;t t
19785 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
19786 s,@LEX@,$LEX,;t t
19787 s,@LEXLIB@,$LEXLIB,;t t
19788 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
19789 s,@XLEX@,$XLEX,;t t
19790 s,@BISON@,$BISON,;t t
19791 s,@AS@,$AS,;t t
19792 s,@ac_ct_AS@,$ac_ct_AS,;t t
19793 s,@LD@,$LD,;t t
19794 s,@ac_ct_LD@,$ac_ct_LD,;t t
19795 s,@AR@,$AR,;t t
19796 s,@ac_ct_AR@,$ac_ct_AR,;t t
19797 s,@RANLIB@,$RANLIB,;t t
19798 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
19799 s,@STRIP@,$STRIP,;t t
19800 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
19801 s,@WINDRES@,$WINDRES,;t t
19802 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
19803 s,@LN_S@,$LN_S,;t t
19804 s,@LN@,$LN,;t t
19805 s,@EGREP@,$EGREP,;t t
19806 s,@LDCONFIG@,$LDCONFIG,;t t
19807 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
19808 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
19809 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
19810 s,@LINT@,$LINT,;t t
19811 s,@LINTFLAGS@,$LINTFLAGS,;t t
19812 s,@FONTFORGE@,$FONTFORGE,;t t
19813 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
19814 s,@XLIB@,$XLIB,;t t
19815 s,@XFILES@,$XFILES,;t t
19816 s,@OPENGLFILES@,$OPENGLFILES,;t t
19817 s,@GLU32FILES@,$GLU32FILES,;t t
19818 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
19819 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
19820 s,@GLUT32FILES@,$GLUT32FILES,;t t
19821 s,@NASLIBS@,$NASLIBS,;t t
19822 s,@XML2LIBS@,$XML2LIBS,;t t
19823 s,@XML2INCL@,$XML2INCL,;t t
19824 s,@CURSESLIBS@,$CURSESLIBS,;t t
19825 s,@sane_devel@,$sane_devel,;t t
19826 s,@SANELIBS@,$SANELIBS,;t t
19827 s,@SANEINCL@,$SANEINCL,;t t
19828 s,@ICULIBS@,$ICULIBS,;t t
19829 s,@LCMSLIBS@,$LCMSLIBS,;t t
19830 s,@LDAPLIBS@,$LDAPLIBS,;t t
19831 s,@ft_devel@,$ft_devel,;t t
19832 s,@ft_devel2@,$ft_devel2,;t t
19833 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
19834 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
19835 s,@FONTSSUBDIRS@,$FONTSSUBDIRS,;t t
19836 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
19837 s,@ARTSLIBS@,$ARTSLIBS,;t t
19838 s,@ARTSINCL@,$ARTSINCL,;t t
19839 s,@ESDCONFIG@,$ESDCONFIG,;t t
19840 s,@ESDLIBS@,$ESDLIBS,;t t
19841 s,@ESDINCL@,$ESDINCL,;t t
19842 s,@ALSALIBS@,$ALSALIBS,;t t
19843 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
19844 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
19845 s,@DLLEXT@,$DLLEXT,;t t
19846 s,@DLLFLAGS@,$DLLFLAGS,;t t
19847 s,@DLLIBS@,$DLLIBS,;t t
19848 s,@LDSHARED@,$LDSHARED,;t t
19849 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
19850 s,@LIBEXT@,$LIBEXT,;t t
19851 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
19852 s,@DLLTOOL@,$DLLTOOL,;t t
19853 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
19854 s,@DLLWRAP@,$DLLWRAP,;t t
19855 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
19856 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
19857 s,@LDLIBWINEFLAGS@,$LDLIBWINEFLAGS,;t t
19858 s,@COREFOUNDATIONLIB@,$COREFOUNDATIONLIB,;t t
19859 s,@IOKITLIB@,$IOKITLIB,;t t
19860 s,@CROSSTEST@,$CROSSTEST,;t t
19861 s,@CROSSCC@,$CROSSCC,;t t
19862 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
19863 s,@LDPATH@,$LDPATH,;t t
19864 s,@CRTLIBS@,$CRTLIBS,;t t
19865 s,@SOCKETLIBS@,$SOCKETLIBS,;t t
19866 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
19867 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
19868 s,@LDD@,$LDD,;t t
19869 s,@ALLOCA@,$ALLOCA,;t t
19870 s,@LIBOBJS@,$LIBOBJS,;t t
19871 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
19872 /@MAKE_RULES@/r $MAKE_RULES
19873 s,@MAKE_RULES@,,;t t
19874 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
19875 s,@MAKE_DLL_RULES@,,;t t
19876 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
19877 s,@MAKE_TEST_RULES@,,;t t
19878 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
19879 s,@MAKE_LIB_RULES@,,;t t
19880 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
19881 s,@MAKE_PROG_RULES@,,;t t
19882 CEOF
19884 _ACEOF
19886 cat >>$CONFIG_STATUS <<\_ACEOF
19887 # Split the substitutions into bite-sized pieces for seds with
19888 # small command number limits, like on Digital OSF/1 and HP-UX.
19889 ac_max_sed_lines=48
19890 ac_sed_frag=1 # Number of current file.
19891 ac_beg=1 # First line for current file.
19892 ac_end=$ac_max_sed_lines # Line after last line for current file.
19893 ac_more_lines=:
19894 ac_sed_cmds=
19895 while $ac_more_lines; do
19896 if test $ac_beg -gt 1; then
19897 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
19898 else
19899 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
19901 if test ! -s $tmp/subs.frag; then
19902 ac_more_lines=false
19903 else
19904 # The purpose of the label and of the branching condition is to
19905 # speed up the sed processing (if there are no `@' at all, there
19906 # is no need to browse any of the substitutions).
19907 # These are the two extra sed commands mentioned above.
19908 (echo ':t
19909 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
19910 if test -z "$ac_sed_cmds"; then
19911 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
19912 else
19913 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
19915 ac_sed_frag=`expr $ac_sed_frag + 1`
19916 ac_beg=$ac_end
19917 ac_end=`expr $ac_end + $ac_max_sed_lines`
19919 done
19920 if test -z "$ac_sed_cmds"; then
19921 ac_sed_cmds=cat
19923 fi # test -n "$CONFIG_FILES"
19925 _ACEOF
19926 cat >>$CONFIG_STATUS <<\_ACEOF
19927 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
19928 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19929 case $ac_file in
19930 - | *:- | *:-:* ) # input from stdin
19931 cat >$tmp/stdin
19932 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
19933 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
19934 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
19935 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
19936 * ) ac_file_in=$ac_file.in ;;
19937 esac
19939 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
19940 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
19941 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19942 X"$ac_file" : 'X\(//\)[^/]' \| \
19943 X"$ac_file" : 'X\(//\)$' \| \
19944 X"$ac_file" : 'X\(/\)' \| \
19945 . : '\(.\)' 2>/dev/null ||
19946 echo X"$ac_file" |
19947 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19948 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19949 /^X\(\/\/\)$/{ s//\1/; q; }
19950 /^X\(\/\).*/{ s//\1/; q; }
19951 s/.*/./; q'`
19952 { if $as_mkdir_p; then
19953 mkdir -p "$ac_dir"
19954 else
19955 as_dir="$ac_dir"
19956 as_dirs=
19957 while test ! -d "$as_dir"; do
19958 as_dirs="$as_dir $as_dirs"
19959 as_dir=`(dirname "$as_dir") 2>/dev/null ||
19960 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19961 X"$as_dir" : 'X\(//\)[^/]' \| \
19962 X"$as_dir" : 'X\(//\)$' \| \
19963 X"$as_dir" : 'X\(/\)' \| \
19964 . : '\(.\)' 2>/dev/null ||
19965 echo X"$as_dir" |
19966 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19967 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19968 /^X\(\/\/\)$/{ s//\1/; q; }
19969 /^X\(\/\).*/{ s//\1/; q; }
19970 s/.*/./; q'`
19971 done
19972 test ! -n "$as_dirs" || mkdir $as_dirs
19973 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19974 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19975 { (exit 1); exit 1; }; }; }
19977 ac_builddir=.
19979 if test "$ac_dir" != .; then
19980 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19981 # A "../" for each directory in $ac_dir_suffix.
19982 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19983 else
19984 ac_dir_suffix= ac_top_builddir=
19987 case $srcdir in
19988 .) # No --srcdir option. We are building in place.
19989 ac_srcdir=.
19990 if test -z "$ac_top_builddir"; then
19991 ac_top_srcdir=.
19992 else
19993 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
19994 fi ;;
19995 [\\/]* | ?:[\\/]* ) # Absolute path.
19996 ac_srcdir=$srcdir$ac_dir_suffix;
19997 ac_top_srcdir=$srcdir ;;
19998 *) # Relative path.
19999 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20000 ac_top_srcdir=$ac_top_builddir$srcdir ;;
20001 esac
20003 # Do not use `cd foo && pwd` to compute absolute paths, because
20004 # the directories may not exist.
20005 case `pwd` in
20006 .) ac_abs_builddir="$ac_dir";;
20008 case "$ac_dir" in
20009 .) ac_abs_builddir=`pwd`;;
20010 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20011 *) ac_abs_builddir=`pwd`/"$ac_dir";;
20012 esac;;
20013 esac
20014 case $ac_abs_builddir in
20015 .) ac_abs_top_builddir=${ac_top_builddir}.;;
20017 case ${ac_top_builddir}. in
20018 .) ac_abs_top_builddir=$ac_abs_builddir;;
20019 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20020 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20021 esac;;
20022 esac
20023 case $ac_abs_builddir in
20024 .) ac_abs_srcdir=$ac_srcdir;;
20026 case $ac_srcdir in
20027 .) ac_abs_srcdir=$ac_abs_builddir;;
20028 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20029 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20030 esac;;
20031 esac
20032 case $ac_abs_builddir in
20033 .) ac_abs_top_srcdir=$ac_top_srcdir;;
20035 case $ac_top_srcdir in
20036 .) ac_abs_top_srcdir=$ac_abs_builddir;;
20037 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20038 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20039 esac;;
20040 esac
20043 case $INSTALL in
20044 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20045 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
20046 esac
20048 # Let's still pretend it is `configure' which instantiates (i.e., don't
20049 # use $as_me), people would be surprised to read:
20050 # /* config.h. Generated by config.status. */
20051 if test x"$ac_file" = x-; then
20052 configure_input=
20053 else
20054 configure_input="$ac_file. "
20056 configure_input=$configure_input"Generated from `echo $ac_file_in |
20057 sed 's,.*/,,'` by configure."
20059 # First look for the input files in the build tree, otherwise in the
20060 # src tree.
20061 ac_file_inputs=`IFS=:
20062 for f in $ac_file_in; do
20063 case $f in
20064 -) echo $tmp/stdin ;;
20065 [\\/$]*)
20066 # Absolute (can't be DOS-style, as IFS=:)
20067 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20068 echo "$as_me: error: cannot find input file: $f" >&2;}
20069 { (exit 1); exit 1; }; }
20070 echo "$f";;
20071 *) # Relative
20072 if test -f "$f"; then
20073 # Build tree
20074 echo "$f"
20075 elif test -f "$srcdir/$f"; then
20076 # Source tree
20077 echo "$srcdir/$f"
20078 else
20079 # /dev/null tree
20080 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20081 echo "$as_me: error: cannot find input file: $f" >&2;}
20082 { (exit 1); exit 1; }; }
20083 fi;;
20084 esac
20085 done` || { (exit 1); exit 1; }
20087 if test x"$ac_file" != x-; then
20088 { echo "$as_me:$LINENO: creating $ac_file" >&5
20089 echo "$as_me: creating $ac_file" >&6;}
20090 rm -f "$ac_file"
20092 _ACEOF
20093 cat >>$CONFIG_STATUS <<_ACEOF
20094 sed "$ac_vpsub
20095 $extrasub
20096 _ACEOF
20097 cat >>$CONFIG_STATUS <<\_ACEOF
20099 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20100 s,@configure_input@,$configure_input,;t t
20101 s,@srcdir@,$ac_srcdir,;t t
20102 s,@abs_srcdir@,$ac_abs_srcdir,;t t
20103 s,@top_srcdir@,$ac_top_srcdir,;t t
20104 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
20105 s,@builddir@,$ac_builddir,;t t
20106 s,@abs_builddir@,$ac_abs_builddir,;t t
20107 s,@top_builddir@,$ac_top_builddir,;t t
20108 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
20109 s,@INSTALL@,$ac_INSTALL,;t t
20110 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20111 rm -f $tmp/stdin
20112 if test x"$ac_file" != x-; then
20113 mv $tmp/out $ac_file
20114 else
20115 cat $tmp/out
20116 rm -f $tmp/out
20119 done
20120 _ACEOF
20121 cat >>$CONFIG_STATUS <<\_ACEOF
20124 # CONFIG_HEADER section.
20127 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20128 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20130 # ac_d sets the value in "#define NAME VALUE" lines.
20131 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20132 ac_dB='[ ].*$,\1#\2'
20133 ac_dC=' '
20134 ac_dD=',;t'
20135 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20136 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20137 ac_uB='$,\1#\2define\3'
20138 ac_uC=' '
20139 ac_uD=',;t'
20141 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
20142 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20143 case $ac_file in
20144 - | *:- | *:-:* ) # input from stdin
20145 cat >$tmp/stdin
20146 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20147 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20148 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20149 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20150 * ) ac_file_in=$ac_file.in ;;
20151 esac
20153 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
20154 echo "$as_me: creating $ac_file" >&6;}
20156 # First look for the input files in the build tree, otherwise in the
20157 # src tree.
20158 ac_file_inputs=`IFS=:
20159 for f in $ac_file_in; do
20160 case $f in
20161 -) echo $tmp/stdin ;;
20162 [\\/$]*)
20163 # Absolute (can't be DOS-style, as IFS=:)
20164 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20165 echo "$as_me: error: cannot find input file: $f" >&2;}
20166 { (exit 1); exit 1; }; }
20167 # Do quote $f, to prevent DOS paths from being IFS'd.
20168 echo "$f";;
20169 *) # Relative
20170 if test -f "$f"; then
20171 # Build tree
20172 echo "$f"
20173 elif test -f "$srcdir/$f"; then
20174 # Source tree
20175 echo "$srcdir/$f"
20176 else
20177 # /dev/null tree
20178 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20179 echo "$as_me: error: cannot find input file: $f" >&2;}
20180 { (exit 1); exit 1; }; }
20181 fi;;
20182 esac
20183 done` || { (exit 1); exit 1; }
20184 # Remove the trailing spaces.
20185 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
20187 _ACEOF
20189 # Transform confdefs.h into two sed scripts, `conftest.defines' and
20190 # `conftest.undefs', that substitutes the proper values into
20191 # config.h.in to produce config.h. The first handles `#define'
20192 # templates, and the second `#undef' templates.
20193 # And first: Protect against being on the right side of a sed subst in
20194 # config.status. Protect against being in an unquoted here document
20195 # in config.status.
20196 rm -f conftest.defines conftest.undefs
20197 # Using a here document instead of a string reduces the quoting nightmare.
20198 # Putting comments in sed scripts is not portable.
20200 # `end' is used to avoid that the second main sed command (meant for
20201 # 0-ary CPP macros) applies to n-ary macro definitions.
20202 # See the Autoconf documentation for `clear'.
20203 cat >confdef2sed.sed <<\_ACEOF
20204 s/[\\&,]/\\&/g
20205 s,[\\$`],\\&,g
20206 t clear
20207 : clear
20208 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20209 t end
20210 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20211 : end
20212 _ACEOF
20213 # If some macros were called several times there might be several times
20214 # the same #defines, which is useless. Nevertheless, we may not want to
20215 # sort them, since we want the *last* AC-DEFINE to be honored.
20216 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20217 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20218 rm -f confdef2sed.sed
20220 # This sed command replaces #undef with comments. This is necessary, for
20221 # example, in the case of _POSIX_SOURCE, which is predefined and required
20222 # on some systems where configure will not decide to define it.
20223 cat >>conftest.undefs <<\_ACEOF
20224 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
20225 _ACEOF
20227 # Break up conftest.defines because some shells have a limit on the size
20228 # of here documents, and old seds have small limits too (100 cmds).
20229 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20230 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20231 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20232 echo ' :' >>$CONFIG_STATUS
20233 rm -f conftest.tail
20234 while grep . conftest.defines >/dev/null
20236 # Write a limited-size here document to $tmp/defines.sed.
20237 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20238 # Speed up: don't consider the non `#define' lines.
20239 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
20240 # Work around the forget-to-reset-the-flag bug.
20241 echo 't clr' >>$CONFIG_STATUS
20242 echo ': clr' >>$CONFIG_STATUS
20243 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
20244 echo 'CEOF
20245 sed -f $tmp/defines.sed $tmp/in >$tmp/out
20246 rm -f $tmp/in
20247 mv $tmp/out $tmp/in
20248 ' >>$CONFIG_STATUS
20249 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
20250 rm -f conftest.defines
20251 mv conftest.tail conftest.defines
20252 done
20253 rm -f conftest.defines
20254 echo ' fi # grep' >>$CONFIG_STATUS
20255 echo >>$CONFIG_STATUS
20257 # Break up conftest.undefs because some shells have a limit on the size
20258 # of here documents, and old seds have small limits too (100 cmds).
20259 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
20260 rm -f conftest.tail
20261 while grep . conftest.undefs >/dev/null
20263 # Write a limited-size here document to $tmp/undefs.sed.
20264 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20265 # Speed up: don't consider the non `#undef'
20266 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
20267 # Work around the forget-to-reset-the-flag bug.
20268 echo 't clr' >>$CONFIG_STATUS
20269 echo ': clr' >>$CONFIG_STATUS
20270 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
20271 echo 'CEOF
20272 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
20273 rm -f $tmp/in
20274 mv $tmp/out $tmp/in
20275 ' >>$CONFIG_STATUS
20276 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
20277 rm -f conftest.undefs
20278 mv conftest.tail conftest.undefs
20279 done
20280 rm -f conftest.undefs
20282 cat >>$CONFIG_STATUS <<\_ACEOF
20283 # Let's still pretend it is `configure' which instantiates (i.e., don't
20284 # use $as_me), people would be surprised to read:
20285 # /* config.h. Generated by config.status. */
20286 if test x"$ac_file" = x-; then
20287 echo "/* Generated by configure. */" >$tmp/config.h
20288 else
20289 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
20291 cat $tmp/in >>$tmp/config.h
20292 rm -f $tmp/in
20293 if test x"$ac_file" != x-; then
20294 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
20295 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20296 echo "$as_me: $ac_file is unchanged" >&6;}
20297 else
20298 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
20299 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20300 X"$ac_file" : 'X\(//\)[^/]' \| \
20301 X"$ac_file" : 'X\(//\)$' \| \
20302 X"$ac_file" : 'X\(/\)' \| \
20303 . : '\(.\)' 2>/dev/null ||
20304 echo X"$ac_file" |
20305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20306 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20307 /^X\(\/\/\)$/{ s//\1/; q; }
20308 /^X\(\/\).*/{ s//\1/; q; }
20309 s/.*/./; q'`
20310 { if $as_mkdir_p; then
20311 mkdir -p "$ac_dir"
20312 else
20313 as_dir="$ac_dir"
20314 as_dirs=
20315 while test ! -d "$as_dir"; do
20316 as_dirs="$as_dir $as_dirs"
20317 as_dir=`(dirname "$as_dir") 2>/dev/null ||
20318 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20319 X"$as_dir" : 'X\(//\)[^/]' \| \
20320 X"$as_dir" : 'X\(//\)$' \| \
20321 X"$as_dir" : 'X\(/\)' \| \
20322 . : '\(.\)' 2>/dev/null ||
20323 echo X"$as_dir" |
20324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20325 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20326 /^X\(\/\/\)$/{ s//\1/; q; }
20327 /^X\(\/\).*/{ s//\1/; q; }
20328 s/.*/./; q'`
20329 done
20330 test ! -n "$as_dirs" || mkdir $as_dirs
20331 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20332 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20333 { (exit 1); exit 1; }; }; }
20335 rm -f $ac_file
20336 mv $tmp/config.h $ac_file
20338 else
20339 cat $tmp/config.h
20340 rm -f $tmp/config.h
20342 done
20343 _ACEOF
20344 cat >>$CONFIG_STATUS <<\_ACEOF
20347 # CONFIG_COMMANDS section.
20349 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
20350 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
20351 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
20352 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
20353 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20354 X"$ac_dest" : 'X\(//\)[^/]' \| \
20355 X"$ac_dest" : 'X\(//\)$' \| \
20356 X"$ac_dest" : 'X\(/\)' \| \
20357 . : '\(.\)' 2>/dev/null ||
20358 echo X"$ac_dest" |
20359 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20360 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20361 /^X\(\/\/\)$/{ s//\1/; q; }
20362 /^X\(\/\).*/{ s//\1/; q; }
20363 s/.*/./; q'`
20364 { if $as_mkdir_p; then
20365 mkdir -p "$ac_dir"
20366 else
20367 as_dir="$ac_dir"
20368 as_dirs=
20369 while test ! -d "$as_dir"; do
20370 as_dirs="$as_dir $as_dirs"
20371 as_dir=`(dirname "$as_dir") 2>/dev/null ||
20372 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20373 X"$as_dir" : 'X\(//\)[^/]' \| \
20374 X"$as_dir" : 'X\(//\)$' \| \
20375 X"$as_dir" : 'X\(/\)' \| \
20376 . : '\(.\)' 2>/dev/null ||
20377 echo X"$as_dir" |
20378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20379 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20380 /^X\(\/\/\)$/{ s//\1/; q; }
20381 /^X\(\/\).*/{ s//\1/; q; }
20382 s/.*/./; q'`
20383 done
20384 test ! -n "$as_dirs" || mkdir $as_dirs
20385 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20386 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20387 { (exit 1); exit 1; }; }; }
20389 ac_builddir=.
20391 if test "$ac_dir" != .; then
20392 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20393 # A "../" for each directory in $ac_dir_suffix.
20394 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20395 else
20396 ac_dir_suffix= ac_top_builddir=
20399 case $srcdir in
20400 .) # No --srcdir option. We are building in place.
20401 ac_srcdir=.
20402 if test -z "$ac_top_builddir"; then
20403 ac_top_srcdir=.
20404 else
20405 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
20406 fi ;;
20407 [\\/]* | ?:[\\/]* ) # Absolute path.
20408 ac_srcdir=$srcdir$ac_dir_suffix;
20409 ac_top_srcdir=$srcdir ;;
20410 *) # Relative path.
20411 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20412 ac_top_srcdir=$ac_top_builddir$srcdir ;;
20413 esac
20415 # Do not use `cd foo && pwd` to compute absolute paths, because
20416 # the directories may not exist.
20417 case `pwd` in
20418 .) ac_abs_builddir="$ac_dir";;
20420 case "$ac_dir" in
20421 .) ac_abs_builddir=`pwd`;;
20422 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20423 *) ac_abs_builddir=`pwd`/"$ac_dir";;
20424 esac;;
20425 esac
20426 case $ac_abs_builddir in
20427 .) ac_abs_top_builddir=${ac_top_builddir}.;;
20429 case ${ac_top_builddir}. in
20430 .) ac_abs_top_builddir=$ac_abs_builddir;;
20431 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20432 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20433 esac;;
20434 esac
20435 case $ac_abs_builddir in
20436 .) ac_abs_srcdir=$ac_srcdir;;
20438 case $ac_srcdir in
20439 .) ac_abs_srcdir=$ac_abs_builddir;;
20440 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20441 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20442 esac;;
20443 esac
20444 case $ac_abs_builddir in
20445 .) ac_abs_top_srcdir=$ac_top_srcdir;;
20447 case $ac_top_srcdir in
20448 .) ac_abs_top_srcdir=$ac_abs_builddir;;
20449 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20450 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20451 esac;;
20452 esac
20455 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20456 echo "$as_me: executing $ac_dest commands" >&6;}
20457 case $ac_dest in
20458 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
20459 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
20460 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
20461 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
20462 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
20463 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
20464 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
20465 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
20466 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
20467 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
20468 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
20469 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
20470 esac
20471 done
20472 _ACEOF
20474 cat >>$CONFIG_STATUS <<\_ACEOF
20476 { (exit 0); exit 0; }
20477 _ACEOF
20478 chmod +x $CONFIG_STATUS
20479 ac_clean_files=$ac_clean_files_save
20482 # configure is writing to config.log, and then calls config.status.
20483 # config.status does its own redirection, appending to config.log.
20484 # Unfortunately, on DOS this fails, as config.log is still kept open
20485 # by configure, so config.status won't be able to write to it; its
20486 # output is simply discarded. So we exec the FD to /dev/null,
20487 # effectively closing config.log, so it can be properly (re)opened and
20488 # appended to by config.status. When coming back to configure, we
20489 # need to make the FD available again.
20490 if test "$no_create" != yes; then
20491 ac_cs_success=:
20492 ac_config_status_args=
20493 test "$silent" = yes &&
20494 ac_config_status_args="$ac_config_status_args --quiet"
20495 exec 5>/dev/null
20496 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20497 exec 5>>config.log
20498 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20499 # would make configure fail if this is the last instruction.
20500 $ac_cs_success || { (exit 1); exit 1; }
20504 if test "$have_x" = "no"
20505 then
20506 echo
20507 echo "*** Warning: X development files not found. Wine will be built without"
20508 echo "*** X support, which currently does not work, and would probably not be"
20509 echo "*** what you want anyway. You will need to install devel packages of"
20510 echo "*** Xlib/Xfree86 at the very least."
20513 if test "$wine_cv_opengl_version_OK" = "no"
20514 then
20515 echo
20516 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
20517 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
20520 if test "$wine_cv_msg_freetype" = "yes"
20521 then
20522 echo
20523 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
20524 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
20525 echo "*** freetype-devel package (or its equivalent on your distribution) to"
20526 echo "*** enable Wine to use TrueType fonts."
20529 if test -z "$ALSALIBS" -a -z "$ARTSC_LIBS" -a -z "$AUDIOIOLIBS" -a \
20530 -z "$ac_cv_lib_soname_jack" -a -z "$NASLIBS" -a \
20531 "$ac_cv_c_opensoundsystem" = "no" -a -z "$ESD_LIBS"
20532 then
20533 echo "*** No sound system was found. Windows applications will be silent."
20534 echo "*** The currently supported sound systems are:"
20535 echo "*** ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS"
20538 echo
20539 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
20540 echo